@itcenteratunihelsinki/huds-lib 0.8.56 → 0.8.58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (464) hide show
  1. package/components/hy-footer-base.js +1 -1
  2. package/components/hy-footer-base.js.map +1 -1
  3. package/components/hy-footer-info.js +1 -1
  4. package/components/hy-footer-info.js.map +1 -1
  5. package/components/hy-footer-link-item2.js +1 -1
  6. package/components/hy-footer-link-item2.js.map +1 -1
  7. package/components/hy-hero-carousel.js +41 -17
  8. package/components/hy-hero-carousel.js.map +1 -1
  9. package/components/hy-hero.js +1 -1
  10. package/components/hy-hero.js.map +1 -1
  11. package/components/hy-key-highlight2.js +1 -1
  12. package/components/hy-key-highlight2.js.map +1 -1
  13. package/components/hy-shortcuts.js +1 -1
  14. package/components/hy-shortcuts.js.map +1 -1
  15. package/components/hy-site-header.js +1 -1
  16. package/components/hy-site-header.js.map +1 -1
  17. package/components/hy-tabs2.js +1 -1
  18. package/components/hy-tabs2.js.map +1 -1
  19. package/components/hy-video.js +1 -1
  20. package/components/hy-video.js.map +1 -1
  21. package/components/link-box.js +1 -1
  22. package/components/link-box.js.map +1 -1
  23. package/components/process-flow-box.js +1 -1
  24. package/components/process-flow-box.js.map +1 -1
  25. package/dist/cjs/color-box_7.cjs.entry.js +177 -0
  26. package/dist/cjs/color-box_7.cjs.entry.js.map +1 -0
  27. package/dist/cjs/emotion.esm-aef96835.js +1399 -0
  28. package/dist/cjs/emotion.esm-aef96835.js.map +1 -0
  29. package/dist/cjs/{globalScript-d341436f.js → globalScript-9994473d.js} +2 -2
  30. package/dist/cjs/{globalScript-d341436f.js.map → globalScript-9994473d.js.map} +1 -1
  31. package/dist/cjs/huds-lib.cjs.js +4 -4
  32. package/dist/cjs/huds-lib.cjs.js.map +1 -1
  33. package/dist/cjs/hy-accordion-container_2.cjs.entry.js +243 -0
  34. package/dist/cjs/hy-accordion-container_2.cjs.entry.js.map +1 -0
  35. package/dist/cjs/hy-adjacent-image-text.cjs.entry.js +61 -0
  36. package/dist/cjs/hy-adjacent-image-text.cjs.entry.js.map +1 -0
  37. package/dist/cjs/hy-anchor-link-list.cjs.entry.js +53 -0
  38. package/dist/cjs/hy-anchor-link-list.cjs.entry.js.map +1 -0
  39. package/dist/cjs/hy-badge.cjs.entry.js +23 -0
  40. package/dist/cjs/hy-badge.cjs.entry.js.map +1 -0
  41. package/dist/cjs/hy-banner.cjs.entry.js +51 -0
  42. package/dist/cjs/hy-banner.cjs.entry.js.map +1 -0
  43. package/dist/cjs/hy-box.cjs.entry.js +169 -0
  44. package/dist/cjs/hy-box.cjs.entry.js.map +1 -0
  45. package/dist/cjs/hy-breadcrumbs_16.cjs.entry.js +1027 -0
  46. package/dist/cjs/hy-breadcrumbs_16.cjs.entry.js.map +1 -0
  47. package/dist/cjs/hy-checkbox.cjs.entry.js +32 -0
  48. package/dist/cjs/hy-checkbox.cjs.entry.js.map +1 -0
  49. package/dist/cjs/hy-collaboration.cjs.entry.js +26 -0
  50. package/dist/cjs/hy-collaboration.cjs.entry.js.map +1 -0
  51. package/dist/cjs/hy-content-list_2.cjs.entry.js +180 -0
  52. package/dist/cjs/hy-content-list_2.cjs.entry.js.map +1 -0
  53. package/dist/cjs/hy-crisis-banner.cjs.entry.js +25 -0
  54. package/dist/cjs/hy-crisis-banner.cjs.entry.js.map +1 -0
  55. package/dist/cjs/hy-cta-button.cjs.entry.js +35 -0
  56. package/dist/cjs/hy-cta-button.cjs.entry.js.map +1 -0
  57. package/dist/cjs/hy-cta-link.cjs.entry.js +30 -0
  58. package/dist/cjs/hy-cta-link.cjs.entry.js.map +1 -0
  59. package/dist/cjs/hy-dropdown_3.cjs.entry.js +141 -0
  60. package/dist/cjs/hy-dropdown_3.cjs.entry.js.map +1 -0
  61. package/dist/cjs/hy-event-item.cjs.entry.js +1 -1
  62. package/dist/cjs/hy-events.cjs.entry.js +1 -1
  63. package/dist/cjs/hy-filter-group_6.cjs.entry.js +116 -0
  64. package/dist/cjs/hy-filter-group_6.cjs.entry.js.map +1 -0
  65. package/dist/cjs/hy-general-list_2.cjs.entry.js +103 -0
  66. package/dist/cjs/hy-general-list_2.cjs.entry.js.map +1 -0
  67. package/dist/cjs/hy-grid-container_3.cjs.entry.js +61 -0
  68. package/dist/cjs/hy-grid-container_3.cjs.entry.js.map +1 -0
  69. package/dist/cjs/hy-hero-carousel.cjs.entry.js +43 -19
  70. package/dist/cjs/hy-hero-carousel.cjs.entry.js.map +1 -1
  71. package/dist/cjs/hy-hero.cjs.entry.js +112 -0
  72. package/dist/cjs/hy-hero.cjs.entry.js.map +1 -0
  73. package/dist/cjs/hy-icon.cjs.entry.js +818 -0
  74. package/dist/cjs/hy-icon.cjs.entry.js.map +1 -0
  75. package/dist/cjs/hy-image.cjs.entry.js +53 -0
  76. package/dist/cjs/hy-image.cjs.entry.js.map +1 -0
  77. package/dist/cjs/hy-introduction.cjs.entry.js +63 -0
  78. package/dist/cjs/hy-introduction.cjs.entry.js.map +1 -0
  79. package/dist/cjs/hy-key-figure_2.cjs.entry.js +97 -0
  80. package/dist/cjs/hy-key-figure_2.cjs.entry.js.map +1 -0
  81. package/dist/cjs/hy-key-highlight_2.cjs.entry.js +64 -0
  82. package/dist/cjs/hy-key-highlight_2.cjs.entry.js.map +1 -0
  83. package/dist/cjs/hy-large-process-flow_2.cjs.entry.js +78 -0
  84. package/dist/cjs/hy-large-process-flow_2.cjs.entry.js.map +1 -0
  85. package/dist/cjs/hy-link-box_2.cjs.entry.js +135 -0
  86. package/dist/cjs/hy-link-box_2.cjs.entry.js.map +1 -0
  87. package/dist/cjs/hy-link-list.cjs.entry.js +48 -0
  88. package/dist/cjs/hy-link-list.cjs.entry.js.map +1 -0
  89. package/dist/cjs/hy-link.cjs.entry.js +29 -0
  90. package/dist/cjs/hy-link.cjs.entry.js.map +1 -0
  91. package/dist/cjs/hy-list-item.cjs.entry.js +253 -0
  92. package/dist/cjs/hy-list-item.cjs.entry.js.map +1 -0
  93. package/dist/cjs/hy-logo-grid_2.cjs.entry.js +50 -0
  94. package/dist/cjs/hy-logo-grid_2.cjs.entry.js.map +1 -0
  95. package/dist/cjs/hy-menu-main-group.cjs.entry.js +160 -0
  96. package/dist/cjs/hy-menu-main-group.cjs.entry.js.map +1 -0
  97. package/dist/cjs/hy-opening-hours_2.cjs.entry.js +82 -0
  98. package/dist/cjs/hy-opening-hours_2.cjs.entry.js.map +1 -0
  99. package/dist/cjs/hy-pager_2.cjs.entry.js +64 -0
  100. package/dist/cjs/hy-pager_2.cjs.entry.js.map +1 -0
  101. package/dist/cjs/hy-paragraph-text.cjs.entry.js +48 -0
  102. package/dist/cjs/hy-paragraph-text.cjs.entry.js.map +1 -0
  103. package/dist/cjs/hy-person-card.cjs.entry.js +97 -0
  104. package/dist/cjs/hy-person-card.cjs.entry.js.map +1 -0
  105. package/dist/cjs/hy-person-profile-listing.cjs.entry.js +36 -0
  106. package/dist/cjs/hy-person-profile-listing.cjs.entry.js.map +1 -0
  107. package/dist/cjs/hy-person-profile.cjs.entry.js +74 -0
  108. package/dist/cjs/hy-person-profile.cjs.entry.js.map +1 -0
  109. package/dist/cjs/hy-process_2.cjs.entry.js +86 -0
  110. package/dist/cjs/hy-process_2.cjs.entry.js.map +1 -0
  111. package/dist/cjs/hy-prominent-image.cjs.entry.js +41 -0
  112. package/dist/cjs/hy-prominent-image.cjs.entry.js.map +1 -0
  113. package/dist/cjs/hy-quote.cjs.entry.js +33 -0
  114. package/dist/cjs/hy-quote.cjs.entry.js.map +1 -0
  115. package/dist/cjs/hy-row.cjs.entry.js +35 -0
  116. package/dist/cjs/hy-row.cjs.entry.js.map +1 -0
  117. package/dist/cjs/hy-shortcuts.cjs.entry.js +63 -0
  118. package/dist/cjs/hy-shortcuts.cjs.entry.js.map +1 -0
  119. package/dist/cjs/hy-table-container.cjs.entry.js +22 -0
  120. package/dist/cjs/hy-table-container.cjs.entry.js.map +1 -0
  121. package/dist/cjs/hy-tabs_2.cjs.entry.js +332 -0
  122. package/dist/cjs/hy-tabs_2.cjs.entry.js.map +1 -0
  123. package/dist/cjs/hy-tag.cjs.entry.js +22 -0
  124. package/dist/cjs/hy-tag.cjs.entry.js.map +1 -0
  125. package/dist/cjs/hy-twitter-feed.cjs.entry.js +34 -0
  126. package/dist/cjs/hy-twitter-feed.cjs.entry.js.map +1 -0
  127. package/dist/cjs/hy-two-columns.cjs.entry.js +23 -0
  128. package/dist/cjs/hy-two-columns.cjs.entry.js.map +1 -0
  129. package/dist/cjs/hy-user-login-form.cjs.entry.js +27 -0
  130. package/dist/cjs/hy-user-login-form.cjs.entry.js.map +1 -0
  131. package/dist/cjs/hy-video.cjs.entry.js +102 -0
  132. package/dist/cjs/hy-video.cjs.entry.js.map +1 -0
  133. package/dist/cjs/{index-ca4e37f2.js → index-32830401.js} +17 -4
  134. package/dist/cjs/index-32830401.js.map +1 -0
  135. package/dist/cjs/index-dacd8ca5.js +969 -0
  136. package/dist/cjs/index-dacd8ca5.js.map +1 -0
  137. package/dist/cjs/loader.cjs.js +4 -4
  138. package/dist/cjs/loader.cjs.js.map +1 -1
  139. package/dist/collection/collection-manifest.json +262 -70
  140. package/dist/collection/components/accordion-container/accordion-container.spec.js +7 -0
  141. package/dist/collection/components/accordion-container/accordion-container.spec.js.map +1 -0
  142. package/dist/collection/components/accordion-item/accordion-item.spec.js +7 -0
  143. package/dist/collection/components/accordion-item/accordion-item.spec.js.map +1 -0
  144. package/dist/collection/components/adjacent-image-text/adjacent-image-text.spec.js +7 -0
  145. package/dist/collection/components/adjacent-image-text/adjacent-image-text.spec.js.map +1 -0
  146. package/dist/collection/components/baseline/baseline.spec.js +7 -0
  147. package/dist/collection/components/baseline/baseline.spec.js.map +1 -0
  148. package/dist/collection/components/button/button.e2e.js +16 -0
  149. package/dist/collection/components/button/button.e2e.js.map +1 -0
  150. package/dist/collection/components/button/button.spec.js +55 -0
  151. package/dist/collection/components/button/button.spec.js.map +1 -0
  152. package/dist/collection/components/color-box/color-box.spec.js +18 -0
  153. package/dist/collection/components/color-box/color-box.spec.js.map +1 -0
  154. package/dist/collection/components/cta-button/cta-button.e2e.js +15 -0
  155. package/dist/collection/components/cta-button/cta-button.e2e.js.map +1 -0
  156. package/dist/collection/components/cta-button/cta-button.spec.js +7 -0
  157. package/dist/collection/components/cta-button/cta-button.spec.js.map +1 -0
  158. package/dist/collection/components/cta-link/cta-link.e2e.js +15 -0
  159. package/dist/collection/components/cta-link/cta-link.e2e.js.map +1 -0
  160. package/dist/collection/components/cta-link/cta-link.spec.js +7 -0
  161. package/dist/collection/components/cta-link/cta-link.spec.js.map +1 -0
  162. package/dist/collection/components/footer/hy-footer-base/hy-footer-base.js +1 -1
  163. package/dist/collection/components/footer/hy-footer-base/hy-footer-base.js.map +1 -1
  164. package/dist/collection/components/footer/hy-footer-info/hy-footer-info.js +1 -1
  165. package/dist/collection/components/footer/hy-footer-info/hy-footer-info.js.map +1 -1
  166. package/dist/collection/components/footer/hy-footer-link-item/hy-footer-link-item.css +0 -1
  167. package/dist/collection/components/grid-container/grid-container.spec.js +7 -0
  168. package/dist/collection/components/grid-container/grid-container.spec.js.map +1 -0
  169. package/dist/collection/components/grid-item/grid-item.spec.js +7 -0
  170. package/dist/collection/components/grid-item/grid-item.spec.js.map +1 -0
  171. package/dist/collection/components/grid-row/grid-row.spec.js +7 -0
  172. package/dist/collection/components/grid-row/grid-row.spec.js.map +1 -0
  173. package/dist/collection/components/heading/heading.spec.js +7 -0
  174. package/dist/collection/components/heading/heading.spec.js.map +1 -0
  175. package/dist/collection/components/hy-badge/hy-badge.spec.js +20 -0
  176. package/dist/collection/components/hy-badge/hy-badge.spec.js.map +1 -0
  177. package/dist/collection/components/hy-box/test/hy-box.spec.js +26 -0
  178. package/dist/collection/components/hy-box/test/hy-box.spec.js.map +1 -0
  179. package/dist/collection/components/hy-box-container/test/hy-box-container.e2e.js +10 -0
  180. package/dist/collection/components/hy-box-container/test/hy-box-container.e2e.js.map +1 -0
  181. package/dist/collection/components/hy-box-container/test/hy-box-container.spec.js +16 -0
  182. package/dist/collection/components/hy-box-container/test/hy-box-container.spec.js.map +1 -0
  183. package/dist/collection/components/hy-hero/hy-hero.css +0 -1
  184. package/dist/collection/components/hy-hero-carousel/hy-hero-carousel.css +0 -1
  185. package/dist/collection/components/hy-key-figure/test/hy-key-figure.spec.js +21 -0
  186. package/dist/collection/components/hy-key-figure/test/hy-key-figure.spec.js.map +1 -0
  187. package/dist/collection/components/hy-key-highlight/hy-key-highlight.css +0 -1
  188. package/dist/collection/components/hy-key-highlight/test/hy-key-highlight.spec.js +23 -0
  189. package/dist/collection/components/hy-key-highlight/test/hy-key-highlight.spec.js.map +1 -0
  190. package/dist/collection/components/hy-shortcuts/hy-shortcuts.css +0 -1
  191. package/dist/collection/components/hy-tabs/hy-tabs.css +0 -1
  192. package/dist/collection/components/hy-two-columns/test/hy-two-columns.spec.js +27 -0
  193. package/dist/collection/components/hy-two-columns/test/hy-two-columns.spec.js.map +1 -0
  194. package/dist/collection/components/hy-video/hy-video.css +0 -1
  195. package/dist/collection/components/icon/icon.spec.js +7 -0
  196. package/dist/collection/components/icon/icon.spec.js.map +1 -0
  197. package/dist/collection/components/image/image.spec.js +21 -0
  198. package/dist/collection/components/image/image.spec.js.map +1 -0
  199. package/dist/collection/components/ingress/ingress.spec.js +7 -0
  200. package/dist/collection/components/ingress/ingress.spec.js.map +1 -0
  201. package/dist/collection/components/link/link.e2e.js +17 -0
  202. package/dist/collection/components/link/link.e2e.js.map +1 -0
  203. package/dist/collection/components/link/link.spec.js +7 -0
  204. package/dist/collection/components/link/link.spec.js.map +1 -0
  205. package/dist/collection/components/link-box/link-box.css +0 -1
  206. package/dist/collection/components/link-box/link-box.spec.js +7 -0
  207. package/dist/collection/components/link-box/link-box.spec.js.map +1 -0
  208. package/dist/collection/components/paragraph-text/paragraph-text.spec.js +7 -0
  209. package/dist/collection/components/paragraph-text/paragraph-text.spec.js.map +1 -0
  210. package/dist/collection/components/process/process.spec.js +7 -0
  211. package/dist/collection/components/process/process.spec.js.map +1 -0
  212. package/dist/collection/components/process-flow-box/process-flow-box.css +0 -2
  213. package/dist/collection/components/process-flow-box/process-flow-box.spec.js +7 -0
  214. package/dist/collection/components/process-flow-box/process-flow-box.spec.js.map +1 -0
  215. package/dist/collection/components/row/row.spec.js +7 -0
  216. package/dist/collection/components/row/row.spec.js.map +1 -0
  217. package/dist/collection/components/section-container/section-container.e2e.js +10 -0
  218. package/dist/collection/components/section-container/section-container.e2e.js.map +1 -0
  219. package/dist/collection/components/section-container/section-container.spec.js +17 -0
  220. package/dist/collection/components/section-container/section-container.spec.js.map +1 -0
  221. package/dist/collection/components/site-header/site-header.css +7 -0
  222. package/dist/collection/components/tiny-text/tiny-text.spec.js +7 -0
  223. package/dist/collection/components/tiny-text/tiny-text.spec.js.map +1 -0
  224. package/dist/esm/color-box_7.entry.js +167 -0
  225. package/dist/esm/color-box_7.entry.js.map +1 -0
  226. package/dist/esm/emotion.esm-e0a633a4.js +1397 -0
  227. package/dist/esm/emotion.esm-e0a633a4.js.map +1 -0
  228. package/dist/esm/{globalScript-3c6fab71.js → globalScript-5a4b7abf.js} +2 -2
  229. package/dist/esm/{globalScript-3c6fab71.js.map → globalScript-5a4b7abf.js.map} +1 -1
  230. package/dist/esm/huds-lib.js +5 -5
  231. package/dist/esm/huds-lib.js.map +1 -1
  232. package/dist/esm/hy-accordion-container_2.entry.js +238 -0
  233. package/dist/esm/hy-accordion-container_2.entry.js.map +1 -0
  234. package/dist/esm/hy-adjacent-image-text.entry.js +57 -0
  235. package/dist/esm/hy-adjacent-image-text.entry.js.map +1 -0
  236. package/dist/esm/hy-anchor-link-list.entry.js +49 -0
  237. package/dist/esm/hy-anchor-link-list.entry.js.map +1 -0
  238. package/dist/esm/hy-badge.entry.js +19 -0
  239. package/dist/esm/hy-badge.entry.js.map +1 -0
  240. package/dist/esm/hy-banner.entry.js +47 -0
  241. package/dist/esm/hy-banner.entry.js.map +1 -0
  242. package/dist/esm/hy-box.entry.js +165 -0
  243. package/dist/esm/hy-box.entry.js.map +1 -0
  244. package/dist/esm/hy-breadcrumbs_16.entry.js +1008 -0
  245. package/dist/esm/hy-breadcrumbs_16.entry.js.map +1 -0
  246. package/dist/esm/hy-checkbox.entry.js +28 -0
  247. package/dist/esm/hy-checkbox.entry.js.map +1 -0
  248. package/dist/esm/hy-collaboration.entry.js +22 -0
  249. package/dist/esm/hy-collaboration.entry.js.map +1 -0
  250. package/dist/esm/hy-content-list_2.entry.js +175 -0
  251. package/dist/esm/hy-content-list_2.entry.js.map +1 -0
  252. package/dist/esm/hy-crisis-banner.entry.js +21 -0
  253. package/dist/esm/hy-crisis-banner.entry.js.map +1 -0
  254. package/dist/esm/hy-cta-button.entry.js +31 -0
  255. package/dist/esm/hy-cta-button.entry.js.map +1 -0
  256. package/dist/esm/hy-cta-link.entry.js +26 -0
  257. package/dist/esm/hy-cta-link.entry.js.map +1 -0
  258. package/dist/esm/hy-dropdown_3.entry.js +135 -0
  259. package/dist/esm/hy-dropdown_3.entry.js.map +1 -0
  260. package/dist/esm/hy-event-item.entry.js +1 -1
  261. package/dist/esm/hy-events.entry.js +2 -2
  262. package/dist/esm/hy-filter-group_6.entry.js +107 -0
  263. package/dist/esm/hy-filter-group_6.entry.js.map +1 -0
  264. package/dist/esm/hy-general-list_2.entry.js +98 -0
  265. package/dist/esm/hy-general-list_2.entry.js.map +1 -0
  266. package/dist/esm/hy-grid-container_3.entry.js +55 -0
  267. package/dist/esm/hy-grid-container_3.entry.js.map +1 -0
  268. package/dist/esm/hy-hero-carousel.entry.js +44 -20
  269. package/dist/esm/hy-hero-carousel.entry.js.map +1 -1
  270. package/dist/esm/hy-hero.entry.js +108 -0
  271. package/dist/esm/hy-hero.entry.js.map +1 -0
  272. package/dist/esm/hy-icon.entry.js +814 -0
  273. package/dist/esm/hy-icon.entry.js.map +1 -0
  274. package/dist/esm/hy-image.entry.js +49 -0
  275. package/dist/esm/hy-image.entry.js.map +1 -0
  276. package/dist/esm/hy-introduction.entry.js +59 -0
  277. package/dist/esm/hy-introduction.entry.js.map +1 -0
  278. package/dist/esm/hy-key-figure_2.entry.js +92 -0
  279. package/dist/esm/hy-key-figure_2.entry.js.map +1 -0
  280. package/dist/esm/hy-key-highlight_2.entry.js +59 -0
  281. package/dist/esm/hy-key-highlight_2.entry.js.map +1 -0
  282. package/dist/esm/hy-large-process-flow_2.entry.js +73 -0
  283. package/dist/esm/hy-large-process-flow_2.entry.js.map +1 -0
  284. package/dist/esm/hy-link-box_2.entry.js +130 -0
  285. package/dist/esm/hy-link-box_2.entry.js.map +1 -0
  286. package/dist/esm/hy-link-list.entry.js +44 -0
  287. package/dist/esm/hy-link-list.entry.js.map +1 -0
  288. package/dist/esm/hy-link.entry.js +25 -0
  289. package/dist/esm/hy-link.entry.js.map +1 -0
  290. package/dist/esm/hy-list-item.entry.js +249 -0
  291. package/dist/esm/hy-list-item.entry.js.map +1 -0
  292. package/dist/esm/hy-logo-grid_2.entry.js +45 -0
  293. package/dist/esm/hy-logo-grid_2.entry.js.map +1 -0
  294. package/dist/esm/hy-menu-main-group.entry.js +156 -0
  295. package/dist/esm/hy-menu-main-group.entry.js.map +1 -0
  296. package/dist/esm/hy-opening-hours_2.entry.js +77 -0
  297. package/dist/esm/hy-opening-hours_2.entry.js.map +1 -0
  298. package/dist/esm/hy-pager_2.entry.js +59 -0
  299. package/dist/esm/hy-pager_2.entry.js.map +1 -0
  300. package/dist/esm/hy-paragraph-text.entry.js +44 -0
  301. package/dist/esm/hy-paragraph-text.entry.js.map +1 -0
  302. package/dist/esm/hy-person-card.entry.js +93 -0
  303. package/dist/esm/hy-person-card.entry.js.map +1 -0
  304. package/dist/esm/hy-person-profile-listing.entry.js +32 -0
  305. package/dist/esm/hy-person-profile-listing.entry.js.map +1 -0
  306. package/dist/esm/hy-person-profile.entry.js +70 -0
  307. package/dist/esm/hy-person-profile.entry.js.map +1 -0
  308. package/dist/esm/hy-process_2.entry.js +81 -0
  309. package/dist/esm/hy-process_2.entry.js.map +1 -0
  310. package/dist/esm/hy-prominent-image.entry.js +37 -0
  311. package/dist/esm/hy-prominent-image.entry.js.map +1 -0
  312. package/dist/esm/hy-quote.entry.js +29 -0
  313. package/dist/esm/hy-quote.entry.js.map +1 -0
  314. package/dist/esm/hy-row.entry.js +31 -0
  315. package/dist/esm/hy-row.entry.js.map +1 -0
  316. package/dist/esm/hy-shortcuts.entry.js +59 -0
  317. package/dist/esm/hy-shortcuts.entry.js.map +1 -0
  318. package/dist/esm/hy-table-container.entry.js +18 -0
  319. package/dist/esm/hy-table-container.entry.js.map +1 -0
  320. package/dist/esm/hy-tabs_2.entry.js +327 -0
  321. package/dist/esm/hy-tabs_2.entry.js.map +1 -0
  322. package/dist/esm/hy-tag.entry.js +18 -0
  323. package/dist/esm/hy-tag.entry.js.map +1 -0
  324. package/dist/esm/hy-twitter-feed.entry.js +30 -0
  325. package/dist/esm/hy-twitter-feed.entry.js.map +1 -0
  326. package/dist/esm/hy-two-columns.entry.js +19 -0
  327. package/dist/esm/hy-two-columns.entry.js.map +1 -0
  328. package/dist/esm/hy-user-login-form.entry.js +23 -0
  329. package/dist/esm/hy-user-login-form.entry.js.map +1 -0
  330. package/dist/esm/hy-video.entry.js +98 -0
  331. package/dist/esm/hy-video.entry.js.map +1 -0
  332. package/dist/esm/index-ecc819ad.js +967 -0
  333. package/dist/esm/index-ecc819ad.js.map +1 -0
  334. package/dist/esm/{index-9920074a.js → index-f84f2a7d.js} +17 -4
  335. package/dist/esm/index-f84f2a7d.js.map +1 -0
  336. package/dist/esm/loader.js +5 -5
  337. package/dist/esm/loader.js.map +1 -1
  338. package/dist/esm/{utils-a4d55421.js → utils-a4ebfef1.js} +2 -2
  339. package/dist/esm/{utils-a4d55421.js.map → utils-a4ebfef1.js.map} +1 -1
  340. package/dist/huds-lib/color-box_7.entry.js +12 -0
  341. package/dist/huds-lib/color-box_7.entry.js.map +1 -0
  342. package/dist/huds-lib/emotion.esm-e0a633a4.js +2 -0
  343. package/dist/huds-lib/emotion.esm-e0a633a4.js.map +1 -0
  344. package/dist/huds-lib/{globalScript-3c6fab71.js → globalScript-5a4b7abf.js} +2 -2
  345. package/dist/huds-lib/huds-lib.esm.js +1 -1
  346. package/dist/huds-lib/huds-lib.esm.js.map +1 -1
  347. package/dist/huds-lib/hy-accordion-container_2.entry.js +2 -0
  348. package/dist/huds-lib/hy-accordion-container_2.entry.js.map +1 -0
  349. package/dist/huds-lib/hy-adjacent-image-text.entry.js +2 -0
  350. package/dist/huds-lib/hy-adjacent-image-text.entry.js.map +1 -0
  351. package/dist/huds-lib/hy-anchor-link-list.entry.js +2 -0
  352. package/dist/huds-lib/hy-anchor-link-list.entry.js.map +1 -0
  353. package/dist/huds-lib/hy-badge.entry.js +2 -0
  354. package/dist/huds-lib/hy-badge.entry.js.map +1 -0
  355. package/dist/huds-lib/hy-banner.entry.js +2 -0
  356. package/dist/huds-lib/hy-banner.entry.js.map +1 -0
  357. package/dist/huds-lib/hy-box.entry.js +71 -0
  358. package/dist/huds-lib/hy-box.entry.js.map +1 -0
  359. package/dist/huds-lib/hy-breadcrumbs_16.entry.js +2 -0
  360. package/dist/huds-lib/hy-breadcrumbs_16.entry.js.map +1 -0
  361. package/dist/huds-lib/hy-checkbox.entry.js +2 -0
  362. package/dist/huds-lib/hy-checkbox.entry.js.map +1 -0
  363. package/dist/huds-lib/hy-collaboration.entry.js +2 -0
  364. package/dist/huds-lib/hy-collaboration.entry.js.map +1 -0
  365. package/dist/huds-lib/hy-content-list_2.entry.js +2 -0
  366. package/dist/huds-lib/hy-content-list_2.entry.js.map +1 -0
  367. package/dist/huds-lib/hy-crisis-banner.entry.js +2 -0
  368. package/dist/huds-lib/hy-crisis-banner.entry.js.map +1 -0
  369. package/dist/huds-lib/hy-cta-button.entry.js +2 -0
  370. package/dist/huds-lib/hy-cta-button.entry.js.map +1 -0
  371. package/dist/huds-lib/hy-cta-link.entry.js +2 -0
  372. package/dist/huds-lib/hy-cta-link.entry.js.map +1 -0
  373. package/dist/huds-lib/hy-dropdown_3.entry.js +2 -0
  374. package/dist/huds-lib/hy-dropdown_3.entry.js.map +1 -0
  375. package/dist/huds-lib/hy-event-item.entry.js +1 -1
  376. package/dist/huds-lib/hy-events.entry.js +1 -1
  377. package/dist/huds-lib/hy-filter-group_6.entry.js +2 -0
  378. package/dist/huds-lib/hy-filter-group_6.entry.js.map +1 -0
  379. package/dist/huds-lib/hy-general-list_2.entry.js +2 -0
  380. package/dist/huds-lib/hy-general-list_2.entry.js.map +1 -0
  381. package/dist/huds-lib/hy-grid-container_3.entry.js +2 -0
  382. package/dist/huds-lib/hy-grid-container_3.entry.js.map +1 -0
  383. package/dist/huds-lib/hy-hero-carousel.entry.js +1 -1
  384. package/dist/huds-lib/hy-hero-carousel.entry.js.map +1 -1
  385. package/dist/huds-lib/hy-hero.entry.js +2 -0
  386. package/dist/huds-lib/hy-hero.entry.js.map +1 -0
  387. package/dist/huds-lib/hy-icon.entry.js +2 -0
  388. package/dist/huds-lib/hy-icon.entry.js.map +1 -0
  389. package/dist/huds-lib/hy-image.entry.js +2 -0
  390. package/dist/huds-lib/hy-image.entry.js.map +1 -0
  391. package/dist/huds-lib/hy-introduction.entry.js +2 -0
  392. package/dist/huds-lib/hy-introduction.entry.js.map +1 -0
  393. package/dist/huds-lib/hy-key-figure_2.entry.js +2 -0
  394. package/dist/huds-lib/hy-key-figure_2.entry.js.map +1 -0
  395. package/dist/huds-lib/hy-key-highlight_2.entry.js +2 -0
  396. package/dist/huds-lib/hy-key-highlight_2.entry.js.map +1 -0
  397. package/dist/huds-lib/hy-large-process-flow_2.entry.js +2 -0
  398. package/dist/huds-lib/hy-large-process-flow_2.entry.js.map +1 -0
  399. package/dist/huds-lib/hy-link-box_2.entry.js +2 -0
  400. package/dist/huds-lib/hy-link-box_2.entry.js.map +1 -0
  401. package/dist/huds-lib/hy-link-list.entry.js +2 -0
  402. package/dist/huds-lib/hy-link-list.entry.js.map +1 -0
  403. package/dist/huds-lib/hy-link.entry.js +2 -0
  404. package/dist/huds-lib/hy-link.entry.js.map +1 -0
  405. package/dist/huds-lib/hy-list-item.entry.js +2 -0
  406. package/dist/huds-lib/hy-list-item.entry.js.map +1 -0
  407. package/dist/huds-lib/hy-logo-grid_2.entry.js +2 -0
  408. package/dist/huds-lib/hy-logo-grid_2.entry.js.map +1 -0
  409. package/dist/huds-lib/hy-menu-main-group.entry.js +2 -0
  410. package/dist/huds-lib/hy-menu-main-group.entry.js.map +1 -0
  411. package/dist/huds-lib/hy-opening-hours_2.entry.js +2 -0
  412. package/dist/huds-lib/hy-opening-hours_2.entry.js.map +1 -0
  413. package/dist/huds-lib/hy-pager_2.entry.js +2 -0
  414. package/dist/huds-lib/hy-pager_2.entry.js.map +1 -0
  415. package/dist/huds-lib/hy-paragraph-text.entry.js +2 -0
  416. package/dist/huds-lib/hy-paragraph-text.entry.js.map +1 -0
  417. package/dist/huds-lib/hy-person-card.entry.js +2 -0
  418. package/dist/huds-lib/hy-person-card.entry.js.map +1 -0
  419. package/dist/huds-lib/hy-person-profile-listing.entry.js +2 -0
  420. package/dist/huds-lib/hy-person-profile-listing.entry.js.map +1 -0
  421. package/dist/huds-lib/hy-person-profile.entry.js +2 -0
  422. package/dist/huds-lib/hy-person-profile.entry.js.map +1 -0
  423. package/dist/huds-lib/hy-process_2.entry.js +2 -0
  424. package/dist/huds-lib/hy-process_2.entry.js.map +1 -0
  425. package/dist/huds-lib/hy-prominent-image.entry.js +2 -0
  426. package/dist/huds-lib/hy-prominent-image.entry.js.map +1 -0
  427. package/dist/huds-lib/hy-quote.entry.js +2 -0
  428. package/dist/huds-lib/hy-quote.entry.js.map +1 -0
  429. package/dist/huds-lib/hy-row.entry.js +9 -0
  430. package/dist/huds-lib/hy-row.entry.js.map +1 -0
  431. package/dist/huds-lib/hy-shortcuts.entry.js +2 -0
  432. package/dist/huds-lib/hy-shortcuts.entry.js.map +1 -0
  433. package/dist/huds-lib/hy-table-container.entry.js +2 -0
  434. package/dist/huds-lib/hy-table-container.entry.js.map +1 -0
  435. package/dist/huds-lib/hy-tabs_2.entry.js +2 -0
  436. package/dist/huds-lib/hy-tabs_2.entry.js.map +1 -0
  437. package/dist/huds-lib/hy-tag.entry.js +2 -0
  438. package/dist/huds-lib/hy-tag.entry.js.map +1 -0
  439. package/dist/huds-lib/hy-twitter-feed.entry.js +2 -0
  440. package/dist/huds-lib/hy-twitter-feed.entry.js.map +1 -0
  441. package/dist/huds-lib/hy-two-columns.entry.js +2 -0
  442. package/dist/huds-lib/hy-two-columns.entry.js.map +1 -0
  443. package/dist/huds-lib/hy-user-login-form.entry.js +2 -0
  444. package/dist/huds-lib/hy-user-login-form.entry.js.map +1 -0
  445. package/dist/huds-lib/hy-video.entry.js +2 -0
  446. package/dist/huds-lib/hy-video.entry.js.map +1 -0
  447. package/dist/huds-lib/index-ecc819ad.js +2 -0
  448. package/dist/huds-lib/index-ecc819ad.js.map +1 -0
  449. package/dist/huds-lib/{index-9920074a.js → index-f84f2a7d.js} +3 -3
  450. package/dist/huds-lib/index-f84f2a7d.js.map +1 -0
  451. package/dist/huds-lib/{utils-a4d55421.js → utils-a4ebfef1.js} +2 -2
  452. package/dist/types/stencil-public-runtime.d.ts +2 -0
  453. package/package.json +3 -3
  454. package/dist/cjs/color-box_91.cjs.entry.js +0 -7663
  455. package/dist/cjs/color-box_91.cjs.entry.js.map +0 -1
  456. package/dist/cjs/index-ca4e37f2.js.map +0 -1
  457. package/dist/esm/color-box_91.entry.js +0 -7569
  458. package/dist/esm/color-box_91.entry.js.map +0 -1
  459. package/dist/esm/index-9920074a.js.map +0 -1
  460. package/dist/huds-lib/color-box_91.entry.js +0 -88
  461. package/dist/huds-lib/color-box_91.entry.js.map +0 -1
  462. package/dist/huds-lib/index-9920074a.js.map +0 -1
  463. /package/dist/huds-lib/{globalScript-3c6fab71.js.map → globalScript-5a4b7abf.js.map} +0 -0
  464. /package/dist/huds-lib/{utils-a4d55421.js.map → utils-a4ebfef1.js.map} +0 -0
