@ukic/web-components 2.0.0-alpha.121

Sign up to get free protection for your applications and to get access to all the features.
Files changed (926) hide show
  1. package/LICENSE +21 -0
  2. package/dist/cjs/check-icon-999d9877.js +10 -0
  3. package/dist/cjs/check-icon-999d9877.js.map +1 -0
  4. package/dist/cjs/chevron-icon-d175fe66.js +10 -0
  5. package/dist/cjs/chevron-icon-d175fe66.js.map +1 -0
  6. package/dist/cjs/close-icon-8ccb0163.js +12 -0
  7. package/dist/cjs/close-icon-8ccb0163.js.map +1 -0
  8. package/dist/cjs/core.cjs.js +21 -0
  9. package/dist/cjs/core.cjs.js.map +1 -0
  10. package/dist/cjs/error-icon-99504103.js +18 -0
  11. package/dist/cjs/error-icon-99504103.js.map +1 -0
  12. package/dist/cjs/helpers-9d4961dc.js +430 -0
  13. package/dist/cjs/helpers-9d4961dc.js.map +1 -0
  14. package/dist/cjs/ic-alert.cjs.entry.js +91 -0
  15. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -0
  16. package/dist/cjs/ic-back-to-top.cjs.entry.js +132 -0
  17. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -0
  18. package/dist/cjs/ic-breadcrumb.cjs.entry.js +63 -0
  19. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -0
  20. package/dist/cjs/ic-breadcrumbs.cjs.entry.js +181 -0
  21. package/dist/cjs/ic-breadcrumbs.cjs.entry.js.map +1 -0
  22. package/dist/cjs/ic-button_3.cjs.entry.js +432 -0
  23. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -0
  24. package/dist/cjs/ic-card.cjs.entry.js +87 -0
  25. package/dist/cjs/ic-card.cjs.entry.js.map +1 -0
  26. package/dist/cjs/ic-checkbox-group.cjs.entry.js +66 -0
  27. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -0
  28. package/dist/cjs/ic-checkbox.cjs.entry.js +72 -0
  29. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -0
  30. package/dist/cjs/ic-classification-banner.cjs.entry.js +42 -0
  31. package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -0
  32. package/dist/cjs/ic-data-entity.cjs.entry.js +31 -0
  33. package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -0
  34. package/dist/cjs/ic-data-row.cjs.entry.js +74 -0
  35. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -0
  36. package/dist/cjs/ic-divider.cjs.entry.js +29 -0
  37. package/dist/cjs/ic-divider.cjs.entry.js.map +1 -0
  38. package/dist/cjs/ic-footer-link-group.cjs.entry.js +69 -0
  39. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -0
  40. package/dist/cjs/ic-footer-link.cjs.entry.js +59 -0
  41. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -0
  42. package/dist/cjs/ic-footer.cjs.entry.js +87 -0
  43. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -0
  44. package/dist/cjs/ic-hero.cjs.entry.js +72 -0
  45. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -0
  46. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +485 -0
  47. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -0
  48. package/dist/cjs/ic-input-label_2.cjs.entry.js +86 -0
  49. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -0
  50. package/dist/cjs/ic-link.cjs.entry.js +69 -0
  51. package/dist/cjs/ic-link.cjs.entry.js.map +1 -0
  52. package/dist/cjs/ic-navigation-button.cjs.entry.js +86 -0
  53. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -0
  54. package/dist/cjs/ic-navigation-group.cjs.entry.js +240 -0
  55. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -0
  56. package/dist/cjs/ic-navigation-item.cjs.entry.js +146 -0
  57. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -0
  58. package/dist/cjs/ic-navigation-menu.cjs.entry.js +129 -0
  59. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -0
  60. package/dist/cjs/ic-page-header.cjs.entry.js +107 -0
  61. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -0
  62. package/dist/cjs/ic-radio-group.cjs.entry.js +103 -0
  63. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -0
  64. package/dist/cjs/ic-radio-option.cjs.entry.js +108 -0
  65. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -0
  66. package/dist/cjs/ic-search-bar.cjs.entry.js +393 -0
  67. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -0
  68. package/dist/cjs/ic-section-container.cjs.entry.js +29 -0
  69. package/dist/cjs/ic-section-container.cjs.entry.js.map +1 -0
  70. package/dist/cjs/ic-select.cjs.entry.js +166 -0
  71. package/dist/cjs/ic-select.cjs.entry.js.map +1 -0
  72. package/dist/cjs/ic-side-navigation.cjs.entry.js +384 -0
  73. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -0
  74. package/dist/cjs/ic-skeleton.cjs.entry.js +59 -0
  75. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -0
  76. package/dist/cjs/ic-status-tag.cjs.entry.js +34 -0
  77. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -0
  78. package/dist/cjs/ic-step.cjs.entry.js +59 -0
  79. package/dist/cjs/ic-step.cjs.entry.js.map +1 -0
  80. package/dist/cjs/ic-stepper.cjs.entry.js +96 -0
  81. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -0
  82. package/dist/cjs/ic-switch.cjs.entry.js +65 -0
  83. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -0
  84. package/dist/cjs/ic-tab-context.cjs.entry.js +226 -0
  85. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -0
  86. package/dist/cjs/ic-tab-list.cjs.entry.js +145 -0
  87. package/dist/cjs/ic-tab-list.cjs.entry.js.map +1 -0
  88. package/dist/cjs/ic-tab-panel.cjs.entry.js +33 -0
  89. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -0
  90. package/dist/cjs/ic-tab.cjs.entry.js +73 -0
  91. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -0
  92. package/dist/cjs/ic-text-field.cjs.entry.js +203 -0
  93. package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -0
  94. package/dist/cjs/ic-theme.cjs.entry.js +53 -0
  95. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -0
  96. package/dist/cjs/ic-top-navigation.cjs.entry.js +207 -0
  97. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -0
  98. package/dist/cjs/ic-typography.cjs.entry.js +28 -0
  99. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -0
  100. package/dist/cjs/index-3ef30d9d.js +2459 -0
  101. package/dist/cjs/index-3ef30d9d.js.map +1 -0
  102. package/dist/cjs/index.cjs.js +4 -0
  103. package/dist/cjs/index.cjs.js.map +1 -0
  104. package/dist/cjs/loader.cjs.js +23 -0
  105. package/dist/cjs/loader.cjs.js.map +1 -0
  106. package/dist/cjs/popper-11d5f714.js +1803 -0
  107. package/dist/cjs/popper-11d5f714.js.map +1 -0
  108. package/dist/cjs/success-icon-887b2097.js +11 -0
  109. package/dist/cjs/success-icon-887b2097.js.map +1 -0
  110. package/dist/collection/assets/back-icon.svg +3 -0
  111. package/dist/collection/assets/check-icon.svg +3 -0
  112. package/dist/collection/assets/chevron-icon.svg +3 -0
  113. package/dist/collection/assets/clear-icon.svg +3 -0
  114. package/dist/collection/assets/close-icon.svg +5 -0
  115. package/dist/collection/assets/error-icon.svg +5 -0
  116. package/dist/collection/assets/hamburger-menu-icon.svg +5 -0
  117. package/dist/collection/assets/info-icon.svg +5 -0
  118. package/dist/collection/assets/neutral-icon.svg +5 -0
  119. package/dist/collection/assets/search-icon.svg +3 -0
  120. package/dist/collection/assets/success-icon.svg +5 -0
  121. package/dist/collection/assets/warning-icon.svg +5 -0
  122. package/dist/collection/collection-manifest.json +59 -0
  123. package/dist/collection/components/ic-alert/ic-alert.css +615 -0
  124. package/dist/collection/components/ic-alert/ic-alert.js +235 -0
  125. package/dist/collection/components/ic-alert/ic-alert.js.map +1 -0
  126. package/dist/collection/components/ic-alert/ic-alert.test.a11y.js +11 -0
  127. package/dist/collection/components/ic-alert/ic-alert.test.a11y.js.map +1 -0
  128. package/dist/collection/components/ic-alert/ic-alert.types.js +2 -0
  129. package/dist/collection/components/ic-alert/ic-alert.types.js.map +1 -0
  130. package/dist/collection/components/ic-back-to-top/assets/ArrowUpward.svg +3 -0
  131. package/dist/collection/components/ic-back-to-top/ic-back-to-top.css +526 -0
  132. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +160 -0
  133. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js.map +1 -0
  134. package/dist/collection/components/ic-back-to-top/ic-back-to-top.test.a11y.js +28 -0
  135. package/dist/collection/components/ic-back-to-top/ic-back-to-top.test.a11y.js.map +1 -0
  136. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.css +80 -0
  137. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +136 -0
  138. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -0
  139. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.types.js +2 -0
  140. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.types.js.map +1 -0
  141. package/dist/collection/components/ic-breadcrumbs/ic-breadcrumbs-test-examples.js +35 -0
  142. package/dist/collection/components/ic-breadcrumbs/ic-breadcrumbs-test-examples.js.map +1 -0
  143. package/dist/collection/components/ic-breadcrumbs/ic-breadcrumbs.css +35 -0
  144. package/dist/collection/components/ic-breadcrumbs/ic-breadcrumbs.js +228 -0
  145. package/dist/collection/components/ic-breadcrumbs/ic-breadcrumbs.js.map +1 -0
  146. package/dist/collection/components/ic-breadcrumbs/ic-breadcrumbs.test.a11y.js +21 -0
  147. package/dist/collection/components/ic-breadcrumbs/ic-breadcrumbs.test.a11y.js.map +1 -0
  148. package/dist/collection/components/ic-button/ic-button.css +840 -0
  149. package/dist/collection/components/ic-button/ic-button.js +613 -0
  150. package/dist/collection/components/ic-button/ic-button.js.map +1 -0
  151. package/dist/collection/components/ic-button/ic-button.test.a11y.js +11 -0
  152. package/dist/collection/components/ic-button/ic-button.test.a11y.js.map +1 -0
  153. package/dist/collection/components/ic-button/ic-button.types.js +2 -0
  154. package/dist/collection/components/ic-button/ic-button.types.js.map +1 -0
  155. package/dist/collection/components/ic-card/ic-card.css +546 -0
  156. package/dist/collection/components/ic-card/ic-card.js +291 -0
  157. package/dist/collection/components/ic-card/ic-card.js.map +1 -0
  158. package/dist/collection/components/ic-card/ic-card.test.a11y.js +21 -0
  159. package/dist/collection/components/ic-card/ic-card.test.a11y.js.map +1 -0
  160. package/dist/collection/components/ic-checkbox/ic-checkbox.css +597 -0
  161. package/dist/collection/components/ic-checkbox/ic-checkbox.js +256 -0
  162. package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -0
  163. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.css +466 -0
  164. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +271 -0
  165. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -0
  166. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.test.a11y.js +16 -0
  167. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.test.a11y.js.map +1 -0
  168. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.types.js +2 -0
  169. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.types.js.map +1 -0
  170. package/dist/collection/components/ic-classification-banner/ic-classification-banner.css +494 -0
  171. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +141 -0
  172. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js.map +1 -0
  173. package/dist/collection/components/ic-classification-banner/ic-classification-banner.test.a11y.js +11 -0
  174. package/dist/collection/components/ic-classification-banner/ic-classification-banner.test.a11y.js.map +1 -0
  175. package/dist/collection/components/ic-classification-banner/ic-classification-banner.types.js +2 -0
  176. package/dist/collection/components/ic-classification-banner/ic-classification-banner.types.js.map +1 -0
  177. package/dist/collection/components/ic-data-entity/ic-data-entity.css +468 -0
  178. package/dist/collection/components/ic-data-entity/ic-data-entity.js +70 -0
  179. package/dist/collection/components/ic-data-entity/ic-data-entity.js.map +1 -0
  180. package/dist/collection/components/ic-data-entity/ic-data-entity.test.a11y.js +11 -0
  181. package/dist/collection/components/ic-data-entity/ic-data-entity.test.a11y.js.map +1 -0
  182. package/dist/collection/components/ic-data-row/ic-data-row.css +499 -0
  183. package/dist/collection/components/ic-data-row/ic-data-row.js +141 -0
  184. package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -0
  185. package/dist/collection/components/ic-data-row/ic-data-row.test.a11y.js +18 -0
  186. package/dist/collection/components/ic-data-row/ic-data-row.test.a11y.js.map +1 -0
  187. package/dist/collection/components/ic-divider/ic-divider.css +11 -0
  188. package/dist/collection/components/ic-divider/ic-divider.js +44 -0
  189. package/dist/collection/components/ic-divider/ic-divider.js.map +1 -0
  190. package/dist/collection/components/ic-footer/ic-footer.css +537 -0
  191. package/dist/collection/components/ic-footer/ic-footer.js +247 -0
  192. package/dist/collection/components/ic-footer/ic-footer.js.map +1 -0
  193. package/dist/collection/components/ic-footer/ic-footer.test.a11y.js +21 -0
  194. package/dist/collection/components/ic-footer/ic-footer.test.a11y.js.map +1 -0
  195. package/dist/collection/components/ic-footer/ic-footer.types.js +2 -0
  196. package/dist/collection/components/ic-footer/ic-footer.types.js.map +1 -0
  197. package/dist/collection/components/ic-footer-link/ic-footer-link.css +558 -0
  198. package/dist/collection/components/ic-footer-link/ic-footer-link.js +103 -0
  199. package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -0
  200. package/dist/collection/components/ic-footer-link/ic-footer-link.test.a11y.js +21 -0
  201. package/dist/collection/components/ic-footer-link/ic-footer-link.test.a11y.js.map +1 -0
  202. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.css +522 -0
  203. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +113 -0
  204. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -0
  205. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.test.a11y.js +21 -0
  206. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.test.a11y.js.map +1 -0
  207. package/dist/collection/components/ic-hero/ic-hero.css +703 -0
  208. package/dist/collection/components/ic-hero/ic-hero.js +273 -0
  209. package/dist/collection/components/ic-hero/ic-hero.js.map +1 -0
  210. package/dist/collection/components/ic-hero/ic-hero.test.a11y.js +11 -0
  211. package/dist/collection/components/ic-hero/ic-hero.test.a11y.js.map +1 -0
  212. package/dist/collection/components/ic-hero/ic-hero.types.js +2 -0
  213. package/dist/collection/components/ic-hero/ic-hero.types.js.map +1 -0
  214. package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +118 -0
  215. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +208 -0
  216. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -0
  217. package/dist/collection/components/ic-input-container/ic-input-container.css +5 -0
  218. package/dist/collection/components/ic-input-container/ic-input-container.js +66 -0
  219. package/dist/collection/components/ic-input-container/ic-input-container.js.map +1 -0
  220. package/dist/collection/components/ic-input-label/ic-input-label.css +39 -0
  221. package/dist/collection/components/ic-input-label/ic-input-label.js +194 -0
  222. package/dist/collection/components/ic-input-label/ic-input-label.js.map +1 -0
  223. package/dist/collection/components/ic-input-validation/ic-input-validation.css +43 -0
  224. package/dist/collection/components/ic-input-validation/ic-input-validation.js +152 -0
  225. package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +1 -0
  226. package/dist/collection/components/ic-input-validation/ic-input-validation.types.js +2 -0
  227. package/dist/collection/components/ic-input-validation/ic-input-validation.types.js.map +1 -0
  228. package/dist/collection/components/ic-link/assets/OpenInNew.svg +1 -0
  229. package/dist/collection/components/ic-link/ic-link.css +545 -0
  230. package/dist/collection/components/ic-link/ic-link.js +231 -0
  231. package/dist/collection/components/ic-link/ic-link.js.map +1 -0
  232. package/dist/collection/components/ic-link/ic-link.test.a11y.js +11 -0
  233. package/dist/collection/components/ic-link/ic-link.test.a11y.js.map +1 -0
  234. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +672 -0
  235. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +334 -0
  236. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -0
  237. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.test.a11y.js +11 -0
  238. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.test.a11y.js.map +1 -0
  239. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.types.js +2 -0
  240. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.types.js.map +1 -0
  241. package/dist/collection/components/ic-menu/ic-menu.css +579 -0
  242. package/dist/collection/components/ic-menu/ic-menu.js +806 -0
  243. package/dist/collection/components/ic-menu/ic-menu.js.map +1 -0
  244. package/dist/collection/components/ic-menu/ic-menu.types.js +2 -0
  245. package/dist/collection/components/ic-menu/ic-menu.types.js.map +1 -0
  246. package/dist/collection/components/ic-navigation-button/ic-navigation-button.css +452 -0
  247. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +266 -0
  248. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -0
  249. package/dist/collection/components/ic-navigation-button/ic-navigation-button.types.js +2 -0
  250. package/dist/collection/components/ic-navigation-button/ic-navigation-button.types.js.map +1 -0
  251. package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +639 -0
  252. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +331 -0
  253. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -0
  254. package/dist/collection/components/ic-navigation-group/ic-navigation-group.test.a11y.js +18 -0
  255. package/dist/collection/components/ic-navigation-group/ic-navigation-group.test.a11y.js.map +1 -0
  256. package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +967 -0
  257. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +347 -0
  258. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -0
  259. package/dist/collection/components/ic-navigation-item/ic-navigation-item.test.a11y.js +18 -0
  260. package/dist/collection/components/ic-navigation-item/ic-navigation-item.test.a11y.js.map +1 -0
  261. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +87 -0
  262. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +208 -0
  263. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -0
  264. package/dist/collection/components/ic-page-header/ic-page-header.css +561 -0
  265. package/dist/collection/components/ic-page-header/ic-page-header.js +275 -0
  266. package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -0
  267. package/dist/collection/components/ic-page-header/ic-page-header.test.a11y.js +13 -0
  268. package/dist/collection/components/ic-page-header/ic-page-header.test.a11y.js.map +1 -0
  269. package/dist/collection/components/ic-radio-group/ic-radio-group.css +454 -0
  270. package/dist/collection/components/ic-radio-group/ic-radio-group.js +308 -0
  271. package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -0
  272. package/dist/collection/components/ic-radio-group/ic-radio-group.test.a11y.js +16 -0
  273. package/dist/collection/components/ic-radio-group/ic-radio-group.test.a11y.js.map +1 -0
  274. package/dist/collection/components/ic-radio-option/ic-radio-option.css +639 -0
  275. package/dist/collection/components/ic-radio-option/ic-radio-option.js +305 -0
  276. package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -0
  277. package/dist/collection/components/ic-search-bar/ic-search-bar.css +552 -0
  278. package/dist/collection/components/ic-search-bar/ic-search-bar.js +1127 -0
  279. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -0
  280. package/dist/collection/components/ic-search-bar/ic-search-bar.test.a11y.js +11 -0
  281. package/dist/collection/components/ic-search-bar/ic-search-bar.test.a11y.js.map +1 -0
  282. package/dist/collection/components/ic-search-bar/ic-search-bar.types.js +2 -0
  283. package/dist/collection/components/ic-search-bar/ic-search-bar.types.js.map +1 -0
  284. package/dist/collection/components/ic-section-container/ic-section-container.css +513 -0
  285. package/dist/collection/components/ic-section-container/ic-section-container.js +74 -0
  286. package/dist/collection/components/ic-section-container/ic-section-container.js.map +1 -0
  287. package/dist/collection/components/ic-select/assets/Check.svg +3 -0
  288. package/dist/collection/components/ic-select/assets/Clear.svg +3 -0
  289. package/dist/collection/components/ic-select/assets/Expand.svg +3 -0
  290. package/dist/collection/components/ic-select/ic-select.css +592 -0
  291. package/dist/collection/components/ic-select/ic-select.js +516 -0
  292. package/dist/collection/components/ic-select/ic-select.js.map +1 -0
  293. package/dist/collection/components/ic-select/ic-select.test.a11y.js +28 -0
  294. package/dist/collection/components/ic-select/ic-select.test.a11y.js.map +1 -0
  295. package/dist/collection/components/ic-side-navigation/ic-side-navigation-test-examples.js +321 -0
  296. package/dist/collection/components/ic-side-navigation/ic-side-navigation-test-examples.js.map +1 -0
  297. package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +607 -0
  298. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +566 -0
  299. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -0
  300. package/dist/collection/components/ic-side-navigation/ic-side-navigation.test.a11y.js +14 -0
  301. package/dist/collection/components/ic-side-navigation/ic-side-navigation.test.a11y.js.map +1 -0
  302. package/dist/collection/components/ic-side-navigation/ic-side-navigation.types.js +2 -0
  303. package/dist/collection/components/ic-side-navigation/ic-side-navigation.types.js.map +1 -0
  304. package/dist/collection/components/ic-skeleton/ic-skeleton.css +495 -0
  305. package/dist/collection/components/ic-skeleton/ic-skeleton.js +112 -0
  306. package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -0
  307. package/dist/collection/components/ic-skeleton/ic-skeleton.test.a11y.js +11 -0
  308. package/dist/collection/components/ic-skeleton/ic-skeleton.test.a11y.js.map +1 -0
  309. package/dist/collection/components/ic-skeleton/ic-skeleton.types.js +2 -0
  310. package/dist/collection/components/ic-skeleton/ic-skeleton.types.js.map +1 -0
  311. package/dist/collection/components/ic-status-tag/ic-status-tag.css +499 -0
  312. package/dist/collection/components/ic-status-tag/ic-status-tag.js +119 -0
  313. package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -0
  314. package/dist/collection/components/ic-status-tag/ic-status-tag.test.a11y.js +11 -0
  315. package/dist/collection/components/ic-status-tag/ic-status-tag.test.a11y.js.map +1 -0
  316. package/dist/collection/components/ic-status-tag/ic-status-tag.types.js +2 -0
  317. package/dist/collection/components/ic-status-tag/ic-status-tag.types.js.map +1 -0
  318. package/dist/collection/components/ic-step/ic-step.css +146 -0
  319. package/dist/collection/components/ic-step/ic-step.js +160 -0
  320. package/dist/collection/components/ic-step/ic-step.js.map +1 -0
  321. package/dist/collection/components/ic-step/ic-step.types.js +2 -0
  322. package/dist/collection/components/ic-step/ic-step.types.js.map +1 -0
  323. package/dist/collection/components/ic-stepper/ic-stepper.css +14 -0
  324. package/dist/collection/components/ic-stepper/ic-stepper.js +147 -0
  325. package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -0
  326. package/dist/collection/components/ic-stepper/ic-stepper.test.a11y.js +24 -0
  327. package/dist/collection/components/ic-stepper/ic-stepper.test.a11y.js.map +1 -0
  328. package/dist/collection/components/ic-stepper/ic-stepper.types.js +2 -0
  329. package/dist/collection/components/ic-stepper/ic-stepper.types.js.map +1 -0
  330. package/dist/collection/components/ic-switch/ic-switch.css +626 -0
  331. package/dist/collection/components/ic-switch/ic-switch.js +288 -0
  332. package/dist/collection/components/ic-switch/ic-switch.js.map +1 -0
  333. package/dist/collection/components/ic-switch/ic-switch.test.a11y.js +11 -0
  334. package/dist/collection/components/ic-switch/ic-switch.test.a11y.js.map +1 -0
  335. package/dist/collection/components/ic-switch/ic-switch.types.js +2 -0
  336. package/dist/collection/components/ic-switch/ic-switch.types.js.map +1 -0
  337. package/dist/collection/components/ic-tab/ic-tab.css +511 -0
  338. package/dist/collection/components/ic-tab/ic-tab.js +245 -0
  339. package/dist/collection/components/ic-tab/ic-tab.js.map +1 -0
  340. package/dist/collection/components/ic-tab/ic-tab.types.js +2 -0
  341. package/dist/collection/components/ic-tab/ic-tab.types.js.map +1 -0
  342. package/dist/collection/components/ic-tab-context/ic-tab-context.js +337 -0
  343. package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -0
  344. package/dist/collection/components/ic-tab-context/ic-tab-context.test.a11y.js +19 -0
  345. package/dist/collection/components/ic-tab-context/ic-tab-context.test.a11y.js.map +1 -0
  346. package/dist/collection/components/ic-tab-list/assets/left-arrow.svg +3 -0
  347. package/dist/collection/components/ic-tab-list/assets/right-arrow.svg +3 -0
  348. package/dist/collection/components/ic-tab-list/ic-tab-list.css +139 -0
  349. package/dist/collection/components/ic-tab-list/ic-tab-list.js +258 -0
  350. package/dist/collection/components/ic-tab-list/ic-tab-list.js.map +1 -0
  351. package/dist/collection/components/ic-tab-panel/ic-tab-panel.css +3 -0
  352. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +115 -0
  353. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -0
  354. package/dist/collection/components/ic-text-field/ic-text-field.css +556 -0
  355. package/dist/collection/components/ic-text-field/ic-text-field.js +1006 -0
  356. package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -0
  357. package/dist/collection/components/ic-text-field/ic-text-field.test.a11y.js +33 -0
  358. package/dist/collection/components/ic-text-field/ic-text-field.test.a11y.js.map +1 -0
  359. package/dist/collection/components/ic-text-field/ic-text-field.types.js +2 -0
  360. package/dist/collection/components/ic-text-field/ic-text-field.types.js.map +1 -0
  361. package/dist/collection/components/ic-theme/ic-theme.js +93 -0
  362. package/dist/collection/components/ic-theme/ic-theme.js.map +1 -0
  363. package/dist/collection/components/ic-tooltip/ic-tooltip.css +538 -0
  364. package/dist/collection/components/ic-tooltip/ic-tooltip.js +192 -0
  365. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -0
  366. package/dist/collection/components/ic-tooltip/ic-tooltip.test.a11y.js +15 -0
  367. package/dist/collection/components/ic-tooltip/ic-tooltip.test.a11y.js.map +1 -0
  368. package/dist/collection/components/ic-tooltip/ic-tooltip.types.js +2 -0
  369. package/dist/collection/components/ic-tooltip/ic-tooltip.types.js.map +1 -0
  370. package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +736 -0
  371. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +411 -0
  372. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -0
  373. package/dist/collection/components/ic-top-navigation/ic-top-navigation.test.a11y.js +23 -0
  374. package/dist/collection/components/ic-top-navigation/ic-top-navigation.test.a11y.js.map +1 -0
  375. package/dist/collection/components/ic-typography/ic-typography.css +543 -0
  376. package/dist/collection/components/ic-typography/ic-typography.js +73 -0
  377. package/dist/collection/components/ic-typography/ic-typography.js.map +1 -0
  378. package/dist/collection/components/ic-typography/ic-typography.test.a11y.js +11 -0
  379. package/dist/collection/components/ic-typography/ic-typography.test.a11y.js.map +1 -0
  380. package/dist/collection/index.js +2 -0
  381. package/dist/collection/index.js.map +1 -0
  382. package/dist/collection/testspec.setup.js +32 -0
  383. package/dist/collection/testspec.setup.js.map +1 -0
  384. package/dist/collection/utils/constants.js +44 -0
  385. package/dist/collection/utils/constants.js.map +1 -0
  386. package/dist/collection/utils/helpers.js +339 -0
  387. package/dist/collection/utils/helpers.js.map +1 -0
  388. package/dist/collection/utils/testa11y.helpers.js +8 -0
  389. package/dist/collection/utils/testa11y.helpers.js.map +1 -0
  390. package/dist/collection/utils/types.js +13 -0
  391. package/dist/collection/utils/types.js.map +1 -0
  392. package/dist/components/check-icon.js +8 -0
  393. package/dist/components/check-icon.js.map +1 -0
  394. package/dist/components/chevron-icon.js +8 -0
  395. package/dist/components/chevron-icon.js.map +1 -0
  396. package/dist/components/close-icon.js +10 -0
  397. package/dist/components/close-icon.js.map +1 -0
  398. package/dist/components/error-icon.js +15 -0
  399. package/dist/components/error-icon.js.map +1 -0
  400. package/dist/components/helpers.js +397 -0
  401. package/dist/components/helpers.js.map +1 -0
  402. package/dist/components/ic-alert.d.ts +11 -0
  403. package/dist/components/ic-alert.js +138 -0
  404. package/dist/components/ic-alert.js.map +1 -0
  405. package/dist/components/ic-back-to-top.d.ts +11 -0
  406. package/dist/components/ic-back-to-top.js +157 -0
  407. package/dist/components/ic-back-to-top.js.map +1 -0
  408. package/dist/components/ic-breadcrumb.d.ts +11 -0
  409. package/dist/components/ic-breadcrumb.js +8 -0
  410. package/dist/components/ic-breadcrumb.js.map +1 -0
  411. package/dist/components/ic-breadcrumb2.js +85 -0
  412. package/dist/components/ic-breadcrumb2.js.map +1 -0
  413. package/dist/components/ic-breadcrumbs.d.ts +11 -0
  414. package/dist/components/ic-breadcrumbs.js +212 -0
  415. package/dist/components/ic-breadcrumbs.js.map +1 -0
  416. package/dist/components/ic-button.d.ts +11 -0
  417. package/dist/components/ic-button.js +8 -0
  418. package/dist/components/ic-button.js.map +1 -0
  419. package/dist/components/ic-button2.js +243 -0
  420. package/dist/components/ic-button2.js.map +1 -0
  421. package/dist/components/ic-card.d.ts +11 -0
  422. package/dist/components/ic-card.js +121 -0
  423. package/dist/components/ic-card.js.map +1 -0
  424. package/dist/components/ic-checkbox-group.d.ts +11 -0
  425. package/dist/components/ic-checkbox-group.js +109 -0
  426. package/dist/components/ic-checkbox-group.js.map +1 -0
  427. package/dist/components/ic-checkbox.d.ts +11 -0
  428. package/dist/components/ic-checkbox.js +102 -0
  429. package/dist/components/ic-checkbox.js.map +1 -0
  430. package/dist/components/ic-classification-banner.d.ts +11 -0
  431. package/dist/components/ic-classification-banner.js +68 -0
  432. package/dist/components/ic-classification-banner.js.map +1 -0
  433. package/dist/components/ic-data-entity.d.ts +11 -0
  434. package/dist/components/ic-data-entity.js +54 -0
  435. package/dist/components/ic-data-entity.js.map +1 -0
  436. package/dist/components/ic-data-row.d.ts +11 -0
  437. package/dist/components/ic-data-row.js +100 -0
  438. package/dist/components/ic-data-row.js.map +1 -0
  439. package/dist/components/ic-divider.d.ts +11 -0
  440. package/dist/components/ic-divider.js +8 -0
  441. package/dist/components/ic-divider.js.map +1 -0
  442. package/dist/components/ic-divider2.js +41 -0
  443. package/dist/components/ic-divider2.js.map +1 -0
  444. package/dist/components/ic-footer-link-group.d.ts +11 -0
  445. package/dist/components/ic-footer-link-group.js +101 -0
  446. package/dist/components/ic-footer-link-group.js.map +1 -0
  447. package/dist/components/ic-footer-link.d.ts +11 -0
  448. package/dist/components/ic-footer-link.js +78 -0
  449. package/dist/components/ic-footer-link.js.map +1 -0
  450. package/dist/components/ic-footer.d.ts +11 -0
  451. package/dist/components/ic-footer.js +122 -0
  452. package/dist/components/ic-footer.js.map +1 -0
  453. package/dist/components/ic-hero.d.ts +11 -0
  454. package/dist/components/ic-hero.js +112 -0
  455. package/dist/components/ic-hero.js.map +1 -0
  456. package/dist/components/ic-input-component-container.d.ts +11 -0
  457. package/dist/components/ic-input-component-container.js +8 -0
  458. package/dist/components/ic-input-component-container.js.map +1 -0
  459. package/dist/components/ic-input-component-container2.js +71 -0
  460. package/dist/components/ic-input-component-container2.js.map +1 -0
  461. package/dist/components/ic-input-container.d.ts +11 -0
  462. package/dist/components/ic-input-container.js +8 -0
  463. package/dist/components/ic-input-container.js.map +1 -0
  464. package/dist/components/ic-input-container2.js +40 -0
  465. package/dist/components/ic-input-container2.js.map +1 -0
  466. package/dist/components/ic-input-label.d.ts +11 -0
  467. package/dist/components/ic-input-label.js +8 -0
  468. package/dist/components/ic-input-label.js.map +1 -0
  469. package/dist/components/ic-input-label2.js +74 -0
  470. package/dist/components/ic-input-label2.js.map +1 -0
  471. package/dist/components/ic-input-validation.d.ts +11 -0
  472. package/dist/components/ic-input-validation.js +8 -0
  473. package/dist/components/ic-input-validation.js.map +1 -0
  474. package/dist/components/ic-input-validation2.js +68 -0
  475. package/dist/components/ic-input-validation2.js.map +1 -0
  476. package/dist/components/ic-link.d.ts +11 -0
  477. package/dist/components/ic-link.js +8 -0
  478. package/dist/components/ic-link.js.map +1 -0
  479. package/dist/components/ic-link2.js +89 -0
  480. package/dist/components/ic-link2.js.map +1 -0
  481. package/dist/components/ic-loading-indicator.d.ts +11 -0
  482. package/dist/components/ic-loading-indicator.js +8 -0
  483. package/dist/components/ic-loading-indicator.js.map +1 -0
  484. package/dist/components/ic-loading-indicator2.js +158 -0
  485. package/dist/components/ic-loading-indicator2.js.map +1 -0
  486. package/dist/components/ic-menu.d.ts +11 -0
  487. package/dist/components/ic-menu.js +8 -0
  488. package/dist/components/ic-menu.js.map +1 -0
  489. package/dist/components/ic-menu2.js +461 -0
  490. package/dist/components/ic-menu2.js.map +1 -0
  491. package/dist/components/ic-navigation-button.d.ts +11 -0
  492. package/dist/components/ic-navigation-button.js +135 -0
  493. package/dist/components/ic-navigation-button.js.map +1 -0
  494. package/dist/components/ic-navigation-group.d.ts +11 -0
  495. package/dist/components/ic-navigation-group.js +271 -0
  496. package/dist/components/ic-navigation-group.js.map +1 -0
  497. package/dist/components/ic-navigation-item.d.ts +11 -0
  498. package/dist/components/ic-navigation-item.js +188 -0
  499. package/dist/components/ic-navigation-item.js.map +1 -0
  500. package/dist/components/ic-navigation-menu.d.ts +11 -0
  501. package/dist/components/ic-navigation-menu.js +8 -0
  502. package/dist/components/ic-navigation-menu.js.map +1 -0
  503. package/dist/components/ic-navigation-menu2.js +167 -0
  504. package/dist/components/ic-navigation-menu2.js.map +1 -0
  505. package/dist/components/ic-page-header.d.ts +11 -0
  506. package/dist/components/ic-page-header.js +145 -0
  507. package/dist/components/ic-page-header.js.map +1 -0
  508. package/dist/components/ic-radio-group.d.ts +11 -0
  509. package/dist/components/ic-radio-group.js +147 -0
  510. package/dist/components/ic-radio-group.js.map +1 -0
  511. package/dist/components/ic-radio-option.d.ts +11 -0
  512. package/dist/components/ic-radio-option.js +137 -0
  513. package/dist/components/ic-radio-option.js.map +1 -0
  514. package/dist/components/ic-search-bar.d.ts +11 -0
  515. package/dist/components/ic-search-bar.js +500 -0
  516. package/dist/components/ic-search-bar.js.map +1 -0
  517. package/dist/components/ic-section-container.d.ts +11 -0
  518. package/dist/components/ic-section-container.js +8 -0
  519. package/dist/components/ic-section-container.js.map +1 -0
  520. package/dist/components/ic-section-container2.js +43 -0
  521. package/dist/components/ic-section-container2.js.map +1 -0
  522. package/dist/components/ic-select.d.ts +11 -0
  523. package/dist/components/ic-select.js +253 -0
  524. package/dist/components/ic-select.js.map +1 -0
  525. package/dist/components/ic-side-navigation.d.ts +11 -0
  526. package/dist/components/ic-side-navigation.js +444 -0
  527. package/dist/components/ic-side-navigation.js.map +1 -0
  528. package/dist/components/ic-skeleton.d.ts +11 -0
  529. package/dist/components/ic-skeleton.js +80 -0
  530. package/dist/components/ic-skeleton.js.map +1 -0
  531. package/dist/components/ic-status-tag.d.ts +11 -0
  532. package/dist/components/ic-status-tag.js +59 -0
  533. package/dist/components/ic-status-tag.js.map +1 -0
  534. package/dist/components/ic-step.d.ts +11 -0
  535. package/dist/components/ic-step.js +85 -0
  536. package/dist/components/ic-step.js.map +1 -0
  537. package/dist/components/ic-stepper.d.ts +11 -0
  538. package/dist/components/ic-stepper.js +115 -0
  539. package/dist/components/ic-stepper.js.map +1 -0
  540. package/dist/components/ic-switch.d.ts +11 -0
  541. package/dist/components/ic-switch.js +102 -0
  542. package/dist/components/ic-switch.js.map +1 -0
  543. package/dist/components/ic-tab-context.d.ts +11 -0
  544. package/dist/components/ic-tab-context.js +245 -0
  545. package/dist/components/ic-tab-context.js.map +1 -0
  546. package/dist/components/ic-tab-list.d.ts +11 -0
  547. package/dist/components/ic-tab-list.js +180 -0
  548. package/dist/components/ic-tab-list.js.map +1 -0
  549. package/dist/components/ic-tab-panel.d.ts +11 -0
  550. package/dist/components/ic-tab-panel.js +52 -0
  551. package/dist/components/ic-tab-panel.js.map +1 -0
  552. package/dist/components/ic-tab.d.ts +11 -0
  553. package/dist/components/ic-tab.js +100 -0
  554. package/dist/components/ic-tab.js.map +1 -0
  555. package/dist/components/ic-text-field.d.ts +11 -0
  556. package/dist/components/ic-text-field.js +8 -0
  557. package/dist/components/ic-text-field.js.map +1 -0
  558. package/dist/components/ic-text-field2.js +282 -0
  559. package/dist/components/ic-text-field2.js.map +1 -0
  560. package/dist/components/ic-theme.d.ts +11 -0
  561. package/dist/components/ic-theme.js +69 -0
  562. package/dist/components/ic-theme.js.map +1 -0
  563. package/dist/components/ic-tooltip.d.ts +11 -0
  564. package/dist/components/ic-tooltip.js +8 -0
  565. package/dist/components/ic-tooltip.js.map +1 -0
  566. package/dist/components/ic-tooltip2.js +149 -0
  567. package/dist/components/ic-tooltip2.js.map +1 -0
  568. package/dist/components/ic-top-navigation.d.ts +11 -0
  569. package/dist/components/ic-top-navigation.js +273 -0
  570. package/dist/components/ic-top-navigation.js.map +1 -0
  571. package/dist/components/ic-typography.d.ts +11 -0
  572. package/dist/components/ic-typography.js +8 -0
  573. package/dist/components/ic-typography.js.map +1 -0
  574. package/dist/components/ic-typography2.js +42 -0
  575. package/dist/components/ic-typography2.js.map +1 -0
  576. package/dist/components/index.d.ts +69 -0
  577. package/dist/components/index.js +51 -0
  578. package/dist/components/index.js.map +1 -0
  579. package/dist/components/popper.js +1801 -0
  580. package/dist/components/popper.js.map +1 -0
  581. package/dist/components/success-icon.js +9 -0
  582. package/dist/components/success-icon.js.map +1 -0
  583. package/dist/core/core.css +57 -0
  584. package/dist/core/core.esm.js +2 -0
  585. package/dist/core/core.esm.js.map +1 -0
  586. package/dist/core/index.esm.js +2 -0
  587. package/dist/core/index.esm.js.map +1 -0
  588. package/dist/core/p-012dc33c.entry.js +2 -0
  589. package/dist/core/p-012dc33c.entry.js.map +1 -0
  590. package/dist/core/p-0d4ac3c9.entry.js +2 -0
  591. package/dist/core/p-0d4ac3c9.entry.js.map +1 -0
  592. package/dist/core/p-0ebbf9e7.entry.js +2 -0
  593. package/dist/core/p-0ebbf9e7.entry.js.map +1 -0
  594. package/dist/core/p-13854b65.entry.js +2 -0
  595. package/dist/core/p-13854b65.entry.js.map +1 -0
  596. package/dist/core/p-17420c90.entry.js +2 -0
  597. package/dist/core/p-17420c90.entry.js.map +1 -0
  598. package/dist/core/p-1e7b4310.js +2 -0
  599. package/dist/core/p-1e7b4310.js.map +1 -0
  600. package/dist/core/p-263018da.entry.js +2 -0
  601. package/dist/core/p-263018da.entry.js.map +1 -0
  602. package/dist/core/p-28ef3fe0.entry.js +2 -0
  603. package/dist/core/p-28ef3fe0.entry.js.map +1 -0
  604. package/dist/core/p-3b9d4007.entry.js +2 -0
  605. package/dist/core/p-3b9d4007.entry.js.map +1 -0
  606. package/dist/core/p-43e646c6.entry.js +2 -0
  607. package/dist/core/p-43e646c6.entry.js.map +1 -0
  608. package/dist/core/p-44355e34.entry.js +2 -0
  609. package/dist/core/p-44355e34.entry.js.map +1 -0
  610. package/dist/core/p-44512ebe.js +2 -0
  611. package/dist/core/p-44512ebe.js.map +1 -0
  612. package/dist/core/p-44af91df.entry.js +2 -0
  613. package/dist/core/p-44af91df.entry.js.map +1 -0
  614. package/dist/core/p-4b1b46f5.entry.js +2 -0
  615. package/dist/core/p-4b1b46f5.entry.js.map +1 -0
  616. package/dist/core/p-4b692529.entry.js +2 -0
  617. package/dist/core/p-4b692529.entry.js.map +1 -0
  618. package/dist/core/p-4cf60a22.entry.js +2 -0
  619. package/dist/core/p-4cf60a22.entry.js.map +1 -0
  620. package/dist/core/p-4fba6cae.entry.js +2 -0
  621. package/dist/core/p-4fba6cae.entry.js.map +1 -0
  622. package/dist/core/p-5316e421.entry.js +2 -0
  623. package/dist/core/p-5316e421.entry.js.map +1 -0
  624. package/dist/core/p-5d3dd182.entry.js +2 -0
  625. package/dist/core/p-5d3dd182.entry.js.map +1 -0
  626. package/dist/core/p-5e0b88fa.entry.js +2 -0
  627. package/dist/core/p-5e0b88fa.entry.js.map +1 -0
  628. package/dist/core/p-6be5e06b.entry.js +2 -0
  629. package/dist/core/p-6be5e06b.entry.js.map +1 -0
  630. package/dist/core/p-7152788d.entry.js +2 -0
  631. package/dist/core/p-7152788d.entry.js.map +1 -0
  632. package/dist/core/p-79905074.entry.js +2 -0
  633. package/dist/core/p-79905074.entry.js.map +1 -0
  634. package/dist/core/p-7ed79493.entry.js +2 -0
  635. package/dist/core/p-7ed79493.entry.js.map +1 -0
  636. package/dist/core/p-7f6ba60a.entry.js +2 -0
  637. package/dist/core/p-7f6ba60a.entry.js.map +1 -0
  638. package/dist/core/p-836c93b1.entry.js +2 -0
  639. package/dist/core/p-836c93b1.entry.js.map +1 -0
  640. package/dist/core/p-85436343.entry.js +2 -0
  641. package/dist/core/p-85436343.entry.js.map +1 -0
  642. package/dist/core/p-85dc9100.entry.js +2 -0
  643. package/dist/core/p-85dc9100.entry.js.map +1 -0
  644. package/dist/core/p-8a677ff1.entry.js +2 -0
  645. package/dist/core/p-8a677ff1.entry.js.map +1 -0
  646. package/dist/core/p-8af2a343.entry.js +2 -0
  647. package/dist/core/p-8af2a343.entry.js.map +1 -0
  648. package/dist/core/p-a3df537f.entry.js +2 -0
  649. package/dist/core/p-a3df537f.entry.js.map +1 -0
  650. package/dist/core/p-a968ff18.entry.js +2 -0
  651. package/dist/core/p-a968ff18.entry.js.map +1 -0
  652. package/dist/core/p-ae6aa67f.js +2 -0
  653. package/dist/core/p-ae6aa67f.js.map +1 -0
  654. package/dist/core/p-b1d83eb6.entry.js +2 -0
  655. package/dist/core/p-b1d83eb6.entry.js.map +1 -0
  656. package/dist/core/p-b858dc5a.entry.js +2 -0
  657. package/dist/core/p-b858dc5a.entry.js.map +1 -0
  658. package/dist/core/p-b9253509.entry.js +2 -0
  659. package/dist/core/p-b9253509.entry.js.map +1 -0
  660. package/dist/core/p-bbe0b521.entry.js +2 -0
  661. package/dist/core/p-bbe0b521.entry.js.map +1 -0
  662. package/dist/core/p-bdd2f166.entry.js +2 -0
  663. package/dist/core/p-bdd2f166.entry.js.map +1 -0
  664. package/dist/core/p-bddb885a.entry.js +2 -0
  665. package/dist/core/p-bddb885a.entry.js.map +1 -0
  666. package/dist/core/p-bf5717ca.js +2 -0
  667. package/dist/core/p-bf5717ca.js.map +1 -0
  668. package/dist/core/p-c09e9589.entry.js +2 -0
  669. package/dist/core/p-c09e9589.entry.js.map +1 -0
  670. package/dist/core/p-d10ce0a7.entry.js +2 -0
  671. package/dist/core/p-d10ce0a7.entry.js.map +1 -0
  672. package/dist/core/p-d198ae1f.entry.js +2 -0
  673. package/dist/core/p-d198ae1f.entry.js.map +1 -0
  674. package/dist/core/p-dc79694a.entry.js +2 -0
  675. package/dist/core/p-dc79694a.entry.js.map +1 -0
  676. package/dist/core/p-e28af65b.js +2 -0
  677. package/dist/core/p-e28af65b.js.map +1 -0
  678. package/dist/core/p-e5a09372.js +2 -0
  679. package/dist/core/p-e5a09372.js.map +1 -0
  680. package/dist/core/p-ec26fc38.js +2 -0
  681. package/dist/core/p-ec26fc38.js.map +1 -0
  682. package/dist/core/p-ed1d8712.entry.js +2 -0
  683. package/dist/core/p-ed1d8712.entry.js.map +1 -0
  684. package/dist/core/p-f7828fde.entry.js +2 -0
  685. package/dist/core/p-f7828fde.entry.js.map +1 -0
  686. package/dist/core/p-f9370be6.js +3 -0
  687. package/dist/core/p-f9370be6.js.map +1 -0
  688. package/dist/core/p-fba2f052.entry.js +2 -0
  689. package/dist/core/p-fba2f052.entry.js.map +1 -0
  690. package/dist/esm/check-icon-53f1d9e5.js +8 -0
  691. package/dist/esm/check-icon-53f1d9e5.js.map +1 -0
  692. package/dist/esm/chevron-icon-5b38c60a.js +8 -0
  693. package/dist/esm/chevron-icon-5b38c60a.js.map +1 -0
  694. package/dist/esm/close-icon-2f02b42a.js +10 -0
  695. package/dist/esm/close-icon-2f02b42a.js.map +1 -0
  696. package/dist/esm/core.js +19 -0
  697. package/dist/esm/core.js.map +1 -0
  698. package/dist/esm/error-icon-6046a380.js +15 -0
  699. package/dist/esm/error-icon-6046a380.js.map +1 -0
  700. package/dist/esm/helpers-db00eae1.js +397 -0
  701. package/dist/esm/helpers-db00eae1.js.map +1 -0
  702. package/dist/esm/ic-alert.entry.js +87 -0
  703. package/dist/esm/ic-alert.entry.js.map +1 -0
  704. package/dist/esm/ic-back-to-top.entry.js +128 -0
  705. package/dist/esm/ic-back-to-top.entry.js.map +1 -0
  706. package/dist/esm/ic-breadcrumb.entry.js +59 -0
  707. package/dist/esm/ic-breadcrumb.entry.js.map +1 -0
  708. package/dist/esm/ic-breadcrumbs.entry.js +177 -0
  709. package/dist/esm/ic-breadcrumbs.entry.js.map +1 -0
  710. package/dist/esm/ic-button_3.entry.js +426 -0
  711. package/dist/esm/ic-button_3.entry.js.map +1 -0
  712. package/dist/esm/ic-card.entry.js +83 -0
  713. package/dist/esm/ic-card.entry.js.map +1 -0
  714. package/dist/esm/ic-checkbox-group.entry.js +62 -0
  715. package/dist/esm/ic-checkbox-group.entry.js.map +1 -0
  716. package/dist/esm/ic-checkbox.entry.js +68 -0
  717. package/dist/esm/ic-checkbox.entry.js.map +1 -0
  718. package/dist/esm/ic-classification-banner.entry.js +38 -0
  719. package/dist/esm/ic-classification-banner.entry.js.map +1 -0
  720. package/dist/esm/ic-data-entity.entry.js +27 -0
  721. package/dist/esm/ic-data-entity.entry.js.map +1 -0
  722. package/dist/esm/ic-data-row.entry.js +70 -0
  723. package/dist/esm/ic-data-row.entry.js.map +1 -0
  724. package/dist/esm/ic-divider.entry.js +25 -0
  725. package/dist/esm/ic-divider.entry.js.map +1 -0
  726. package/dist/esm/ic-footer-link-group.entry.js +65 -0
  727. package/dist/esm/ic-footer-link-group.entry.js.map +1 -0
  728. package/dist/esm/ic-footer-link.entry.js +55 -0
  729. package/dist/esm/ic-footer-link.entry.js.map +1 -0
  730. package/dist/esm/ic-footer.entry.js +83 -0
  731. package/dist/esm/ic-footer.entry.js.map +1 -0
  732. package/dist/esm/ic-hero.entry.js +68 -0
  733. package/dist/esm/ic-hero.entry.js.map +1 -0
  734. package/dist/esm/ic-input-component-container_3.entry.js +479 -0
  735. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -0
  736. package/dist/esm/ic-input-label_2.entry.js +81 -0
  737. package/dist/esm/ic-input-label_2.entry.js.map +1 -0
  738. package/dist/esm/ic-link.entry.js +65 -0
  739. package/dist/esm/ic-link.entry.js.map +1 -0
  740. package/dist/esm/ic-navigation-button.entry.js +82 -0
  741. package/dist/esm/ic-navigation-button.entry.js.map +1 -0
  742. package/dist/esm/ic-navigation-group.entry.js +236 -0
  743. package/dist/esm/ic-navigation-group.entry.js.map +1 -0
  744. package/dist/esm/ic-navigation-item.entry.js +142 -0
  745. package/dist/esm/ic-navigation-item.entry.js.map +1 -0
  746. package/dist/esm/ic-navigation-menu.entry.js +125 -0
  747. package/dist/esm/ic-navigation-menu.entry.js.map +1 -0
  748. package/dist/esm/ic-page-header.entry.js +103 -0
  749. package/dist/esm/ic-page-header.entry.js.map +1 -0
  750. package/dist/esm/ic-radio-group.entry.js +99 -0
  751. package/dist/esm/ic-radio-group.entry.js.map +1 -0
  752. package/dist/esm/ic-radio-option.entry.js +104 -0
  753. package/dist/esm/ic-radio-option.entry.js.map +1 -0
  754. package/dist/esm/ic-search-bar.entry.js +389 -0
  755. package/dist/esm/ic-search-bar.entry.js.map +1 -0
  756. package/dist/esm/ic-section-container.entry.js +25 -0
  757. package/dist/esm/ic-section-container.entry.js.map +1 -0
  758. package/dist/esm/ic-select.entry.js +162 -0
  759. package/dist/esm/ic-select.entry.js.map +1 -0
  760. package/dist/esm/ic-side-navigation.entry.js +380 -0
  761. package/dist/esm/ic-side-navigation.entry.js.map +1 -0
  762. package/dist/esm/ic-skeleton.entry.js +55 -0
  763. package/dist/esm/ic-skeleton.entry.js.map +1 -0
  764. package/dist/esm/ic-status-tag.entry.js +30 -0
  765. package/dist/esm/ic-status-tag.entry.js.map +1 -0
  766. package/dist/esm/ic-step.entry.js +55 -0
  767. package/dist/esm/ic-step.entry.js.map +1 -0
  768. package/dist/esm/ic-stepper.entry.js +92 -0
  769. package/dist/esm/ic-stepper.entry.js.map +1 -0
  770. package/dist/esm/ic-switch.entry.js +61 -0
  771. package/dist/esm/ic-switch.entry.js.map +1 -0
  772. package/dist/esm/ic-tab-context.entry.js +222 -0
  773. package/dist/esm/ic-tab-context.entry.js.map +1 -0
  774. package/dist/esm/ic-tab-list.entry.js +141 -0
  775. package/dist/esm/ic-tab-list.entry.js.map +1 -0
  776. package/dist/esm/ic-tab-panel.entry.js +29 -0
  777. package/dist/esm/ic-tab-panel.entry.js.map +1 -0
  778. package/dist/esm/ic-tab.entry.js +69 -0
  779. package/dist/esm/ic-tab.entry.js.map +1 -0
  780. package/dist/esm/ic-text-field.entry.js +199 -0
  781. package/dist/esm/ic-text-field.entry.js.map +1 -0
  782. package/dist/esm/ic-theme.entry.js +49 -0
  783. package/dist/esm/ic-theme.entry.js.map +1 -0
  784. package/dist/esm/ic-top-navigation.entry.js +203 -0
  785. package/dist/esm/ic-top-navigation.entry.js.map +1 -0
  786. package/dist/esm/ic-typography.entry.js +24 -0
  787. package/dist/esm/ic-typography.entry.js.map +1 -0
  788. package/dist/esm/index-1500de1f.js +2431 -0
  789. package/dist/esm/index-1500de1f.js.map +1 -0
  790. package/dist/esm/index.js +3 -0
  791. package/dist/esm/index.js.map +1 -0
  792. package/dist/esm/loader.js +19 -0
  793. package/dist/esm/loader.js.map +1 -0
  794. package/dist/esm/polyfills/core-js.js +11 -0
  795. package/dist/esm/polyfills/css-shim.js +1 -0
  796. package/dist/esm/polyfills/dom.js +79 -0
  797. package/dist/esm/polyfills/es5-html-element.js +1 -0
  798. package/dist/esm/polyfills/index.js +34 -0
  799. package/dist/esm/polyfills/system.js +6 -0
  800. package/dist/esm/popper-f860750c.js +1801 -0
  801. package/dist/esm/popper-f860750c.js.map +1 -0
  802. package/dist/esm/success-icon-2f71b115.js +9 -0
  803. package/dist/esm/success-icon-2f71b115.js.map +1 -0
  804. package/dist/index.cjs.js +1 -0
  805. package/dist/index.js +1 -0
  806. package/dist/types/components/ic-alert/ic-alert.d.ts +44 -0
  807. package/dist/types/components/ic-alert/ic-alert.test.a11y.d.ts +1 -0
  808. package/dist/types/components/ic-alert/ic-alert.types.d.ts +1 -0
  809. package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +24 -0
  810. package/dist/types/components/ic-back-to-top/ic-back-to-top.test.a11y.d.ts +1 -0
  811. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +26 -0
  812. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.types.d.ts +1 -0
  813. package/dist/types/components/ic-breadcrumbs/ic-breadcrumbs-test-examples.d.ts +2 -0
  814. package/dist/types/components/ic-breadcrumbs/ic-breadcrumbs.d.ts +33 -0
  815. package/dist/types/components/ic-breadcrumbs/ic-breadcrumbs.test.a11y.d.ts +1 -0
  816. package/dist/types/components/ic-button/ic-button.d.ts +111 -0
  817. package/dist/types/components/ic-button/ic-button.test.a11y.d.ts +1 -0
  818. package/dist/types/components/ic-button/ic-button.types.d.ts +5 -0
  819. package/dist/types/components/ic-card/ic-card.d.ts +58 -0
  820. package/dist/types/components/ic-card/ic-card.test.a11y.d.ts +1 -0
  821. package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +50 -0
  822. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +51 -0
  823. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.test.a11y.d.ts +1 -0
  824. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.types.d.ts +3 -0
  825. package/dist/types/components/ic-classification-banner/ic-classification-banner.d.ts +24 -0
  826. package/dist/types/components/ic-classification-banner/ic-classification-banner.test.a11y.d.ts +1 -0
  827. package/dist/types/components/ic-classification-banner/ic-classification-banner.types.d.ts +1 -0
  828. package/dist/types/components/ic-data-entity/ic-data-entity.d.ts +12 -0
  829. package/dist/types/components/ic-data-entity/ic-data-entity.test.a11y.d.ts +1 -0
  830. package/dist/types/components/ic-data-row/ic-data-row.d.ts +31 -0
  831. package/dist/types/components/ic-data-row/ic-data-row.test.a11y.d.ts +1 -0
  832. package/dist/types/components/ic-divider/ic-divider.d.ts +6 -0
  833. package/dist/types/components/ic-footer/ic-footer.d.ts +52 -0
  834. package/dist/types/components/ic-footer/ic-footer.test.a11y.d.ts +1 -0
  835. package/dist/types/components/ic-footer/ic-footer.types.d.ts +1 -0
  836. package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +21 -0
  837. package/dist/types/components/ic-footer-link/ic-footer-link.test.a11y.d.ts +1 -0
  838. package/dist/types/components/ic-footer-link-group/ic-footer-link-group.d.ts +19 -0
  839. package/dist/types/components/ic-footer-link-group/ic-footer-link-group.test.a11y.d.ts +1 -0
  840. package/dist/types/components/ic-hero/ic-hero.d.ts +57 -0
  841. package/dist/types/components/ic-hero/ic-hero.test.a11y.d.ts +1 -0
  842. package/dist/types/components/ic-hero/ic-hero.types.d.ts +1 -0
  843. package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +40 -0
  844. package/dist/types/components/ic-input-container/ic-input-container.d.ts +11 -0
  845. package/dist/types/components/ic-input-label/ic-input-label.d.ts +36 -0
  846. package/dist/types/components/ic-input-validation/ic-input-validation.d.ts +30 -0
  847. package/dist/types/components/ic-input-validation/ic-input-validation.types.d.ts +1 -0
  848. package/dist/types/components/ic-link/ic-link.d.ts +44 -0
  849. package/dist/types/components/ic-link/ic-link.test.a11y.d.ts +1 -0
  850. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +66 -0
  851. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.test.a11y.d.ts +1 -0
  852. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.types.d.ts +3 -0
  853. package/dist/types/components/ic-menu/ic-menu.d.ts +116 -0
  854. package/dist/types/components/ic-menu/ic-menu.types.d.ts +11 -0
  855. package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +53 -0
  856. package/dist/types/components/ic-navigation-button/ic-navigation-button.types.d.ts +1 -0
  857. package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +56 -0
  858. package/dist/types/components/ic-navigation-group/ic-navigation-group.test.a11y.d.ts +1 -0
  859. package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +65 -0
  860. package/dist/types/components/ic-navigation-item/ic-navigation-item.test.a11y.d.ts +1 -0
  861. package/dist/types/components/ic-navigation-menu/ic-navigation-menu.d.ts +36 -0
  862. package/dist/types/components/ic-page-header/ic-page-header.d.ts +55 -0
  863. package/dist/types/components/ic-page-header/ic-page-header.test.a11y.d.ts +1 -0
  864. package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +57 -0
  865. package/dist/types/components/ic-radio-group/ic-radio-group.test.a11y.d.ts +1 -0
  866. package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +57 -0
  867. package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +211 -0
  868. package/dist/types/components/ic-search-bar/ic-search-bar.test.a11y.d.ts +1 -0
  869. package/dist/types/components/ic-search-bar/ic-search-bar.types.d.ts +4 -0
  870. package/dist/types/components/ic-section-container/ic-section-container.d.ts +12 -0
  871. package/dist/types/components/ic-select/ic-select.d.ts +108 -0
  872. package/dist/types/components/ic-select/ic-select.test.a11y.d.ts +1 -0
  873. package/dist/types/components/ic-side-navigation/ic-side-navigation-test-examples.d.ts +5 -0
  874. package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +89 -0
  875. package/dist/types/components/ic-side-navigation/ic-side-navigation.test.a11y.d.ts +1 -0
  876. package/dist/types/components/ic-side-navigation/ic-side-navigation.types.d.ts +9 -0
  877. package/dist/types/components/ic-skeleton/ic-skeleton.d.ts +18 -0
  878. package/dist/types/components/ic-skeleton/ic-skeleton.test.a11y.d.ts +1 -0
  879. package/dist/types/components/ic-skeleton/ic-skeleton.types.d.ts +1 -0
  880. package/dist/types/components/ic-status-tag/ic-status-tag.d.ts +21 -0
  881. package/dist/types/components/ic-status-tag/ic-status-tag.test.a11y.d.ts +1 -0
  882. package/dist/types/components/ic-status-tag/ic-status-tag.types.d.ts +2 -0
  883. package/dist/types/components/ic-step/ic-step.d.ts +26 -0
  884. package/dist/types/components/ic-step/ic-step.types.d.ts +1 -0
  885. package/dist/types/components/ic-stepper/ic-stepper.d.ts +26 -0
  886. package/dist/types/components/ic-stepper/ic-stepper.test.a11y.d.ts +1 -0
  887. package/dist/types/components/ic-stepper/ic-stepper.types.d.ts +1 -0
  888. package/dist/types/components/ic-switch/ic-switch.d.ts +67 -0
  889. package/dist/types/components/ic-switch/ic-switch.test.a11y.d.ts +1 -0
  890. package/dist/types/components/ic-switch/ic-switch.types.d.ts +4 -0
  891. package/dist/types/components/ic-tab/ic-tab.d.ts +38 -0
  892. package/dist/types/components/ic-tab/ic-tab.types.d.ts +8 -0
  893. package/dist/types/components/ic-tab-context/ic-tab-context.d.ts +51 -0
  894. package/dist/types/components/ic-tab-context/ic-tab-context.test.a11y.d.ts +1 -0
  895. package/dist/types/components/ic-tab-list/ic-tab-list.d.ts +49 -0
  896. package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +15 -0
  897. package/dist/types/components/ic-text-field/ic-text-field.d.ts +199 -0
  898. package/dist/types/components/ic-text-field/ic-text-field.test.a11y.d.ts +1 -0
  899. package/dist/types/components/ic-text-field/ic-text-field.types.d.ts +3 -0
  900. package/dist/types/components/ic-theme/ic-theme.d.ts +17 -0
  901. package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +35 -0
  902. package/dist/types/components/ic-tooltip/ic-tooltip.test.a11y.d.ts +1 -0
  903. package/dist/types/components/ic-tooltip/ic-tooltip.types.d.ts +1 -0
  904. package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +79 -0
  905. package/dist/types/components/ic-top-navigation/ic-top-navigation.test.a11y.d.ts +1 -0
  906. package/dist/types/components/ic-typography/ic-typography.d.ts +13 -0
  907. package/dist/types/components/ic-typography/ic-typography.test.a11y.d.ts +1 -0
  908. package/dist/types/components.d.ts +3276 -0
  909. package/dist/types/index.d.ts +1 -0
  910. package/dist/types/interface.d.ts +15 -0
  911. package/dist/types/stencil-public-runtime.d.ts +1581 -0
  912. package/dist/types/testspec.setup.d.ts +3 -0
  913. package/dist/types/utils/constants.d.ts +14 -0
  914. package/dist/types/utils/helpers.d.ts +95 -0
  915. package/dist/types/utils/testa11y.helpers.d.ts +2 -0
  916. package/dist/types/utils/types.d.ts +53 -0
  917. package/hydrate/index.d.ts +217 -0
  918. package/hydrate/index.js +14702 -0
  919. package/hydrate/package.json +6 -0
  920. package/loader/cdn.js +3 -0
  921. package/loader/index.cjs.js +3 -0
  922. package/loader/index.d.ts +12 -0
  923. package/loader/index.es2017.js +3 -0
  924. package/loader/index.js +4 -0
  925. package/loader/package.json +11 -0
  926. package/package.json +74 -0
