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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1216) 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/{close-icon-8ccb0163.js → close-icon-04be4880.js} +2 -2
  6. package/dist/cjs/close-icon-04be4880.js.map +1 -0
  7. package/dist/cjs/core.cjs.js +10 -3
  8. package/dist/cjs/core.cjs.js.map +1 -1
  9. package/dist/cjs/{helpers-6eb26e7a.js → helpers-3811d14b.js} +43 -37
  10. package/dist/cjs/helpers-3811d14b.js.map +1 -0
  11. package/dist/cjs/ic-alert.cjs.entry.js +12 -12
  12. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  13. package/dist/cjs/ic-back-to-top.cjs.entry.js +5 -5
  14. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +39 -33
  16. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
  17. package/dist/cjs/ic-breadcrumb.cjs.entry.js +14 -13
  18. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
  19. package/dist/cjs/ic-button_3.cjs.entry.js +280 -120
  20. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  21. package/dist/cjs/ic-card.cjs.entry.js +46 -45
  22. package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-checkbox-group.cjs.entry.js +25 -23
  24. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ic-checkbox.cjs.entry.js +47 -29
  26. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ic-chip.cjs.entry.js +18 -15
  28. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  29. package/dist/cjs/ic-classification-banner.cjs.entry.js +1 -1
  30. package/dist/cjs/ic-data-entity.cjs.entry.js +2 -2
  31. package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -1
  32. package/dist/cjs/ic-data-row.cjs.entry.js +38 -24
  33. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  34. package/dist/cjs/ic-dialog.cjs.entry.js +295 -0
  35. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -0
  36. package/dist/cjs/ic-divider.cjs.entry.js +3 -3
  37. package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
  38. package/dist/cjs/ic-empty-state.cjs.entry.js +37 -0
  39. package/dist/cjs/ic-empty-state.cjs.entry.js.map +1 -0
  40. package/dist/cjs/ic-footer-link-group.cjs.entry.js +18 -18
  41. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
  42. package/dist/cjs/ic-footer-link.cjs.entry.js +23 -17
  43. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
  44. package/dist/cjs/ic-footer.cjs.entry.js +26 -21
  45. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  46. package/dist/cjs/ic-hero.cjs.entry.js +23 -21
  47. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  48. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +45 -26
  49. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
  50. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +299 -159
  51. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  52. package/dist/cjs/ic-input-label_2.cjs.entry.js +11 -11
  53. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
  54. package/dist/cjs/ic-link.cjs.entry.js +22 -23
  55. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  56. package/dist/cjs/ic-menu-group.cjs.entry.js +24 -0
  57. package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -0
  58. package/dist/cjs/ic-menu-item.cjs.entry.js +122 -0
  59. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -0
  60. package/dist/cjs/ic-navigation-button.cjs.entry.js +19 -19
  61. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
  62. package/dist/cjs/ic-navigation-group.cjs.entry.js +113 -66
  63. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  64. package/dist/cjs/ic-navigation-item.cjs.entry.js +48 -42
  65. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  66. package/dist/cjs/ic-navigation-menu.cjs.entry.js +28 -34
  67. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
  68. package/dist/cjs/ic-page-header.cjs.entry.js +24 -27
  69. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  70. package/dist/cjs/ic-pagination-item.cjs.entry.js +56 -0
  71. package/dist/cjs/ic-pagination-item.cjs.entry.js.map +1 -0
  72. package/dist/cjs/ic-pagination.cjs.entry.js +227 -0
  73. package/dist/cjs/ic-pagination.cjs.entry.js.map +1 -0
  74. package/dist/cjs/ic-popover-menu.cjs.entry.js +289 -0
  75. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -0
  76. package/dist/cjs/ic-radio-group.cjs.entry.js +43 -25
  77. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  78. package/dist/cjs/ic-radio-option.cjs.entry.js +39 -38
  79. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  80. package/dist/cjs/ic-search-bar.cjs.entry.js +181 -104
  81. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  82. package/dist/cjs/ic-section-container.cjs.entry.js +1 -1
  83. package/dist/cjs/ic-select.cjs.entry.js +349 -190
  84. package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
  85. package/dist/cjs/ic-side-navigation.cjs.entry.js +129 -91
  86. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  87. package/dist/cjs/ic-skeleton.cjs.entry.js +4 -4
  88. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
  89. package/dist/cjs/ic-status-tag.cjs.entry.js +6 -6
  90. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  91. package/dist/cjs/ic-step.cjs.entry.js +10 -10
  92. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  93. package/dist/cjs/ic-stepper.cjs.entry.js +15 -15
  94. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  95. package/dist/cjs/ic-switch.cjs.entry.js +20 -19
  96. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  97. package/dist/cjs/ic-tab-context.cjs.entry.js +68 -32
  98. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  99. package/dist/cjs/ic-tab-group.cjs.entry.js +5 -4
  100. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  101. package/dist/cjs/ic-tab-panel.cjs.entry.js +15 -4
  102. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
  103. package/dist/cjs/ic-tab.cjs.entry.js +32 -7
  104. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
  105. package/dist/cjs/ic-text-field.cjs.entry.js +102 -72
  106. package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
  107. package/dist/cjs/ic-theme.cjs.entry.js +2 -2
  108. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
  109. package/dist/cjs/ic-toast-region.cjs.entry.js +13 -13
  110. package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
  111. package/dist/cjs/ic-toast.cjs.entry.js +61 -57
  112. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  113. package/dist/cjs/ic-top-navigation.cjs.entry.js +49 -45
  114. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  115. package/dist/cjs/ic-typography.cjs.entry.js +105 -5
  116. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  117. package/dist/cjs/{index-f79a4e53.js → index-2a0c6769.js} +260 -43
  118. package/dist/cjs/index-2a0c6769.js.map +1 -0
  119. package/dist/cjs/loader.cjs.js +4 -3
  120. package/dist/cjs/loader.cjs.js.map +1 -1
  121. package/dist/cjs/{popper-11d5f714.js → popper-d7adcfc6.js} +10 -17
  122. package/dist/cjs/popper-d7adcfc6.js.map +1 -0
  123. package/dist/cjs/types-3eb02246.js.map +1 -1
  124. package/dist/collection/assets/close-icon.svg +1 -1
  125. package/dist/collection/assets/error-icon.svg +3 -2
  126. package/dist/collection/assets/hamburger-menu-icon.svg +1 -1
  127. package/dist/collection/assets/info-icon.svg +3 -2
  128. package/dist/collection/assets/neutral-icon.svg +4 -3
  129. package/dist/collection/assets/pagination-first-last.svg +3 -0
  130. package/dist/collection/assets/pagination-next-previous.svg +3 -0
  131. package/dist/collection/assets/success-icon.svg +3 -2
  132. package/dist/collection/assets/warning-icon.svg +3 -2
  133. package/dist/collection/collection-manifest.json +18 -11
  134. package/dist/collection/components/ic-alert/ic-alert.css +10 -10
  135. package/dist/collection/components/ic-alert/ic-alert.js +50 -50
  136. package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
  137. package/dist/collection/components/ic-alert/{ic-alert.test.a11y.js → test/a11y/ic-alert.test.a11y.js} +1 -1
  138. package/dist/collection/components/ic-alert/test/a11y/ic-alert.test.a11y.js.map +1 -0
  139. package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js +16 -0
  140. package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js.map +1 -0
  141. package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js +182 -0
  142. package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js.map +1 -0
  143. package/dist/collection/components/ic-back-to-top/ic-back-to-top.css +3 -3
  144. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +4 -4
  145. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js.map +1 -1
  146. package/dist/collection/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.js.map +1 -0
  147. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js +68 -0
  148. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js.map +1 -0
  149. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js +123 -0
  150. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js.map +1 -0
  151. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.css +19 -4
  152. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +28 -27
  153. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
  154. package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js +118 -0
  155. package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js.map +1 -0
  156. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +37 -31
  157. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +1 -1
  158. package/dist/collection/components/ic-breadcrumb-group/{ic-breadcrumb-group.test.a11y.js → test/a11y/ic-breadcrumb-group.test.a11y.js} +1 -1
  159. package/dist/collection/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.js.map +1 -0
  160. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group-test-examples.js.map +1 -0
  161. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.e2e.js +41 -0
  162. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.e2e.js.map +1 -0
  163. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js +181 -0
  164. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js.map +1 -0
  165. package/dist/collection/components/ic-button/ic-button.css +42 -11
  166. package/dist/collection/components/ic-button/ic-button.js +291 -119
  167. package/dist/collection/components/ic-button/ic-button.js.map +1 -1
  168. package/dist/collection/components/ic-button/ic-button.types.js.map +1 -1
  169. package/dist/collection/components/ic-button/{ic-button.test.a11y.js → test/a11y/ic-button.test.a11y.js} +1 -1
  170. package/dist/collection/components/ic-button/test/a11y/ic-button.test.a11y.js.map +1 -0
  171. package/dist/collection/components/ic-button/test/basic/ic-button.e2e.js +198 -0
  172. package/dist/collection/components/ic-button/test/basic/ic-button.e2e.js.map +1 -0
  173. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js +271 -0
  174. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js.map +1 -0
  175. package/dist/collection/components/ic-card/ic-card.css +35 -10
  176. package/dist/collection/components/ic-card/ic-card.js +123 -122
  177. package/dist/collection/components/ic-card/ic-card.js.map +1 -1
  178. package/dist/collection/components/ic-card/{ic-card.test.a11y.js → test/a11y/ic-card.test.a11y.js} +1 -1
  179. package/dist/collection/components/ic-card/test/a11y/ic-card.test.a11y.js.map +1 -0
  180. package/dist/collection/components/ic-card/test/basic/ic-card.e2e.js +23 -0
  181. package/dist/collection/components/ic-card/test/basic/ic-card.e2e.js.map +1 -0
  182. package/dist/collection/components/ic-card/test/basic/ic-card.spec.js +152 -0
  183. package/dist/collection/components/ic-card/test/basic/ic-card.spec.js.map +1 -0
  184. package/dist/collection/components/ic-checkbox/ic-checkbox.css +45 -8
  185. package/dist/collection/components/ic-checkbox/ic-checkbox.js +128 -66
  186. package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
  187. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.css +3 -3
  188. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +88 -64
  189. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
  190. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.types.js.map +1 -1
  191. package/dist/collection/components/ic-checkbox-group/{ic-checkbox-group.test.a11y.js → test/a11y/ic-checkbox-group.test.a11y.js} +1 -1
  192. package/dist/collection/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.js.map +1 -0
  193. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.e2e.js +201 -0
  194. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.e2e.js.map +1 -0
  195. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js +203 -0
  196. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js.map +1 -0
  197. package/dist/collection/components/ic-chip/ic-chip.css +11 -10
  198. package/dist/collection/components/ic-chip/ic-chip.js +55 -52
  199. package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
  200. package/dist/collection/components/ic-chip/ic-chip.types.js.map +1 -1
  201. package/dist/collection/components/ic-chip/{ic-chip.test.a11y.js → test/a11y/ic-chip.test.a11y.js} +1 -1
  202. package/dist/collection/components/ic-chip/test/a11y/ic-chip.test.a11y.js.map +1 -0
  203. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js +110 -0
  204. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js.map +1 -0
  205. package/dist/collection/components/ic-classification-banner/{ic-classification-banner.test.a11y.js → test/a11y/ic-classification-banner.test.a11y.js} +1 -1
  206. package/dist/collection/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.js.map +1 -0
  207. package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js +140 -0
  208. package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js.map +1 -0
  209. package/dist/collection/components/ic-data-entity/ic-data-entity.css +1 -1
  210. package/dist/collection/components/ic-data-entity/{ic-data-entity.test.a11y.js → test/a11y/ic-data-entity.test.a11y.js} +1 -1
  211. package/dist/collection/components/ic-data-entity/test/a11y/ic-data-entity.test.a11y.js.map +1 -0
  212. package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js +161 -0
  213. package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js.map +1 -0
  214. package/dist/collection/components/ic-data-row/ic-data-row.css +1 -1
  215. package/dist/collection/components/ic-data-row/ic-data-row.js +51 -37
  216. package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -1
  217. package/dist/collection/components/ic-data-row/{ic-data-row.test.a11y.js → test/a11y/ic-data-row.test.a11y.js} +1 -1
  218. package/dist/collection/components/ic-data-row/test/a11y/ic-data-row.test.a11y.js.map +1 -0
  219. package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js +74 -0
  220. package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js.map +1 -0
  221. package/dist/collection/components/ic-dialog/ic-dialog.css +592 -0
  222. package/dist/collection/components/ic-dialog/ic-dialog.js +640 -0
  223. package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -0
  224. package/dist/collection/components/ic-dialog/test/a11y/ic-dialog.test.a11y.js +28 -0
  225. package/dist/collection/components/ic-dialog/test/a11y/ic-dialog.test.a11y.js.map +1 -0
  226. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js +207 -0
  227. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js.map +1 -0
  228. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js +520 -0
  229. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js.map +1 -0
  230. package/dist/collection/components/ic-divider/ic-divider.css +1 -1
  231. package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js +24 -0
  232. package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js.map +1 -0
  233. package/dist/collection/components/ic-empty-state/ic-empty-state.css +49 -0
  234. package/dist/collection/components/ic-empty-state/ic-empty-state.js +158 -0
  235. package/dist/collection/components/ic-empty-state/ic-empty-state.js.map +1 -0
  236. package/dist/collection/components/ic-empty-state/ic-empty-state.types.js +2 -0
  237. package/dist/collection/components/ic-empty-state/ic-empty-state.types.js.map +1 -0
  238. package/dist/collection/components/ic-empty-state/test/a11y/ic-empty-state.test.a11y.js +38 -0
  239. package/dist/collection/components/ic-empty-state/test/a11y/ic-empty-state.test.a11y.js.map +1 -0
  240. package/dist/collection/components/ic-empty-state/test/basic/ic-empty-state.spec.js +86 -0
  241. package/dist/collection/components/ic-empty-state/test/basic/ic-empty-state.spec.js.map +1 -0
  242. package/dist/collection/components/ic-footer/ic-footer.css +2 -2
  243. package/dist/collection/components/ic-footer/ic-footer.js +54 -49
  244. package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
  245. package/dist/collection/components/ic-footer/{ic-footer.test.a11y.js → test/a11y/ic-footer.test.a11y.js} +1 -1
  246. package/dist/collection/components/ic-footer/test/a11y/ic-footer.test.a11y.js.map +1 -0
  247. package/dist/collection/components/ic-footer/test/basic/ic-footer.e2e.js +50 -0
  248. package/dist/collection/components/ic-footer/test/basic/ic-footer.e2e.js.map +1 -0
  249. package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js +140 -0
  250. package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js.map +1 -0
  251. package/dist/collection/components/ic-footer-link/ic-footer-link.css +36 -4
  252. package/dist/collection/components/ic-footer-link/ic-footer-link.js +111 -15
  253. package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -1
  254. package/dist/collection/components/ic-footer-link/{ic-footer-link.test.a11y.js → test/a11y/ic-footer-link.test.a11y.js} +1 -1
  255. package/dist/collection/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.js.map +1 -0
  256. package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js +62 -0
  257. package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js.map +1 -0
  258. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +18 -18
  259. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -1
  260. 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
  261. package/dist/collection/components/ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.js.map +1 -0
  262. package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js +98 -0
  263. package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js.map +1 -0
  264. package/dist/collection/components/ic-hero/ic-hero.css +23 -22
  265. package/dist/collection/components/ic-hero/ic-hero.js +97 -95
  266. package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
  267. package/dist/collection/components/ic-hero/{ic-hero.test.a11y.js → test/a11y/ic-hero.test.a11y.js} +1 -1
  268. package/dist/collection/components/ic-hero/test/a11y/ic-hero.test.a11y.js.map +1 -0
  269. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js +76 -0
  270. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js.map +1 -0
  271. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.css +4 -8
  272. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +44 -25
  273. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -1
  274. package/dist/collection/components/ic-horizontal-scroll/{ic-horizontal-scroll.test.a11y.js → test/a11y/ic-horizontal-scroll.test.a11y.js} +1 -1
  275. package/dist/collection/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.js.map +1 -0
  276. package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js +180 -0
  277. package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js.map +1 -0
  278. package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +38 -9
  279. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +45 -45
  280. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -1
  281. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js +117 -0
  282. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +1 -0
  283. package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js +38 -0
  284. package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js.map +1 -0
  285. package/dist/collection/components/ic-input-label/ic-input-label.css +0 -4
  286. package/dist/collection/components/ic-input-label/ic-input-label.js +51 -51
  287. package/dist/collection/components/ic-input-label/ic-input-label.js.map +1 -1
  288. package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js +98 -0
  289. package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js.map +1 -0
  290. package/dist/collection/components/ic-input-validation/ic-input-validation.css +1 -9
  291. package/dist/collection/components/ic-input-validation/ic-input-validation.js +41 -41
  292. package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +1 -1
  293. package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js +89 -0
  294. package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js.map +1 -0
  295. package/dist/collection/components/ic-link/ic-link.css +16 -3
  296. package/dist/collection/components/ic-link/ic-link.js +55 -52
  297. package/dist/collection/components/ic-link/ic-link.js.map +1 -1
  298. package/dist/collection/components/ic-link/{ic-link.test.a11y.js → test/a11y/ic-link.test.a11y.js} +1 -1
  299. package/dist/collection/components/ic-link/test/a11y/ic-link.test.a11y.js.map +1 -0
  300. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js +203 -0
  301. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js.map +1 -0
  302. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +5 -5
  303. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +97 -89
  304. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
  305. package/dist/collection/components/ic-loading-indicator/{ic-loading-indicator.test.a11y.js → test/a11y/ic-loading-indicator.test.a11y.js} +1 -1
  306. package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js.map +1 -0
  307. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js +34 -0
  308. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js.map +1 -0
  309. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js +141 -0
  310. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js.map +1 -0
  311. package/dist/collection/components/ic-menu/ic-menu.css +47 -10
  312. package/dist/collection/components/ic-menu/ic-menu.js +521 -268
  313. package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
  314. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js +657 -0
  315. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +1 -0
  316. package/dist/collection/components/ic-menu-group/ic-menu-group.css +465 -0
  317. package/dist/collection/components/ic-menu-group/ic-menu-group.js +45 -0
  318. package/dist/collection/components/ic-menu-group/ic-menu-group.js.map +1 -0
  319. package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js +94 -0
  320. package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js.map +1 -0
  321. package/dist/collection/components/ic-menu-item/ic-menu-item.css +628 -0
  322. package/dist/collection/components/ic-menu-item/ic-menu-item.js +394 -0
  323. package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -0
  324. package/dist/collection/components/ic-menu-item/ic-menu-item.types.js +2 -0
  325. package/dist/collection/components/ic-menu-item/ic-menu-item.types.js.map +1 -0
  326. package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js +108 -0
  327. package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js.map +1 -0
  328. package/dist/collection/components/ic-navigation-button/ic-navigation-button.css +5 -0
  329. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +57 -57
  330. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
  331. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js +84 -0
  332. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js.map +1 -0
  333. package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +8 -12
  334. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +127 -80
  335. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
  336. package/dist/collection/components/ic-navigation-group/{ic-navigation-group.test.a11y.js → test/a11y/ic-navigation-group.test.a11y.js} +1 -1
  337. package/dist/collection/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.js.map +1 -0
  338. package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js +309 -0
  339. package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js.map +1 -0
  340. package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +63 -17
  341. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +179 -83
  342. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
  343. package/dist/collection/components/ic-navigation-item/{ic-navigation-item.test.a11y.js → test/a11y/ic-navigation-item.test.a11y.js} +1 -1
  344. package/dist/collection/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.js.map +1 -0
  345. package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js +118 -0
  346. package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js.map +1 -0
  347. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +19 -18
  348. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +31 -37
  349. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -1
  350. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.e2e.js +29 -0
  351. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.e2e.js.map +1 -0
  352. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js +176 -0
  353. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js.map +1 -0
  354. package/dist/collection/components/ic-page-header/ic-page-header.css +3 -1
  355. package/dist/collection/components/ic-page-header/ic-page-header.js +65 -68
  356. package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
  357. package/dist/collection/components/ic-page-header/{ic-page-header.test.a11y.js → test/a11y/ic-page-header.test.a11y.js} +1 -1
  358. package/dist/collection/components/ic-page-header/test/a11y/ic-page-header.test.a11y.js.map +1 -0
  359. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js +177 -0
  360. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js.map +1 -0
  361. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js +284 -0
  362. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js.map +1 -0
  363. package/dist/collection/components/ic-pagination/ic-pagination.css +486 -0
  364. package/dist/collection/components/ic-pagination/ic-pagination.js +498 -0
  365. package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -0
  366. package/dist/collection/components/ic-pagination/ic-pagination.types.js +2 -0
  367. package/dist/collection/components/ic-pagination/ic-pagination.types.js.map +1 -0
  368. package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js +11 -0
  369. package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js.map +1 -0
  370. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js +128 -0
  371. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js.map +1 -0
  372. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js +335 -0
  373. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js.map +1 -0
  374. package/dist/collection/components/ic-pagination-item/ic-pagination-item.css +581 -0
  375. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +229 -0
  376. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js.map +1 -0
  377. package/dist/collection/components/ic-pagination-item/ic-pagination-item.types.js +2 -0
  378. package/dist/collection/components/ic-pagination-item/ic-pagination-item.types.js.map +1 -0
  379. package/dist/collection/components/ic-popover-menu/ic-popover-menu.css +548 -0
  380. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +485 -0
  381. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -0
  382. package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js +13 -0
  383. package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js.map +1 -0
  384. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js +30 -0
  385. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js.map +1 -0
  386. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js +395 -0
  387. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js.map +1 -0
  388. package/dist/collection/components/ic-radio-group/ic-radio-group.css +4 -4
  389. package/dist/collection/components/ic-radio-group/ic-radio-group.js +104 -80
  390. package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
  391. package/dist/collection/components/ic-radio-group/ic-radio-group.types.js +2 -0
  392. package/dist/collection/components/ic-radio-group/ic-radio-group.types.js.map +1 -0
  393. package/dist/collection/components/ic-radio-group/{ic-radio-group.test.a11y.js → test/a11y/ic-radio-group.test.a11y.js} +1 -1
  394. package/dist/collection/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.js.map +1 -0
  395. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js +343 -0
  396. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js.map +1 -0
  397. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js +303 -0
  398. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js.map +1 -0
  399. package/dist/collection/components/ic-radio-option/ic-radio-option.css +6 -6
  400. package/dist/collection/components/ic-radio-option/ic-radio-option.js +111 -96
  401. package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
  402. package/dist/collection/components/ic-search-bar/ic-search-bar.css +6 -10
  403. package/dist/collection/components/ic-search-bar/ic-search-bar.js +495 -301
  404. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
  405. package/dist/collection/components/ic-search-bar/ic-search-bar.types.js.map +1 -1
  406. package/dist/collection/components/ic-search-bar/{ic-search-bar.test.a11y.js → test/a11y/ic-search-bar.test.a11y.js} +1 -1
  407. package/dist/collection/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.js.map +1 -0
  408. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js +1118 -0
  409. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js.map +1 -0
  410. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js +584 -0
  411. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js.map +1 -0
  412. package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js +69 -0
  413. package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js.map +1 -0
  414. package/dist/collection/components/ic-select/ic-select.css +17 -17
  415. package/dist/collection/components/ic-select/ic-select.js +630 -369
  416. package/dist/collection/components/ic-select/ic-select.js.map +1 -1
  417. package/dist/collection/components/ic-select/{ic-select.test.a11y.js → test/a11y/ic-select.test.a11y.js} +1 -1
  418. package/dist/collection/components/ic-select/test/a11y/ic-select.test.a11y.js.map +1 -0
  419. package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js +1768 -0
  420. package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js.map +1 -0
  421. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +1296 -0
  422. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +1 -0
  423. package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +51 -44
  424. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +185 -129
  425. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
  426. package/dist/collection/components/ic-side-navigation/{ic-side-navigation.test.a11y.js → test/a11y/ic-side-navigation.test.a11y.js} +1 -1
  427. package/dist/collection/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.js.map +1 -0
  428. package/dist/collection/components/ic-side-navigation/{ic-side-navigation-test-examples.js → test/basic/ic-side-navigation-test-examples.js} +90 -0
  429. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation-test-examples.js.map +1 -0
  430. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js +432 -0
  431. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js.map +1 -0
  432. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js +470 -0
  433. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js.map +1 -0
  434. package/dist/collection/components/ic-skeleton/ic-skeleton.js +22 -22
  435. package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -1
  436. package/dist/collection/components/ic-skeleton/{ic-skeleton.test.a11y.js → test/a11y/ic-skeleton.test.a11y.js} +1 -1
  437. package/dist/collection/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.js.map +1 -0
  438. package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js +89 -0
  439. package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js.map +1 -0
  440. package/dist/collection/components/ic-status-tag/ic-status-tag.css +14 -17
  441. package/dist/collection/components/ic-status-tag/ic-status-tag.js +40 -40
  442. package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -1
  443. package/dist/collection/components/ic-status-tag/{ic-status-tag.test.a11y.js → test/a11y/ic-status-tag.test.a11y.js} +1 -1
  444. package/dist/collection/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.js.map +1 -0
  445. package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js +43 -0
  446. package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js.map +1 -0
  447. package/dist/collection/components/ic-step/ic-step.css +6 -6
  448. package/dist/collection/components/ic-step/ic-step.js +127 -127
  449. package/dist/collection/components/ic-step/ic-step.js.map +1 -1
  450. package/dist/collection/components/ic-step/test/basic/ic-step.spec.js +176 -0
  451. package/dist/collection/components/ic-step/test/basic/ic-step.spec.js.map +1 -0
  452. package/dist/collection/components/ic-stepper/ic-stepper.js +41 -41
  453. package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
  454. package/dist/collection/components/ic-stepper/{ic-stepper.test.a11y.js → test/a11y/ic-stepper.test.a11y.js} +1 -1
  455. package/dist/collection/components/ic-stepper/test/a11y/ic-stepper.test.a11y.js.map +1 -0
  456. package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js.map +1 -0
  457. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.e2e.js +49 -0
  458. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.e2e.js.map +1 -0
  459. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js +706 -0
  460. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js.map +1 -0
  461. package/dist/collection/components/ic-switch/ic-switch.css +5 -5
  462. package/dist/collection/components/ic-switch/ic-switch.js +74 -73
  463. package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
  464. package/dist/collection/components/ic-switch/{ic-switch.test.a11y.js → test/a11y/ic-switch.test.a11y.js} +1 -1
  465. package/dist/collection/components/ic-switch/test/a11y/ic-switch.test.a11y.js.map +1 -0
  466. package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js +104 -0
  467. package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js.map +1 -0
  468. package/dist/collection/components/ic-tab/ic-tab.css +4 -4
  469. package/dist/collection/components/ic-tab/ic-tab.js +114 -31
  470. package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
  471. package/dist/collection/components/ic-tab/test/basic/ic-tab.e2e.js +32 -0
  472. package/dist/collection/components/ic-tab/test/basic/ic-tab.e2e.js.map +1 -0
  473. package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js +159 -0
  474. package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js.map +1 -0
  475. package/dist/collection/components/ic-tab-context/ic-tab-context.js +157 -77
  476. package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
  477. package/dist/collection/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.js.map +1 -0
  478. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js +317 -0
  479. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js.map +1 -0
  480. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js +390 -0
  481. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js.map +1 -0
  482. package/dist/collection/components/ic-tab-group/ic-tab-group.css +3 -3
  483. package/dist/collection/components/ic-tab-group/ic-tab-group.js +33 -29
  484. package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +1 -1
  485. package/dist/collection/components/ic-tab-panel/ic-tab-panel.css +0 -4
  486. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +89 -34
  487. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -1
  488. package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js +65 -0
  489. package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js.map +1 -0
  490. package/dist/collection/components/ic-text-field/ic-text-field.css +1 -10
  491. package/dist/collection/components/ic-text-field/ic-text-field.js +456 -345
  492. package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
  493. package/dist/collection/components/ic-text-field/test/a11y/ic-text-field.test.a11y.js.map +1 -0
  494. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js +98 -0
  495. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js.map +1 -0
  496. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js +236 -0
  497. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js.map +1 -0
  498. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js +310 -0
  499. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js.map +1 -0
  500. package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
  501. package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js +72 -0
  502. package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js.map +1 -0
  503. package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js +77 -0
  504. package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js.map +1 -0
  505. package/dist/collection/components/ic-toast/ic-toast.css +7 -2
  506. package/dist/collection/components/ic-toast/ic-toast.js +111 -107
  507. package/dist/collection/components/ic-toast/ic-toast.js.map +1 -1
  508. package/dist/collection/components/ic-toast/{ic-toast.test.a11y.js → test/a11y/ic-toast.test.a11y.js} +1 -1
  509. package/dist/collection/components/ic-toast/test/a11y/ic-toast.test.a11y.js.map +1 -0
  510. package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js +82 -0
  511. package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js.map +1 -0
  512. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js +278 -0
  513. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js.map +1 -0
  514. package/dist/collection/components/ic-toast-region/ic-toast-region.js +12 -12
  515. package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +1 -1
  516. package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js +62 -0
  517. package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js.map +1 -0
  518. package/dist/collection/components/ic-tooltip/ic-tooltip.css +31 -8
  519. package/dist/collection/components/ic-tooltip/ic-tooltip.js +218 -91
  520. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
  521. package/dist/collection/components/ic-tooltip/{ic-tooltip.test.a11y.js → test/a11y/ic-tooltip.test.a11y.js} +1 -1
  522. package/dist/collection/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.js.map +1 -0
  523. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js +117 -0
  524. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js.map +1 -0
  525. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js +287 -0
  526. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js.map +1 -0
  527. package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +21 -15
  528. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +105 -83
  529. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
  530. package/dist/collection/components/ic-top-navigation/{ic-top-navigation.test.a11y.js → test/a11y/ic-top-navigation.test.a11y.js} +8 -1
  531. package/dist/collection/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.js.map +1 -0
  532. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.e2e.js +61 -0
  533. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.e2e.js.map +1 -0
  534. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.mobile.e2e.js +242 -0
  535. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.mobile.e2e.js.map +1 -0
  536. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js +299 -0
  537. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js.map +1 -0
  538. package/dist/collection/components/ic-typography/ic-typography.css +79 -2
  539. package/dist/collection/components/ic-typography/ic-typography.js +217 -19
  540. package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
  541. package/dist/collection/components/ic-typography/{ic-typography.test.a11y.js → test/a11y/ic-typography.test.a11y.js} +1 -1
  542. package/dist/collection/components/ic-typography/test/a11y/ic-typography.test.a11y.js.map +1 -0
  543. package/dist/collection/components/ic-typography/test/basic/ic-typography.e2e.js +39 -0
  544. package/dist/collection/components/ic-typography/test/basic/ic-typography.e2e.js.map +1 -0
  545. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js +324 -0
  546. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js.map +1 -0
  547. package/dist/collection/testspec.setup.js +21 -0
  548. package/dist/collection/testspec.setup.js.map +1 -1
  549. package/dist/collection/utils/helpers.js +24 -25
  550. package/dist/collection/utils/helpers.js.map +1 -1
  551. package/dist/collection/utils/types.js.map +1 -1
  552. package/dist/components/OpenInNew.js +5 -0
  553. package/dist/components/OpenInNew.js.map +1 -0
  554. package/dist/components/close-icon.js +1 -1
  555. package/dist/components/helpers.js +41 -37
  556. package/dist/components/helpers.js.map +1 -1
  557. package/dist/components/ic-alert.js +1 -113
  558. package/dist/components/ic-alert.js.map +1 -1
  559. package/dist/components/ic-alert2.js +117 -0
  560. package/dist/components/ic-alert2.js.map +1 -0
  561. package/dist/components/ic-back-to-top.js +7 -7
  562. package/dist/components/ic-back-to-top.js.map +1 -1
  563. package/dist/components/ic-breadcrumb-group.js +39 -33
  564. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  565. package/dist/components/ic-breadcrumb2.js +13 -12
  566. package/dist/components/ic-breadcrumb2.js.map +1 -1
  567. package/dist/components/ic-button2.js +115 -45
  568. package/dist/components/ic-button2.js.map +1 -1
  569. package/dist/components/ic-card.js +54 -53
  570. package/dist/components/ic-card.js.map +1 -1
  571. package/dist/components/ic-checkbox-group.js +30 -28
  572. package/dist/components/ic-checkbox-group.js.map +1 -1
  573. package/dist/components/ic-checkbox.js +54 -34
  574. package/dist/components/ic-checkbox.js.map +1 -1
  575. package/dist/components/ic-chip.js +22 -19
  576. package/dist/components/ic-chip.js.map +1 -1
  577. package/dist/components/ic-classification-banner.js +1 -1
  578. package/dist/components/ic-data-entity.js +2 -2
  579. package/dist/components/ic-data-entity.js.map +1 -1
  580. package/dist/components/ic-data-row.js +39 -25
  581. package/dist/components/ic-data-row.js.map +1 -1
  582. package/dist/components/ic-dialog.d.ts +11 -0
  583. package/dist/components/ic-dialog.js +356 -0
  584. package/dist/components/ic-dialog.js.map +1 -0
  585. package/dist/components/ic-divider2.js +3 -3
  586. package/dist/components/ic-divider2.js.map +1 -1
  587. package/dist/components/ic-empty-state.d.ts +11 -0
  588. package/dist/components/ic-empty-state.js +63 -0
  589. package/dist/components/ic-empty-state.js.map +1 -0
  590. package/dist/components/ic-footer-link-group.js +20 -20
  591. package/dist/components/ic-footer-link-group.js.map +1 -1
  592. package/dist/components/ic-footer-link.js +29 -18
  593. package/dist/components/ic-footer-link.js.map +1 -1
  594. package/dist/components/ic-footer.js +28 -23
  595. package/dist/components/ic-footer.js.map +1 -1
  596. package/dist/components/ic-hero.js +30 -28
  597. package/dist/components/ic-hero.js.map +1 -1
  598. package/dist/components/ic-horizontal-scroll2.js +46 -27
  599. package/dist/components/ic-horizontal-scroll2.js.map +1 -1
  600. package/dist/components/ic-input-component-container2.js +11 -11
  601. package/dist/components/ic-input-component-container2.js.map +1 -1
  602. package/dist/components/ic-input-container2.js +1 -1
  603. package/dist/components/ic-input-label2.js +11 -11
  604. package/dist/components/ic-input-label2.js.map +1 -1
  605. package/dist/components/ic-input-validation2.js +9 -9
  606. package/dist/components/ic-input-validation2.js.map +1 -1
  607. package/dist/components/ic-link2.js +24 -25
  608. package/dist/components/ic-link2.js.map +1 -1
  609. package/dist/components/ic-loading-indicator2.js +34 -26
  610. package/dist/components/ic-loading-indicator2.js.map +1 -1
  611. package/dist/components/ic-menu-group.d.ts +11 -0
  612. package/dist/components/ic-menu-group.js +46 -0
  613. package/dist/components/ic-menu-group.js.map +1 -0
  614. package/dist/components/ic-menu-item.d.ts +11 -0
  615. package/dist/components/ic-menu-item.js +8 -0
  616. package/dist/components/ic-menu-item.js.map +1 -0
  617. package/dist/components/ic-menu-item2.js +169 -0
  618. package/dist/components/ic-menu-item2.js.map +1 -0
  619. package/dist/components/ic-menu2.js +326 -169
  620. package/dist/components/ic-menu2.js.map +1 -1
  621. package/dist/components/ic-navigation-button.js +24 -24
  622. package/dist/components/ic-navigation-button.js.map +1 -1
  623. package/dist/components/ic-navigation-group.js +115 -68
  624. package/dist/components/ic-navigation-group.js.map +1 -1
  625. package/dist/components/ic-navigation-item.js +59 -48
  626. package/dist/components/ic-navigation-item.js.map +1 -1
  627. package/dist/components/ic-navigation-menu2.js +30 -36
  628. package/dist/components/ic-navigation-menu2.js.map +1 -1
  629. package/dist/components/ic-page-header.js +30 -33
  630. package/dist/components/ic-page-header.js.map +1 -1
  631. package/dist/components/ic-pagination-item.d.ts +11 -0
  632. package/dist/components/ic-pagination-item.js +8 -0
  633. package/dist/components/ic-pagination-item.js.map +1 -0
  634. package/dist/components/ic-pagination-item2.js +81 -0
  635. package/dist/components/ic-pagination-item2.js.map +1 -0
  636. package/dist/components/ic-pagination.d.ts +11 -0
  637. package/dist/components/ic-pagination.js +288 -0
  638. package/dist/components/ic-pagination.js.map +1 -0
  639. package/dist/components/ic-popover-menu.d.ts +11 -0
  640. package/dist/components/ic-popover-menu.js +342 -0
  641. package/dist/components/ic-popover-menu.js.map +1 -0
  642. package/dist/components/ic-radio-group.js +48 -30
  643. package/dist/components/ic-radio-group.js.map +1 -1
  644. package/dist/components/ic-radio-option.js +44 -43
  645. package/dist/components/ic-radio-option.js.map +1 -1
  646. package/dist/components/ic-search-bar.js +205 -124
  647. package/dist/components/ic-search-bar.js.map +1 -1
  648. package/dist/components/ic-section-container2.js +1 -1
  649. package/dist/components/ic-select.js +379 -212
  650. package/dist/components/ic-select.js.map +1 -1
  651. package/dist/components/ic-side-navigation.js +136 -97
  652. package/dist/components/ic-side-navigation.js.map +1 -1
  653. package/dist/components/ic-skeleton.js +6 -6
  654. package/dist/components/ic-skeleton.js.map +1 -1
  655. package/dist/components/ic-status-tag.js +9 -9
  656. package/dist/components/ic-status-tag.js.map +1 -1
  657. package/dist/components/ic-step.js +18 -18
  658. package/dist/components/ic-step.js.map +1 -1
  659. package/dist/components/ic-stepper.js +21 -21
  660. package/dist/components/ic-stepper.js.map +1 -1
  661. package/dist/components/ic-switch.js +24 -23
  662. package/dist/components/ic-switch.js.map +1 -1
  663. package/dist/components/ic-tab-context.js +73 -36
  664. package/dist/components/ic-tab-context.js.map +1 -1
  665. package/dist/components/ic-tab-group.js +7 -6
  666. package/dist/components/ic-tab-group.js.map +1 -1
  667. package/dist/components/ic-tab-panel.js +18 -7
  668. package/dist/components/ic-tab-panel.js.map +1 -1
  669. package/dist/components/ic-tab.js +33 -8
  670. package/dist/components/ic-tab.js.map +1 -1
  671. package/dist/components/ic-text-field2.js +132 -97
  672. package/dist/components/ic-text-field2.js.map +1 -1
  673. package/dist/components/ic-theme.js +2 -2
  674. package/dist/components/ic-theme.js.map +1 -1
  675. package/dist/components/ic-toast-region.js +13 -13
  676. package/dist/components/ic-toast-region.js.map +1 -1
  677. package/dist/components/ic-toast.js +65 -61
  678. package/dist/components/ic-toast.js.map +1 -1
  679. package/dist/components/ic-tooltip2.js +1955 -75
  680. package/dist/components/ic-tooltip2.js.map +1 -1
  681. package/dist/components/ic-top-navigation.js +59 -54
  682. package/dist/components/ic-top-navigation.js.map +1 -1
  683. package/dist/components/ic-typography2.js +113 -6
  684. package/dist/components/ic-typography2.js.map +1 -1
  685. package/dist/components/index.d.ts +9 -55
  686. package/dist/components/index.js +1 -53
  687. package/dist/components/index.js.map +1 -1
  688. package/dist/components/types.js.map +1 -1
  689. package/dist/core/core.css +47 -3
  690. package/dist/core/core.esm.js +1 -1
  691. package/dist/core/core.esm.js.map +1 -1
  692. package/dist/core/index.esm.js.map +1 -1
  693. package/dist/core/p-041604fc.entry.js +2 -0
  694. package/dist/core/p-041604fc.entry.js.map +1 -0
  695. package/dist/core/{p-24240e11.js → p-06321d19.js} +2 -2
  696. package/dist/core/p-06321d19.js.map +1 -0
  697. package/dist/core/p-07601b81.entry.js +2 -0
  698. package/dist/core/p-07601b81.entry.js.map +1 -0
  699. package/dist/core/p-07877eb8.entry.js +2 -0
  700. package/dist/core/p-07877eb8.entry.js.map +1 -0
  701. package/dist/core/p-103c761f.entry.js +2 -0
  702. package/dist/core/p-103c761f.entry.js.map +1 -0
  703. package/dist/core/p-14bea6c0.entry.js +2 -0
  704. package/dist/core/p-14bea6c0.entry.js.map +1 -0
  705. package/dist/core/p-1ac44a4e.entry.js +2 -0
  706. package/dist/core/p-1ac44a4e.entry.js.map +1 -0
  707. package/dist/core/p-1b1dbb53.entry.js +2 -0
  708. package/dist/core/p-1b1dbb53.entry.js.map +1 -0
  709. package/dist/core/p-20fafec4.entry.js +2 -0
  710. package/dist/core/p-20fafec4.entry.js.map +1 -0
  711. package/dist/core/p-24b88371.entry.js +2 -0
  712. package/dist/core/p-24b88371.entry.js.map +1 -0
  713. package/dist/core/p-2ae7687a.entry.js +2 -0
  714. package/dist/core/p-2ae7687a.entry.js.map +1 -0
  715. package/dist/core/p-2f5a9d91.entry.js +2 -0
  716. package/dist/core/p-2f5a9d91.entry.js.map +1 -0
  717. package/dist/core/p-389c3913.entry.js +2 -0
  718. package/dist/core/p-389c3913.entry.js.map +1 -0
  719. package/dist/core/{p-ad2477d8.entry.js → p-3adb1167.entry.js} +2 -2
  720. package/dist/core/p-3adb1167.entry.js.map +1 -0
  721. package/dist/core/p-43b529a5.entry.js +2 -0
  722. package/dist/core/p-43b529a5.entry.js.map +1 -0
  723. package/dist/core/{p-8ffa00c9.entry.js → p-441e7d98.entry.js} +2 -2
  724. package/dist/core/p-441e7d98.entry.js.map +1 -0
  725. package/dist/core/p-4dc6a83d.entry.js +2 -0
  726. package/dist/core/p-4dc6a83d.entry.js.map +1 -0
  727. package/dist/core/p-4fa9c6eb.entry.js +2 -0
  728. package/dist/core/p-4fa9c6eb.entry.js.map +1 -0
  729. package/dist/core/{p-284970bc.entry.js → p-50019c47.entry.js} +2 -2
  730. package/dist/core/p-50019c47.entry.js.map +1 -0
  731. package/dist/core/p-516fd246.entry.js +2 -0
  732. package/dist/core/p-516fd246.entry.js.map +1 -0
  733. package/dist/core/p-5e3a09d7.entry.js +2 -0
  734. package/dist/core/p-5e3a09d7.entry.js.map +1 -0
  735. package/dist/core/p-5e685037.entry.js +2 -0
  736. package/dist/core/p-5e685037.entry.js.map +1 -0
  737. package/dist/core/p-69920d86.js +3 -0
  738. package/dist/core/p-69920d86.js.map +1 -0
  739. package/dist/core/p-69c1f172.entry.js +2 -0
  740. package/dist/core/p-69c1f172.entry.js.map +1 -0
  741. package/dist/core/p-6bad30aa.entry.js +2 -0
  742. package/dist/core/p-6bad30aa.entry.js.map +1 -0
  743. package/dist/core/p-6f57b13c.js.map +1 -1
  744. package/dist/core/p-736489c6.entry.js +2 -0
  745. package/dist/core/p-736489c6.entry.js.map +1 -0
  746. package/dist/core/p-75ac2fbf.entry.js +2 -0
  747. package/dist/core/p-75ac2fbf.entry.js.map +1 -0
  748. package/dist/core/p-7c0dcd00.js +2 -0
  749. package/dist/core/p-7c0dcd00.js.map +1 -0
  750. package/dist/core/p-8acd7207.entry.js +2 -0
  751. package/dist/core/p-8acd7207.entry.js.map +1 -0
  752. package/dist/core/p-8c7f4343.js.map +1 -1
  753. package/dist/core/p-8ca80000.entry.js +2 -0
  754. package/dist/core/p-8ca80000.entry.js.map +1 -0
  755. package/dist/core/p-8d4f7027.js +2 -0
  756. package/dist/core/p-8d4f7027.js.map +1 -0
  757. package/dist/core/p-919059e8.entry.js +2 -0
  758. package/dist/core/p-919059e8.entry.js.map +1 -0
  759. package/dist/core/p-92868735.entry.js +2 -0
  760. package/dist/core/p-92868735.entry.js.map +1 -0
  761. package/dist/core/p-93ee130d.entry.js +2 -0
  762. package/dist/core/p-93ee130d.entry.js.map +1 -0
  763. package/dist/core/p-95992c98.entry.js +2 -0
  764. package/dist/core/p-95992c98.entry.js.map +1 -0
  765. package/dist/core/{p-d2508752.entry.js → p-96bcd466.entry.js} +2 -2
  766. package/dist/core/p-96bcd466.entry.js.map +1 -0
  767. package/dist/core/{p-c4a7c734.entry.js → p-98d488aa.entry.js} +2 -2
  768. package/dist/core/p-98d488aa.entry.js.map +1 -0
  769. package/dist/core/p-9bde930d.entry.js +2 -0
  770. package/dist/core/p-9bde930d.entry.js.map +1 -0
  771. package/dist/core/p-9e896463.entry.js +2 -0
  772. package/dist/core/p-9e896463.entry.js.map +1 -0
  773. package/dist/core/{p-7fd50355.entry.js → p-a29fe0c6.entry.js} +2 -2
  774. package/dist/core/p-a29fe0c6.entry.js.map +1 -0
  775. package/dist/core/p-ab4919d6.entry.js +2 -0
  776. package/dist/core/p-ab4919d6.entry.js.map +1 -0
  777. package/dist/core/{p-ba8d6c23.entry.js → p-adf65f4a.entry.js} +2 -2
  778. package/dist/core/p-adf65f4a.entry.js.map +1 -0
  779. package/dist/core/p-b5d084c2.entry.js +2 -0
  780. package/dist/core/p-b5d084c2.entry.js.map +1 -0
  781. package/dist/core/p-bbdd9770.entry.js +2 -0
  782. package/dist/core/p-bbdd9770.entry.js.map +1 -0
  783. package/dist/core/p-c2fc2b77.entry.js +2 -0
  784. package/dist/core/p-c2fc2b77.entry.js.map +1 -0
  785. package/dist/core/{p-35a03442.entry.js → p-c3da58eb.entry.js} +2 -2
  786. package/dist/core/p-c3da58eb.entry.js.map +1 -0
  787. package/dist/core/p-c4b81d32.entry.js +2 -0
  788. package/dist/core/p-c4b81d32.entry.js.map +1 -0
  789. package/dist/core/p-cfb87422.entry.js +2 -0
  790. package/dist/core/p-cfb87422.entry.js.map +1 -0
  791. package/dist/core/{p-7a9bc7f2.entry.js → p-d2994a71.entry.js} +2 -2
  792. package/dist/core/p-d2994a71.entry.js.map +1 -0
  793. package/dist/core/p-d592006b.entry.js +2 -0
  794. package/dist/core/p-d592006b.entry.js.map +1 -0
  795. package/dist/core/p-da3bd896.entry.js +2 -0
  796. package/dist/core/p-da3bd896.entry.js.map +1 -0
  797. package/dist/core/p-da5fc036.entry.js +2 -0
  798. package/dist/core/p-da5fc036.entry.js.map +1 -0
  799. package/dist/core/p-dd980be4.js +2 -0
  800. package/dist/core/p-dd980be4.js.map +1 -0
  801. package/dist/core/p-e14bc195.entry.js +2 -0
  802. package/dist/core/p-e14bc195.entry.js.map +1 -0
  803. package/dist/core/p-e2fdb944.entry.js +2 -0
  804. package/dist/core/p-e2fdb944.entry.js.map +1 -0
  805. package/dist/core/p-e328bd2d.entry.js +2 -0
  806. package/dist/core/p-e328bd2d.entry.js.map +1 -0
  807. package/dist/core/p-e9c864ac.entry.js +2 -0
  808. package/dist/core/p-e9c864ac.entry.js.map +1 -0
  809. package/dist/core/p-f2c6a143.js +2 -0
  810. package/dist/core/p-f2c6a143.js.map +1 -0
  811. package/dist/core/p-fb86da80.entry.js +2 -0
  812. package/dist/core/p-fb86da80.entry.js.map +1 -0
  813. package/dist/core/p-fbd3c432.entry.js +2 -0
  814. package/dist/core/p-fbd3c432.entry.js.map +1 -0
  815. package/dist/esm/OpenInNew-67a881e0.js +5 -0
  816. package/dist/esm/OpenInNew-67a881e0.js.map +1 -0
  817. package/dist/esm/chevron-icon-7927f709.js +8 -0
  818. package/dist/esm/chevron-icon-7927f709.js.map +1 -0
  819. package/dist/esm/{close-icon-2f02b42a.js → close-icon-2ce5d375.js} +2 -2
  820. package/dist/esm/close-icon-2ce5d375.js.map +1 -0
  821. package/dist/esm/core.js +7 -3
  822. package/dist/esm/core.js.map +1 -1
  823. package/dist/esm/{helpers-c332acf8.js → helpers-d7d5bd08.js} +42 -38
  824. package/dist/esm/helpers-d7d5bd08.js.map +1 -0
  825. package/dist/esm/ic-alert.entry.js +12 -12
  826. package/dist/esm/ic-alert.entry.js.map +1 -1
  827. package/dist/esm/ic-back-to-top.entry.js +5 -5
  828. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  829. package/dist/esm/ic-breadcrumb-group.entry.js +39 -33
  830. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  831. package/dist/esm/ic-breadcrumb.entry.js +14 -13
  832. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  833. package/dist/esm/ic-button_3.entry.js +280 -120
  834. package/dist/esm/ic-button_3.entry.js.map +1 -1
  835. package/dist/esm/ic-card.entry.js +46 -45
  836. package/dist/esm/ic-card.entry.js.map +1 -1
  837. package/dist/esm/ic-checkbox-group.entry.js +25 -23
  838. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  839. package/dist/esm/ic-checkbox.entry.js +47 -29
  840. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  841. package/dist/esm/ic-chip.entry.js +18 -15
  842. package/dist/esm/ic-chip.entry.js.map +1 -1
  843. package/dist/esm/ic-classification-banner.entry.js +1 -1
  844. package/dist/esm/ic-data-entity.entry.js +2 -2
  845. package/dist/esm/ic-data-entity.entry.js.map +1 -1
  846. package/dist/esm/ic-data-row.entry.js +38 -24
  847. package/dist/esm/ic-data-row.entry.js.map +1 -1
  848. package/dist/esm/ic-dialog.entry.js +291 -0
  849. package/dist/esm/ic-dialog.entry.js.map +1 -0
  850. package/dist/esm/ic-divider.entry.js +3 -3
  851. package/dist/esm/ic-divider.entry.js.map +1 -1
  852. package/dist/esm/ic-empty-state.entry.js +33 -0
  853. package/dist/esm/ic-empty-state.entry.js.map +1 -0
  854. package/dist/esm/ic-footer-link-group.entry.js +18 -18
  855. package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
  856. package/dist/esm/ic-footer-link.entry.js +23 -17
  857. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  858. package/dist/esm/ic-footer.entry.js +26 -21
  859. package/dist/esm/ic-footer.entry.js.map +1 -1
  860. package/dist/esm/ic-hero.entry.js +23 -21
  861. package/dist/esm/ic-hero.entry.js.map +1 -1
  862. package/dist/esm/ic-horizontal-scroll.entry.js +45 -26
  863. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
  864. package/dist/esm/ic-input-component-container_3.entry.js +299 -159
  865. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  866. package/dist/esm/ic-input-label_2.entry.js +11 -11
  867. package/dist/esm/ic-input-label_2.entry.js.map +1 -1
  868. package/dist/esm/ic-link.entry.js +22 -23
  869. package/dist/esm/ic-link.entry.js.map +1 -1
  870. package/dist/esm/ic-menu-group.entry.js +20 -0
  871. package/dist/esm/ic-menu-group.entry.js.map +1 -0
  872. package/dist/esm/ic-menu-item.entry.js +118 -0
  873. package/dist/esm/ic-menu-item.entry.js.map +1 -0
  874. package/dist/esm/ic-navigation-button.entry.js +19 -19
  875. package/dist/esm/ic-navigation-button.entry.js.map +1 -1
  876. package/dist/esm/ic-navigation-group.entry.js +113 -66
  877. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  878. package/dist/esm/ic-navigation-item.entry.js +48 -42
  879. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  880. package/dist/esm/ic-navigation-menu.entry.js +28 -34
  881. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  882. package/dist/esm/ic-page-header.entry.js +24 -27
  883. package/dist/esm/ic-page-header.entry.js.map +1 -1
  884. package/dist/esm/ic-pagination-item.entry.js +52 -0
  885. package/dist/esm/ic-pagination-item.entry.js.map +1 -0
  886. package/dist/esm/ic-pagination.entry.js +223 -0
  887. package/dist/esm/ic-pagination.entry.js.map +1 -0
  888. package/dist/esm/ic-popover-menu.entry.js +285 -0
  889. package/dist/esm/ic-popover-menu.entry.js.map +1 -0
  890. package/dist/esm/ic-radio-group.entry.js +43 -25
  891. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  892. package/dist/esm/ic-radio-option.entry.js +39 -38
  893. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  894. package/dist/esm/ic-search-bar.entry.js +181 -104
  895. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  896. package/dist/esm/ic-section-container.entry.js +1 -1
  897. package/dist/esm/ic-select.entry.js +349 -190
  898. package/dist/esm/ic-select.entry.js.map +1 -1
  899. package/dist/esm/ic-side-navigation.entry.js +129 -91
  900. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  901. package/dist/esm/ic-skeleton.entry.js +4 -4
  902. package/dist/esm/ic-skeleton.entry.js.map +1 -1
  903. package/dist/esm/ic-status-tag.entry.js +6 -6
  904. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  905. package/dist/esm/ic-step.entry.js +10 -10
  906. package/dist/esm/ic-step.entry.js.map +1 -1
  907. package/dist/esm/ic-stepper.entry.js +15 -15
  908. package/dist/esm/ic-stepper.entry.js.map +1 -1
  909. package/dist/esm/ic-switch.entry.js +20 -19
  910. package/dist/esm/ic-switch.entry.js.map +1 -1
  911. package/dist/esm/ic-tab-context.entry.js +68 -32
  912. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  913. package/dist/esm/ic-tab-group.entry.js +5 -4
  914. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  915. package/dist/esm/ic-tab-panel.entry.js +15 -4
  916. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  917. package/dist/esm/ic-tab.entry.js +32 -7
  918. package/dist/esm/ic-tab.entry.js.map +1 -1
  919. package/dist/esm/ic-text-field.entry.js +102 -72
  920. package/dist/esm/ic-text-field.entry.js.map +1 -1
  921. package/dist/esm/ic-theme.entry.js +2 -2
  922. package/dist/esm/ic-theme.entry.js.map +1 -1
  923. package/dist/esm/ic-toast-region.entry.js +13 -13
  924. package/dist/esm/ic-toast-region.entry.js.map +1 -1
  925. package/dist/esm/ic-toast.entry.js +61 -57
  926. package/dist/esm/ic-toast.entry.js.map +1 -1
  927. package/dist/esm/ic-top-navigation.entry.js +49 -45
  928. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  929. package/dist/esm/ic-typography.entry.js +105 -5
  930. package/dist/esm/ic-typography.entry.js.map +1 -1
  931. package/dist/esm/{index-90721b3c.js → index-fd30b77e.js} +259 -44
  932. package/dist/esm/index-fd30b77e.js.map +1 -0
  933. package/dist/esm/loader.js +4 -3
  934. package/dist/esm/loader.js.map +1 -1
  935. package/dist/esm/polyfills/css-shim.js +1 -1
  936. package/dist/{components/popper.js → esm/popper-15e448b4.js} +10 -17
  937. package/dist/esm/popper-15e448b4.js.map +1 -0
  938. package/dist/esm/types-dd515332.js.map +1 -1
  939. package/dist/types/components/ic-alert/ic-alert.d.ts +13 -13
  940. package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +8 -8
  941. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +6 -6
  942. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.types.d.ts +1 -1
  943. package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +16 -9
  944. package/dist/types/components/ic-button/ic-button.d.ts +70 -36
  945. package/dist/types/components/ic-button/ic-button.types.d.ts +3 -4
  946. package/dist/types/components/ic-card/ic-card.d.ts +32 -32
  947. package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +34 -24
  948. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +18 -15
  949. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.types.d.ts +5 -0
  950. package/dist/types/components/ic-chip/ic-chip.d.ts +18 -16
  951. package/dist/types/components/ic-chip/ic-chip.types.d.ts +1 -2
  952. package/dist/types/components/ic-classification-banner/ic-classification-banner.types.d.ts +1 -1
  953. package/dist/types/components/ic-data-row/ic-data-row.d.ts +17 -11
  954. package/dist/types/components/ic-dialog/ic-dialog.d.ts +123 -0
  955. package/dist/types/components/ic-empty-state/ic-empty-state.d.ts +35 -0
  956. package/dist/types/components/ic-empty-state/ic-empty-state.types.d.ts +1 -0
  957. package/dist/types/components/ic-footer/ic-footer.d.ts +20 -20
  958. package/dist/types/components/ic-footer/ic-footer.types.d.ts +1 -1
  959. package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +26 -6
  960. package/dist/types/components/ic-footer-link-group/ic-footer-link-group.d.ts +8 -8
  961. package/dist/types/components/ic-hero/ic-hero.d.ts +24 -24
  962. package/dist/types/components/ic-hero/ic-hero.types.d.ts +1 -1
  963. package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.d.ts +15 -14
  964. package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +15 -15
  965. package/dist/types/components/ic-input-label/ic-input-label.d.ts +14 -14
  966. package/dist/types/components/ic-input-validation/ic-input-validation.d.ts +8 -8
  967. package/dist/types/components/ic-input-validation/ic-input-validation.types.d.ts +1 -1
  968. package/dist/types/components/ic-link/ic-link.d.ts +9 -9
  969. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +38 -36
  970. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.types.d.ts +2 -2
  971. package/dist/types/components/ic-menu/ic-menu.d.ts +89 -50
  972. package/dist/types/components/ic-menu-group/ic-menu-group.d.ts +8 -0
  973. package/dist/types/components/ic-menu-item/ic-menu-item.d.ts +74 -0
  974. package/dist/types/components/ic-menu-item/ic-menu-item.types.d.ts +1 -0
  975. package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +21 -21
  976. package/dist/types/components/ic-navigation-button/ic-navigation-button.types.d.ts +1 -1
  977. package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +25 -18
  978. package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +47 -27
  979. package/dist/types/components/ic-navigation-menu/ic-navigation-menu.d.ts +14 -14
  980. package/dist/types/components/ic-page-header/ic-page-header.d.ts +19 -19
  981. package/dist/types/components/ic-pagination/ic-pagination.d.ts +82 -0
  982. package/dist/types/components/ic-pagination/ic-pagination.types.d.ts +4 -0
  983. package/dist/types/components/ic-pagination-item/ic-pagination-item.d.ts +47 -0
  984. package/dist/types/components/ic-pagination-item/ic-pagination-item.types.d.ts +1 -0
  985. package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +62 -0
  986. package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +22 -23
  987. package/dist/types/components/ic-radio-group/ic-radio-group.types.d.ts +7 -0
  988. package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +32 -29
  989. package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +120 -87
  990. package/dist/types/components/ic-search-bar/ic-search-bar.types.d.ts +2 -1
  991. package/dist/types/components/ic-select/ic-select.d.ts +116 -78
  992. package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +35 -24
  993. 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
  994. package/dist/types/components/ic-skeleton/ic-skeleton.d.ts +8 -8
  995. package/dist/types/components/ic-skeleton/ic-skeleton.types.d.ts +1 -1
  996. package/dist/types/components/ic-status-tag/ic-status-tag.d.ts +8 -8
  997. package/dist/types/components/ic-status-tag/ic-status-tag.types.d.ts +2 -2
  998. package/dist/types/components/ic-step/ic-step.d.ts +24 -24
  999. package/dist/types/components/ic-step/ic-step.types.d.ts +3 -3
  1000. package/dist/types/components/ic-stepper/ic-stepper.d.ts +17 -17
  1001. package/dist/types/components/ic-stepper/ic-stepper.types.d.ts +1 -1
  1002. package/dist/types/components/ic-switch/ic-switch.d.ts +23 -23
  1003. package/dist/types/components/ic-tab/ic-tab.d.ts +25 -8
  1004. package/dist/types/components/ic-tab-context/ic-tab-context.d.ts +29 -20
  1005. package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +6 -5
  1006. package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +27 -7
  1007. package/dist/types/components/ic-text-field/ic-text-field.d.ts +110 -91
  1008. package/dist/types/components/ic-text-field/ic-text-field.types.d.ts +3 -3
  1009. package/dist/types/components/ic-theme/ic-theme.d.ts +1 -1
  1010. package/dist/types/components/ic-toast/ic-toast.d.ts +26 -26
  1011. package/dist/types/components/ic-toast/ic-toast.types.d.ts +1 -1
  1012. package/dist/types/components/ic-toast/test/a11y/ic-toast.test.a11y.d.ts +1 -0
  1013. package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +3 -3
  1014. package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +27 -15
  1015. package/dist/types/components/ic-tooltip/ic-tooltip.types.d.ts +1 -1
  1016. package/dist/types/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.d.ts +1 -0
  1017. package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +36 -32
  1018. package/dist/types/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.d.ts +1 -0
  1019. package/dist/types/components/ic-typography/ic-typography.d.ts +48 -4
  1020. package/dist/types/components/ic-typography/test/a11y/ic-typography.test.a11y.d.ts +1 -0
  1021. package/dist/types/components.d.ts +958 -42
  1022. package/dist/types/stencil-public-runtime.d.ts +74 -15
  1023. package/dist/types/testspec.setup.d.ts +11 -0
  1024. package/dist/types/utils/helpers.d.ts +1 -0
  1025. package/dist/types/utils/types.d.ts +26 -22
  1026. package/hydrate/index.d.ts +17 -16
  1027. package/hydrate/index.js +4093 -1979
  1028. package/loader/index.d.ts +9 -0
  1029. package/package.json +7 -6
  1030. package/dist/cjs/chevron-icon-2645d6b0.js +0 -10
  1031. package/dist/cjs/chevron-icon-2645d6b0.js.map +0 -1
  1032. package/dist/cjs/close-icon-8ccb0163.js.map +0 -1
  1033. package/dist/cjs/helpers-6eb26e7a.js.map +0 -1
  1034. package/dist/cjs/index-f79a4e53.js.map +0 -1
  1035. package/dist/cjs/popper-11d5f714.js.map +0 -1
  1036. package/dist/collection/components/ic-alert/ic-alert.test.a11y.js.map +0 -1
  1037. package/dist/collection/components/ic-back-to-top/ic-back-to-top.test.a11y.js.map +0 -1
  1038. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group-test-examples.js.map +0 -1
  1039. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.test.a11y.js.map +0 -1
  1040. package/dist/collection/components/ic-button/ic-button.test.a11y.js.map +0 -1
  1041. package/dist/collection/components/ic-card/ic-card.test.a11y.js.map +0 -1
  1042. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.test.a11y.js.map +0 -1
  1043. package/dist/collection/components/ic-chip/ic-chip.test.a11y.js.map +0 -1
  1044. package/dist/collection/components/ic-classification-banner/ic-classification-banner.test.a11y.js.map +0 -1
  1045. package/dist/collection/components/ic-data-entity/ic-data-entity.test.a11y.js.map +0 -1
  1046. package/dist/collection/components/ic-data-row/ic-data-row.test.a11y.js.map +0 -1
  1047. package/dist/collection/components/ic-footer/ic-footer.test.a11y.js.map +0 -1
  1048. package/dist/collection/components/ic-footer-link/ic-footer-link.test.a11y.js.map +0 -1
  1049. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.test.a11y.js.map +0 -1
  1050. package/dist/collection/components/ic-hero/ic-hero.test.a11y.js.map +0 -1
  1051. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.test.a11y.js.map +0 -1
  1052. package/dist/collection/components/ic-link/ic-link.test.a11y.js.map +0 -1
  1053. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.test.a11y.js.map +0 -1
  1054. package/dist/collection/components/ic-navigation-group/ic-navigation-group.test.a11y.js.map +0 -1
  1055. package/dist/collection/components/ic-navigation-item/ic-navigation-item.test.a11y.js.map +0 -1
  1056. package/dist/collection/components/ic-page-header/ic-page-header.test.a11y.js.map +0 -1
  1057. package/dist/collection/components/ic-radio-group/ic-radio-group.test.a11y.js.map +0 -1
  1058. package/dist/collection/components/ic-search-bar/ic-search-bar.test.a11y.js.map +0 -1
  1059. package/dist/collection/components/ic-select/ic-select.test.a11y.js.map +0 -1
  1060. package/dist/collection/components/ic-side-navigation/ic-side-navigation-test-examples.js.map +0 -1
  1061. package/dist/collection/components/ic-side-navigation/ic-side-navigation.test.a11y.js.map +0 -1
  1062. package/dist/collection/components/ic-skeleton/ic-skeleton.test.a11y.js.map +0 -1
  1063. package/dist/collection/components/ic-status-tag/ic-status-tag.test.a11y.js.map +0 -1
  1064. package/dist/collection/components/ic-stepper/ic-stepper-test-examples.js.map +0 -1
  1065. package/dist/collection/components/ic-stepper/ic-stepper.test.a11y.js.map +0 -1
  1066. package/dist/collection/components/ic-switch/ic-switch.test.a11y.js.map +0 -1
  1067. package/dist/collection/components/ic-tab-context/ic-tab-context.test.a11y.js.map +0 -1
  1068. package/dist/collection/components/ic-text-field/ic-text-field.test.a11y.js.map +0 -1
  1069. package/dist/collection/components/ic-toast/ic-toast.test.a11y.js.map +0 -1
  1070. package/dist/collection/components/ic-tooltip/ic-tooltip.test.a11y.js.map +0 -1
  1071. package/dist/collection/components/ic-top-navigation/ic-top-navigation.test.a11y.js.map +0 -1
  1072. package/dist/collection/components/ic-typography/ic-typography.test.a11y.js.map +0 -1
  1073. package/dist/components/popper.js.map +0 -1
  1074. package/dist/core/p-1724000c.js +0 -2
  1075. package/dist/core/p-1724000c.js.map +0 -1
  1076. package/dist/core/p-17f91c94.entry.js +0 -2
  1077. package/dist/core/p-17f91c94.entry.js.map +0 -1
  1078. package/dist/core/p-18ae4b6d.entry.js +0 -2
  1079. package/dist/core/p-18ae4b6d.entry.js.map +0 -1
  1080. package/dist/core/p-18bf3cb0.entry.js +0 -2
  1081. package/dist/core/p-18bf3cb0.entry.js.map +0 -1
  1082. package/dist/core/p-24240e11.js.map +0 -1
  1083. package/dist/core/p-2642f880.entry.js +0 -2
  1084. package/dist/core/p-2642f880.entry.js.map +0 -1
  1085. package/dist/core/p-284970bc.entry.js.map +0 -1
  1086. package/dist/core/p-31a595c1.entry.js +0 -2
  1087. package/dist/core/p-31a595c1.entry.js.map +0 -1
  1088. package/dist/core/p-35a03442.entry.js.map +0 -1
  1089. package/dist/core/p-360adc51.entry.js +0 -2
  1090. package/dist/core/p-360adc51.entry.js.map +0 -1
  1091. package/dist/core/p-3dda76db.entry.js +0 -2
  1092. package/dist/core/p-3dda76db.entry.js.map +0 -1
  1093. package/dist/core/p-41e239cb.entry.js +0 -2
  1094. package/dist/core/p-41e239cb.entry.js.map +0 -1
  1095. package/dist/core/p-44512ebe.js +0 -2
  1096. package/dist/core/p-44512ebe.js.map +0 -1
  1097. package/dist/core/p-44c9612c.entry.js +0 -2
  1098. package/dist/core/p-44c9612c.entry.js.map +0 -1
  1099. package/dist/core/p-521be4e2.entry.js +0 -2
  1100. package/dist/core/p-521be4e2.entry.js.map +0 -1
  1101. package/dist/core/p-5450cebf.js +0 -3
  1102. package/dist/core/p-5450cebf.js.map +0 -1
  1103. package/dist/core/p-55512a85.entry.js +0 -2
  1104. package/dist/core/p-55512a85.entry.js.map +0 -1
  1105. package/dist/core/p-560c06af.entry.js +0 -2
  1106. package/dist/core/p-560c06af.entry.js.map +0 -1
  1107. package/dist/core/p-57f2c81c.entry.js +0 -2
  1108. package/dist/core/p-57f2c81c.entry.js.map +0 -1
  1109. package/dist/core/p-5b083ce5.entry.js +0 -2
  1110. package/dist/core/p-5b083ce5.entry.js.map +0 -1
  1111. package/dist/core/p-62b3516e.entry.js +0 -2
  1112. package/dist/core/p-62b3516e.entry.js.map +0 -1
  1113. package/dist/core/p-691ea0f2.entry.js +0 -2
  1114. package/dist/core/p-691ea0f2.entry.js.map +0 -1
  1115. package/dist/core/p-7818d958.entry.js +0 -2
  1116. package/dist/core/p-7818d958.entry.js.map +0 -1
  1117. package/dist/core/p-7a0bf893.entry.js +0 -2
  1118. package/dist/core/p-7a0bf893.entry.js.map +0 -1
  1119. package/dist/core/p-7a9bc7f2.entry.js.map +0 -1
  1120. package/dist/core/p-7fd50355.entry.js.map +0 -1
  1121. package/dist/core/p-897e967a.entry.js +0 -2
  1122. package/dist/core/p-897e967a.entry.js.map +0 -1
  1123. package/dist/core/p-8f1176c6.entry.js +0 -2
  1124. package/dist/core/p-8f1176c6.entry.js.map +0 -1
  1125. package/dist/core/p-8ffa00c9.entry.js.map +0 -1
  1126. package/dist/core/p-91a8db51.entry.js +0 -2
  1127. package/dist/core/p-91a8db51.entry.js.map +0 -1
  1128. package/dist/core/p-a09d853e.entry.js +0 -2
  1129. package/dist/core/p-a09d853e.entry.js.map +0 -1
  1130. package/dist/core/p-a667e329.entry.js +0 -2
  1131. package/dist/core/p-a667e329.entry.js.map +0 -1
  1132. package/dist/core/p-ad2477d8.entry.js.map +0 -1
  1133. package/dist/core/p-b35ae170.entry.js +0 -2
  1134. package/dist/core/p-b35ae170.entry.js.map +0 -1
  1135. package/dist/core/p-b40bd77c.entry.js +0 -2
  1136. package/dist/core/p-b40bd77c.entry.js.map +0 -1
  1137. package/dist/core/p-b4234318.entry.js +0 -2
  1138. package/dist/core/p-b4234318.entry.js.map +0 -1
  1139. package/dist/core/p-ba8d6c23.entry.js.map +0 -1
  1140. package/dist/core/p-bd819f68.entry.js +0 -2
  1141. package/dist/core/p-bd819f68.entry.js.map +0 -1
  1142. package/dist/core/p-c4a7c734.entry.js.map +0 -1
  1143. package/dist/core/p-c72e4b75.entry.js +0 -2
  1144. package/dist/core/p-c72e4b75.entry.js.map +0 -1
  1145. package/dist/core/p-c7b86643.entry.js +0 -2
  1146. package/dist/core/p-c7b86643.entry.js.map +0 -1
  1147. package/dist/core/p-c8f07be6.entry.js +0 -2
  1148. package/dist/core/p-c8f07be6.entry.js.map +0 -1
  1149. package/dist/core/p-c9068822.entry.js +0 -2
  1150. package/dist/core/p-c9068822.entry.js.map +0 -1
  1151. package/dist/core/p-cccbf2bf.entry.js +0 -2
  1152. package/dist/core/p-cccbf2bf.entry.js.map +0 -1
  1153. package/dist/core/p-d2508752.entry.js.map +0 -1
  1154. package/dist/core/p-d7bbace4.entry.js +0 -2
  1155. package/dist/core/p-d7bbace4.entry.js.map +0 -1
  1156. package/dist/core/p-d86b0d0e.entry.js +0 -2
  1157. package/dist/core/p-d86b0d0e.entry.js.map +0 -1
  1158. package/dist/core/p-e0d88c31.entry.js +0 -2
  1159. package/dist/core/p-e0d88c31.entry.js.map +0 -1
  1160. package/dist/core/p-e9202767.entry.js +0 -2
  1161. package/dist/core/p-e9202767.entry.js.map +0 -1
  1162. package/dist/core/p-eba373bf.entry.js +0 -2
  1163. package/dist/core/p-eba373bf.entry.js.map +0 -1
  1164. package/dist/core/p-ec26fc38.js +0 -2
  1165. package/dist/core/p-ec26fc38.js.map +0 -1
  1166. package/dist/core/p-ed6cf9b9.entry.js +0 -2
  1167. package/dist/core/p-ed6cf9b9.entry.js.map +0 -1
  1168. package/dist/esm/chevron-icon-98c98242.js +0 -8
  1169. package/dist/esm/chevron-icon-98c98242.js.map +0 -1
  1170. package/dist/esm/close-icon-2f02b42a.js.map +0 -1
  1171. package/dist/esm/helpers-c332acf8.js.map +0 -1
  1172. package/dist/esm/index-90721b3c.js.map +0 -1
  1173. package/dist/esm/popper-f860750c.js +0 -1801
  1174. package/dist/esm/popper-f860750c.js.map +0 -1
  1175. /package/dist/collection/{components/ic-link/assets → assets}/OpenInNew.svg +0 -0
  1176. /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
  1177. /package/dist/collection/components/ic-breadcrumb-group/{ic-breadcrumb-group-test-examples.js → test/basic/ic-breadcrumb-group-test-examples.js} +0 -0
  1178. /package/dist/collection/components/ic-stepper/{ic-stepper-test-examples.js → test/basic/ic-stepper-test-examples.js} +0 -0
  1179. /package/dist/collection/components/ic-tab-context/{ic-tab-context.test.a11y.js → test/a11y/ic-tab-context.test.a11y.js} +0 -0
  1180. /package/dist/collection/components/ic-text-field/{ic-text-field.test.a11y.js → test/a11y/ic-text-field.test.a11y.js} +0 -0
  1181. /package/dist/types/components/ic-alert/{ic-alert.test.a11y.d.ts → test/a11y/ic-alert.test.a11y.d.ts} +0 -0
  1182. /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
  1183. /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
  1184. /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
  1185. /package/dist/types/components/ic-button/{ic-button.test.a11y.d.ts → test/a11y/ic-button.test.a11y.d.ts} +0 -0
  1186. /package/dist/types/components/ic-card/{ic-card.test.a11y.d.ts → test/a11y/ic-card.test.a11y.d.ts} +0 -0
  1187. /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
  1188. /package/dist/types/components/ic-chip/{ic-chip.test.a11y.d.ts → test/a11y/ic-chip.test.a11y.d.ts} +0 -0
  1189. /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
  1190. /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
  1191. /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
  1192. /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
  1193. /package/dist/types/components/{ic-footer-link/ic-footer-link.test.a11y.d.ts → ic-empty-state/test/a11y/ic-empty-state.test.a11y.d.ts} +0 -0
  1194. /package/dist/types/components/{ic-horizontal-scroll/ic-horizontal-scroll.test.a11y.d.ts → ic-footer/test/a11y/ic-footer.test.a11y.d.ts} +0 -0
  1195. /package/dist/types/components/{ic-hero/ic-hero.test.a11y.d.ts → ic-footer-link/test/a11y/ic-footer-link.test.a11y.d.ts} +0 -0
  1196. /package/dist/types/components/{ic-footer/ic-footer.test.a11y.d.ts → ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.d.ts} +0 -0
  1197. /package/dist/types/components/{ic-link/ic-link.test.a11y.d.ts → ic-hero/test/a11y/ic-hero.test.a11y.d.ts} +0 -0
  1198. /package/dist/types/components/{ic-loading-indicator/ic-loading-indicator.test.a11y.d.ts → ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.d.ts} +0 -0
  1199. /package/dist/types/components/{ic-navigation-group/ic-navigation-group.test.a11y.d.ts → ic-link/test/a11y/ic-link.test.a11y.d.ts} +0 -0
  1200. /package/dist/types/components/{ic-navigation-item/ic-navigation-item.test.a11y.d.ts → ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.d.ts} +0 -0
  1201. /package/dist/types/components/{ic-page-header/ic-page-header.test.a11y.d.ts → ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.d.ts} +0 -0
  1202. /package/dist/types/components/{ic-radio-group/ic-radio-group.test.a11y.d.ts → ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.d.ts} +0 -0
  1203. /package/dist/types/components/{ic-search-bar/ic-search-bar.test.a11y.d.ts → ic-page-header/test/a11y/ic-page-header.test.a11y.d.ts} +0 -0
  1204. /package/dist/types/components/{ic-select/ic-select.test.a11y.d.ts → ic-pagination/test/a11y/ic-pagination.test.a11y.d.ts} +0 -0
  1205. /package/dist/types/components/{ic-side-navigation/ic-side-navigation.test.a11y.d.ts → ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.d.ts} +0 -0
  1206. /package/dist/types/components/{ic-skeleton/ic-skeleton.test.a11y.d.ts → ic-radio-group/test/a11y/ic-radio-group.test.a11y.d.ts} +0 -0
  1207. /package/dist/types/components/{ic-status-tag/ic-status-tag.test.a11y.d.ts → ic-search-bar/test/a11y/ic-search-bar.test.a11y.d.ts} +0 -0
  1208. /package/dist/types/components/{ic-stepper/ic-stepper.test.a11y.d.ts → ic-select/test/a11y/ic-select.test.a11y.d.ts} +0 -0
  1209. /package/dist/types/components/{ic-switch/ic-switch.test.a11y.d.ts → ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.d.ts} +0 -0
  1210. /package/dist/types/components/{ic-tab-context/ic-tab-context.test.a11y.d.ts → ic-skeleton/test/a11y/ic-skeleton.test.a11y.d.ts} +0 -0
  1211. /package/dist/types/components/{ic-text-field/ic-text-field.test.a11y.d.ts → ic-status-tag/test/a11y/ic-status-tag.test.a11y.d.ts} +0 -0
  1212. /package/dist/types/components/{ic-toast/ic-toast.test.a11y.d.ts → ic-stepper/test/a11y/ic-stepper.test.a11y.d.ts} +0 -0
  1213. /package/dist/types/components/ic-stepper/{ic-stepper-test-examples.d.ts → test/basic/ic-stepper-test-examples.d.ts} +0 -0
  1214. /package/dist/types/components/{ic-tooltip/ic-tooltip.test.a11y.d.ts → ic-switch/test/a11y/ic-switch.test.a11y.d.ts} +0 -0
  1215. /package/dist/types/components/{ic-top-navigation/ic-top-navigation.test.a11y.d.ts → ic-tab-context/test/a11y/ic-tab-context.test.a11y.d.ts} +0 -0
  1216. /package/dist/types/components/{ic-typography/ic-typography.test.a11y.d.ts → ic-text-field/test/a11y/ic-text-field.test.a11y.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-90721b3c.js';
2
- import { k as getThemeForegroundColor, D as DEVICE_SIZES, a as onComponentRequiredPropUndefined } from './helpers-c332acf8.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-fd30b77e.js';
2
+ import { D as DEVICE_SIZES, l as getThemeForegroundColor, a as onComponentRequiredPropUndefined } from './helpers-d7d5bd08.js';
3
3
  import './types-dd515332.js';
4
4
 
5
5
  const icFooterLinkGroupCss = "/*! 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(.footer-link-group-sparse){--footer-link-group-margin-right:5.938rem;--footer-link-group-border-bottom:0 solid transparent;--footer-link-group-title-margin-top:0;--footer-link-group-title-margin-bottom:var(--ic-space-md)}:host(.footer-link-group-small){--footer-link-group-margin-right:0;--footer-link-group-title-margin-top:var(--ic-space-md);--footer-link-group-title-margin-bottom:var(--ic-space-md);--footer-link-group-links-padding-left:var(--ic-space-md);--footer-link-group-links-padding-bottom:var(--ic-space-md)}:host(.footer-link-group-light.footer-link-group-small){--footer-link-group-border-bottom:var(--ic-keyline-lighten)}:host(.footer-link-group-dark.footer-link-group-small){--footer-link-group-border-bottom:var(--ic-keyline-darken)}:host(.footer-link-group){margin-right:var(--footer-link-group-margin-right);border-bottom:var(--footer-link-group-border-bottom)}:host(.footer-link-group-small.footer-link-group-light:hover){background-color:var(--ic-action-light-bg-hover);cursor:pointer}:host(.footer-link-group-small.footer-link-group-dark:hover){background-color:var(--ic-action-dark-bg-hover);cursor:pointer}:host(.footer-link-group-sparse:focus){box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset);outline:var(--ic-hc-focus-outline);z-index:1}:host(.footer-link-group-small:focus){box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset);outline:var(--ic-hc-focus-outline);z-index:1}:host(.footer-link-group-small.footer-link-group-light:active){background-color:var(--ic-action-light-bg-active)}:host(.footer-link-group-small.footer-link-group-dark:active){background-color:var(--ic-action-dark-bg-active)}.footer-link-group-title{margin-top:var(--footer-link-group-title-margin-top);margin-bottom:var(--footer-link-group-title-margin-bottom);flex-grow:1}.footer-link-group-toggle{fill:white !important}.footer-link-group-links{display:flex;flex-direction:column}.footer-link-group-header{display:flex;align-items:center}";
@@ -15,11 +15,24 @@ const FooterLinkGroup = class {
15
15
  this.toggleExpanded = () => {
16
16
  this.expanded = !this.expanded;
17
17
  };
18
- this.groupTitle = undefined;
19
- this.small = false;
20
18
  this.expanded = false;
21
- this.dropdownIconStyle = getThemeForegroundColor();
22
19
  this.deviceSize = DEVICE_SIZES.XL;
20
+ this.dropdownIconStyle = getThemeForegroundColor();
21
+ this.small = false;
22
+ this.groupTitle = undefined;
23
+ }
24
+ componentWillLoad() {
25
+ this.small = this.isSmall(this.el);
26
+ }
27
+ componentDidLoad() {
28
+ onComponentRequiredPropUndefined([{ prop: this.groupTitle, propName: "group-title" }], "Footer Link Group");
29
+ }
30
+ footerResizeHandler() {
31
+ this.small = this.isSmall(this.el);
32
+ }
33
+ footerThemeChangeHandler(ev) {
34
+ const theme = ev.detail;
35
+ this.dropdownIconStyle = theme.mode;
23
36
  }
24
37
  isSmall(e) {
25
38
  if (e.parentElement !== null) {
@@ -34,19 +47,6 @@ const FooterLinkGroup = class {
34
47
  return false;
35
48
  }
36
49
  }
37
- footerResizeHandler() {
38
- this.small = this.isSmall(this.el);
39
- }
40
- footerThemeChangeHandler(ev) {
41
- const theme = ev.detail;
42
- this.dropdownIconStyle = theme.mode;
43
- }
44
- componentWillLoad() {
45
- this.small = this.isSmall(this.el);
46
- }
47
- componentDidLoad() {
48
- onComponentRequiredPropUndefined([{ prop: this.groupTitle, propName: "group-title" }], "Footer Link Group");
49
- }
50
50
  render() {
51
51
  const { small, groupTitle } = this;
52
52
  return !small ? (h(Host, { class: {
@@ -1 +1 @@
1
- {"file":"ic-footer-link-group.entry.js","mappings":";;;;AAAA,MAAM,oBAAoB,GAAG,41IAA41I;;MCuB52I,eAAe;;;IA4BlB,kBAAa,GAAG,CAAC,KAAoB;MAC3C,IAAI,KAAK,CAAC,GAAG,KAAK,GAAG,IAAI,KAAK,CAAC,GAAG,KAAK,OAAO,EAAE;QAC9C,IAAI,CAAC,cAAc,EAAE,CAAC;OACvB;KACF,CAAC;IAEM,mBAAc,GAAG;MACvB,IAAI,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;KAChC,CAAC;;iBA5BwB,KAAK;oBAEF,KAAK;6BAEL,uBAAuB,EAAE;sBAExB,YAAY,CAAC,EAAE;;EAErC,OAAO,CAAC,CAAc;IAC5B,IAAI,CAAC,CAAC,aAAa,KAAK,IAAI,EAAE;MAC5B,IAAI,CAAC,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE;QAChD,OAAO,CAAC,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;OAC3D;WAAM;QACL,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;OACtC;KACF;SAAM;MACL,OAAO,KAAK,CAAC;KACd;GACF;EAaD,mBAAmB;IACjB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;GACpC;EAGD,wBAAwB,CAAC,EAAe;IACtC,MAAM,KAAK,GAAY,EAAE,CAAC,MAAM,CAAC;IACjC,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC,IAAI,CAAC;GACrC;EAED,iBAAiB;IACf,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;GACpC;EAED,gBAAgB;IACd,gCAAgC,CAC9B,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAE,CAAC,EACpD,mBAAmB,CACpB,CAAC;GACH;EAED,MAAM;IACJ,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;IAEnC,OAAO,CAAC,KAAK,IACX,EAAC,IAAI,IACH,KAAK,EAAE;QACL,CAAC,4CAA4C,GAAG,IAAI;QACpD,CAAC,qBAAqB,IAAI,CAAC,iBAAiB,EAAE,GAAG,IAAI;OACtD,IAED,WAAK,KAAK,EAAC,yBAAyB,IAClC,qBAAe,OAAO,EAAC,gBAAgB,IAAE,UAAU,CAAiB,CAChE,EACN,WAAK,KAAK,EAAC,yBAAyB,IAClC,eAAQ,CACJ,CACD,KAEP,EAAC,IAAI,IACH,KAAK,EAAE;QACL,CAAC,2CAA2C,GAAG,IAAI;QACnD,CAAC,qBAAqB,IAAI,CAAC,iBAAiB,EAAE,GAAG,IAAI;OACtD,EACD,QAAQ,EAAC,GAAG,EACZ,OAAO,EAAE,IAAI,CAAC,cAAc,EAC5B,SAAS,EAAE,IAAI,CAAC,aAAa,mBACf,MAAM,mBACL,IAAI,CAAC,QAAQ,IAE5B,4BAAsB,UAAU,EAAE,IAAI,IACpC,WAAK,KAAK,EAAC,0BAA0B,IACnC,WAAK,KAAK,EAAC,yBAAyB,IAClC,qBAAe,OAAO,EAAC,OAAO,IAAE,UAAU,CAAiB,CACvD,EACL,IAAI,CAAC,QAAQ,IACZ,WACE,KAAK,EAAC,0BAA0B,EAChC,KAAK,EAAC,4BAA4B,iBACtB,MAAM,EAClB,IAAI,EAAC,KAAK,EACV,KAAK,EAAC,KAAK,EACX,MAAM,EAAC,KAAK,EACZ,mBAAmB,EAAC,eAAe,EACnC,OAAO,EAAC,eAAe,IAEvB,YACE,IAAI,EAAC,cAAc,EACnB,CAAC,EAAC,0IAA0I,GAC5I,CACE,KAEN,WACE,KAAK,EAAC,0BAA0B,EAChC,KAAK,EAAC,4BAA4B,iBACtB,MAAM,EAClB,IAAI,EAAC,KAAK,EACV,KAAK,EAAC,KAAK,EACX,MAAM,EAAC,KAAK,EACZ,mBAAmB,EAAC,eAAe,EACnC,OAAO,EAAC,eAAe,IAEvB,SAAG,SAAS,EAAC,+BAA+B,IAC1C,YACE,IAAI,EAAC,cAAc,EACnB,CAAC,EAAC,0IAA0I,GAC5I,CACA,CACA,CACP,CACG,EACL,IAAI,CAAC,QAAQ,KACZ,WAAK,KAAK,EAAC,yBAAyB,IAClC,eAAQ,CACJ,CACP,CACoB,CAClB,CACR,CAAC;GACH;;;;;;;;","names":[],"sources":["./src/components/ic-footer-link-group/ic-footer-link-group.css?tag=ic-footer-link-group&encapsulation=shadow","./src/components/ic-footer-link-group/ic-footer-link-group.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host(.footer-link-group-sparse) {\n --footer-link-group-margin-right: 5.938rem;\n --footer-link-group-border-bottom: 0 solid transparent;\n --footer-link-group-title-margin-top: 0;\n --footer-link-group-title-margin-bottom: var(--ic-space-md);\n}\n\n:host(.footer-link-group-small) {\n --footer-link-group-margin-right: 0;\n --footer-link-group-title-margin-top: var(--ic-space-md);\n --footer-link-group-title-margin-bottom: var(--ic-space-md);\n --footer-link-group-links-padding-left: var(--ic-space-md);\n --footer-link-group-links-padding-bottom: var(--ic-space-md);\n}\n\n:host(.footer-link-group-light.footer-link-group-small) {\n --footer-link-group-border-bottom: var(--ic-keyline-lighten);\n}\n\n:host(.footer-link-group-dark.footer-link-group-small) {\n --footer-link-group-border-bottom: var(--ic-keyline-darken);\n}\n\n:host(.footer-link-group) {\n margin-right: var(--footer-link-group-margin-right);\n border-bottom: var(--footer-link-group-border-bottom);\n}\n\n:host(.footer-link-group-small.footer-link-group-light:hover) {\n background-color: var(--ic-action-light-bg-hover);\n cursor: pointer;\n}\n\n:host(.footer-link-group-small.footer-link-group-dark:hover) {\n background-color: var(--ic-action-dark-bg-hover);\n cursor: pointer;\n}\n\n:host(.footer-link-group-sparse:focus) {\n box-shadow: var(--ic-border-focus-inset);\n border-radius: var(--ic-border-radius-inset);\n outline: var(--ic-hc-focus-outline);\n z-index: 1;\n}\n\n:host(.footer-link-group-small:focus) {\n box-shadow: var(--ic-border-focus-inset);\n border-radius: var(--ic-border-radius-inset);\n outline: var(--ic-hc-focus-outline);\n z-index: 1;\n}\n\n:host(.footer-link-group-small.footer-link-group-light:active) {\n background-color: var(--ic-action-light-bg-active);\n}\n\n:host(.footer-link-group-small.footer-link-group-dark:active) {\n background-color: var(--ic-action-dark-bg-active);\n}\n\n.footer-link-group-title {\n margin-top: var(--footer-link-group-title-margin-top);\n margin-bottom: var(--footer-link-group-title-margin-bottom);\n flex-grow: 1;\n}\n\n.footer-link-group-toggle {\n fill: white !important;\n}\n\n.footer-link-group-links {\n display: flex;\n flex-direction: column;\n}\n\n.footer-link-group-header {\n display: flex;\n align-items: center;\n}\n","import {\n Component,\n Host,\n Element,\n Listen,\n Prop,\n h,\n State,\n} from \"@stencil/core\";\nimport {\n DEVICE_SIZES,\n getThemeForegroundColor,\n onComponentRequiredPropUndefined,\n} from \"../../utils/helpers\";\nimport { IcTheme } from \"../../utils/types\";\n\n@Component({\n tag: \"ic-footer-link-group\",\n styleUrl: \"ic-footer-link-group.css\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class FooterLinkGroup {\n @Element() el: HTMLIcFooterLinkGroupElement;\n\n /**\n * The title of the link group to be displayed.\n */\n @Prop() groupTitle!: string;\n\n @State() small: boolean = false;\n\n @State() expanded: boolean = false;\n\n @State() dropdownIconStyle = getThemeForegroundColor();\n\n @State() deviceSize: number = DEVICE_SIZES.XL;\n\n private isSmall(e: HTMLElement): boolean {\n if (e.parentElement !== null) {\n if (e.parentElement.classList.contains(\"footer\")) {\n return e.parentElement.classList.contains(\"footer-small\");\n } else {\n return this.isSmall(e.parentElement);\n }\n } else {\n return false;\n }\n }\n\n private handleKeydown = (event: KeyboardEvent): void => {\n if (event.key === \" \" || event.key === \"Enter\") {\n this.toggleExpanded();\n }\n };\n\n private toggleExpanded = (): void => {\n this.expanded = !this.expanded;\n };\n\n @Listen(\"footerResized\", { target: \"document\" })\n footerResizeHandler(): void {\n this.small = this.isSmall(this.el);\n }\n\n @Listen(\"themeChange\", { target: \"document\" })\n footerThemeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.dropdownIconStyle = theme.mode;\n }\n\n componentWillLoad(): void {\n this.small = this.isSmall(this.el);\n }\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.groupTitle, propName: \"group-title\" }],\n \"Footer Link Group\"\n );\n }\n\n render() {\n const { small, groupTitle } = this;\n\n return !small ? (\n <Host\n class={{\n [\"footer-link-group footer-link-group-sparse\"]: true,\n [`footer-link-group-${this.dropdownIconStyle}`]: true,\n }}\n >\n <div class=\"footer-link-group-title\">\n <ic-typography variant=\"subtitle-small\">{groupTitle}</ic-typography>\n </div>\n <div class=\"footer-link-group-links\">\n <slot />\n </div>\n </Host>\n ) : (\n <Host\n class={{\n [\"footer-link-group footer-link-group-small\"]: true,\n [`footer-link-group-${this.dropdownIconStyle}`]: true,\n }}\n tabIndex=\"1\"\n onClick={this.toggleExpanded}\n onKeydown={this.handleKeydown}\n aria-haspopup=\"true\"\n aria-expanded={this.expanded}\n >\n <ic-section-container fullHeight={true}>\n <div class=\"footer-link-group-header\">\n <div class=\"footer-link-group-title\">\n <ic-typography variant=\"label\">{groupTitle}</ic-typography>\n </div>\n {this.expanded ? (\n <svg\n class=\"footer-link-group-toggle\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n role=\"img\"\n width=\"1em\"\n height=\"1em\"\n preserveAspectRatio=\"xMidYMid meet\"\n viewBox=\"0 0 1200 1200\"\n >\n <path\n fill=\"currentColor\"\n d=\"M600.002 210.605L421.285 389.336L0 810.559l178.721 178.836l421.281-421.341l421.281 421.341L1200 810.559L778.733 389.336L600.002 210.605z\"\n />\n </svg>\n ) : (\n <svg\n class=\"footer-link-group-toggle\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n role=\"img\"\n width=\"1em\"\n height=\"1em\"\n preserveAspectRatio=\"xMidYMid meet\"\n viewBox=\"0 0 1200 1200\"\n >\n <g transform=\"translate(0 1200) scale(1 -1)\">\n <path\n fill=\"currentColor\"\n d=\"M600.002 210.605L421.285 389.336L0 810.559l178.721 178.836l421.281-421.341l421.281 421.341L1200 810.559L778.733 389.336L600.002 210.605z\"\n />\n </g>\n </svg>\n )}\n </div>\n {this.expanded && (\n <div class=\"footer-link-group-links\">\n <slot />\n </div>\n )}\n </ic-section-container>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ic-footer-link-group.entry.js","mappings":"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","names":[],"sources":["./src/components/ic-footer-link-group/ic-footer-link-group.css?tag=ic-footer-link-group&encapsulation=shadow","./src/components/ic-footer-link-group/ic-footer-link-group.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host(.footer-link-group-sparse) {\n --footer-link-group-margin-right: 5.938rem;\n --footer-link-group-border-bottom: 0 solid transparent;\n --footer-link-group-title-margin-top: 0;\n --footer-link-group-title-margin-bottom: var(--ic-space-md);\n}\n\n:host(.footer-link-group-small) {\n --footer-link-group-margin-right: 0;\n --footer-link-group-title-margin-top: var(--ic-space-md);\n --footer-link-group-title-margin-bottom: var(--ic-space-md);\n --footer-link-group-links-padding-left: var(--ic-space-md);\n --footer-link-group-links-padding-bottom: var(--ic-space-md);\n}\n\n:host(.footer-link-group-light.footer-link-group-small) {\n --footer-link-group-border-bottom: var(--ic-keyline-lighten);\n}\n\n:host(.footer-link-group-dark.footer-link-group-small) {\n --footer-link-group-border-bottom: var(--ic-keyline-darken);\n}\n\n:host(.footer-link-group) {\n margin-right: var(--footer-link-group-margin-right);\n border-bottom: var(--footer-link-group-border-bottom);\n}\n\n:host(.footer-link-group-small.footer-link-group-light:hover) {\n background-color: var(--ic-action-light-bg-hover);\n cursor: pointer;\n}\n\n:host(.footer-link-group-small.footer-link-group-dark:hover) {\n background-color: var(--ic-action-dark-bg-hover);\n cursor: pointer;\n}\n\n:host(.footer-link-group-sparse:focus) {\n box-shadow: var(--ic-border-focus-inset);\n border-radius: var(--ic-border-radius-inset);\n outline: var(--ic-hc-focus-outline);\n z-index: 1;\n}\n\n:host(.footer-link-group-small:focus) {\n box-shadow: var(--ic-border-focus-inset);\n border-radius: var(--ic-border-radius-inset);\n outline: var(--ic-hc-focus-outline);\n z-index: 1;\n}\n\n:host(.footer-link-group-small.footer-link-group-light:active) {\n background-color: var(--ic-action-light-bg-active);\n}\n\n:host(.footer-link-group-small.footer-link-group-dark:active) {\n background-color: var(--ic-action-dark-bg-active);\n}\n\n.footer-link-group-title {\n margin-top: var(--footer-link-group-title-margin-top);\n margin-bottom: var(--footer-link-group-title-margin-bottom);\n flex-grow: 1;\n}\n\n.footer-link-group-toggle {\n fill: white !important;\n}\n\n.footer-link-group-links {\n display: flex;\n flex-direction: column;\n}\n\n.footer-link-group-header {\n display: flex;\n align-items: center;\n}\n","import {\n Component,\n Host,\n Element,\n Listen,\n Prop,\n h,\n State,\n} from \"@stencil/core\";\nimport {\n DEVICE_SIZES,\n getThemeForegroundColor,\n onComponentRequiredPropUndefined,\n} from \"../../utils/helpers\";\nimport { IcTheme } from \"../../utils/types\";\n\n@Component({\n tag: \"ic-footer-link-group\",\n styleUrl: \"ic-footer-link-group.css\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class FooterLinkGroup {\n @Element() el: HTMLIcFooterLinkGroupElement;\n\n @State() expanded: boolean = false;\n @State() deviceSize: number = DEVICE_SIZES.XL;\n @State() dropdownIconStyle = getThemeForegroundColor();\n @State() small: boolean = false;\n\n /**\n * The title of the link group to be displayed.\n */\n @Prop() groupTitle!: string;\n\n componentWillLoad(): void {\n this.small = this.isSmall(this.el);\n }\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.groupTitle, propName: \"group-title\" }],\n \"Footer Link Group\"\n );\n }\n\n @Listen(\"footerResized\", { target: \"document\" })\n footerResizeHandler(): void {\n this.small = this.isSmall(this.el);\n }\n\n @Listen(\"themeChange\", { target: \"document\" })\n footerThemeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.dropdownIconStyle = theme.mode;\n }\n\n private isSmall(e: HTMLElement): boolean {\n if (e.parentElement !== null) {\n if (e.parentElement.classList.contains(\"footer\")) {\n return e.parentElement.classList.contains(\"footer-small\");\n } else {\n return this.isSmall(e.parentElement);\n }\n } else {\n return false;\n }\n }\n\n private handleKeydown = (event: KeyboardEvent): void => {\n if (event.key === \" \" || event.key === \"Enter\") {\n this.toggleExpanded();\n }\n };\n\n private toggleExpanded = (): void => {\n this.expanded = !this.expanded;\n };\n\n render() {\n const { small, groupTitle } = this;\n\n return !small ? (\n <Host\n class={{\n [\"footer-link-group footer-link-group-sparse\"]: true,\n [`footer-link-group-${this.dropdownIconStyle}`]: true,\n }}\n >\n <div class=\"footer-link-group-title\">\n <ic-typography variant=\"subtitle-small\">{groupTitle}</ic-typography>\n </div>\n <div class=\"footer-link-group-links\">\n <slot />\n </div>\n </Host>\n ) : (\n <Host\n class={{\n [\"footer-link-group footer-link-group-small\"]: true,\n [`footer-link-group-${this.dropdownIconStyle}`]: true,\n }}\n tabIndex=\"1\"\n onClick={this.toggleExpanded}\n onKeydown={this.handleKeydown}\n aria-haspopup=\"true\"\n aria-expanded={this.expanded}\n >\n <ic-section-container fullHeight={true}>\n <div class=\"footer-link-group-header\">\n <div class=\"footer-link-group-title\">\n <ic-typography variant=\"label\">{groupTitle}</ic-typography>\n </div>\n {this.expanded ? (\n <svg\n class=\"footer-link-group-toggle\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n role=\"img\"\n width=\"1em\"\n height=\"1em\"\n preserveAspectRatio=\"xMidYMid meet\"\n viewBox=\"0 0 1200 1200\"\n >\n <path\n fill=\"currentColor\"\n d=\"M600.002 210.605L421.285 389.336L0 810.559l178.721 178.836l421.281-421.341l421.281 421.341L1200 810.559L778.733 389.336L600.002 210.605z\"\n />\n </svg>\n ) : (\n <svg\n class=\"footer-link-group-toggle\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n role=\"img\"\n width=\"1em\"\n height=\"1em\"\n preserveAspectRatio=\"xMidYMid meet\"\n viewBox=\"0 0 1200 1200\"\n >\n <g transform=\"translate(0 1200) scale(1 -1)\">\n <path\n fill=\"currentColor\"\n d=\"M600.002 210.605L421.285 389.336L0 810.559l178.721 178.836l421.281-421.341l421.281 421.341L1200 810.559L778.733 389.336L600.002 210.605z\"\n />\n </g>\n </svg>\n )}\n </div>\n {this.expanded && (\n <div class=\"footer-link-group-links\">\n <slot />\n </div>\n )}\n </ic-section-container>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,16 +1,32 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-90721b3c.js';
2
- import { D as DEVICE_SIZES, k as getThemeForegroundColor } from './helpers-c332acf8.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-fd30b77e.js';
2
+ import { D as DEVICE_SIZES, l as getThemeForegroundColor } from './helpers-d7d5bd08.js';
3
+ import { O as OpenInNew } from './OpenInNew-67a881e0.js';
3
4
  import './types-dd515332.js';
4
5
 
5
- const icFooterLinkCss = "/*! 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(.footer-link-ungrouped-sparse){--footer-link-margin-left:0;--footer-link-margin-right:2.5rem;--footer-link-margin-bottom:0}:host(.footer-link-ungrouped-small){--footer-link-margin-left:0;--footer-link-margin-right:0;--footer-link-margin-bottom:var(--ic-space-md)}:host(.footer-link-grouped-sparse){--footer-link-margin-left:0;--footer-link-margin-right:0;--footer-link-margin-bottom:var(--ic-space-md)}:host(.footer-link-grouped-small){--footer-link-margin-left:var(--ic-space-md);--footer-link-margin-right:0;--footer-link-margin-bottom:var(--ic-space-md)}:host(.footer-link){margin-left:var(--footer-link-margin-left);margin-right:var(--footer-link-margin-right);margin-bottom:var(--footer-link-margin-bottom)}:host(.footer-link) a,:host(.footer-link) a ::slotted(a){display:block;font-weight:var(--ic-font-weight-bold);color:inherit;width:-moz-fit-content;width:fit-content;font-size:var(--ic-font-size-regular)}:host(.footer-link) a:link,:host(.footer-link) a ::slotted(a:link){color:inherit;text-decoration:underline;font-weight:var(--ic-font-weight-bold)}:host(.footer-link) a:link>::slotted(svg),:host(.footer-link) a:link>::slotted(img),:host(.footer-link) a ::slotted(a:link>::slotted(svg)),:host(.footer-link) a ::slotted(a:link>::slotted(img)){padding:var(--ic-space-xxxs);pointer-events:none;transition:var(--ic-easing-transition-fast)}:host(.footer-link-light) ::slotted(svg){fill:var(--ic-architectural-white)}:host(.footer-link-dark) ::slotted(svg){fill:var(--ic-architectural-black)}:host(.footer-link) a:link:hover,:host(.footer-link) a:link:focus,:host(.footer-link) a ::slotted(a:link:hover),:host(.footer-link) a ::slotted(a:link:focus){text-decoration-line:underline;text-decoration-thickness:25%;text-underline-offset:25%}:host(.footer-link) a:link:hover,:host(.footer-link) a ::slotted(a:link:hover){outline:none}:host(.footer-link) a:link:focus,:host(.footer-link) a ::slotted(a:link:focus){outline:var(--ic-hc-focus-outline)}:host(.footer-link) a:link:focus>::slotted(svg),:host(.footer-link) a:link:focus>::slotted(img),:host(.footer-link) a ::slotted(a:link:focus>::slotted(svg)),:host(.footer-link) a ::slotted(a:link:focus>::slotted(img)){box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius)}:host(.footer-link) a:focus,:host(.footer-link) a ::slotted(a:focus){border-radius:var(--ic-border-radius);outline:var(--ic-hc-focus-outline);transition:var(--ic-transition-duration-fast)}:host(.footer-link) a:link:active,:host(.footer-link) a:link:focus:active,:host(.footer-link) a:link:visited:active,:host(.footer-link) a ::slotted(a:link:active),:host(.footer-link) a ::slotted(a:link:focus:active),:host(.footer-link) a ::slotted(a:link:visited:active){color:inherit;text-decoration:none}:host(.footer-link) a:hover,:host(.footer-link) a ::slotted(a:hover){text-decoration:none}@media screen and (min-width: 769px){:host(.footer-link.footer-link-ungrouped-sparse:last-of-type){margin-right:0}}@media (forced-colors: active){:host(.footer-link-light) ::slotted(svg),:host(.footer-link-dark) ::slotted(svg){fill:currentcolor}}";
6
+ const icFooterLinkCss = "/*! 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(.footer-link-ungrouped-sparse){--footer-link-margin-left:0;--footer-link-margin-right:2.5rem;--footer-link-margin-bottom:0}:host(.footer-link-ungrouped-small){--footer-link-margin-left:0;--footer-link-margin-right:0;--footer-link-margin-bottom:var(--ic-space-md)}:host(.footer-link-grouped-sparse){--footer-link-margin-left:0;--footer-link-margin-right:0;--footer-link-margin-bottom:var(--ic-space-md)}:host(.footer-link-grouped-small){--footer-link-margin-left:var(--ic-space-md);--footer-link-margin-right:0;--footer-link-margin-bottom:var(--ic-space-md)}:host(.footer-link){margin-left:var(--footer-link-margin-left);margin-right:var(--footer-link-margin-right);margin-bottom:var(--footer-link-margin-bottom)}:host(.footer-link) a,:host(.footer-link) a ::slotted(a){display:flex;align-items:flex-end;font-weight:var(--ic-font-weight-bold);color:inherit;width:-moz-fit-content;width:fit-content;font-size:var(--ic-font-size-regular)}:host(.footer-link) a:link,:host(.footer-link) a ::slotted(a:link){color:inherit;text-decoration:underline;font-weight:var(--ic-font-weight-bold)}:host(.footer-link) a:link>::slotted(svg),:host(.footer-link) a:link>::slotted(img),:host(.footer-link) a ::slotted(a:link>::slotted(svg)),:host(.footer-link) a ::slotted(a:link>::slotted(img)){padding:var(--ic-space-xxxs);pointer-events:none;transition:var(--ic-easing-transition-fast)}:host(.footer-link-light) ::slotted(svg){fill:var(--ic-architectural-white)}:host(.footer-link-dark) ::slotted(svg){fill:var(--ic-architectural-black)}:host(.footer-link) a:link:hover,:host(.footer-link) a:link:focus,:host(.footer-link) a ::slotted(a:link:hover),:host(.footer-link) a ::slotted(a:link:focus){border-bottom:0.25rem solid !important;margin-bottom:-0.25rem !important;text-decoration:none}@supports (text-decoration-thickness: 25%){:host(.footer-link) a:link:hover,:host(.footer-link) a:link:focus,:host(.footer-link) a ::slotted(a:link:hover),:host(.footer-link) a ::slotted(a:link:focus){text-decoration-line:underline;text-decoration-thickness:25%;text-underline-offset:25%;border-bottom:0 !important;margin-bottom:0 !important}}:host(.footer-link) a:link:hover,:host(.footer-link) a ::slotted(a:link:hover){outline:none}:host(.footer-link) a:link:focus,:host(.footer-link) a ::slotted(a:link:focus){outline:var(--ic-hc-focus-outline)}:host(.footer-link) a:link:focus>::slotted(svg),:host(.footer-link) a:link:focus>::slotted(img),:host(.footer-link) a ::slotted(a:link:focus>::slotted(svg)),:host(.footer-link) a ::slotted(a:link:focus>::slotted(img)){box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius)}:host(.footer-link) a:focus,:host(.footer-link) a ::slotted(a:focus){border-radius:var(--ic-border-radius);outline:var(--ic-hc-focus-outline);transition:var(--ic-transition-duration-fast)}:host(.footer-link) a:link:active,:host(.footer-link) a:link:focus:active,:host(.footer-link) a:link:visited:active,:host(.footer-link) a ::slotted(a:link:active),:host(.footer-link) a ::slotted(a:link:focus:active),:host(.footer-link) a ::slotted(a:link:visited:active){color:inherit;text-decoration:none}:host(.footer-link) a:hover,:host(.footer-link) a ::slotted(a:hover){text-decoration:none}.open-in-new-icon{padding-left:var(--ic-space-xxs)}.open-in-new-icon,.open-in-new-icon svg{height:var(--ic-space-md);width:var(--ic-space-md)}:host(.footer-link-light) .open-in-new-icon svg{fill:var(--ic-architectural-white)}:host(.footer-link-dark) .open-in-new-icon svg{fill:var(--ic-architectural-black)}@media screen and (min-width: 769px){:host(.footer-link.footer-link-ungrouped-sparse:last-of-type){margin-right:0}}@media (forced-colors: active){:host(.footer-link-light) ::slotted(svg),:host(.footer-link-dark) ::slotted(svg){fill:currentcolor}}";
6
7
 
7
8
  const FooterLink = class {
8
9
  constructor(hostRef) {
9
10
  registerInstance(this, hostRef);
10
- this.href = null;
11
- this.footerConfig = { small: false, grouped: false };
12
11
  this.deviceSize = DEVICE_SIZES.XL;
12
+ this.footerConfig = { small: false, grouped: false };
13
13
  this.foregroundColor = getThemeForegroundColor();
14
+ this.download = false;
15
+ this.href = null;
16
+ this.hreflang = undefined;
17
+ this.referrerpolicy = undefined;
18
+ this.rel = undefined;
19
+ this.target = undefined;
20
+ }
21
+ componentWillLoad() {
22
+ this.footerConfig = this.inferConfig(this.el);
23
+ }
24
+ footerResizeHandler() {
25
+ this.footerConfig = this.inferConfig(this.el);
26
+ }
27
+ footerThemeChangeHandler(ev) {
28
+ const theme = ev.detail;
29
+ this.foregroundColor = theme.mode;
14
30
  }
15
31
  inferConfig(e) {
16
32
  if (e.parentElement !== null) {
@@ -28,24 +44,14 @@ const FooterLink = class {
28
44
  return { small: false, grouped: false };
29
45
  }
30
46
  }
31
- footerResizeHandler() {
32
- this.footerConfig = this.inferConfig(this.el);
33
- }
34
- footerThemeChangeHandler(ev) {
35
- const theme = ev.detail;
36
- this.foregroundColor = theme.mode;
37
- }
38
- componentWillLoad() {
39
- this.footerConfig = this.inferConfig(this.el);
40
- }
41
47
  render() {
42
- const { footerConfig, href } = this;
48
+ const { footerConfig, href, hreflang, referrerpolicy, rel, target, download, } = this;
43
49
  const { small, grouped } = footerConfig;
44
50
  return (h(Host, { class: {
45
51
  "footer-link": true,
46
52
  [`footer-link-${grouped ? "grouped" : "ungrouped"}-${small ? "small" : "sparse"}`]: true,
47
53
  [`footer-link-${this.foregroundColor}`]: true,
48
- } }, h("a", { href: href }, h("slot", null))));
54
+ } }, h("a", { href: href, hreflang: hreflang, referrerPolicy: referrerpolicy, rel: rel, download: download !== false ? download : null, target: target }, h("slot", null), target === "_blank" && (h("span", { class: "open-in-new-icon", innerHTML: OpenInNew })))));
49
55
  }
50
56
  static get delegatesFocus() { return true; }
51
57
  get el() { return getElement(this); }
@@ -1 +1 @@
1
- {"file":"ic-footer-link.entry.js","mappings":";;;;AAAA,MAAM,eAAe,GAAG,q4KAAq4K;;MCqBh5K,UAAU;;;gBAMG,IAAI;wBAEU,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE;sBAExC,YAAY,CAAC,EAAE;2BAEC,uBAAuB,EAAE;;EAE/D,WAAW,CAAC,CAAc;IAChC,IAAI,CAAC,CAAC,aAAa,KAAK,IAAI,EAAE;MAC5B,IAAI,CAAC,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE;QAChD,OAAO;UACL,KAAK,EAAE,CAAC,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,cAAc,CAAC;UACzD,OAAO,EAAE,CAAC,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,gBAAgB,CAAC;SAC9D,CAAC;OACH;WAAM;QACL,OAAO,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;OAC1C;KACF;SAAM;MACL,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;KACzC;GACF;EAGD,mBAAmB;IACjB,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;GAC/C;EAGD,wBAAwB,CAAC,EAAe;IACtC,MAAM,KAAK,GAAY,EAAE,CAAC,MAAM,CAAC;IACjC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC,IAAI,CAAC;GACnC;EAED,iBAAiB;IACf,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;GAC/C;EAED,MAAM;IACJ,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IACpC,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,YAAY,CAAC;IAExC,QACE,EAAC,IAAI,IACH,KAAK,EAAE;QACL,aAAa,EAAE,IAAI;QACnB,CAAC,eAAe,OAAO,GAAG,SAAS,GAAG,WAAW,IAC/C,KAAK,GAAG,OAAO,GAAG,QACpB,EAAE,GAAG,IAAI;QACT,CAAC,eAAe,IAAI,CAAC,eAAe,EAAE,GAAG,IAAI;OAC9C,IAED,SAAG,IAAI,EAAE,IAAI,IACX,eAAQ,CACN,CACC,EACP;GACH;;;;;;;;","names":[],"sources":["./src/components/ic-footer-link/ic-footer-link.css?tag=ic-footer-link&encapsulation=shadow","./src/components/ic-footer-link/ic-footer-link.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host(.footer-link-ungrouped-sparse) {\n --footer-link-margin-left: 0;\n --footer-link-margin-right: 2.5rem;\n --footer-link-margin-bottom: 0;\n}\n\n:host(.footer-link-ungrouped-small) {\n --footer-link-margin-left: 0;\n --footer-link-margin-right: 0;\n --footer-link-margin-bottom: var(--ic-space-md);\n}\n\n:host(.footer-link-grouped-sparse) {\n --footer-link-margin-left: 0;\n --footer-link-margin-right: 0;\n --footer-link-margin-bottom: var(--ic-space-md);\n}\n\n:host(.footer-link-grouped-small) {\n --footer-link-margin-left: var(--ic-space-md);\n --footer-link-margin-right: 0;\n --footer-link-margin-bottom: var(--ic-space-md);\n}\n\n:host(.footer-link) {\n margin-left: var(--footer-link-margin-left);\n margin-right: var(--footer-link-margin-right);\n margin-bottom: var(--footer-link-margin-bottom);\n}\n\n/* Link styling */\n\n:host(.footer-link) a,\n:host(.footer-link) a ::slotted(a) {\n display: block;\n font-weight: var(--ic-font-weight-bold);\n color: inherit;\n width: fit-content;\n font-size: var(--ic-font-size-regular);\n}\n\n:host(.footer-link) a:link,\n:host(.footer-link) a ::slotted(a:link) {\n color: inherit;\n text-decoration: underline;\n font-weight: var(--ic-font-weight-bold);\n}\n\n:host(.footer-link) a:link > ::slotted(svg),\n:host(.footer-link) a:link > ::slotted(img),\n:host(.footer-link) a ::slotted(a:link > ::slotted(svg)),\n:host(.footer-link) a ::slotted(a:link > ::slotted(img)) {\n padding: var(--ic-space-xxxs);\n pointer-events: none;\n transition: var(--ic-easing-transition-fast);\n}\n\n/*\nThere's an apparent defect in Chrome that means this isn't always re-rendered if changed.\nNot an issue in Safari. Line 73-79 implement the same function but less clean.\n\na:link > ::slotted(svg) ,\na:link:visited > ::slotted(svg) {\n fill: var(--ic-theme-text);\n}\n*/\n\n:host(.footer-link-light) ::slotted(svg) {\n fill: var(--ic-architectural-white);\n}\n\n:host(.footer-link-dark) ::slotted(svg) {\n fill: var(--ic-architectural-black);\n}\n\n:host(.footer-link) a:link:hover,\n:host(.footer-link) a:link:focus,\n:host(.footer-link) a ::slotted(a:link:hover),\n:host(.footer-link) a ::slotted(a:link:focus) {\n text-decoration-line: underline;\n text-decoration-thickness: 25%;\n text-underline-offset: 25%;\n}\n\n:host(.footer-link) a:link:hover,\n:host(.footer-link) a ::slotted(a:link:hover) {\n outline: none;\n}\n\n:host(.footer-link) a:link:focus,\n:host(.footer-link) a ::slotted(a:link:focus) {\n outline: var(--ic-hc-focus-outline);\n}\n\n:host(.footer-link) a:link:focus > ::slotted(svg),\n:host(.footer-link) a:link:focus > ::slotted(img),\n:host(.footer-link) a ::slotted(a:link:focus > ::slotted(svg)),\n:host(.footer-link) a ::slotted(a:link:focus > ::slotted(img)) {\n box-shadow: var(--ic-border-focus);\n border-radius: var(--ic-border-radius);\n}\n\n:host(.footer-link) a:focus,\n:host(.footer-link) a ::slotted(a:focus) {\n border-radius: var(--ic-border-radius);\n outline: var(--ic-hc-focus-outline);\n transition: var(--ic-transition-duration-fast);\n}\n\n:host(.footer-link) a:link:active,\n:host(.footer-link) a:link:focus:active,\n:host(.footer-link) a:link:visited:active,\n:host(.footer-link) a ::slotted(a:link:active),\n:host(.footer-link) a ::slotted(a:link:focus:active),\n:host(.footer-link) a ::slotted(a:link:visited:active) {\n color: inherit;\n text-decoration: none;\n}\n\n:host(.footer-link) a:hover,\n:host(.footer-link) a ::slotted(a:hover) {\n text-decoration: none;\n}\n\n@media screen and (min-width: 769px) {\n :host(.footer-link.footer-link-ungrouped-sparse:last-of-type) {\n margin-right: 0;\n }\n}\n\n@media (forced-colors: active) {\n :host(.footer-link-light) ::slotted(svg),\n :host(.footer-link-dark) ::slotted(svg) {\n fill: currentcolor;\n }\n}\n","import {\n Component,\n Element,\n Host,\n Listen,\n Prop,\n h,\n State,\n} from \"@stencil/core\";\nimport { DEVICE_SIZES, getThemeForegroundColor } from \"../../utils/helpers\";\nimport { IcTheme, IcThemeForeground } from \"../../utils/types\";\n\ntype FooterConfig = { small: boolean; grouped: boolean };\n\n@Component({\n tag: \"ic-footer-link\",\n styleUrl: \"ic-footer-link.css\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class FooterLink {\n @Element() el: HTMLIcFooterLinkElement;\n\n /**\n * The URL that the link points to.\n */\n @Prop() href?: string = null;\n\n @State() footerConfig: FooterConfig = { small: false, grouped: false };\n\n @State() deviceSize: number = DEVICE_SIZES.XL;\n\n @State() foregroundColor: IcThemeForeground = getThemeForegroundColor();\n\n private inferConfig(e: HTMLElement): FooterConfig {\n if (e.parentElement !== null) {\n if (e.parentElement.classList.contains(\"footer\")) {\n return {\n small: e.parentElement.classList.contains(\"footer-small\"),\n grouped: e.parentElement.classList.contains(\"footer-grouped\"),\n };\n } else {\n return this.inferConfig(e.parentElement);\n }\n } else {\n return { small: false, grouped: false };\n }\n }\n\n @Listen(\"footerResized\", { target: \"document\" })\n footerResizeHandler(): void {\n this.footerConfig = this.inferConfig(this.el);\n }\n\n @Listen(\"themeChange\", { target: \"document\" })\n footerThemeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.foregroundColor = theme.mode;\n }\n\n componentWillLoad(): void {\n this.footerConfig = this.inferConfig(this.el);\n }\n\n render() {\n const { footerConfig, href } = this;\n const { small, grouped } = footerConfig;\n\n return (\n <Host\n class={{\n \"footer-link\": true,\n [`footer-link-${grouped ? \"grouped\" : \"ungrouped\"}-${\n small ? \"small\" : \"sparse\"\n }`]: true,\n [`footer-link-${this.foregroundColor}`]: true,\n }}\n >\n <a href={href}>\n <slot />\n </a>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ic-footer-link.entry.js","mappings":";;;;;AAAA,MAAM,eAAe,GAAG,0iMAA0iM;;MCuBrjM,UAAU;;;sBAGS,YAAY,CAAC,EAAE;wBACP,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE;2BACxB,uBAAuB,EAAE;oBAKjC,KAAK;gBAKnB,IAAI;;;;;;EAsB5B,iBAAiB;IACf,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;GAC/C;EAGD,mBAAmB;IACjB,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;GAC/C;EAGD,wBAAwB,CAAC,EAAe;IACtC,MAAM,KAAK,GAAY,EAAE,CAAC,MAAM,CAAC;IACjC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC,IAAI,CAAC;GACnC;EAEO,WAAW,CAAC,CAAc;IAChC,IAAI,CAAC,CAAC,aAAa,KAAK,IAAI,EAAE;MAC5B,IAAI,CAAC,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE;QAChD,OAAO;UACL,KAAK,EAAE,CAAC,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,cAAc,CAAC;UACzD,OAAO,EAAE,CAAC,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,gBAAgB,CAAC;SAC9D,CAAC;OACH;WAAM;QACL,OAAO,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;OAC1C;KACF;SAAM;MACL,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;KACzC;GACF;EAED,MAAM;IACJ,MAAM,EACJ,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,cAAc,EACd,GAAG,EACH,MAAM,EACN,QAAQ,GACT,GAAG,IAAI,CAAC;IACT,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,YAAY,CAAC;IAExC,QACE,EAAC,IAAI,IACH,KAAK,EAAE;QACL,aAAa,EAAE,IAAI;QACnB,CAAC,eAAe,OAAO,GAAG,SAAS,GAAG,WAAW,IAC/C,KAAK,GAAG,OAAO,GAAG,QACpB,EAAE,GAAG,IAAI;QACT,CAAC,eAAe,IAAI,CAAC,eAAe,EAAE,GAAG,IAAI;OAC9C,IAED,SACE,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,EAClB,cAAc,EAAE,cAAc,EAC9B,GAAG,EAAE,GAAG,EACR,QAAQ,EAAE,QAAQ,KAAK,KAAK,GAAG,QAAQ,GAAG,IAAI,EAC9C,MAAM,EAAE,MAAM,IAEd,eAAQ,EACP,MAAM,KAAK,QAAQ,KAClB,YAAM,KAAK,EAAC,kBAAkB,EAAC,SAAS,EAAE,SAAS,GAAI,CACxD,CACC,CACC,EACP;GACH;;;;;;;;","names":[],"sources":["./src/components/ic-footer-link/ic-footer-link.css?tag=ic-footer-link&encapsulation=shadow","./src/components/ic-footer-link/ic-footer-link.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host(.footer-link-ungrouped-sparse) {\n --footer-link-margin-left: 0;\n --footer-link-margin-right: 2.5rem;\n --footer-link-margin-bottom: 0;\n}\n\n:host(.footer-link-ungrouped-small) {\n --footer-link-margin-left: 0;\n --footer-link-margin-right: 0;\n --footer-link-margin-bottom: var(--ic-space-md);\n}\n\n:host(.footer-link-grouped-sparse) {\n --footer-link-margin-left: 0;\n --footer-link-margin-right: 0;\n --footer-link-margin-bottom: var(--ic-space-md);\n}\n\n:host(.footer-link-grouped-small) {\n --footer-link-margin-left: var(--ic-space-md);\n --footer-link-margin-right: 0;\n --footer-link-margin-bottom: var(--ic-space-md);\n}\n\n:host(.footer-link) {\n margin-left: var(--footer-link-margin-left);\n margin-right: var(--footer-link-margin-right);\n margin-bottom: var(--footer-link-margin-bottom);\n}\n\n/* Link styling */\n\n:host(.footer-link) a,\n:host(.footer-link) a ::slotted(a) {\n display: flex;\n align-items: flex-end;\n font-weight: var(--ic-font-weight-bold);\n color: inherit;\n width: fit-content;\n font-size: var(--ic-font-size-regular);\n}\n\n:host(.footer-link) a:link,\n:host(.footer-link) a ::slotted(a:link) {\n color: inherit;\n text-decoration: underline;\n font-weight: var(--ic-font-weight-bold);\n}\n\n:host(.footer-link) a:link > ::slotted(svg),\n:host(.footer-link) a:link > ::slotted(img),\n:host(.footer-link) a ::slotted(a:link > ::slotted(svg)),\n:host(.footer-link) a ::slotted(a:link > ::slotted(img)) {\n padding: var(--ic-space-xxxs);\n pointer-events: none;\n transition: var(--ic-easing-transition-fast);\n}\n\n/*\nThere's an apparent defect in Chrome that means this isn't always re-rendered if changed.\nNot an issue in Safari. Line 73-79 implement the same function but less clean.\n\na:link > ::slotted(svg) ,\na:link:visited > ::slotted(svg) {\n fill: var(--ic-theme-text);\n}\n*/\n\n:host(.footer-link-light) ::slotted(svg) {\n fill: var(--ic-architectural-white);\n}\n\n:host(.footer-link-dark) ::slotted(svg) {\n fill: var(--ic-architectural-black);\n}\n\n:host(.footer-link) a:link:hover,\n:host(.footer-link) a:link:focus,\n:host(.footer-link) a ::slotted(a:link:hover),\n:host(.footer-link) a ::slotted(a:link:focus) {\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 :host(.footer-link) a:link:hover,\n :host(.footer-link) a:link:focus,\n :host(.footer-link) a ::slotted(a:link:hover),\n :host(.footer-link) a ::slotted(a:link:focus) {\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:host(.footer-link) a:link:hover,\n:host(.footer-link) a ::slotted(a:link:hover) {\n outline: none;\n}\n\n:host(.footer-link) a:link:focus,\n:host(.footer-link) a ::slotted(a:link:focus) {\n outline: var(--ic-hc-focus-outline);\n}\n\n:host(.footer-link) a:link:focus > ::slotted(svg),\n:host(.footer-link) a:link:focus > ::slotted(img),\n:host(.footer-link) a ::slotted(a:link:focus > ::slotted(svg)),\n:host(.footer-link) a ::slotted(a:link:focus > ::slotted(img)) {\n box-shadow: var(--ic-border-focus);\n border-radius: var(--ic-border-radius);\n}\n\n:host(.footer-link) a:focus,\n:host(.footer-link) a ::slotted(a:focus) {\n border-radius: var(--ic-border-radius);\n outline: var(--ic-hc-focus-outline);\n transition: var(--ic-transition-duration-fast);\n}\n\n:host(.footer-link) a:link:active,\n:host(.footer-link) a:link:focus:active,\n:host(.footer-link) a:link:visited:active,\n:host(.footer-link) a ::slotted(a:link:active),\n:host(.footer-link) a ::slotted(a:link:focus:active),\n:host(.footer-link) a ::slotted(a:link:visited:active) {\n color: inherit;\n text-decoration: none;\n}\n\n:host(.footer-link) a:hover,\n:host(.footer-link) a ::slotted(a:hover) {\n text-decoration: none;\n}\n\n.open-in-new-icon {\n padding-left: var(--ic-space-xxs);\n}\n\n.open-in-new-icon,\n.open-in-new-icon svg {\n height: var(--ic-space-md);\n width: var(--ic-space-md);\n}\n\n:host(.footer-link-light) .open-in-new-icon svg {\n fill: var(--ic-architectural-white);\n}\n\n:host(.footer-link-dark) .open-in-new-icon svg {\n fill: var(--ic-architectural-black);\n}\n\n@media screen and (min-width: 769px) {\n :host(.footer-link.footer-link-ungrouped-sparse:last-of-type) {\n margin-right: 0;\n }\n}\n\n@media (forced-colors: active) {\n :host(.footer-link-light) ::slotted(svg),\n :host(.footer-link-dark) ::slotted(svg) {\n fill: currentcolor;\n }\n}\n","import {\n Component,\n Element,\n Host,\n Listen,\n Prop,\n h,\n State,\n} from \"@stencil/core\";\nimport { DEVICE_SIZES, getThemeForegroundColor } from \"../../utils/helpers\";\nimport { IcTheme, IcThemeForeground } from \"../../utils/types\";\n\nimport OpenInNew from \"../../assets/OpenInNew.svg\";\n\ntype FooterConfig = { small: boolean; grouped: boolean };\n\n@Component({\n tag: \"ic-footer-link\",\n styleUrl: \"ic-footer-link.css\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class FooterLink {\n @Element() el: HTMLIcFooterLinkElement;\n\n @State() deviceSize: number = DEVICE_SIZES.XL;\n @State() footerConfig: FooterConfig = { small: false, grouped: false };\n @State() foregroundColor: IcThemeForeground = getThemeForegroundColor();\n\n /**\n * If `true`, the user can save the linked URL instead of navigating to it.\n */\n @Prop() download?: string | boolean = false;\n\n /**\n * The URL that the link points to.\n */\n @Prop() href?: string = null;\n\n /**\n * The human language of the linked URL.\n */\n @Prop() hreflang?: 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 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 componentWillLoad(): void {\n this.footerConfig = this.inferConfig(this.el);\n }\n\n @Listen(\"footerResized\", { target: \"document\" })\n footerResizeHandler(): void {\n this.footerConfig = this.inferConfig(this.el);\n }\n\n @Listen(\"themeChange\", { target: \"document\" })\n footerThemeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.foregroundColor = theme.mode;\n }\n\n private inferConfig(e: HTMLElement): FooterConfig {\n if (e.parentElement !== null) {\n if (e.parentElement.classList.contains(\"footer\")) {\n return {\n small: e.parentElement.classList.contains(\"footer-small\"),\n grouped: e.parentElement.classList.contains(\"footer-grouped\"),\n };\n } else {\n return this.inferConfig(e.parentElement);\n }\n } else {\n return { small: false, grouped: false };\n }\n }\n\n render() {\n const {\n footerConfig,\n href,\n hreflang,\n referrerpolicy,\n rel,\n target,\n download,\n } = this;\n const { small, grouped } = footerConfig;\n\n return (\n <Host\n class={{\n \"footer-link\": true,\n [`footer-link-${grouped ? \"grouped\" : \"ungrouped\"}-${\n small ? \"small\" : \"sparse\"\n }`]: true,\n [`footer-link-${this.foregroundColor}`]: true,\n }}\n >\n <a\n href={href}\n hreflang={hreflang}\n referrerPolicy={referrerpolicy}\n rel={rel}\n download={download !== false ? download : null}\n target={target}\n >\n <slot />\n {target === \"_blank\" && (\n <span class=\"open-in-new-icon\" innerHTML={OpenInNew} />\n )}\n </a>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,13 +1,14 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-90721b3c.js';
2
- import { g as getCurrentDeviceSize, I as IC_DEVICE_SIZES, k as getThemeForegroundColor, c as checkResizeObserver, l as hasClassificationBanner } from './helpers-c332acf8.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-fd30b77e.js';
2
+ import { g as getCurrentDeviceSize, I as IC_DEVICE_SIZES, l as getThemeForegroundColor, c as checkResizeObserver, i as isSlotUsed, m as hasClassificationBanner } from './helpers-d7d5bd08.js';
3
3
  import { I as IcThemeForegroundEnum } from './types-dd515332.js';
4
4
 
5
- const icFooterCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block}:host(.footer-sparse){--footer-links-padding:1.5rem 0;--footer-compliance-padding:1.5rem 0 0.5rem 0;--footer-logo-margin-bottom:var(--ic-space-lg);--footer-link-inner-flex-direction:row}:host(.footer-small){--footer-links-padding:0 0;--footer-compliance-padding:1rem 0 0.5rem;--footer-logo-margin-bottom:var(--ic-space-md);--footer-link-inner-flex-direction:column}:host(.footer-light){--footer-theme-secondary:var(--ic-theme-secondary);--footer-theme-tertiary:var(--ic-theme-tertiary);--footer-keyline:var(--ic-keyline-lighten)}:host(.footer-dark){--footer-theme-secondary:var(--ic-theme-secondary-light);--footer-theme-tertiary:var(--ic-theme-tertiary-light);--footer-keyline:var(--ic-keyline-darken)}:host(.footer-small.footer-ungrouped){--footer-links-padding:var(--ic-space-md) 0 0 0}footer{display:flex;flex-direction:column;width:100%}.footer-description{background-color:var(--footer-theme-secondary);color:var(--ic-theme-text);border-bottom:var(--footer-keyline)}.footer-description-inner{padding:1rem 0}.footer-links{padding:var(--footer-links-padding);background-color:var(--footer-theme-secondary);color:var(--ic-theme-text)}.footer-links-inner{display:flex;flex-direction:var(--footer-link-inner-flex-direction)}.footer-compliance{background-color:var(--footer-theme-tertiary);color:var(--ic-theme-text)}.footer-compliance-inner{padding:var(--footer-compliance-padding)}.footer-logo{margin-bottom:var(--footer-logo-margin-bottom);display:flex;gap:var(--ic-space-xxl)}.footer-logo>::slotted(){margin-right:var(--ic-space-md)}.footer-caption{margin-bottom:var(--ic-space-md)}.classification-spacing{margin-bottom:var(--ic-space-lg)}@media (forced-colors: active){footer{border-top:var(--ic-hc-border)}}";
5
+ const icFooterCss = "/*! 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;--footer-compliance-padding:1rem 0}:host(.footer-sparse){--footer-links-padding:1.5rem 0;--footer-logo-margin-bottom:var(--ic-space-lg);--footer-link-inner-flex-direction:row}:host(.footer-small){--footer-links-padding:0 0;--footer-logo-margin-bottom:var(--ic-space-md);--footer-link-inner-flex-direction:column}:host(.footer-light){--footer-theme-secondary:var(--ic-theme-secondary);--footer-theme-tertiary:var(--ic-theme-tertiary);--footer-keyline:var(--ic-keyline-lighten)}:host(.footer-dark){--footer-theme-secondary:var(--ic-theme-secondary-light);--footer-theme-tertiary:var(--ic-theme-tertiary-light);--footer-keyline:var(--ic-keyline-darken)}:host(.footer-small.footer-ungrouped){--footer-links-padding:var(--ic-space-md) 0 0 0}footer{display:flex;flex-direction:column;width:100%}.footer-description{background-color:var(--footer-theme-secondary);color:var(--ic-theme-text);border-bottom:var(--footer-keyline)}.footer-description-inner{padding:1rem 0}.footer-links{padding:var(--footer-links-padding);background-color:var(--footer-theme-secondary);color:var(--ic-theme-text)}.footer-links-inner{display:flex;flex-direction:var(--footer-link-inner-flex-direction)}.footer-compliance{background-color:var(--footer-theme-tertiary);color:var(--ic-theme-text)}.footer-compliance-inner{padding:var(--footer-compliance-padding)}.footer-logo{margin-bottom:var(--footer-logo-margin-bottom);display:flex;gap:var(--ic-space-xxl)}.footer-logo>::slotted(){margin-right:var(--ic-space-md)}.footer-caption{margin-bottom:var(--ic-space-md)}.classification-spacing{margin-bottom:var(--ic-space-lg)}@media (forced-colors: active){footer{border-top:var(--ic-hc-border)}}";
6
6
 
7
7
  const Footer = class {
8
8
  constructor(hostRef) {
9
9
  registerInstance(this, hostRef);
10
10
  this.footerResized = createEvent(this, "footerResized", 7);
11
+ this.resizeObserver = null;
11
12
  this.resizeObserverCallback = (currSize) => {
12
13
  if (currSize !== this.deviceSize) {
13
14
  this.deviceSize = currSize;
@@ -21,14 +22,29 @@ const Footer = class {
21
22
  });
22
23
  this.resizeObserver.observe(this.footerEl);
23
24
  };
24
- this.description = undefined;
25
+ this.deviceSize = IC_DEVICE_SIZES.XL;
26
+ this.foregroundColor = getThemeForegroundColor();
25
27
  this.aligned = "left";
26
28
  this.breakpoint = "medium";
27
- this.groupLinks = false;
28
29
  this.caption = undefined;
29
30
  this.copyright = true;
30
- this.deviceSize = IC_DEVICE_SIZES.XL;
31
- this.foregroundColor = getThemeForegroundColor();
31
+ this.description = undefined;
32
+ this.groupLinks = false;
33
+ }
34
+ disconnectedCallback() {
35
+ if (this.resizeObserver !== null) {
36
+ this.resizeObserver.disconnect();
37
+ }
38
+ }
39
+ componentWillLoad() {
40
+ this.deviceSize = getCurrentDeviceSize();
41
+ }
42
+ componentDidLoad() {
43
+ checkResizeObserver(this.runResizeObserver);
44
+ }
45
+ themeChangeHandler(ev) {
46
+ const theme = ev.detail;
47
+ this.foregroundColor = theme.mode;
32
48
  }
33
49
  isSmall() {
34
50
  const bp = this.breakpoint;
@@ -44,19 +60,6 @@ const Footer = class {
44
60
  ? this.deviceSize < IC_DEVICE_SIZES.XL
45
61
  : false;
46
62
  }
47
- themeChangeHandler(ev) {
48
- const theme = ev.detail;
49
- this.foregroundColor = theme.mode;
50
- }
51
- componentWillLoad() {
52
- this.deviceSize = getCurrentDeviceSize();
53
- }
54
- componentDidLoad() {
55
- checkResizeObserver(this.runResizeObserver);
56
- }
57
- disconnectedCallback() {
58
- this.resizeObserver.disconnect();
59
- }
60
63
  render() {
61
64
  const { aligned, caption, copyright, description, groupLinks, foregroundColor, } = this;
62
65
  const small = this.isSmall();
@@ -68,7 +71,9 @@ const Footer = class {
68
71
  // Slots will be able to infer their own color
69
72
  [IcThemeForegroundEnum.Dark]: foregroundColor === IcThemeForegroundEnum.Dark,
70
73
  [IcThemeForegroundEnum.Light]: foregroundColor === IcThemeForegroundEnum.Light,
71
- } }, h("footer", { ref: (footerEl) => (this.footerEl = footerEl) }, h("div", { class: "footer-description" }, h("ic-section-container", { aligned: aligned, fullHeight: true }, h("div", { class: "footer-description-inner" }, h("ic-typography", { variant: "body" }, h("slot", { name: "description" }, description))))), h("div", { class: "footer-links" }, groupLinks && small ? (h("div", { class: "footer-links-inner" }, h("slot", { name: "link" }))) : (h("ic-section-container", { fullHeight: true, aligned: aligned }, h("div", { class: "footer-links-inner" }, h("slot", { name: "link" }))))), h("div", { class: "footer-compliance" }, h("ic-section-container", { aligned: aligned, fullHeight: true }, h("div", { class: "footer-compliance-inner" }, h("div", { class: "footer-logo" }, h("slot", { name: "logo" })), h("div", { class: "footer-caption" }, h("ic-typography", { variant: this.deviceSize <= IC_DEVICE_SIZES.M ? "caption" : "body" }, h("slot", { name: "caption" }, caption))), copyright && (h("div", { class: {
74
+ } }, h("footer", { ref: (footerEl) => (this.footerEl = footerEl) }, h("div", { class: "footer-description" }, h("ic-section-container", { aligned: aligned, fullHeight: true }, h("div", { class: "footer-description-inner" }, h("ic-typography", { variant: "body" }, h("slot", { name: "description" }, description))))), isSlotUsed(this.el, "link") && (h("div", { class: "footer-links" }, groupLinks && small ? (h("div", { class: "footer-links-inner" }, h("slot", { name: "link" }))) : (h("ic-section-container", { fullHeight: true, aligned: aligned }, h("div", { class: "footer-links-inner" }, h("slot", { name: "link" })))))), h("div", { class: "footer-compliance" }, h("ic-section-container", { aligned: aligned, fullHeight: true }, h("div", { class: "footer-compliance-inner" }, isSlotUsed(this.el, "logo") && (h("div", { class: "footer-logo" }, h("slot", { name: "logo" }))), (isSlotUsed(this.el, "caption") || caption) && (h("div", { class: "footer-caption" }, h("ic-typography", { variant: this.deviceSize <= IC_DEVICE_SIZES.M
75
+ ? "caption"
76
+ : "body" }, h("slot", { name: "caption" }, caption)))), copyright && (h("div", { class: {
72
77
  ["footer-copyright"]: true,
73
78
  ["classification-spacing"]: hasClassificationBanner(),
74
79
  } }, h("ic-typography", { variant: this.deviceSize <= IC_DEVICE_SIZES.M
@@ -1 +1 @@
1
- {"file":"ic-footer.entry.js","mappings":"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","names":[],"sources":["./src/components/ic-footer/ic-footer.css?tag=ic-footer&encapsulation=shadow","./src/components/ic-footer/ic-footer.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host {\n display: block;\n}\n\n:host(.footer-sparse) {\n --footer-links-padding: 1.5rem 0;\n --footer-compliance-padding: 1.5rem 0 0.5rem 0;\n --footer-logo-margin-bottom: var(--ic-space-lg);\n --footer-link-inner-flex-direction: row;\n}\n\n:host(.footer-small) {\n --footer-links-padding: 0 0;\n --footer-compliance-padding: 1rem 0 0.5rem;\n --footer-logo-margin-bottom: var(--ic-space-md);\n --footer-link-inner-flex-direction: column;\n}\n\n:host(.footer-light) {\n --footer-theme-secondary: var(--ic-theme-secondary);\n --footer-theme-tertiary: var(--ic-theme-tertiary);\n --footer-keyline: var(--ic-keyline-lighten);\n}\n\n:host(.footer-dark) {\n --footer-theme-secondary: var(--ic-theme-secondary-light);\n --footer-theme-tertiary: var(--ic-theme-tertiary-light);\n --footer-keyline: var(--ic-keyline-darken);\n}\n\n:host(.footer-small.footer-ungrouped) {\n --footer-links-padding: var(--ic-space-md) 0 0 0;\n}\n\n/* Main inner footer element */\nfooter {\n display: flex;\n flex-direction: column;\n width: 100%;\n}\n\n/* Description */\n\n.footer-description {\n background-color: var(--footer-theme-secondary);\n color: var(--ic-theme-text);\n border-bottom: var(--footer-keyline);\n}\n\n.footer-description-inner {\n padding: 1rem 0;\n}\n\n/* Links */\n\n.footer-links {\n padding: var(--footer-links-padding);\n background-color: var(--footer-theme-secondary);\n color: var(--ic-theme-text);\n}\n\n.footer-links-inner {\n display: flex;\n flex-direction: var(--footer-link-inner-flex-direction);\n}\n\n/* Compliance */\n\n.footer-compliance {\n background-color: var(--footer-theme-tertiary);\n color: var(--ic-theme-text);\n}\n\n.footer-compliance-inner {\n padding: var(--footer-compliance-padding);\n}\n\n.footer-logo {\n margin-bottom: var(--footer-logo-margin-bottom);\n display: flex;\n gap: var(--ic-space-xxl);\n}\n\n.footer-logo > ::slotted() {\n margin-right: var(--ic-space-md);\n}\n\n.footer-caption {\n margin-bottom: var(--ic-space-md);\n}\n\n.classification-spacing {\n margin-bottom: var(--ic-space-lg);\n}\n\n@media (forced-colors: active) {\n footer {\n border-top: var(--ic-hc-border);\n }\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n Prop,\n State,\n h,\n Host,\n Listen,\n} from \"@stencil/core\";\nimport { IC_DEVICE_SIZES } from \"../../utils/constants\";\nimport {\n getCurrentDeviceSize,\n getThemeForegroundColor,\n checkResizeObserver,\n hasClassificationBanner,\n} from \"../../utils/helpers\";\nimport {\n IcAlignment,\n IcTheme,\n IcThemeForeground,\n IcThemeForegroundEnum,\n} from \"../../utils/types\";\nimport { IcFooterBreakpoints } from \"./ic-footer.types\";\n\n/**\n * @slot description - Content will be rendered at the top of the footer.\n * @slot link - Content will be rendered between description and logos.\n * @slot logo - Content will be rendered underneath footer links.\n * @slot caption - Content will be rendered above Crown Copyright.\n */\n\n@Component({\n tag: \"ic-footer\",\n styleUrl: \"ic-footer.css\",\n shadow: true,\n})\nexport class Footer {\n @Element() el: HTMLIcFooterElement;\n\n /**\n * @internal Triggers on page resize and triggers style changes in footer links and link groups\n */\n @Event() footerResized: EventEmitter<void>;\n\n /**\n * The description displayed at the top of the footer.\n */\n @Prop() description: string;\n\n /**\n * The alignment of the section containers used within the footer.\n */\n @Prop() aligned?: IcAlignment = \"left\";\n\n /**\n * The screen size breakpoint at which to switch to the small layout.\n */\n @Prop() breakpoint?: IcFooterBreakpoints = \"medium\";\n\n /**\n * If `true`, the footer will be set up to handle link groups instead of standalone links.\n */\n @Prop() groupLinks?: boolean = false;\n\n /**\n * The caption displayed at the bottom of the footer.\n */\n @Prop() caption: string;\n\n /**\n * If `true`, the footer will display the crown copyright at the bottom.\n */\n @Prop() copyright: boolean = true;\n\n @State() deviceSize: number = IC_DEVICE_SIZES.XL;\n\n @State() foregroundColor: IcThemeForeground = getThemeForegroundColor();\n\n private isSmall() {\n const bp = this.breakpoint;\n\n return bp === \"extra small\"\n ? this.deviceSize < IC_DEVICE_SIZES.XS\n : bp === \"small\"\n ? this.deviceSize < IC_DEVICE_SIZES.S\n : bp === \"medium\"\n ? this.deviceSize < IC_DEVICE_SIZES.M\n : bp === \"large\"\n ? this.deviceSize < IC_DEVICE_SIZES.L\n : bp === \"extra large\"\n ? this.deviceSize < IC_DEVICE_SIZES.XL\n : false;\n }\n\n @Listen(\"themeChange\", { target: \"document\" })\n themeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.foregroundColor = theme.mode;\n }\n\n private resizeObserver: ResizeObserver;\n private footerEl: HTMLElement;\n\n private resizeObserverCallback = (currSize: number) => {\n if (currSize !== this.deviceSize) {\n this.deviceSize = currSize;\n }\n this.footerResized.emit();\n };\n\n private runResizeObserver = () => {\n this.resizeObserver = new ResizeObserver(() => {\n const currSize = getCurrentDeviceSize();\n this.resizeObserverCallback(currSize);\n });\n\n this.resizeObserver.observe(this.footerEl);\n };\n\n componentWillLoad(): void {\n this.deviceSize = getCurrentDeviceSize();\n }\n\n componentDidLoad(): void {\n checkResizeObserver(this.runResizeObserver);\n }\n\n disconnectedCallback(): void {\n this.resizeObserver.disconnect();\n }\n\n render() {\n const {\n aligned,\n caption,\n copyright,\n description,\n groupLinks,\n foregroundColor,\n } = this;\n const small = this.isSmall();\n\n return (\n <Host\n class={{\n footer: true,\n [`footer-${small ? \"small\" : \"sparse\"}`]: true,\n [`footer-${groupLinks ? \"grouped\" : \"ungrouped\"}`]: true,\n [`footer-${foregroundColor}`]: true,\n // Slots will be able to infer their own color\n [IcThemeForegroundEnum.Dark]:\n foregroundColor === IcThemeForegroundEnum.Dark,\n [IcThemeForegroundEnum.Light]:\n foregroundColor === IcThemeForegroundEnum.Light,\n }}\n >\n <footer ref={(footerEl) => (this.footerEl = footerEl)}>\n {/* Description */}\n <div class=\"footer-description\">\n <ic-section-container aligned={aligned} fullHeight={true}>\n <div class=\"footer-description-inner\">\n <ic-typography variant=\"body\">\n <slot name=\"description\">{description}</slot>\n </ic-typography>\n </div>\n </ic-section-container>\n </div>\n\n {/* Links */}\n <div class=\"footer-links\">\n {groupLinks && small ? (\n <div class=\"footer-links-inner\">\n <slot name=\"link\" />\n </div>\n ) : (\n <ic-section-container fullHeight aligned={aligned}>\n <div class=\"footer-links-inner\">\n <slot name=\"link\" />\n </div>\n </ic-section-container>\n )}\n </div>\n\n {/* Compliance (logo, caption, copyright) */}\n <div class=\"footer-compliance\">\n <ic-section-container aligned={aligned} fullHeight={true}>\n <div class=\"footer-compliance-inner\">\n <div class=\"footer-logo\">\n {/* Logo */}\n <slot name=\"logo\" />\n </div>\n <div class=\"footer-caption\">\n <ic-typography\n variant={\n this.deviceSize <= IC_DEVICE_SIZES.M ? \"caption\" : \"body\"\n }\n >\n <slot name=\"caption\">{caption}</slot>\n </ic-typography>\n </div>\n {copyright && (\n <div\n class={{\n [\"footer-copyright\"]: true,\n [\"classification-spacing\"]: hasClassificationBanner(),\n }}\n >\n <ic-typography\n variant={\n this.deviceSize <= IC_DEVICE_SIZES.M\n ? \"caption-uppercase\"\n : \"label-uppercase\"\n }\n >\n &copy; Crown Copyright\n </ic-typography>\n </div>\n )}\n </div>\n </ic-section-container>\n </div>\n </footer>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ic-footer.entry.js","mappings":"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","names":[],"sources":["./src/components/ic-footer/ic-footer.css?tag=ic-footer&encapsulation=shadow","./src/components/ic-footer/ic-footer.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host {\n display: block;\n\n --footer-compliance-padding: 1rem 0;\n}\n\n:host(.footer-sparse) {\n --footer-links-padding: 1.5rem 0;\n --footer-logo-margin-bottom: var(--ic-space-lg);\n --footer-link-inner-flex-direction: row;\n}\n\n:host(.footer-small) {\n --footer-links-padding: 0 0;\n --footer-logo-margin-bottom: var(--ic-space-md);\n --footer-link-inner-flex-direction: column;\n}\n\n:host(.footer-light) {\n --footer-theme-secondary: var(--ic-theme-secondary);\n --footer-theme-tertiary: var(--ic-theme-tertiary);\n --footer-keyline: var(--ic-keyline-lighten);\n}\n\n:host(.footer-dark) {\n --footer-theme-secondary: var(--ic-theme-secondary-light);\n --footer-theme-tertiary: var(--ic-theme-tertiary-light);\n --footer-keyline: var(--ic-keyline-darken);\n}\n\n:host(.footer-small.footer-ungrouped) {\n --footer-links-padding: var(--ic-space-md) 0 0 0;\n}\n\n/* Main inner footer element */\nfooter {\n display: flex;\n flex-direction: column;\n width: 100%;\n}\n\n/* Description */\n\n.footer-description {\n background-color: var(--footer-theme-secondary);\n color: var(--ic-theme-text);\n border-bottom: var(--footer-keyline);\n}\n\n.footer-description-inner {\n padding: 1rem 0;\n}\n\n/* Links */\n\n.footer-links {\n padding: var(--footer-links-padding);\n background-color: var(--footer-theme-secondary);\n color: var(--ic-theme-text);\n}\n\n.footer-links-inner {\n display: flex;\n flex-direction: var(--footer-link-inner-flex-direction);\n}\n\n/* Compliance */\n\n.footer-compliance {\n background-color: var(--footer-theme-tertiary);\n color: var(--ic-theme-text);\n}\n\n.footer-compliance-inner {\n padding: var(--footer-compliance-padding);\n}\n\n.footer-logo {\n margin-bottom: var(--footer-logo-margin-bottom);\n display: flex;\n gap: var(--ic-space-xxl);\n}\n\n.footer-logo > ::slotted() {\n margin-right: var(--ic-space-md);\n}\n\n.footer-caption {\n margin-bottom: var(--ic-space-md);\n}\n\n.classification-spacing {\n margin-bottom: var(--ic-space-lg);\n}\n\n@media (forced-colors: active) {\n footer {\n border-top: var(--ic-hc-border);\n }\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n Prop,\n State,\n h,\n Host,\n Listen,\n} from \"@stencil/core\";\nimport { IC_DEVICE_SIZES } from \"../../utils/constants\";\nimport {\n getCurrentDeviceSize,\n getThemeForegroundColor,\n checkResizeObserver,\n hasClassificationBanner,\n isSlotUsed,\n} from \"../../utils/helpers\";\nimport {\n IcAlignment,\n IcTheme,\n IcThemeForeground,\n IcThemeForegroundEnum,\n} from \"../../utils/types\";\nimport { IcFooterBreakpoints } from \"./ic-footer.types\";\n\n/**\n * @slot description - Content will be rendered at the top of the footer.\n * @slot link - Content will be rendered between description and logos.\n * @slot logo - Content will be rendered underneath footer links.\n * @slot caption - Content will be rendered above Crown Copyright.\n */\n\n@Component({\n tag: \"ic-footer\",\n styleUrl: \"ic-footer.css\",\n shadow: true,\n})\nexport class Footer {\n private footerEl: HTMLElement;\n private resizeObserver: ResizeObserver = null;\n\n @Element() el: HTMLIcFooterElement;\n\n @State() deviceSize: number = IC_DEVICE_SIZES.XL;\n @State() foregroundColor: IcThemeForeground = getThemeForegroundColor();\n\n /**\n * The alignment of the section containers used within the footer.\n */\n @Prop() aligned?: IcAlignment = \"left\";\n\n /**\n * The screen size breakpoint at which to switch to the small layout.\n */\n @Prop() breakpoint?: IcFooterBreakpoints = \"medium\";\n\n /**\n * The caption displayed at the bottom of the footer.\n */\n @Prop() caption: string;\n\n /**\n * If `true`, the footer will display the crown copyright at the bottom.\n */\n @Prop() copyright: boolean = true;\n\n /**\n * The description displayed at the top of the footer.\n */\n @Prop() description: string;\n\n /**\n * If `true`, the footer will be set up to handle link groups instead of standalone links.\n */\n @Prop() groupLinks?: boolean = false;\n\n /**\n * @internal Triggers on page resize and triggers style changes in footer links and link groups\n */\n @Event() footerResized: EventEmitter<void>;\n\n disconnectedCallback(): void {\n if (this.resizeObserver !== null) {\n this.resizeObserver.disconnect();\n }\n }\n\n componentWillLoad(): void {\n this.deviceSize = getCurrentDeviceSize();\n }\n\n componentDidLoad(): void {\n checkResizeObserver(this.runResizeObserver);\n }\n\n @Listen(\"themeChange\", { target: \"document\" })\n themeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.foregroundColor = theme.mode;\n }\n\n private isSmall() {\n const bp = this.breakpoint;\n\n return bp === \"extra small\"\n ? this.deviceSize < IC_DEVICE_SIZES.XS\n : bp === \"small\"\n ? this.deviceSize < IC_DEVICE_SIZES.S\n : bp === \"medium\"\n ? this.deviceSize < IC_DEVICE_SIZES.M\n : bp === \"large\"\n ? this.deviceSize < IC_DEVICE_SIZES.L\n : bp === \"extra large\"\n ? this.deviceSize < IC_DEVICE_SIZES.XL\n : false;\n }\n\n private resizeObserverCallback = (currSize: number) => {\n if (currSize !== this.deviceSize) {\n this.deviceSize = currSize;\n }\n this.footerResized.emit();\n };\n\n private runResizeObserver = () => {\n this.resizeObserver = new ResizeObserver(() => {\n const currSize = getCurrentDeviceSize();\n this.resizeObserverCallback(currSize);\n });\n\n this.resizeObserver.observe(this.footerEl);\n };\n\n render() {\n const {\n aligned,\n caption,\n copyright,\n description,\n groupLinks,\n foregroundColor,\n } = this;\n const small = this.isSmall();\n\n return (\n <Host\n class={{\n footer: true,\n [`footer-${small ? \"small\" : \"sparse\"}`]: true,\n [`footer-${groupLinks ? \"grouped\" : \"ungrouped\"}`]: true,\n [`footer-${foregroundColor}`]: true,\n // Slots will be able to infer their own color\n [IcThemeForegroundEnum.Dark]:\n foregroundColor === IcThemeForegroundEnum.Dark,\n [IcThemeForegroundEnum.Light]:\n foregroundColor === IcThemeForegroundEnum.Light,\n }}\n >\n <footer ref={(footerEl) => (this.footerEl = footerEl)}>\n {/* Description */}\n <div class=\"footer-description\">\n <ic-section-container aligned={aligned} fullHeight={true}>\n <div class=\"footer-description-inner\">\n <ic-typography variant=\"body\">\n <slot name=\"description\">{description}</slot>\n </ic-typography>\n </div>\n </ic-section-container>\n </div>\n\n {/* Links */}\n {isSlotUsed(this.el, \"link\") && (\n <div class=\"footer-links\">\n {groupLinks && small ? (\n <div class=\"footer-links-inner\">\n <slot name=\"link\" />\n </div>\n ) : (\n <ic-section-container fullHeight aligned={aligned}>\n <div class=\"footer-links-inner\">\n <slot name=\"link\" />\n </div>\n </ic-section-container>\n )}\n </div>\n )}\n\n {/* Compliance (logo, caption, copyright) */}\n <div class=\"footer-compliance\">\n <ic-section-container aligned={aligned} fullHeight={true}>\n <div class=\"footer-compliance-inner\">\n {isSlotUsed(this.el, \"logo\") && (\n <div class=\"footer-logo\">\n {/* Logo */}\n <slot name=\"logo\" />\n </div>\n )}\n {(isSlotUsed(this.el, \"caption\") || caption) && (\n <div class=\"footer-caption\">\n <ic-typography\n variant={\n this.deviceSize <= IC_DEVICE_SIZES.M\n ? \"caption\"\n : \"body\"\n }\n >\n <slot name=\"caption\">{caption}</slot>\n </ic-typography>\n </div>\n )}\n {copyright && (\n <div\n class={{\n [\"footer-copyright\"]: true,\n [\"classification-spacing\"]: hasClassificationBanner(),\n }}\n >\n <ic-typography\n variant={\n this.deviceSize <= IC_DEVICE_SIZES.M\n ? \"caption-uppercase\"\n : \"label-uppercase\"\n }\n >\n &copy; Crown Copyright\n </ic-typography>\n </div>\n )}\n </div>\n </ic-section-container>\n </div>\n </footer>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,25 +1,34 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-90721b3c.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-fd30b77e.js';
2
2
  import { I as IcThemeForegroundEnum } from './types-dd515332.js';
3
- import { k as getThemeForegroundColor, s as slotHasContent, a as onComponentRequiredPropUndefined } from './helpers-c332acf8.js';
3
+ import { l as getThemeForegroundColor, s as slotHasContent, a as onComponentRequiredPropUndefined } from './helpers-d7d5bd08.js';
4
4
 
5
- const icHeroCss = "/*! 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;background-color:var(--ic-theme-tertiary);color:var(--ic-theme-text);--hero-heading-bottom-margin:var(--ic-space-md)}:host(.dark){background-color:var(--ic-theme-secondary)}:host(.has-background-image){background-repeat:no-repeat;background-position:right -6.25rem;background-size:auto calc(100% + 6.25rem);box-shadow:var(--ic-elevation-inset)}@media (prefers-reduced-motion){:host(.has-background-image){background-position:right -6.25rem !important}}ic-typography.heading-bottom-spacing{margin-bottom:var(--hero-heading-bottom-margin)}.section-container{display:flex;align-items:center;height:100%}.left-container{padding:var(--ic-space-xl) 0}.left-container:not(.left-container-full-width){flex-basis:50%}.left-container-full-width{width:100%}.right-container{flex-basis:50%}.interaction-container{display:flex;gap:var(--ic-space-md);margin-top:var(--ic-space-lg)}.secondary-container{display:flex;flex-direction:column;justify-content:center;border-left:var(--ic-space-xxxs) solid var(--ic-theme-text)}.secondary-subheading{margin-top:var(--ic-space-xxs)}:host([content-aligned=\"left\"]) .left-container,:host([content-aligned=\"left\"]) .interaction-container{justify-content:flex-start;text-align:left}:host([content-aligned=\"center\"]) .left-container,:host([content-aligned=\"center\"]) .interaction-container{justify-content:center;text-align:center}@media (min-width: 992px){.left-container-full-width{width:66.6%}}@media (min-width: 1044px){:host,.section-container{min-height:13rem}:host([small]),:host([small]) .section-container{min-height:10.813rem}.left-container:not(.left-container-full-width){flex-basis:66.6%}.left-container{min-height:9rem}.right-container{flex-basis:33.3%;margin-left:3.125rem}.secondary-container{min-height:9rem}.secondary-heading,.secondary-subheading{margin-left:3.938rem}}@media (min-width: 801px) and (max-width: 1043px){:host(.has-background-image){background-image:none !important}:host,.section-container{min-height:16rem}:host([small]),:host([small]) .section-container{min-height:15rem}:host([secondary-heading]),:host([secondary-heading]) .section-container{min-height:14rem}.left-container{min-height:10rem}.secondary-container{min-height:10rem}.secondary-heading,.secondary-subheading{margin-left:5.922rem}.right-container{margin-left:3.125rem}}@media (min-width: 641px) and (max-width: 800px){:host(.has-background-image){background-image:none !important}:host,.section-container{min-height:16rem}:host([small]),:host([small]) .section-container{min-height:15rem}:host([secondary-heading]),:host([secondary-heading]) .section-container{min-height:14rem}.left-container{min-height:10rem}.secondary-container{min-height:10rem}.secondary-heading,.secondary-subheading{margin-left:2.125rem}.right-container{margin-left:3.125rem}}@media (min-width: 481px) and (max-width: 640px){:host(.has-background-image){background-image:none !important}:host,.section-container{min-height:13rem}:host([small]),:host([small]) .section-container{min-height:10.813rem}:host([secondary-heading]),:host([secondary-heading]) .section-container{min-height:17.5rem}:host([secondary-heading]) .section-container,:host([small]) .section-container,.section-container{flex-direction:column;align-items:flex-start}.left-container{height:-moz-fit-content;height:fit-content}.secondary-container{height:-moz-fit-content;height:fit-content;border:none}.right-container{margin-bottom:2.5rem}}@media (max-width: 480px){:host(.has-background-image){background-image:none !important}:host,.section-container{min-height:12rem}:host,.right-container{margin-bottom:var(--ic-space-md)}:host([small]),:host([small]) .section-container{min-height:10.813rem}:host([secondary-heading]),:host([secondary-heading]) .section-container{min-height:16.5rem}:host([secondary-heading]) .section-container,:host([small]) .section-container,.section-container{flex-direction:column;align-items:flex-start}.left-container{height:-moz-fit-content;height:fit-content}.secondary-container{height:-moz-fit-content;height:fit-content;border:none}}";
5
+ const icHeroCss = "/*! 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;background-color:var(--ic-theme-tertiary);color:var(--ic-theme-text);--hero-heading-bottom-margin:var(--ic-space-md)}:host(.dark){background-color:var(--ic-theme-secondary)}:host(.has-background-image){background-repeat:no-repeat;background-position:right -6.25rem;background-size:auto calc(100% + 6.25rem);box-shadow:var(--ic-elevation-inset)}@media (prefers-reduced-motion){:host(.has-background-image){background-position:right -6.25rem !important}}ic-typography.heading-bottom-spacing{margin-bottom:var(--hero-heading-bottom-margin)}.section-container{display:flex;align-items:center;height:100%}.left-container{padding:var(--ic-space-xl) 0}.left-container:not(.left-container-full-width){flex-basis:50%}.left-container-full-width{width:100%}.right-container{flex-basis:50%}.interaction-container{display:flex;gap:var(--ic-space-md);margin-top:var(--ic-space-lg);flex-wrap:wrap}.secondary-container{display:flex;flex-direction:column;justify-content:center;border-left:var(--ic-space-xxxs) solid var(--ic-theme-text)}.secondary-subheading{margin-top:var(--ic-space-xxs)}:host([content-aligned=\"left\"]) .left-container,:host([content-aligned=\"left\"]) .interaction-container{justify-content:flex-start;text-align:left}:host([content-aligned=\"center\"]) .left-container,:host([content-aligned=\"center\"]) .interaction-container{justify-content:center;text-align:center}@media (min-width: 992px){.left-container-full-width{width:66.6%}}@media (min-width: 1044px){:host,.section-container{min-height:13rem}:host(.small),:host(.small) .section-container{min-height:10.813rem}.left-container:not(.left-container-full-width){flex-basis:66.6%}.left-container{min-height:9rem}.right-container{flex-basis:33.3%;margin-left:3.125rem}.secondary-container{min-height:9rem}.secondary-heading,.secondary-subheading{margin-left:3.938rem}}@media (min-width: 801px) and (max-width: 1043px){:host(.has-background-image){background-image:none !important}:host,.section-container{min-height:16rem}:host(.small),:host(.small) .section-container{min-height:15rem}:host(.secondary-heading),:host(.secondary-heading) .section-container{min-height:14rem}.left-container{min-height:10rem}.secondary-container{min-height:10rem}.secondary-heading,.secondary-subheading{margin-left:5.922rem}.right-container{margin-left:3.125rem}}@media (min-width: 641px) and (max-width: 800px){:host(.has-background-image){background-image:none !important}:host,.section-container{min-height:16rem}:host(.small),:host(.small) .section-container{min-height:15rem}:host(.secondary-heading),:host(.secondary-heading) .section-container{min-height:14rem}.left-container{min-height:10rem}.secondary-container{min-height:10rem}.secondary-heading,.secondary-subheading{margin-left:2.125rem}.right-container{margin-left:3.125rem}}@media (min-width: 481px) and (max-width: 640px){:host(.has-background-image){background-image:none !important}:host,.section-container{min-height:13rem}:host(.small),:host(.small) .section-container{min-height:10.813rem}:host(.secondary-heading),:host(.secondary-heading) .section-container{min-height:17.5rem}:host(.secondary-heading) .section-container,:host(.small) .section-container,.section-container{flex-direction:column;align-items:flex-start}.left-container{height:-moz-fit-content;height:fit-content}.secondary-container{height:-moz-fit-content;height:fit-content;border:none}.right-container{margin-bottom:2.5rem}}@media (max-width: 480px){:host(.has-background-image){background-image:none !important}:host,.section-container{min-height:12rem}:host,.right-container{margin-bottom:var(--ic-space-md)}:host(.small),:host(.small) .section-container{min-height:10.813rem}:host(.secondary-heading),:host(.secondary-heading) .section-container{min-height:16.5rem}:host(.secondary-heading) .section-container,:host(.small) .section-container,.section-container{flex-direction:column;align-items:flex-start}.left-container{height:-moz-fit-content;height:fit-content}.secondary-container{height:-moz-fit-content;height:fit-content;border:none}}";
6
6
 
7
7
  const Hero = class {
8
8
  constructor(hostRef) {
9
9
  registerInstance(this, hostRef);
10
+ this.foregroundColor = getThemeForegroundColor();
11
+ this.rightContent = false;
12
+ this.leftContentFullWidth = !this.rightContent && this.secondaryHeading === undefined;
13
+ this.scrollFactor = "right -100px";
14
+ this.aligned = "left";
15
+ this.backgroundImage = undefined;
16
+ this.contentAligned = "left";
17
+ this.disableBackgroundParallax = false;
10
18
  this.heading = undefined;
11
- this.subheading = undefined;
12
19
  this.secondaryHeading = undefined;
13
20
  this.secondarySubheading = undefined;
14
- this.backgroundImage = undefined;
15
- this.disableBackgroundParallax = false;
16
- this.aligned = "left";
17
- this.contentAligned = "left";
18
21
  this.small = false;
19
- this.rightContent = false;
20
- this.scrollFactor = "right -100px";
21
- this.leftContentFullWidth = !this.rightContent && this.secondaryHeading === undefined;
22
- this.foregroundColor = getThemeForegroundColor();
22
+ this.subheading = undefined;
23
+ }
24
+ componentWillLoad() {
25
+ this.rightContent = slotHasContent(this.el, "secondary");
26
+ }
27
+ componentDidLoad() {
28
+ onComponentRequiredPropUndefined([{ prop: this.heading, propName: "heading" }], "Hero");
29
+ }
30
+ componentWillRender() {
31
+ this.rightContent = slotHasContent(this.el, "secondary");
23
32
  }
24
33
  themeChangeHandler(ev) {
25
34
  const theme = ev.detail;
@@ -34,15 +43,6 @@ const Hero = class {
34
43
  const y = -100 + scrolltotop * factor;
35
44
  this.scrollFactor = "right " + y + "px";
36
45
  }
37
- componentWillLoad() {
38
- this.rightContent = slotHasContent(this.el, "secondary");
39
- }
40
- componentDidLoad() {
41
- onComponentRequiredPropUndefined([{ prop: this.heading, propName: "heading" }], "Hero");
42
- }
43
- componentWillRender() {
44
- this.rightContent = slotHasContent(this.el, "secondary");
45
- }
46
46
  render() {
47
47
  const { aligned, small, heading, subheading, secondaryHeading, secondarySubheading, foregroundColor, backgroundImage, scrollFactor, } = this;
48
48
  let style = {};
@@ -55,6 +55,8 @@ const Hero = class {
55
55
  return (h(Host, { class: {
56
56
  [IcThemeForegroundEnum.Dark]: foregroundColor === IcThemeForegroundEnum.Dark,
57
57
  ["has-background-image"]: backgroundImage !== undefined,
58
+ ["small"]: small,
59
+ ["secondary-heading"]: !!secondaryHeading,
58
60
  }, style: style }, h("ic-section-container", { aligned: aligned, fullHeight: true, class: "section-container" }, h("div", { class: {
59
61
  ["left-container"]: true,
60
62
  ["left-container-full-width"]: this.leftContentFullWidth,
@@ -1 +1 @@
1
- {"file":"ic-hero.entry.js","mappings":"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","names":[],"sources":["./src/components/ic-hero/ic-hero.css?tag=ic-hero&encapsulation=shadow","./src/components/ic-hero/ic-hero.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host {\n display: block;\n background-color: var(--ic-theme-tertiary);\n color: var(--ic-theme-text);\n\n --hero-heading-bottom-margin: var(--ic-space-md);\n}\n\n:host(.dark) {\n background-color: var(--ic-theme-secondary);\n}\n\n:host(.has-background-image) {\n background-repeat: no-repeat;\n background-position: right -6.25rem;\n background-size: auto calc(100% + 6.25rem);\n box-shadow: var(--ic-elevation-inset);\n}\n\n@media (prefers-reduced-motion) {\n :host(.has-background-image) {\n background-position: right -6.25rem !important;\n }\n}\n\nic-typography.heading-bottom-spacing {\n margin-bottom: var(--hero-heading-bottom-margin);\n}\n\n.section-container {\n display: flex;\n align-items: center;\n height: 100%;\n}\n\n.left-container {\n padding: var(--ic-space-xl) 0;\n}\n\n.left-container:not(.left-container-full-width) {\n flex-basis: 50%;\n}\n\n.left-container-full-width {\n width: 100%;\n}\n\n.right-container {\n flex-basis: 50%;\n}\n\n.interaction-container {\n display: flex;\n gap: var(--ic-space-md);\n margin-top: var(--ic-space-lg);\n}\n\n.secondary-container {\n display: flex;\n flex-direction: column;\n justify-content: center;\n border-left: var(--ic-space-xxxs) solid var(--ic-theme-text);\n}\n\n.secondary-subheading {\n margin-top: var(--ic-space-xxs);\n}\n\n:host([content-aligned=\"left\"]) .left-container,\n:host([content-aligned=\"left\"]) .interaction-container {\n justify-content: flex-start;\n text-align: left;\n}\n\n:host([content-aligned=\"center\"]) .left-container,\n:host([content-aligned=\"center\"]) .interaction-container {\n justify-content: center;\n text-align: center;\n}\n\n@media (min-width: 992px) {\n .left-container-full-width {\n width: 66.6%;\n }\n}\n\n@media (min-width: 1044px) {\n :host,\n .section-container {\n min-height: 13rem;\n }\n\n :host([small]),\n :host([small]) .section-container {\n min-height: 10.813rem;\n }\n\n .left-container:not(.left-container-full-width) {\n flex-basis: 66.6%;\n }\n\n .left-container {\n min-height: 9rem;\n }\n\n .right-container {\n flex-basis: 33.3%;\n margin-left: 3.125rem;\n }\n\n .secondary-container {\n min-height: 9rem;\n }\n\n .secondary-heading,\n .secondary-subheading {\n margin-left: 3.938rem;\n }\n}\n\n@media (min-width: 801px) and (max-width: 1043px) {\n :host(.has-background-image) {\n background-image: none !important;\n }\n\n :host,\n .section-container {\n min-height: 16rem;\n }\n\n :host([small]),\n :host([small]) .section-container {\n min-height: 15rem;\n }\n\n :host([secondary-heading]),\n :host([secondary-heading]) .section-container {\n min-height: 14rem;\n }\n\n .left-container {\n min-height: 10rem;\n }\n\n .secondary-container {\n min-height: 10rem;\n }\n\n .secondary-heading,\n .secondary-subheading {\n margin-left: 5.922rem;\n }\n\n .right-container {\n margin-left: 3.125rem;\n }\n}\n\n@media (min-width: 641px) and (max-width: 800px) {\n :host(.has-background-image) {\n background-image: none !important;\n }\n\n :host,\n .section-container {\n min-height: 16rem;\n }\n\n :host([small]),\n :host([small]) .section-container {\n min-height: 15rem;\n }\n\n :host([secondary-heading]),\n :host([secondary-heading]) .section-container {\n min-height: 14rem;\n }\n\n .left-container {\n min-height: 10rem;\n }\n\n .secondary-container {\n min-height: 10rem;\n }\n\n .secondary-heading,\n .secondary-subheading {\n margin-left: 2.125rem;\n }\n\n .right-container {\n margin-left: 3.125rem;\n }\n}\n\n@media (min-width: 481px) and (max-width: 640px) {\n :host(.has-background-image) {\n background-image: none !important;\n }\n\n :host,\n .section-container {\n min-height: 13rem;\n }\n\n :host([small]),\n :host([small]) .section-container {\n min-height: 10.813rem;\n }\n\n :host([secondary-heading]),\n :host([secondary-heading]) .section-container {\n min-height: 17.5rem;\n }\n\n :host([secondary-heading]) .section-container,\n :host([small]) .section-container,\n .section-container {\n flex-direction: column;\n align-items: flex-start;\n }\n\n .left-container {\n height: fit-content;\n }\n\n .secondary-container {\n height: fit-content;\n border: none;\n }\n\n .right-container {\n margin-bottom: 2.5rem;\n }\n}\n\n@media (max-width: 480px) {\n :host(.has-background-image) {\n background-image: none !important;\n }\n\n :host,\n .section-container {\n min-height: 12rem;\n }\n\n :host,\n .right-container {\n margin-bottom: var(--ic-space-md);\n }\n\n :host([small]),\n :host([small]) .section-container {\n min-height: 10.813rem;\n }\n\n :host([secondary-heading]),\n :host([secondary-heading]) .section-container {\n min-height: 16.5rem;\n }\n\n :host([secondary-heading]) .section-container,\n :host([small]) .section-container,\n .section-container {\n flex-direction: column;\n align-items: flex-start;\n }\n\n .left-container {\n height: fit-content;\n }\n\n .secondary-container {\n height: fit-content;\n border: none;\n }\n}\n","import {\n Component,\n Element,\n Host,\n Prop,\n h,\n State,\n Listen,\n} from \"@stencil/core\";\nimport {\n IcAlignment,\n IcTheme,\n IcThemeForeground,\n IcThemeForegroundEnum,\n} from \"../../utils/types\";\nimport {\n slotHasContent,\n getThemeForegroundColor,\n onComponentRequiredPropUndefined,\n} from \"../../utils/helpers\";\nimport { IcHeroContentAlignments } from \"./ic-hero.types\";\n\n/**\n * @slot heading - Content will be rendered in the title area, in place of the heading.\n * @slot subheading - Content will be rendered in the title area, in place of the subheading.\n * @slot interaction - Content will be rendered in the interaction area, adjacent to the title area.\n * @slot secondary - Content will be rendered in the secondary content area.\n */\n\n@Component({\n tag: \"ic-hero\",\n styleUrl: \"ic-hero.css\",\n shadow: true,\n})\nexport class Hero {\n @Element() el: HTMLIcHeroElement;\n\n /**\n * The heading of the hero.\n */\n @Prop() heading!: string;\n\n /**\n * The description for the hero.\n */\n @Prop() subheading?: string;\n\n /**\n * The optional secondary heading, replaced by slotted right content.\n */\n @Prop() secondaryHeading?: string;\n\n /**\n * The optional secondary subheading, replaced by slotted right content.\n */\n @Prop() secondarySubheading?: string;\n\n /**\n * The optional background image.\n */\n @Prop() backgroundImage?: string;\n\n /**\n * If `true`, the background image (if set) will not scroll using a parallax effect.\n */\n @Prop() disableBackgroundParallax?: boolean = false;\n\n /**\n * The alignment of the hero.\n */\n @Prop() aligned: IcAlignment = \"left\";\n\n /**\n * The alignment of the hero content.\n */\n @Prop() contentAligned: IcHeroContentAlignments = \"left\";\n\n /**\n * If `true`, the small styling will be applied to the hero.\n */\n @Prop() small: boolean = false;\n\n @State() rightContent: boolean = false;\n\n @State() scrollFactor: string = \"right -100px\";\n\n @State() leftContentFullWidth: boolean =\n !this.rightContent && this.secondaryHeading === undefined;\n\n @State() foregroundColor: IcThemeForeground = getThemeForegroundColor();\n\n @Listen(\"themeChange\", { target: \"document\" })\n themeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.foregroundColor = theme.mode;\n }\n\n @Listen(\"scroll\", { target: \"document\" })\n doScroll(): void {\n if (this.disableBackgroundParallax) {\n return;\n }\n\n const scrolltotop = document.scrollingElement.scrollTop;\n const factor = 0.4;\n const y = -100 + scrolltotop * factor;\n this.scrollFactor = \"right \" + y + \"px\";\n }\n\n componentWillLoad(): void {\n this.rightContent = slotHasContent(this.el, \"secondary\");\n }\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.heading, propName: \"heading\" }],\n \"Hero\"\n );\n }\n\n componentWillRender(): void {\n this.rightContent = slotHasContent(this.el, \"secondary\");\n }\n\n render() {\n const {\n aligned,\n small,\n heading,\n subheading,\n secondaryHeading,\n secondarySubheading,\n foregroundColor,\n backgroundImage,\n scrollFactor,\n } = this;\n\n let style = {};\n\n if (backgroundImage !== undefined) {\n style = {\n \"background-image\": \"url(\" + backgroundImage + \")\",\n \"background-position\": scrollFactor,\n };\n }\n\n return (\n <Host\n class={{\n [IcThemeForegroundEnum.Dark]:\n foregroundColor === IcThemeForegroundEnum.Dark,\n [\"has-background-image\"]: backgroundImage !== undefined,\n }}\n style={style}\n >\n <ic-section-container\n aligned={aligned}\n fullHeight\n class=\"section-container\"\n >\n <div\n class={{\n [\"left-container\"]: true,\n [\"left-container-full-width\"]: this.leftContentFullWidth,\n }}\n >\n <div class=\"heading\">\n <slot name=\"heading\">\n <ic-typography\n variant={small ? \"h2\" : \"h1\"}\n class={{ [\"heading-bottom-spacing\"]: !small }}\n >\n {heading}\n </ic-typography>\n </slot>\n </div>\n <div class=\"subheading\">\n <slot name=\"subheading\">\n <ic-typography variant=\"body\">{subheading}</ic-typography>\n </slot>\n </div>\n <div class=\"interaction-container\">\n <slot name=\"interaction\"></slot>\n </div>\n </div>\n {(secondaryHeading !== undefined || this.rightContent) && (\n <div class=\"right-container\">\n <slot name=\"secondary\">\n {secondaryHeading && (\n <div class=\"secondary-container\">\n <div class=\"secondary-heading\">\n <ic-typography variant=\"h4\">\n {secondaryHeading}\n </ic-typography>\n </div>\n <div class=\"secondary-subheading\">\n <ic-typography variant=\"subtitle-small\">\n {secondarySubheading}\n </ic-typography>\n </div>\n </div>\n )}\n </slot>\n </div>\n )}\n </ic-section-container>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ic-hero.entry.js","mappings":"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","names":[],"sources":["./src/components/ic-hero/ic-hero.css?tag=ic-hero&encapsulation=shadow","./src/components/ic-hero/ic-hero.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host {\n display: block;\n background-color: var(--ic-theme-tertiary);\n color: var(--ic-theme-text);\n\n --hero-heading-bottom-margin: var(--ic-space-md);\n}\n\n:host(.dark) {\n background-color: var(--ic-theme-secondary);\n}\n\n:host(.has-background-image) {\n background-repeat: no-repeat;\n background-position: right -6.25rem;\n background-size: auto calc(100% + 6.25rem);\n box-shadow: var(--ic-elevation-inset);\n}\n\n@media (prefers-reduced-motion) {\n :host(.has-background-image) {\n background-position: right -6.25rem !important;\n }\n}\n\nic-typography.heading-bottom-spacing {\n margin-bottom: var(--hero-heading-bottom-margin);\n}\n\n.section-container {\n display: flex;\n align-items: center;\n height: 100%;\n}\n\n.left-container {\n padding: var(--ic-space-xl) 0;\n}\n\n.left-container:not(.left-container-full-width) {\n flex-basis: 50%;\n}\n\n.left-container-full-width {\n width: 100%;\n}\n\n.right-container {\n flex-basis: 50%;\n}\n\n.interaction-container {\n display: flex;\n gap: var(--ic-space-md);\n margin-top: var(--ic-space-lg);\n flex-wrap: wrap;\n}\n\n.secondary-container {\n display: flex;\n flex-direction: column;\n justify-content: center;\n border-left: var(--ic-space-xxxs) solid var(--ic-theme-text);\n}\n\n.secondary-subheading {\n margin-top: var(--ic-space-xxs);\n}\n\n:host([content-aligned=\"left\"]) .left-container,\n:host([content-aligned=\"left\"]) .interaction-container {\n justify-content: flex-start;\n text-align: left;\n}\n\n:host([content-aligned=\"center\"]) .left-container,\n:host([content-aligned=\"center\"]) .interaction-container {\n justify-content: center;\n text-align: center;\n}\n\n@media (min-width: 992px) {\n .left-container-full-width {\n width: 66.6%;\n }\n}\n\n@media (min-width: 1044px) {\n :host,\n .section-container {\n min-height: 13rem;\n }\n\n :host(.small),\n :host(.small) .section-container {\n min-height: 10.813rem;\n }\n\n .left-container:not(.left-container-full-width) {\n flex-basis: 66.6%;\n }\n\n .left-container {\n min-height: 9rem;\n }\n\n .right-container {\n flex-basis: 33.3%;\n margin-left: 3.125rem;\n }\n\n .secondary-container {\n min-height: 9rem;\n }\n\n .secondary-heading,\n .secondary-subheading {\n margin-left: 3.938rem;\n }\n}\n\n@media (min-width: 801px) and (max-width: 1043px) {\n :host(.has-background-image) {\n background-image: none !important;\n }\n\n :host,\n .section-container {\n min-height: 16rem;\n }\n\n :host(.small),\n :host(.small) .section-container {\n min-height: 15rem;\n }\n\n :host(.secondary-heading),\n :host(.secondary-heading) .section-container {\n min-height: 14rem;\n }\n\n .left-container {\n min-height: 10rem;\n }\n\n .secondary-container {\n min-height: 10rem;\n }\n\n .secondary-heading,\n .secondary-subheading {\n margin-left: 5.922rem;\n }\n\n .right-container {\n margin-left: 3.125rem;\n }\n}\n\n@media (min-width: 641px) and (max-width: 800px) {\n :host(.has-background-image) {\n background-image: none !important;\n }\n\n :host,\n .section-container {\n min-height: 16rem;\n }\n\n :host(.small),\n :host(.small) .section-container {\n min-height: 15rem;\n }\n\n :host(.secondary-heading),\n :host(.secondary-heading) .section-container {\n min-height: 14rem;\n }\n\n .left-container {\n min-height: 10rem;\n }\n\n .secondary-container {\n min-height: 10rem;\n }\n\n .secondary-heading,\n .secondary-subheading {\n margin-left: 2.125rem;\n }\n\n .right-container {\n margin-left: 3.125rem;\n }\n}\n\n@media (min-width: 481px) and (max-width: 640px) {\n :host(.has-background-image) {\n background-image: none !important;\n }\n\n :host,\n .section-container {\n min-height: 13rem;\n }\n\n :host(.small),\n :host(.small) .section-container {\n min-height: 10.813rem;\n }\n\n :host(.secondary-heading),\n :host(.secondary-heading) .section-container {\n min-height: 17.5rem;\n }\n\n :host(.secondary-heading) .section-container,\n :host(.small) .section-container,\n .section-container {\n flex-direction: column;\n align-items: flex-start;\n }\n\n .left-container {\n height: fit-content;\n }\n\n .secondary-container {\n height: fit-content;\n border: none;\n }\n\n .right-container {\n margin-bottom: 2.5rem;\n }\n}\n\n@media (max-width: 480px) {\n :host(.has-background-image) {\n background-image: none !important;\n }\n\n :host,\n .section-container {\n min-height: 12rem;\n }\n\n :host,\n .right-container {\n margin-bottom: var(--ic-space-md);\n }\n\n :host(.small),\n :host(.small) .section-container {\n min-height: 10.813rem;\n }\n\n :host(.secondary-heading),\n :host(.secondary-heading) .section-container {\n min-height: 16.5rem;\n }\n\n :host(.secondary-heading) .section-container,\n :host(.small) .section-container,\n .section-container {\n flex-direction: column;\n align-items: flex-start;\n }\n\n .left-container {\n height: fit-content;\n }\n\n .secondary-container {\n height: fit-content;\n border: none;\n }\n}\n","import {\n Component,\n Element,\n Host,\n Prop,\n h,\n State,\n Listen,\n} from \"@stencil/core\";\nimport {\n IcAlignment,\n IcTheme,\n IcThemeForeground,\n IcThemeForegroundEnum,\n} from \"../../utils/types\";\nimport {\n slotHasContent,\n getThemeForegroundColor,\n onComponentRequiredPropUndefined,\n} from \"../../utils/helpers\";\nimport { IcHeroContentAlignments } from \"./ic-hero.types\";\n\n/**\n * @slot heading - Content will be rendered in the title area, in place of the heading.\n * @slot subheading - Content will be rendered in the title area, in place of the subheading.\n * @slot interaction - Content will be rendered in the interaction area, adjacent to the title area.\n * @slot secondary - Content will be rendered in the secondary content area.\n */\n\n@Component({\n tag: \"ic-hero\",\n styleUrl: \"ic-hero.css\",\n shadow: true,\n})\nexport class Hero {\n @Element() el: HTMLIcHeroElement;\n\n @State() foregroundColor: IcThemeForeground = getThemeForegroundColor();\n @State() rightContent: boolean = false;\n // set by above state\n @State() leftContentFullWidth: boolean =\n !this.rightContent && this.secondaryHeading === undefined;\n @State() scrollFactor: string = \"right -100px\";\n\n /**\n * The alignment of the hero.\n */\n @Prop() aligned: IcAlignment = \"left\";\n\n /**\n * The optional background image.\n */\n @Prop() backgroundImage?: string;\n\n /**\n * The alignment of the hero content.\n */\n @Prop() contentAligned: IcHeroContentAlignments = \"left\";\n\n /**\n * If `true`, the background image (if set) will not scroll using a parallax effect.\n */\n @Prop() disableBackgroundParallax?: boolean = false;\n\n /**\n * The heading of the hero.\n */\n @Prop() heading!: string;\n\n /**\n * The optional secondary heading, replaced by slotted right content.\n */\n @Prop() secondaryHeading?: string;\n\n /**\n * The optional secondary subheading, replaced by slotted right content.\n */\n @Prop() secondarySubheading?: string;\n\n /**\n * If `true`, the small styling will be applied to the hero.\n */\n @Prop() small: boolean = false;\n\n /**\n * The description for the hero.\n */\n @Prop() subheading?: string;\n\n componentWillLoad(): void {\n this.rightContent = slotHasContent(this.el, \"secondary\");\n }\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.heading, propName: \"heading\" }],\n \"Hero\"\n );\n }\n\n componentWillRender(): void {\n this.rightContent = slotHasContent(this.el, \"secondary\");\n }\n\n @Listen(\"themeChange\", { target: \"document\" })\n themeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.foregroundColor = theme.mode;\n }\n\n @Listen(\"scroll\", { target: \"document\" })\n doScroll(): void {\n if (this.disableBackgroundParallax) {\n return;\n }\n\n const scrolltotop = document.scrollingElement.scrollTop;\n const factor = 0.4;\n const y = -100 + scrolltotop * factor;\n this.scrollFactor = \"right \" + y + \"px\";\n }\n\n render() {\n const {\n aligned,\n small,\n heading,\n subheading,\n secondaryHeading,\n secondarySubheading,\n foregroundColor,\n backgroundImage,\n scrollFactor,\n } = this;\n\n let style = {};\n\n if (backgroundImage !== undefined) {\n style = {\n \"background-image\": \"url(\" + backgroundImage + \")\",\n \"background-position\": scrollFactor,\n };\n }\n\n return (\n <Host\n class={{\n [IcThemeForegroundEnum.Dark]:\n foregroundColor === IcThemeForegroundEnum.Dark,\n [\"has-background-image\"]: backgroundImage !== undefined,\n [\"small\"]: small,\n [\"secondary-heading\"]: !!secondaryHeading,\n }}\n style={style}\n >\n <ic-section-container\n aligned={aligned}\n fullHeight\n class=\"section-container\"\n >\n <div\n class={{\n [\"left-container\"]: true,\n [\"left-container-full-width\"]: this.leftContentFullWidth,\n }}\n >\n <div class=\"heading\">\n <slot name=\"heading\">\n <ic-typography\n variant={small ? \"h2\" : \"h1\"}\n class={{ [\"heading-bottom-spacing\"]: !small }}\n >\n {heading}\n </ic-typography>\n </slot>\n </div>\n <div class=\"subheading\">\n <slot name=\"subheading\">\n <ic-typography variant=\"body\">{subheading}</ic-typography>\n </slot>\n </div>\n <div class=\"interaction-container\">\n <slot name=\"interaction\"></slot>\n </div>\n </div>\n {(secondaryHeading !== undefined || this.rightContent) && (\n <div class=\"right-container\">\n <slot name=\"secondary\">\n {secondaryHeading && (\n <div class=\"secondary-container\">\n <div class=\"secondary-heading\">\n <ic-typography variant=\"h4\">\n {secondaryHeading}\n </ic-typography>\n </div>\n <div class=\"secondary-subheading\">\n <ic-typography variant=\"subtitle-small\">\n {secondarySubheading}\n </ic-typography>\n </div>\n </div>\n )}\n </slot>\n </div>\n )}\n </ic-section-container>\n </Host>\n );\n }\n}\n"],"version":3}