@@ -0,0 +1,108 @@
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-f84f2a7d.js';
2
+ import { j as jsonParserWorker } from './globalScript-5a4b7abf.js';
3
+ import { H as HeroTypeVariant, a as HeroGroupTypeVariant, b as HeroColorVariant, c as HeroSizeVariant, d as CtaLinkButtonVariants } from './utils-a4ebfef1.js';
4
+
5
+ const hyHeroCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-hero{position:relative;padding-bottom:0}@media (min-width: 60rem){.hy-hero{margin-top:32px}}@media (min-width: 60rem){.hy-hero:not(.has-shortcuts){margin-bottom:32px}}@media (min-width: 75.0625rem){.without-sidebar .hy-hero{max-width:1216px;margin-right:auto;margin-left:auto}}@media (min-width: 75.0625rem){.with-sidebar .hy-hero{padding-left:32px;padding-right:32px}}@media (min-width: 1601px){.with-sidebar .hy-hero{padding-right:0;padding-left:0;max-width:1216px;margin-right:auto;margin-left:auto}}@media (min-width: 60rem){.hy-hero--white{margin-top:0}}@media (min-width: 60rem){.hy-hero--white:not(.has-shortcuts){padding-bottom:48px}}.hy-hero--white:not(.has-shortcuts):after{width:100%;background-color:var(--grayscale-medium-dark);height:1px;content:\"\";margin:0 auto;display:block}@media (min-width: 60rem){.hy-hero--white:not(.has-shortcuts):after{position:absolute;left:0;right:0;bottom:0}}.hy-hero--white:not(.hy-hero--front_page):after{max-width:1216px}.hy-hero__container{position:relative}@media (min-width: 60rem){.hy-hero__container{display:grid;position:relative}}@media (min-width: 60rem){.hy-hero--small .hy-hero__container{grid-template-columns:60% 1fr}}@media (min-width: 60rem){.hy-hero--large .hy-hero__container{grid-template-columns:repeat(2, 1fr)}}.hy-hero__content-container{padding:24px 1rem 40px;margin:0 auto;width:100%}@media (min-width: 30rem){.hy-hero__content-container{padding:40px 2rem}}@media (min-width: 75.0625rem){.hy-hero__content-container{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;padding:40px 24px}}@media (min-width: 1601px){.hy-hero__content-container{max-width:1216px}}.hy-hero--black .hy-hero__content-container{background-color:var(--grayscale-black)}.hy-hero--blue .hy-hero__content-container{background-color:var(--brand-main)}.hy-hero--white .hy-hero__content-container{background-color:var(--grayscale-white)}@media (min-width: 75.0625rem){.hy-hero--white .hy-hero__content-container{padding:40px 24px 40px 0}}.hy-hero__content{position:relative}h2.hy-hero__title{-ms-hyphens:auto;hyphens:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:0;flex-shrink:0;max-width:100%;width:auto}.hy-hero--blue h2.hy-hero__title{color:var(--grayscale-white) !important}.hy-hero--black h2.hy-hero__title{color:var(--grayscale-white) !important}.hy-hero--white h2.hy-hero__title{color:var(--grayscale-black) !important}h2.hy-hero__title.hy-heading__hero{font-size:2.25rem;line-height:33px;font-weight:700;color:var(--grayscale-black);font-family:var(--main-font-family);letter-spacing:-0.8px;margin-bottom:0;text-transform:none}@media (min-width: 1024px){h2.hy-hero__title.hy-heading__hero{font-size:2.25rem;line-height:40px;letter-spacing:-1.15px}}@media (min-width: 1601px){h2.hy-hero__title.hy-heading__hero{font-size:2.375rem;line-height:48px;letter-spacing:-1.3px}}.hy-hero__description{font-size:1rem;line-height:24px;font-family:var(--main-font-family);margin:16px 0 0 0;padding:0;position:relative}@media (min-width: 1601px){.hy-hero__description{font-size:1.0625rem;line-height:26px}}.hy-hero--black .hy-hero__description{color:var(--grayscale-white)}.hy-hero--blue .hy-hero__description{color:var(--grayscale-white)}.hy-hero--white .hy-hero__description{color:var(--grayscale-black)}.hy-hero__actions{margin-top:24px}.hy-hero__image-container{margin:0;padding:0;position:relative}.hy-hero__image-container figure{margin:0}@media (min-width: 60rem){.hy-hero__image-container{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2;padding:8px 0}}@media (min-width: 60rem){.hy-hero--front_page .hy-hero__image-container{padding:0}}.hy-image__image{display:block;height:100%;min-height:205px;-o-object-fit:contain;object-fit:contain;width:100%}.has-cover .hy-image__image{-o-object-fit:cover;object-fit:cover}.hy-hero.hy-hero--group_landing.hy-hero--generic_site_group h2.hy-hero__title.hy-heading__hero,.hy-hero.hy-hero--research_group h2.hy-hero__title.hy-heading__hero{font-size:2rem;line-height:38px;font-weight:700;color:var(--grayscale-black);font-family:var(--main-font-family);letter-spacing:-0.8px;margin-bottom:0;text-transform:uppercase}@media (min-width: 1024px){.hy-hero.hy-hero--group_landing.hy-hero--generic_site_group h2.hy-hero__title.hy-heading__hero,.hy-hero.hy-hero--research_group h2.hy-hero__title.hy-heading__hero{font-size:2.875rem;line-height:54px;letter-spacing:-1.15px}}@media (min-width: 1601px){.hy-hero.hy-hero--group_landing.hy-hero--generic_site_group h2.hy-hero__title.hy-heading__hero,.hy-hero.hy-hero--research_group h2.hy-hero__title.hy-heading__hero{font-size:3.25rem;line-height:60px;letter-spacing:-1.3px}}@media (min-width: 60rem){.hy-hero.hy-hero--front_page.hy-hero--white{padding-top:40px;margin-top:0}}.hy-hero.hy-hero--front_page h2.hy-hero__title.hy-heading__hero{font-size:2rem;line-height:38px;font-weight:700;color:var(--grayscale-black);font-family:var(--main-font-family);letter-spacing:-0.8px;margin-bottom:0;text-transform:uppercase}@media (min-width: 1024px){.hy-hero.hy-hero--front_page h2.hy-hero__title.hy-heading__hero{font-size:2.875rem;line-height:54px;letter-spacing:-1.15px}}@media (min-width: 1601px){.hy-hero.hy-hero--front_page h2.hy-hero__title.hy-heading__hero{font-size:3.25rem;line-height:60px;letter-spacing:-1.3px}}@media (min-width: 75.0625rem){.hy-hero.hy-hero--front_page{margin-left:-32px;margin-right:-32px;max-width:none}}.hy-hero.hy-hero--front_page .hy-hero__container{position:relative}@media (min-width: 60rem){.hy-hero.hy-hero--front_page .hy-hero__container{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative}}.hy-hero.hy-hero--front_page .hy-hero__content-container{padding:24px 1rem 40px;margin:0 auto;width:100%}.hy-hero--black .hy-hero.hy-hero--front_page .hy-hero__content-container{background-color:var(--grayscale-black)}.hy-hero--blue .hy-hero.hy-hero--front_page .hy-hero__content-container{background-color:var(--brand-main)}.hy-hero--white .hy-hero.hy-hero--front_page .hy-hero__content-container{background-color:var(--grayscale-white)}@media (min-width: 30rem){.hy-hero.hy-hero--front_page .hy-hero__content-container{padding:24px 2rem 40px}}@media (min-width: 60rem){.hy-hero.hy-hero--front_page .hy-hero__content-container{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;min-height:330px;padding:56px 2rem}}@media (min-width: 1060px){.hy-hero.hy-hero--front_page .hy-hero__content-container{min-height:373px}}@media (min-width: 1160px){.hy-hero.hy-hero--front_page .hy-hero__content-container{min-height:480px}}@media (min-width: 75.0625rem){.hy-hero.hy-hero--front_page .hy-hero__content-container{padding-left:32px;padding-right:8px}}@media (min-width: 1260px){.hy-hero.hy-hero--front_page .hy-hero__content-container{min-height:443px}}@media (min-width: 1280px){.hy-hero.hy-hero--front_page .hy-hero__content-container{max-width:1216px;padding-left:0}}@media (min-width: 1360px){.hy-hero.hy-hero--front_page .hy-hero__content-container{min-height:478px}}@media (min-width: 1460px){.hy-hero.hy-hero--front_page .hy-hero__content-container{min-height:513px}}@media (min-width: 1560px){.hy-hero.hy-hero--front_page .hy-hero__content-container{min-height:548px}}@media (min-width: 1601px){.hy-hero.hy-hero--front_page .hy-hero__content-container{padding-left:0}}@media (min-width: 1660px){.hy-hero.hy-hero--front_page .hy-hero__content-container{min-height:583px}}@media (min-width: 1760px){.hy-hero.hy-hero--front_page .hy-hero__content-container{min-height:619px}}@media (min-width: 1860px){.hy-hero.hy-hero--front_page .hy-hero__content-container{min-height:654px}}@media (min-width: 1920px){.hy-hero.hy-hero--front_page .hy-hero__content-container{min-height:675px}}@media (min-width: 60rem){.hy-hero.hy-hero--front_page.hy-hero--small .hy-hero__image-container{width:40%}}@media (min-width: 60rem){.hy-hero.hy-hero--front_page.hy-hero--small .hy-hero__content{max-width:60%}}@media (min-width: 60rem){.hy-hero.hy-hero--front_page.hy-hero--large .hy-hero__image-container{width:50%}}@media (min-width: 60rem){.hy-hero.hy-hero--front_page.hy-hero--large .hy-hero__content{max-width:50%}}.hy-hero.hy-hero--front_page .hy-hero__image-container{background-position:50% 50%;background-size:cover;background:transparent;margin:0;padding:0;position:relative}.hy-hero.hy-hero--front_page .hy-hero__image-container figure{margin:0}@media (min-width: 60rem){.hy-hero.hy-hero--front_page .hy-hero__image-container{background-color:var(--grayscale-white);bottom:0;-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2;padding:8px 0;position:absolute;right:0;top:0}}.hy-hero.hy-hero--front_page .hy-hero__content{position:relative}@media (min-width: 60rem){.hy-hero.hy-hero--front_page .hy-hero__content{padding-right:24px}}.hy-hero.hy-hero--front_page .hy-image__image{display:block;height:100%;min-height:205px;-o-object-fit:cover;object-fit:cover;width:100%}.hy-hero__spacer-box{display:none}@media (min-width: 60rem){.hy-hero__spacer-box{display:block;-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1;position:absolute;inset:0}}@media (min-width: 60rem){.hy-hero--small .hy-hero__spacer-box{width:60%}}@media (min-width: 60rem){.hy-hero--large .hy-hero__spacer-box{width:50%}}.hy-hero--black .hy-hero__spacer-box{background-color:var(--grayscale-black)}.hy-hero--blue .hy-hero__spacer-box{background-color:var(--brand-main)}.hy-hero--white .hy-hero__spacer-box{background-color:var(--grayscale-white)}";
6
+
7
+ let timeout = null;
8
+ let delay = 250;
9
+ const HyHero = class {
10
+ constructor(hostRef) {
11
+ registerInstance(this, hostRef);
12
+ this.heroType = HeroTypeVariant.landing;
13
+ this.heroGroupType = HeroGroupTypeVariant.default;
14
+ this.colorVariant = HeroColorVariant.blue;
15
+ this.sizeVariant = HeroSizeVariant.large;
16
+ this.image = undefined;
17
+ this.imageHeight = null;
18
+ this.imageWidth = null;
19
+ this.imageAltText = "";
20
+ this.disableLazy = false;
21
+ this.hasShortcuts = false;
22
+ this.heading = undefined;
23
+ this.description = undefined;
24
+ this.url = undefined;
25
+ this.urlTitle = undefined;
26
+ this.scLabel = undefined;
27
+ this.isExternal = false;
28
+ this.sourceSet = undefined;
29
+ }
30
+ async componentWillLoad() {
31
+ this._sourceSet = await jsonParserWorker(this.sourceSet);
32
+ }
33
+ handleHeroImageObjectFitValue(heroSizeVariant, heroElement) {
34
+ const heroContentContainerElement = heroElement.getElementsByClassName("hy-hero__content-container")[0];
35
+ if (heroSizeVariant === "small") {
36
+ if (heroContentContainerElement.offsetHeight >= 300) {
37
+ heroElement.classList.add("has-cover");
38
+ }
39
+ else {
40
+ heroElement.classList.remove("has-cover");
41
+ }
42
+ }
43
+ if (heroSizeVariant === "large") {
44
+ if (heroContentContainerElement.offsetHeight >= 344) {
45
+ heroElement.classList.add("has-cover");
46
+ }
47
+ else {
48
+ heroElement.classList.remove("has-cover");
49
+ }
50
+ }
51
+ }
52
+ render() {
53
+ let variant = CtaLinkButtonVariants.heroWhite;
54
+ let colorVariantValue = this.colorVariant;
55
+ let heroTypeValue = this.heroType;
56
+ if (this.heroType === "minor_landing") {
57
+ colorVariantValue = HeroColorVariant.white;
58
+ heroTypeValue = HeroTypeVariant.landing;
59
+ }
60
+ if (colorVariantValue === HeroColorVariant.blue) {
61
+ variant = CtaLinkButtonVariants.heroBlue;
62
+ }
63
+ if (colorVariantValue === HeroColorVariant.black) {
64
+ variant = CtaLinkButtonVariants.heroBlack;
65
+ }
66
+ if (!colorVariantValue || colorVariantValue === "fp_white") {
67
+ colorVariantValue = HeroColorVariant.white;
68
+ }
69
+ const hyHeroClasses = [
70
+ "hy-hero",
71
+ `hy-hero--${heroTypeValue}`,
72
+ `hy-hero--${this.heroGroupType}`,
73
+ `hy-hero--${colorVariantValue}`,
74
+ `hy-hero--${this.sizeVariant}`,
75
+ ];
76
+ const heroTitleClasses = ["hy-hero__title", "hy-heading__hero"].join(" ");
77
+ // If there is a Shortcuts block after hero, add the class 'shortcuts' to remove underline.
78
+ if (this.hasShortcuts) {
79
+ hyHeroClasses.push("has-shortcuts");
80
+ }
81
+ const aspectRatioWidth = 16;
82
+ const aspectRatioHeight = 10;
83
+ const aspect = (aspectRatioHeight / aspectRatioWidth) * 100;
84
+ const aspectRatio = {
85
+ "--aspectRatio": `${aspect}%`,
86
+ };
87
+ window.onload = () => {
88
+ const heroElement = document.getElementsByClassName("hy-hero")[0];
89
+ this.handleHeroImageObjectFitValue(this.sizeVariant, heroElement);
90
+ window.addEventListener("resize", () => {
91
+ clearTimeout(timeout);
92
+ timeout = setTimeout(() => this.handleHeroImageObjectFitValue(this.sizeVariant, heroElement), delay);
93
+ });
94
+ };
95
+ if (heroTypeValue === "front_page") {
96
+ return (h(Host, null, h("div", { class: hyHeroClasses.join(" ") }, h("div", { class: `hy-hero__container` }, h("div", { class: `hy-hero__image-container`, style: aspectRatio }, this.image &&
97
+ (this._sourceSet ? (h("picture", null, this._sourceSet.map((item) => (h("source", { srcSet: item.src, media: item.media, type: item.type, sizes: item.sizes ? item.sizes : "" }))), h("img", { loading: this.disableLazy ? "eager" : "lazy", alt: this.imageAltText, class: `hy-image__image`, src: this.image, height: this.imageHeight, width: this.imageWidth }))) : (h("img", { loading: this.disableLazy ? "eager" : "lazy", alt: this.imageAltText, class: `hy-image__image`, src: this.image, height: this.imageHeight, width: this.imageWidth })))), h("div", { class: `hy-hero__spacer-box` }), h("div", { class: `hy-hero__content-container` }, h("div", { class: `hy-hero__content` }, h("div", { class: `hy-hero__title-container` }, h("h2", { innerHTML: this.heading, class: heroTitleClasses })), this.description && h("p", { class: `hy-hero__description` }, this.description), this.url && (h("div", { class: `hy-hero__actions` }, h("hy-cta-button", { "link-content": this.urlTitle, "sc-label": this.scLabel, url: this.url, "is-external": this.isExternal, variant: variant }))))))), h("hy-box", { mb: "2, 2, 1, 1" })));
98
+ }
99
+ return (h(Host, null, h("div", { class: hyHeroClasses.join(" ") }, h("div", { class: `hy-hero__container` }, h("div", { class: `hy-hero__image-container`, style: aspectRatio }, this.image &&
100
+ (this._sourceSet ? (h("picture", null, this._sourceSet.map((item) => (h("source", { srcSet: item.src, media: item.media, type: item.type, sizes: item.sizes ? item.sizes : "" }))), h("img", { loading: this.disableLazy ? "eager" : "lazy", alt: this.imageAltText, class: `hy-image__image`, src: this.image, height: this.imageHeight, width: this.imageWidth }))) : (h("img", { loading: this.disableLazy ? "eager" : "lazy", alt: this.imageAltText, class: `hy-image__image`, src: this.image, height: this.imageHeight, width: this.imageWidth })))), h("div", { class: `hy-hero__content-container` }, h("div", { class: `hy-hero__content` }, h("div", { class: `hy-hero__title-container` }, h("h2", { innerHTML: this.heading, class: heroTitleClasses })), this.description && h("p", { class: `hy-hero__description` }, this.description), this.url && (h("div", { class: `hy-hero__actions` }, h("hy-cta-button", { "link-content": this.urlTitle, "sc-label": this.scLabel, url: this.url, "is-external": this.isExternal, variant: variant }))))))), h("hy-box", { mb: "2, 2, 1, 1" })));
101
+ }
102
+ get el() { return getElement(this); }
103
+ };
104
+ HyHero.style = hyHeroCss;
105
+
106
+ export { HyHero as hy_hero };
107
+
108
+ //# sourceMappingURL=hy-hero.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"hy-hero.entry.js","mappings":"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","names":[],"sources":["./src/components/hy-hero/hy-hero.scss?tag=hy-hero","./src/components/hy-hero/hy-hero.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n.hy-hero {\n position: relative;\n padding-bottom: 0;\n\n @include breakpoint($wide) {\n margin-top: 32px;\n }\n\n &:not(.has-shortcuts) {\n @include breakpoint($wide) {\n margin-bottom: 32px;\n }\n }\n\n .without-sidebar & {\n @include breakpoint($extrawide) {\n max-width: 1216px;\n margin-right: auto;\n margin-left: auto;\n }\n }\n\n .with-sidebar & {\n @include breakpoint($extrawide) {\n padding-left: 32px;\n padding-right: 32px;\n }\n\n @include breakpoint($xlarge) {\n padding-right: 0;\n padding-left: 0;\n max-width: 1216px;\n margin-right: auto;\n margin-left: auto;\n }\n }\n\n &--white {\n @include breakpoint($wide) {\n margin-top: 0;\n }\n\n &:not(.has-shortcuts) {\n @include breakpoint($wide) {\n padding-bottom: 48px;\n }\n }\n\n &:not(.has-shortcuts):after {\n width: 100%;\n background-color: var(--grayscale-medium-dark);\n height: 1px;\n content: \"\";\n margin: 0 auto;\n display: block;\n\n @include breakpoint($wide) {\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n }\n }\n\n &:not(.hy-hero--front_page):after {\n max-width: 1216px;\n }\n }\n}\n\n.hy-hero__container {\n position: relative;\n\n @include breakpoint($wide) {\n display: grid;\n position: relative;\n }\n\n .hy-hero--small & {\n @include breakpoint($wide) {\n grid-template-columns: 60% 1fr;\n }\n }\n\n .hy-hero--large & {\n @include breakpoint($wide) {\n grid-template-columns: repeat(2, 1fr);\n }\n }\n}\n\n.hy-hero__content-container {\n padding: 24px 1rem 40px;\n margin: 0 auto;\n width: 100%;\n\n @include breakpoint($narrow) {\n padding: 40px 2rem;\n }\n\n @include breakpoint($extrawide) {\n align-items: center;\n display: flex;\n padding: 40px 24px;\n }\n\n @include breakpoint($xlarge) {\n max-width: 1216px;\n }\n\n .hy-hero--black & {\n background-color: var(--grayscale-black);\n }\n\n .hy-hero--blue & {\n background-color: var(--brand-main);\n }\n\n .hy-hero--white & {\n background-color: var(--grayscale-white);\n\n @include breakpoint($extrawide) {\n padding: 40px 24px 40px 0;\n }\n }\n}\n\n.hy-hero__content {\n position: relative;\n}\n\nh2.hy-hero__title {\n hyphens: auto;\n display: flex;\n flex-grow: 1;\n flex-shrink: 0;\n max-width: 100%;\n width: auto;\n\n .hy-hero--blue & {\n color: var(--grayscale-white) !important;\n }\n\n .hy-hero--black & {\n color: var(--grayscale-white) !important;\n }\n\n .hy-hero--white & {\n color: var(--grayscale-black) !important;\n }\n\n &.hy-heading__hero {\n @include font-size(36px, 33px);\n @include font-weight($bold);\n color: var(--grayscale-black);\n font-family: var(--main-font-family);\n letter-spacing: -0.8px;\n margin-bottom: 0;\n text-transform: none;\n\n @include breakpoint(1024px) {\n @include font-size(36px, 40px);\n letter-spacing: -1.15px;\n }\n\n @include breakpoint($xlarge) {\n @include font-size(38px, 48px);\n letter-spacing: -1.3px;\n }\n }\n}\n\n.hy-hero__description {\n @include font-size(16px, 24px);\n font-family: var(--main-font-family);\n margin: 16px 0 0 0;\n padding: 0;\n position: relative;\n\n @include breakpoint($xlarge) {\n @include font-size(17px, 26px);\n }\n\n .hy-hero--black & {\n color: var(--grayscale-white);\n }\n\n .hy-hero--blue & {\n color: var(--grayscale-white);\n }\n\n .hy-hero--white & {\n color: var(--grayscale-black);\n }\n}\n\n.hy-hero__actions {\n margin-top: 24px;\n}\n\n.hy-hero__image-container {\n margin: 0;\n padding: 0;\n position: relative;\n\n figure {\n margin: 0;\n }\n\n @include breakpoint($wide) {\n order: 2;\n padding: 8px 0;\n }\n\n .hy-hero--front_page & {\n @include breakpoint($wide) {\n padding: 0;\n }\n }\n}\n\n.hy-image__image {\n display: block;\n height: 100%;\n min-height: 205px;\n object-fit: contain;\n width: 100%;\n\n .has-cover & {\n object-fit: cover;\n }\n}\n\n// Research group and generic with minor landing\n.hy-hero.hy-hero--group_landing.hy-hero--generic_site_group,\n.hy-hero.hy-hero--research_group {\n h2.hy-hero__title.hy-heading__hero {\n @include font-size(32px, 38px);\n @include font-weight($bold);\n color: var(--grayscale-black);\n font-family: var(--main-font-family);\n letter-spacing: -0.8px;\n margin-bottom: 0;\n text-transform: uppercase;\n\n @include breakpoint(1024px) {\n @include font-size(46px, 54px);\n letter-spacing: -1.15px;\n }\n\n @include breakpoint($xlarge) {\n @include font-size(52px, 60px);\n letter-spacing: -1.3px;\n }\n }\n}\n\n// FRONTPAGE VARIATION\n\n.hy-hero.hy-hero--front_page {\n &.hy-hero--white {\n @include breakpoint($wide) {\n padding-top: 40px;\n margin-top: 0;\n }\n }\n\n h2.hy-hero__title.hy-heading__hero {\n @include font-size(32px, 38px);\n @include font-weight($bold);\n color: var(--grayscale-black);\n font-family: var(--main-font-family);\n letter-spacing: -0.8px;\n margin-bottom: 0;\n text-transform: uppercase;\n\n @include breakpoint(1024px) {\n @include font-size(46px, 54px);\n letter-spacing: -1.15px;\n }\n\n @include breakpoint($xlarge) {\n @include font-size(52px, 60px);\n letter-spacing: -1.3px;\n }\n }\n\n @include breakpoint($extrawide) {\n margin-left: -32px;\n margin-right: -32px;\n max-width: none;\n }\n\n .hy-hero__container {\n position: relative;\n\n @include breakpoint($wide) {\n display: flex;\n position: relative;\n }\n }\n\n .hy-hero__content-container {\n padding: 24px 1rem 40px;\n margin: 0 auto;\n width: 100%;\n\n .hy-hero--black & {\n background-color: var(--grayscale-black);\n }\n\n .hy-hero--blue & {\n background-color: var(--brand-main);\n }\n\n .hy-hero--white & {\n background-color: var(--grayscale-white);\n }\n\n @include breakpoint($narrow) {\n padding: 24px 2rem 40px;\n }\n\n @include breakpoint($wide) {\n align-items: center;\n display: flex;\n min-height: 330px;\n padding: 56px 2rem;\n }\n\n @include breakpoint(1060px) {\n min-height: 373px;\n }\n\n @include breakpoint(1160px) {\n min-height: 480px;\n }\n\n @include breakpoint($extrawide) {\n padding-left: 32px;\n padding-right: 8px;\n }\n\n @include breakpoint(1260px) {\n min-height: 443px;\n }\n\n @include breakpoint(1280px) {\n max-width: 1216px;\n padding-left: 0;\n }\n\n @include breakpoint(1360px) {\n min-height: 478px;\n }\n\n @include breakpoint(1460px) {\n min-height: 513px;\n }\n\n @include breakpoint(1560px) {\n min-height: 548px;\n }\n\n @include breakpoint($xlarge) {\n padding-left: 0;\n }\n\n @include breakpoint(1660px) {\n min-height: 583px;\n }\n\n @include breakpoint(1760px) {\n min-height: 619px;\n }\n\n @include breakpoint(1860px) {\n min-height: 654px;\n }\n\n @include breakpoint(1920px) {\n min-height: 675px;\n }\n }\n\n &.hy-hero--small {\n .hy-hero__image-container {\n @include breakpoint($wide) {\n width: 40%;\n }\n }\n\n .hy-hero__content {\n @include breakpoint($wide) {\n max-width: 60%;\n }\n }\n }\n\n &.hy-hero--large {\n .hy-hero__image-container {\n @include breakpoint($wide) {\n width: 50%;\n }\n }\n\n .hy-hero__content {\n @include breakpoint($wide) {\n max-width: 50%;\n }\n }\n }\n\n .hy-hero__image-container {\n background-position: 50% 50%;\n background-size: cover;\n background: transparent;\n margin: 0;\n padding: 0;\n position: relative;\n\n figure {\n margin: 0;\n }\n\n @include breakpoint($wide) {\n background-color: var(--grayscale-white);\n bottom: 0;\n order: 2;\n padding: 8px 0;\n position: absolute;\n right: 0;\n top: 0;\n }\n }\n\n .hy-hero__content {\n position: relative;\n\n @include breakpoint($wide) {\n padding-right: 24px;\n }\n }\n\n .hy-image__image {\n display: block;\n height: 100%;\n min-height: 205px;\n object-fit: cover;\n width: 100%;\n }\n}\n\n.hy-hero__spacer-box {\n display: none;\n\n @include breakpoint($wide) {\n display: block;\n order: 1;\n position: absolute;\n inset: 0;\n }\n\n .hy-hero--small & {\n @include breakpoint($wide) {\n width: 60%;\n }\n }\n\n .hy-hero--large & {\n @include breakpoint($wide) {\n width: 50%;\n }\n }\n\n .hy-hero--black & {\n background-color: var(--grayscale-black);\n }\n\n .hy-hero--blue & {\n background-color: var(--brand-main);\n }\n\n .hy-hero--white & {\n background-color: var(--grayscale-white);\n }\n}\n","export interface ImageSrcSet {\n src: any;\n media: string;\n type: string;\n sizes: string | null;\n}\nlet timeout = null;\nlet delay = 250;\n\nimport {Component, Element, h, Host, Prop} from \"@stencil/core\";\nimport {jsonParserWorker} from \"../../global/globalScript\";\nimport {\n CtaLinkButtonVariants,\n HeroColorVariant,\n HeroSizeVariant,\n HeroGroupTypeVariant,\n HeroTypeVariant,\n} from \"../../utils/utils\";\n\n@Component({\n tag: \"hy-hero\",\n styleUrl: \"hy-hero.scss\",\n shadow: false,\n})\nexport class HyHero {\n @Element() el: HTMLElement;\n @Prop() heroType: HeroTypeVariant = HeroTypeVariant.landing;\n @Prop() heroGroupType: HeroGroupTypeVariant = HeroGroupTypeVariant.default;\n @Prop() colorVariant: HeroColorVariant = HeroColorVariant.blue;\n @Prop() sizeVariant: HeroSizeVariant = HeroSizeVariant.large;\n @Prop() image: string;\n @Prop() imageHeight: number = null;\n @Prop() imageWidth: number = null;\n @Prop() imageAltText: string = \"\";\n @Prop() disableLazy: boolean = false;\n @Prop() hasShortcuts: boolean = false;\n @Prop() heading: string;\n @Prop() description: string;\n @Prop() url: string;\n @Prop() urlTitle: string;\n @Prop() scLabel?: string;\n @Prop() isExternal: boolean = false;\n private _sourceSet: ImageSrcSet[];\n @Prop() sourceSet: ImageSrcSet[] | string;\n\n async componentWillLoad() {\n this._sourceSet = await jsonParserWorker(this.sourceSet);\n }\n\n handleHeroImageObjectFitValue(heroSizeVariant, heroElement) {\n const heroContentContainerElement = heroElement.getElementsByClassName(\n \"hy-hero__content-container\"\n )[0] as HTMLElement;\n\n if (heroSizeVariant === \"small\") {\n if (heroContentContainerElement.offsetHeight >= 300) {\n heroElement.classList.add(\"has-cover\");\n } else {\n heroElement.classList.remove(\"has-cover\");\n }\n }\n\n if (heroSizeVariant === \"large\") {\n if (heroContentContainerElement.offsetHeight >= 344) {\n heroElement.classList.add(\"has-cover\");\n } else {\n heroElement.classList.remove(\"has-cover\");\n }\n }\n }\n\n render() {\n let variant = CtaLinkButtonVariants.heroWhite;\n let colorVariantValue = this.colorVariant;\n let heroTypeValue = this.heroType;\n\n if (this.heroType === \"minor_landing\") {\n colorVariantValue = HeroColorVariant.white;\n heroTypeValue = HeroTypeVariant.landing;\n }\n\n if (colorVariantValue === HeroColorVariant.blue) {\n variant = CtaLinkButtonVariants.heroBlue;\n }\n\n if (colorVariantValue === HeroColorVariant.black) {\n variant = CtaLinkButtonVariants.heroBlack;\n }\n\n if (!colorVariantValue || colorVariantValue === \"fp_white\") {\n colorVariantValue = HeroColorVariant.white;\n }\n\n const hyHeroClasses = [\n \"hy-hero\",\n `hy-hero--${heroTypeValue}`,\n `hy-hero--${this.heroGroupType}`,\n `hy-hero--${colorVariantValue}`,\n `hy-hero--${this.sizeVariant}`,\n ];\n\n const heroTitleClasses = [\"hy-hero__title\", \"hy-heading__hero\"].join(\" \");\n\n // If there is a Shortcuts block after hero, add the class 'shortcuts' to remove underline.\n if (this.hasShortcuts) {\n hyHeroClasses.push(\"has-shortcuts\");\n }\n\n const aspectRatioWidth = 16;\n const aspectRatioHeight = 10;\n const aspect = (aspectRatioHeight / aspectRatioWidth) * 100;\n const aspectRatio = {\n \"--aspectRatio\": `${aspect}%` as \"aspectRatio\",\n };\n\n window.onload = () => {\n const heroElement = document.getElementsByClassName(\"hy-hero\")[0] as HTMLElement;\n this.handleHeroImageObjectFitValue(this.sizeVariant, heroElement);\n window.addEventListener(\"resize\", () => {\n clearTimeout(timeout);\n timeout = setTimeout(() => this.handleHeroImageObjectFitValue(this.sizeVariant, heroElement), delay);\n });\n };\n\n if (heroTypeValue === \"front_page\") {\n return (\n <Host>\n <div class={hyHeroClasses.join(\" \")}>\n <div class={`hy-hero__container`}>\n <div class={`hy-hero__image-container`} style={aspectRatio}>\n {this.image &&\n (this._sourceSet ? (\n <picture>\n {this._sourceSet.map((item) => (\n <source\n srcSet={item.src}\n media={item.media}\n type={item.type}\n sizes={item.sizes ? item.sizes : \"\"}\n />\n ))}\n <img\n loading={this.disableLazy ? \"eager\" : \"lazy\"}\n alt={this.imageAltText}\n class={`hy-image__image`}\n src={this.image}\n height={this.imageHeight}\n width={this.imageWidth}\n />\n </picture>\n ) : (\n <img\n loading={this.disableLazy ? \"eager\" : \"lazy\"}\n alt={this.imageAltText}\n class={`hy-image__image`}\n src={this.image}\n height={this.imageHeight}\n width={this.imageWidth}\n />\n ))}\n </div>\n <div class={`hy-hero__spacer-box`}></div>\n <div class={`hy-hero__content-container`}>\n <div class={`hy-hero__content`}>\n <div class={`hy-hero__title-container`}>\n <h2 innerHTML={this.heading} class={heroTitleClasses}></h2>\n </div>\n {this.description && <p class={`hy-hero__description`}>{this.description}</p>}\n {this.url && (\n <div class={`hy-hero__actions`}>\n <hy-cta-button\n link-content={this.urlTitle}\n sc-label={this.scLabel}\n url={this.url}\n is-external={this.isExternal}\n variant={variant}\n />\n </div>\n )}\n </div>\n </div>\n </div>\n </div>\n <hy-box mb=\"2, 2, 1, 1\" />\n </Host>\n );\n }\n\n return (\n <Host>\n <div class={hyHeroClasses.join(\" \")}>\n <div class={`hy-hero__container`}>\n <div class={`hy-hero__image-container`} style={aspectRatio}>\n {this.image &&\n (this._sourceSet ? (\n <picture>\n {this._sourceSet.map((item) => (\n <source\n srcSet={item.src}\n media={item.media}\n type={item.type}\n sizes={item.sizes ? item.sizes : \"\"}\n />\n ))}\n <img\n loading={this.disableLazy ? \"eager\" : \"lazy\"}\n alt={this.imageAltText}\n class={`hy-image__image`}\n src={this.image}\n height={this.imageHeight}\n width={this.imageWidth}\n />\n </picture>\n ) : (\n <img\n loading={this.disableLazy ? \"eager\" : \"lazy\"}\n alt={this.imageAltText}\n class={`hy-image__image`}\n src={this.image}\n height={this.imageHeight}\n width={this.imageWidth}\n />\n ))}\n </div>\n <div class={`hy-hero__content-container`}>\n <div class={`hy-hero__content`}>\n <div class={`hy-hero__title-container`}>\n <h2 innerHTML={this.heading} class={heroTitleClasses}></h2>\n </div>\n {this.description && <p class={`hy-hero__description`}>{this.description}</p>}\n {this.url && (\n <div class={`hy-hero__actions`}>\n <hy-cta-button\n link-content={this.urlTitle}\n sc-label={this.scLabel}\n url={this.url}\n is-external={this.isExternal}\n variant={variant}\n />\n </div>\n )}\n </div>\n </div>\n </div>\n </div>\n <hy-box mb=\"2, 2, 1, 1\" />\n </Host>\n );\n }\n}\n"],"version":3}