@@ -0,0 +1,80 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+
3
+ const icSkeletonCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}@keyframes loading{0%{background-color:var(--ic-architectural-100)}50%{background-color:var(--ic-architectural-200)}100%{background-color:var(--ic-architectural-100)}}@keyframes loading-dark{0%{background-color:var(--ic-architectural-600)}50%{background-color:var(--ic-architectural-400)}100%{background-color:var(--ic-architectural-600)}}:host{display:inline-block}:host(.skeleton){background-color:var(--ic-architectural-100);border-radius:var(--ic-border-radius);animation:loading 1200ms infinite;display:inline-block}:host(.skeleton)>*{opacity:0;visibility:hidden}:host(.circular){border-radius:50%}:host(.dark){background-color:var(--ic-architectural-600);animation:loading-dark 1200ms infinite}";
4
+
5
+ const Skeleton = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
6
+ constructor() {
7
+ super();
8
+ this.__registerHost();
9
+ this.__attachShadow();
10
+ this.variant = "rectangular";
11
+ this.dark = false;
12
+ this.hasChild = undefined;
13
+ this.default = undefined;
14
+ this.heightOnly = undefined;
15
+ this.widthOnly = undefined;
16
+ }
17
+ componentWillLoad() {
18
+ if (this.el.style.height === "" && this.el.style.width === "") {
19
+ this.default = true;
20
+ }
21
+ else if (!(this.el.style.height === "") && this.el.style.width === "") {
22
+ this.heightOnly = true;
23
+ }
24
+ else if (!(this.el.style.width === "") && this.el.style.height === "") {
25
+ this.widthOnly = true;
26
+ }
27
+ }
28
+ render() {
29
+ const { variant, dark } = this;
30
+ this.hasChild = !!this.el.firstElementChild;
31
+ const defaultSkeletonStyle = {
32
+ height: variant == "text" ? "1em" : variant == "circular" ? "25px" : "93px",
33
+ width: variant == "circular" ? "25px" : "260px",
34
+ };
35
+ const heightSetStyle = {
36
+ height: this.el.style.height,
37
+ width: variant == "circular" ? "25px" : "260px",
38
+ };
39
+ const widthSetStyle = {
40
+ height: variant == "text" ? "1em" : variant == "circular" ? "25px" : "93px",
41
+ width: this.el.style.width,
42
+ };
43
+ return (h(Host, { class: {
44
+ ["skeleton"]: true,
45
+ ["circular"]: variant == "circular",
46
+ ["dark"]: dark,
47
+ }, style: (!this.hasChild && this.default && defaultSkeletonStyle) ||
48
+ (this.heightOnly && heightSetStyle) ||
49
+ (this.widthOnly && widthSetStyle), "aria-disabled": "true" }, h("slot", null)));
50
+ }
51
+ get el() { return this; }
52
+ static get style() { return icSkeletonCss; }
53
+ }, [1, "ic-skeleton", {
54
+ "variant": [1],
55
+ "dark": [4],
56
+ "hasChild": [32],
57
+ "default": [32],
58
+ "heightOnly": [32],
59
+ "widthOnly": [32]
60
+ }]);
61
+ function defineCustomElement$1() {
62
+ if (typeof customElements === "undefined") {
63
+ return;
64
+ }
65
+ const components = ["ic-skeleton"];
66
+ components.forEach(tagName => { switch (tagName) {
67
+ case "ic-skeleton":
68
+ if (!customElements.get(tagName)) {
69
+ customElements.define(tagName, Skeleton);
70
+ }
71
+ break;
72
+ } });
73
+ }
74
+
75
+ const IcSkeleton = Skeleton;
76
+ const defineCustomElement = defineCustomElement$1;
77
+
78
+ export { IcSkeleton, defineCustomElement };
79
+
80
+ //# sourceMappingURL=ic-skeleton.js.map
@@ -0,0 +1 @@
1
+ {"file":"ic-skeleton.js","mappings":";;AAAA,MAAM,aAAa,GAAG,6jGAA6jG;;MCQtkG,QAAQ;;;;;mBAKoB,aAAa;gBAI3B,KAAK;;;;;;EAU9B,iBAAiB;IACf,IAAI,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,KAAK,EAAE,IAAI,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,KAAK,EAAE,EAAE;MAC7D,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;KACrB;SAAM,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,KAAK,EAAE,CAAC,IAAI,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,KAAK,EAAE,EAAE;MACvE,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;KACxB;SAAM,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,KAAK,EAAE,CAAC,IAAI,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,KAAK,EAAE,EAAE;MACvE,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;KACvB;GACF;EAED,MAAM;IACJ,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IAE/B,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,iBAAiB,CAAC;IAE5C,MAAM,oBAAoB,GAAG;MAC3B,MAAM,EACJ,OAAO,IAAI,MAAM,GAAG,KAAK,GAAG,OAAO,IAAI,UAAU,GAAG,MAAM,GAAG,MAAM;MACrE,KAAK,EAAE,OAAO,IAAI,UAAU,GAAG,MAAM,GAAG,OAAO;KAChD,CAAC;IAEF,MAAM,cAAc,GAAG;MACrB,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM;MAC5B,KAAK,EAAE,OAAO,IAAI,UAAU,GAAG,MAAM,GAAG,OAAO;KAChD,CAAC;IAEF,MAAM,aAAa,GAAG;MACpB,MAAM,EACJ,OAAO,IAAI,MAAM,GAAG,KAAK,GAAG,OAAO,IAAI,UAAU,GAAG,MAAM,GAAG,MAAM;MACrE,KAAK,EAAE,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK;KAC3B,CAAC;IAEF,QACE,EAAC,IAAI,IACH,KAAK,EAAE;QACL,CAAC,UAAU,GAAG,IAAI;QAClB,CAAC,UAAU,GAAG,OAAO,IAAI,UAAU;QACnC,CAAC,MAAM,GAAG,IAAI;OACf,EACD,KAAK,EACH,CAAC,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,OAAO,IAAI,oBAAoB;SACtD,IAAI,CAAC,UAAU,IAAI,cAAc,CAAC;SAClC,IAAI,CAAC,SAAS,IAAI,aAAa,CAAC,mBAErB,MAAM,IAEpB,eAAQ,CACH,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/ic-skeleton/ic-skeleton.css?tag=ic-skeleton&encapsulation=shadow","./src/components/ic-skeleton/ic-skeleton.tsx"],"sourcesContent":["@import \"../../global/normalise.css\";\n\n@keyframes loading {\n 0% {\n background-color: var(--ic-architectural-100);\n }\n\n 50% {\n background-color: var(--ic-architectural-200);\n }\n\n 100% {\n background-color: var(--ic-architectural-100);\n }\n}\n\n@keyframes loading-dark {\n 0% {\n background-color: var(--ic-architectural-600);\n }\n\n 50% {\n background-color: var(--ic-architectural-400);\n }\n\n 100% {\n background-color: var(--ic-architectural-600);\n }\n}\n\n:host {\n display: inline-block;\n}\n\n:host(.skeleton) {\n background-color: var(--ic-architectural-100);\n border-radius: var(--ic-border-radius);\n animation: loading 1200ms infinite;\n display: inline-block;\n}\n\n:host(.skeleton) > * {\n opacity: 0;\n visibility: hidden;\n}\n\n:host(.circular) {\n border-radius: 50%;\n}\n\n:host(.dark) {\n background-color: var(--ic-architectural-600);\n animation: loading-dark 1200ms infinite;\n}\n","import { Component, Element, Host, Prop, h, State } from \"@stencil/core\";\nimport { IcSkeletonVariants } from \"./ic-skeleton.types\";\n\n@Component({\n tag: \"ic-skeleton\",\n styleUrl: \"ic-skeleton.css\",\n shadow: true,\n})\nexport class Skeleton {\n @Element() el: HTMLIcSkeletonElement;\n /**\n * The variant of the skeleton that will be displayed\n */\n @Prop() variant?: IcSkeletonVariants = \"rectangular\";\n /**\n * Set the skeleton to the dark variant\n */\n @Prop() dark?: boolean = false;\n\n @State() hasChild: boolean;\n\n @State() default: boolean;\n\n @State() heightOnly: boolean;\n\n @State() widthOnly: boolean;\n\n componentWillLoad(): void {\n if (this.el.style.height === \"\" && this.el.style.width === \"\") {\n this.default = true;\n } else if (!(this.el.style.height === \"\") && this.el.style.width === \"\") {\n this.heightOnly = true;\n } else if (!(this.el.style.width === \"\") && this.el.style.height === \"\") {\n this.widthOnly = true;\n }\n }\n\n render() {\n const { variant, dark } = this;\n\n this.hasChild = !!this.el.firstElementChild;\n\n const defaultSkeletonStyle = {\n height:\n variant == \"text\" ? \"1em\" : variant == \"circular\" ? \"25px\" : \"93px\",\n width: variant == \"circular\" ? \"25px\" : \"260px\",\n };\n\n const heightSetStyle = {\n height: this.el.style.height,\n width: variant == \"circular\" ? \"25px\" : \"260px\",\n };\n\n const widthSetStyle = {\n height:\n variant == \"text\" ? \"1em\" : variant == \"circular\" ? \"25px\" : \"93px\",\n width: this.el.style.width,\n };\n\n return (\n <Host\n class={{\n [\"skeleton\"]: true,\n [\"circular\"]: variant == \"circular\",\n [\"dark\"]: dark,\n }}\n style={\n (!this.hasChild && this.default && defaultSkeletonStyle) ||\n (this.heightOnly && heightSetStyle) ||\n (this.widthOnly && widthSetStyle)\n }\n aria-disabled=\"true\"\n >\n <slot />\n </Host>\n );\n }\n}\n"],"version":3}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface IcStatusTag extends Components.IcStatusTag, HTMLElement {}
4
+ export const IcStatusTag: {
5
+ prototype: IcStatusTag;
6
+ new (): IcStatusTag;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,59 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+ import { a as onComponentRequiredPropUndefined } from './helpers.js';
3
+ import { d as defineCustomElement$2 } from './ic-typography2.js';
4
+
5
+ const icStatusTagCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}.tag{padding:var(--ic-space-xs) var(--ic-space-sm);font-size:14px;border-radius:80px;display:inline-block;min-width:40px;text-align:center}.dense{padding:var(--ic-space-xxs) var(--ic-space-sm)}.primary-neutral{background-color:var(--ic-architectural-600);color:var(--ic-architectural-white)}.primary-success{background-color:var(--ic-status-success);color:var(--ic-architectural-white)}.primary-warning{background-color:var(--ic-status-warning);color:var(--ic-color-primary-text)}.primary-danger{background-color:var(--ic-status-error);color:var(--ic-architectural-white)}.secondary-neutral{background-color:var(--ic-architectural-200);color:var(--ic-color-secondary-text);border:1px solid var(--ic-architectural-400)}.secondary-success{background-color:var(--ic-status-success-background);color:var(--ic-status-success);border:1px solid var(--ic-status-success)}.secondary-warning{background-color:var(--ic-status-warning-background);color:var(--ic-status-warning-dark);border:1px solid var(--ic-status-warning-dark)}.secondary-danger{background-color:var(--ic-status-error-background);color:var(--ic-status-error);border:1px solid var(--ic-status-error)}";
6
+
7
+ const StatusTag = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
8
+ constructor() {
9
+ super();
10
+ this.__registerHost();
11
+ this.__attachShadow();
12
+ this.label = undefined;
13
+ this.status = "neutral";
14
+ this.variant = "primary";
15
+ this.dense = false;
16
+ }
17
+ componentDidLoad() {
18
+ onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Status Tag");
19
+ }
20
+ render() {
21
+ const { label, status, variant, dense } = this;
22
+ return (h(Host, { role: "status" }, h("strong", { class: {
23
+ ["tag"]: true,
24
+ [`${variant}-${status}`]: true,
25
+ ["dense"]: dense,
26
+ } }, h("ic-typography", { variant: "label-uppercase", spacing: false }, h("span", null, label)))));
27
+ }
28
+ static get style() { return icStatusTagCss; }
29
+ }, [1, "ic-status-tag", {
30
+ "label": [1],
31
+ "status": [1],
32
+ "variant": [1],
33
+ "dense": [4]
34
+ }]);
35
+ function defineCustomElement$1() {
36
+ if (typeof customElements === "undefined") {
37
+ return;
38
+ }
39
+ const components = ["ic-status-tag", "ic-typography"];
40
+ components.forEach(tagName => { switch (tagName) {
41
+ case "ic-status-tag":
42
+ if (!customElements.get(tagName)) {
43
+ customElements.define(tagName, StatusTag);
44
+ }
45
+ break;
46
+ case "ic-typography":
47
+ if (!customElements.get(tagName)) {
48
+ defineCustomElement$2();
49
+ }
50
+ break;
51
+ } });
52
+ }
53
+
54
+ const IcStatusTag = StatusTag;
55
+ const defineCustomElement = defineCustomElement$1;
56
+
57
+ export { IcStatusTag, defineCustomElement };
58
+
59
+ //# sourceMappingURL=ic-status-tag.js.map
@@ -0,0 +1 @@
1
+ {"file":"ic-status-tag.js","mappings":";;;;AAAA,MAAM,cAAc,GAAG,qgHAAqgH;;MCY/gH,SAAS;;;;;;kBAQmB,SAAS;mBAIR,SAAS;iBAIvB,KAAK;;EAE/B,gBAAgB;IACd,gCAAgC,CAC9B,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,EACzC,YAAY,CACb,CAAC;GACH;EAED,MAAM;IACJ,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;IAC/C,QACE,EAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,IACjB,cACE,KAAK,EAAE;QACL,CAAC,KAAK,GAAG,IAAI;QACb,CAAC,GAAG,OAAO,IAAI,MAAM,EAAE,GAAG,IAAI;QAC9B,CAAC,OAAO,GAAG,KAAK;OACjB,IAED,qBAAe,OAAO,EAAC,iBAAiB,EAAC,OAAO,EAAE,KAAK,IACrD,gBAAO,KAAK,CAAQ,CACN,CACT,CACJ,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/ic-status-tag/ic-status-tag.css?tag=ic-status-tag&encapsulation=shadow","./src/components/ic-status-tag/ic-status-tag.tsx"],"sourcesContent":["@import \"../../global/normalise.css\";\n\n.tag {\n padding: var(--ic-space-xs) var(--ic-space-sm);\n font-size: 14px;\n border-radius: 80px;\n display: inline-block;\n min-width: 40px;\n text-align: center;\n}\n\n.dense {\n padding: var(--ic-space-xxs) var(--ic-space-sm);\n}\n\n.primary-neutral {\n background-color: var(--ic-architectural-600);\n color: var(--ic-architectural-white);\n}\n\n.primary-success {\n background-color: var(--ic-status-success);\n color: var(--ic-architectural-white);\n}\n\n.primary-warning {\n background-color: var(--ic-status-warning);\n color: var(--ic-color-primary-text);\n}\n\n.primary-danger {\n background-color: var(--ic-status-error);\n color: var(--ic-architectural-white);\n}\n\n.secondary-neutral {\n background-color: var(--ic-architectural-200);\n color: var(--ic-color-secondary-text);\n border: 1px solid var(--ic-architectural-400);\n}\n\n.secondary-success {\n background-color: var(--ic-status-success-background);\n color: var(--ic-status-success);\n border: 1px solid var(--ic-status-success);\n}\n\n.secondary-warning {\n background-color: var(--ic-status-warning-background);\n color: var(--ic-status-warning-dark);\n border: 1px solid var(--ic-status-warning-dark);\n}\n\n.secondary-danger {\n background-color: var(--ic-status-error-background);\n color: var(--ic-status-error);\n border: 1px solid var(--ic-status-error);\n}\n","import { Component, Host, h, Prop } from \"@stencil/core\";\nimport { onComponentRequiredPropUndefined } from \"../../utils/helpers\";\nimport {\n IcStatusTagStatuses,\n IcStatusTagVariants,\n} from \"./ic-status-tag.types\";\n\n@Component({\n tag: \"ic-status-tag\",\n styleUrl: \"ic-status-tag.css\",\n shadow: true,\n})\nexport class StatusTag {\n /**\n * The content rendered within the status tag.\n */\n @Prop() label!: string;\n /**\n * The colour of the status tag.\n */\n @Prop() status?: IcStatusTagStatuses = \"neutral\";\n /**\n * The emphasis of the status tag.\n */\n @Prop() variant?: IcStatusTagVariants = \"primary\";\n /**\n * The size of the status tag.\n */\n @Prop() dense?: boolean = false;\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.label, propName: \"label\" }],\n \"Status Tag\"\n );\n }\n\n render() {\n const { label, status, variant, dense } = this;\n return (\n <Host role=\"status\">\n <strong\n class={{\n [\"tag\"]: true,\n [`${variant}-${status}`]: true,\n [\"dense\"]: dense,\n }}\n >\n <ic-typography variant=\"label-uppercase\" spacing={false}>\n <span>{label}</span>\n </ic-typography>\n </strong>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface IcStep extends Components.IcStep, HTMLElement {}
4
+ export const IcStep: {
5
+ prototype: IcStep;
6
+ new (): IcStep;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,85 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+ import { c as checkIcon } from './check-icon.js';
3
+ import { a as onComponentRequiredPropUndefined } from './helpers.js';
4
+ import { d as defineCustomElement$2 } from './ic-typography2.js';
5
+
6
+ const icStepCss = ":host{display:flex;flex:auto}:host(.last-step){flex-grow:initial}.step{display:flex;flex-direction:column;flex:1 1 0}.step-top{display:flex;width:100%;align-items:center;align-self:flex-start;height:40px}.step-icon{display:flex;justify-content:center;align-items:center;border-radius:50%}.step-icon-inner{width:var(--ic-space-xl);height:var(--ic-space-xl);display:flex;justify-content:center;align-items:center;border-radius:50%}.current{color:var(--ic-theme-primary)}.step-title-area{margin:var(--ic-space-xs) 0;padding-right:var(--ic-space-xs)}.step-title,.step-subtitle{width:-moz-fit-content;width:fit-content}.step-subtitle{color:var(--ic-color-tertiary-text)}.current .step-subtitle{color:var(--ic-color-primary-text)}.completed{color:var(--ic-status-success)}.active .step-icon-inner{box-shadow:inset var(--ic-architectural-200) 0 0 0 2px}.current .step-icon-inner{background-color:var(--ic-theme-primary);color:white}.disabled{color:var(--ic-architectural-200)}.disabled .step-icon-inner{border:1px dashed var(--ic-architectural-200);width:calc(var(--ic-space-xl) - var(--ic-space-xxxs));height:calc(var(--ic-space-xl) - var(--ic-space-xxxs))}.disabled .step-title-area{color:var(--ic-color-tertiary-text)}.completed .step-icon-inner{background:var(--ic-status-success);box-shadow:inset var(--ic-status-success) 0 0 0 var(--ic-space-xxxs);border-radius:100%}.current .step-icon{border:var(--ic-space-xxxs) solid var(--ic-theme-primary);padding:var(--ic-space-xxxs);margin:0 calc(-1 * var(--ic-space-xxxs));}.step-connect{height:var(--ic-space-xxxs);background-color:var(--ic-architectural-200);margin:0 var(--ic-space-xs);border-radius:var(--ic-space-xxs);width:100%}.aligned-full-width.step-connect{min-width:100px;width:100%}.disabled .step-connect{height:0;background-color:rgb(0 0 0 / 0%);border-top:2px dashed var(--ic-architectural-200);border-radius:0}.completed .step-connect{background-color:var(--ic-status-success)}.step-connect-inner{width:70%;display:flex;flex:auto;height:var(--ic-space-xxxs);border-radius:var(--ic-space-xxs);background-color:var(--ic-theme-primary)}.check-icon{padding-top:var(--ic-space-xxs)}.check-icon svg{width:16px;height:16px}.check-icon>svg>path{fill:white}";
7
+
8
+ const Step = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
9
+ constructor() {
10
+ super();
11
+ this.__registerHost();
12
+ this.__attachShadow();
13
+ this.stepType = "active";
14
+ this.stepTitle = undefined;
15
+ this.stepSubtitle = undefined;
16
+ this.stepNum = undefined;
17
+ this.lastStep = undefined;
18
+ }
19
+ componentDidLoad() {
20
+ onComponentRequiredPropUndefined([
21
+ { prop: this.stepNum, propName: "step-num" },
22
+ { prop: this.lastStep, propName: "last-step" },
23
+ ], "Step");
24
+ }
25
+ render() {
26
+ let icon;
27
+ if (this.stepType !== "completed") {
28
+ icon = (h("ic-typography", { variant: "subtitle-small" }, h("span", { class: "step-icon-inner", "aria-hidden": "true" }, this.stepNum)));
29
+ }
30
+ else {
31
+ icon = (h("div", { class: "step-icon-inner", "aria-hidden": "true" }, h("span", { class: "check-icon", innerHTML: checkIcon })));
32
+ }
33
+ let ariaLabel = "";
34
+ if (this.stepType === "completed") {
35
+ ariaLabel = ". Completed step";
36
+ }
37
+ else if (this.stepType === "disabled") {
38
+ ariaLabel = ". Disabled step";
39
+ }
40
+ const partialBar = this.stepType === "current" && (h("div", { class: "step-connect-inner" }));
41
+ const finalStep = !this.lastStep && (h("div", { class: {
42
+ ["step-connect"]: true,
43
+ ["aligned-full-width"]: this.el.parentElement.classList.contains("aligned-full-width"),
44
+ } }, partialBar));
45
+ return (h(Host, { role: "listitem", "aria-label": `Step ${this.stepNum}${ariaLabel}`, "aria-current": this.stepType == "current" ? "step" : null, class: {
46
+ ["aligned-full-width"]: this.el.parentElement.classList.contains("aligned-full-width"),
47
+ } }, h("div", { class: {
48
+ ["step"]: true,
49
+ [`${this.stepType}`]: true,
50
+ } }, h("div", { class: "step-top" }, h("div", { class: "step-icon" }, icon), finalStep), (this.stepTitle || this.stepSubtitle) && (h("div", { class: "step-title-area" }, this.stepTitle && (h("ic-typography", { variant: "subtitle-large", class: "step-title" }, this.stepTitle)), this.stepSubtitle && (h("ic-typography", { variant: "caption", class: "step-subtitle" }, this.stepSubtitle)))))));
51
+ }
52
+ get el() { return this; }
53
+ static get style() { return icStepCss; }
54
+ }, [1, "ic-step", {
55
+ "stepType": [1, "step-type"],
56
+ "stepTitle": [1, "step-title"],
57
+ "stepSubtitle": [1, "step-subtitle"],
58
+ "stepNum": [2, "step-num"],
59
+ "lastStep": [4, "last-step"]
60
+ }]);
61
+ function defineCustomElement$1() {
62
+ if (typeof customElements === "undefined") {
63
+ return;
64
+ }
65
+ const components = ["ic-step", "ic-typography"];
66
+ components.forEach(tagName => { switch (tagName) {
67
+ case "ic-step":
68
+ if (!customElements.get(tagName)) {
69
+ customElements.define(tagName, Step);
70
+ }
71
+ break;
72
+ case "ic-typography":
73
+ if (!customElements.get(tagName)) {
74
+ defineCustomElement$2();
75
+ }
76
+ break;
77
+ } });
78
+ }
79
+
80
+ const IcStep = Step;
81
+ const defineCustomElement = defineCustomElement$1;
82
+
83
+ export { IcStep, defineCustomElement };
84
+
85
+ //# sourceMappingURL=ic-step.js.map
@@ -0,0 +1 @@
1
+ {"file":"ic-step.js","mappings":";;;;;AAAA,MAAM,SAAS,GAAG,+pEAA+pE;;MCUpqE,IAAI;;;;;oBAKkB,QAAQ;;;;;;EAsBzC,gBAAgB;IACd,gCAAgC,CAC9B;MACE,EAAE,IAAI,EAAE,IAAI,CAAC,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE;MAC5C,EAAE,IAAI,EAAE,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE;KAC/C,EACD,MAAM,CACP,CAAC;GACH;EAED,MAAM;IACJ,IAAI,IAAI,CAAC;IACT,IAAI,IAAI,CAAC,QAAQ,KAAK,WAAW,EAAE;MACjC,IAAI,IACF,qBAAe,OAAO,EAAC,gBAAgB,IACrC,YAAM,KAAK,EAAC,iBAAiB,iBAAa,MAAM,IAC7C,IAAI,CAAC,OAAO,CACR,CACO,CACjB,CAAC;KACH;SAAM;MACL,IAAI,IACF,WAAK,KAAK,EAAC,iBAAiB,iBAAa,MAAM,IAC7C,YAAM,KAAK,EAAC,YAAY,EAAC,SAAS,EAAE,SAAS,GAAS,CAClD,CACP,CAAC;KACH;IAED,IAAI,SAAS,GAAG,EAAE,CAAC;IAEnB,IAAI,IAAI,CAAC,QAAQ,KAAK,WAAW,EAAE;MACjC,SAAS,GAAG,kBAAkB,CAAC;KAChC;SAAM,IAAI,IAAI,CAAC,QAAQ,KAAK,UAAU,EAAE;MACvC,SAAS,GAAG,iBAAiB,CAAC;KAC/B;IAED,MAAM,UAAU,GAAG,IAAI,CAAC,QAAQ,KAAK,SAAS,KAC5C,WAAK,KAAK,EAAC,oBAAoB,GAAO,CACvC,CAAC;IACF,MAAM,SAAS,GAAG,CAAC,IAAI,CAAC,QAAQ,KAC9B,WACE,KAAK,EAAE;QACL,CAAC,cAAc,GAAG,IAAI;QACtB,CAAC,oBAAoB,GACnB,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,oBAAoB,CAAC;OACjE,IAEA,UAAU,CACP,CACP,CAAC;IAEF,QACE,EAAC,IAAI,IACH,IAAI,EAAC,UAAU,gBACH,QAAQ,IAAI,CAAC,OAAO,GAAG,SAAS,EAAE,kBAChC,IAAI,CAAC,QAAQ,IAAI,SAAS,GAAG,MAAM,GAAG,IAAI,EACxD,KAAK,EAAE;QACL,CAAC,oBAAoB,GACnB,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,oBAAoB,CAAC;OACjE,IAED,WACE,KAAK,EAAE;QACL,CAAC,MAAM,GAAG,IAAI;QACd,CAAC,GAAG,IAAI,CAAC,QAAQ,EAAE,GAAG,IAAI;OAC3B,IAED,WAAK,KAAK,EAAC,UAAU,IACnB,WAAK,KAAK,EAAC,WAAW,IAAE,IAAI,CAAO,EAClC,SAAS,CACN,EACL,CAAC,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,YAAY,MACnC,WAAK,KAAK,EAAC,iBAAiB,IACzB,IAAI,CAAC,SAAS,KACb,qBAAe,OAAO,EAAC,gBAAgB,EAAC,KAAK,EAAC,YAAY,IACvD,IAAI,CAAC,SAAS,CACD,CACjB,EACA,IAAI,CAAC,YAAY,KAChB,qBAAe,OAAO,EAAC,SAAS,EAAC,KAAK,EAAC,eAAe,IACnD,IAAI,CAAC,YAAY,CACJ,CACjB,CACG,CACP,CACG,CACD,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/ic-step/ic-step.css?tag=ic-step&encapsulation=shadow","./src/components/ic-step/ic-step.tsx"],"sourcesContent":[":host {\n display: flex;\n flex: auto;\n}\n\n:host(.last-step) {\n flex-grow: initial;\n}\n\n.step {\n display: flex;\n flex-direction: column;\n flex: 1 1 0;\n}\n\n.step-top {\n display: flex;\n width: 100%;\n align-items: center;\n align-self: flex-start;\n height: 40px;\n}\n\n.step-icon {\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n}\n\n.step-icon-inner {\n width: var(--ic-space-xl);\n height: var(--ic-space-xl);\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n}\n\n.current {\n color: var(--ic-theme-primary);\n}\n\n.step-title-area {\n margin: var(--ic-space-xs) 0;\n padding-right: var(--ic-space-xs);\n}\n\n.step-title,\n.step-subtitle {\n width: fit-content;\n}\n\n.step-subtitle {\n color: var(--ic-color-tertiary-text);\n}\n\n.current .step-subtitle {\n color: var(--ic-color-primary-text);\n}\n\n.completed {\n color: var(--ic-status-success);\n}\n\n.active .step-icon-inner {\n box-shadow: inset var(--ic-architectural-200) 0 0 0 2px;\n}\n\n.current .step-icon-inner {\n background-color: var(--ic-theme-primary);\n color: white;\n}\n\n.disabled {\n color: var(--ic-architectural-200);\n}\n\n.disabled .step-icon-inner {\n border: 1px dashed var(--ic-architectural-200);\n width: calc(var(--ic-space-xl) - var(--ic-space-xxxs));\n height: calc(var(--ic-space-xl) - var(--ic-space-xxxs));\n}\n\n.disabled .step-title-area {\n color: var(--ic-color-tertiary-text);\n}\n\n.completed .step-icon-inner {\n background: var(--ic-status-success);\n box-shadow: inset var(--ic-status-success) 0 0 0 var(--ic-space-xxxs);\n border-radius: 100%;\n}\n\n.current .step-icon {\n border: var(--ic-space-xxxs) solid var(--ic-theme-primary);\n padding: var(--ic-space-xxxs);\n margin: 0 calc(-1 * var(--ic-space-xxxs)); /* compensating for the circle being bigger than other steps */\n}\n\n.step-connect {\n height: var(--ic-space-xxxs);\n background-color: var(--ic-architectural-200);\n margin: 0 var(--ic-space-xs);\n border-radius: var(--ic-space-xxs);\n width: 100%;\n}\n\n.aligned-full-width.step-connect {\n min-width: 100px;\n width: 100%;\n}\n\n.disabled .step-connect {\n height: 0;\n background-color: rgb(0 0 0 / 0%);\n border-top: 2px dashed var(--ic-architectural-200);\n border-radius: 0;\n}\n\n.completed .step-connect {\n background-color: var(--ic-status-success);\n}\n\n.step-connect-inner {\n width: 70%;\n display: flex;\n flex: auto;\n height: var(--ic-space-xxxs);\n border-radius: var(--ic-space-xxs);\n background-color: var(--ic-theme-primary);\n}\n\n.check-icon {\n padding-top: var(--ic-space-xxs);\n}\n\n.check-icon svg {\n width: 16px;\n height: 16px;\n}\n\n.check-icon > svg > path {\n fill: white;\n}\n","import { Component, Host, h, Prop, Element } from \"@stencil/core\";\nimport checkIcon from \"../../assets/check-icon.svg\";\nimport { onComponentRequiredPropUndefined } from \"../../utils/helpers\";\nimport { IcStepTypes } from \"./ic-step.types\";\n\n@Component({\n tag: \"ic-step\",\n styleUrl: \"ic-step.css\",\n shadow: true,\n})\nexport class Step {\n @Element() el: HTMLIcStepElement;\n /**\n * State of step\n */\n @Prop() stepType?: IcStepTypes = \"active\";\n\n /**\n * Name of step\n */\n @Prop() stepTitle?: string;\n\n /**\n * Additional information about step\n */\n @Prop() stepSubtitle?: string;\n\n /**\n * @internal The step number, managed by ic-stepper\n */\n @Prop() stepNum!: number;\n\n /**\n * @internal Final step in series flag, managed by ic-stepper\n */\n @Prop() lastStep!: boolean;\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [\n { prop: this.stepNum, propName: \"step-num\" },\n { prop: this.lastStep, propName: \"last-step\" },\n ],\n \"Step\"\n );\n }\n\n render() {\n let icon;\n if (this.stepType !== \"completed\") {\n icon = (\n <ic-typography variant=\"subtitle-small\">\n <span class=\"step-icon-inner\" aria-hidden=\"true\">\n {this.stepNum}\n </span>\n </ic-typography>\n );\n } else {\n icon = (\n <div class=\"step-icon-inner\" aria-hidden=\"true\">\n <span class=\"check-icon\" innerHTML={checkIcon}></span>\n </div>\n );\n }\n\n let ariaLabel = \"\";\n\n if (this.stepType === \"completed\") {\n ariaLabel = \". Completed step\";\n } else if (this.stepType === \"disabled\") {\n ariaLabel = \". Disabled step\";\n }\n\n const partialBar = this.stepType === \"current\" && (\n <div class=\"step-connect-inner\"></div>\n );\n const finalStep = !this.lastStep && (\n <div\n class={{\n [\"step-connect\"]: true,\n [\"aligned-full-width\"]:\n this.el.parentElement.classList.contains(\"aligned-full-width\"),\n }}\n >\n {partialBar}\n </div>\n );\n\n return (\n <Host\n role=\"listitem\"\n aria-label={`Step ${this.stepNum}${ariaLabel}`}\n aria-current={this.stepType == \"current\" ? \"step\" : null}\n class={{\n [\"aligned-full-width\"]:\n this.el.parentElement.classList.contains(\"aligned-full-width\"),\n }}\n >\n <div\n class={{\n [\"step\"]: true,\n [`${this.stepType}`]: true,\n }}\n >\n <div class=\"step-top\">\n <div class=\"step-icon\">{icon}</div>\n {finalStep}\n </div>\n {(this.stepTitle || this.stepSubtitle) && (\n <div class=\"step-title-area\">\n {this.stepTitle && (\n <ic-typography variant=\"subtitle-large\" class=\"step-title\">\n {this.stepTitle}\n </ic-typography>\n )}\n {this.stepSubtitle && (\n <ic-typography variant=\"caption\" class=\"step-subtitle\">\n {this.stepSubtitle}\n </ic-typography>\n )}\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface IcStepper extends Components.IcStepper, HTMLElement {}
4
+ export const IcStepper: {
5
+ prototype: IcStepper;
6
+ new (): IcStepper;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,115 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+ import { c as checkResizeObserver } from './helpers.js';
3
+
4
+ const icStepperCss = ":host{display:flex;width:100%}.step-item-list{display:flex;margin:0;padding:0}:host(.aligned-full-width) .step-item-list{flex:auto}";
5
+
6
+ const IcStepper$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
7
+ constructor() {
8
+ super();
9
+ this.__registerHost();
10
+ this.__attachShadow();
11
+ this.resizeObserver = null;
12
+ /**
13
+ * Get all steps currently within this stepper
14
+ */
15
+ this.getChildren = () => {
16
+ this.steps = Array.from(this.el.querySelectorAll("ic-step"));
17
+ };
18
+ this.initialiseStepStates = () => {
19
+ this.steps.forEach((step, index) => {
20
+ // Assign stepNum to each step
21
+ step.stepNum = index + 1;
22
+ //Assign lastStep to final step
23
+ step.lastStep = index === this.steps.length - 1;
24
+ if (step.lastStep) {
25
+ step.classList.add("last-step");
26
+ if (this.el.classList.contains("aligned-full-width")) {
27
+ step.style.maxWidth = `${this.lastStepWidth}px`;
28
+ }
29
+ if (this.el.classList.contains("aligned-left")) {
30
+ step.style.maxWidth = `${this.connectorWidth + 48}px`;
31
+ }
32
+ }
33
+ });
34
+ for (let i = 0; i < this.steps.length - 1; i++) {
35
+ if (this.el.classList.contains("aligned-full-width")) {
36
+ this.steps[i].style.width = `${(this.stepperWidth - this.lastStepWidth) / (this.steps.length - 1)}px`;
37
+ this.steps[i].style.minWidth = "148px";
38
+ }
39
+ if (this.el.classList.contains("aligned-left")) {
40
+ this.steps[i].style.width = `${this.connectorWidth + 48}px`;
41
+ const stepConnect = this.steps[i].shadowRoot.querySelector("div > .step-top > .step-connect");
42
+ stepConnect.style.width =
43
+ this.connectorWidth > 100 ? `${this.connectorWidth}px` : "100px";
44
+ }
45
+ }
46
+ };
47
+ this.runResizeObserver = () => {
48
+ this.resizeObserver = new ResizeObserver(() => {
49
+ this.setStepperWidth();
50
+ this.getChildren();
51
+ this.initialiseStepStates();
52
+ });
53
+ this.resizeObserver.observe(this.el);
54
+ };
55
+ this.setStepperWidth = () => {
56
+ this.stepperWidth = this.el.offsetWidth;
57
+ const allSteps = document.querySelectorAll("ic-step");
58
+ const lastStep = allSteps[allSteps.length - 1];
59
+ lastStep.style.maxWidth = "none";
60
+ if (lastStep.classList.contains("aligned-full-width")) {
61
+ lastStep.style.maxWidth = `${this.stepperWidth / allSteps.length}px`;
62
+ }
63
+ this.lastStepWidth = lastStep.offsetWidth;
64
+ this.getChildren();
65
+ this.initialiseStepStates();
66
+ };
67
+ this.aligned = "full-width";
68
+ this.connectorWidth = 100;
69
+ this.stepperWidth = document
70
+ .querySelector("ic-stepper")
71
+ .getBoundingClientRect().width;
72
+ this.lastStepWidth = 0;
73
+ }
74
+ componentDidLoad() {
75
+ checkResizeObserver(this.runResizeObserver);
76
+ }
77
+ disconnectedCallback() {
78
+ if (this.resizeObserver !== null) {
79
+ this.resizeObserver.disconnect();
80
+ }
81
+ }
82
+ render() {
83
+ return (h(Host, { class: {
84
+ ["aligned-left"]: this.aligned === "left",
85
+ ["aligned-full-width"]: this.aligned === "full-width",
86
+ } }, h("ul", { class: "step-item-list" }, h("slot", null))));
87
+ }
88
+ get el() { return this; }
89
+ static get style() { return icStepperCss; }
90
+ }, [1, "ic-stepper", {
91
+ "aligned": [1],
92
+ "connectorWidth": [2, "connector-width"],
93
+ "stepperWidth": [32],
94
+ "lastStepWidth": [32]
95
+ }]);
96
+ function defineCustomElement$1() {
97
+ if (typeof customElements === "undefined") {
98
+ return;
99
+ }
100
+ const components = ["ic-stepper"];
101
+ components.forEach(tagName => { switch (tagName) {
102
+ case "ic-stepper":
103
+ if (!customElements.get(tagName)) {
104
+ customElements.define(tagName, IcStepper$1);
105
+ }
106
+ break;
107
+ } });
108
+ }
109
+
110
+ const IcStepper = IcStepper$1;
111
+ const defineCustomElement = defineCustomElement$1;
112
+
113
+ export { IcStepper, defineCustomElement };
114
+
115
+ //# sourceMappingURL=ic-stepper.js.map
@@ -0,0 +1 @@
1
+ {"file":"ic-stepper.js","mappings":";;;AAAA,MAAM,YAAY,GAAG,qIAAqI;;MCS7IA,WAAS;;;;;IAqBZ,mBAAc,GAAmB,IAAI,CAAC;;;;IAKtC,gBAAW,GAAG;MACpB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,SAAS,CAAC,CAAC,CAAC;KAC9D,CAAC;IAEM,yBAAoB,GAAG;MAC7B,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,KAAK;;QAE7B,IAAI,CAAC,OAAO,GAAG,KAAK,GAAG,CAAC,CAAC;;QAEzB,IAAI,CAAC,QAAQ,GAAG,KAAK,KAAK,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC;QAEhD,IAAI,IAAI,CAAC,QAAQ,EAAE;UACjB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;UAChC,IAAI,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,QAAQ,CAAC,oBAAoB,CAAC,EAAE;YACpD,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,GAAG,IAAI,CAAC,aAAa,IAAI,CAAC;WACjD;UACD,IAAI,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE;YAC9C,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,GAAG,IAAI,CAAC,cAAc,GAAG,EAAE,IAAI,CAAC;WACvD;SACF;OACF,CAAC,CAAC;MAEH,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE;QAC9C,IAAI,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,QAAQ,CAAC,oBAAoB,CAAC,EAAE;UACpD,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,GAAG,GAC1B,CAAC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,aAAa,KAAK,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CACnE,IAAI,CAAC;UACL,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC;SACxC;QAED,IAAI,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE;UAC9C,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,GAAG,GAAG,IAAI,CAAC,cAAc,GAAG,EAAE,IAAI,CAAC;UAC5D,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,aAAa,CACxD,iCAAiC,CACnB,CAAC;UACjB,WAAW,CAAC,KAAK,CAAC,KAAK;YACrB,IAAI,CAAC,cAAc,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC,cAAc,IAAI,GAAG,OAAO,CAAC;SACpE;OACF;KACF,CAAC;IAEM,sBAAiB,GAAG;MAC1B,IAAI,CAAC,cAAc,GAAG,IAAI,cAAc,CAAC;QACvC,IAAI,CAAC,eAAe,EAAE,CAAC;QACvB,IAAI,CAAC,WAAW,EAAE,CAAC;QACnB,IAAI,CAAC,oBAAoB,EAAE,CAAC;OAC7B,CAAC,CAAC;MACH,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;KACtC,CAAC;IAEM,oBAAe,GAAG;MACxB,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,EAAE,CAAC,WAAW,CAAC;MACxC,MAAM,QAAQ,GAAG,QAAQ,CAAC,gBAAgB,CAAC,SAAS,CAAC,CAAC;MACtD,MAAM,QAAQ,GAAG,QAAQ,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;MAC/C,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,MAAM,CAAC;MACjC,IAAI,QAAQ,CAAC,SAAS,CAAC,QAAQ,CAAC,oBAAoB,CAAC,EAAE;QACrD,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,GAAG,IAAI,CAAC,YAAY,GAAG,QAAQ,CAAC,MAAM,IAAI,CAAC;OACtE;MACD,IAAI,CAAC,aAAa,GAAG,QAAQ,CAAC,WAAW,CAAC;MAC1C,IAAI,CAAC,WAAW,EAAE,CAAC;MACnB,IAAI,CAAC,oBAAoB,EAAE,CAAC;KAC7B,CAAC;mBAjFqC,YAAY;0BAKjB,GAAG;wBAEL,QAAQ;OACrC,aAAa,CAAC,YAAY,CAAC;OAC3B,qBAAqB,EAAE,CAAC,KAAK;yBAEC,CAAC;;EAwElC,gBAAgB;IACd,mBAAmB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;GAC7C;EAED,oBAAoB;IAClB,IAAI,IAAI,CAAC,cAAc,KAAK,IAAI,EAAE;MAChC,IAAI,CAAC,cAAc,CAAC,UAAU,EAAE,CAAC;KAClC;GACF;EAED,MAAM;IACJ,QACE,EAAC,IAAI,IACH,KAAK,EAAE;QACL,CAAC,cAAc,GAAG,IAAI,CAAC,OAAO,KAAK,MAAM;QACzC,CAAC,oBAAoB,GAAG,IAAI,CAAC,OAAO,KAAK,YAAY;OACtD,IAED,UAAI,KAAK,EAAC,gBAAgB,IACxB,eAAa,CACV,CACA,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["IcStepper"],"sources":["./src/components/ic-stepper/ic-stepper.css?tag=ic-stepper&encapsulation=shadow","./src/components/ic-stepper/ic-stepper.tsx"],"sourcesContent":[":host {\n display: flex;\n width: 100%;\n}\n\n.step-item-list {\n display: flex;\n margin: 0;\n padding: 0;\n}\n\n:host(.aligned-full-width) .step-item-list {\n flex: auto;\n}\n","import { Component, Element, Host, Prop, h, State } from \"@stencil/core\";\nimport { checkResizeObserver } from \"../../utils/helpers\";\nimport { IcStepperAlignment } from \"./ic-stepper.types\";\n\n@Component({\n tag: \"ic-stepper\",\n styleUrl: \"ic-stepper.css\",\n shadow: true,\n})\nexport class IcStepper {\n @Element() el: HTMLIcStepperElement;\n\n /**\n * How the stepper should be aligned in its container.\n */\n @Prop() aligned?: IcStepperAlignment = \"full-width\";\n\n /**\n * The length of the connnector between each step in pixels. Minimum length is 100px.\n */\n @Prop() connectorWidth?: number = 100;\n\n @State() stepperWidth: number = document\n .querySelector(\"ic-stepper\")\n .getBoundingClientRect().width;\n\n @State() lastStepWidth: number = 0;\n\n private steps: HTMLIcStepElement[];\n\n private resizeObserver: ResizeObserver = null;\n\n /**\n * Get all steps currently within this stepper\n */\n private getChildren = (): void => {\n this.steps = Array.from(this.el.querySelectorAll(\"ic-step\"));\n };\n\n private initialiseStepStates = (): void => {\n this.steps.forEach((step, index) => {\n // Assign stepNum to each step\n step.stepNum = index + 1;\n //Assign lastStep to final step\n step.lastStep = index === this.steps.length - 1;\n\n if (step.lastStep) {\n step.classList.add(\"last-step\");\n if (this.el.classList.contains(\"aligned-full-width\")) {\n step.style.maxWidth = `${this.lastStepWidth}px`;\n }\n if (this.el.classList.contains(\"aligned-left\")) {\n step.style.maxWidth = `${this.connectorWidth + 48}px`;\n }\n }\n });\n\n for (let i = 0; i < this.steps.length - 1; i++) {\n if (this.el.classList.contains(\"aligned-full-width\")) {\n this.steps[i].style.width = `${\n (this.stepperWidth - this.lastStepWidth) / (this.steps.length - 1)\n }px`;\n this.steps[i].style.minWidth = \"148px\";\n }\n\n if (this.el.classList.contains(\"aligned-left\")) {\n this.steps[i].style.width = `${this.connectorWidth + 48}px`;\n const stepConnect = this.steps[i].shadowRoot.querySelector(\n \"div > .step-top > .step-connect\"\n ) as HTMLElement;\n stepConnect.style.width =\n this.connectorWidth > 100 ? `${this.connectorWidth}px` : \"100px\";\n }\n }\n };\n\n private runResizeObserver = () => {\n this.resizeObserver = new ResizeObserver(() => {\n this.setStepperWidth();\n this.getChildren();\n this.initialiseStepStates();\n });\n this.resizeObserver.observe(this.el);\n };\n\n private setStepperWidth = (): void => {\n this.stepperWidth = this.el.offsetWidth;\n const allSteps = document.querySelectorAll(\"ic-step\");\n const lastStep = allSteps[allSteps.length - 1];\n lastStep.style.maxWidth = \"none\";\n if (lastStep.classList.contains(\"aligned-full-width\")) {\n lastStep.style.maxWidth = `${this.stepperWidth / allSteps.length}px`;\n }\n this.lastStepWidth = lastStep.offsetWidth;\n this.getChildren();\n this.initialiseStepStates();\n };\n\n componentDidLoad(): void {\n checkResizeObserver(this.runResizeObserver);\n }\n\n disconnectedCallback(): void {\n if (this.resizeObserver !== null) {\n this.resizeObserver.disconnect();\n }\n }\n\n render() {\n return (\n <Host\n class={{\n [\"aligned-left\"]: this.aligned === \"left\",\n [\"aligned-full-width\"]: this.aligned === \"full-width\",\n }}\n >\n <ul class=\"step-item-list\">\n <slot></slot>\n </ul>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface IcSwitch extends Components.IcSwitch, HTMLElement {}
4
+ export const IcSwitch: {
5
+ prototype: IcSwitch;
6
+ new (): IcSwitch;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,102 @@
1
+ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
+ import { a as onComponentRequiredPropUndefined, r as renderHiddenInput, d as getInputDescribedByText } from './helpers.js';
3
+ import { d as defineCustomElement$3 } from './ic-input-label2.js';
4
+ import { d as defineCustomElement$2 } from './ic-typography2.js';
5
+
6
+ const icSwitchCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:inline-block}input{overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}.ic-switch-container{display:flex;flex-wrap:wrap;align-items:center;gap:var(--ic-space-xxs);cursor:pointer}.ic-switch-label{margin-left:var(--ic-space-xxs);margin-bottom:var(--ic-space-sm)}.ic-switch-label-dense{margin-bottom:10px}.ic-switch-toggle{display:flex;align-items:center;justify-content:space-around;width:64px;height:var(--ic-space-xl);position:relative;border-radius:100vw;background-color:var(--ic-architectural-200);border:1px solid var(--ic-architectural-700);box-sizing:border-box;transition:var(--ic-transition-duration-fast)}.ic-switch-line-break{flex:1 0 100%}.ic-switch-checked-status{padding-left:var(--ic-space-xxs)}.ic-switch-toggle::before{content:\"\";width:21.33px;height:21.33px;border-radius:50%;position:absolute;z-index:2;top:50%;left:5.33px;transform:translate(0, -50%);background-color:var(--ic-architectural-700);transition:var(--ic-transition-duration-slow)}.ic-switch-icon{display:inline-block;vertical-align:middle;width:10px;height:10px}.ic-switch-icon-circle,.ic-switch-icon-line{stroke-width:1}.ic-switch-icon-circle{stroke:var(--ic-architectural-700)}.ic-switch-icon-line{stroke:var(--ic-architectural-white)}@media (prefers-reduced-motion: reduce){.ic-switch-toggle::before{transition-duration:0ms}}.ic-switch-input:checked+.ic-switch-toggle{background-color:var(--ic-action-default);border:none}.ic-switch-input:checked+.ic-switch-toggle::before{transform:translate(var(--ic-space-xl), -50%);background-color:var(--ic-architectural-white)}.ic-switch-input:not([disabled])+.ic-switch-toggle:hover::before{box-shadow:0 0 0 12px var(--ic-action-dark-bg-hover)}.ic-switch-input:not([disabled])+.ic-switch-toggle:active::before{box-shadow:0 0 0 12px var(--ic-action-dark-bg-active)}.ic-switch-input:not([disabled]):checked+.ic-switch-toggle:hover::before{box-shadow:0 0 0 12px var(--ic-action-default-bg-hover)}.ic-switch-input:not([disabled]):checked+.ic-switch-toggle:active::before{box-shadow:0 0 0 12px var(--ic-action-default-bg-active)}.ic-switch-input:focus:not([disabled])+.ic-switch-toggle,.ic-switch-input:focus-visible:not([disabled])+.ic-switch-toggle{box-shadow:0 0 0 1px var(--ic-architectural-white),\n 0 0 0 3px var(--ic-action-default),\n 0 0 0 8px var(--ic-action-default-active-alpha)}.ic-switch-disabled{cursor:default}.ic-switch-disabled .ic-switch-icon-circle{stroke:var(--ic-architectural-300)}.ic-switch-disabled .ic-switch-icon-line{stroke:var(--ic-action-default-bg-active)}.ic-switch-input:disabled+.ic-switch-toggle{background-color:var(--ic-architectural-80);border:1px dashed var(--ic-architectural-300)}.ic-switch-input:disabled~.ic-switch-checked-status{color:var(--ic-architectural-300)}.ic-switch-input:disabled+.ic-switch-toggle::before{background-color:var(--ic-architectural-300)}.ic-switch-input:disabled:checked+.ic-switch-toggle{background-color:var(--ic-status-info-background);border:1px dashed #98c9f5}.ic-switch-input:disabled:checked+.ic-switch-toggle::before{background-color:var(--ic-architectural-white)}.ic-switch-dense{gap:var(--ic-space-xxxs)}.ic-switch-dense .ic-switch-checked-status{padding-left:6px}.ic-switch-dense .ic-switch-toggle{width:var(--ic-space-xxl);height:var(--ic-space-lg)}.ic-switch-dense .ic-switch-toggle::before{width:var(--ic-space-md);height:var(--ic-space-md);left:var(--ic-space-xxs)}.ic-switch-dense .ic-switch-input:checked+.ic-switch-toggle::before{transform:translate(var(--ic-space-lg), -50%)}::slotted(*){margin-left:var(--ic-space-sm)}";
7
+
8
+ let inputIds = 0;
9
+ const Switch = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
10
+ constructor() {
11
+ super();
12
+ this.__registerHost();
13
+ this.__attachShadow();
14
+ this.icChange = createEvent(this, "icChange", 7);
15
+ this.icFocus = createEvent(this, "icFocus", 7);
16
+ this.icBlur = createEvent(this, "icBlur", 7);
17
+ this.inputId = `ic-switch-input-${inputIds++}`;
18
+ this.handleChange = () => {
19
+ this.checkedState = !this.checkedState;
20
+ this.icChange.emit({
21
+ checked: this.checkedState,
22
+ value: this.value,
23
+ });
24
+ };
25
+ this.onFocus = () => {
26
+ this.icFocus.emit();
27
+ };
28
+ this.onBlur = () => {
29
+ this.icBlur.emit();
30
+ };
31
+ this.label = undefined;
32
+ this.hideLabel = false;
33
+ this.helperText = "";
34
+ this.checked = null;
35
+ this.dense = false;
36
+ this.disabled = false;
37
+ this.name = this.inputId;
38
+ this.showState = false;
39
+ this.value = "on";
40
+ this.checkedState = false;
41
+ }
42
+ componentDidLoad() {
43
+ onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Switch");
44
+ }
45
+ render() {
46
+ const { label, checked, checkedState, dense, disabled, name, showState, value, hideLabel, helperText, inputId, } = this;
47
+ const internalChecked = checked == null ? checkedState : checked;
48
+ renderHiddenInput(true, this.el, name, internalChecked ? value : "", disabled);
49
+ const describedBy = getInputDescribedByText(inputId, helperText !== "", false);
50
+ return (h(Host, null, h("label", { class: {
51
+ ["ic-switch-container"]: true,
52
+ ["ic-switch-disabled"]: disabled,
53
+ ["ic-switch-dense"]: dense,
54
+ }, htmlFor: inputId }, !hideLabel && (h("ic-input-label", { for: inputId, label: label, helperText: helperText, readonly: true, disabled: disabled, class: {
55
+ ["ic-switch-label"]: true,
56
+ ["ic-switch-label-dense"]: dense,
57
+ } })), !hideLabel && h("span", { class: "ic-switch-line-break" }), h("input", { checked: internalChecked, disabled: disabled, "aria-label": label, "aria-checked": internalChecked ? "true" : "false", "aria-describedby": describedBy, role: "switch", class: "ic-switch-input", type: "checkbox", name: "toggle", id: inputId, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.handleChange }), h("span", { class: "ic-switch-toggle" }, h("svg", { class: "ic-switch-icon", "aria-hidden": "true", focusable: "false", viewBox: "0 0 10 10", xmlns: "http://www.w3.org/2000/svg" }, h("line", { class: "ic-switch-icon-line", x1: "9", y1: dense ? "2" : "1", x2: "9", y2: dense ? "8" : "9" })), h("svg", { class: "ic-switch-icon", "aria-hidden": "true", focusable: "false", viewBox: "0 0 10 10", xmlns: "http://www.w3.org/2000/svg" }, h("circle", { class: "ic-switch-icon-circle", fill: "none", cx: "5", cy: "5", r: dense ? "3.335" : "4.445" }))), h("slot", { name: "right-adornment" }), showState && (h("ic-typography", { "aria-hidden": "true", variant: "label", class: "ic-switch-checked-status" }, internalChecked ? "On" : "Off")))));
58
+ }
59
+ get el() { return this; }
60
+ static get style() { return icSwitchCss; }
61
+ }, [1, "ic-switch", {
62
+ "label": [1],
63
+ "hideLabel": [4, "hide-label"],
64
+ "helperText": [1, "helper-text"],
65
+ "checked": [4],
66
+ "dense": [4],
67
+ "disabled": [4],
68
+ "name": [1],
69
+ "showState": [4, "show-state"],
70
+ "value": [1],
71
+ "checkedState": [32]
72
+ }]);
73
+ function defineCustomElement$1() {
74
+ if (typeof customElements === "undefined") {
75
+ return;
76
+ }
77
+ const components = ["ic-switch", "ic-input-label", "ic-typography"];
78
+ components.forEach(tagName => { switch (tagName) {
79
+ case "ic-switch":
80
+ if (!customElements.get(tagName)) {
81
+ customElements.define(tagName, Switch);
82
+ }
83
+ break;
84
+ case "ic-input-label":
85
+ if (!customElements.get(tagName)) {
86
+ defineCustomElement$3();
87
+ }
88
+ break;
89
+ case "ic-typography":
90
+ if (!customElements.get(tagName)) {
91
+ defineCustomElement$2();
92
+ }
93
+ break;
94
+ } });
95
+ }
96
+
97
+ const IcSwitch = Switch;
98
+ const defineCustomElement = defineCustomElement$1;
99
+
100
+ export { IcSwitch, defineCustomElement };
101
+
102
+ //# sourceMappingURL=ic-switch.js.map
@@ -0,0 +1 @@
1
+ {"file":"ic-switch.js","mappings":"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","names":[],"sources":["./src/components/ic-switch/ic-switch.css?tag=ic-switch&encapsulation=shadow","./src/components/ic-switch/ic-switch.tsx"],"sourcesContent":["@import \"../../global/normalise.css\";\n\n:host {\n display: inline-block;\n}\n\ninput {\n overflow: hidden;\n appearance: none;\n}\n\n.ic-switch-container {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--ic-space-xxs);\n cursor: pointer;\n}\n\n.ic-switch-label {\n margin-left: var(--ic-space-xxs);\n margin-bottom: var(--ic-space-sm);\n}\n\n.ic-switch-label-dense {\n margin-bottom: 10px;\n}\n\n.ic-switch-toggle {\n display: flex;\n align-items: center;\n justify-content: space-around;\n width: 64px;\n height: var(--ic-space-xl);\n position: relative;\n border-radius: 100vw;\n background-color: var(--ic-architectural-200);\n border: 1px solid var(--ic-architectural-700);\n box-sizing: border-box;\n transition: var(--ic-transition-duration-fast);\n}\n\n.ic-switch-line-break {\n flex: 1 0 100%;\n}\n\n.ic-switch-checked-status {\n padding-left: var(--ic-space-xxs);\n}\n\n.ic-switch-toggle::before {\n content: \"\";\n width: 21.33px;\n height: 21.33px;\n border-radius: 50%;\n position: absolute;\n z-index: 2;\n top: 50%;\n left: 5.33px;\n transform: translate(0, -50%);\n background-color: var(--ic-architectural-700);\n transition: var(--ic-transition-duration-slow);\n}\n\n.ic-switch-icon {\n display: inline-block;\n vertical-align: middle;\n width: 10px;\n height: 10px;\n}\n\n.ic-switch-icon-circle,\n.ic-switch-icon-line {\n stroke-width: 1;\n}\n\n.ic-switch-icon-circle {\n stroke: var(--ic-architectural-700);\n}\n\n.ic-switch-icon-line {\n stroke: var(--ic-architectural-white);\n}\n\n@media (prefers-reduced-motion: reduce) {\n .ic-switch-toggle::before {\n transition-duration: 0ms;\n }\n}\n\n.ic-switch-input:checked + .ic-switch-toggle {\n background-color: var(--ic-action-default);\n border: none;\n}\n\n.ic-switch-input:checked + .ic-switch-toggle::before {\n transform: translate(var(--ic-space-xl), -50%);\n background-color: var(--ic-architectural-white);\n}\n\n.ic-switch-input:not([disabled]) + .ic-switch-toggle:hover::before {\n box-shadow: 0 0 0 12px var(--ic-action-dark-bg-hover);\n}\n\n.ic-switch-input:not([disabled]) + .ic-switch-toggle:active::before {\n box-shadow: 0 0 0 12px var(--ic-action-dark-bg-active);\n}\n\n.ic-switch-input:not([disabled]):checked + .ic-switch-toggle:hover::before {\n box-shadow: 0 0 0 12px var(--ic-action-default-bg-hover);\n}\n\n.ic-switch-input:not([disabled]):checked + .ic-switch-toggle:active::before {\n box-shadow: 0 0 0 12px var(--ic-action-default-bg-active);\n}\n\n.ic-switch-input:focus:not([disabled]) + .ic-switch-toggle,\n.ic-switch-input:focus-visible:not([disabled]) + .ic-switch-toggle {\n box-shadow: 0 0 0 1px var(--ic-architectural-white),\n 0 0 0 3px var(--ic-action-default),\n 0 0 0 8px var(--ic-action-default-active-alpha);\n}\n\n.ic-switch-disabled {\n cursor: default;\n}\n\n.ic-switch-disabled .ic-switch-icon-circle {\n stroke: var(--ic-architectural-300);\n}\n\n.ic-switch-disabled .ic-switch-icon-line {\n stroke: var(--ic-action-default-bg-active);\n}\n\n.ic-switch-input:disabled + .ic-switch-toggle {\n background-color: var(--ic-architectural-80);\n border: 1px dashed var(--ic-architectural-300);\n}\n\n.ic-switch-input:disabled ~ .ic-switch-checked-status {\n color: var(--ic-architectural-300);\n}\n\n.ic-switch-input:disabled + .ic-switch-toggle::before {\n background-color: var(--ic-architectural-300);\n}\n\n.ic-switch-input:disabled:checked + .ic-switch-toggle {\n background-color: var(--ic-status-info-background);\n border: 1px dashed #98c9f5;\n}\n\n.ic-switch-input:disabled:checked + .ic-switch-toggle::before {\n background-color: var(--ic-architectural-white);\n}\n\n.ic-switch-dense {\n gap: var(--ic-space-xxxs);\n}\n\n.ic-switch-dense .ic-switch-checked-status {\n padding-left: 6px;\n}\n\n.ic-switch-dense .ic-switch-toggle {\n width: var(--ic-space-xxl);\n height: var(--ic-space-lg);\n}\n\n.ic-switch-dense .ic-switch-toggle::before {\n width: var(--ic-space-md);\n height: var(--ic-space-md);\n left: var(--ic-space-xxs);\n}\n\n.ic-switch-dense .ic-switch-input:checked + .ic-switch-toggle::before {\n transform: translate(var(--ic-space-lg), -50%);\n}\n\n::slotted(*) {\n margin-left: var(--ic-space-sm);\n}\n","import {\n Component,\n Host,\n h,\n Prop,\n State,\n Element,\n Event,\n EventEmitter,\n} from \"@stencil/core\";\nimport {\n getInputDescribedByText,\n onComponentRequiredPropUndefined,\n renderHiddenInput,\n} from \"../../utils/helpers\";\nimport { IcSwitchChangeEventDetail } from \"./ic-switch.types\";\n\nlet inputIds = 0;\n\n/**\n * @slot right-adornment - Content is placed to the right of switch before state label.\n */\n@Component({\n tag: \"ic-switch\",\n styleUrl: \"ic-switch.css\",\n shadow: true,\n})\nexport class Switch {\n private inputId = `ic-switch-input-${inputIds++}`;\n\n @Element() el: HTMLIcSwitchElement;\n\n /**\n * Applies an aria-label to the component, for when no visual 'name' is provided.\n */\n @Prop() label!: string;\n\n /**\n * Hides the label and applies the required label value as an aria-label.\n */\n @Prop() hideLabel?: boolean = false;\n /**\n * Provide helper text to display additional field guidance.\n */\n @Prop() helperText?: string = \"\";\n /**\n * If true, the component is checked, if null the components state will be uncontrolled.\n */\n @Prop() checked?: boolean | null = null;\n /**\n * If true, the component reduces in size to the dense state.\n */\n @Prop() dense?: boolean = false;\n /**\n * If true, the component is not interactive.\n */\n @Prop() disabled?: boolean = false;\n /**\n * The name of the control, which is submitted with the form data.\n */\n @Prop() name?: string = this.inputId;\n /**\n * If true, the component will render the On/Off state text.\n */\n @Prop() showState?: boolean = false;\n\n /**\n * The value of the toggle does not mean if it's checked or not, use the `checked`\n * property for that.\n *\n * The value of a toggle is analogous to the value of a `<input type=\"checkbox\">`,\n * it's only used when the toggle participates in a native `<form>`.\n */\n @Prop() value?: string | null = \"on\";\n\n /**\n * Emitted when the value property has changed.\n */\n @Event() icChange!: EventEmitter<IcSwitchChangeEventDetail>;\n\n /**\n * Emitted when the toggle has focus.\n */\n @Event() icFocus!: EventEmitter<void>;\n\n /**\n * Emitted when the toggle loses focus.\n */\n @Event() icBlur!: EventEmitter<void>;\n\n @State() checkedState: boolean = false;\n\n private handleChange = () => {\n this.checkedState = !this.checkedState;\n this.icChange.emit({\n checked: this.checkedState,\n value: this.value,\n });\n };\n\n private onFocus = () => {\n this.icFocus.emit();\n };\n\n private onBlur = () => {\n this.icBlur.emit();\n };\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.label, propName: \"label\" }],\n \"Switch\"\n );\n }\n\n render() {\n const {\n label,\n checked,\n checkedState,\n dense,\n disabled,\n name,\n showState,\n value,\n hideLabel,\n helperText,\n inputId,\n } = this;\n\n const internalChecked = checked == null ? checkedState : checked;\n\n renderHiddenInput(\n true,\n this.el,\n name,\n internalChecked ? value : \"\",\n disabled\n );\n\n const describedBy = getInputDescribedByText(\n inputId,\n helperText !== \"\",\n false\n );\n\n return (\n <Host>\n <label\n class={{\n [\"ic-switch-container\"]: true,\n [\"ic-switch-disabled\"]: disabled,\n [\"ic-switch-dense\"]: dense,\n }}\n htmlFor={inputId}\n >\n {!hideLabel && (\n <ic-input-label\n for={inputId}\n label={label}\n helperText={helperText}\n readonly={true}\n disabled={disabled}\n class={{\n [\"ic-switch-label\"]: true,\n [\"ic-switch-label-dense\"]: dense,\n }}\n ></ic-input-label>\n )}\n {!hideLabel && <span class=\"ic-switch-line-break\"></span>}\n <input\n checked={internalChecked}\n disabled={disabled}\n aria-label={label}\n aria-checked={internalChecked ? \"true\" : \"false\"}\n aria-describedby={describedBy}\n role=\"switch\"\n class=\"ic-switch-input\"\n type=\"checkbox\"\n name=\"toggle\"\n id={inputId}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n onChange={this.handleChange}\n />\n <span class=\"ic-switch-toggle\">\n <svg\n class=\"ic-switch-icon\"\n aria-hidden=\"true\"\n focusable=\"false\"\n viewBox=\"0 0 10 10\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <line\n class=\"ic-switch-icon-line\"\n x1=\"9\"\n y1={dense ? \"2\" : \"1\"}\n x2=\"9\"\n y2={dense ? \"8\" : \"9\"}\n />\n </svg>\n <svg\n class=\"ic-switch-icon\"\n aria-hidden=\"true\"\n focusable=\"false\"\n viewBox=\"0 0 10 10\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <circle\n class=\"ic-switch-icon-circle\"\n fill=\"none\"\n cx=\"5\"\n cy=\"5\"\n r={dense ? \"3.335\" : \"4.445\"}\n />\n </svg>\n </span>\n <slot name=\"right-adornment\"></slot>\n {showState && (\n <ic-typography\n aria-hidden=\"true\"\n variant=\"label\"\n class=\"ic-switch-checked-status\"\n >\n {internalChecked ? \"On\" : \"Off\"}\n </ic-typography>\n )}\n </label>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface IcTabContext extends Components.IcTabContext, HTMLElement {}
4
+ export const IcTabContext: {
5
+ prototype: IcTabContext;
6
+ new (): IcTabContext;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;