@ukic/web-components 2.1.0-beta.9 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1175) hide show
  1. package/dist/cjs/OpenInNew-f9958725.js +7 -0
  2. package/dist/cjs/OpenInNew-f9958725.js.map +1 -0
  3. package/dist/cjs/chevron-icon-2bb3a907.js +10 -0
  4. package/dist/cjs/chevron-icon-2bb3a907.js.map +1 -0
  5. package/dist/cjs/core.cjs.js +10 -3
  6. package/dist/cjs/core.cjs.js.map +1 -1
  7. package/dist/cjs/{helpers-6eb26e7a.js → helpers-eb53c416.js} +27 -26
  8. package/dist/cjs/helpers-eb53c416.js.map +1 -0
  9. package/dist/cjs/ic-alert.cjs.entry.js +11 -11
  10. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  11. package/dist/cjs/ic-back-to-top.cjs.entry.js +5 -5
  12. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
  13. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +39 -33
  14. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ic-breadcrumb.cjs.entry.js +14 -13
  16. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
  17. package/dist/cjs/ic-button_3.cjs.entry.js +163 -93
  18. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  19. package/dist/cjs/ic-card.cjs.entry.js +46 -45
  20. package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
  21. package/dist/cjs/ic-checkbox-group.cjs.entry.js +24 -23
  22. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-checkbox.cjs.entry.js +41 -29
  24. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ic-chip.cjs.entry.js +18 -15
  26. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ic-classification-banner.cjs.entry.js +1 -1
  28. package/dist/cjs/ic-data-entity.cjs.entry.js +2 -2
  29. package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -1
  30. package/dist/cjs/ic-data-row.cjs.entry.js +38 -24
  31. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  32. package/dist/cjs/ic-dialog.cjs.entry.js +295 -0
  33. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -0
  34. package/dist/cjs/ic-divider.cjs.entry.js +3 -3
  35. package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
  36. package/dist/cjs/ic-footer-link-group.cjs.entry.js +18 -18
  37. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
  38. package/dist/cjs/ic-footer-link.cjs.entry.js +23 -17
  39. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
  40. package/dist/cjs/ic-footer.cjs.entry.js +23 -21
  41. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  42. package/dist/cjs/ic-hero.cjs.entry.js +23 -21
  43. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  44. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +45 -26
  45. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
  46. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +299 -159
  47. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  48. package/dist/cjs/ic-input-label_2.cjs.entry.js +11 -11
  49. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
  50. package/dist/cjs/ic-link.cjs.entry.js +22 -23
  51. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  52. package/dist/cjs/ic-menu-group.cjs.entry.js +24 -0
  53. package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -0
  54. package/dist/cjs/ic-menu-item.cjs.entry.js +122 -0
  55. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -0
  56. package/dist/cjs/ic-navigation-button.cjs.entry.js +18 -18
  57. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
  58. package/dist/cjs/ic-navigation-group.cjs.entry.js +87 -58
  59. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  60. package/dist/cjs/ic-navigation-item.cjs.entry.js +49 -42
  61. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  62. package/dist/cjs/ic-navigation-menu.cjs.entry.js +28 -34
  63. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
  64. package/dist/cjs/ic-page-header.cjs.entry.js +24 -27
  65. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  66. package/dist/cjs/ic-pagination-item.cjs.entry.js +56 -0
  67. package/dist/cjs/ic-pagination-item.cjs.entry.js.map +1 -0
  68. package/dist/cjs/ic-pagination.cjs.entry.js +227 -0
  69. package/dist/cjs/ic-pagination.cjs.entry.js.map +1 -0
  70. package/dist/cjs/ic-popover-menu.cjs.entry.js +237 -0
  71. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -0
  72. package/dist/cjs/ic-radio-group.cjs.entry.js +43 -25
  73. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  74. package/dist/cjs/ic-radio-option.cjs.entry.js +39 -38
  75. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  76. package/dist/cjs/ic-search-bar.cjs.entry.js +178 -102
  77. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  78. package/dist/cjs/ic-section-container.cjs.entry.js +1 -1
  79. package/dist/cjs/ic-select.cjs.entry.js +349 -190
  80. package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
  81. package/dist/cjs/ic-side-navigation.cjs.entry.js +116 -87
  82. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  83. package/dist/cjs/ic-skeleton.cjs.entry.js +4 -4
  84. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
  85. package/dist/cjs/ic-status-tag.cjs.entry.js +6 -6
  86. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  87. package/dist/cjs/ic-step.cjs.entry.js +10 -10
  88. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  89. package/dist/cjs/ic-stepper.cjs.entry.js +15 -15
  90. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  91. package/dist/cjs/ic-switch.cjs.entry.js +20 -19
  92. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  93. package/dist/cjs/ic-tab-context.cjs.entry.js +68 -32
  94. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  95. package/dist/cjs/ic-tab-group.cjs.entry.js +5 -4
  96. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  97. package/dist/cjs/ic-tab-panel.cjs.entry.js +15 -4
  98. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
  99. package/dist/cjs/ic-tab.cjs.entry.js +32 -7
  100. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
  101. package/dist/cjs/ic-text-field.cjs.entry.js +102 -72
  102. package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
  103. package/dist/cjs/ic-theme.cjs.entry.js +2 -2
  104. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
  105. package/dist/cjs/ic-toast-region.cjs.entry.js +13 -13
  106. package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
  107. package/dist/cjs/ic-toast.cjs.entry.js +60 -56
  108. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  109. package/dist/cjs/ic-top-navigation.cjs.entry.js +49 -45
  110. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  111. package/dist/cjs/ic-typography.cjs.entry.js +97 -5
  112. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  113. package/dist/cjs/{index-f79a4e53.js → index-2a0c6769.js} +256 -43
  114. package/dist/cjs/index-2a0c6769.js.map +1 -0
  115. package/dist/cjs/loader.cjs.js +4 -3
  116. package/dist/cjs/loader.cjs.js.map +1 -1
  117. package/dist/cjs/{popper-11d5f714.js → popper-d7adcfc6.js} +10 -17
  118. package/dist/cjs/popper-d7adcfc6.js.map +1 -0
  119. package/dist/cjs/types-3eb02246.js.map +1 -1
  120. package/dist/collection/assets/pagination-first-last.svg +3 -0
  121. package/dist/collection/assets/pagination-next-previous.svg +3 -0
  122. package/dist/collection/collection-manifest.json +17 -11
  123. package/dist/collection/components/ic-alert/ic-alert.css +1 -1
  124. package/dist/collection/components/ic-alert/ic-alert.js +49 -49
  125. package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
  126. package/dist/collection/components/ic-alert/{ic-alert.test.a11y.js → test/a11y/ic-alert.test.a11y.js} +1 -1
  127. package/dist/collection/components/ic-alert/test/a11y/ic-alert.test.a11y.js.map +1 -0
  128. package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js +16 -0
  129. package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js.map +1 -0
  130. package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js +182 -0
  131. package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js.map +1 -0
  132. package/dist/collection/components/ic-back-to-top/ic-back-to-top.css +3 -3
  133. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +4 -4
  134. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js.map +1 -1
  135. package/dist/collection/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.js.map +1 -0
  136. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js +68 -0
  137. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js.map +1 -0
  138. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js +123 -0
  139. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js.map +1 -0
  140. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.css +19 -4
  141. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +28 -27
  142. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
  143. package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js +118 -0
  144. package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js.map +1 -0
  145. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +37 -31
  146. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +1 -1
  147. package/dist/collection/components/ic-breadcrumb-group/{ic-breadcrumb-group.test.a11y.js → test/a11y/ic-breadcrumb-group.test.a11y.js} +1 -1
  148. package/dist/collection/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.js.map +1 -0
  149. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group-test-examples.js.map +1 -0
  150. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.e2e.js +41 -0
  151. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.e2e.js.map +1 -0
  152. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js +181 -0
  153. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js.map +1 -0
  154. package/dist/collection/components/ic-button/ic-button.css +23 -8
  155. package/dist/collection/components/ic-button/ic-button.js +269 -114
  156. package/dist/collection/components/ic-button/ic-button.js.map +1 -1
  157. package/dist/collection/components/ic-button/{ic-button.test.a11y.js → test/a11y/ic-button.test.a11y.js} +1 -1
  158. package/dist/collection/components/ic-button/test/a11y/ic-button.test.a11y.js.map +1 -0
  159. package/dist/collection/components/ic-button/test/basic/ic-button.e2e.js +198 -0
  160. package/dist/collection/components/ic-button/test/basic/ic-button.e2e.js.map +1 -0
  161. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js +256 -0
  162. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js.map +1 -0
  163. package/dist/collection/components/ic-card/ic-card.css +35 -10
  164. package/dist/collection/components/ic-card/ic-card.js +123 -122
  165. package/dist/collection/components/ic-card/ic-card.js.map +1 -1
  166. package/dist/collection/components/ic-card/{ic-card.test.a11y.js → test/a11y/ic-card.test.a11y.js} +1 -1
  167. package/dist/collection/components/ic-card/test/a11y/ic-card.test.a11y.js.map +1 -0
  168. package/dist/collection/components/ic-card/test/basic/ic-card.e2e.js +23 -0
  169. package/dist/collection/components/ic-card/test/basic/ic-card.e2e.js.map +1 -0
  170. package/dist/collection/components/ic-card/test/basic/ic-card.spec.js +152 -0
  171. package/dist/collection/components/ic-card/test/basic/ic-card.spec.js.map +1 -0
  172. package/dist/collection/components/ic-checkbox/ic-checkbox.css +11 -8
  173. package/dist/collection/components/ic-checkbox/ic-checkbox.js +107 -76
  174. package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
  175. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.css +3 -3
  176. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +64 -67
  177. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
  178. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.types.js.map +1 -1
  179. package/dist/collection/components/ic-checkbox-group/{ic-checkbox-group.test.a11y.js → test/a11y/ic-checkbox-group.test.a11y.js} +1 -1
  180. package/dist/collection/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.js.map +1 -0
  181. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.e2e.js +201 -0
  182. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.e2e.js.map +1 -0
  183. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js +175 -0
  184. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js.map +1 -0
  185. package/dist/collection/components/ic-chip/ic-chip.css +11 -10
  186. package/dist/collection/components/ic-chip/ic-chip.js +55 -52
  187. package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
  188. package/dist/collection/components/ic-chip/{ic-chip.test.a11y.js → test/a11y/ic-chip.test.a11y.js} +1 -1
  189. package/dist/collection/components/ic-chip/test/a11y/ic-chip.test.a11y.js.map +1 -0
  190. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js +110 -0
  191. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js.map +1 -0
  192. package/dist/collection/components/ic-classification-banner/{ic-classification-banner.test.a11y.js → test/a11y/ic-classification-banner.test.a11y.js} +1 -1
  193. package/dist/collection/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.js.map +1 -0
  194. package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js +140 -0
  195. package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js.map +1 -0
  196. package/dist/collection/components/ic-data-entity/ic-data-entity.css +1 -1
  197. package/dist/collection/components/ic-data-entity/{ic-data-entity.test.a11y.js → test/a11y/ic-data-entity.test.a11y.js} +1 -1
  198. package/dist/collection/components/ic-data-entity/test/a11y/ic-data-entity.test.a11y.js.map +1 -0
  199. package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js +161 -0
  200. package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js.map +1 -0
  201. package/dist/collection/components/ic-data-row/ic-data-row.css +1 -1
  202. package/dist/collection/components/ic-data-row/ic-data-row.js +51 -37
  203. package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -1
  204. package/dist/collection/components/ic-data-row/{ic-data-row.test.a11y.js → test/a11y/ic-data-row.test.a11y.js} +1 -1
  205. package/dist/collection/components/ic-data-row/test/a11y/ic-data-row.test.a11y.js.map +1 -0
  206. package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js +74 -0
  207. package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js.map +1 -0
  208. package/dist/collection/components/ic-dialog/ic-dialog.css +592 -0
  209. package/dist/collection/components/ic-dialog/ic-dialog.js +640 -0
  210. package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -0
  211. package/dist/collection/components/ic-dialog/test/a11y/ic-dialog.test.a11y.js +28 -0
  212. package/dist/collection/components/ic-dialog/test/a11y/ic-dialog.test.a11y.js.map +1 -0
  213. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js +207 -0
  214. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js.map +1 -0
  215. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js +520 -0
  216. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js.map +1 -0
  217. package/dist/collection/components/ic-divider/ic-divider.css +1 -1
  218. package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js +24 -0
  219. package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js.map +1 -0
  220. package/dist/collection/components/ic-footer/ic-footer.css +2 -2
  221. package/dist/collection/components/ic-footer/ic-footer.js +51 -49
  222. package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
  223. package/dist/collection/components/ic-footer/{ic-footer.test.a11y.js → test/a11y/ic-footer.test.a11y.js} +1 -1
  224. package/dist/collection/components/ic-footer/test/a11y/ic-footer.test.a11y.js.map +1 -0
  225. package/dist/collection/components/ic-footer/test/basic/ic-footer.e2e.js +50 -0
  226. package/dist/collection/components/ic-footer/test/basic/ic-footer.e2e.js.map +1 -0
  227. package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js +140 -0
  228. package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js.map +1 -0
  229. package/dist/collection/components/ic-footer-link/ic-footer-link.css +36 -4
  230. package/dist/collection/components/ic-footer-link/ic-footer-link.js +111 -15
  231. package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -1
  232. package/dist/collection/components/ic-footer-link/{ic-footer-link.test.a11y.js → test/a11y/ic-footer-link.test.a11y.js} +1 -1
  233. package/dist/collection/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.js.map +1 -0
  234. package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js +62 -0
  235. package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js.map +1 -0
  236. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +18 -18
  237. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -1
  238. package/dist/collection/components/ic-footer-link-group/{ic-footer-link-group.test.a11y.js → test/a11y/ic-footer-link-group.test.a11y.js} +1 -1
  239. package/dist/collection/components/ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.js.map +1 -0
  240. package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js +98 -0
  241. package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js.map +1 -0
  242. package/dist/collection/components/ic-hero/ic-hero.css +23 -22
  243. package/dist/collection/components/ic-hero/ic-hero.js +97 -95
  244. package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
  245. package/dist/collection/components/ic-hero/{ic-hero.test.a11y.js → test/a11y/ic-hero.test.a11y.js} +1 -1
  246. package/dist/collection/components/ic-hero/test/a11y/ic-hero.test.a11y.js.map +1 -0
  247. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js +76 -0
  248. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js.map +1 -0
  249. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.css +4 -8
  250. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +44 -25
  251. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -1
  252. package/dist/collection/components/ic-horizontal-scroll/{ic-horizontal-scroll.test.a11y.js → test/a11y/ic-horizontal-scroll.test.a11y.js} +1 -1
  253. package/dist/collection/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.js.map +1 -0
  254. package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js +180 -0
  255. package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js.map +1 -0
  256. package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +38 -9
  257. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +45 -45
  258. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -1
  259. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js +117 -0
  260. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +1 -0
  261. package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js +38 -0
  262. package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js.map +1 -0
  263. package/dist/collection/components/ic-input-label/ic-input-label.css +0 -4
  264. package/dist/collection/components/ic-input-label/ic-input-label.js +51 -51
  265. package/dist/collection/components/ic-input-label/ic-input-label.js.map +1 -1
  266. package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js +98 -0
  267. package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js.map +1 -0
  268. package/dist/collection/components/ic-input-validation/ic-input-validation.css +0 -8
  269. package/dist/collection/components/ic-input-validation/ic-input-validation.js +41 -41
  270. package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +1 -1
  271. package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js +89 -0
  272. package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js.map +1 -0
  273. package/dist/collection/components/ic-link/ic-link.css +16 -3
  274. package/dist/collection/components/ic-link/ic-link.js +55 -52
  275. package/dist/collection/components/ic-link/ic-link.js.map +1 -1
  276. package/dist/collection/components/ic-link/{ic-link.test.a11y.js → test/a11y/ic-link.test.a11y.js} +1 -1
  277. package/dist/collection/components/ic-link/test/a11y/ic-link.test.a11y.js.map +1 -0
  278. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js +203 -0
  279. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js.map +1 -0
  280. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +5 -5
  281. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +97 -89
  282. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
  283. package/dist/collection/components/ic-loading-indicator/{ic-loading-indicator.test.a11y.js → test/a11y/ic-loading-indicator.test.a11y.js} +1 -1
  284. package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js.map +1 -0
  285. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js +34 -0
  286. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js.map +1 -0
  287. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js +141 -0
  288. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js.map +1 -0
  289. package/dist/collection/components/ic-menu/ic-menu.css +47 -10
  290. package/dist/collection/components/ic-menu/ic-menu.js +521 -268
  291. package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
  292. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js +657 -0
  293. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +1 -0
  294. package/dist/collection/components/ic-menu-group/ic-menu-group.css +465 -0
  295. package/dist/collection/components/ic-menu-group/ic-menu-group.js +45 -0
  296. package/dist/collection/components/ic-menu-group/ic-menu-group.js.map +1 -0
  297. package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js +94 -0
  298. package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js.map +1 -0
  299. package/dist/collection/components/ic-menu-item/ic-menu-item.css +628 -0
  300. package/dist/collection/components/ic-menu-item/ic-menu-item.js +394 -0
  301. package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -0
  302. package/dist/collection/components/ic-menu-item/ic-menu-item.types.js +2 -0
  303. package/dist/collection/components/ic-menu-item/ic-menu-item.types.js.map +1 -0
  304. package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js +108 -0
  305. package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js.map +1 -0
  306. package/dist/collection/components/ic-navigation-button/ic-navigation-button.css +4 -0
  307. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +56 -56
  308. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
  309. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js +84 -0
  310. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js.map +1 -0
  311. package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +2 -10
  312. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +101 -72
  313. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
  314. package/dist/collection/components/ic-navigation-group/{ic-navigation-group.test.a11y.js → test/a11y/ic-navigation-group.test.a11y.js} +1 -1
  315. package/dist/collection/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.js.map +1 -0
  316. package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js +309 -0
  317. package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js.map +1 -0
  318. package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +59 -16
  319. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +180 -83
  320. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
  321. package/dist/collection/components/ic-navigation-item/{ic-navigation-item.test.a11y.js → test/a11y/ic-navigation-item.test.a11y.js} +1 -1
  322. package/dist/collection/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.js.map +1 -0
  323. package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js +118 -0
  324. package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js.map +1 -0
  325. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +19 -18
  326. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +31 -37
  327. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -1
  328. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.e2e.js +29 -0
  329. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.e2e.js.map +1 -0
  330. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js +176 -0
  331. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js.map +1 -0
  332. package/dist/collection/components/ic-page-header/ic-page-header.css +3 -1
  333. package/dist/collection/components/ic-page-header/ic-page-header.js +65 -68
  334. package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
  335. package/dist/collection/components/ic-page-header/{ic-page-header.test.a11y.js → test/a11y/ic-page-header.test.a11y.js} +1 -1
  336. package/dist/collection/components/ic-page-header/test/a11y/ic-page-header.test.a11y.js.map +1 -0
  337. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js +177 -0
  338. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js.map +1 -0
  339. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js +284 -0
  340. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js.map +1 -0
  341. package/dist/collection/components/ic-pagination/ic-pagination.css +486 -0
  342. package/dist/collection/components/ic-pagination/ic-pagination.js +498 -0
  343. package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -0
  344. package/dist/collection/components/ic-pagination/ic-pagination.types.js +2 -0
  345. package/dist/collection/components/ic-pagination/ic-pagination.types.js.map +1 -0
  346. package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js +11 -0
  347. package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js.map +1 -0
  348. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js +128 -0
  349. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js.map +1 -0
  350. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js +335 -0
  351. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js.map +1 -0
  352. package/dist/collection/components/ic-pagination-item/ic-pagination-item.css +581 -0
  353. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +229 -0
  354. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js.map +1 -0
  355. package/dist/collection/components/ic-pagination-item/ic-pagination-item.types.js +2 -0
  356. package/dist/collection/components/ic-pagination-item/ic-pagination-item.types.js.map +1 -0
  357. package/dist/collection/components/ic-popover-menu/ic-popover-menu.css +536 -0
  358. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +433 -0
  359. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -0
  360. package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js +13 -0
  361. package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js.map +1 -0
  362. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js +30 -0
  363. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js.map +1 -0
  364. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js +381 -0
  365. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js.map +1 -0
  366. package/dist/collection/components/ic-radio-group/ic-radio-group.css +4 -4
  367. package/dist/collection/components/ic-radio-group/ic-radio-group.js +104 -80
  368. package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
  369. package/dist/collection/components/ic-radio-group/ic-radio-group.types.js +2 -0
  370. package/dist/collection/components/ic-radio-group/ic-radio-group.types.js.map +1 -0
  371. package/dist/collection/components/ic-radio-group/{ic-radio-group.test.a11y.js → test/a11y/ic-radio-group.test.a11y.js} +1 -1
  372. package/dist/collection/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.js.map +1 -0
  373. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js +343 -0
  374. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js.map +1 -0
  375. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js +303 -0
  376. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js.map +1 -0
  377. package/dist/collection/components/ic-radio-option/ic-radio-option.css +6 -6
  378. package/dist/collection/components/ic-radio-option/ic-radio-option.js +111 -96
  379. package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
  380. package/dist/collection/components/ic-search-bar/ic-search-bar.css +6 -10
  381. package/dist/collection/components/ic-search-bar/ic-search-bar.js +492 -299
  382. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
  383. package/dist/collection/components/ic-search-bar/ic-search-bar.types.js.map +1 -1
  384. package/dist/collection/components/ic-search-bar/{ic-search-bar.test.a11y.js → test/a11y/ic-search-bar.test.a11y.js} +1 -1
  385. package/dist/collection/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.js.map +1 -0
  386. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js +1099 -0
  387. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js.map +1 -0
  388. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js +584 -0
  389. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js.map +1 -0
  390. package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js +69 -0
  391. package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js.map +1 -0
  392. package/dist/collection/components/ic-select/ic-select.css +17 -17
  393. package/dist/collection/components/ic-select/ic-select.js +630 -369
  394. package/dist/collection/components/ic-select/ic-select.js.map +1 -1
  395. package/dist/collection/components/ic-select/{ic-select.test.a11y.js → test/a11y/ic-select.test.a11y.js} +1 -1
  396. package/dist/collection/components/ic-select/test/a11y/ic-select.test.a11y.js.map +1 -0
  397. package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js +1768 -0
  398. package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js.map +1 -0
  399. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +1296 -0
  400. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +1 -0
  401. package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +47 -44
  402. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +156 -127
  403. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
  404. package/dist/collection/components/ic-side-navigation/{ic-side-navigation.test.a11y.js → test/a11y/ic-side-navigation.test.a11y.js} +1 -1
  405. package/dist/collection/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.js.map +1 -0
  406. package/dist/collection/components/ic-side-navigation/{ic-side-navigation-test-examples.js → test/basic/ic-side-navigation-test-examples.js} +90 -0
  407. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation-test-examples.js.map +1 -0
  408. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js +412 -0
  409. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js.map +1 -0
  410. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js +470 -0
  411. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js.map +1 -0
  412. package/dist/collection/components/ic-skeleton/ic-skeleton.js +22 -22
  413. package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -1
  414. package/dist/collection/components/ic-skeleton/{ic-skeleton.test.a11y.js → test/a11y/ic-skeleton.test.a11y.js} +1 -1
  415. package/dist/collection/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.js.map +1 -0
  416. package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js +89 -0
  417. package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js.map +1 -0
  418. package/dist/collection/components/ic-status-tag/ic-status-tag.css +10 -13
  419. package/dist/collection/components/ic-status-tag/ic-status-tag.js +40 -40
  420. package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -1
  421. package/dist/collection/components/ic-status-tag/{ic-status-tag.test.a11y.js → test/a11y/ic-status-tag.test.a11y.js} +1 -1
  422. package/dist/collection/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.js.map +1 -0
  423. package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js +43 -0
  424. package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js.map +1 -0
  425. package/dist/collection/components/ic-step/ic-step.css +6 -6
  426. package/dist/collection/components/ic-step/ic-step.js +127 -127
  427. package/dist/collection/components/ic-step/ic-step.js.map +1 -1
  428. package/dist/collection/components/ic-step/test/basic/ic-step.spec.js +176 -0
  429. package/dist/collection/components/ic-step/test/basic/ic-step.spec.js.map +1 -0
  430. package/dist/collection/components/ic-stepper/ic-stepper.js +41 -41
  431. package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
  432. package/dist/collection/components/ic-stepper/{ic-stepper.test.a11y.js → test/a11y/ic-stepper.test.a11y.js} +1 -1
  433. package/dist/collection/components/ic-stepper/test/a11y/ic-stepper.test.a11y.js.map +1 -0
  434. package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js.map +1 -0
  435. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.e2e.js +49 -0
  436. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.e2e.js.map +1 -0
  437. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js +706 -0
  438. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js.map +1 -0
  439. package/dist/collection/components/ic-switch/ic-switch.css +4 -4
  440. package/dist/collection/components/ic-switch/ic-switch.js +74 -73
  441. package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
  442. package/dist/collection/components/ic-switch/{ic-switch.test.a11y.js → test/a11y/ic-switch.test.a11y.js} +1 -1
  443. package/dist/collection/components/ic-switch/test/a11y/ic-switch.test.a11y.js.map +1 -0
  444. package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js +104 -0
  445. package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js.map +1 -0
  446. package/dist/collection/components/ic-tab/ic-tab.css +4 -4
  447. package/dist/collection/components/ic-tab/ic-tab.js +114 -31
  448. package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
  449. package/dist/collection/components/ic-tab/test/basic/ic-tab.e2e.js +32 -0
  450. package/dist/collection/components/ic-tab/test/basic/ic-tab.e2e.js.map +1 -0
  451. package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js +159 -0
  452. package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js.map +1 -0
  453. package/dist/collection/components/ic-tab-context/ic-tab-context.js +157 -77
  454. package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
  455. package/dist/collection/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.js.map +1 -0
  456. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js +317 -0
  457. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js.map +1 -0
  458. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js +390 -0
  459. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js.map +1 -0
  460. package/dist/collection/components/ic-tab-group/ic-tab-group.css +3 -3
  461. package/dist/collection/components/ic-tab-group/ic-tab-group.js +33 -29
  462. package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +1 -1
  463. package/dist/collection/components/ic-tab-panel/ic-tab-panel.css +0 -4
  464. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +89 -34
  465. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -1
  466. package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js +65 -0
  467. package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js.map +1 -0
  468. package/dist/collection/components/ic-text-field/ic-text-field.css +1 -10
  469. package/dist/collection/components/ic-text-field/ic-text-field.js +456 -345
  470. package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
  471. package/dist/collection/components/ic-text-field/test/a11y/ic-text-field.test.a11y.js.map +1 -0
  472. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js +98 -0
  473. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js.map +1 -0
  474. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js +236 -0
  475. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js.map +1 -0
  476. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js +310 -0
  477. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js.map +1 -0
  478. package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
  479. package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js +72 -0
  480. package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js.map +1 -0
  481. package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js +77 -0
  482. package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js.map +1 -0
  483. package/dist/collection/components/ic-toast/ic-toast.css +5 -0
  484. package/dist/collection/components/ic-toast/ic-toast.js +111 -107
  485. package/dist/collection/components/ic-toast/ic-toast.js.map +1 -1
  486. package/dist/collection/components/ic-toast/{ic-toast.test.a11y.js → test/a11y/ic-toast.test.a11y.js} +1 -1
  487. package/dist/collection/components/ic-toast/test/a11y/ic-toast.test.a11y.js.map +1 -0
  488. package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js +82 -0
  489. package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js.map +1 -0
  490. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js +278 -0
  491. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js.map +1 -0
  492. package/dist/collection/components/ic-toast-region/ic-toast-region.js +12 -12
  493. package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +1 -1
  494. package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js +62 -0
  495. package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js.map +1 -0
  496. package/dist/collection/components/ic-tooltip/ic-tooltip.css +22 -8
  497. package/dist/collection/components/ic-tooltip/ic-tooltip.js +116 -64
  498. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
  499. package/dist/collection/components/ic-tooltip/{ic-tooltip.test.a11y.js → test/a11y/ic-tooltip.test.a11y.js} +1 -1
  500. package/dist/collection/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.js.map +1 -0
  501. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js +115 -0
  502. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js.map +1 -0
  503. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js +128 -0
  504. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js.map +1 -0
  505. package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +21 -15
  506. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +105 -83
  507. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
  508. package/dist/collection/components/ic-top-navigation/{ic-top-navigation.test.a11y.js → test/a11y/ic-top-navigation.test.a11y.js} +8 -1
  509. package/dist/collection/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.js.map +1 -0
  510. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.e2e.js +61 -0
  511. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.e2e.js.map +1 -0
  512. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.mobile.e2e.js +242 -0
  513. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.mobile.e2e.js.map +1 -0
  514. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js +299 -0
  515. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js.map +1 -0
  516. package/dist/collection/components/ic-typography/ic-typography.css +58 -1
  517. package/dist/collection/components/ic-typography/ic-typography.js +140 -22
  518. package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
  519. package/dist/collection/components/ic-typography/{ic-typography.test.a11y.js → test/a11y/ic-typography.test.a11y.js} +1 -1
  520. package/dist/collection/components/ic-typography/test/a11y/ic-typography.test.a11y.js.map +1 -0
  521. package/dist/collection/components/ic-typography/test/basic/ic-typography.e2e.js +39 -0
  522. package/dist/collection/components/ic-typography/test/basic/ic-typography.e2e.js.map +1 -0
  523. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js +296 -0
  524. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js.map +1 -0
  525. package/dist/collection/testspec.setup.js +21 -0
  526. package/dist/collection/testspec.setup.js.map +1 -1
  527. package/dist/collection/utils/helpers.js +24 -25
  528. package/dist/collection/utils/helpers.js.map +1 -1
  529. package/dist/collection/utils/types.js.map +1 -1
  530. package/dist/components/OpenInNew.js +5 -0
  531. package/dist/components/OpenInNew.js.map +1 -0
  532. package/dist/components/helpers.js +25 -26
  533. package/dist/components/helpers.js.map +1 -1
  534. package/dist/components/ic-alert.js +1 -113
  535. package/dist/components/ic-alert.js.map +1 -1
  536. package/dist/components/ic-alert2.js +117 -0
  537. package/dist/components/ic-alert2.js.map +1 -0
  538. package/dist/components/ic-back-to-top.js +7 -7
  539. package/dist/components/ic-back-to-top.js.map +1 -1
  540. package/dist/components/ic-breadcrumb-group.js +39 -33
  541. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  542. package/dist/components/ic-breadcrumb2.js +13 -12
  543. package/dist/components/ic-breadcrumb2.js.map +1 -1
  544. package/dist/components/ic-button2.js +99 -44
  545. package/dist/components/ic-button2.js.map +1 -1
  546. package/dist/components/ic-card.js +54 -53
  547. package/dist/components/ic-card.js.map +1 -1
  548. package/dist/components/ic-checkbox-group.js +28 -28
  549. package/dist/components/ic-checkbox-group.js.map +1 -1
  550. package/dist/components/ic-checkbox.js +47 -34
  551. package/dist/components/ic-checkbox.js.map +1 -1
  552. package/dist/components/ic-chip.js +22 -19
  553. package/dist/components/ic-chip.js.map +1 -1
  554. package/dist/components/ic-classification-banner.js +1 -1
  555. package/dist/components/ic-data-entity.js +2 -2
  556. package/dist/components/ic-data-entity.js.map +1 -1
  557. package/dist/components/ic-data-row.js +39 -25
  558. package/dist/components/ic-data-row.js.map +1 -1
  559. package/dist/components/ic-dialog.d.ts +11 -0
  560. package/dist/components/ic-dialog.js +356 -0
  561. package/dist/components/ic-dialog.js.map +1 -0
  562. package/dist/components/ic-divider2.js +3 -3
  563. package/dist/components/ic-divider2.js.map +1 -1
  564. package/dist/components/ic-footer-link-group.js +20 -20
  565. package/dist/components/ic-footer-link-group.js.map +1 -1
  566. package/dist/components/ic-footer-link.js +29 -18
  567. package/dist/components/ic-footer-link.js.map +1 -1
  568. package/dist/components/ic-footer.js +25 -23
  569. package/dist/components/ic-footer.js.map +1 -1
  570. package/dist/components/ic-hero.js +30 -28
  571. package/dist/components/ic-hero.js.map +1 -1
  572. package/dist/components/ic-horizontal-scroll2.js +46 -27
  573. package/dist/components/ic-horizontal-scroll2.js.map +1 -1
  574. package/dist/components/ic-input-component-container2.js +11 -11
  575. package/dist/components/ic-input-component-container2.js.map +1 -1
  576. package/dist/components/ic-input-container2.js +1 -1
  577. package/dist/components/ic-input-label2.js +11 -11
  578. package/dist/components/ic-input-label2.js.map +1 -1
  579. package/dist/components/ic-input-validation2.js +9 -9
  580. package/dist/components/ic-input-validation2.js.map +1 -1
  581. package/dist/components/ic-link2.js +24 -25
  582. package/dist/components/ic-link2.js.map +1 -1
  583. package/dist/components/ic-loading-indicator2.js +34 -26
  584. package/dist/components/ic-loading-indicator2.js.map +1 -1
  585. package/dist/components/ic-menu-group.d.ts +11 -0
  586. package/dist/components/ic-menu-group.js +46 -0
  587. package/dist/components/ic-menu-group.js.map +1 -0
  588. package/dist/components/ic-menu-item.d.ts +11 -0
  589. package/dist/components/ic-menu-item.js +8 -0
  590. package/dist/components/ic-menu-item.js.map +1 -0
  591. package/dist/components/ic-menu-item2.js +169 -0
  592. package/dist/components/ic-menu-item2.js.map +1 -0
  593. package/dist/components/ic-menu2.js +326 -169
  594. package/dist/components/ic-menu2.js.map +1 -1
  595. package/dist/components/ic-navigation-button.js +23 -23
  596. package/dist/components/ic-navigation-button.js.map +1 -1
  597. package/dist/components/ic-navigation-group.js +89 -60
  598. package/dist/components/ic-navigation-group.js.map +1 -1
  599. package/dist/components/ic-navigation-item.js +60 -48
  600. package/dist/components/ic-navigation-item.js.map +1 -1
  601. package/dist/components/ic-navigation-menu2.js +30 -36
  602. package/dist/components/ic-navigation-menu2.js.map +1 -1
  603. package/dist/components/ic-page-header.js +30 -33
  604. package/dist/components/ic-page-header.js.map +1 -1
  605. package/dist/components/ic-pagination-item.d.ts +11 -0
  606. package/dist/components/ic-pagination-item.js +8 -0
  607. package/dist/components/ic-pagination-item.js.map +1 -0
  608. package/dist/components/ic-pagination-item2.js +81 -0
  609. package/dist/components/ic-pagination-item2.js.map +1 -0
  610. package/dist/components/ic-pagination.d.ts +11 -0
  611. package/dist/components/ic-pagination.js +288 -0
  612. package/dist/components/ic-pagination.js.map +1 -0
  613. package/dist/components/ic-popover-menu.d.ts +11 -0
  614. package/dist/components/ic-popover-menu.js +290 -0
  615. package/dist/components/ic-popover-menu.js.map +1 -0
  616. package/dist/components/ic-radio-group.js +48 -30
  617. package/dist/components/ic-radio-group.js.map +1 -1
  618. package/dist/components/ic-radio-option.js +44 -43
  619. package/dist/components/ic-radio-option.js.map +1 -1
  620. package/dist/components/ic-search-bar.js +202 -122
  621. package/dist/components/ic-search-bar.js.map +1 -1
  622. package/dist/components/ic-section-container2.js +1 -1
  623. package/dist/components/ic-select.js +379 -212
  624. package/dist/components/ic-select.js.map +1 -1
  625. package/dist/components/ic-side-navigation.js +123 -94
  626. package/dist/components/ic-side-navigation.js.map +1 -1
  627. package/dist/components/ic-skeleton.js +6 -6
  628. package/dist/components/ic-skeleton.js.map +1 -1
  629. package/dist/components/ic-status-tag.js +9 -9
  630. package/dist/components/ic-status-tag.js.map +1 -1
  631. package/dist/components/ic-step.js +18 -18
  632. package/dist/components/ic-step.js.map +1 -1
  633. package/dist/components/ic-stepper.js +21 -21
  634. package/dist/components/ic-stepper.js.map +1 -1
  635. package/dist/components/ic-switch.js +24 -23
  636. package/dist/components/ic-switch.js.map +1 -1
  637. package/dist/components/ic-tab-context.js +73 -36
  638. package/dist/components/ic-tab-context.js.map +1 -1
  639. package/dist/components/ic-tab-group.js +7 -6
  640. package/dist/components/ic-tab-group.js.map +1 -1
  641. package/dist/components/ic-tab-panel.js +18 -7
  642. package/dist/components/ic-tab-panel.js.map +1 -1
  643. package/dist/components/ic-tab.js +33 -8
  644. package/dist/components/ic-tab.js.map +1 -1
  645. package/dist/components/ic-text-field2.js +132 -97
  646. package/dist/components/ic-text-field2.js.map +1 -1
  647. package/dist/components/ic-theme.js +2 -2
  648. package/dist/components/ic-theme.js.map +1 -1
  649. package/dist/components/ic-toast-region.js +13 -13
  650. package/dist/components/ic-toast-region.js.map +1 -1
  651. package/dist/components/ic-toast.js +65 -61
  652. package/dist/components/ic-toast.js.map +1 -1
  653. package/dist/components/ic-tooltip2.js +1854 -49
  654. package/dist/components/ic-tooltip2.js.map +1 -1
  655. package/dist/components/ic-top-navigation.js +59 -54
  656. package/dist/components/ic-top-navigation.js.map +1 -1
  657. package/dist/components/ic-typography2.js +101 -6
  658. package/dist/components/ic-typography2.js.map +1 -1
  659. package/dist/components/index.d.ts +9 -55
  660. package/dist/components/index.js +1 -53
  661. package/dist/components/index.js.map +1 -1
  662. package/dist/components/types.js.map +1 -1
  663. package/dist/core/core.css +47 -3
  664. package/dist/core/core.esm.js +1 -1
  665. package/dist/core/core.esm.js.map +1 -1
  666. package/dist/core/index.esm.js.map +1 -1
  667. package/dist/core/p-0330cb21.entry.js +2 -0
  668. package/dist/core/p-0330cb21.entry.js.map +1 -0
  669. package/dist/core/p-03d1a4a1.entry.js +2 -0
  670. package/dist/core/p-03d1a4a1.entry.js.map +1 -0
  671. package/dist/core/p-041604fc.entry.js +2 -0
  672. package/dist/core/p-041604fc.entry.js.map +1 -0
  673. package/dist/core/{p-24240e11.js → p-06321d19.js} +2 -2
  674. package/dist/core/p-06321d19.js.map +1 -0
  675. package/dist/core/p-1959ec8d.entry.js +2 -0
  676. package/dist/core/p-1959ec8d.entry.js.map +1 -0
  677. package/dist/core/p-1b9b8355.entry.js +2 -0
  678. package/dist/core/p-1b9b8355.entry.js.map +1 -0
  679. package/dist/core/p-26d5fd0f.entry.js +2 -0
  680. package/dist/core/p-26d5fd0f.entry.js.map +1 -0
  681. package/dist/core/p-27d42378.entry.js +2 -0
  682. package/dist/core/p-27d42378.entry.js.map +1 -0
  683. package/dist/core/p-2ae7687a.entry.js +2 -0
  684. package/dist/core/p-2ae7687a.entry.js.map +1 -0
  685. package/dist/core/p-332690f0.entry.js +2 -0
  686. package/dist/core/p-332690f0.entry.js.map +1 -0
  687. package/dist/core/p-39adc795.entry.js +2 -0
  688. package/dist/core/p-39adc795.entry.js.map +1 -0
  689. package/dist/core/{p-ad2477d8.entry.js → p-3adb1167.entry.js} +2 -2
  690. package/dist/core/p-3adb1167.entry.js.map +1 -0
  691. package/dist/core/p-429e4d24.entry.js +2 -0
  692. package/dist/core/p-429e4d24.entry.js.map +1 -0
  693. package/dist/core/{p-8ffa00c9.entry.js → p-441e7d98.entry.js} +2 -2
  694. package/dist/core/p-441e7d98.entry.js.map +1 -0
  695. package/dist/core/p-44512ebe.js.map +1 -1
  696. package/dist/core/p-48301eff.entry.js +2 -0
  697. package/dist/core/p-48301eff.entry.js.map +1 -0
  698. package/dist/core/p-5144e840.entry.js +2 -0
  699. package/dist/core/p-5144e840.entry.js.map +1 -0
  700. package/dist/core/p-5c846d0a.entry.js +2 -0
  701. package/dist/core/p-5c846d0a.entry.js.map +1 -0
  702. package/dist/core/p-5c9c940f.entry.js +2 -0
  703. package/dist/core/p-5c9c940f.entry.js.map +1 -0
  704. package/dist/core/p-5dd0b02e.js +2 -0
  705. package/dist/core/p-5dd0b02e.js.map +1 -0
  706. package/dist/core/{p-35a03442.entry.js → p-65750560.entry.js} +2 -2
  707. package/dist/core/p-65750560.entry.js.map +1 -0
  708. package/dist/core/p-6840589f.entry.js +2 -0
  709. package/dist/core/p-6840589f.entry.js.map +1 -0
  710. package/dist/core/p-69920d86.js +3 -0
  711. package/dist/core/p-69920d86.js.map +1 -0
  712. package/dist/core/p-6bad30aa.entry.js +2 -0
  713. package/dist/core/p-6bad30aa.entry.js.map +1 -0
  714. package/dist/core/p-6f57b13c.js.map +1 -1
  715. package/dist/core/p-7536dd31.entry.js +2 -0
  716. package/dist/core/p-7536dd31.entry.js.map +1 -0
  717. package/dist/core/p-7ae091ef.entry.js +2 -0
  718. package/dist/core/p-7ae091ef.entry.js.map +1 -0
  719. package/dist/core/p-7c0dcd00.js +2 -0
  720. package/dist/core/p-7c0dcd00.js.map +1 -0
  721. package/dist/core/p-7c46caf2.entry.js +2 -0
  722. package/dist/core/p-7c46caf2.entry.js.map +1 -0
  723. package/dist/core/{p-ba8d6c23.entry.js → p-83d5bcae.entry.js} +2 -2
  724. package/dist/core/p-83d5bcae.entry.js.map +1 -0
  725. package/dist/core/p-892d9d9f.entry.js +2 -0
  726. package/dist/core/p-892d9d9f.entry.js.map +1 -0
  727. package/dist/core/p-8991f656.entry.js +2 -0
  728. package/dist/core/p-8991f656.entry.js.map +1 -0
  729. package/dist/core/p-8c45ab61.entry.js +2 -0
  730. package/dist/core/p-8c45ab61.entry.js.map +1 -0
  731. package/dist/core/p-8c7f4343.js.map +1 -1
  732. package/dist/core/p-8ca80000.entry.js +2 -0
  733. package/dist/core/p-8ca80000.entry.js.map +1 -0
  734. package/dist/core/p-8d4f7027.js +2 -0
  735. package/dist/core/p-8d4f7027.js.map +1 -0
  736. package/dist/core/p-90d3a41b.entry.js +2 -0
  737. package/dist/core/p-90d3a41b.entry.js.map +1 -0
  738. package/dist/core/p-95992c98.entry.js +2 -0
  739. package/dist/core/p-95992c98.entry.js.map +1 -0
  740. package/dist/core/{p-41e239cb.entry.js → p-96b71172.entry.js} +2 -2
  741. package/dist/core/p-96b71172.entry.js.map +1 -0
  742. package/dist/core/{p-d2508752.entry.js → p-96bcd466.entry.js} +2 -2
  743. package/dist/core/p-96bcd466.entry.js.map +1 -0
  744. package/dist/core/p-9e551fe9.entry.js +2 -0
  745. package/dist/core/p-9e551fe9.entry.js.map +1 -0
  746. package/dist/core/{p-7fd50355.entry.js → p-a29fe0c6.entry.js} +2 -2
  747. package/dist/core/p-a29fe0c6.entry.js.map +1 -0
  748. package/dist/core/{p-c4a7c734.entry.js → p-a588886f.entry.js} +2 -2
  749. package/dist/core/p-a588886f.entry.js.map +1 -0
  750. package/dist/core/{p-284970bc.entry.js → p-a8b94619.entry.js} +2 -2
  751. package/dist/core/p-a8b94619.entry.js.map +1 -0
  752. package/dist/core/p-adceb0cf.entry.js +2 -0
  753. package/dist/core/p-adceb0cf.entry.js.map +1 -0
  754. package/dist/core/p-b698b8ad.entry.js +2 -0
  755. package/dist/core/p-b698b8ad.entry.js.map +1 -0
  756. package/dist/core/p-b6c538ea.entry.js +2 -0
  757. package/dist/core/p-b6c538ea.entry.js.map +1 -0
  758. package/dist/core/p-c012b867.entry.js +2 -0
  759. package/dist/core/p-c012b867.entry.js.map +1 -0
  760. package/dist/core/p-c5716cbc.entry.js +2 -0
  761. package/dist/core/p-c5716cbc.entry.js.map +1 -0
  762. package/dist/core/p-ca6d834e.entry.js +2 -0
  763. package/dist/core/p-ca6d834e.entry.js.map +1 -0
  764. package/dist/core/{p-7a9bc7f2.entry.js → p-cbbf4b05.entry.js} +2 -2
  765. package/dist/core/p-cbbf4b05.entry.js.map +1 -0
  766. package/dist/core/p-ce791694.entry.js +2 -0
  767. package/dist/core/p-ce791694.entry.js.map +1 -0
  768. package/dist/core/p-cef93d12.entry.js +2 -0
  769. package/dist/core/p-cef93d12.entry.js.map +1 -0
  770. package/dist/core/p-d2215b72.entry.js +2 -0
  771. package/dist/core/p-d2215b72.entry.js.map +1 -0
  772. package/dist/core/p-e0ee714a.entry.js +2 -0
  773. package/dist/core/p-e0ee714a.entry.js.map +1 -0
  774. package/dist/core/p-e6370b7e.entry.js +2 -0
  775. package/dist/core/p-e6370b7e.entry.js.map +1 -0
  776. package/dist/core/p-ee11e185.entry.js +2 -0
  777. package/dist/core/p-ee11e185.entry.js.map +1 -0
  778. package/dist/core/p-f24814b8.entry.js +2 -0
  779. package/dist/core/p-f24814b8.entry.js.map +1 -0
  780. package/dist/core/p-f665242d.entry.js +2 -0
  781. package/dist/core/p-f665242d.entry.js.map +1 -0
  782. package/dist/core/p-f7695299.entry.js +2 -0
  783. package/dist/core/p-f7695299.entry.js.map +1 -0
  784. package/dist/core/p-f923d11b.entry.js +2 -0
  785. package/dist/core/p-f923d11b.entry.js.map +1 -0
  786. package/dist/esm/OpenInNew-67a881e0.js +5 -0
  787. package/dist/esm/OpenInNew-67a881e0.js.map +1 -0
  788. package/dist/esm/chevron-icon-7927f709.js +8 -0
  789. package/dist/esm/chevron-icon-7927f709.js.map +1 -0
  790. package/dist/esm/core.js +7 -3
  791. package/dist/esm/core.js.map +1 -1
  792. package/dist/esm/{helpers-c332acf8.js → helpers-85903813.js} +26 -27
  793. package/dist/esm/helpers-85903813.js.map +1 -0
  794. package/dist/esm/ic-alert.entry.js +11 -11
  795. package/dist/esm/ic-alert.entry.js.map +1 -1
  796. package/dist/esm/ic-back-to-top.entry.js +5 -5
  797. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  798. package/dist/esm/ic-breadcrumb-group.entry.js +39 -33
  799. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  800. package/dist/esm/ic-breadcrumb.entry.js +14 -13
  801. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  802. package/dist/esm/ic-button_3.entry.js +163 -93
  803. package/dist/esm/ic-button_3.entry.js.map +1 -1
  804. package/dist/esm/ic-card.entry.js +46 -45
  805. package/dist/esm/ic-card.entry.js.map +1 -1
  806. package/dist/esm/ic-checkbox-group.entry.js +24 -23
  807. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  808. package/dist/esm/ic-checkbox.entry.js +41 -29
  809. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  810. package/dist/esm/ic-chip.entry.js +18 -15
  811. package/dist/esm/ic-chip.entry.js.map +1 -1
  812. package/dist/esm/ic-classification-banner.entry.js +1 -1
  813. package/dist/esm/ic-data-entity.entry.js +2 -2
  814. package/dist/esm/ic-data-entity.entry.js.map +1 -1
  815. package/dist/esm/ic-data-row.entry.js +38 -24
  816. package/dist/esm/ic-data-row.entry.js.map +1 -1
  817. package/dist/esm/ic-dialog.entry.js +291 -0
  818. package/dist/esm/ic-dialog.entry.js.map +1 -0
  819. package/dist/esm/ic-divider.entry.js +3 -3
  820. package/dist/esm/ic-divider.entry.js.map +1 -1
  821. package/dist/esm/ic-footer-link-group.entry.js +18 -18
  822. package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
  823. package/dist/esm/ic-footer-link.entry.js +23 -17
  824. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  825. package/dist/esm/ic-footer.entry.js +23 -21
  826. package/dist/esm/ic-footer.entry.js.map +1 -1
  827. package/dist/esm/ic-hero.entry.js +23 -21
  828. package/dist/esm/ic-hero.entry.js.map +1 -1
  829. package/dist/esm/ic-horizontal-scroll.entry.js +45 -26
  830. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
  831. package/dist/esm/ic-input-component-container_3.entry.js +299 -159
  832. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  833. package/dist/esm/ic-input-label_2.entry.js +11 -11
  834. package/dist/esm/ic-input-label_2.entry.js.map +1 -1
  835. package/dist/esm/ic-link.entry.js +22 -23
  836. package/dist/esm/ic-link.entry.js.map +1 -1
  837. package/dist/esm/ic-menu-group.entry.js +20 -0
  838. package/dist/esm/ic-menu-group.entry.js.map +1 -0
  839. package/dist/esm/ic-menu-item.entry.js +118 -0
  840. package/dist/esm/ic-menu-item.entry.js.map +1 -0
  841. package/dist/esm/ic-navigation-button.entry.js +18 -18
  842. package/dist/esm/ic-navigation-button.entry.js.map +1 -1
  843. package/dist/esm/ic-navigation-group.entry.js +87 -58
  844. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  845. package/dist/esm/ic-navigation-item.entry.js +49 -42
  846. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  847. package/dist/esm/ic-navigation-menu.entry.js +28 -34
  848. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  849. package/dist/esm/ic-page-header.entry.js +24 -27
  850. package/dist/esm/ic-page-header.entry.js.map +1 -1
  851. package/dist/esm/ic-pagination-item.entry.js +52 -0
  852. package/dist/esm/ic-pagination-item.entry.js.map +1 -0
  853. package/dist/esm/ic-pagination.entry.js +223 -0
  854. package/dist/esm/ic-pagination.entry.js.map +1 -0
  855. package/dist/esm/ic-popover-menu.entry.js +233 -0
  856. package/dist/esm/ic-popover-menu.entry.js.map +1 -0
  857. package/dist/esm/ic-radio-group.entry.js +43 -25
  858. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  859. package/dist/esm/ic-radio-option.entry.js +39 -38
  860. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  861. package/dist/esm/ic-search-bar.entry.js +178 -102
  862. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  863. package/dist/esm/ic-section-container.entry.js +1 -1
  864. package/dist/esm/ic-select.entry.js +349 -190
  865. package/dist/esm/ic-select.entry.js.map +1 -1
  866. package/dist/esm/ic-side-navigation.entry.js +116 -87
  867. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  868. package/dist/esm/ic-skeleton.entry.js +4 -4
  869. package/dist/esm/ic-skeleton.entry.js.map +1 -1
  870. package/dist/esm/ic-status-tag.entry.js +6 -6
  871. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  872. package/dist/esm/ic-step.entry.js +10 -10
  873. package/dist/esm/ic-step.entry.js.map +1 -1
  874. package/dist/esm/ic-stepper.entry.js +15 -15
  875. package/dist/esm/ic-stepper.entry.js.map +1 -1
  876. package/dist/esm/ic-switch.entry.js +20 -19
  877. package/dist/esm/ic-switch.entry.js.map +1 -1
  878. package/dist/esm/ic-tab-context.entry.js +68 -32
  879. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  880. package/dist/esm/ic-tab-group.entry.js +5 -4
  881. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  882. package/dist/esm/ic-tab-panel.entry.js +15 -4
  883. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  884. package/dist/esm/ic-tab.entry.js +32 -7
  885. package/dist/esm/ic-tab.entry.js.map +1 -1
  886. package/dist/esm/ic-text-field.entry.js +102 -72
  887. package/dist/esm/ic-text-field.entry.js.map +1 -1
  888. package/dist/esm/ic-theme.entry.js +2 -2
  889. package/dist/esm/ic-theme.entry.js.map +1 -1
  890. package/dist/esm/ic-toast-region.entry.js +13 -13
  891. package/dist/esm/ic-toast-region.entry.js.map +1 -1
  892. package/dist/esm/ic-toast.entry.js +60 -56
  893. package/dist/esm/ic-toast.entry.js.map +1 -1
  894. package/dist/esm/ic-top-navigation.entry.js +49 -45
  895. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  896. package/dist/esm/ic-typography.entry.js +97 -5
  897. package/dist/esm/ic-typography.entry.js.map +1 -1
  898. package/dist/esm/{index-90721b3c.js → index-fd30b77e.js} +255 -44
  899. package/dist/esm/index-fd30b77e.js.map +1 -0
  900. package/dist/esm/loader.js +4 -3
  901. package/dist/esm/loader.js.map +1 -1
  902. package/dist/esm/polyfills/css-shim.js +1 -1
  903. package/dist/{components/popper.js → esm/popper-15e448b4.js} +10 -17
  904. package/dist/esm/popper-15e448b4.js.map +1 -0
  905. package/dist/esm/types-dd515332.js.map +1 -1
  906. package/dist/types/components/ic-alert/ic-alert.d.ts +12 -12
  907. package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +8 -8
  908. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +6 -6
  909. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.types.d.ts +1 -1
  910. package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +16 -9
  911. package/dist/types/components/ic-button/ic-button.d.ts +62 -32
  912. package/dist/types/components/ic-button/ic-button.types.d.ts +4 -4
  913. package/dist/types/components/ic-card/ic-card.d.ts +32 -32
  914. package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +29 -23
  915. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +14 -15
  916. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.types.d.ts +5 -0
  917. package/dist/types/components/ic-chip/ic-chip.d.ts +16 -15
  918. package/dist/types/components/ic-chip/ic-chip.types.d.ts +2 -2
  919. package/dist/types/components/ic-classification-banner/ic-classification-banner.types.d.ts +1 -1
  920. package/dist/types/components/ic-data-row/ic-data-row.d.ts +17 -11
  921. package/dist/types/components/ic-dialog/ic-dialog.d.ts +123 -0
  922. package/dist/types/components/ic-footer/ic-footer.d.ts +20 -20
  923. package/dist/types/components/ic-footer/ic-footer.types.d.ts +1 -1
  924. package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +26 -6
  925. package/dist/types/components/ic-footer-link-group/ic-footer-link-group.d.ts +8 -8
  926. package/dist/types/components/ic-hero/ic-hero.d.ts +24 -24
  927. package/dist/types/components/ic-hero/ic-hero.types.d.ts +1 -1
  928. package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.d.ts +15 -14
  929. package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +15 -15
  930. package/dist/types/components/ic-input-label/ic-input-label.d.ts +14 -14
  931. package/dist/types/components/ic-input-validation/ic-input-validation.d.ts +8 -8
  932. package/dist/types/components/ic-input-validation/ic-input-validation.types.d.ts +1 -1
  933. package/dist/types/components/ic-link/ic-link.d.ts +9 -9
  934. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +38 -36
  935. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.types.d.ts +2 -2
  936. package/dist/types/components/ic-menu/ic-menu.d.ts +89 -50
  937. package/dist/types/components/ic-menu-group/ic-menu-group.d.ts +8 -0
  938. package/dist/types/components/ic-menu-item/ic-menu-item.d.ts +74 -0
  939. package/dist/types/components/ic-menu-item/ic-menu-item.types.d.ts +1 -0
  940. package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +21 -21
  941. package/dist/types/components/ic-navigation-button/ic-navigation-button.types.d.ts +1 -1
  942. package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +21 -18
  943. package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +47 -27
  944. package/dist/types/components/ic-navigation-menu/ic-navigation-menu.d.ts +14 -14
  945. package/dist/types/components/ic-page-header/ic-page-header.d.ts +19 -19
  946. package/dist/types/components/ic-pagination/ic-pagination.d.ts +82 -0
  947. package/dist/types/components/ic-pagination/ic-pagination.types.d.ts +4 -0
  948. package/dist/types/components/ic-pagination-item/ic-pagination-item.d.ts +47 -0
  949. package/dist/types/components/ic-pagination-item/ic-pagination-item.types.d.ts +1 -0
  950. package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +59 -0
  951. package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +22 -23
  952. package/dist/types/components/ic-radio-group/ic-radio-group.types.d.ts +7 -0
  953. package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +32 -29
  954. package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +120 -87
  955. package/dist/types/components/ic-search-bar/ic-search-bar.types.d.ts +2 -1
  956. package/dist/types/components/ic-select/ic-select.d.ts +116 -78
  957. package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +30 -24
  958. package/dist/types/components/ic-side-navigation/{ic-side-navigation-test-examples.d.ts → test/basic/ic-side-navigation-test-examples.d.ts} +1 -0
  959. package/dist/types/components/ic-skeleton/ic-skeleton.d.ts +8 -8
  960. package/dist/types/components/ic-skeleton/ic-skeleton.types.d.ts +1 -1
  961. package/dist/types/components/ic-status-tag/ic-status-tag.d.ts +8 -8
  962. package/dist/types/components/ic-status-tag/ic-status-tag.types.d.ts +2 -2
  963. package/dist/types/components/ic-step/ic-step.d.ts +24 -24
  964. package/dist/types/components/ic-step/ic-step.types.d.ts +3 -3
  965. package/dist/types/components/ic-stepper/ic-stepper.d.ts +17 -17
  966. package/dist/types/components/ic-stepper/ic-stepper.types.d.ts +1 -1
  967. package/dist/types/components/ic-switch/ic-switch.d.ts +23 -23
  968. package/dist/types/components/ic-tab/ic-tab.d.ts +25 -8
  969. package/dist/types/components/ic-tab-context/ic-tab-context.d.ts +29 -20
  970. package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +6 -5
  971. package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +27 -7
  972. package/dist/types/components/ic-text-field/ic-text-field.d.ts +110 -91
  973. package/dist/types/components/ic-text-field/ic-text-field.types.d.ts +3 -3
  974. package/dist/types/components/ic-theme/ic-theme.d.ts +1 -1
  975. package/dist/types/components/ic-toast/ic-toast.d.ts +26 -26
  976. package/dist/types/components/ic-toast/ic-toast.types.d.ts +1 -1
  977. package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +3 -3
  978. package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +22 -15
  979. package/dist/types/components/ic-tooltip/ic-tooltip.types.d.ts +1 -1
  980. package/dist/types/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.d.ts +1 -0
  981. package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +36 -32
  982. package/dist/types/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.d.ts +1 -0
  983. package/dist/types/components/ic-typography/ic-typography.d.ts +31 -4
  984. package/dist/types/components/ic-typography/test/a11y/ic-typography.test.a11y.d.ts +1 -0
  985. package/dist/types/components.d.ts +826 -29
  986. package/dist/types/stencil-public-runtime.d.ts +74 -15
  987. package/dist/types/testspec.setup.d.ts +11 -0
  988. package/dist/types/utils/helpers.d.ts +1 -0
  989. package/dist/types/utils/types.d.ts +25 -22
  990. package/hydrate/index.d.ts +17 -16
  991. package/hydrate/index.js +3822 -1955
  992. package/loader/index.d.ts +9 -0
  993. package/package.json +7 -5
  994. package/dist/cjs/chevron-icon-2645d6b0.js +0 -10
  995. package/dist/cjs/chevron-icon-2645d6b0.js.map +0 -1
  996. package/dist/cjs/helpers-6eb26e7a.js.map +0 -1
  997. package/dist/cjs/index-f79a4e53.js.map +0 -1
  998. package/dist/cjs/popper-11d5f714.js.map +0 -1
  999. package/dist/collection/components/ic-alert/ic-alert.test.a11y.js.map +0 -1
  1000. package/dist/collection/components/ic-back-to-top/ic-back-to-top.test.a11y.js.map +0 -1
  1001. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group-test-examples.js.map +0 -1
  1002. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.test.a11y.js.map +0 -1
  1003. package/dist/collection/components/ic-button/ic-button.test.a11y.js.map +0 -1
  1004. package/dist/collection/components/ic-card/ic-card.test.a11y.js.map +0 -1
  1005. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.test.a11y.js.map +0 -1
  1006. package/dist/collection/components/ic-chip/ic-chip.test.a11y.js.map +0 -1
  1007. package/dist/collection/components/ic-classification-banner/ic-classification-banner.test.a11y.js.map +0 -1
  1008. package/dist/collection/components/ic-data-entity/ic-data-entity.test.a11y.js.map +0 -1
  1009. package/dist/collection/components/ic-data-row/ic-data-row.test.a11y.js.map +0 -1
  1010. package/dist/collection/components/ic-footer/ic-footer.test.a11y.js.map +0 -1
  1011. package/dist/collection/components/ic-footer-link/ic-footer-link.test.a11y.js.map +0 -1
  1012. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.test.a11y.js.map +0 -1
  1013. package/dist/collection/components/ic-hero/ic-hero.test.a11y.js.map +0 -1
  1014. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.test.a11y.js.map +0 -1
  1015. package/dist/collection/components/ic-link/ic-link.test.a11y.js.map +0 -1
  1016. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.test.a11y.js.map +0 -1
  1017. package/dist/collection/components/ic-navigation-group/ic-navigation-group.test.a11y.js.map +0 -1
  1018. package/dist/collection/components/ic-navigation-item/ic-navigation-item.test.a11y.js.map +0 -1
  1019. package/dist/collection/components/ic-page-header/ic-page-header.test.a11y.js.map +0 -1
  1020. package/dist/collection/components/ic-radio-group/ic-radio-group.test.a11y.js.map +0 -1
  1021. package/dist/collection/components/ic-search-bar/ic-search-bar.test.a11y.js.map +0 -1
  1022. package/dist/collection/components/ic-select/ic-select.test.a11y.js.map +0 -1
  1023. package/dist/collection/components/ic-side-navigation/ic-side-navigation-test-examples.js.map +0 -1
  1024. package/dist/collection/components/ic-side-navigation/ic-side-navigation.test.a11y.js.map +0 -1
  1025. package/dist/collection/components/ic-skeleton/ic-skeleton.test.a11y.js.map +0 -1
  1026. package/dist/collection/components/ic-status-tag/ic-status-tag.test.a11y.js.map +0 -1
  1027. package/dist/collection/components/ic-stepper/ic-stepper-test-examples.js.map +0 -1
  1028. package/dist/collection/components/ic-stepper/ic-stepper.test.a11y.js.map +0 -1
  1029. package/dist/collection/components/ic-switch/ic-switch.test.a11y.js.map +0 -1
  1030. package/dist/collection/components/ic-tab-context/ic-tab-context.test.a11y.js.map +0 -1
  1031. package/dist/collection/components/ic-text-field/ic-text-field.test.a11y.js.map +0 -1
  1032. package/dist/collection/components/ic-toast/ic-toast.test.a11y.js.map +0 -1
  1033. package/dist/collection/components/ic-tooltip/ic-tooltip.test.a11y.js.map +0 -1
  1034. package/dist/collection/components/ic-top-navigation/ic-top-navigation.test.a11y.js.map +0 -1
  1035. package/dist/collection/components/ic-typography/ic-typography.test.a11y.js.map +0 -1
  1036. package/dist/components/popper.js.map +0 -1
  1037. package/dist/core/p-1724000c.js +0 -2
  1038. package/dist/core/p-1724000c.js.map +0 -1
  1039. package/dist/core/p-17f91c94.entry.js +0 -2
  1040. package/dist/core/p-17f91c94.entry.js.map +0 -1
  1041. package/dist/core/p-18ae4b6d.entry.js +0 -2
  1042. package/dist/core/p-18ae4b6d.entry.js.map +0 -1
  1043. package/dist/core/p-18bf3cb0.entry.js +0 -2
  1044. package/dist/core/p-18bf3cb0.entry.js.map +0 -1
  1045. package/dist/core/p-24240e11.js.map +0 -1
  1046. package/dist/core/p-2642f880.entry.js +0 -2
  1047. package/dist/core/p-2642f880.entry.js.map +0 -1
  1048. package/dist/core/p-284970bc.entry.js.map +0 -1
  1049. package/dist/core/p-31a595c1.entry.js +0 -2
  1050. package/dist/core/p-31a595c1.entry.js.map +0 -1
  1051. package/dist/core/p-35a03442.entry.js.map +0 -1
  1052. package/dist/core/p-360adc51.entry.js +0 -2
  1053. package/dist/core/p-360adc51.entry.js.map +0 -1
  1054. package/dist/core/p-3dda76db.entry.js +0 -2
  1055. package/dist/core/p-3dda76db.entry.js.map +0 -1
  1056. package/dist/core/p-41e239cb.entry.js.map +0 -1
  1057. package/dist/core/p-44c9612c.entry.js +0 -2
  1058. package/dist/core/p-44c9612c.entry.js.map +0 -1
  1059. package/dist/core/p-521be4e2.entry.js +0 -2
  1060. package/dist/core/p-521be4e2.entry.js.map +0 -1
  1061. package/dist/core/p-5450cebf.js +0 -3
  1062. package/dist/core/p-5450cebf.js.map +0 -1
  1063. package/dist/core/p-55512a85.entry.js +0 -2
  1064. package/dist/core/p-55512a85.entry.js.map +0 -1
  1065. package/dist/core/p-560c06af.entry.js +0 -2
  1066. package/dist/core/p-560c06af.entry.js.map +0 -1
  1067. package/dist/core/p-57f2c81c.entry.js +0 -2
  1068. package/dist/core/p-57f2c81c.entry.js.map +0 -1
  1069. package/dist/core/p-5b083ce5.entry.js +0 -2
  1070. package/dist/core/p-5b083ce5.entry.js.map +0 -1
  1071. package/dist/core/p-62b3516e.entry.js +0 -2
  1072. package/dist/core/p-62b3516e.entry.js.map +0 -1
  1073. package/dist/core/p-691ea0f2.entry.js +0 -2
  1074. package/dist/core/p-691ea0f2.entry.js.map +0 -1
  1075. package/dist/core/p-7818d958.entry.js +0 -2
  1076. package/dist/core/p-7818d958.entry.js.map +0 -1
  1077. package/dist/core/p-7a0bf893.entry.js +0 -2
  1078. package/dist/core/p-7a0bf893.entry.js.map +0 -1
  1079. package/dist/core/p-7a9bc7f2.entry.js.map +0 -1
  1080. package/dist/core/p-7fd50355.entry.js.map +0 -1
  1081. package/dist/core/p-897e967a.entry.js +0 -2
  1082. package/dist/core/p-897e967a.entry.js.map +0 -1
  1083. package/dist/core/p-8f1176c6.entry.js +0 -2
  1084. package/dist/core/p-8f1176c6.entry.js.map +0 -1
  1085. package/dist/core/p-8ffa00c9.entry.js.map +0 -1
  1086. package/dist/core/p-91a8db51.entry.js +0 -2
  1087. package/dist/core/p-91a8db51.entry.js.map +0 -1
  1088. package/dist/core/p-a09d853e.entry.js +0 -2
  1089. package/dist/core/p-a09d853e.entry.js.map +0 -1
  1090. package/dist/core/p-a667e329.entry.js +0 -2
  1091. package/dist/core/p-a667e329.entry.js.map +0 -1
  1092. package/dist/core/p-ad2477d8.entry.js.map +0 -1
  1093. package/dist/core/p-b35ae170.entry.js +0 -2
  1094. package/dist/core/p-b35ae170.entry.js.map +0 -1
  1095. package/dist/core/p-b40bd77c.entry.js +0 -2
  1096. package/dist/core/p-b40bd77c.entry.js.map +0 -1
  1097. package/dist/core/p-b4234318.entry.js +0 -2
  1098. package/dist/core/p-b4234318.entry.js.map +0 -1
  1099. package/dist/core/p-ba8d6c23.entry.js.map +0 -1
  1100. package/dist/core/p-bd819f68.entry.js +0 -2
  1101. package/dist/core/p-bd819f68.entry.js.map +0 -1
  1102. package/dist/core/p-c4a7c734.entry.js.map +0 -1
  1103. package/dist/core/p-c72e4b75.entry.js +0 -2
  1104. package/dist/core/p-c72e4b75.entry.js.map +0 -1
  1105. package/dist/core/p-c7b86643.entry.js +0 -2
  1106. package/dist/core/p-c7b86643.entry.js.map +0 -1
  1107. package/dist/core/p-c8f07be6.entry.js +0 -2
  1108. package/dist/core/p-c8f07be6.entry.js.map +0 -1
  1109. package/dist/core/p-c9068822.entry.js +0 -2
  1110. package/dist/core/p-c9068822.entry.js.map +0 -1
  1111. package/dist/core/p-cccbf2bf.entry.js +0 -2
  1112. package/dist/core/p-cccbf2bf.entry.js.map +0 -1
  1113. package/dist/core/p-d2508752.entry.js.map +0 -1
  1114. package/dist/core/p-d7bbace4.entry.js +0 -2
  1115. package/dist/core/p-d7bbace4.entry.js.map +0 -1
  1116. package/dist/core/p-d86b0d0e.entry.js +0 -2
  1117. package/dist/core/p-d86b0d0e.entry.js.map +0 -1
  1118. package/dist/core/p-e0d88c31.entry.js +0 -2
  1119. package/dist/core/p-e0d88c31.entry.js.map +0 -1
  1120. package/dist/core/p-e9202767.entry.js +0 -2
  1121. package/dist/core/p-e9202767.entry.js.map +0 -1
  1122. package/dist/core/p-eba373bf.entry.js +0 -2
  1123. package/dist/core/p-eba373bf.entry.js.map +0 -1
  1124. package/dist/core/p-ec26fc38.js +0 -2
  1125. package/dist/core/p-ec26fc38.js.map +0 -1
  1126. package/dist/core/p-ed6cf9b9.entry.js +0 -2
  1127. package/dist/core/p-ed6cf9b9.entry.js.map +0 -1
  1128. package/dist/esm/chevron-icon-98c98242.js +0 -8
  1129. package/dist/esm/chevron-icon-98c98242.js.map +0 -1
  1130. package/dist/esm/helpers-c332acf8.js.map +0 -1
  1131. package/dist/esm/index-90721b3c.js.map +0 -1
  1132. package/dist/esm/popper-f860750c.js +0 -1801
  1133. package/dist/esm/popper-f860750c.js.map +0 -1
  1134. /package/dist/collection/{components/ic-link/assets → assets}/OpenInNew.svg +0 -0
  1135. /package/dist/collection/components/ic-back-to-top/{ic-back-to-top.test.a11y.js → test/a11y/ic-back-to-top.test.a11y.js} +0 -0
  1136. /package/dist/collection/components/ic-breadcrumb-group/{ic-breadcrumb-group-test-examples.js → test/basic/ic-breadcrumb-group-test-examples.js} +0 -0
  1137. /package/dist/collection/components/ic-stepper/{ic-stepper-test-examples.js → test/basic/ic-stepper-test-examples.js} +0 -0
  1138. /package/dist/collection/components/ic-tab-context/{ic-tab-context.test.a11y.js → test/a11y/ic-tab-context.test.a11y.js} +0 -0
  1139. /package/dist/collection/components/ic-text-field/{ic-text-field.test.a11y.js → test/a11y/ic-text-field.test.a11y.js} +0 -0
  1140. /package/dist/types/components/ic-alert/{ic-alert.test.a11y.d.ts → test/a11y/ic-alert.test.a11y.d.ts} +0 -0
  1141. /package/dist/types/components/ic-back-to-top/{ic-back-to-top.test.a11y.d.ts → test/a11y/ic-back-to-top.test.a11y.d.ts} +0 -0
  1142. /package/dist/types/components/ic-breadcrumb-group/{ic-breadcrumb-group.test.a11y.d.ts → test/a11y/ic-breadcrumb-group.test.a11y.d.ts} +0 -0
  1143. /package/dist/types/components/ic-breadcrumb-group/{ic-breadcrumb-group-test-examples.d.ts → test/basic/ic-breadcrumb-group-test-examples.d.ts} +0 -0
  1144. /package/dist/types/components/ic-button/{ic-button.test.a11y.d.ts → test/a11y/ic-button.test.a11y.d.ts} +0 -0
  1145. /package/dist/types/components/ic-card/{ic-card.test.a11y.d.ts → test/a11y/ic-card.test.a11y.d.ts} +0 -0
  1146. /package/dist/types/components/ic-checkbox-group/{ic-checkbox-group.test.a11y.d.ts → test/a11y/ic-checkbox-group.test.a11y.d.ts} +0 -0
  1147. /package/dist/types/components/ic-chip/{ic-chip.test.a11y.d.ts → test/a11y/ic-chip.test.a11y.d.ts} +0 -0
  1148. /package/dist/types/components/ic-classification-banner/{ic-classification-banner.test.a11y.d.ts → test/a11y/ic-classification-banner.test.a11y.d.ts} +0 -0
  1149. /package/dist/types/components/ic-data-entity/{ic-data-entity.test.a11y.d.ts → test/a11y/ic-data-entity.test.a11y.d.ts} +0 -0
  1150. /package/dist/types/components/ic-data-row/{ic-data-row.test.a11y.d.ts → test/a11y/ic-data-row.test.a11y.d.ts} +0 -0
  1151. /package/dist/types/components/{ic-footer-link-group/ic-footer-link-group.test.a11y.d.ts → ic-dialog/test/a11y/ic-dialog.test.a11y.d.ts} +0 -0
  1152. /package/dist/types/components/{ic-hero/ic-hero.test.a11y.d.ts → ic-footer/test/a11y/ic-footer.test.a11y.d.ts} +0 -0
  1153. /package/dist/types/components/{ic-footer/ic-footer.test.a11y.d.ts → ic-footer-link/test/a11y/ic-footer-link.test.a11y.d.ts} +0 -0
  1154. /package/dist/types/components/{ic-footer-link/ic-footer-link.test.a11y.d.ts → ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.d.ts} +0 -0
  1155. /package/dist/types/components/{ic-horizontal-scroll/ic-horizontal-scroll.test.a11y.d.ts → ic-hero/test/a11y/ic-hero.test.a11y.d.ts} +0 -0
  1156. /package/dist/types/components/{ic-link/ic-link.test.a11y.d.ts → ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.d.ts} +0 -0
  1157. /package/dist/types/components/{ic-loading-indicator/ic-loading-indicator.test.a11y.d.ts → ic-link/test/a11y/ic-link.test.a11y.d.ts} +0 -0
  1158. /package/dist/types/components/{ic-navigation-group/ic-navigation-group.test.a11y.d.ts → ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.d.ts} +0 -0
  1159. /package/dist/types/components/{ic-navigation-item/ic-navigation-item.test.a11y.d.ts → ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.d.ts} +0 -0
  1160. /package/dist/types/components/{ic-page-header/ic-page-header.test.a11y.d.ts → ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.d.ts} +0 -0
  1161. /package/dist/types/components/{ic-radio-group/ic-radio-group.test.a11y.d.ts → ic-page-header/test/a11y/ic-page-header.test.a11y.d.ts} +0 -0
  1162. /package/dist/types/components/{ic-search-bar/ic-search-bar.test.a11y.d.ts → ic-pagination/test/a11y/ic-pagination.test.a11y.d.ts} +0 -0
  1163. /package/dist/types/components/{ic-select/ic-select.test.a11y.d.ts → ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.d.ts} +0 -0
  1164. /package/dist/types/components/{ic-side-navigation/ic-side-navigation.test.a11y.d.ts → ic-radio-group/test/a11y/ic-radio-group.test.a11y.d.ts} +0 -0
  1165. /package/dist/types/components/{ic-skeleton/ic-skeleton.test.a11y.d.ts → ic-search-bar/test/a11y/ic-search-bar.test.a11y.d.ts} +0 -0
  1166. /package/dist/types/components/{ic-status-tag/ic-status-tag.test.a11y.d.ts → ic-select/test/a11y/ic-select.test.a11y.d.ts} +0 -0
  1167. /package/dist/types/components/{ic-stepper/ic-stepper.test.a11y.d.ts → ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.d.ts} +0 -0
  1168. /package/dist/types/components/{ic-switch/ic-switch.test.a11y.d.ts → ic-skeleton/test/a11y/ic-skeleton.test.a11y.d.ts} +0 -0
  1169. /package/dist/types/components/{ic-tab-context/ic-tab-context.test.a11y.d.ts → ic-status-tag/test/a11y/ic-status-tag.test.a11y.d.ts} +0 -0
  1170. /package/dist/types/components/{ic-text-field/ic-text-field.test.a11y.d.ts → ic-stepper/test/a11y/ic-stepper.test.a11y.d.ts} +0 -0
  1171. /package/dist/types/components/ic-stepper/{ic-stepper-test-examples.d.ts → test/basic/ic-stepper-test-examples.d.ts} +0 -0
  1172. /package/dist/types/components/{ic-toast/ic-toast.test.a11y.d.ts → ic-switch/test/a11y/ic-switch.test.a11y.d.ts} +0 -0
  1173. /package/dist/types/components/{ic-tooltip/ic-tooltip.test.a11y.d.ts → ic-tab-context/test/a11y/ic-tab-context.test.a11y.d.ts} +0 -0
  1174. /package/dist/types/components/{ic-top-navigation/ic-top-navigation.test.a11y.d.ts → ic-text-field/test/a11y/ic-text-field.test.a11y.d.ts} +0 -0
  1175. /package/dist/types/components/{ic-typography/ic-typography.test.a11y.d.ts → ic-toast/test/a11y/ic-toast.test.a11y.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
- import { b as getThemeFromContext, a as onComponentRequiredPropUndefined, i as isSlotUsed } from './helpers.js';
2
+ import { r as removeDisabledFalse, o as onComponentRequiredPropUndefined, g as getThemeFromContext, i as isSlotUsed } from './helpers.js';
3
3
  import { I as IcThemeForegroundEnum } from './types.js';
4
4
  import { c as chevronIcon } from './chevron-icon.js';
5
5
  import { d as defineCustomElement$5 } from './ic-button2.js';
@@ -7,9 +7,9 @@ import { d as defineCustomElement$4 } from './ic-loading-indicator2.js';
7
7
  import { d as defineCustomElement$3 } from './ic-tooltip2.js';
8
8
  import { d as defineCustomElement$2 } from './ic-typography2.js';
9
9
 
10
- const icCardCss = "/*! 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:flex}a{text-decoration:none !important;color:var(--ic-architechtural-black) !important}button{border:none;background-color:transparent;outline:var(--ic-hc-focus-outline)}.card,.card.clickable{border:0.063rem solid var(--ic-architectural-300);border-radius:var(--ic-border-radius);box-sizing:border-box;padding:var(--ic-space-md);text-align:left;color:var(--ic-architechtural-black);transition:var(--ic-easing-transition-fast)}.dark.card,.dark.card.clickable{border:0.063rem solid var(--ic-architectural-700)}.card.clickable:hover{background-color:var(--ic-action-default-bg-hover);border-color:var(--ic-action-default-hover);cursor:pointer}.card.clickable:focus,.card.clickable.focussed{background-color:var(--ic-action-default-bg-hover);box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline)}.card.clickable:active{background-color:var(--ic-action-default-bg-active);box-shadow:var(--ic-border-focus)}.card.disabled{border:var(--ic-border-disabled)}.card.fullwidth,:host([full-width=\"true\"]){width:100%}.card-header{display:flex;align-items:center}.icon{display:flex;align-items:center;padding-right:var(--ic-space-xs)}.card.disabled ::slotted(svg){fill:var(--ic-color-tertiary-text)}.card.clickable .card-title{color:var(--ic-hyperlink);text-decoration:underline;text-decoration-thickness:0.063rem}.card.clickable:hover .card-title,.card.clickable:focus .card-title,.card.clickable.focussed .card-title{text-decoration-thickness:25%;text-underline-offset:25%}.card.clickable:active .card-title{text-decoration:none}.card.disabled .card-title{text-decoration:underline;text-decoration-thickness:0.063rem;text-decoration-color:var(--ic-color-tertiary-text);color:var(--ic-color-tertiary-text)}.subheading{margin-top:var(--ic-space-xxs)}.adornment{margin-top:var(--ic-space-xxs)}.card-message{margin-top:var(--ic-space-md);align-items:left}.card.disabled .card-message,.card.disabled .subheading{color:var(--ic-color-tertiary-text)}.interaction-button{margin-left:auto}.image-top{margin-bottom:var(--ic-space-md);display:flex;justify-content:center}.image-mid{margin-top:var(--ic-space-md);display:flex;justify-content:center}.interaction-controls{margin-top:var(--ic-space-md);display:flex;align-items:center}.toggle-button{margin-left:auto}.toggle-button-closed svg{transform:rotate(90deg)}.toggle-button-expanded svg{transform:rotate(-90deg)}.expanded-content{margin-top:var(--ic-space-md)}";
10
+ const icCardCss = "/*! 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:flex}a{text-decoration:none !important;color:var(--ic-architechtural-black) !important}button{border:none;background-color:transparent;outline:var(--ic-hc-focus-outline)}.card,.card.clickable{display:flex;flex-direction:column;border:var(--ic-border-default);border-radius:var(--ic-border-radius);box-sizing:border-box;padding:var(--ic-space-md);text-align:left;color:var(--ic-architechtural-black);transition:var(--ic-easing-transition-fast)}.dark.card,.dark.card.clickable{border:var(--ic-space-1px) solid var(--ic-architectural-700)}.card.clickable:hover{background-color:var(--ic-action-default-bg-hover);border:var(--ic-border-hover);cursor:pointer}.card.clickable:focus,.card.clickable.focussed{background-color:var(--ic-action-default-bg-hover);box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline);border:var(--ic-border-pressed)}.card.clickable:active{background-color:var(--ic-action-default-bg-active);box-shadow:var(--ic-border-focus)}.card.disabled{border:var(--ic-border-disabled)}.card.fullwidth{width:100%}.card-header{display:flex;align-items:center}.icon{display:flex;align-items:center;padding-right:var(--ic-space-xs)}.card.disabled ::slotted(svg){fill:var(--ic-color-tertiary-text)}.card.clickable .card-title{color:var(--ic-hyperlink);text-decoration:underline;text-decoration-thickness:var(--ic-space-1px)}.card.clickable:hover .card-title,.card.clickable:focus .card-title,.card.clickable.focussed .card-title{display:inline-block;border-bottom:0.25rem solid !important;margin-bottom:-0.25rem !important;text-decoration:none}@supports (text-decoration-thickness: 25%){.card.clickable:hover .card-title,.card.clickable:focus .card-title,.card.clickable.focussed .card-title{text-decoration-line:underline;text-decoration-thickness:25%;text-underline-offset:25%;border-bottom:0 !important;margin-bottom:0 !important}}.card.clickable:active .card-title{text-decoration:none}.card.disabled .card-title{text-decoration:underline;text-decoration-thickness:var(--ic-space-1px);text-decoration-color:var(--ic-color-tertiary-text);color:var(--ic-color-tertiary-text)}.subheading{margin-top:var(--ic-space-xxs)}.adornment{margin-top:var(--ic-space-xxs)}.card-message{margin-top:var(--ic-space-md);align-items:left}.card.disabled .card-message,.card.disabled .subheading{color:var(--ic-color-tertiary-text)}.interaction-button{margin-left:auto}.image-top{margin-bottom:var(--ic-space-md);display:flex;justify-content:center}.image-mid{margin-top:var(--ic-space-md);display:flex;justify-content:center}.interaction-area{display:flex;flex-grow:1;gap:var(--ic-space-md);margin-top:var(--ic-space-md);align-items:flex-end}.interaction-controls{display:flex;align-items:center;flex-wrap:wrap;gap:var(--ic-space-sm)}.toggle-button{margin-left:auto}.toggle-button-closed svg{transform:rotate(90deg)}.toggle-button-expanded svg{transform:rotate(-90deg)}.expanded-content{margin-top:var(--ic-space-md)}";
11
11
 
12
- const Card = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
12
+ const Card = /*@__PURE__*/ proxyCustomElement(class Card extends HTMLElement {
13
13
  constructor() {
14
14
  super();
15
15
  this.__registerHost();
@@ -23,34 +23,44 @@ const Card = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
23
23
  this.toggleExpanded = () => {
24
24
  this.areaExpanded = !this.areaExpanded;
25
25
  };
26
+ this.appearance = "default";
27
+ this.areaExpanded = false;
28
+ this.isFocussed = false;
29
+ this.parentEl = null;
30
+ this.parentIsAnchorTag = false;
26
31
  this.clickable = false;
32
+ this.disabled = false;
33
+ this.expandable = false;
34
+ this.fullWidth = false;
35
+ this.heading = undefined;
27
36
  this.href = undefined;
28
37
  this.hreflang = "";
38
+ this.message = "";
29
39
  this.referrerpolicy = undefined;
30
40
  this.rel = undefined;
31
- this.target = undefined;
32
- this.heading = undefined;
33
41
  this.subheading = undefined;
34
- this.message = "";
35
- this.disabled = false;
36
- this.fullWidth = false;
37
- this.expandable = false;
38
- this.parentIsAnchorTag = false;
39
- this.isFocussed = false;
40
- this.parentEl = null;
41
- this.appearance = "default";
42
- this.areaExpanded = false;
42
+ this.target = undefined;
43
43
  }
44
- /**
45
- * Sets focus on the card.
46
- */
47
- async setFocus() {
48
- if (this.el.shadowRoot.querySelector("a")) {
49
- this.el.shadowRoot.querySelector("a").focus();
44
+ disconnectedCallback() {
45
+ if (this.parentIsAnchorTag) {
46
+ this.parentEl.removeEventListener("focus", this.parentFocussed);
47
+ this.parentEl.removeEventListener("blur", this.parentBlurred);
50
48
  }
51
- else if (this.el.shadowRoot.querySelector("button")) {
52
- this.el.shadowRoot.querySelector("button").focus();
49
+ }
50
+ componentWillLoad() {
51
+ this.parentEl = this.el.parentElement;
52
+ if (this.parentEl.tagName === "A") {
53
+ this.clickable = true;
54
+ this.parentIsAnchorTag = true;
55
+ this.parentEl.classList.add("ic-card-wrapper-link");
56
+ this.parentEl.addEventListener("focus", this.parentFocussed);
57
+ this.parentEl.addEventListener("blur", this.parentBlurred);
53
58
  }
59
+ removeDisabledFalse(this.disabled, this.el);
60
+ }
61
+ componentDidLoad() {
62
+ onComponentRequiredPropUndefined([{ prop: this.heading, propName: "heading" }], "Card");
63
+ this.updateTheme();
54
64
  }
55
65
  handleHostClick(event) {
56
66
  if (this.disabled) {
@@ -61,32 +71,23 @@ const Card = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
61
71
  const theme = ev.detail;
62
72
  this.updateTheme(theme.mode);
63
73
  }
74
+ /**
75
+ * Sets focus on the card.
76
+ */
77
+ async setFocus() {
78
+ if (this.el.shadowRoot.querySelector("a")) {
79
+ this.el.shadowRoot.querySelector("a").focus();
80
+ }
81
+ else if (this.el.shadowRoot.querySelector("button")) {
82
+ this.el.shadowRoot.querySelector("button").focus();
83
+ }
84
+ }
64
85
  updateTheme(newTheme = null) {
65
86
  const foregroundColor = getThemeFromContext(this.el, newTheme || null);
66
87
  if (foregroundColor !== IcThemeForegroundEnum.Default) {
67
88
  this.appearance = foregroundColor;
68
89
  }
69
90
  }
70
- componentWillLoad() {
71
- this.parentEl = this.el.parentElement;
72
- if (this.parentEl.tagName === "A") {
73
- this.clickable = true;
74
- this.parentIsAnchorTag = true;
75
- this.parentEl.classList.add("ic-card-wrapper-link");
76
- this.parentEl.addEventListener("focus", this.parentFocussed);
77
- this.parentEl.addEventListener("blur", this.parentBlurred);
78
- }
79
- }
80
- disconnectedCallback() {
81
- if (this.parentIsAnchorTag) {
82
- this.parentEl.removeEventListener("focus", this.parentFocussed);
83
- this.parentEl.removeEventListener("blur", this.parentBlurred);
84
- }
85
- }
86
- componentDidLoad() {
87
- onComponentRequiredPropUndefined([{ prop: this.heading, propName: "heading" }], "Card");
88
- this.updateTheme();
89
- }
90
91
  render() {
91
92
  const { clickable, disabled, expandable, heading, message, href, hreflang, referrerpolicy, rel, subheading, target, fullWidth, parentIsAnchorTag, isFocussed, } = this;
92
93
  const Component = parentIsAnchorTag
@@ -112,32 +113,32 @@ const Card = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
112
113
  ["dark"]: this.appearance === IcThemeForegroundEnum.Dark,
113
114
  }, tabindex: clickable && !parentIsAnchorTag ? 0 : null, "aria-disabled": disabled ? "true" : null, disabled: disabled ? true : null }, attrs), isSlotUsed(this.el, "image-top") && (h("div", { class: "image-top" }, h("slot", { name: "image-top" }))), h("div", { class: "card-header" }, isSlotUsed(this.el, "icon") && (h("div", { class: "icon" }, h("slot", { name: "icon" }))), h("div", { class: "card-title" }, h("slot", { name: "heading" }, h("ic-typography", { variant: "h4" }, h("p", null, heading)))), isSlotUsed(this.el, "interaction-button") && (h("div", { class: "interaction-button" }, h("slot", { name: "interaction-button" })))), (subheading || isSlotUsed(this.el, "subheading")) && (h("div", { class: "subheading" }, h("slot", { name: "subheading" }, h("ic-typography", { variant: "subtitle-small" }, subheading)))), isSlotUsed(this.el, "adornment") && (h("div", { class: "adornment" }, h("slot", { name: "adornment" }))), isSlotUsed(this.el, "image-mid") && (h("div", { class: "image-mid" }, h("slot", { name: "image-mid" }))), (message || isSlotUsed(this.el, "message")) && (h("div", { class: {
114
115
  ["card-message"]: true,
115
- } }, h("slot", { name: "message" }, h("ic-typography", { variant: "body" }, message)))), (isSlotUsed(this.el, "interaction-controls") || expandable) && (h("div", { class: "interaction-controls" }, h("slot", { name: "interaction-controls" }), expandable && (h("ic-button", { class: {
116
+ } }, message && h("ic-typography", { variant: "body" }, message), isSlotUsed(this.el, "message") && h("slot", { name: "message" }))), (isSlotUsed(this.el, "interaction-controls") || expandable) && (h("div", { class: "interaction-area" }, h("div", { class: "interaction-controls" }, h("slot", { name: "interaction-controls" })), expandable && (h("ic-button", { class: {
116
117
  ["toggle-button"]: true,
117
118
  ["toggle-button-closed"]: !this.areaExpanded,
118
119
  ["toggle-button-expanded"]: this.areaExpanded,
119
- }, variant: "icon", disableTooltip: true, "aria-label": "Toggle expandable area", "aria-expanded": this.areaExpanded, "aria-controls": "expanded-content-area", onClick: this.toggleExpanded, innerHTML: chevronIcon })))), isSlotUsed(this.el, "expanded-content") && this.areaExpanded && (h("div", { class: "expanded-content", id: "expanded-content-area" }, h("slot", { name: "expanded-content" })))));
120
+ }, variant: "icon", size: "large", disableTooltip: true, "aria-label": "Toggle expandable area", "aria-expanded": this.areaExpanded, "aria-controls": "expanded-content-area", onClick: this.toggleExpanded, innerHTML: chevronIcon })))), isSlotUsed(this.el, "expanded-content") && this.areaExpanded && (h("div", { class: "expanded-content", id: "expanded-content-area" }, h("slot", { name: "expanded-content" })))));
120
121
  }
