@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,249 @@
1
+ import { r as registerInstance, h, g as getElement } from './index-f84f2a7d.js';
2
+ import { L as ListItemVariants } from './utils-a4ebfef1.js';
3
+
4
+ const hyListItemCss = ":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-list-item{display:-webkit-box;display:-ms-flexbox;display:flex;font-family:var(--main-font-family);text-decoration:none}.hy-list-item__default{margin-bottom:28px}@media (min-width: 60rem){.hy-list-item__default{margin-bottom:32px}}.hy-list-item__default__info-container__header{font-size:0.75rem;line-height:14px;color:var(--grayscale-dark);letter-spacing:0;margin-bottom:4px}@media (min-width: 30rem){.hy-list-item__default__info-container__header{font-size:0.875rem;line-height:18px;margin-bottom:2px}}.hy-list-item__default__info-container__title{font-size:1.125rem;line-height:22px;font-weight:700;color:var(--brand-main-light);letter-spacing:-0.56px;margin-bottom:6px}@media (min-width: 30rem){.hy-list-item__default__info-container__title{font-size:1.375rem;line-height:28px;letter-spacing:-0.69px;margin-bottom:10px}}@media (min-width: 1601px){.hy-list-item__default__info-container__title{font-size:1.625rem;line-height:32px;letter-spacing:-0.8px;margin-bottom:8px}}@media (min-width: 75.0625rem){.hy-list-item__default__info-container__title__large{font-size:1.625rem;line-height:32px;letter-spacing:-0.8px;margin-bottom:8px}}.hy-list-item__default__info-container__link-container{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:6px}@media (min-width: 30rem){.hy-list-item__default__info-container__link-container{margin-bottom:8px}}.hy-list-item__default__info-container__link{font-size:0.75rem;line-height:16px;color:var(--grayscale-dark);letter-spacing:-0.07px;margin-left:4px}@media (min-width: 30rem){.hy-list-item__default__info-container__link{margin-left:5px}}.hy-list-item__default__info-container__link__icon svg{fill:var(--grayscale-dark)}.hy-list-item__default__info-container__description{font-size:0.875rem;line-height:20px;color:var(--grayscale-black);letter-spacing:0}@media (min-width: 30rem){.hy-list-item__default__info-container__description{font-size:1rem;line-height:24px}}.hy-list-item__position{background:radial-gradient(circle, var(--grayscale-light) 0%, var(--grayscale-background-box) 100%);-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}@media (min-width: 30rem){.hy-list-item__position{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}.hy-list-item__position__info-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin:0;padding:12px;position:relative}@media (min-width: 60rem){.hy-list-item__position__info-container{padding:12px 16px}}@media (min-width: 1601px){.hy-list-item__position__info-container{padding:20px 24px}}.hy-list-item__position__info-container__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;color:var(--brand-main);font-family:var(--main-font-family);font-size:14px;font-weight:600;letter-spacing:-0.2px;line-height:14px;margin-bottom:14px}.hy-list-item__position__info-container__header .icon{margin-right:0.75rem}.hy-list-item__position__info-container__header .icon svg{fill:var(--brand-main)}@media (min-width: 75.0625rem){.hy-list-item__position__info-container__large{padding:20px 24px}}.hy-list-item__position__info-container__data{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.hy-list-item__position__info-container__title{font-size:1.125rem;line-height:20px;font-weight:700;font-family:var(--main-font-family);color:var(--grayscale-black);margin-bottom:12px;letter-spacing:-0.45px;line-height:22px}@media (min-width: 30rem){.hy-list-item__position__info-container__title{letter-spacing:-0.5px}}.hy-list-item__position__info-container__description{font-size:0.875rem;color:var(--grayscale-dark-text);display:none;font-family:var(--main-font-family);letter-spacing:0.8px;margin-bottom:14px;line-height:20px}@media (min-width: 30rem){.hy-list-item__position__info-container__description{display:block}}.hy-list-item__position__info-container__outgoing-link{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;position:relative;padding:0 24px 24px 12px}@media (min-width: 30rem){.hy-list-item__position__info-container__outgoing-link{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0 24px 24px 0}}.hy-list-item__position__info-container__outgoing-link .label{color:var(--link-blue);font-family:var(--main-font-family);font-size:16px;font-weight:600;letter-spacing:-0.3px;line-height:20px}.hy-list-item__position__info-container__outgoing-link .icon{margin-right:4px;margin-bottom:2px}.hy-list-item__position__info-container__outgoing-link .icon svg{fill:var(--link-blue)}.hy-list-item__degree{background:radial-gradient(circle, var(--grayscale-light) 0%, var(--grayscale-background-box) 100%);-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}@media (min-width: 30rem){.hy-list-item__degree{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}.hy-list-item__degree__image-container{display:block;position:relative;-webkit-box-flex:1;-ms-flex:1;flex:1}@media (min-width: 30rem){.hy-list-item__degree__image-container{-webkit-box-flex:0;-ms-flex:0 0 24%;flex:0 0 24%}}.hy-list-item__degree__image-container__image{vertical-align:bottom;max-width:100%;height:100%}.hy-list-item__degree__image-container__image img{-o-object-fit:cover;object-fit:cover;width:100%;height:100%}.hy-list-item__degree__image-container span{font-weight:600;font-size:0.75rem;line-height:14px;background-color:var(--additional-yellow);-webkit-box-shadow:0 2px 8px 0 rgba(0, 0, 0, 0.05);box-shadow:0 2px 8px 0 rgba(0, 0, 0, 0.05);color:var(--grayscale-black);left:-4px;letter-spacing:-0.07px;padding:5px 8px;position:absolute;top:16px;text-transform:uppercase}@media (min-width: 30rem){.hy-list-item__degree__image-container span{left:-8px}}@media (min-width: 60rem){.hy-list-item__degree__image-container span{top:22px}}.hy-list-item__degree__info-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin:0;padding:12px;position:relative}@media (min-width: 60rem){.hy-list-item__degree__info-container{padding:12px 16px}}@media (min-width: 1601px){.hy-list-item__degree__info-container{padding:20px 24px}}@media (min-width: 75.0625rem){.hy-list-item__degree__info-container__large{padding:20px 24px}}.hy-list-item__degree__info-container__data{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.hy-list-item__degree__info-container__title{font-size:1.125rem;line-height:22px;font-weight:700;color:var(--link-blue);letter-spacing:-0.54px;margin-bottom:8px}@media (min-width: 60rem){.hy-list-item__degree__info-container__title{font-size:1.125rem;line-height:24px;letter-spacing:-0.5px}}@media (min-width: 1601px){.hy-list-item__degree__info-container__title{font-size:1.25rem;line-height:26px;letter-spacing:-0.6px}}@media (min-width: 75.0625rem){.hy-list-item__degree__info-container__title__large{font-size:1.25rem;line-height:26px;letter-spacing:-0.6px}}.hy-list-item__degree__info-container__description{font-size:0.875rem;line-height:18px;color:var(--grayscale-dark);letter-spacing:0;margin-bottom:16px}@media (min-width: 60rem){.hy-list-item__degree__info-container__description{letter-spacing:-0.2}}@media (min-width: 1601px){.hy-list-item__degree__info-container__description{font-size:1rem;line-height:20px;letter-spacing:-0.25px}}@media (min-width: 75.0625rem){.hy-list-item__degree__info-container__description__large{font-size:1rem;line-height:20px;letter-spacing:-0.25px}}.hy-list-item__degree__info-container__metadata-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-top:16px;width:100%}@media (min-width: 30rem){.hy-list-item__degree__info-container__metadata-wrapper{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}}.hy-list-item__degree__info-container__metadata-wrapper.link-only{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.hy-list-item__degree__info-container__additional-info{width:100%}.hy-list-item__degree__info-container__additional-info__item{font-size:0.75rem;line-height:16px;font-weight:300;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--grayscale-black);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;letter-spacing:-0.2px}@media (min-width: 1601px){.hy-list-item__degree__info-container__additional-info__item{font-size:0.875rem;line-height:16px}}@media (min-width: 75.0625rem){.hy-list-item__degree__info-container__additional-info__item__large{font-size:0.875rem;line-height:16px}}.hy-list-item__degree__info-container__additional-info__item.active::before{content:\" \";-webkit-box-sizing:border-box;box-sizing:border-box;height:14px;width:14px;border:3px solid #ffffff;border-radius:50%;background-color:#f9a21a;left:-7px;position:absolute}@media (min-width: 30rem){.hy-list-item__degree__info-container__additional-info__item.active::before{border:none;height:8px;margin-right:6px;width:8px;left:0;position:relative}}.hy-list-item__degree__info-container__outgoing-link{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;position:relative;width:100%}.hy-list-item__degree__info-container__outgoing-link a{-webkit-box-align:center;-ms-flex-align:center;align-items:center;bottom:0;top:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;position:relative;right:-18px;text-decoration:none}@media (min-width: 60rem){.hy-list-item__degree__info-container__outgoing-link a{right:-22px}}@media (min-width: 1601px){.hy-list-item__degree__info-container__outgoing-link a{right:-30px}}.hy-list-item__degree__info-container__outgoing-link a .label{font-size:0.875rem;line-height:16px;font-weight:700;color:var(--link-blue);letter-spacing:-0.5px;margin-right:8px;text-align:right}.hy-list-item__degree__info-container__outgoing-link a .icon-wrapper{background-color:var(--brand-main-light);z-index:10}.hy-list-item__degree__info-container__outgoing-link a .icon-wrapper .icon{position:relative;overflow:hidden}.hy-list-item__degree__info-container__outgoing-link a .icon-wrapper .icon svg{background-color:transparent;-webkit-box-shadow:0 2px 8px 0 rgba(0, 0, 0, 0.1);box-shadow:0 2px 8px 0 rgba(0, 0, 0, 0.1);fill:var(--grayscale-white);padding:6.4px}@media (min-width: 1601px){.hy-list-item__degree__info-container__outgoing-link a .icon-wrapper .icon svg{height:36px;width:36px;padding:7.2px}}@media (min-width: 75.0625rem){.hy-list-item__degree__info-container__outgoing-link__large svg{height:36px;width:36px;padding:7.2px}}.hy-list-item-wrapper{font-family:var(--main-font-family)}.hy-list-item-wrapper__degree{margin-bottom:16px}@media (min-width: 30rem){.hy-list-item-wrapper__degree{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;margin-bottom:24px}}@media (min-width: 60rem){.hy-list-item-wrapper__degree{margin-bottom:28px}}@media (min-width: 1601px){.hy-list-item-wrapper__degree{margin-bottom:32px}}@media (min-width: 75.0625rem){.hy-list-item-wrapper__degree__large{margin-bottom:32px}}.hy-list-item-wrapper__degree__related-info{background:radial-gradient(circle, #f8f8f8 0%, #f5f5f5 100%);margin-top:4px;padding:0 12px 0 16px}@media (min-width: 30rem){.hy-list-item-wrapper__degree__related-info{padding:0 24px 0 16px}}@media (min-width: 60rem){.hy-list-item-wrapper__degree__related-info{margin-top:6px;padding:0 24px 0 24px}}@media (min-width: 1601px){.hy-list-item-wrapper__degree__related-info{margin-top:8px}}@media (min-width: 75.0625rem){.hy-list-item-wrapper__degree__related-info__large{margin-top:8px}}.hy-list-item-wrapper__degree__related-info__heading__link{text-decoration:none}.hy-list-item-wrapper__degree__related-info__heading__button{font-size:0.75rem;line-height:16px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:radial-gradient(circle, #f8f8f8 0%, #f5f5f5 100%);border:none;color:var(--grayscale-black);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;font-family:var(--main-font-family);letter-spacing:-0.2px;height:100%;padding:8px 0;text-align:left;width:100%}@media (min-width: 30rem){.hy-list-item-wrapper__degree__related-info__heading__button{font-size:0.75rem;line-height:20px;padding:14px 0}}@media (min-width: 60rem){.hy-list-item-wrapper__degree__related-info__heading__button{font-size:0.875rem;line-height:20px;letter-spacing:-0.4px;padding:18px 0}}.hy-list-item-wrapper__degree__related-info__heading__button:hover{cursor:pointer}.hy-list-item-wrapper__degree__related-info__heading__button__is-open svg{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.hy-list-item-wrapper__degree__related-info__heading__icon{margin-right:0.5rem;z-index:0}@media (min-width: 60rem){.hy-list-item-wrapper__degree__related-info__heading__icon{margin-right:12px}}.hy-list-item-wrapper__degree__related-info__heading__icon svg{fill:var(--brand-main);height:14px;width:14px}@media (min-width: 60rem){.hy-list-item-wrapper__degree__related-info__heading__icon svg{height:18px;width:18px}}.hy-list-item-wrapper__degree__related-info__content{display:none}.hy-list-item-wrapper__degree__related-info__content__is-open{border-top:1px solid #d2d2d2;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:20px 8px 5px 8px}@media (min-width: 60rem){.hy-list-item-wrapper__degree__related-info__content__is-open{padding:20px 0 14px 0}}.hy-list-item-wrapper__degree__related-info__link{font-size:0.875rem;line-height:16px;font-weight:700;color:var(--link-blue);letter-spacing:-0.4px;margin-bottom:16px;text-decoration:none}";
5
+
6
+ let keys = {
7
+ enter: "Enter",
8
+ space: "Space",
9
+ };
10
+ const HyListItem = class {
11
+ constructor(hostRef) {
12
+ registerInstance(this, hostRef);
13
+ this.isExpandedRelatedContent = false;
14
+ this.variant = ListItemVariants.default;
15
+ this.itemType = undefined;
16
+ this.itemTitle = undefined;
17
+ this.itemDescription = undefined;
18
+ this.url = undefined;
19
+ this.isExternal = false;
20
+ this.scLabel = undefined;
21
+ this.itemImageUrl = undefined;
22
+ this.itemImageAlt = undefined;
23
+ this.disableLazy = false;
24
+ this.relatedLinksBlockTitle = undefined;
25
+ this.relatedLinks = undefined;
26
+ this.imageLabel = undefined;
27
+ this.outGoingUrlLabel = "Go to programme page";
28
+ this.additionalInfo = undefined;
29
+ this.headerstyle = "common";
30
+ this.sourceSet = undefined;
31
+ this.truncateDescription = false;
32
+ this.truncateLimit = 140;
33
+ this._imageMinHeight = 0;
34
+ this._imageMinWidth = 0;
35
+ }
36
+ relatedLinksWatcher(newValue) {
37
+ if (typeof newValue === "string") {
38
+ this._relatedLinks = JSON.parse(newValue);
39
+ }
40
+ else {
41
+ this._relatedLinks = newValue;
42
+ }
43
+ }
44
+ additionalInfoWatcher(newValue) {
45
+ if (typeof newValue === "string") {
46
+ this._additionalInfo = JSON.parse(newValue);
47
+ }
48
+ else {
49
+ this._additionalInfo = newValue;
50
+ }
51
+ }
52
+ srcSetWatcher(data) {
53
+ this._sourceSet = typeof data === "string" ? JSON.parse(data) : data;
54
+ }
55
+ expandRelatedInfoPanel(target) {
56
+ let contentSelector = `hy-list-item-wrapper__${this.variant}__related-info__content`;
57
+ let targetButtonClass = "hy-list-item-wrapper__degree__related-info__heading__button";
58
+ let contentSection = document.querySelectorAll(`[aria-labelledBy="${target.id}"]`)[0];
59
+ if (contentSection) {
60
+ if (!this.isExpandedRelatedContent) {
61
+ contentSection.classList.add(`${contentSelector}__is-open`);
62
+ target.classList.add(`${targetButtonClass}__is-open`);
63
+ }
64
+ else {
65
+ contentSection.classList.remove(`${contentSelector}__is-open`);
66
+ target.classList.remove(`${targetButtonClass}__is-open`);
67
+ }
68
+ this.isExpandedRelatedContent = !this.isExpandedRelatedContent;
69
+ }
70
+ }
71
+ handleKeyDown(event) {
72
+ const key = event.code;
73
+ let target = event.target;
74
+ const targetElement = target.tagName.toLowerCase();
75
+ const possibleTags = [targetElement].some((r) => ["svg", "path", "button", "a"].indexOf(r) >= 0);
76
+ if (target &&
77
+ possibleTags &&
78
+ !target.classList.contains("hy-list-item-wrapper__degree__related-info__link") &&
79
+ [keys.enter, keys.space].includes(key)) {
80
+ if (targetElement !== "button") {
81
+ target = target.closest(`.hy-list-item-wrapper__${this.variant}__related-info__heading__button`);
82
+ }
83
+ this.expandRelatedInfoPanel(target);
84
+ event.preventDefault();
85
+ }
86
+ }
87
+ handleClick(event) {
88
+ let target = event.target;
89
+ const targetElement = target.tagName.toLowerCase();
90
+ const possibleTags = [targetElement].some((r) => ["svg", "path", "button", "a"].indexOf(r) >= 0);
91
+ if (target && possibleTags && !target.classList.contains("hy-list-item-wrapper__degree__related-info__link")) {
92
+ if (targetElement !== "button") {
93
+ target = target.closest(`.hy-list-item-wrapper__${this.variant}__related-info__heading__button`);
94
+ }
95
+ this.expandRelatedInfoPanel(target);
96
+ event.preventDefault();
97
+ event.stopImmediatePropagation();
98
+ }
99
+ }
100
+ componentWillLoad() {
101
+ this.relatedLinksWatcher(this.relatedLinks);
102
+ this.additionalInfoWatcher(this.additionalInfo);
103
+ this.srcSetWatcher(this.sourceSet);
104
+ }
105
+ componentDidLoad() {
106
+ let hyMainDiv = this.el.closest(".hy-main");
107
+ if (hyMainDiv) {
108
+ if (!hyMainDiv.classList.contains("with-sidebar")) {
109
+ this.headerstyle = "large";
110
+ }
111
+ }
112
+ if (this.variant == ListItemVariants.degreeProgramme) {
113
+ const image = document.querySelector(".hy-list-item__degree__image-container__image img");
114
+ if (image) {
115
+ image.addEventListener("load", function () {
116
+ const outputImageAspectRatio = 1;
117
+ const imageHeight = image.naturalHeight;
118
+ const imageWidth = image.naturalWidth;
119
+ const inputImageAspectRatio = imageWidth / imageHeight;
120
+ this._imageMinWidth = imageWidth;
121
+ this._imageMinHeight = imageHeight;
122
+ if (inputImageAspectRatio > outputImageAspectRatio) {
123
+ this._imageMinWidth = imageHeight * outputImageAspectRatio;
124
+ }
125
+ else if (inputImageAspectRatio < outputImageAspectRatio) {
126
+ this._imageMinHeight = imageWidth / outputImageAspectRatio;
127
+ }
128
+ });
129
+ }
130
+ }
131
+ }
132
+ render() {
133
+ const classWrapperAttributes = [
134
+ "hy-list-item-wrapper",
135
+ `hy-list-item-wrapper__${this.variant}`,
136
+ `hy-list-item-wrapper__${this.variant}__${this.headerstyle}`,
137
+ ].join(" ");
138
+ const classAttributes = ["hy-list-item", `hy-list-item__${this.variant}`].join(" ");
139
+ const classInfoContainerAttributes = [
140
+ `hy-list-item__${this.variant}__info-container`,
141
+ `hy-list-item__${this.variant}__info-container__${this.headerstyle}`,
142
+ ].join(" ");
143
+ /*const classInfoContainerDataAttributes = [
144
+ `hy-list-item__${this.variant}__info-container__data`,
145
+ `hy-list-item__${this.variant}__info-container__data__${this.headerstyle}`,
146
+ ].join(' ');*/
147
+ const classInfoContainerHeader = [
148
+ `hy-list-item__${this.variant}__info-container__header`,
149
+ `hy-list-item__${this.variant}__info-container__header__${this.headerstyle}`,
150
+ ].join(" ");
151
+ const classInfoContainerTitle = [
152
+ `hy-list-item__${this.variant}__info-container__title`,
153
+ `hy-list-item__${this.variant}__info-container__title__${this.headerstyle}`,
154
+ ].join(" ");
155
+ const classInfoContainerDescription = [
156
+ `hy-list-item__${this.variant}__info-container__description`,
157
+ `hy-list-item__${this.variant}__info-container__description__${this.headerstyle}`,
158
+ ].join(" ");
159
+ const classInfoContainerLinkContainer = [`hy-list-item__${this.variant}__info-container__link-container`].join(" ");
160
+ const classInfoContainerLinkIcon = [`hy-list-item__${this.variant}__info-container__link__icon`].join(" ");
161
+ const classInfoContainerLink = [`hy-list-item__${this.variant}__info-container__link`].join(" ");
162
+ const target = this.isExternal ? "_blank" : "_self";
163
+ function truncate(str, n) {
164
+ return str.length > n ? str.substr(0, n - 1) + "..." : str;
165
+ }
166
+ switch (this.variant) {
167
+ case ListItemVariants.position: {
168
+ const classInfoContainerOutgoingLink = [
169
+ `hy-list-item__${this.variant}__info-container__outgoing-link`,
170
+ `hy-list-item__${this.variant}__info-container__outgoing-link__${this.headerstyle}`,
171
+ ].join(" ");
172
+ return (h("article", null, h("a", { class: classAttributes, href: this.url, target: target, "aria-label": this.scLabel }, h("div", { class: classInfoContainerAttributes }, h("div", { class: classInfoContainerHeader }, h("div", { class: "icon" }, h("hy-icon", { icon: "hy-icon-units-and-faculties", size: 18 })), this.itemType), h("div", { class: classInfoContainerTitle }, this.itemTitle), this.itemDescription && (h("div", { class: classInfoContainerDescription, innerHTML: this.truncateDescription
173
+ ? truncate(this.itemDescription, this.truncateLimit)
174
+ : this.itemDescription }))), h("div", { class: classInfoContainerOutgoingLink }, h("span", { class: "icon" }, h("hy-icon", { icon: "hy-icon-done", size: 14 })), h("span", { class: "label" }, this.outGoingUrlLabel)))));
175
+ }
176
+ case ListItemVariants.degreeProgramme: {
177
+ const classImageContainerAttributes = [`hy-list-item__${this.variant}__image-container`].join(" ");
178
+ const classImageContainerImage = [`hy-list-item__${this.variant}__image-container__image`].join(" ");
179
+ const classInfoContainerAdditionalInfoAttributes = [
180
+ `hy-list-item__${this.variant}__info-container__additional-info`,
181
+ `hy-list-item__${this.variant}__info-container__additional-info__${this.headerstyle}`,
182
+ ].join(" ");
183
+ const withAdditionalInfo = this._additionalInfo && this._additionalInfo.length > 0 ? "" : "link-only";
184
+ const classMetadataWrapper = [
185
+ `hy-list-item__${this.variant}__info-container__metadata-wrapper`,
186
+ withAdditionalInfo,
187
+ ].join(" ");
188
+ const classContentWrapper = [`hy-list-item__${this.variant}__info-container__content-wrapper`].join(" ");
189
+ const classInfoContainerOutgoingLink = [
190
+ `hy-list-item__${this.variant}__info-container__outgoing-link`,
191
+ `hy-list-item__${this.variant}__info-container__outgoing-link__${this.headerstyle}`,
192
+ ].join(" ");
193
+ const classInfoContainerOutgoingLinkUrl = [
194
+ `hy-list-item__${this.variant}__info-container__outgoing-link__link`,
195
+ ].join(" ");
196
+ const classRelatedInfoContainer = [
197
+ `hy-list-item-wrapper__${this.variant}__related-info`,
198
+ `hy-list-item-wrapper__${this.variant}__related-info__${this.headerstyle}`,
199
+ ].join(" ");
200
+ const classRelatedInfoHeading = [`hy-list-item-wrapper__${this.variant}__related-info__heading`].join(" ");
201
+ const classRelatedInfoHeadingLink = [`hy-list-item-wrapper__${this.variant}__related-info__heading__link`].join(" ");
202
+ const classRelatedInfoHeadingButton = [
203
+ `hy-list-item-wrapper__${this.variant}__related-info__heading__button`,
204
+ ].join(" ");
205
+ const classRelatedInfoHeadingIcon = [`hy-list-item-wrapper__${this.variant}__related-info__heading__icon`].join(" ");
206
+ const classRelatedInfoContent = [`hy-list-item-wrapper__${this.variant}__related-info__content`].join(" ");
207
+ const classRelatedInfoLink = [`hy-list-item-wrapper__${this.variant}__related-info__link`].join(" ");
208
+ const titleAsId = this.relatedLinksBlockTitle && this.relatedLinksBlockTitle.length > 0
209
+ ? `${this.itemTitle}-${this.relatedLinksBlockTitle}`.toLowerCase().replace(/\W/g, "-")
210
+ : "";
211
+ const accordionItemHref = "#" + titleAsId + "--title";
212
+ const relatedLinksCount = this.relatedLinksBlockTitle && this.relatedLinksBlockTitle.length > 0 ? this._relatedLinks.length : "";
213
+ return [
214
+ h("article", { class: classWrapperAttributes }, h("a", { class: classAttributes, href: this.url, target: target, "aria-label": this.scLabel }, h("div", { class: classImageContainerAttributes }, h("div", { class: classImageContainerImage }, 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", "aria-hidden": "true", src: this.itemImageUrl, alt: this.itemImageAlt, style: {
215
+ "--minheight": `${this._imageMinHeight}px`,
216
+ "--minwidth": `${this._imageMinWidth}px`,
217
+ } }))) : (h("img", { loading: this.disableLazy ? "eager" : "lazy", "aria-hidden": "true", src: this.itemImageUrl, alt: this.itemImageAlt, style: {
218
+ "--minheight": `${this._imageMinHeight}px`,
219
+ "--minwidth": `${this._imageMinWidth}px`,
220
+ } }))), this.imageLabel && h("span", null, this.imageLabel)), h("div", { class: classInfoContainerAttributes }, h("div", { class: classContentWrapper }, h("div", { class: classInfoContainerTitle }, this.itemTitle), this.itemDescription && (h("div", { class: classInfoContainerDescription, innerHTML: this.itemDescription }))), h("div", { class: classMetadataWrapper }, this._additionalInfo && (h("div", { class: classInfoContainerAdditionalInfoAttributes }, this._additionalInfo.map((x) => {
221
+ let classInfoContainerAdditionalInfoItem = [
222
+ `hy-list-item__${this.variant}__info-container__additional-info__item`,
223
+ `hy-list-item__${this.variant}__info-container__additional-info__item__${this.headerstyle}`,
224
+ `${x.isActive.toString() == "true" ? "active" : ""}`,
225
+ ].join(" ");
226
+ return h("div", { class: classInfoContainerAdditionalInfoItem }, x.text);
227
+ }))), h("div", { class: classInfoContainerOutgoingLink }, h("a", { href: this.url, target: target, "aria-label": this.scLabel, class: classInfoContainerOutgoingLinkUrl, tabindex: "-1" }, h("span", { class: "label" }, this.outGoingUrlLabel), h("span", { class: "icon-wrapper" }, h("div", { class: "icon" }, h("hy-icon", { icon: "hy-icon-arrow-to-right", size: 32 })))))))), this.relatedLinksBlockTitle && (h("div", { class: classRelatedInfoContainer }, h("div", { class: classRelatedInfoHeading }, h("a", { href: accordionItemHref, class: classRelatedInfoHeadingLink, tabindex: "-1" }, h("button", { "aria-expanded": "false", "aria-controls": `${titleAsId}--content`, class: classRelatedInfoHeadingButton, id: `${titleAsId}--title` }, h("span", { class: classRelatedInfoHeadingIcon }, h("hy-icon", { icon: "hy-icon-caret-down", size: 14 })), this.relatedLinksBlockTitle, " (", relatedLinksCount, ")"))), h("div", { class: classRelatedInfoContent, "aria-labelledBy": `${titleAsId}--title`, id: `${titleAsId}--content`, role: "region", "aria-hidden": "true" }, this._relatedLinks.map((x) => {
228
+ let relatedLinkTarget = x.isExternal ? "_blank" : "_self";
229
+ return (h("a", { class: classRelatedInfoLink, href: x.url, target: target, "aria-label": relatedLinkTarget }, x.label));
230
+ }))))),
231
+ ];
232
+ }
233
+ default: {
234
+ return (h("article", null, h("a", { class: classAttributes, href: this.url, target: target, "aria-label": this.scLabel }, h("div", { class: classInfoContainerAttributes }, h("div", { class: classInfoContainerHeader }, this.itemType), h("div", { class: classInfoContainerTitle }, this.itemTitle), h("div", { class: classInfoContainerLinkContainer }, h("span", { class: classInfoContainerLinkIcon }, h("hy-icon", { icon: "hy-icon-link", size: 15 })), h("div", { class: classInfoContainerLink }, this.url)), this.itemDescription && (h("div", { class: classInfoContainerDescription, innerHTML: this.itemDescription }))))));
235
+ }
236
+ }
237
+ }
238
+ get el() { return getElement(this); }
239
+ static get watchers() { return {
240
+ "relatedLinks": ["relatedLinksWatcher"],
241
+ "additionalInfo": ["additionalInfoWatcher"],
242
+ "sourceSet": ["srcSetWatcher"]
243
+ }; }
244
+ };
245
+ HyListItem.style = hyListItemCss;
246
+
247
+ export { HyListItem as hy_list_item };
248
+
249
+ //# sourceMappingURL=hy-list-item.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"hy-list-item.entry.js","mappings":";;;AAAA,MAAM,aAAa,GAAG,gugBAAgugB;;ACsBtvgB,IAAI,IAAI,GAAG;EACT,KAAK,EAAE,OAAO;EACd,KAAK,EAAE,OAAO;CACf,CAAC;MAOW,UAAU;;;oCAEwB,KAAK;mBACd,gBAAgB,CAAC,OAAO;;;;;sBAK9B,KAAK;;;;uBAIJ,KAAK;;;;4BAKA,sBAAsB;;uBAG5B,QAAQ;;+BAGC,KAAK;yBACZ,GAAG;2BAEA,CAAC;0BACF,CAAC;;EAGnC,mBAAmB,CAAC,QAAgC;IAClD,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;MAChC,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;KAC3C;SAAM;MACL,IAAI,CAAC,aAAa,GAAG,QAAQ,CAAC;KAC/B;GACF;EAGD,qBAAqB,CAAC,QAAmC;IACvD,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;MAChC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;KAC7C;SAAM;MACL,IAAI,CAAC,eAAe,GAAG,QAAQ,CAAC;KACjC;GACF;EAEmB,aAAa,CAAC,IAA4B;IAC5D,IAAI,CAAC,UAAU,GAAG,OAAO,IAAI,KAAK,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;GACtE;EAED,sBAAsB,CAAC,MAAM;IAC3B,IAAI,eAAe,GAAG,yBAAyB,IAAI,CAAC,OAAO,yBAAyB,CAAC;IACrF,IAAI,iBAAiB,GAAG,6DAA6D,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I,EAAC,QAAQ,iBACD,MAAM,IAEjB,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC;YACxB,IAAI,iBAAiB,GAAG,CAAC,CAAC,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAC;YAC1D,QACE,SAAG,KAAK,EAAE,oBAAoB,EAAE,IAAI,EAAE,CAAC,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,gBAAc,iBAAiB,IACvF,CAAC,CAAC,KAAK,CACN,EACJ;WACH,CAAC,CACE,CACF,CACP,CACO;SACX,CAAC;OACH;MACD,SAAS;QACP,QACE,mBACE,SAAG,KAAK,EAAE,eAAe,EAAE,IAAI,EAAE,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,gBAAc,IAAI,CAAC,OAAO,IACjF,WAAK,KAAK,EAAE,4BAA4B,IACtC,WAAK,KAAK,EAAE,wBAAwB,IAAG,IAAI,CAAC,QAAQ,CAAO,EAC3D,WAAK,KAAK,EAAE,uBAAuB,IAAG,IAAI,CAAC,SAAS,CAAO,EAE3D,WAAK,KAAK,EAAE,+BAA+B,IACzC,YAAM,KAAK,EAAE,0BAA0B,IACrC,eAAS,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,EAAE,GAAI,CACtC,EACP,WAAK,KAAK,EAAE,sBAAsB,IAAG,IAAI,CAAC,GAAG,CAAO,CAChD,EAEL,IAAI,CAAC,eAAe,KACnB,WAAK,KAAK,EAAE,6BAA6B,EAAE,SAAS,EAAE,IAAI,CAAC,eAAe,GAAQ,CACnF,CACG,CACJ,CACI,EACV;OACH;KACF;GACF;;;;;;;;;;;;","names":[],"sources":["./src/components/hy-list-item/hy-list-item.scss?tag=hy-list-item","./src/components/hy-list-item/hy-list-item.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n.hy-list-item {\n display: flex;\n font-family: var(--main-font-family);\n text-decoration: none;\n\n &__default {\n margin-bottom: 28px;\n @include breakpoint($wide) {\n margin-bottom: 32px;\n }\n\n &__info-container {\n &__header {\n @include font-size(12px, 14px);\n color: var(--grayscale-dark);\n letter-spacing: 0;\n margin-bottom: 4px;\n\n @include breakpoint($narrow) {\n @include font-size(14px, 18px);\n margin-bottom: 2px;\n }\n }\n\n &__title {\n @include font-size(18px, 22px);\n @include font-weight($bold);\n color: var(--brand-main-light);\n letter-spacing: -0.56px;\n margin-bottom: 6px;\n\n @include breakpoint($narrow) {\n @include font-size(22px, 28px);\n letter-spacing: -0.69px;\n margin-bottom: 10px;\n }\n @include breakpoint($xlarge) {\n @include font-size(26px, 32px);\n letter-spacing: -0.8px;\n margin-bottom: 8px;\n }\n\n &__large {\n // >1200 no sidebar;\n @include breakpoint($extrawide) {\n @include font-size(26px, 32px);\n letter-spacing: -0.8px;\n margin-bottom: 8px;\n }\n }\n }\n\n &__link-container {\n align-items: center;\n display: flex;\n margin-bottom: 6px;\n\n @include breakpoint($narrow) {\n margin-bottom: 8px;\n }\n }\n\n &__link {\n @include font-size(12px, 16px);\n color: var(--grayscale-dark);\n letter-spacing: -0.07px;\n margin-left: 4px;\n\n @include breakpoint($narrow) {\n margin-left: 5px;\n }\n\n &__icon {\n svg {\n fill: var(--grayscale-dark);\n }\n }\n }\n\n &__description {\n @include font-size(14px, 20px);\n color: var(--grayscale-black);\n letter-spacing: 0;\n\n @include breakpoint($narrow) {\n @include font-size(16px, 24px);\n }\n }\n }\n }\n\n // Opem position\n &__position {\n background: radial-gradient(circle, var(--grayscale-light) 0%, var(--grayscale-background-box) 100%);\n flex-direction: column;\n @include breakpoint($narrow) {\n flex-direction: row;\n }\n\n &__info-container {\n display: flex;\n flex: 1;\n flex-direction: column;\n justify-content: space-between;\n margin: 0;\n padding: 12px;\n position: relative;\n\n // 960-1600 with Sidebar;\n @include breakpoint($wide) {\n padding: 12px 16px;\n }\n // >1600 with sidebar same as >1200 without sidebar\n @include breakpoint($xlarge) {\n padding: 20px 24px;\n }\n\n &__header {\n display: flex;\n align-items: center;\n flex-direction: row;\n color: var(--brand-main);\n font-family: var(--main-font-family);\n font-size: 14px;\n font-weight: 600;\n letter-spacing: -0.2px;\n line-height: 14px;\n margin-bottom: 14px;\n\n .icon {\n margin-right: 0.75rem;\n\n svg {\n fill: var(--brand-main);\n }\n }\n }\n\n // >1200 no sidebar;\n &__large {\n @include breakpoint($extrawide) {\n padding: 20px 24px;\n }\n }\n\n &__data {\n display: flex;\n flex-direction: column;\n }\n\n &__title {\n @include font-size(18px, 20px);\n @include font-weight($bold);\n font-family: var(--main-font-family);\n color: var(--grayscale-black);\n margin-bottom: 12px;\n letter-spacing: -0.45px;\n line-height: 22px;\n\n @include breakpoint($narrow) {\n letter-spacing: -0.5px;\n }\n }\n\n &__description {\n @include font-size(14px);\n color: var(--grayscale-dark-text);\n display: none;\n font-family: var(--main-font-family);\n letter-spacing: 0.8px;\n margin-bottom: 14px;\n line-height: 20px;\n\n @include breakpoint($narrow) {\n display: block;\n }\n }\n\n &__outgoing-link {\n align-items: flex-end;\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n position: relative;\n padding: 0 24px 24px 12px;\n\n @include breakpoint($narrow) {\n justify-content: center;\n padding: 0 24px 24px 0;\n }\n\n .label {\n color: var(--link-blue);\n font-family: var(--main-font-family);\n font-size: 16px;\n font-weight: 600;\n letter-spacing: -0.3px;\n line-height: 20px;\n }\n\n .icon {\n margin-right: 4px;\n margin-bottom: 2px;\n\n svg {\n fill: var(--link-blue);\n }\n }\n }\n }\n }\n\n // Degree programmes.\n &__degree {\n background: radial-gradient(circle, var(--grayscale-light) 0%, var(--grayscale-background-box) 100%);\n flex-direction: column;\n @include breakpoint($narrow) {\n flex-direction: row;\n }\n\n &__image-container {\n display: block;\n position: relative;\n flex: 1;\n\n @include breakpoint($narrow) {\n flex: 0 0 24%;\n }\n\n &__image {\n vertical-align: bottom;\n max-width: 100%;\n height: 100%;\n\n img {\n object-fit: cover;\n width: 100%;\n height: 100%;\n }\n }\n\n span {\n @include font-weight($semibold);\n @include font-size(12px, 14px);\n background-color: var(--additional-yellow);\n box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.05);\n color: var(--grayscale-black);\n left: -4px;\n letter-spacing: -0.07px;\n padding: 5px 8px;\n position: absolute;\n top: 16px;\n text-transform: uppercase;\n\n @include breakpoint($narrow) {\n left: -8px;\n }\n @include breakpoint($wide) {\n top: 22px;\n }\n }\n }\n\n &__info-container {\n display: flex;\n flex: 1;\n flex-direction: column;\n justify-content: space-between;\n margin: 0;\n padding: 12px;\n position: relative;\n\n // 960-1600 with Sidebar;\n @include breakpoint($wide) {\n padding: 12px 16px;\n }\n // >1600 with sidebar same as >1200 without sidebar\n @include breakpoint($xlarge) {\n padding: 20px 24px;\n }\n\n // >1200 no sidebar;\n &__large {\n @include breakpoint($extrawide) {\n padding: 20px 24px;\n }\n }\n\n &__data {\n display: flex;\n flex-direction: column;\n }\n\n &__title {\n @include font-size(18px, 22px);\n @include font-weight($bold);\n color: var(--link-blue);\n letter-spacing: -0.54px;\n margin-bottom: 8px;\n\n // 960-1600 with Sidebar;\n @include breakpoint($wide) {\n @include font-size(18px, 24px);\n letter-spacing: -0.5px;\n }\n\n // >1600 with sidebar same as >1200 without sidebar\n @include breakpoint($xlarge) {\n @include font-size(20px, 26px);\n letter-spacing: -0.6px;\n }\n\n &__large {\n // >1200 no sidebar;\n @include breakpoint($extrawide) {\n @include font-size(20px, 26px);\n letter-spacing: -0.6px;\n }\n }\n }\n\n &__description {\n @include font-size(14px, 18px);\n color: var(--grayscale-dark);\n letter-spacing: 0;\n margin-bottom: 16px;\n\n // 960-1600 with Sidebar;\n @include breakpoint($wide) {\n letter-spacing: -0.2;\n }\n // >1600 with sidebar same as >1200 without sidebar\n @include breakpoint($xlarge) {\n @include font-size(16px, 20px);\n letter-spacing: -0.25px;\n }\n\n &__large {\n // >1200 no sidebar;\n @include breakpoint($extrawide) {\n @include font-size(16px, 20px);\n letter-spacing: -0.25px;\n }\n }\n }\n\n &__metadata-wrapper {\n display: flex;\n flex-direction: column;\n margin-top: 16px;\n width: 100%;\n\n @include breakpoint($narrow) {\n align-items: center;\n flex-direction: row;\n justify-content: space-between;\n }\n\n &.link-only {\n justify-content: flex-end;\n }\n }\n\n &__additional-info {\n width: 100%;\n\n &__item {\n @include font-size(12px, 16px);\n @include font-weight($light);\n align-items: center;\n color: var(--grayscale-black);\n display: flex;\n flex-direction: row;\n letter-spacing: -0.2px;\n\n @include breakpoint($xlarge) {\n @include font-size(14px, 16px);\n }\n // >1200 no sidebar;\n &__large {\n @include breakpoint($extrawide) {\n @include font-size(14px, 16px);\n }\n }\n }\n &__item.active::before {\n content: \" \";\n box-sizing: border-box;\n height: 14px;\n width: 14px;\n border: 3px solid #ffffff;\n border-radius: 50%;\n background-color: #f9a21a;\n left: -7px;\n position: absolute;\n\n @include breakpoint($narrow) {\n border: none;\n height: 8px;\n margin-right: 6px;\n width: 8px;\n left: 0;\n position: relative;\n }\n }\n }\n\n &__outgoing-link {\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n position: relative;\n width: 100%;\n\n a {\n align-items: center;\n bottom: 0;\n top: 0;\n display: flex;\n flex-direction: row;\n position: relative;\n right: -18px;\n text-decoration: none;\n\n @include breakpoint($wide) {\n right: -22px;\n }\n @include breakpoint($xlarge) {\n right: -30px;\n }\n\n .label {\n @include font-size(14px, 16px);\n @include font-weight($bold);\n color: var(--link-blue);\n letter-spacing: -0.5px;\n margin-right: 8px;\n text-align: right;\n }\n\n .icon-wrapper {\n background-color: var(--brand-main-light);\n z-index: 10;\n\n .icon {\n position: relative;\n overflow: hidden;\n\n svg {\n background-color: transparent;\n box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);\n fill: var(--grayscale-white);\n padding: 6.4px;\n\n @include breakpoint($xlarge) {\n height: 36px;\n width: 36px;\n padding: 7.2px;\n }\n }\n }\n }\n }\n\n // >1200 no sidebar;\n &__large {\n svg {\n @include breakpoint($extrawide) {\n height: 36px;\n width: 36px;\n padding: 7.2px;\n }\n }\n }\n }\n }\n }\n}\n\n.hy-list-item-wrapper {\n font-family: var(--main-font-family);\n\n &__degree {\n margin-bottom: 16px;\n @include breakpoint($narrow) {\n flex-direction: row;\n margin-bottom: 24px;\n }\n @include breakpoint($wide) {\n margin-bottom: 28px;\n }\n @include breakpoint($xlarge) {\n margin-bottom: 32px;\n }\n // >1200 no sidebar;\n &__large {\n @include breakpoint($extrawide) {\n margin-bottom: 32px;\n }\n }\n\n &__related-info {\n background: radial-gradient(circle, #f8f8f8 0%, #f5f5f5 100%);\n margin-top: 4px;\n padding: 0 12px 0 16px;\n\n @include breakpoint($narrow) {\n padding: 0 24px 0 16px;\n }\n @include breakpoint($wide) {\n margin-top: 6px;\n padding: 0 24px 0 24px;\n }\n @include breakpoint($xlarge) {\n margin-top: 8px;\n }\n // >1200 no sidebar;\n &__large {\n @include breakpoint($extrawide) {\n margin-top: 8px;\n }\n }\n\n &__heading {\n &__link {\n text-decoration: none;\n }\n\n &__button {\n @include font-size(12px, 16px);\n align-items: center;\n background: radial-gradient(circle, #f8f8f8 0%, #f5f5f5 100%);\n border: none;\n color: var(--grayscale-black);\n display: flex;\n flex-direction: row;\n font-family: var(--main-font-family);\n letter-spacing: -0.2px;\n height: 100%;\n padding: 8px 0;\n text-align: left;\n width: 100%;\n\n @include breakpoint($narrow) {\n @include font-size(12px, 20px);\n padding: 14px 0;\n }\n @include breakpoint($wide) {\n @include font-size(14px, 20px);\n letter-spacing: -0.4px;\n padding: 18px 0;\n }\n\n &:hover {\n cursor: pointer;\n }\n\n &__is-open {\n svg {\n transform: rotate(180deg);\n }\n }\n }\n\n &__icon {\n margin-right: 0.5rem;\n z-index: 0;\n\n @include breakpoint($wide) {\n margin-right: 12px;\n }\n\n svg {\n fill: var(--brand-main);\n height: 14px;\n width: 14px;\n\n @include breakpoint($wide) {\n height: 18px;\n width: 18px;\n }\n }\n }\n }\n\n &__content {\n display: none;\n\n &__is-open {\n border-top: 1px solid #d2d2d2;\n display: flex;\n flex-direction: column;\n padding: 20px 8px 5px 8px;\n\n @include breakpoint($wide) {\n padding: 20px 0 14px 0;\n }\n }\n }\n\n &__link {\n @include font-size(14px, 16px);\n @include font-weight($bold);\n color: var(--link-blue);\n letter-spacing: -0.4px;\n margin-bottom: 16px;\n text-decoration: none;\n }\n }\n }\n}\n","export interface RelatedLink {\n label: string;\n url: string;\n isExternal: boolean;\n scLabel: string;\n}\n\nexport interface AdditionalInfo {\n text: string;\n isActive: boolean;\n}\n\nexport interface ImageSrcSet {\n src: any;\n media: string;\n type: string;\n sizes: string | null;\n}\n\nimport {Component, h, Prop, Watch, State, Listen, Element} from \"@stencil/core\";\nimport {ListItemVariants} from \"../../utils/utils\";\n\nlet keys = {\n enter: \"Enter\",\n space: \"Space\",\n};\n\n@Component({\n tag: \"hy-list-item\",\n styleUrl: \"hy-list-item.scss\",\n shadow: false,\n})\nexport class HyListItem {\n @Element() el: HTMLElement;\n @State() isExpandedRelatedContent: boolean = false;\n @Prop() variant: ListItemVariants = ListItemVariants.default;\n @Prop() itemType?: string;\n @Prop() itemTitle?: string;\n @Prop() itemDescription?: any;\n @Prop() url?: string;\n @Prop() isExternal: boolean = false;\n @Prop() scLabel?: string;\n @Prop() itemImageUrl?: string;\n @Prop() itemImageAlt?: string;\n @Prop() disableLazy: boolean = false;\n @Prop() relatedLinksBlockTitle?: string;\n private _relatedLinks: RelatedLink[];\n @Prop() relatedLinks?: RelatedLink[] | string;\n @Prop() imageLabel?: string;\n @Prop() outGoingUrlLabel?: string = \"Go to programme page\";\n private _additionalInfo: AdditionalInfo[];\n @Prop() additionalInfo?: AdditionalInfo[] | string;\n @Prop() headerstyle: string = \"common\";\n private _sourceSet: ImageSrcSet[];\n @Prop() sourceSet: ImageSrcSet[] | string;\n @Prop() truncateDescription: boolean = false;\n @Prop() truncateLimit: number = 140;\n\n @State() _imageMinHeight: number = 0;\n @State() _imageMinWidth: number = 0;\n\n @Watch(\"relatedLinks\")\n relatedLinksWatcher(newValue: RelatedLink[] | string) {\n if (typeof newValue === \"string\") {\n this._relatedLinks = JSON.parse(newValue);\n } else {\n this._relatedLinks = newValue;\n }\n }\n\n @Watch(\"additionalInfo\")\n additionalInfoWatcher(newValue: AdditionalInfo[] | string) {\n if (typeof newValue === \"string\") {\n this._additionalInfo = JSON.parse(newValue);\n } else {\n this._additionalInfo = newValue;\n }\n }\n\n @Watch(\"sourceSet\") srcSetWatcher(data: ImageSrcSet[] | string) {\n this._sourceSet = typeof data === \"string\" ? JSON.parse(data) : data;\n }\n\n expandRelatedInfoPanel(target) {\n let contentSelector = `hy-list-item-wrapper__${this.variant}__related-info__content`;\n let targetButtonClass = \"hy-list-item-wrapper__degree__related-info__heading__button\";\n let contentSection = document.querySelectorAll(`[aria-labelledBy=\"${target.id}\"]`)[0] as HTMLElement;\n if (contentSection) {\n if (!this.isExpandedRelatedContent) {\n contentSection.classList.add(`${contentSelector}__is-open`);\n target.classList.add(`${targetButtonClass}__is-open`);\n } else {\n contentSection.classList.remove(`${contentSelector}__is-open`);\n target.classList.remove(`${targetButtonClass}__is-open`);\n }\n this.isExpandedRelatedContent = !this.isExpandedRelatedContent;\n }\n }\n\n @Listen(\"keydown\")\n handleKeyDown(event: KeyboardEvent) {\n const key = event.code;\n let target = event.target as HTMLButtonElement;\n\n const targetElement = target.tagName.toLowerCase();\n const possibleTags = [targetElement].some((r) => [\"svg\", \"path\", \"button\", \"a\"].indexOf(r) >= 0);\n\n if (\n target &&\n possibleTags &&\n !target.classList.contains(\"hy-list-item-wrapper__degree__related-info__link\") &&\n [keys.enter, keys.space].includes(key)\n ) {\n if (targetElement !== \"button\") {\n target = target.closest(`.hy-list-item-wrapper__${this.variant}__related-info__heading__button`);\n }\n this.expandRelatedInfoPanel(target);\n event.preventDefault();\n }\n }\n\n @Listen(\"click\")\n handleClick(event) {\n let target = event.target as HTMLElement;\n const targetElement = target.tagName.toLowerCase();\n const possibleTags = [targetElement].some((r) => [\"svg\", \"path\", \"button\", \"a\"].indexOf(r) >= 0);\n\n if (target && possibleTags && !target.classList.contains(\"hy-list-item-wrapper__degree__related-info__link\")) {\n if (targetElement !== \"button\") {\n target = target.closest(`.hy-list-item-wrapper__${this.variant}__related-info__heading__button`);\n }\n this.expandRelatedInfoPanel(target);\n event.preventDefault();\n event.stopImmediatePropagation();\n }\n }\n\n componentWillLoad() {\n this.relatedLinksWatcher(this.relatedLinks);\n this.additionalInfoWatcher(this.additionalInfo);\n this.srcSetWatcher(this.sourceSet);\n }\n\n componentDidLoad() {\n let hyMainDiv = this.el.closest(\".hy-main\");\n if (hyMainDiv) {\n if (!hyMainDiv.classList.contains(\"with-sidebar\")) {\n this.headerstyle = \"large\";\n }\n }\n if (this.variant == ListItemVariants.degreeProgramme) {\n const image = document.querySelector(\".hy-list-item__degree__image-container__image img\") as any;\n\n if (image) {\n image.addEventListener(\"load\", function () {\n const outputImageAspectRatio = 1;\n const imageHeight = image.naturalHeight;\n const imageWidth = image.naturalWidth;\n const inputImageAspectRatio = imageWidth / imageHeight;\n this._imageMinWidth = imageWidth;\n this._imageMinHeight = imageHeight;\n if (inputImageAspectRatio > outputImageAspectRatio) {\n this._imageMinWidth = imageHeight * outputImageAspectRatio;\n } else if (inputImageAspectRatio < outputImageAspectRatio) {\n this._imageMinHeight = imageWidth / outputImageAspectRatio;\n }\n });\n }\n }\n }\n\n render() {\n const classWrapperAttributes = [\n \"hy-list-item-wrapper\",\n `hy-list-item-wrapper__${this.variant}`,\n `hy-list-item-wrapper__${this.variant}__${this.headerstyle}`,\n ].join(\" \");\n const classAttributes = [\"hy-list-item\", `hy-list-item__${this.variant}`].join(\" \");\n const classInfoContainerAttributes = [\n `hy-list-item__${this.variant}__info-container`,\n `hy-list-item__${this.variant}__info-container__${this.headerstyle}`,\n ].join(\" \");\n /*const classInfoContainerDataAttributes = [\n `hy-list-item__${this.variant}__info-container__data`,\n `hy-list-item__${this.variant}__info-container__data__${this.headerstyle}`,\n ].join(' ');*/\n const classInfoContainerHeader = [\n `hy-list-item__${this.variant}__info-container__header`,\n `hy-list-item__${this.variant}__info-container__header__${this.headerstyle}`,\n ].join(\" \");\n const classInfoContainerTitle = [\n `hy-list-item__${this.variant}__info-container__title`,\n `hy-list-item__${this.variant}__info-container__title__${this.headerstyle}`,\n ].join(\" \");\n const classInfoContainerDescription = [\n `hy-list-item__${this.variant}__info-container__description`,\n `hy-list-item__${this.variant}__info-container__description__${this.headerstyle}`,\n ].join(\" \");\n const classInfoContainerLinkContainer = [`hy-list-item__${this.variant}__info-container__link-container`].join(\" \");\n const classInfoContainerLinkIcon = [`hy-list-item__${this.variant}__info-container__link__icon`].join(\" \");\n const classInfoContainerLink = [`hy-list-item__${this.variant}__info-container__link`].join(\" \");\n\n const target = this.isExternal ? \"_blank\" : \"_self\";\n\n function truncate(str, n) {\n return str.length > n ? str.substr(0, n - 1) + \"...\" : str;\n }\n\n switch (this.variant) {\n case ListItemVariants.position: {\n const classInfoContainerOutgoingLink = [\n `hy-list-item__${this.variant}__info-container__outgoing-link`,\n `hy-list-item__${this.variant}__info-container__outgoing-link__${this.headerstyle}`,\n ].join(\" \");\n return (\n <article>\n <a class={classAttributes} href={this.url} target={target} aria-label={this.scLabel}>\n <div class={classInfoContainerAttributes}>\n <div class={classInfoContainerHeader}>\n <div class=\"icon\">\n <hy-icon icon={\"hy-icon-units-and-faculties\"} size={18} />\n </div>\n {this.itemType}\n </div>\n <div class={classInfoContainerTitle}>{this.itemTitle}</div>\n\n {this.itemDescription && (\n <div\n class={classInfoContainerDescription}\n innerHTML={\n this.truncateDescription\n ? truncate(this.itemDescription, this.truncateLimit)\n : this.itemDescription\n }\n ></div>\n )}\n </div>\n <div class={classInfoContainerOutgoingLink}>\n <span class=\"icon\">\n <hy-icon icon={\"hy-icon-done\"} size={14}></hy-icon>\n </span>\n <span class=\"label\">{this.outGoingUrlLabel}</span>\n </div>\n </a>\n </article>\n );\n }\n case ListItemVariants.degreeProgramme: {\n const classImageContainerAttributes = [`hy-list-item__${this.variant}__image-container`].join(\" \");\n const classImageContainerImage = [`hy-list-item__${this.variant}__image-container__image`].join(\" \");\n\n const classInfoContainerAdditionalInfoAttributes = [\n `hy-list-item__${this.variant}__info-container__additional-info`,\n `hy-list-item__${this.variant}__info-container__additional-info__${this.headerstyle}`,\n ].join(\" \");\n\n const withAdditionalInfo = this._additionalInfo && this._additionalInfo.length > 0 ? \"\" : \"link-only\";\n const classMetadataWrapper = [\n `hy-list-item__${this.variant}__info-container__metadata-wrapper`,\n withAdditionalInfo,\n ].join(\" \");\n const classContentWrapper = [`hy-list-item__${this.variant}__info-container__content-wrapper`].join(\" \");\n\n const classInfoContainerOutgoingLink = [\n `hy-list-item__${this.variant}__info-container__outgoing-link`,\n `hy-list-item__${this.variant}__info-container__outgoing-link__${this.headerstyle}`,\n ].join(\" \");\n const classInfoContainerOutgoingLinkUrl = [\n `hy-list-item__${this.variant}__info-container__outgoing-link__link`,\n ].join(\" \");\n\n const classRelatedInfoContainer = [\n `hy-list-item-wrapper__${this.variant}__related-info`,\n `hy-list-item-wrapper__${this.variant}__related-info__${this.headerstyle}`,\n ].join(\" \");\n const classRelatedInfoHeading = [`hy-list-item-wrapper__${this.variant}__related-info__heading`].join(\" \");\n const classRelatedInfoHeadingLink = [`hy-list-item-wrapper__${this.variant}__related-info__heading__link`].join(\n \" \"\n );\n const classRelatedInfoHeadingButton = [\n `hy-list-item-wrapper__${this.variant}__related-info__heading__button`,\n ].join(\" \");\n const classRelatedInfoHeadingIcon = [`hy-list-item-wrapper__${this.variant}__related-info__heading__icon`].join(\n \" \"\n );\n const classRelatedInfoContent = [`hy-list-item-wrapper__${this.variant}__related-info__content`].join(\" \");\n const classRelatedInfoLink = [`hy-list-item-wrapper__${this.variant}__related-info__link`].join(\" \");\n\n const titleAsId =\n this.relatedLinksBlockTitle && this.relatedLinksBlockTitle.length > 0\n ? `${this.itemTitle}-${this.relatedLinksBlockTitle}`.toLowerCase().replace(/\\W/g, \"-\")\n : \"\";\n const accordionItemHref = \"#\" + titleAsId + \"--title\";\n\n const relatedLinksCount =\n this.relatedLinksBlockTitle && this.relatedLinksBlockTitle.length > 0 ? this._relatedLinks.length : \"\";\n\n return [\n <article class={classWrapperAttributes}>\n <a class={classAttributes} href={this.url} target={target} aria-label={this.scLabel}>\n <div class={classImageContainerAttributes}>\n <div class={classImageContainerImage}>\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 aria-hidden=\"true\"\n src={this.itemImageUrl}\n alt={this.itemImageAlt}\n style={{\n \"--minheight\": `${this._imageMinHeight}px` as \"minHeight\",\n \"--minwidth\": `${this._imageMinWidth}px` as \"minWidth\",\n }}\n />\n </picture>\n ) : (\n <img\n loading={this.disableLazy ? \"eager\" : \"lazy\"}\n aria-hidden=\"true\"\n src={this.itemImageUrl}\n alt={this.itemImageAlt}\n style={{\n \"--minheight\": `${this._imageMinHeight}px` as \"minHeight\",\n \"--minwidth\": `${this._imageMinWidth}px` as \"minWidth\",\n }}\n />\n )}\n </div>\n {this.imageLabel && <span>{this.imageLabel}</span>}\n </div>\n <div class={classInfoContainerAttributes}>\n <div class={classContentWrapper}>\n <div class={classInfoContainerTitle}>{this.itemTitle}</div>\n {this.itemDescription && (\n <div class={classInfoContainerDescription} innerHTML={this.itemDescription}></div>\n )}\n </div>\n <div class={classMetadataWrapper}>\n {this._additionalInfo && (\n <div class={classInfoContainerAdditionalInfoAttributes}>\n {this._additionalInfo.map((x) => {\n let classInfoContainerAdditionalInfoItem = [\n `hy-list-item__${this.variant}__info-container__additional-info__item`,\n `hy-list-item__${this.variant}__info-container__additional-info__item__${this.headerstyle}`,\n `${x.isActive.toString() == \"true\" ? \"active\" : \"\"}`,\n ].join(\" \");\n return <div class={classInfoContainerAdditionalInfoItem}>{x.text}</div>;\n })}\n </div>\n )}\n <div class={classInfoContainerOutgoingLink}>\n <a\n href={this.url}\n target={target}\n aria-label={this.scLabel}\n class={classInfoContainerOutgoingLinkUrl}\n tabindex=\"-1\"\n >\n <span class=\"label\">{this.outGoingUrlLabel}</span>\n <span class=\"icon-wrapper\">\n <div class=\"icon\">\n <hy-icon icon={\"hy-icon-arrow-to-right\"} size={32} />\n </div>\n </span>\n </a>\n </div>\n </div>\n </div>\n </a>\n {this.relatedLinksBlockTitle && (\n <div class={classRelatedInfoContainer}>\n <div class={classRelatedInfoHeading}>\n <a href={accordionItemHref} class={classRelatedInfoHeadingLink} tabindex=\"-1\">\n <button\n aria-expanded=\"false\"\n aria-controls={`${titleAsId}--content`}\n class={classRelatedInfoHeadingButton}\n id={`${titleAsId}--title`}\n >\n <span class={classRelatedInfoHeadingIcon}>\n <hy-icon icon={\"hy-icon-caret-down\"} size={14} />\n </span>\n {this.relatedLinksBlockTitle} ({relatedLinksCount})\n </button>\n </a>\n </div>\n <div\n class={classRelatedInfoContent}\n aria-labelledBy={`${titleAsId}--title`}\n id={`${titleAsId}--content`}\n role=\"region\"\n aria-hidden=\"true\"\n >\n {this._relatedLinks.map((x) => {\n let relatedLinkTarget = x.isExternal ? \"_blank\" : \"_self\";\n return (\n <a class={classRelatedInfoLink} href={x.url} target={target} aria-label={relatedLinkTarget}>\n {x.label}\n </a>\n );\n })}\n </div>\n </div>\n )}\n </article>,\n ];\n }\n default: {\n return (\n <article>\n <a class={classAttributes} href={this.url} target={target} aria-label={this.scLabel}>\n <div class={classInfoContainerAttributes}>\n <div class={classInfoContainerHeader}>{this.itemType}</div>\n <div class={classInfoContainerTitle}>{this.itemTitle}</div>\n\n <div class={classInfoContainerLinkContainer}>\n <span class={classInfoContainerLinkIcon}>\n <hy-icon icon={\"hy-icon-link\"} size={15} />\n </span>\n <div class={classInfoContainerLink}>{this.url}</div>\n </div>\n\n {this.itemDescription && (\n <div class={classInfoContainerDescription} innerHTML={this.itemDescription}></div>\n )}\n </div>\n </a>\n </article>\n );\n }\n }\n }\n}\n"],"version":3}
@@ -0,0 +1,45 @@
1
+ import { r as registerInstance, h } from './index-f84f2a7d.js';
2
+
3
+ const hyLogoGridCss$1 = ":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}.hy-logo-grid{padding:78px 0 92px}.hy-logo-grid__title{font-size:1.75rem;line-height:32px;letter-spacing:-0.7px;font-family:var(--main-font-family);margin:0 0 24px;text-transform:uppercase}@media (min-width: 30rem){.hy-logo-grid__title{font-size:2.125rem;line-height:40px;letter-spacing:-0.85px;margin:0 0 32px}}@media (min-width: 1601px){.without-sidebar .hy-logo-grid__title{font-size:2.625rem;line-height:48px;letter-spacing:-1.05px;margin:0 0 40px}}@media (min-width: 75.0625rem){.with-sidebar .hy-logo-grid__title{font-size:2.625rem;line-height:48px;letter-spacing:-1.05px;margin:0 0 40px}}.hy-logo-grid__images{display:grid;gap:24px 36px;grid-template-columns:repeat(2, 1fr);padding:0 8px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}@media (min-width: 30rem){.hy-logo-grid__images{grid-template-columns:repeat(3, 25%);padding:0;gap:28px 0}}@media (min-width: 60rem){.without-sidebar .hy-logo-grid__images{grid-template-columns:repeat(4, 20%);gap:32px 0}}@media (min-width: 75.0625rem){.without-sidebar .hy-logo-grid__images{gap:40px 0}}@media (min-width: 75.0625rem){.with-sidebar .hy-logo-grid__images{grid-template-columns:repeat(4, 20%);gap:32px 0}}@media (min-width: 1601px){.with-sidebar .hy-logo-grid__images{gap:40px 0}}.hy-logo-grid__figure{margin:0;padding:0;position:relative}.hy-logo-grid__figure:after{content:\"\";display:block;padding-bottom:100%}.hy-logo-grid__figure picture{position:absolute;inset:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;display:-webkit-box;display:-ms-flexbox;display:flex}.hy-logo-grid__figure img{max-width:100%;-o-object-fit:scale-down;object-fit:scale-down;height:100%}";
4
+
5
+ const HyLogoGrid = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.headingVariant = undefined;
9
+ this.logoGridTitle = undefined;
10
+ }
11
+ render() {
12
+ const HeadingVariant = this.headingVariant;
13
+ return (h("div", { class: "hy-logo-grid", role: "complementary" }, this.logoGridTitle && h(HeadingVariant, { class: "hy-logo-grid__title" }, this.logoGridTitle), h("div", { class: "hy-logo-grid__images" }, h("slot", null))));
14
+ }
15
+ };
16
+ HyLogoGrid.style = hyLogoGridCss$1;
17
+
18
+ const hyLogoGridCss = ":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}.hy-logo-grid{padding:78px 0 92px}.hy-logo-grid__title{font-size:1.75rem;line-height:32px;letter-spacing:-0.7px;font-family:var(--main-font-family);margin:0 0 24px;text-transform:uppercase}@media (min-width: 30rem){.hy-logo-grid__title{font-size:2.125rem;line-height:40px;letter-spacing:-0.85px;margin:0 0 32px}}@media (min-width: 1601px){.without-sidebar .hy-logo-grid__title{font-size:2.625rem;line-height:48px;letter-spacing:-1.05px;margin:0 0 40px}}@media (min-width: 75.0625rem){.with-sidebar .hy-logo-grid__title{font-size:2.625rem;line-height:48px;letter-spacing:-1.05px;margin:0 0 40px}}.hy-logo-grid__images{display:grid;gap:24px 36px;grid-template-columns:repeat(2, 1fr);padding:0 8px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}@media (min-width: 30rem){.hy-logo-grid__images{grid-template-columns:repeat(3, 25%);padding:0;gap:28px 0}}@media (min-width: 60rem){.without-sidebar .hy-logo-grid__images{grid-template-columns:repeat(4, 20%);gap:32px 0}}@media (min-width: 75.0625rem){.without-sidebar .hy-logo-grid__images{gap:40px 0}}@media (min-width: 75.0625rem){.with-sidebar .hy-logo-grid__images{grid-template-columns:repeat(4, 20%);gap:32px 0}}@media (min-width: 1601px){.with-sidebar .hy-logo-grid__images{gap:40px 0}}.hy-logo-grid__figure{margin:0;padding:0;position:relative}.hy-logo-grid__figure:after{content:\"\";display:block;padding-bottom:100%}.hy-logo-grid__figure picture{position:absolute;inset:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;display:-webkit-box;display:-ms-flexbox;display:flex}.hy-logo-grid__figure img{max-width:100%;-o-object-fit:scale-down;object-fit:scale-down;height:100%}";
19
+
20
+ const HyLogoGridItem = class {
21
+ constructor(hostRef) {
22
+ registerInstance(this, hostRef);
23
+ this.link = undefined;
24
+ this.image = undefined;
25
+ }
26
+ render() {
27
+ const parsedImage = JSON.parse(this.image);
28
+ const parsedLink = this.link ? JSON.parse(this.link) : null;
29
+ return parsedImage.map(({ image_sources: sources, image_url: fallback_url, image_alt: alt }) => {
30
+ const parsedSources = JSON.parse(sources);
31
+ const elementContent = (h("figure", { class: "hy-logo-grid__figure" }, parsedSources && (h("picture", null, parsedSources.map(({ src, media, type, sizes }) => (h("source", { srcSet: src, media: media, type: type, sizes: sizes ? sizes : "" }))), h("img", { alt: alt, src: fallback_url }))), !parsedSources && h("img", { alt: alt, src: fallback_url })));
32
+ if (parsedLink) {
33
+ const { url, target } = parsedLink;
34
+ const targetValue = target === "_blank" ? target : "_self";
35
+ return (h("a", { href: url, target: targetValue, class: "hy-logo-grid__link" }, elementContent));
36
+ }
37
+ return elementContent;
38
+ });
39
+ }
40
+ };
41
+ HyLogoGridItem.style = hyLogoGridCss;
42
+
43
+ export { HyLogoGrid as hy_logo_grid, HyLogoGridItem as hy_logo_grid_item };
44
+
45
+ //# sourceMappingURL=hy-logo-grid_2.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"hy-logo-grid.hy-logo-grid-item.entry.js","mappings":";;AAAA,MAAMA,eAAa,GAAG,g3FAAg3F;;MCOz3F,UAAU;;;;;;EAIrB,MAAM;IACJ,MAAM,cAAc,GAAG,IAAI,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AM,EAAC,GAAG,UAAU,CAAC;QACjC,MAAM,WAAW,GAAG,MAAM,KAAK,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;QAE3D,QACE,SAAG,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,WAAW,EAAE,KAAK,EAAC,oBAAoB,IAC1D,cAAc,CACb,EACJ;OACH;MAED,OAAO,cAAc,CAAC;KACvB,CAAC,CAAC;GACJ;;;;;;","names":["hyLogoGridCss"],"sources":["./src/components/hy-logo-grid/hy-logo-grid.scss?tag=hy-logo-grid","./src/components/hy-logo-grid/hy-logo-grid.tsx","./src/components/hy-logo-grid/hy-logo-grid.scss?tag=hy-logo-grid-item","./src/components/hy-logo-grid/hy-logo-grid.item.tsx"],"sourcesContent":[".hy-logo-grid {\n padding: 78px 0 92px;\n}\n\n.hy-logo-grid__title {\n @include font-size(28px, 32px);\n letter-spacing: -0.7px;\n font-family: var(--main-font-family);\n margin: 0 0 24px;\n text-transform: uppercase;\n\n @include breakpoint($narrow) {\n @include font-size(34px, 40px);\n letter-spacing: -0.85px;\n margin: 0 0 32px;\n }\n\n .without-sidebar & {\n @include breakpoint($xlarge) {\n @include font-size(42px, 48px);\n letter-spacing: -1.05px;\n margin: 0 0 40px;\n }\n }\n\n .with-sidebar & {\n @include breakpoint($extrawide) {\n @include font-size(42px, 48px);\n letter-spacing: -1.05px;\n margin: 0 0 40px;\n }\n }\n}\n\n.hy-logo-grid__images {\n display: grid;\n gap: 24px 36px;\n grid-template-columns: repeat(2, 1fr);\n padding: 0 8px;\n justify-content: space-between;\n\n @include breakpoint($narrow) {\n grid-template-columns: repeat(3, 25%);\n padding: 0;\n gap: 28px 0;\n }\n\n .without-sidebar & {\n @include breakpoint($wide) {\n grid-template-columns: repeat(4, 20%);\n gap: 32px 0;\n }\n\n @include breakpoint($extrawide) {\n gap: 40px 0;\n }\n }\n\n .with-sidebar & {\n @include breakpoint($extrawide) {\n grid-template-columns: repeat(4, 20%);\n gap: 32px 0;\n }\n\n @include breakpoint($xlarge) {\n gap: 40px 0;\n }\n }\n}\n\n.hy-logo-grid__figure {\n margin: 0;\n padding: 0;\n position: relative;\n\n &:after {\n content: \"\";\n display: block;\n padding-bottom: 100%;\n }\n\n picture {\n position: absolute;\n inset: 0;\n align-items: center;\n justify-content: center;\n display: flex;\n }\n\n img {\n max-width: 100%;\n object-fit: scale-down;\n height: 100%;\n }\n}\n","import {Component, h, Prop} from \"@stencil/core\";\n\n@Component({\n tag: \"hy-logo-grid\",\n styleUrl: \"hy-logo-grid.scss\",\n shadow: false,\n})\nexport class HyLogoGrid {\n @Prop() headingVariant?: string;\n @Prop() logoGridTitle?: string;\n\n render() {\n const HeadingVariant = this.headingVariant;\n\n return (\n <div class=\"hy-logo-grid\" role=\"complementary\">\n {this.logoGridTitle && <HeadingVariant class=\"hy-logo-grid__title\">{this.logoGridTitle}</HeadingVariant>}\n <div class=\"hy-logo-grid__images\">\n <slot />\n </div>\n </div>\n );\n }\n}\n",".hy-logo-grid {\n padding: 78px 0 92px;\n}\n\n.hy-logo-grid__title {\n @include font-size(28px, 32px);\n letter-spacing: -0.7px;\n font-family: var(--main-font-family);\n margin: 0 0 24px;\n text-transform: uppercase;\n\n @include breakpoint($narrow) {\n @include font-size(34px, 40px);\n letter-spacing: -0.85px;\n margin: 0 0 32px;\n }\n\n .without-sidebar & {\n @include breakpoint($xlarge) {\n @include font-size(42px, 48px);\n letter-spacing: -1.05px;\n margin: 0 0 40px;\n }\n }\n\n .with-sidebar & {\n @include breakpoint($extrawide) {\n @include font-size(42px, 48px);\n letter-spacing: -1.05px;\n margin: 0 0 40px;\n }\n }\n}\n\n.hy-logo-grid__images {\n display: grid;\n gap: 24px 36px;\n grid-template-columns: repeat(2, 1fr);\n padding: 0 8px;\n justify-content: space-between;\n\n @include breakpoint($narrow) {\n grid-template-columns: repeat(3, 25%);\n padding: 0;\n gap: 28px 0;\n }\n\n .without-sidebar & {\n @include breakpoint($wide) {\n grid-template-columns: repeat(4, 20%);\n gap: 32px 0;\n }\n\n @include breakpoint($extrawide) {\n gap: 40px 0;\n }\n }\n\n .with-sidebar & {\n @include breakpoint($extrawide) {\n grid-template-columns: repeat(4, 20%);\n gap: 32px 0;\n }\n\n @include breakpoint($xlarge) {\n gap: 40px 0;\n }\n }\n}\n\n.hy-logo-grid__figure {\n margin: 0;\n padding: 0;\n position: relative;\n\n &:after {\n content: \"\";\n display: block;\n padding-bottom: 100%;\n }\n\n picture {\n position: absolute;\n inset: 0;\n align-items: center;\n justify-content: center;\n display: flex;\n }\n\n img {\n max-width: 100%;\n object-fit: scale-down;\n height: 100%;\n }\n}\n","import {Component, h, Prop} from \"@stencil/core\";\n\n@Component({\n tag: \"hy-logo-grid-item\",\n styleUrl: \"hy-logo-grid.scss\",\n shadow: false,\n})\nexport class HyLogoGridItem {\n @Prop() link?: string;\n @Prop() image: string;\n\n render() {\n const parsedImage = JSON.parse(this.image);\n const parsedLink = this.link ? JSON.parse(this.link) : null;\n\n return parsedImage.map(({image_sources: sources, image_url: fallback_url, image_alt: alt}) => {\n const parsedSources = JSON.parse(sources);\n\n const elementContent = (\n <figure class=\"hy-logo-grid__figure\">\n {parsedSources && (\n <picture>\n {parsedSources.map(({src, media, type, sizes}) => (\n <source srcSet={src} media={media} type={type} sizes={sizes ? sizes : \"\"} />\n ))}\n <img alt={alt} src={fallback_url} />\n </picture>\n )}\n {!parsedSources && <img alt={alt} src={fallback_url} />}\n </figure>\n );\n\n if (parsedLink) {\n const {url, target} = parsedLink;\n const targetValue = target === \"_blank\" ? target : \"_self\";\n\n return (\n <a href={url} target={targetValue} class=\"hy-logo-grid__link\">\n {elementContent}\n </a>\n );\n }\n\n return elementContent;\n });\n }\n}\n"],"version":3}