121
122
  get el() { return this; }
122
123
  static get style() { return icCardCss; }
123
124
  }, [1, "ic-card", {
124
125
  "clickable": [1028],
126
+ "disabled": [4],
127
+ "expandable": [4],
128
+ "fullWidth": [4, "full-width"],
129
+ "heading": [1],
125
130
  "href": [1],
126
131
  "hreflang": [1],
132
+ "message": [1],
127
133
  "referrerpolicy": [1],
128
134
  "rel": [1],
129
- "target": [1],
130
- "heading": [1],
131
135
  "subheading": [1],
132
- "message": [1],
133
- "disabled": [4],
134
- "fullWidth": [4, "full-width"],
135
- "expandable": [4],
136
- "parentIsAnchorTag": [32],
137
- "isFocussed": [32],
138
- "parentEl": [32],
136
+ "target": [1],
139
137
  "appearance": [32],
140
138
  "areaExpanded": [32],
139
+ "isFocussed": [32],
140
+ "parentEl": [32],
141
+ "parentIsAnchorTag": [32],
141
142
  "setFocus": [64]
142
143
  }, [[2, "click", "handleHostClick"], [4, "themeChange", "themeChangeHandler"]]]);
143
144
  function defineCustomElement$1() {
@@ -1 +1 @@
1
- {"file":"ic-card.js","mappings":";;;;;;;;;AAAA,MAAM,SAAS,GAAG,uvJAAuvJ;;MCsC5vJ,IAAI;;;;;IAuFP,mBAAc,GAAG;MACvB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;KACxB,CAAC;IAEM,kBAAa,GAAG;MACtB,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;KACzB,CAAC;IAUM,mBAAc,GAAG;MACvB,IAAI,CAAC,YAAY,GAAG,CAAC,IAAI,CAAC,YAAY,CAAC;KACxC,CAAC;qBAnG6C,KAAK;;oBAQxB,EAAE;;;;;;mBAwBH,EAAE;oBAIA,KAAK;qBAIJ,KAAK;sBAIJ,KAAK;6BAEE,KAAK;sBAEZ,KAAK;oBAEI,IAAI;sBAEF,SAAS;wBAElB,KAAK;;;;;EAMtC,MAAM,QAAQ;IACZ,IAAI,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,GAAG,CAAC,EAAE;MACzC,IAAI,CAAC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C,IAAI,CAAC,EAAE,EAAE,SAAS,CAAC,MACzC,WACE,KAAK,EAAE;QACL,CAAC,cAAc,GAAG,IAAI;OACvB,IAED,YAAM,IAAI,EAAC,SAAS,IAClB,qBAAe,OAAO,EAAC,MAAM,IAAE,OAAO,CAAiB,CAClD,CACH,CACP,EACA,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,sBAAsB,CAAC,IAAI,UAAU,MACzD,WAAK,KAAK,EAAC,sBAAsB,IAC/B,YAAM,IAAI,EAAC,sBAAsB,GAAQ,EACxC,UAAU,KACT,iBACE,KAAK,EAAE;QACL,CAAC,eAAe,GAAG,IAAI;QACvB,CAAC,sBAAsB,GAAG,CAAC,IAAI,CAAC,YAAY;QAC5C,CAAC,wBAAwB,GAAG,IAAI,CAAC,YAAY;OAC9C,EACD,OAAO,EAAC,MAAM,EACd,cAAc,sBACH,wBAAwB,mBACpB,IAAI,CAAC,YAAY,mBAClB,uBAAuB,EACrC,OAAO,EAAE,IAAI,CAAC,cAAc,EAC5B,SAAS,EAAE,WAAW,GACX,CACd,CACG,CACP,EACA,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,kBAAkB,CAAC,IAAI,IAAI,CAAC,YAAY,KAC3D,WAAK,KAAK,EAAC,kBAAkB,EAAC,EAAE,EAAC,uBAAuB,IACtD,YAAM,IAAI,EAAC,kBAAkB,GAAQ,CACjC,CACP,CACS,EACZ;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/ic-card/ic-card.css?tag=ic-card&encapsulation=shadow","./src/components/ic-card/ic-card.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host {\n display: flex;\n}\n\na {\n text-decoration: none !important;\n color: var(--ic-architechtural-black) !important;\n}\n\nbutton {\n border: none;\n background-color: transparent;\n outline: var(--ic-hc-focus-outline);\n}\n\n.card,\n.card.clickable {\n border: 0.063rem solid var(--ic-architectural-300);\n border-radius: var(--ic-border-radius);\n box-sizing: border-box;\n padding: var(--ic-space-md);\n text-align: left;\n color: var(--ic-architechtural-black);\n transition: var(--ic-easing-transition-fast);\n}\n\n.dark.card,\n.dark.card.clickable {\n border: 0.063rem solid var(--ic-architectural-700);\n}\n\n.card.clickable:hover {\n background-color: var(--ic-action-default-bg-hover);\n border-color: var(--ic-action-default-hover);\n cursor: pointer;\n}\n\n.card.clickable:focus,\n.card.clickable.focussed {\n background-color: var(--ic-action-default-bg-hover);\n box-shadow: var(--ic-border-focus);\n outline: var(--ic-hc-focus-outline);\n}\n\n.card.clickable:active {\n background-color: var(--ic-action-default-bg-active);\n box-shadow: var(--ic-border-focus);\n}\n\n.card.disabled {\n border: var(--ic-border-disabled);\n}\n\n.card.fullwidth,\n:host([full-width=\"true\"]) {\n width: 100%;\n}\n\n.card-header {\n display: flex;\n align-items: center;\n}\n\n.icon {\n display: flex;\n align-items: center;\n padding-right: var(--ic-space-xs);\n}\n\n.card.disabled ::slotted(svg) {\n fill: var(--ic-color-tertiary-text);\n}\n\n.card.clickable .card-title {\n color: var(--ic-hyperlink);\n text-decoration: underline;\n text-decoration-thickness: 0.063rem;\n}\n\n.card.clickable:hover .card-title,\n.card.clickable:focus .card-title,\n.card.clickable.focussed .card-title {\n text-decoration-thickness: 25%;\n text-underline-offset: 25%;\n}\n\n.card.clickable:active .card-title {\n text-decoration: none;\n}\n\n.card.disabled .card-title {\n text-decoration: underline;\n text-decoration-thickness: 0.063rem;\n text-decoration-color: var(--ic-color-tertiary-text);\n color: var(--ic-color-tertiary-text);\n}\n\n.subheading {\n margin-top: var(--ic-space-xxs);\n}\n\n.adornment {\n margin-top: var(--ic-space-xxs);\n}\n\n.card-message {\n margin-top: var(--ic-space-md);\n align-items: left;\n}\n\n.card.disabled .card-message,\n.card.disabled .subheading {\n color: var(--ic-color-tertiary-text);\n}\n\n.interaction-button {\n margin-left: auto;\n}\n\n.image-top {\n margin-bottom: var(--ic-space-md);\n display: flex;\n justify-content: center;\n}\n\n.image-mid {\n margin-top: var(--ic-space-md);\n display: flex;\n justify-content: center;\n}\n\n.interaction-controls {\n margin-top: var(--ic-space-md);\n display: flex;\n align-items: center;\n}\n\n.toggle-button {\n margin-left: auto;\n}\n\n.toggle-button-closed svg {\n transform: rotate(90deg);\n}\n\n.toggle-button-expanded svg {\n transform: rotate(-90deg);\n}\n\n.expanded-content {\n margin-top: var(--ic-space-md);\n}\n","import {\n Component,\n Element,\n Listen,\n Prop,\n State,\n h,\n Method,\n} from \"@stencil/core\";\nimport {\n onComponentRequiredPropUndefined,\n isSlotUsed,\n getThemeFromContext,\n} from \"../../utils/helpers\";\nimport {\n IcTheme,\n IcThemeForeground,\n IcThemeForegroundEnum,\n} from \"../../utils/types\";\nimport chevronIcon from \"../../assets/chevron-icon.svg\";\n\n/**\n * @slot heading - Content will be placed at the top of the card to the right of the icon.\n * @slot message - Content will be placed in the main body of the card.\n * @slot subheading - Content will be placed below the card heading.\n * @slot adornment - Content will be placed below the card subheading.\n * @slot image-top - Content will be placed at the top of the card above all other content.\n * @slot image-mid - Content will be placed below the card heading section.\n * @slot icon - Content will be placed to the left of the card heading.\n * @slot interaction-button - Content will be placed in the top right corner of the heading section.\n * @slot interaction-controls - Content will be placed below the card message.\n * @slot expanded-content - Content will be placed below the interaction controls but will not initially be rendered.\n */\n@Component({\n tag: \"ic-card\",\n styleUrl: \"ic-card.css\",\n shadow: true,\n})\nexport class Card {\n @Element() el: HTMLIcCardElement;\n\n /**\n * If `true`, the card will be a clickable variant, instead of static.\n */\n @Prop({ mutable: true }) clickable?: boolean = false;\n /**\n * The URL that the clickable card link points to. If set, the clickable card will render as an \"a\" tag, otherwise it will render as a button.\n */\n @Prop() href?: string | undefined;\n /**\n * The human language of the linked URL.\n */\n @Prop() hreflang?: string = \"\";\n /**\n * How much of the referrer to send when following the link.\n */\n @Prop() referrerpolicy?: ReferrerPolicy;\n /**\n * The relationship of the linked URL as space-separated link types.\n */\n @Prop() rel?: string;\n /**\n * The place to display the linked URL, as the name for a browsing context (a tab, window, or iframe).\n */\n @Prop() target?: string;\n /**\n * The heading for the card.\n */\n @Prop() heading!: string;\n /**\n * The subheading for the card.\n */\n @Prop() subheading?: string;\n /**\n * The main body message of the card.\n */\n @Prop() message?: string = \"\";\n /**\n * If `true`, the card will be disabled if it is clickable.\n */\n @Prop() disabled?: boolean = false;\n /**\n * If `true`, the card will fill the width of the container.\n */\n @Prop() fullWidth?: boolean = false;\n /**\n * If `true`, the card will have an expandable area and expansion toggle button.\n */\n @Prop() expandable?: boolean = false;\n\n @State() parentIsAnchorTag: boolean = false;\n\n @State() isFocussed: boolean = false;\n\n @State() parentEl: HTMLElement | null = null;\n\n @State() appearance?: IcThemeForeground = \"default\";\n\n @State() areaExpanded: boolean = false;\n\n /**\n * Sets focus on the card.\n */\n @Method()\n async setFocus(): Promise<void> {\n if (this.el.shadowRoot.querySelector(\"a\")) {\n this.el.shadowRoot.querySelector(\"a\").focus();\n } else if (this.el.shadowRoot.querySelector(\"button\")) {\n this.el.shadowRoot.querySelector(\"button\").focus();\n }\n }\n\n @Listen(\"click\", { capture: true })\n handleHostClick(event: Event): void {\n if (this.disabled) {\n event.stopImmediatePropagation();\n }\n }\n\n @Listen(\"themeChange\", { target: \"document\" })\n themeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.updateTheme(theme.mode);\n }\n\n private parentFocussed = (): void => {\n this.isFocussed = true;\n };\n\n private parentBlurred = (): void => {\n this.isFocussed = false;\n };\n\n private updateTheme(newTheme: IcThemeForeground = null): void {\n const foregroundColor = getThemeFromContext(this.el, newTheme || null);\n\n if (foregroundColor !== IcThemeForegroundEnum.Default) {\n this.appearance = foregroundColor;\n }\n }\n\n private toggleExpanded = (): void => {\n this.areaExpanded = !this.areaExpanded;\n };\n\n componentWillLoad(): void {\n this.parentEl = this.el.parentElement;\n\n if (this.parentEl.tagName === \"A\") {\n this.clickable = true;\n this.parentIsAnchorTag = true;\n this.parentEl.classList.add(\"ic-card-wrapper-link\");\n this.parentEl.addEventListener(\"focus\", this.parentFocussed);\n this.parentEl.addEventListener(\"blur\", this.parentBlurred);\n }\n }\n\n disconnectedCallback(): void {\n if (this.parentIsAnchorTag) {\n this.parentEl.removeEventListener(\"focus\", this.parentFocussed);\n this.parentEl.removeEventListener(\"blur\", this.parentBlurred);\n }\n }\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.heading, propName: \"heading\" }],\n \"Card\"\n );\n this.updateTheme();\n }\n\n render() {\n const {\n clickable,\n disabled,\n expandable,\n heading,\n message,\n href,\n hreflang,\n referrerpolicy,\n rel,\n subheading,\n target,\n fullWidth,\n parentIsAnchorTag,\n isFocussed,\n } = this;\n\n const Component = parentIsAnchorTag\n ? \"div\"\n : clickable\n ? this.href === undefined\n ? \"button\"\n : \"a\"\n : \"div\";\n\n const attrs = Component == \"a\" && {\n href: href,\n hrefLang: hreflang,\n referrerPolicy: referrerpolicy,\n rel: rel,\n target: target,\n };\n\n return (\n <Component\n class={{\n [\"card\"]: true,\n [\"clickable\"]: clickable && !disabled,\n [\"disabled\"]: disabled,\n [\"fullwidth\"]: fullWidth,\n [\"focussed\"]: isFocussed,\n [\"dark\"]: this.appearance === IcThemeForegroundEnum.Dark,\n }}\n tabindex={clickable && !parentIsAnchorTag ? 0 : null}\n aria-disabled={disabled ? \"true\" : null}\n disabled={disabled ? true : null}\n {...attrs}\n >\n {isSlotUsed(this.el, \"image-top\") && (\n <div class=\"image-top\">\n <slot name=\"image-top\"></slot>\n </div>\n )}\n <div class=\"card-header\">\n {isSlotUsed(this.el, \"icon\") && (\n <div class=\"icon\">\n <slot name=\"icon\" />\n </div>\n )}\n <div class=\"card-title\">\n <slot name=\"heading\">\n <ic-typography variant=\"h4\">\n <p>{heading}</p>\n </ic-typography>\n </slot>\n </div>\n {isSlotUsed(this.el, \"interaction-button\") && (\n <div class=\"interaction-button\">\n <slot name=\"interaction-button\"></slot>\n </div>\n )}\n </div>\n {(subheading || isSlotUsed(this.el, \"subheading\")) && (\n <div class=\"subheading\">\n <slot name=\"subheading\">\n <ic-typography variant=\"subtitle-small\">\n {subheading}\n </ic-typography>\n </slot>\n </div>\n )}\n {isSlotUsed(this.el, \"adornment\") && (\n <div class=\"adornment\">\n <slot name=\"adornment\"></slot>\n </div>\n )}\n {isSlotUsed(this.el, \"image-mid\") && (\n <div class=\"image-mid\">\n <slot name=\"image-mid\"></slot>\n </div>\n )}\n {(message || isSlotUsed(this.el, \"message\")) && (\n <div\n class={{\n [\"card-message\"]: true,\n }}\n >\n <slot name=\"message\">\n <ic-typography variant=\"body\">{message}</ic-typography>\n </slot>\n </div>\n )}\n {(isSlotUsed(this.el, \"interaction-controls\") || expandable) && (\n <div class=\"interaction-controls\">\n <slot name=\"interaction-controls\"></slot>\n {expandable && (\n <ic-button\n class={{\n [\"toggle-button\"]: true,\n [\"toggle-button-closed\"]: !this.areaExpanded,\n [\"toggle-button-expanded\"]: this.areaExpanded,\n }}\n variant=\"icon\"\n disableTooltip\n aria-label=\"Toggle expandable area\"\n aria-expanded={this.areaExpanded}\n aria-controls=\"expanded-content-area\"\n onClick={this.toggleExpanded}\n innerHTML={chevronIcon}\n ></ic-button>\n )}\n </div>\n )}\n {isSlotUsed(this.el, \"expanded-content\") && this.areaExpanded && (\n <div class=\"expanded-content\" id=\"expanded-content-area\">\n <slot name=\"expanded-content\"></slot>\n </div>\n )}\n </Component>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ic-card.js","mappings":";;;;;;;;;AAAA,MAAM,SAAS,GAAG,wvKAAwvK;;MCuC7vK,IAAI;;;;;IA0HP,mBAAc,GAAG;MACvB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;KACxB,CAAC;IAEM,kBAAa,GAAG;MACtB,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;KACzB,CAAC;IAUM,mBAAc,GAAG;MACvB,IAAI,CAAC,YAAY,GAAG,CAAC,IAAI,CAAC,YAAY,CAAC;KACx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AAI,CAAC,YAAY,KAC3D,WAAK,KAAK,EAAC,kBAAkB,EAAC,EAAE,EAAC,uBAAuB,IACtD,YAAM,IAAI,EAAC,kBAAkB,GAAQ,CACjC,CACP,CACS,EACZ;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/ic-card/ic-card.css?tag=ic-card&encapsulation=shadow","./src/components/ic-card/ic-card.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host {\n display: flex;\n}\n\na {\n text-decoration: none !important;\n color: var(--ic-architechtural-black) !important;\n}\n\nbutton {\n border: none;\n background-color: transparent;\n outline: var(--ic-hc-focus-outline);\n}\n\n.card,\n.card.clickable {\n display: flex;\n flex-direction: column;\n border: var(--ic-border-default);\n border-radius: var(--ic-border-radius);\n box-sizing: border-box;\n padding: var(--ic-space-md);\n text-align: left;\n color: var(--ic-architechtural-black);\n transition: var(--ic-easing-transition-fast);\n}\n\n.dark.card,\n.dark.card.clickable {\n border: var(--ic-space-1px) solid var(--ic-architectural-700);\n}\n\n.card.clickable:hover {\n background-color: var(--ic-action-default-bg-hover);\n border: var(--ic-border-hover);\n cursor: pointer;\n}\n\n.card.clickable:focus,\n.card.clickable.focussed {\n background-color: var(--ic-action-default-bg-hover);\n box-shadow: var(--ic-border-focus);\n outline: var(--ic-hc-focus-outline);\n border: var(--ic-border-pressed);\n}\n\n.card.clickable:active {\n background-color: var(--ic-action-default-bg-active);\n box-shadow: var(--ic-border-focus);\n}\n\n.card.disabled {\n border: var(--ic-border-disabled);\n}\n\n.card.fullwidth {\n width: 100%;\n}\n\n.card-header {\n display: flex;\n align-items: center;\n}\n\n.icon {\n display: flex;\n align-items: center;\n padding-right: var(--ic-space-xs);\n}\n\n.card.disabled ::slotted(svg) {\n fill: var(--ic-color-tertiary-text);\n}\n\n.card.clickable .card-title {\n color: var(--ic-hyperlink);\n text-decoration: underline;\n text-decoration-thickness: var(--ic-space-1px);\n}\n\n.card.clickable:hover .card-title,\n.card.clickable:focus .card-title,\n.card.clickable.focussed .card-title {\n display: inline-block;\n border-bottom: 0.25rem solid !important;\n margin-bottom: -0.25rem !important;\n text-decoration: none;\n}\n\n@supports (text-decoration-thickness: 25%) {\n .card.clickable:hover .card-title,\n .card.clickable:focus .card-title,\n .card.clickable.focussed .card-title {\n text-decoration-line: underline;\n text-decoration-thickness: 25%;\n text-underline-offset: 25%;\n border-bottom: 0 !important;\n margin-bottom: 0 !important;\n }\n}\n\n.card.clickable:active .card-title {\n text-decoration: none;\n}\n\n.card.disabled .card-title {\n text-decoration: underline;\n text-decoration-thickness: var(--ic-space-1px);\n text-decoration-color: var(--ic-color-tertiary-text);\n color: var(--ic-color-tertiary-text);\n}\n\n.subheading {\n margin-top: var(--ic-space-xxs);\n}\n\n.adornment {\n margin-top: var(--ic-space-xxs);\n}\n\n.card-message {\n margin-top: var(--ic-space-md);\n align-items: left;\n}\n\n.card.disabled .card-message,\n.card.disabled .subheading {\n color: var(--ic-color-tertiary-text);\n}\n\n.interaction-button {\n margin-left: auto;\n}\n\n.image-top {\n margin-bottom: var(--ic-space-md);\n display: flex;\n justify-content: center;\n}\n\n.image-mid {\n margin-top: var(--ic-space-md);\n display: flex;\n justify-content: center;\n}\n\n.interaction-area {\n display: flex;\n flex-grow: 1;\n gap: var(--ic-space-md);\n margin-top: var(--ic-space-md);\n align-items: flex-end;\n}\n\n.interaction-controls {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: var(--ic-space-sm);\n}\n\n.toggle-button {\n margin-left: auto;\n}\n\n.toggle-button-closed svg {\n transform: rotate(90deg);\n}\n\n.toggle-button-expanded svg {\n transform: rotate(-90deg);\n}\n\n.expanded-content {\n margin-top: var(--ic-space-md);\n}\n","import {\n Component,\n Element,\n Listen,\n Prop,\n State,\n h,\n Method,\n} from \"@stencil/core\";\nimport {\n onComponentRequiredPropUndefined,\n isSlotUsed,\n getThemeFromContext,\n removeDisabledFalse,\n} from \"../../utils/helpers\";\nimport {\n IcTheme,\n IcThemeForeground,\n IcThemeForegroundEnum,\n} from \"../../utils/types\";\nimport chevronIcon from \"../../assets/chevron-icon.svg\";\n\n/**\n * @slot heading - Content will be placed at the top of the card to the right of the icon.\n * @slot message - Content will be placed in the main body of the card.\n * @slot subheading - Content will be placed below the card heading.\n * @slot adornment - Content will be placed below the card subheading.\n * @slot image-top - Content will be placed at the top of the card above all other content.\n * @slot image-mid - Content will be placed below the card heading section.\n * @slot icon - Content will be placed to the left of the card heading.\n * @slot interaction-button - Content will be placed in the top right corner of the heading section.\n * @slot interaction-controls - Content will be placed below the card message.\n * @slot expanded-content - Content will be placed below the interaction controls but will not initially be rendered.\n */\n@Component({\n tag: \"ic-card\",\n styleUrl: \"ic-card.css\",\n shadow: true,\n})\nexport class Card {\n @Element() el: HTMLIcCardElement;\n\n @State() appearance?: IcThemeForeground = \"default\";\n @State() areaExpanded: boolean = false;\n @State() isFocussed: boolean = false;\n @State() parentEl: HTMLElement | null = null;\n @State() parentIsAnchorTag: boolean = false;\n\n /**\n * If `true`, the card will be a clickable variant, instead of static.\n */\n @Prop({ mutable: true }) clickable?: boolean = false;\n\n /**\n * If `true`, the card will be disabled if it is clickable.\n */\n @Prop() disabled?: boolean = false;\n\n /**\n * If `true`, the card will have an expandable area and expansion toggle button.\n */\n @Prop() expandable?: boolean = false;\n\n /**\n * If `true`, the card will fill the width of the container.\n */\n @Prop() fullWidth?: boolean = false;\n\n /**\n * The heading for the card.\n */\n @Prop() heading!: string;\n\n /**\n * The URL that the clickable card link points to. If set, the clickable card will render as an \"a\" tag, otherwise it will render as a button.\n */\n @Prop() href?: string | undefined;\n\n /**\n * The human language of the linked URL.\n */\n @Prop() hreflang?: string = \"\";\n\n /**\n * The main body message of the card.\n */\n @Prop() message?: string = \"\";\n\n /**\n * How much of the referrer to send when following the link.\n */\n @Prop() referrerpolicy?: ReferrerPolicy;\n\n /**\n * The relationship of the linked URL as space-separated link types.\n */\n @Prop() rel?: string;\n\n /**\n * The subheading for the card.\n */\n @Prop() subheading?: string;\n\n /**\n * The place to display the linked URL, as the name for a browsing context (a tab, window, or iframe).\n */\n @Prop() target?: string;\n\n disconnectedCallback(): void {\n if (this.parentIsAnchorTag) {\n this.parentEl.removeEventListener(\"focus\", this.parentFocussed);\n this.parentEl.removeEventListener(\"blur\", this.parentBlurred);\n }\n }\n\n componentWillLoad(): void {\n this.parentEl = this.el.parentElement;\n\n if (this.parentEl.tagName === \"A\") {\n this.clickable = true;\n this.parentIsAnchorTag = true;\n this.parentEl.classList.add(\"ic-card-wrapper-link\");\n this.parentEl.addEventListener(\"focus\", this.parentFocussed);\n this.parentEl.addEventListener(\"blur\", this.parentBlurred);\n }\n removeDisabledFalse(this.disabled, this.el);\n }\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.heading, propName: \"heading\" }],\n \"Card\"\n );\n this.updateTheme();\n }\n\n @Listen(\"click\", { capture: true })\n handleHostClick(event: Event): void {\n if (this.disabled) {\n event.stopImmediatePropagation();\n }\n }\n\n @Listen(\"themeChange\", { target: \"document\" })\n themeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.updateTheme(theme.mode);\n }\n\n /**\n * Sets focus on the card.\n */\n @Method()\n async setFocus(): Promise<void> {\n if (this.el.shadowRoot.querySelector(\"a\")) {\n this.el.shadowRoot.querySelector(\"a\").focus();\n } else if (this.el.shadowRoot.querySelector(\"button\")) {\n this.el.shadowRoot.querySelector(\"button\").focus();\n }\n }\n\n private parentFocussed = (): void => {\n this.isFocussed = true;\n };\n\n private parentBlurred = (): void => {\n this.isFocussed = false;\n };\n\n private updateTheme(newTheme: IcThemeForeground = null): void {\n const foregroundColor = getThemeFromContext(this.el, newTheme || null);\n\n if (foregroundColor !== IcThemeForegroundEnum.Default) {\n this.appearance = foregroundColor;\n }\n }\n\n private toggleExpanded = (): void => {\n this.areaExpanded = !this.areaExpanded;\n };\n\n render() {\n const {\n clickable,\n disabled,\n expandable,\n heading,\n message,\n href,\n hreflang,\n referrerpolicy,\n rel,\n subheading,\n target,\n fullWidth,\n parentIsAnchorTag,\n isFocussed,\n } = this;\n\n const Component = parentIsAnchorTag\n ? \"div\"\n : clickable\n ? this.href === undefined\n ? \"button\"\n : \"a\"\n : \"div\";\n\n const attrs = Component == \"a\" && {\n href: href,\n hrefLang: hreflang,\n referrerPolicy: referrerpolicy,\n rel: rel,\n target: target,\n };\n\n return (\n <Component\n class={{\n [\"card\"]: true,\n [\"clickable\"]: clickable && !disabled,\n [\"disabled\"]: disabled,\n [\"fullwidth\"]: fullWidth,\n [\"focussed\"]: isFocussed,\n [\"dark\"]: this.appearance === IcThemeForegroundEnum.Dark,\n }}\n tabindex={clickable && !parentIsAnchorTag ? 0 : null}\n aria-disabled={disabled ? \"true\" : null}\n disabled={disabled ? true : null}\n {...attrs}\n >\n {isSlotUsed(this.el, \"image-top\") && (\n <div class=\"image-top\">\n <slot name=\"image-top\"></slot>\n </div>\n )}\n <div class=\"card-header\">\n {isSlotUsed(this.el, \"icon\") && (\n <div class=\"icon\">\n <slot name=\"icon\" />\n </div>\n )}\n <div class=\"card-title\">\n <slot name=\"heading\">\n <ic-typography variant=\"h4\">\n <p>{heading}</p>\n </ic-typography>\n </slot>\n </div>\n {isSlotUsed(this.el, \"interaction-button\") && (\n <div class=\"interaction-button\">\n <slot name=\"interaction-button\"></slot>\n </div>\n )}\n </div>\n {(subheading || isSlotUsed(this.el, \"subheading\")) && (\n <div class=\"subheading\">\n <slot name=\"subheading\">\n <ic-typography variant=\"subtitle-small\">\n {subheading}\n </ic-typography>\n </slot>\n </div>\n )}\n {isSlotUsed(this.el, \"adornment\") && (\n <div class=\"adornment\">\n <slot name=\"adornment\"></slot>\n </div>\n )}\n {isSlotUsed(this.el, \"image-mid\") && (\n <div class=\"image-mid\">\n <slot name=\"image-mid\"></slot>\n </div>\n )}\n {(message || isSlotUsed(this.el, \"message\")) && (\n <div\n class={{\n [\"card-message\"]: true,\n }}\n >\n {message && <ic-typography variant=\"body\">{message}</ic-typography>}\n {isSlotUsed(this.el, \"message\") && <slot name=\"message\"></slot>}\n </div>\n )}\n {(isSlotUsed(this.el, \"interaction-controls\") || expandable) && (\n <div class=\"interaction-area\">\n <div class=\"interaction-controls\">\n <slot name=\"interaction-controls\"></slot>\n </div>\n {expandable && (\n <ic-button\n class={{\n [\"toggle-button\"]: true,\n [\"toggle-button-closed\"]: !this.areaExpanded,\n [\"toggle-button-expanded\"]: this.areaExpanded,\n }}\n variant=\"icon\"\n size=\"large\"\n disableTooltip\n aria-label=\"Toggle expandable area\"\n aria-expanded={this.areaExpanded}\n aria-controls=\"expanded-content-area\"\n onClick={this.toggleExpanded}\n innerHTML={chevronIcon}\n ></ic-button>\n )}\n </div>\n )}\n {isSlotUsed(this.el, \"expanded-content\") && this.areaExpanded && (\n <div class=\"expanded-content\" id=\"expanded-content-area\">\n <slot name=\"expanded-content\"></slot>\n </div>\n )}\n </Component>\n );\n }\n}\n"],"version":3}
@@ -1,45 +1,32 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { a as onComponentRequiredPropUndefined, h as getInputDescribedByText, j as hasValidationStatus } from './helpers.js';
2
+ import { r as removeDisabledFalse, o as onComponentRequiredPropUndefined, k as getInputDescribedByText, l as hasValidationStatus } from './helpers.js';
3
3
  import { d as defineCustomElement$4 } from './ic-input-label2.js';
4
4
  import { d as defineCustomElement$3 } from './ic-input-validation2.js';
5
5
  import { d as defineCustomElement$2 } from './ic-typography2.js';
6
6
 
7
- const icCheckboxGroupCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block}ic-input-label.error{color:var(--ic-status-error)}ic-input-label ic-typography{margin-bottom:var(--ic-space-sm)}:host([small]) ic-input-label ic-typography{margin-bottom:calc(var(--ic-space-sm) / 2)}ic-input-validation{margin-top:var(--ic-space-sm)}:host([small]) ic-input-validation{margin-top:calc(var(--ic-space-sm) / 2)}.checkboxes-container{margin-bottom:calc(-1 * var(--ic-space-xxs))}:host([small]) .checkboxes-container{margin-bottom:calc(-1 * var(--ic-space-xxxs))}.screen-reader-only-text{position:absolute;left:-9999px;background-color:#fff;color:#000;text-transform:none}";
7
+ const icCheckboxGroupCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block}ic-input-label.error{color:var(--ic-status-error)}ic-input-label ic-typography{margin-bottom:var(--ic-space-sm)}:host(.small) ic-input-label ic-typography{margin-bottom:calc(var(--ic-space-sm) / 2)}ic-input-validation{margin-top:var(--ic-space-sm)}:host(.small) ic-input-validation{margin-top:calc(var(--ic-space-sm) / 2)}.checkboxes-container{margin-bottom:calc(-1 * var(--ic-space-xxs))}:host(.small) .checkboxes-container{margin-bottom:calc(-1 * var(--ic-space-xxxs))}.screen-reader-only-text{position:absolute;left:-9999px;background-color:#fff;color:#000;text-transform:none}";
8
8
 
9
- const CheckboxGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
9
+ const CheckboxGroup = /*@__PURE__*/ proxyCustomElement(class CheckboxGroup extends HTMLElement {
10
10
  constructor() {
11
11
  super();
12
12
  this.__registerHost();
13
13
  this.__attachShadow();
14
14
  this.icChange = createEvent(this, "icChange", 7);
15
+ this.disabled = false;
16
+ this.helperText = "";
17
+ this.hideLabel = false;
15
18
  this.label = undefined;
16
19
  this.name = undefined;
17
20
  this.required = false;
18
- this.hideLabel = false;
19
- this.disabled = false;
20
- this.helperText = "";
21
21
  this.small = false;
22
22
  this.validationStatus = "";
23
23
  this.validationText = "";
24
- this.checkedOptions = [];
25
24
  }
26
- selectHandler() {
27
- this.checkboxOptions = Array.from(this.host.querySelectorAll("ic-checkbox"));
28
- this.checkboxOptions.forEach((checkbox) => {
29
- if (checkbox.checked &&
30
- this.checkedOptions.indexOf(checkbox.value) === -1) {
31
- this.checkedOptions.push(checkbox.value);
32
- }
33
- });
34
- this.icChange.emit({ value: this.checkedOptions });
25
+ componentWillLoad() {
26
+ removeDisabledFalse(this.disabled, this.host);
35
27
  }
36
28
  componentDidLoad() {
37
- this.checkboxOptions = Array.from(this.host.querySelectorAll("ic-checkbox"));
38
- this.checkboxOptions.forEach((checkbox) => {
39
- if (checkbox.checked &&
40
- this.checkedOptions.indexOf(checkbox.value) === -1) {
41
- this.checkedOptions.push(checkbox.value);
42
- }
29
+ Array.from(this.host.querySelectorAll("ic-checkbox")).forEach((checkbox) => {
43
30
  if (!checkbox.name)
44
31
  checkbox.name = this.name;
45
32
  checkbox.groupLabel = this.label;
@@ -49,10 +36,24 @@ const CheckboxGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
49
36
  { prop: this.name, propName: "name" },
50
37
  ], "Checkbox Group");
51
38
  }
39
+ selectHandler(ev) {
40
+ const checkedOptions = Array.from(this.host.querySelectorAll("ic-checkbox")).filter((checkbox) => checkbox.checked && !checkbox.disabled);
41
+ this.icChange.emit({
42
+ value: checkedOptions.map((opt) => opt.value),
43
+ checkedOptions: checkedOptions.map((opt) => {
44
+ var _a;
45
+ return ({
46
+ checkbox: opt,
47
+ textFieldValue: (_a = opt.querySelector("ic-text-field")) === null || _a === void 0 ? void 0 : _a.value,
48
+ });
49
+ }),
50
+ selectedOption: ev.target,
51
+ });
52
+ }
52
53
  render() {
53
54
  const describedBy = getInputDescribedByText(this.name, this.helperText !== "", this.validationStatus !== "");
54
55
  const hadValidationStatus = hasValidationStatus(this.validationStatus, this.disabled);
55
- return (h(Host, null, (this.validationStatus === "error" ||
56
+ return (h(Host, { class: { ["small"]: this.small } }, (this.validationStatus === "error" ||
56
57
  this.required ||
57
58
  this.hideLabel) && (h("span", { id: "screenReaderOnlyText", class: "screen-reader-only-text", "aria-hidden": "true" }, this.label, " ", this.validationStatus === "error" ? "invalid data " : null, " ", this.required ? "required" : null)), h("fieldset", { id: this.name, "aria-labelledby": `${this.validationStatus === "error" || this.required || this.hideLabel
58
59
  ? "screenReaderOnlyText"
@@ -61,16 +62,15 @@ const CheckboxGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
61
62
  get host() { return this; }
62
63
  static get style() { return icCheckboxGroupCss; }
63
64
  }, [1, "ic-checkbox-group", {
65
+ "disabled": [4],
66
+ "helperText": [1, "helper-text"],
67
+ "hideLabel": [4, "hide-label"],
64
68
  "label": [1],
65
69
  "name": [1],
66
70
  "required": [4],
67
- "hideLabel": [4, "hide-label"],
68
- "disabled": [4],
69
- "helperText": [1, "helper-text"],
70
71
  "small": [4],
71
72
  "validationStatus": [1, "validation-status"],
72
- "validationText": [1, "validation-text"],
73
- "checkedOptions": [32]
73
+ "validationText": [1, "validation-text"]
74
74
  }, [[0, "icCheck", "selectHandler"]]]);
75
75
  function defineCustomElement$1() {
76
76
  if (typeof customElements === "undefined") {
@@ -1 +1 @@
1
- {"file":"ic-checkbox-group.js","mappings":";;;;;;AAAA,MAAM,kBAAkB,GAAG,49FAA49F;;MCwB1+F,aAAa;;;;;;;;oBAgBI,KAAK;qBAKJ,KAAK;oBAKN,KAAK;sBAKJ,EAAE;iBAKN,KAAK;4BAIyB,EAAE;0BAIxB,EAAE;0BASC,EAAE;;EAGtC,aAAa;IACX,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC,IAAI,CAC/B,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAC1C,CAAC;IACF,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC,QAAQ;MACpC,IACE,QAAQ,CAAC,OAAO;QAChB,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,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names":[],"sources":["./src/components/ic-checkbox-group/ic-checkbox-group.css?tag=ic-checkbox-group&encapsulation=shadow","./src/components/ic-checkbox-group/ic-checkbox-group.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host {\n display: block;\n}\n\nic-input-label.error {\n color: var(--ic-status-error);\n}\n\nic-input-label ic-typography {\n margin-bottom: var(--ic-space-sm);\n}\n\n:host([small]) ic-input-label ic-typography {\n margin-bottom: calc(var(--ic-space-sm) / 2);\n}\n\nic-input-validation {\n margin-top: var(--ic-space-sm);\n}\n\n:host([small]) ic-input-validation {\n margin-top: calc(var(--ic-space-sm) / 2);\n}\n\n.checkboxes-container {\n margin-bottom: calc(-1 * var(--ic-space-xxs));\n}\n\n:host([small]) .checkboxes-container {\n margin-bottom: calc(-1 * var(--ic-space-xxxs));\n}\n\n.screen-reader-only-text {\n position: absolute;\n left: -9999px;\n background-color: #fff;\n color: #000;\n text-transform: none;\n}\n","import {\n Component,\n Host,\n h,\n Prop,\n Listen,\n Element,\n Event,\n EventEmitter,\n State,\n} from \"@stencil/core\";\nimport {\n getInputDescribedByText,\n hasValidationStatus,\n onComponentRequiredPropUndefined,\n} from \"../../utils/helpers\";\nimport { IcInformationStatusOrEmpty } from \"../../utils/types\";\nimport { IcChangeEventDetail } from \"./ic-checkbox-group.types\";\n\n@Component({\n tag: \"ic-checkbox-group\",\n styleUrl: \"ic-checkbox-group.css\",\n shadow: true,\n})\nexport class CheckboxGroup {\n @Element() host: HTMLIcCheckboxGroupElement;\n\n /**\n * The label for the checkbox group to be displayed.\n */\n @Prop() label!: string;\n\n /**\n * The name for the checkbox group to differentiate from other groups.\n */\n @Prop() name!: string;\n\n /**\n * If `true`, the checkbox group will require a value.\n */\n @Prop() required: boolean = false;\n\n /**\n * If `true`, the label will be hidden and the required label value will be applied as an aria-label.\n */\n @Prop() hideLabel: boolean = false;\n\n /**\n * If `true`, the checkbox group will be set to the disabled state.\n */\n @Prop() disabled: boolean = false;\n\n /**\n * The helper text that will be displayed for additional field guidance.\n */\n @Prop() helperText: string = \"\";\n\n /**\n * If `true`, the small styling will be applied to the checkbox group.\n */\n @Prop() small: boolean = false;\n /**\n * The validation status - e.g. 'error' | 'warning' | 'success'.\n */\n @Prop() validationStatus: IcInformationStatusOrEmpty = \"\";\n /**\n * The validation text - e.g. 'error' | 'warning' | 'success'.\n */\n @Prop() validationText: string = \"\";\n\n /**\n * Emitted when a checkbox is checked.\n */\n @Event() icChange: EventEmitter<IcChangeEventDetail>;\n\n private checkboxOptions: HTMLIcCheckboxElement[];\n\n @State() checkedOptions: string[] = [];\n\n @Listen(\"icCheck\")\n selectHandler(): void {\n this.checkboxOptions = Array.from(\n this.host.querySelectorAll(\"ic-checkbox\")\n );\n this.checkboxOptions.forEach((checkbox) => {\n if (\n checkbox.checked &&\n this.checkedOptions.indexOf(checkbox.value) === -1\n ) {\n this.checkedOptions.push(checkbox.value);\n }\n });\n this.icChange.emit({ value: this.checkedOptions });\n }\n\n componentDidLoad(): void {\n this.checkboxOptions = Array.from(\n this.host.querySelectorAll(\"ic-checkbox\")\n );\n this.checkboxOptions.forEach((checkbox) => {\n if (\n checkbox.checked &&\n this.checkedOptions.indexOf(checkbox.value) === -1\n ) {\n this.checkedOptions.push(checkbox.value);\n }\n if (!checkbox.name) checkbox.name = this.name;\n checkbox.groupLabel = this.label;\n });\n\n onComponentRequiredPropUndefined(\n [\n { prop: this.label, propName: \"label\" },\n { prop: this.name, propName: \"name\" },\n ],\n \"Checkbox Group\"\n );\n }\n\n render() {\n const describedBy = getInputDescribedByText(\n this.name,\n this.helperText !== \"\",\n this.validationStatus !== \"\"\n );\n const hadValidationStatus = hasValidationStatus(\n this.validationStatus,\n this.disabled\n );\n\n return (\n <Host>\n {(this.validationStatus === \"error\" ||\n this.required ||\n this.hideLabel) && (\n <span\n id=\"screenReaderOnlyText\"\n class=\"screen-reader-only-text\"\n aria-hidden=\"true\"\n >\n {this.label}{\" \"}\n {this.validationStatus === \"error\" ? \"invalid data \" : null}{\" \"}\n {this.required ? \"required\" : null}\n </span>\n )}\n <fieldset\n id={this.name}\n aria-labelledby={`${\n this.validationStatus === \"error\" || this.required || this.hideLabel\n ? \"screenReaderOnlyText\"\n : \"\"\n } ${describedBy}`.trim()}\n disabled={this.disabled}\n >\n {!this.hideLabel && (\n <legend>\n <ic-input-label\n class={{ [`${this.validationStatus}`]: true }}\n label={this.label}\n helperText={this.helperText}\n required={this.required}\n disabled={this.disabled}\n for={this.name}\n ></ic-input-label>\n </legend>\n )}\n <div class=\"checkboxes-container\">\n <slot></slot>\n </div>\n </fieldset>\n {hadValidationStatus && (\n <ic-input-validation\n for={this.name}\n ariaLiveMode=\"polite\"\n status={this.validationStatus}\n message={this.validationText}\n ></ic-input-validation>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ic-checkbox-group.js","mappings":";;;;;;AAAA,MAAM,kBAAkB,GAAG,y9FAAy9F;;MCyBv+F,aAAa;;;;;;oBAMI,KAAK;sBAKJ,EAAE;qBAKF,KAAK;;;oBAeN,KAAK;iBAKR,KAAK;4BAKyB,EAAE;0BAKxB,EAAE;;EAOnC,iBAAiB;IACf,mBAAmB,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;GAC/C;EAED,gBAAgB;IACd,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAC3D,CAAC,QAAQ;MACP,IAAI,CAAC,QAAQ,CAAC,IAAI;QAAE,QAAQ,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;MAC9C,QAAQ,CAAC,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC;KAClC,CACF,CAAC;IAEF,gCAAgC,CAC9B;MACE,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE;MACvC,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,QAAQ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AgB,KAAK,OAAO,GAAG,eAAe,GAAG,IAAI,EAAE,GAAG,EAC/D,IAAI,CAAC,QAAQ,GAAG,UAAU,GAAG,IAAI,CAC7B,CACR,EACD,gBACE,EAAE,EAAE,IAAI,CAAC,IAAI,qBACI,GACf,IAAI,CAAC,gBAAgB,KAAK,OAAO,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,SAAS;UAChE,sBAAsB;UACtB,EACN,IAAI,WAAW,EAAE,CAAC,IAAI,EAAE,EACxB,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAEtB,CAAC,IAAI,CAAC,SAAS,KACd,kBACE,sBACE,KAAK,EAAE,EAAE,CAAC,GAAG,IAAI,CAAC,gBAAgB,EAAE,GAAG,IAAI,EAAE,EAC7C,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,GAAG,EAAE,IAAI,CAAC,IAAI,GACE,CACX,CACV,EACD,WAAK,KAAK,EAAC,sBAAsB,IAC/B,eAAa,CACT,CACG,EACV,mBAAmB,KAClB,2BACE,GAAG,EAAE,IAAI,CAAC,IAAI,EACd,YAAY,EAAC,QAAQ,EACrB,MAAM,EAAE,IAAI,CAAC,gBAAgB,EAC7B,OAAO,EAAE,IAAI,CAAC,cAAc,GACP,CACxB,CACI,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/ic-checkbox-group/ic-checkbox-group.css?tag=ic-checkbox-group&encapsulation=shadow","./src/components/ic-checkbox-group/ic-checkbox-group.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host {\n display: block;\n}\n\nic-input-label.error {\n color: var(--ic-status-error);\n}\n\nic-input-label ic-typography {\n margin-bottom: var(--ic-space-sm);\n}\n\n:host(.small) ic-input-label ic-typography {\n margin-bottom: calc(var(--ic-space-sm) / 2);\n}\n\nic-input-validation {\n margin-top: var(--ic-space-sm);\n}\n\n:host(.small) ic-input-validation {\n margin-top: calc(var(--ic-space-sm) / 2);\n}\n\n.checkboxes-container {\n margin-bottom: calc(-1 * var(--ic-space-xxs));\n}\n\n:host(.small) .checkboxes-container {\n margin-bottom: calc(-1 * var(--ic-space-xxxs));\n}\n\n.screen-reader-only-text {\n position: absolute;\n left: -9999px;\n background-color: #fff;\n color: #000;\n text-transform: none;\n}\n","import {\n Component,\n Host,\n h,\n Prop,\n Listen,\n Element,\n Event,\n EventEmitter,\n} from \"@stencil/core\";\nimport {\n getInputDescribedByText,\n hasValidationStatus,\n onComponentRequiredPropUndefined,\n removeDisabledFalse,\n} from \"../../utils/helpers\";\nimport { IcInformationStatusOrEmpty } from \"../../utils/types\";\nimport { IcChangeEventDetail } from \"./ic-checkbox-group.types\";\n\n@Component({\n tag: \"ic-checkbox-group\",\n styleUrl: \"ic-checkbox-group.css\",\n shadow: true,\n})\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport class CheckboxGroup {\n @Element() host: HTMLIcCheckboxGroupElement;\n\n /**\n * If `true`, the checkbox group will be set to the disabled state.\n */\n @Prop() disabled: boolean = false;\n\n /**\n * The helper text that will be displayed for additional field guidance.\n */\n @Prop() helperText: string = \"\";\n\n /**\n * If `true`, the label will be hidden and the required label value will be applied as an aria-label.\n */\n @Prop() hideLabel: boolean = false;\n\n /**\n * The label for the checkbox group to be displayed.\n */\n @Prop() label!: string;\n\n /**\n * The name for the checkbox group to differentiate from other groups.\n */\n @Prop() name!: string;\n\n /**\n * If `true`, the checkbox group will require a value.\n */\n @Prop() required: boolean = false;\n\n /**\n * If `true`, the small styling will be applied to the checkbox group.\n */\n @Prop() small: boolean = false;\n\n /**\n * The validation status - e.g. 'error' | 'warning' | 'success'.\n */\n @Prop() validationStatus: IcInformationStatusOrEmpty = \"\";\n\n /**\n * The validation text - e.g. 'error' | 'warning' | 'success'.\n */\n @Prop() validationText: string = \"\";\n\n /**\n * Emitted when a checkbox is checked.\n */\n @Event() icChange: EventEmitter<IcChangeEventDetail>;\n\n componentWillLoad(): void {\n removeDisabledFalse(this.disabled, this.host);\n }\n\n componentDidLoad(): void {\n Array.from(this.host.querySelectorAll(\"ic-checkbox\")).forEach(\n (checkbox) => {\n if (!checkbox.name) checkbox.name = this.name;\n checkbox.groupLabel = this.label;\n }\n );\n\n onComponentRequiredPropUndefined(\n [\n { prop: this.label, propName: \"label\" },\n { prop: this.name, propName: \"name\" },\n ],\n \"Checkbox Group\"\n );\n }\n\n @Listen(\"icCheck\")\n selectHandler(ev: CustomEvent): void {\n const checkedOptions = Array.from(\n this.host.querySelectorAll(\"ic-checkbox\")\n ).filter((checkbox) => checkbox.checked && !checkbox.disabled);\n this.icChange.emit({\n value: checkedOptions.map((opt) => opt.value),\n checkedOptions: checkedOptions.map((opt) => ({\n checkbox: opt,\n textFieldValue: opt.querySelector(\"ic-text-field\")?.value,\n })),\n selectedOption: ev.target as HTMLIcCheckboxElement,\n });\n }\n\n render() {\n const describedBy = getInputDescribedByText(\n this.name,\n this.helperText !== \"\",\n this.validationStatus !== \"\"\n );\n const hadValidationStatus = hasValidationStatus(\n this.validationStatus,\n this.disabled\n );\n\n return (\n <Host class={{ [\"small\"]: this.small }}>\n {(this.validationStatus === \"error\" ||\n this.required ||\n this.hideLabel) && (\n <span\n id=\"screenReaderOnlyText\"\n class=\"screen-reader-only-text\"\n aria-hidden=\"true\"\n >\n {this.label}{\" \"}\n {this.validationStatus === \"error\" ? \"invalid data \" : null}{\" \"}\n {this.required ? \"required\" : null}\n </span>\n )}\n <fieldset\n id={this.name}\n aria-labelledby={`${\n this.validationStatus === \"error\" || this.required || this.hideLabel\n ? \"screenReaderOnlyText\"\n : \"\"\n } ${describedBy}`.trim()}\n disabled={this.disabled}\n >\n {!this.hideLabel && (\n <legend>\n <ic-input-label\n class={{ [`${this.validationStatus}`]: true }}\n label={this.label}\n helperText={this.helperText}\n required={this.required}\n disabled={this.disabled}\n for={this.name}\n ></ic-input-label>\n </legend>\n )}\n <div class=\"checkboxes-container\">\n <slot></slot>\n </div>\n </fieldset>\n {hadValidationStatus && (\n <ic-input-validation\n for={this.name}\n ariaLiveMode=\"polite\"\n status={this.validationStatus}\n message={this.validationText}\n ></ic-input-validation>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,16 +1,20 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { d as addFormResetListener, a as onComponentRequiredPropUndefined, r as removeFormResetListener, e as renderHiddenInput, f as removeHiddenInput, i as isSlotUsed } from './helpers.js';
2
+ import { r as removeDisabledFalse, e as addFormResetListener, o as onComponentRequiredPropUndefined, f as removeFormResetListener, h as renderHiddenInput, j as removeHiddenInput, i as isSlotUsed } from './helpers.js';
3
3
  import { d as defineCustomElement$2 } from './ic-typography2.js';
4
4
 
5
- const icCheckboxCss = "/*! 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([disabled]){color:var(--ic-architectural-200);pointer-events:none}.container{display:flex;width:-moz-fit-content;width:fit-content;padding:var(--ic-space-xxs) 0 var(--ic-space-xxs) var(--ic-space-xxs);margin-bottom:var(--ic-space-xxs)}:host([small]) .container{margin-bottom:var(--ic-space-xxxs)}.checkbox{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:block;position:relative;top:0;left:0;height:var(--ic-space-lg);width:var(--ic-space-lg);background-color:transparent;border:0.063rem solid var(--ic-architectural-300);border-radius:var(--ic-border-radius);outline:none;cursor:pointer;transition:var(--ic-easing-transition-fast)}.checkbox:checked{background-color:var(--ic-action-default);border:0.063rem solid var(--ic-action-default);transition:var(--ic-easing-transition-slow)}.checkbox:checked:disabled{background-color:var(--ic-architectural-200)}.checkbox:indeterminate,.checkbox.indeterminate:checked{background-color:transparent;border:0.125rem solid var(--ic-action-default)}.checkbox:checked:hover{background-color:var(--ic-action-default-hover)}.checkbox:indeterminate:hover,.checkbox.indeterminate:checked:hover{background-color:var(--ic-action-default-bg-hover);border:0.125rem solid var(--ic-action-default-hover)}.checkbox:checked:active{background-color:var(--ic-action-default-active)}.checkbox:indeterminate:active,.checkbox.indeterminate:checked:active{background-color:var(--ic-action-default-bg-active);border:0.125rem solid var(--ic-action-default-active)}.checkbox:hover{background-color:var(--ic-action-default-bg-hover);box-shadow:0 0 0 0.25rem var(--ic-action-default-bg-hover);border:0.063rem solid var(--ic-action-default-hover)}.checkbox:active{background-color:var(--ic-action-default-bg-active);box-shadow:0 0 0 0.25rem var(--ic-action-default-bg-active);border:0.063rem solid var(--ic-action-default-active)}.checkbox:focus{box-shadow:var(--ic-border-focus)}.checkbox:disabled{border:0.063rem dashed var(--ic-architectural-200)}.checkbox-label{padding-left:var(--ic-space-sm)}.checkbox-label:hover{cursor:pointer}.checkmark{position:relative;right:calc(-1 * var(--ic-space-lg));margin-left:calc(-1 * var(--ic-space-lg));fill:white;z-index:1;background-color:transparent;pointer-events:none}.indeterminate-symbol{position:relative;width:0.875rem;height:var(--ic-space-xxxs);top:0.688rem;right:-1.188rem;margin-left:-0.875rem;z-index:1;background-color:var(--ic-action-default);pointer-events:none}.container:hover .indeterminate-symbol{background-color:var(--ic-action-default-hover)}.container:active .indeterminate-symbol{background-color:var(--ic-action-default-active)}.additional-field-wrapper{margin-left:calc(var(--ic-space-md) + var(--ic-space-lg));margin-top:calc(var(--ic-space-sm) / 2)}.branch-corner{color:var(--ic-action-default);height:var(--ic-space-md);width:var(--ic-space-xl);border-radius:0 0 0 0.188rem;border-bottom:0.125rem solid var(--ic-action-default);border-left:0.125rem solid var(--ic-action-default)}.dynamic-container{display:flex;position:relative;margin:var(--ic-space-xxxs) 0 var(--ic-space-xxs) var(--ic-space-md);gap:var(--ic-space-xs)}.dynamic-text{color:var(--ic-action-default);margin-top:calc(var(--ic-space-sm) / 2);margin-bottom:var(--ic-space-xs);border-radius:2%}@media (max-width: 576px){::slotted(ic-text-field){--input-width:100%}}@media (forced-colors: active){.checkbox{-webkit-appearance:revert;-moz-appearance:revert;appearance:revert;transition:none}.checkbox:checked{transition:none}.checkbox:focus-visible{outline:0.125rem solid highlight}.checkbox:disabled:not(:checked){-webkit-appearance:none;-moz-appearance:none;appearance:none;border-color:GrayText}.checkmark{fill:none}.indeterminate-symbol{display:none}}";
5
+ const icCheckboxCss = "/*! 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(.disabled){color:var(--ic-architectural-200);pointer-events:none}.container{display:flex;width:-moz-fit-content;width:fit-content;padding:var(--ic-space-xxs) 0 var(--ic-space-xxs) var(--ic-space-xxs);margin-bottom:var(--ic-space-xxs);align-items:center}:host(.small) .container{margin-bottom:var(--ic-space-xxxs)}.checkbox{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:block;position:relative;top:0;left:0;height:var(--ic-space-lg);width:var(--ic-space-lg);background-color:transparent;border:var(--ic-space-1px) solid var(--ic-architectural-300);border-radius:var(--ic-border-radius);outline:none;cursor:pointer;transition:var(--ic-easing-transition-fast);flex-shrink:0}.checkbox:checked{background-color:var(--ic-action-default);border:var(--ic-space-1px) solid var(--ic-action-default);transition:var(--ic-easing-transition-slow)}.checkbox:checked:disabled{background-color:var(--ic-architectural-200)}.checkbox:indeterminate,.checkbox.indeterminate:checked{background-color:transparent;border:0.125rem solid var(--ic-action-default)}.checkbox:checked:hover{background-color:var(--ic-action-default-hover)}.checkbox:indeterminate:hover,.checkbox.indeterminate:checked:hover{background-color:var(--ic-action-default-bg-hover);border:0.125rem solid var(--ic-action-default-hover)}.checkbox:checked:active{background-color:var(--ic-action-default-active)}.checkbox:indeterminate:active,.checkbox.indeterminate:checked:active{background-color:var(--ic-action-default-bg-active);border:0.125rem solid var(--ic-action-default-active)}.checkbox:hover{background-color:var(--ic-action-default-bg-hover);box-shadow:0 0 0 0.25rem var(--ic-action-default-bg-hover);border:var(--ic-space-1px) solid var(--ic-action-default-hover)}.checkbox:active{background-color:var(--ic-action-default-bg-active);box-shadow:0 0 0 0.25rem var(--ic-action-default-bg-active);border:var(--ic-space-1px) solid var(--ic-action-default-active)}.checkbox:focus{box-shadow:var(--ic-border-focus)}.checkbox:disabled{border:var(--ic-space-1px) dashed var(--ic-architectural-200)}.checkbox-label{padding-left:var(--ic-space-sm)}.checkbox-label:hover{cursor:pointer}.checkmark{position:relative;right:calc(-1 * var(--ic-space-lg));margin-left:calc(-1 * var(--ic-space-lg));fill:white;z-index:1;background-color:transparent;pointer-events:none;flex-shrink:0}.indeterminate-symbol{position:relative;width:0.875rem;height:var(--ic-space-xxxs);right:-1.188rem;margin-left:-0.875rem;z-index:1;background-color:var(--ic-action-default);pointer-events:none;flex-shrink:0}.container:hover .indeterminate-symbol{background-color:var(--ic-action-default-hover)}.container:active .indeterminate-symbol{background-color:var(--ic-action-default-active)}.additional-field-wrapper{margin-left:calc(var(--ic-space-md) + var(--ic-space-lg));margin-top:calc(var(--ic-space-sm) / 2)}.branch-corner{color:var(--ic-action-default);height:var(--ic-space-md);width:var(--ic-space-xl);border-radius:0 0 0 0.188rem;border-bottom:0.125rem solid var(--ic-action-default);border-left:0.125rem solid var(--ic-action-default)}.dynamic-container{display:flex;position:relative;margin:var(--ic-space-xxxs) 0 var(--ic-space-xxs) var(--ic-space-md);gap:var(--ic-space-xs)}.dynamic-text{color:var(--ic-action-default);margin-top:calc(var(--ic-space-sm) / 2);margin-bottom:var(--ic-space-xs);border-radius:2%}@media (max-width: 576px){::slotted(ic-text-field){--input-width:100%}}@media (forced-colors: active){.checkbox{-webkit-appearance:revert;-moz-appearance:revert;appearance:revert;transition:none}.checkbox:checked{transition:none}.checkbox:focus-visible{outline:0.125rem solid highlight}.checkbox:disabled:not(:checked){-webkit-appearance:none;-moz-appearance:none;appearance:none;border-color:GrayText}.checkmark{fill:none}.indeterminate-symbol{display:none}}";
6
6
 
7
- const Checkbox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
7
+ const Checkbox = /*@__PURE__*/ proxyCustomElement(class Checkbox extends HTMLElement {
8
8
  constructor() {
9
9
  super();
10
10
  this.__registerHost();
11
11
  this.__attachShadow();
12
12
  this.checkboxChecked = createEvent(this, "checkboxChecked", 7);
13
13
  this.icCheck = createEvent(this, "icCheck", 7);
14
+ this.IC_TEXT_FIELD = "ic-text-field";
15
+ this.eventHandler = (event) => {
16
+ event.stopImmediatePropagation();
17
+ };
14
18
  this.handleClick = () => {
15
19
  this.checked = !this.checked;
16
20
  this.icCheck.emit();
@@ -19,29 +23,34 @@ const Checkbox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
19
23
  this.handleFormReset = () => {
20
24
  this.checked = this.initiallyChecked;
21
25
  };
26
+ this.additionalFieldDisplay = "static";
22
27
  this.checked = false;
28
+ this.initiallyChecked = this.checked;
23
29
  this.disabled = false;
24
- this.label = undefined;
25
- this.value = undefined;
26
- this.name = undefined;
27
- this.groupLabel = undefined;
28
30
  this.dynamicText = "This selection requires additional answers";
29
- this.additionalFieldDisplay = "static";
31
+ this.groupLabel = undefined;
30
32
  this.indeterminate = false;
31
- this.initiallyChecked = this.checked;
33
+ this.label = undefined;
34
+ this.name = undefined;
35
+ this.small = false;
36
+ this.value = undefined;
32
37
  }
33
- /**
34
- * Sets focus on the checkbox.
35
- */
36
- async setFocus() {
37
- const checkboxEl = this.host.shadowRoot.querySelector(".checkbox");
38
- if (checkboxEl) {
39
- checkboxEl.focus();
40
- }
38
+ componentWillLoad() {
39
+ var _a;
40
+ removeDisabledFalse(this.disabled, this.host);
41
+ addFormResetListener(this.host, this.handleFormReset);
42
+ (_a = this.host
43
+ .querySelector(this.IC_TEXT_FIELD)) === null || _a === void 0 ? void 0 : _a.addEventListener("icChange", this.eventHandler);
44
+ }
45
+ componentDidLoad() {
46
+ onComponentRequiredPropUndefined([
47
+ { prop: this.label, propName: "label" },
48
+ { prop: this.value, propName: "value" },
49
+ ], "Checkbox");
41
50
  }
42
51
  componentDidRender() {
43
52
  if (this.additionalFieldDisplay === "static") {
44
- const textfield = this.host.querySelector("ic-text-field");
53
+ const textfield = this.host.querySelector(this.IC_TEXT_FIELD);
45
54
  if (!this.checked) {
46
55
  textfield && textfield.setAttribute("disabled", "");
47
56
  }
@@ -58,17 +67,20 @@ const Checkbox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
58
67
  }
59
68
  }
60
69
  }
61
- componentWillLoad() {
62
- addFormResetListener(this.host, this.handleFormReset);
63
- }
64
- componentDidLoad() {
65
- onComponentRequiredPropUndefined([
66
- { prop: this.label, propName: "label" },
67
- { prop: this.value, propName: "value" },
68
- ], "Checkbox");
69
- }
70
70
  disconnectedCallback() {
71
+ var _a;
71
72
  removeFormResetListener(this.host, this.handleFormReset);
73
+ (_a = this.host
74
+ .querySelector(this.IC_TEXT_FIELD)) === null || _a === void 0 ? void 0 : _a.removeEventListener("icChange", this.eventHandler);
75
+ }
76
+ /**
77
+ * Sets focus on the checkbox.
78
+ */
79
+ async setFocus() {
80
+ const checkboxEl = this.host.shadowRoot.querySelector(".checkbox");
81
+ if (checkboxEl) {
82
+ checkboxEl.focus();
83
+ }
72
84
  }
73
85
  render() {
74
86
  let id = `ic-checkbox-${this.label !== undefined ? this.label : this.value}-${this.groupLabel}`;
@@ -76,11 +88,11 @@ const Checkbox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
76
88
  this.checked
77
89
  ? renderHiddenInput(true, this.host, this.name, this.checked && this.value, this.disabled)
78
90
  : removeHiddenInput(this.host);
79
- return (h(Host, null, h("div", { class: { ["container"]: true, ["disabled"]: this.disabled } }, this.checked && !this.indeterminate && (h("svg", { class: "checkmark", width: "1.5rem", height: "1.5rem", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "fill-rule": "evenodd", "clip-rule": "evenodd" }, h("title", null, "checkmark icon"), h("path", { d: "M21 6.285l-11.16 12.733-6.84-6.018 1.319-1.49 5.341 4.686 9.865-11.196 1.475 1.285z" }))), this.checked && this.indeterminate && (h("div", { class: "indeterminate-symbol" })), h("input", { role: "checkbox", class: {
91
+ return (h(Host, { class: { ["disabled"]: this.disabled, ["small"]: this.small } }, h("div", { class: "container" }, this.checked && !this.indeterminate && (h("svg", { class: "checkmark", width: "1.5rem", height: "1.5rem", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "fill-rule": "evenodd", "clip-rule": "evenodd" }, h("title", null, "checkmark icon"), h("path", { d: "M21 6.285l-11.16 12.733-6.84-6.018 1.319-1.49 5.341 4.686 9.865-11.196 1.475 1.285z" }))), this.checked && this.indeterminate && (h("div", { class: "indeterminate-symbol" })), h("input", { role: "checkbox", class: {
80
92
  ["checkbox"]: true,
81
93
  ["checked"]: this.checked,
82
94
  ["indeterminate"]: this.indeterminate,
83
- }, type: "checkbox", name: this.name, id: id, value: this.value, disabled: this.disabled ? true : null, checked: this.checked, indeterminate: this.indeterminate, onClick: this.handleClick }), h("ic-typography", { variant: "body" }, h("label", { class: "checkbox-label", htmlFor: id }, this.label))), isSlotUsed(this.host, "additional-field") && (h("div", { class: "dynamic-container", ref: (el) => (this.additionalFieldContainer = el) }, this.additionalFieldDisplay === "dynamic" && (h("div", { class: "branch-corner" })), h("div", null, this.additionalFieldDisplay === "dynamic" && (h("ic-typography", { variant: "caption" }, h("p", { class: "dynamic-text", "aria-live": "polite" }, this.dynamicText))), h("div", { class: {
95
+ }, type: "checkbox", name: this.name, id: id, value: this.value, disabled: this.disabled ? true : null, checked: this.checked, indeterminate: this.indeterminate, onClick: this.handleClick }), h("ic-typography", { class: "checkbox-label", variant: "body" }, h("label", { htmlFor: id }, this.label))), isSlotUsed(this.host, "additional-field") && (h("div", { class: "dynamic-container", ref: (el) => (this.additionalFieldContainer = el) }, this.additionalFieldDisplay === "dynamic" && (h("div", { class: "branch-corner" })), h("div", null, this.additionalFieldDisplay === "dynamic" && (h("ic-typography", { variant: "caption" }, h("p", { class: "dynamic-text", "aria-live": "polite" }, this.dynamicText))), h("div", { class: {
84
96
  "additional-field-wrapper": this.additionalFieldDisplay === "static",
85
97
  } }, h("slot", { name: "additional-field" })))))));
86
98
  }
@@ -88,15 +100,16 @@ const Checkbox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
88
100
  get host() { return this; }
89
101
  static get style() { return icCheckboxCss; }
90
102
  }, [17, "ic-checkbox", {
103
+ "additionalFieldDisplay": [513, "additional-field-display"],
91
104
  "checked": [1540],
92
105
  "disabled": [4],
93
- "label": [1],
94
- "value": [1],
95
- "name": [1],
96
- "groupLabel": [1, "group-label"],
97
106
  "dynamicText": [1, "dynamic-text"],
98
- "additionalFieldDisplay": [513, "additional-field-display"],
107
+ "groupLabel": [1, "group-label"],
99
108
  "indeterminate": [4],
109
+ "label": [1],
110
+ "name": [1],
111
+ "small": [4],
112
+ "value": [1],
100
113
  "initiallyChecked": [32],
101
114
  "setFocus": [64]
102
115
  }]);