@itcenteratunihelsinki/huds-lib 0.8.43 → 0.8.44

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 (444) hide show
  1. package/components/accordion-container.js +48 -0
  2. package/components/accordion-item.js +239 -0
  3. package/components/color-box.d.ts +11 -0
  4. package/components/color-box.js +33 -0
  5. package/components/cta-button.js +57 -0
  6. package/components/cta-link.js +50 -0
  7. package/components/custom-elements.d.ts +2 -0
  8. package/components/emotion.esm.js +1395 -0
  9. package/components/globalScript.js +26 -0
  10. package/components/heading.js +80 -0
  11. package/components/hy-accordion-container.d.ts +11 -0
  12. package/components/hy-accordion-container.js +6 -0
  13. package/components/hy-accordion-item.d.ts +11 -0
  14. package/components/hy-accordion-item.js +6 -0
  15. package/components/hy-adjacent-image-text.d.ts +11 -0
  16. package/components/hy-adjacent-image-text.js +106 -0
  17. package/components/hy-anchor-link-list.d.ts +11 -0
  18. package/components/hy-anchor-link-list.js +76 -0
  19. package/components/hy-badge.d.ts +11 -0
  20. package/components/hy-badge.js +37 -0
  21. package/components/hy-banner.d.ts +11 -0
  22. package/components/hy-banner.js +94 -0
  23. package/components/hy-baseline.d.ts +11 -0
  24. package/components/hy-baseline.js +44 -0
  25. package/components/hy-box-container.d.ts +11 -0
  26. package/components/hy-box-container.js +43 -0
  27. package/components/hy-box.d.ts +11 -0
  28. package/components/hy-box.js +6 -0
  29. package/components/hy-box2.js +195 -0
  30. package/components/hy-breadcrumbs.d.ts +11 -0
  31. package/components/hy-breadcrumbs.js +69 -0
  32. package/components/hy-button.d.ts +11 -0
  33. package/components/hy-button.js +111 -0
  34. package/components/hy-checkbox.d.ts +11 -0
  35. package/components/hy-checkbox.js +55 -0
  36. package/components/hy-collaboration.d.ts +11 -0
  37. package/components/hy-collaboration.js +49 -0
  38. package/components/hy-content-list-item.d.ts +11 -0
  39. package/components/hy-content-list-item.js +6 -0
  40. package/components/hy-content-list-item2.js +109 -0
  41. package/components/hy-content-list.d.ts +11 -0
  42. package/components/hy-content-list.js +155 -0
  43. package/components/hy-crisis-banner.d.ts +11 -0
  44. package/components/hy-crisis-banner.js +47 -0
  45. package/components/hy-cta-button.d.ts +11 -0
  46. package/components/hy-cta-button.js +6 -0
  47. package/components/hy-cta-link.d.ts +11 -0
  48. package/components/hy-cta-link.js +6 -0
  49. package/components/hy-docs-container.d.ts +11 -0
  50. package/components/hy-docs-container.js +32 -0
  51. package/components/hy-dropdown-panel-item.d.ts +11 -0
  52. package/components/hy-dropdown-panel-item.js +6 -0
  53. package/components/hy-dropdown-panel.d.ts +11 -0
  54. package/components/hy-dropdown-panel.js +6 -0
  55. package/components/hy-dropdown.d.ts +11 -0
  56. package/components/hy-dropdown.js +155 -0
  57. package/components/hy-dropdown.panel.item.js +41 -0
  58. package/components/hy-dropdown.panel.js +29 -0
  59. package/components/hy-event-item.d.ts +11 -0
  60. package/components/hy-event-item.js +73 -0
  61. package/components/hy-events.d.ts +11 -0
  62. package/components/hy-events.js +131 -0
  63. package/components/hy-filter-group-item.d.ts +11 -0
  64. package/components/hy-filter-group-item.js +6 -0
  65. package/components/hy-filter-group.d.ts +11 -0
  66. package/components/hy-filter-group.item.js +38 -0
  67. package/components/hy-filter-group.js +67 -0
  68. package/components/hy-filter-list-type.d.ts +11 -0
  69. package/components/hy-filter-list-type.js +52 -0
  70. package/components/hy-filter-visibility-tool-reset.d.ts +11 -0
  71. package/components/hy-filter-visibility-tool-reset.js +6 -0
  72. package/components/hy-filter-visibility-tool-toggle.d.ts +11 -0
  73. package/components/hy-filter-visibility-tool-toggle.js +6 -0
  74. package/components/hy-filter-visibility-tool.d.ts +11 -0
  75. package/components/hy-filter-visibility-tool.js +58 -0
  76. package/components/hy-filter-visibility-tool.reset.js +32 -0
  77. package/components/hy-filter-visibility-tool.reset.toggle.js +32 -0
  78. package/components/hy-footer-action.d.ts +11 -0
  79. package/components/hy-footer-action.js +55 -0
  80. package/components/hy-footer-base.d.ts +11 -0
  81. package/components/hy-footer-base.js +89 -0
  82. package/components/hy-footer-info.d.ts +11 -0
  83. package/components/hy-footer-info.js +167 -0
  84. package/components/hy-footer-link-item.d.ts +11 -0
  85. package/components/hy-footer-link-item.js +6 -0
  86. package/components/hy-footer-link-item2.js +99 -0
  87. package/components/hy-footer.d.ts +11 -0
  88. package/components/hy-footer.js +33 -0
  89. package/components/hy-general-list-item.d.ts +11 -0
  90. package/components/hy-general-list-item.js +6 -0
  91. package/components/hy-general-list-item2.js +74 -0
  92. package/components/hy-general-list.d.ts +11 -0
  93. package/components/hy-general-list.js +90 -0
  94. package/components/hy-grid-container.d.ts +11 -0
  95. package/components/hy-grid-container.js +33 -0
  96. package/components/hy-grid-item.d.ts +11 -0
  97. package/components/hy-grid-item.js +49 -0
  98. package/components/hy-grid-row.d.ts +11 -0
  99. package/components/hy-grid-row.js +33 -0
  100. package/components/hy-heading.d.ts +11 -0
  101. package/components/hy-heading.js +6 -0
  102. package/components/hy-hero-carousel.d.ts +11 -0
  103. package/components/hy-hero-carousel.js +4935 -0
  104. package/components/hy-hero.d.ts +11 -0
  105. package/components/hy-hero.js +155 -0
  106. package/components/hy-icon.d.ts +11 -0
  107. package/components/hy-icon.js +6 -0
  108. package/components/hy-image.d.ts +11 -0
  109. package/components/hy-image.js +6 -0
  110. package/components/hy-ingress.d.ts +11 -0
  111. package/components/hy-ingress.js +45 -0
  112. package/components/hy-introduction.d.ts +11 -0
  113. package/components/hy-introduction.js +118 -0
  114. package/components/hy-key-figure-group.d.ts +11 -0
  115. package/components/hy-key-figure-group.js +106 -0
  116. package/components/hy-key-figure.d.ts +11 -0
  117. package/components/hy-key-figure.js +6 -0
  118. package/components/hy-key-figure2.js +39 -0
  119. package/components/hy-key-highlight-group.d.ts +11 -0
  120. package/components/hy-key-highlight-group.js +69 -0
  121. package/components/hy-key-highlight.d.ts +11 -0
  122. package/components/hy-key-highlight.js +6 -0
  123. package/components/hy-key-highlight2.js +39 -0
  124. package/components/hy-large-process-flow-phase.d.ts +11 -0
  125. package/components/hy-large-process-flow-phase.js +6 -0
  126. package/components/hy-large-process-flow-phase2.js +63 -0
  127. package/components/hy-large-process-flow.d.ts +11 -0
  128. package/components/hy-large-process-flow.js +86 -0
  129. package/components/hy-link-box-list.d.ts +11 -0
  130. package/components/hy-link-box-list.js +92 -0
  131. package/components/hy-link-box.d.ts +11 -0
  132. package/components/hy-link-box.js +6 -0
  133. package/components/hy-link-list.d.ts +11 -0
  134. package/components/hy-link-list.js +77 -0
  135. package/components/hy-link.d.ts +11 -0
  136. package/components/hy-link.js +46 -0
  137. package/components/hy-list-item.d.ts +11 -0
  138. package/components/hy-list-item.js +293 -0
  139. package/components/hy-logo-grid-item.d.ts +11 -0
  140. package/components/hy-logo-grid-item.js +48 -0
  141. package/components/hy-logo-grid.d.ts +11 -0
  142. package/components/hy-logo-grid.js +38 -0
  143. package/components/hy-main-content-wrapper.d.ts +11 -0
  144. package/components/hy-main-content-wrapper.js +6 -0
  145. package/components/hy-main-content-wrapper2.js +30 -0
  146. package/components/hy-main.d.ts +11 -0
  147. package/components/hy-main.js +40 -0
  148. package/components/hy-menu-language-item.d.ts +11 -0
  149. package/components/hy-menu-language-item.js +6 -0
  150. package/components/hy-menu-language.d.ts +11 -0
  151. package/components/hy-menu-language.js +6 -0
  152. package/components/hy-menu-main-group.d.ts +11 -0
  153. package/components/hy-menu-main-group.js +6 -0
  154. package/components/hy-menu-main-group2.js +192 -0
  155. package/components/hy-opening-hours-content.d.ts +11 -0
  156. package/components/hy-opening-hours-content.js +62 -0
  157. package/components/hy-opening-hours.d.ts +11 -0
  158. package/components/hy-opening-hours.js +90 -0
  159. package/components/hy-pager-item.d.ts +11 -0
  160. package/components/hy-pager-item.js +73 -0
  161. package/components/hy-pager.d.ts +11 -0
  162. package/components/hy-pager.js +34 -0
  163. package/components/hy-paragraph-text.d.ts +11 -0
  164. package/components/hy-paragraph-text.js +6 -0
  165. package/components/hy-person-card.d.ts +11 -0
  166. package/components/hy-person-card.js +137 -0
  167. package/components/hy-person-profile-listing.d.ts +11 -0
  168. package/components/hy-person-profile-listing.js +6 -0
  169. package/components/hy-person-profile.d.ts +11 -0
  170. package/components/hy-person-profile.js +142 -0
  171. package/components/hy-process-flow-box.d.ts +11 -0
  172. package/components/hy-process-flow-box.js +6 -0
  173. package/components/hy-process.d.ts +11 -0
  174. package/components/hy-process.js +89 -0
  175. package/components/hy-prominent-image.d.ts +11 -0
  176. package/components/hy-prominent-image.js +71 -0
  177. package/components/hy-quote.d.ts +11 -0
  178. package/components/hy-quote.js +54 -0
  179. package/components/hy-row.d.ts +11 -0
  180. package/components/hy-row.js +50 -0
  181. package/components/hy-search-field.d.ts +11 -0
  182. package/components/hy-search-field.js +6 -0
  183. package/components/hy-search-field2.js +81 -0
  184. package/components/hy-section-container.d.ts +11 -0
  185. package/components/hy-section-container.js +32 -0
  186. package/components/hy-shortcuts.d.ts +11 -0
  187. package/components/hy-shortcuts.js +96 -0
  188. package/components/hy-site-header.d.ts +11 -0
  189. package/components/hy-site-header.js +369 -0
  190. package/components/hy-site-logo.d.ts +11 -0
  191. package/components/hy-site-logo.js +6 -0
  192. package/components/hy-site-search.d.ts +11 -0
  193. package/components/hy-site-search.js +6 -0
  194. package/components/hy-table-container.d.ts +11 -0
  195. package/components/hy-table-container.js +39 -0
  196. package/components/hy-tabs-item.d.ts +11 -0
  197. package/components/hy-tabs-item.js +6 -0
  198. package/components/hy-tabs-item2.js +33 -0
  199. package/components/hy-tabs.d.ts +11 -0
  200. package/components/hy-tabs.js +6 -0
  201. package/components/hy-tabs2.js +346 -0
  202. package/components/hy-tag.d.ts +11 -0
  203. package/components/hy-tag.js +6 -0
  204. package/components/hy-tag2.js +31 -0
  205. package/components/hy-tiny-text.d.ts +11 -0
  206. package/components/hy-tiny-text.js +34 -0
  207. package/components/hy-twitter-feed.d.ts +11 -0
  208. package/components/hy-twitter-feed.js +57 -0
  209. package/components/hy-two-columns.d.ts +11 -0
  210. package/components/hy-two-columns.js +36 -0
  211. package/components/hy-user-login-form.d.ts +11 -0
  212. package/components/hy-user-login-form.js +53 -0
  213. package/components/hy-video.d.ts +11 -0
  214. package/components/hy-video.js +156 -0
  215. package/components/icon.js +830 -0
  216. package/components/image.js +75 -0
  217. package/components/index.d.ts +27 -0
  218. package/components/index.js +2 -0
  219. package/components/index2.js +965 -0
  220. package/components/link-box.js +116 -0
  221. package/components/menu-language-item.js +47 -0
  222. package/components/menu-language.js +121 -0
  223. package/components/package.json +8 -0
  224. package/components/paragraph-text.js +60 -0
  225. package/components/person-profile.listing.js +57 -0
  226. package/components/process-flow-box.js +57 -0
  227. package/components/site-logo.js +59 -0
  228. package/components/site-search.js +249 -0
  229. package/{dist/esm/utils-43c56d92.js → components/utils.js} +1 -1
  230. package/dist/cjs/{hy-accordion-container_83.cjs.entry.js → color-box_91.cjs.entry.js} +1177 -999
  231. package/dist/cjs/{globalScript-45ad6d41.js → globalScript-d341436f.js} +7 -7
  232. package/dist/cjs/huds-lib.cjs.js +3 -3
  233. package/dist/cjs/hy-event-item.cjs.entry.js +10 -10
  234. package/dist/cjs/hy-events.cjs.entry.js +22 -22
  235. package/dist/cjs/hy-hero-carousel.cjs.entry.js +25 -25
  236. package/dist/cjs/loader.cjs.js +3 -3
  237. package/dist/collection/collection-manifest.json +7 -11
  238. package/dist/collection/components/accordion-container/accordion-container.js +4 -4
  239. package/dist/collection/components/accordion-item/accordion-item.js +78 -78
  240. package/dist/collection/components/adjacent-image-text/adjacent-image-text.js +17 -17
  241. package/dist/collection/components/baseline/baseline.js +2 -2
  242. package/dist/collection/components/button/button.js +28 -28
  243. package/dist/collection/components/color-box/color-box.js +1 -1
  244. package/dist/collection/components/courses/hy-content-list/hy-content-list.js +42 -42
  245. package/dist/collection/components/courses/hy-content-list-item/hy-content-list-item.js +15 -15
  246. package/dist/collection/components/cta-button/cta-button.js +12 -12
  247. package/dist/collection/components/cta-link/cta-link.js +7 -7
  248. package/dist/collection/components/footer/hy-footer/hy-footer.js +3 -3
  249. package/dist/collection/components/footer/hy-footer-action/hy-footer-action.js +5 -5
  250. package/dist/collection/components/footer/hy-footer-base/hy-footer-base.js +6 -6
  251. package/dist/collection/components/footer/hy-footer-info/hy-footer-info.js +19 -19
  252. package/dist/collection/components/footer/hy-footer-link-item/hy-footer-link-item.js +22 -22
  253. package/dist/collection/components/grid-container/grid-container.js +1 -1
  254. package/dist/collection/components/grid-item/grid-item.js +5 -5
  255. package/dist/collection/components/grid-row/grid-row.js +3 -3
  256. package/dist/collection/components/heading/heading.js +17 -17
  257. package/dist/collection/components/hy-anchor-link-list/hy-anchor-link-list.js +13 -13
  258. package/dist/collection/components/hy-badge/hy-badge.js +6 -6
  259. package/dist/collection/components/hy-banner/hy-banner.js +13 -13
  260. package/dist/collection/components/hy-box/hy-box.js +26 -26
  261. package/dist/collection/components/hy-box-container/hy-box-container.js +5 -5
  262. package/dist/collection/components/hy-breadcrumbs/hy-breadcrumbs.js +10 -10
  263. package/dist/collection/components/hy-checkbox/hy-checkbox.js +5 -5
  264. package/dist/collection/components/hy-collaboration/hy-collaboration.js +2 -2
  265. package/dist/collection/components/hy-crisis-banner/hy-crisis-banner.js +2 -2
  266. package/dist/collection/components/hy-dropdown/hy-dropdown.js +16 -16
  267. package/dist/collection/components/hy-dropdown/hy-dropdown.panel.item.js +2 -2
  268. package/dist/collection/components/hy-dropdown/hy-dropdown.panel.js +2 -2
  269. package/dist/collection/components/hy-event-item/hy-event-item.js +15 -15
  270. package/dist/collection/components/hy-events/hy-events.js +25 -25
  271. package/dist/collection/components/hy-filter-group/hy-filter-group.item.js +3 -3
  272. package/dist/collection/components/hy-filter-group/hy-filter-group.js +3 -3
  273. package/dist/collection/components/hy-filter-list-type/hy-filter-list-type.js +10 -10
  274. package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.js +4 -4
  275. package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.js +2 -2
  276. package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.toggle.js +2 -2
  277. package/dist/collection/components/hy-general-list/hy-general-list.js +11 -11
  278. package/dist/collection/components/hy-general-list-item/hy-general-list-item.js +18 -18
  279. package/dist/collection/components/hy-hero/hy-hero.js +26 -26
  280. package/dist/collection/components/hy-hero-carousel/hy-hero-carousel.css +6 -6
  281. package/dist/collection/components/hy-hero-carousel/hy-hero-carousel.js +32 -32
  282. package/dist/collection/components/hy-introduction/hy-introduction.js +23 -23
  283. package/dist/collection/components/hy-key-figure/hy-key-figure.js +3 -3
  284. package/dist/collection/components/hy-key-figure-group/hy-key-figure-group.js +17 -17
  285. package/dist/collection/components/hy-key-highlight/hy-key-highlight.js +3 -3
  286. package/dist/collection/components/hy-key-highlight-group/hy-key-highlight-group.js +12 -12
  287. package/dist/collection/components/hy-large-process-flow/hy-large-process-flow.js +11 -11
  288. package/dist/collection/components/hy-large-process-flow-phase/hy-large-process-flow-phase.js +5 -5
  289. package/dist/collection/components/hy-link-list/hy-link-list.js +16 -16
  290. package/dist/collection/components/hy-list-item/hy-list-item.js +71 -71
  291. package/dist/collection/components/hy-logo-grid/hy-logo-grid.item.js +3 -3
  292. package/dist/collection/components/hy-logo-grid/hy-logo-grid.js +1 -1
  293. package/dist/collection/components/hy-main/hy-main.js +5 -5
  294. package/dist/collection/components/hy-main-content-wrapper/hy-main-content-wrapper.js +2 -2
  295. package/dist/collection/components/hy-opening-hours/hy-opening-hours.js +12 -12
  296. package/dist/collection/components/hy-opening-hours-content/hy-opening-hours-content.js +10 -10
  297. package/dist/collection/components/hy-person-card/hy-person-card.js +17 -17
  298. package/dist/collection/components/hy-prominent-image/hy-prominent-image.js +12 -12
  299. package/dist/collection/components/hy-quote/hy-quote.js +8 -8
  300. package/dist/collection/components/hy-search-field/hy-search-field.js +15 -15
  301. package/dist/collection/components/hy-shortcuts/hy-shortcuts.js +21 -21
  302. package/dist/collection/components/hy-table-container/hy-table-container.js +2 -2
  303. package/dist/collection/components/hy-tabs/hy-tabs.js +52 -52
  304. package/dist/collection/components/hy-tabs-item/hy-tabs-item.js +2 -2
  305. package/dist/collection/components/hy-tag/hy-tag.js +2 -2
  306. package/dist/collection/components/hy-twitter-feed/hy-twitter-feed.js +4 -4
  307. package/dist/collection/components/hy-two-columns/hy-two-columns.js +2 -2
  308. package/dist/collection/components/hy-user-login-form/hy-user-login-form.js +4 -4
  309. package/dist/collection/components/hy-video/hy-video.js +26 -26
  310. package/dist/collection/components/icon/Alert.js +1 -1
  311. package/dist/collection/components/icon/Archive.js +1 -1
  312. package/dist/collection/components/icon/ArrowRight.js +1 -1
  313. package/dist/collection/components/icon/CaretRight.js +1 -1
  314. package/dist/collection/components/icon/DotArrowRight.js +1 -1
  315. package/dist/collection/components/icon/Euro.js +1 -1
  316. package/dist/collection/components/icon/Globe.js +1 -1
  317. package/dist/collection/components/icon/HeartSupport.js +1 -1
  318. package/dist/collection/components/icon/Home.js +1 -1
  319. package/dist/collection/components/icon/Info.js +1 -1
  320. package/dist/collection/components/icon/ListStyleGrid.js +1 -1
  321. package/dist/collection/components/icon/ListStyleList.js +1 -1
  322. package/dist/collection/components/icon/Search.js +1 -1
  323. package/dist/collection/components/icon/SlimHamburgerMenu.js +1 -1
  324. package/dist/collection/components/icon/SomeFacebook.js +1 -1
  325. package/dist/collection/components/icon/SomeInstagram.js +1 -1
  326. package/dist/collection/components/icon/SomeLinkedin.js +1 -1
  327. package/dist/collection/components/icon/SomeTwitter.js +1 -1
  328. package/dist/collection/components/icon/SomeYoutube.js +1 -1
  329. package/dist/collection/components/icon/TwitterLike.js +1 -1
  330. package/dist/collection/components/icon/allIcons.js +114 -114
  331. package/dist/collection/components/icon/icon.js +134 -134
  332. package/dist/collection/components/icon/icons.js +132 -132
  333. package/dist/collection/components/image/image.js +10 -10
  334. package/dist/collection/components/ingress/ingress.js +7 -7
  335. package/dist/collection/components/link/link.js +7 -7
  336. package/dist/collection/components/link-box/link-box.js +23 -23
  337. package/dist/collection/components/link-box-list/link-box-list.js +12 -12
  338. package/dist/collection/components/navigation/hy-menu-main-group/hy-menu-main-group.js +45 -45
  339. package/dist/collection/components/navigation/menu-language/menu-language.js +15 -15
  340. package/dist/collection/components/navigation/menu-language-item/menu-language-item.js +4 -4
  341. package/dist/collection/components/pagination/hy-pager/hy-pager.js +2 -2
  342. package/dist/collection/components/pagination/hy-pager-item/hy-pager-item.js +12 -12
  343. package/dist/collection/components/paragraph-text/paragraph-text.js +10 -10
  344. package/dist/collection/components/person-profile/person-profile-listing/person-profile.listing.js +9 -9
  345. package/dist/collection/components/person-profile/person-profile.js +16 -16
  346. package/dist/collection/components/process/process.js +12 -12
  347. package/dist/collection/components/process-flow-box/process-flow-box.js +11 -11
  348. package/dist/collection/components/row/row.js +6 -6
  349. package/dist/collection/components/section-container/section-container.js +1 -1
  350. package/dist/collection/components/site-header/site-header.js +69 -69
  351. package/dist/collection/components/site-header/site-logo/site-logo.js +7 -7
  352. package/dist/collection/components/site-header/site-search/site-search.js +56 -56
  353. package/dist/collection/global/colors.js +21 -21
  354. package/dist/collection/global/globalScript.js +7 -7
  355. package/dist/collection/index.js +1 -1
  356. package/dist/esm/{hy-accordion-container_83.entry.js → color-box_91.entry.js} +1171 -1001
  357. package/dist/esm/{globalScript-4ad40215.js → globalScript-3c6fab71.js} +7 -7
  358. package/dist/esm/huds-lib.js +4 -4
  359. package/dist/esm/hy-event-item.entry.js +10 -10
  360. package/dist/esm/hy-events.entry.js +23 -23
  361. package/dist/esm/hy-hero-carousel.entry.js +26 -26
  362. package/dist/esm/loader.js +4 -4
  363. package/dist/esm/utils-a4d55421.js +239 -0
  364. package/dist/fonts/fonts.css +20 -20
  365. package/dist/huds-lib/color-box_91.entry.js +87 -0
  366. package/dist/huds-lib/globalScript-3c6fab71.js +1 -0
  367. package/dist/huds-lib/huds-lib.esm.js +1 -1
  368. package/dist/huds-lib/hy-event-item.entry.js +1 -0
  369. package/dist/huds-lib/hy-events.entry.js +1 -0
  370. package/dist/huds-lib/hy-hero-carousel.entry.js +1 -0
  371. package/dist/huds-lib/{p-63584350.js → utils-a4d55421.js} +1 -1
  372. package/dist/loader/cdn.js +3 -0
  373. package/dist/loader/index.cjs.js +3 -0
  374. package/dist/loader/index.d.ts +21 -0
  375. package/dist/loader/index.es2017.js +3 -0
  376. package/dist/loader/index.js +4 -0
  377. package/dist/loader/package.json +11 -0
  378. package/dist/types/components/accordion-item/accordion-item.d.ts +1 -1
  379. package/dist/types/components/adjacent-image-text/adjacent-image-text.d.ts +1 -1
  380. package/dist/types/components/button/button.d.ts +3 -3
  381. package/dist/types/components/color-box/color-box.d.ts +1 -1
  382. package/dist/types/components/courses/hy-content-list/hy-content-list.d.ts +2 -2
  383. package/dist/types/components/courses/hy-content-list-item/hy-content-list-item.d.ts +1 -1
  384. package/dist/types/components/cta-button/cta-button.d.ts +2 -2
  385. package/dist/types/components/cta-link/cta-link.d.ts +2 -2
  386. package/dist/types/components/footer/hy-footer-base/hy-footer-base.d.ts +2 -2
  387. package/dist/types/components/footer/hy-footer-info/hy-footer-info.d.ts +1 -1
  388. package/dist/types/components/footer/hy-footer-link-item/hy-footer-link-item.d.ts +1 -1
  389. package/dist/types/components/grid-item/grid-item.d.ts +1 -1
  390. package/dist/types/components/heading/heading.d.ts +1 -1
  391. package/dist/types/components/hy-badge/hy-badge.d.ts +2 -2
  392. package/dist/types/components/hy-breadcrumbs/hy-breadcrumbs.d.ts +1 -1
  393. package/dist/types/components/hy-checkbox/hy-checkbox.d.ts +1 -1
  394. package/dist/types/components/hy-filter-visibility-tool/hy-filter-visibility-tool.d.ts +1 -1
  395. package/dist/types/components/hy-general-list/hy-general-list.d.ts +1 -1
  396. package/dist/types/components/hy-hero/hy-hero.d.ts +1 -1
  397. package/dist/types/components/hy-introduction/hy-introduction.d.ts +1 -1
  398. package/dist/types/components/hy-key-figure/hy-key-figure.d.ts +2 -2
  399. package/dist/types/components/hy-key-figure-group/hy-key-figure-group.d.ts +1 -1
  400. package/dist/types/components/hy-key-highlight/hy-key-highlight.d.ts +2 -2
  401. package/dist/types/components/hy-key-highlight-group/hy-key-highlight-group.d.ts +2 -2
  402. package/dist/types/components/hy-large-process-flow/hy-large-process-flow.d.ts +1 -1
  403. package/dist/types/components/hy-large-process-flow-phase/hy-large-process-flow-phase.d.ts +1 -1
  404. package/dist/types/components/hy-link-list/hy-link-list.d.ts +1 -1
  405. package/dist/types/components/hy-list-item/hy-list-item.d.ts +1 -1
  406. package/dist/types/components/hy-person-card/hy-person-card.d.ts +1 -1
  407. package/dist/types/components/hy-shortcuts/hy-shortcuts.d.ts +1 -1
  408. package/dist/types/components/hy-tabs/hy-tabs.d.ts +1 -1
  409. package/dist/types/components/icon/allIcons.d.ts +114 -114
  410. package/dist/types/components/icon/icons.d.ts +130 -130
  411. package/dist/types/components/image/image.d.ts +1 -1
  412. package/dist/types/components/link/link.d.ts +1 -1
  413. package/dist/types/components/link-box/link-box.d.ts +2 -2
  414. package/dist/types/components/link-box-list/link-box-list.d.ts +2 -2
  415. package/dist/types/components/navigation/hy-menu-main-group/hy-menu-main-group.d.ts +1 -1
  416. package/dist/types/components/navigation/menu-language/menu-language.d.ts +2 -2
  417. package/dist/types/components/pagination/hy-pager-item/hy-pager-item.d.ts +1 -1
  418. package/dist/types/components/person-profile/person-profile-listing/person-profile.listing.d.ts +1 -1
  419. package/dist/types/components/process/process.d.ts +1 -1
  420. package/dist/types/components/process-flow-box/process-flow-box.d.ts +3 -3
  421. package/dist/types/components/site-header/site-header.d.ts +2 -2
  422. package/dist/types/components/site-header/site-logo/site-logo.d.ts +1 -1
  423. package/dist/types/components/site-header/site-search/site-search.d.ts +3 -3
  424. package/dist/types/components.d.ts +10 -10
  425. package/dist/types/index.d.ts +1 -1
  426. package/dist/types/utils/utils.d.ts +4 -4
  427. package/loader/cdn.js +4 -3
  428. package/loader/index.cjs.js +4 -3
  429. package/loader/index.d.ts +13 -3
  430. package/loader/index.es2017.js +2 -3
  431. package/loader/index.js +13 -4
  432. package/loader/package.json +1 -1
  433. package/package.json +9 -2
  434. package/dist/cjs/color-box_8.cjs.entry.js +0 -185
  435. package/dist/esm/color-box_8.entry.js +0 -174
  436. package/dist/huds-lib/p-7c7ea6b3.entry.js +0 -1
  437. package/dist/huds-lib/p-8d5c2e5b.entry.js +0 -1
  438. package/dist/huds-lib/p-91f6109f.entry.js +0 -1
  439. package/dist/huds-lib/p-9a15a75b.entry.js +0 -1
  440. package/dist/huds-lib/p-b02e49ad.js +0 -1
  441. package/dist/huds-lib/p-ffd1d29a.entry.js +0 -87
  442. /package/dist/cjs/{index-25bd964b.js → index-ca4e37f2.js} +0 -0
  443. /package/dist/esm/{index-3a66d87e.js → index-9920074a.js} +0 -0
  444. /package/dist/huds-lib/{p-ff975a68.js → index-9920074a.js} +0 -0
@@ -0,0 +1,137 @@
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+ import { t as PersonCardVariants } from './utils.js';
3
+ import { R as ResizeObserver } from './index2.js';
4
+ import { d as defineCustomElement$2 } from './icon.js';
5
+
6
+ const hyPersonCardCss = ":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-person-card-container{font-family:var(--main-font-family);margin-bottom:28px}@media (min-width: 60rem){.hy-person-card-container{margin-bottom:32px}}.hy-person-card-container__category-title{font-size:0.75rem;line-height:14px;color:var(--grayscale-dark);letter-spacing:0;margin-bottom:8px}@media (min-width: 30rem){.hy-person-card-container__category-title{font-size:0.875rem;line-height:18px}}@media (min-width: 120.0625rem){.hy-person-card-container__category-title{font-size:0.875rem;line-height:18px}}.hy-person-card-container__link{text-decoration:none}.hy-person-card-container__link.inactive{cursor:default;pointer-events:none}.hy-person-card{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)}.hy-person-card__image-container{margin-right:12px;max-width:70px}@media (min-width: 30rem){.hy-person-card__image-container{margin-right:16px;max-width:112px}}@media (min-width: 120.0625rem){.hy-person-card__image-container{max-width:140px}}.hy-person-card__image-container__image{height:70px;width:70px}@media (min-width: 30rem){.hy-person-card__image-container__image{height:112px;width:112px}}@media (min-width: 120.0625rem){.hy-person-card__image-container__image{height:140px;width:140px}}.hy-person-card__image-container__image img{height:70px;width:70px;-o-object-fit:cover;object-fit:cover}@media (min-width: 30rem){.hy-person-card__image-container__image img{height:112px;width:112px}}@media (min-width: 120.0625rem){.hy-person-card__image-container__image img{height:140px;width:140px}}.hy-person-card__image-container__no-image{height:70px;width:70px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--brand-main-light);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}@media (min-width: 30rem){.hy-person-card__image-container__no-image{height:112px;width:112px}}@media (min-width: 120.0625rem){.hy-person-card__image-container__no-image{height:140px;width:140px}}.hy-person-card__image-container__no-image__initials{font-size:1.125rem;line-height:24px;font-weight:700;color:var(--grayscale-white);letter-spacing:-0.56px}@media (min-width: 30rem){.hy-person-card__image-container__no-image__initials{font-size:2rem;line-height:32px;letter-spacing:0.96px}}.hy-person-card__info-container__full-name{font-size:1.125rem;line-height:24px;font-weight:700;color:var(--brand-main-light);letter-spacing:-0.56px;margin-bottom:4px;text-decoration:none}@media (min-width: 30rem){.hy-person-card__info-container__full-name{font-size:1.375rem;line-height:28px;letter-spacing:-0.69px;margin-bottom:3px}}@media (min-width: 120.0625rem){.hy-person-card__info-container__full-name{font-size:1.625rem;line-height:28px;letter-spacing:-0.81px;margin-bottom:5px}}.hy-person-card__info-container__full-name:hover,.hy-person-card__info-container__full-name:focus{color:var(--brand-main)}.hy-person-card__info-container__position-title{font-size:0.875rem;line-height:19px;font-weight:700;color:var(--brand-main-nearly-black);letter-spacing:0;margin-bottom:3px}@media (min-width: 30rem){.hy-person-card__info-container__position-title{font-size:1rem;line-height:20px;letter-spacing:-0.5px;margin-bottom:4px}}@media (min-width: 120.0625rem){.hy-person-card__info-container__position-title{font-size:1.125rem;line-height:24px;letter-spacing:-0.56px;margin-bottom:8px}}.hy-person-card__info-container__position-title__search-panel{font-weight:400}.hy-person-card__info-container__department{font-size:0.75rem;line-height:17px;color:var(--brand-main-nearly-black);letter-spacing:0;margin-bottom:3px;text-transform:uppercase}@media (min-width: 30rem){.hy-person-card__info-container__department{font-size:0.875rem;line-height:19px;margin-bottom:6px}}@media (min-width: 120.0625rem){.hy-person-card__info-container__department{font-size:0.875rem;line-height:16px;margin-bottom:9px}}.hy-person-card__info-container__field{font-size:0.75rem;line-height:17px;color:var(--brand-main-nearly-black);letter-spacing:0;margin-bottom:4px}@media (min-width: 30rem){.hy-person-card__info-container__field{font-size:0.875rem;line-height:19px;margin-bottom:6px}}@media (min-width: 120.0625rem){.hy-person-card__info-container__field{font-size:0.875rem;line-height:16px;margin-bottom:9px}}.hy-person-card__info-container__email-container{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:4px}.hy-person-card__info-container__email{font-size:0.75rem;line-height:17px;color:var(--brand-main-nearly-black);letter-spacing:0;margin-left:11px}@media (min-width: 30rem){.hy-person-card__info-container__email{font-size:0.875rem;line-height:19px;margin-left:8px}}.hy-person-card__info-container__email__icon svg{height:15px;width:16px}@media (min-width: 30rem){.hy-person-card__info-container__email__icon svg{height:12px;width:16px}}.hy-person-card__info-container__phone-container{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.hy-person-card__info-container__phone{font-size:0.75rem;line-height:17px;color:var(--brand-main-nearly-black);letter-spacing:0;margin-left:11px}@media (min-width: 30rem){.hy-person-card__info-container__phone{font-size:0.875rem;line-height:19px;margin-left:8px}}.hy-person-card__info-container__phone__icon svg{height:13px;width:13px}@media (min-width: 30rem){.hy-person-card__info-container__phone__icon svg{height:14px;width:14px}}.hy-person-card.search-panel{margin-bottom:12px}@media (min-width: 30rem){.hy-person-card.search-panel{margin-bottom:14px}}.hy-person-card.search-panel .hy-person-card__info-container__full-name{font-size:0.875rem;line-height:20px;font-weight:600;color:var(--grayscale-dark);letter-spacing:0;margin-bottom:0}@media (min-width: 30rem){.hy-person-card.search-panel .hy-person-card__info-container__full-name{letter-spacing:-0.3px}}@media (min-width: 120.0625rem){.hy-person-card.search-panel .hy-person-card__info-container__full-name{font-size:1rem;line-height:24px;letter-spacing:0}}.hy-person-card.search-panel .hy-person-card__info-container__position-title{font-size:0.75rem;line-height:16px;color:var(--grayscale-dark);letter-spacing:-0.07px;margin-bottom:0}.hy-person-card.search-panel .hy-person-card__image-container{margin-right:12px}.hy-person-card.search-panel .hy-person-card__image-container__image{height:60px;width:60px}.hy-person-card.search-panel .hy-person-card__image-container__image img{height:60px;width:60px}.hy-person-card.search-panel .hy-person-card__image-container__no-image{height:60px;width:60px}.hy-person-card.search-panel .hy-person-card__image-container__no-image__initials{color:var(--grayscale-white);font-size:1rem;line-height:32px;font-weight:700;letter-spacing:0.48px}.hy-person-card__extended-info-container{display:block;padding-top:8px}@media (min-width: 30rem){.hy-person-card__extended-info-container{padding-top:12px}}.hy-person-card__extended-info-container__about{font-size:0.75rem;line-height:17px;color:var(--grayscale-dark-text);font-family:var(--main-font-family);font-style:italic;letter-spacing:0}@media (min-width: 30rem){.hy-person-card__extended-info-container__about{font-size:0.75rem;line-height:16px}}@media (min-width: 1601px){.hy-person-card__extended-info-container__about{font-size:0.875rem;line-height:16px}}.hy-person-card__extended-info-container__about .label{font-weight:700;padding-right:3px}";
7
+
8
+ const HyPersonCard$1 = /*@__PURE__*/ proxyCustomElement(class HyPersonCard extends HTMLElement {
9
+ constructor() {
10
+ super();
11
+ this.__registerHost();
12
+ this.variant = PersonCardVariants.default;
13
+ this.categoryTitle = undefined;
14
+ this.imageUrl = null;
15
+ this.imageAlt = null;
16
+ this.disableLazy = false;
17
+ this.firstName = undefined;
18
+ this.lastName = undefined;
19
+ this.url = null;
20
+ this.isExternal = false;
21
+ this.scLabel = undefined;
22
+ this.positionTitle = undefined;
23
+ this.department = null;
24
+ this.field = null;
25
+ this.email = null;
26
+ this.phone = null;
27
+ this.aboutInfo = null;
28
+ this.researchNetworks = undefined;
29
+ this.studyProgramme = undefined;
30
+ this.aboutInfoLabel = undefined;
31
+ this.researchNetworksLabel = undefined;
32
+ this.studyProgrammeLabel = undefined;
33
+ this.isMobile = undefined;
34
+ }
35
+ componentDidLoad() {
36
+ this.ro = new ResizeObserver((entries) => {
37
+ for (const entry of entries) {
38
+ this.checkForMobile(entry.contentRect.width);
39
+ }
40
+ });
41
+ this.ro.observe(document.body);
42
+ }
43
+ disconnectedCallback() {
44
+ this.ro.disconnect();
45
+ }
46
+ checkForMobile(size) {
47
+ this.isMobile = size <= 479 ? true : false;
48
+ }
49
+ componentWillRender() {
50
+ this._fullName = this.firstName && this.lastName ? `${this.firstName} ${this.lastName}` : "";
51
+ this._initials =
52
+ this.imageUrl && this.firstName && this.lastName ? "" : `${this.firstName.charAt(0)}${this.lastName.charAt(0)}`;
53
+ if (!this.imageAlt) {
54
+ this.imageAlt = this._fullName;
55
+ }
56
+ if (!this.scLabel) {
57
+ this.scLabel = "Link to the person profile";
58
+ }
59
+ }
60
+ render() {
61
+ let classLinkAttributes = ["hy-person-card-container__link", this.variant].join(" ");
62
+ let classIsActive = this.url && this.url.length > 0 ? "" : " inactive";
63
+ classLinkAttributes = classLinkAttributes.concat(classIsActive);
64
+ const classAttributes = ["hy-person-card", this.variant].join(" ");
65
+ const classPositionTitle = [
66
+ "hy-person-card__info-container__position-title",
67
+ `hy-person-card__info-container__position-title__${this.variant}`,
68
+ ].join(" ");
69
+ const target = this.isExternal ? "_blank" : "_self";
70
+ return (h("article", { class: "hy-person-card-container" }, h("div", { class: classLinkAttributes }, this.categoryTitle && this.variant == PersonCardVariants.default && (h("div", { class: "hy-person-card-container__category-title" }, this.categoryTitle)), h("div", { class: classAttributes }, h("div", { class: "hy-person-card__image-container" }, this.imageUrl ? (h("a", { class: "hy-person-card__image-container__image", href: this.url, target: target }, h("img", { loading: this.disableLazy ? "eager" : "lazy", "aria-hidden": "true", src: this.imageUrl, alt: this.imageAlt }))) : (h("div", { class: "hy-person-card__image-container__no-image" }, h("div", { class: "hy-person-card__image-container__no-image__initials", "aria-hidden": "true" }, this._initials)))), h("div", { class: "hy-person-card__info-container" }, h("a", { class: "hy-person-card__info-container__full-name", href: this.url, target: target }, this._fullName), this.positionTitle && h("div", { class: classPositionTitle }, this.positionTitle), this.department &&
71
+ (this.variant == PersonCardVariants.default ||
72
+ (this.variant == PersonCardVariants.extended && !this.isMobile)) && (h("div", { class: "hy-person-card__info-container__department" }, this.department)), this.field &&
73
+ (this.variant == PersonCardVariants.default ||
74
+ (this.variant == PersonCardVariants.extended && !this.isMobile)) && (h("div", { class: "hy-person-card__info-container__field" }, this.field)), this.email &&
75
+ (this.variant == PersonCardVariants.default ||
76
+ (this.variant == PersonCardVariants.extended && !this.isMobile)) && [
77
+ h("div", { class: "hy-person-card__info-container__email-container" }, h("span", { class: "hy-person-card__info-container__email__icon" }, h("hy-icon", { icon: "hy-icon-email", size: 16 })), h("span", { class: "hy-person-card__info-container__email" }, this.email)),
78
+ ], this.phone &&
79
+ (this.variant == PersonCardVariants.default ||
80
+ (this.variant == PersonCardVariants.extended && !this.isMobile)) && [
81
+ h("div", { class: "hy-person-card__info-container__phone-container" }, h("span", { class: "hy-person-card__info-container__phone__icon" }, h("hy-icon", { icon: "hy-icon-phone", size: 14 })), h("span", { class: "hy-person-card__info-container__phone" }, this.phone)),
82
+ ])), this.variant == PersonCardVariants.extended && (h("div", { class: "hy-person-card hy-person-card__extended-info-container" }, this.department && this.isMobile && (h("div", { class: "hy-person-card__info-container__department" }, this.department)), this.field && this.isMobile && h("div", { class: "hy-person-card__info-container__field" }, this.field), this.email &&
83
+ this.isMobile && [
84
+ h("div", { class: "hy-person-card__info-container__email-container" }, h("span", { class: "hy-person-card__info-container__email__icon" }, h("hy-icon", { icon: "hy-icon-email", size: 16 })), h("span", { class: "hy-person-card__info-container__email" }, this.email)),
85
+ ], this.phone &&
86
+ this.isMobile && [
87
+ h("div", { class: "hy-person-card__info-container__phone-container" }, h("span", { class: "hy-person-card__info-container__phone__icon" }, h("hy-icon", { icon: "hy-icon-phone", size: 14 })), h("span", { class: "hy-person-card__info-container__phone" }, this.phone)),
88
+ ], this.aboutInfo && (h("div", { class: "hy-person-card__extended-info-container__about" }, h("span", { class: "label" }, this.aboutInfoLabel, ":"), h("span", null, this.aboutInfo))))))));
89
+ }
90
+ static get style() { return hyPersonCardCss; }
91
+ }, [0, "hy-person-card", {
92
+ "variant": [1],
93
+ "categoryTitle": [1, "category-title"],
94
+ "imageUrl": [1, "image-url"],
95
+ "imageAlt": [1, "image-alt"],
96
+ "disableLazy": [4, "disable-lazy"],
97
+ "firstName": [1, "first-name"],
98
+ "lastName": [1, "last-name"],
99
+ "url": [1],
100
+ "isExternal": [4, "is-external"],
101
+ "scLabel": [1, "sc-label"],
102
+ "positionTitle": [1, "position-title"],
103
+ "department": [1],
104
+ "field": [1],
105
+ "email": [1],
106
+ "phone": [1],
107
+ "aboutInfo": [1, "about-info"],
108
+ "researchNetworks": [1, "research-networks"],
109
+ "studyProgramme": [1, "study-programme"],
110
+ "aboutInfoLabel": [1, "about-info-label"],
111
+ "researchNetworksLabel": [1, "research-networks-label"],
112
+ "studyProgrammeLabel": [1, "study-programme-label"],
113
+ "isMobile": [32]
114
+ }]);
115
+ function defineCustomElement$1() {
116
+ if (typeof customElements === "undefined") {
117
+ return;
118
+ }
119
+ const components = ["hy-person-card", "hy-icon"];
120
+ components.forEach(tagName => { switch (tagName) {
121
+ case "hy-person-card":
122
+ if (!customElements.get(tagName)) {
123
+ customElements.define(tagName, HyPersonCard$1);
124
+ }
125
+ break;
126
+ case "hy-icon":
127
+ if (!customElements.get(tagName)) {
128
+ defineCustomElement$2();
129
+ }
130
+ break;
131
+ } });
132
+ }
133
+
134
+ const HyPersonCard = HyPersonCard$1;
135
+ const defineCustomElement = defineCustomElement$1;
136
+
137
+ export { HyPersonCard, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../dist/types/components";
2
+
3
+ interface HyPersonProfileListing extends Components.HyPersonProfileListing, HTMLElement {}
4
+ export const HyPersonProfileListing: {
5
+ prototype: HyPersonProfileListing;
6
+ new (): HyPersonProfileListing;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,6 @@
1
+ import { P as PersonProfile, d as defineCustomElement$1 } from './person-profile.listing.js';
2
+
3
+ const HyPersonProfileListing = PersonProfile;
4
+ const defineCustomElement = defineCustomElement$1;
5
+
6
+ export { HyPersonProfileListing, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../dist/types/components";
2
+
3
+ interface HyPersonProfile extends Components.HyPersonProfile, HTMLElement {}
4
+ export const HyPersonProfile: {
5
+ prototype: HyPersonProfile;
6
+ new (): HyPersonProfile;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,142 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host, Fragment } from '@stencil/core/internal/client';
2
+ import { a as CtaLinkButtonVariants } from './utils.js';
3
+ import { d as defineCustomElement$9 } from './accordion-container.js';
4
+ import { d as defineCustomElement$8 } from './accordion-item.js';
5
+ import { d as defineCustomElement$7 } from './hy-box2.js';
6
+ import { d as defineCustomElement$6 } from './cta-button.js';
7
+ import { d as defineCustomElement$5 } from './icon.js';
8
+ import { d as defineCustomElement$4 } from './person-profile.listing.js';
9
+ import { d as defineCustomElement$3 } from './hy-tabs2.js';
10
+ import { d as defineCustomElement$2 } from './hy-tabs-item2.js';
11
+
12
+ const personProfileCss = ":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-profile-page__back-button{font-size:1rem;line-height:20px;font-weight:600;font-family:var(--main-font-family);letter-spacing:-0.5px;color:var(--brand-main-light);padding:12px 10px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;text-decoration:none;margin-left:-10px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:16px}@media (min-width: 48rem){.hy-profile-page__back-button{margin-bottom:24px}}.hy-profile-page__back-button hy-icon{margin-right:16px}.hy-profile-page__back-button hy-icon svg{fill:var(--brand-main-light)}.hy-profile-page__section{padding:32px 0}.hy-profile-page__section:first-of-type{padding:0 0 32px}.hy-profile-page__section:not(:first-of-type){border-top:1px solid var(--grayscale-medium)}.hy-profile-page__section__research_title>h2,.hy-profile-page__section>h2{font-size:1.625rem;line-height:32px;font-weight:700;font-family:var(--main-font-family);letter-spacing:-0.52px;color:var(--grayscale-black);margin:0 0 32px}@media (min-width: 48rem){.hy-profile-page__section__research_title>h2,.hy-profile-page__section>h2{font-size:2.125rem;line-height:40px;letter-spacing:-0.68px}}.hy-profile-page__section__research_title{display:block;-webkit-box-align:center;-ms-flex-align:center;align-items:center}@media (min-width: 48rem){.hy-profile-page__section__research_title{display:-webkit-box;display:-ms-flexbox;display:flex}}.hy-profile-page__section__research_title>hy-cta-button{margin:0 0 32px 0}@media (min-width: 48rem){.hy-profile-page__section__research_title>hy-cta-button{margin:0 0 32px auto}}.hy-profile-page__organization-units-section{font-family:var(--main-font-family);padding:0;margin:0;list-style:none}.hy-profile-page__organization-units-section h3{font-size:0.9375rem;line-height:18px;font-weight:700;letter-spacing:-0.28px;color:var(--grayscale-black);margin:0 0 8px}@media (min-width: 48rem){.hy-profile-page__organization-units-section h3{font-size:1.0625rem;line-height:20px;letter-spacing:-0.32px}}.hy-profile-page__organization-units-section{margin-top:24px}@media (min-width: 48rem){.hy-profile-page__organization-units-section{margin-top:32px}}.hy-profile-page__organization-units-section a{text-decoration:none;color:var(--link-blue)}.hy-profile-page__organization-units-section a:hover{text-decoration:underline}.hy-profile-page__organizations,.hy-profile-page__organizations ul,.hy-profile-page__research-organizations,.hy-profile-page__research-organizations ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}.hy-profile-page__organizations li,.hy-profile-page__research-organizations li{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.hy-profile-page__organizations li span,.hy-profile-page__research-organizations li span{font-size:0.9375rem;line-height:22px;font-weight:400;color:var(--grayscale-black)}@media (min-width: 48rem){.hy-profile-page__organizations li span,.hy-profile-page__research-organizations li span{font-size:1.0625rem;line-height:26px}}.hy-profile-page__organizations li>span,.hy-profile-page__research-organizations li>span{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.hy-profile-page__organizations li hy-icon,.hy-profile-page__research-organizations li hy-icon{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:22px;width:28px}@media (min-width: 48rem){.hy-profile-page__organizations li hy-icon,.hy-profile-page__research-organizations li hy-icon{height:26px}}.hy-profile-page__person-about-text{font-size:0.9375rem;line-height:22px;font-weight:400;font-family:var(--main-font-family);color:var(--grayscale-black)}@media (min-width: 48rem){.hy-profile-page__person-about-text{font-size:1.0625rem;line-height:26px}}.hy-profile-page__person-about-text-toggle{font-size:0.9375rem;line-height:22px;font-weight:400;font-family:var(--main-font-family);color:var(--link-blue);background-color:transparent;border:0;padding:0;margin:0}@media (min-width: 48rem){.hy-profile-page__person-about-text-toggle{font-size:1.0625rem;line-height:26px}}.hy-profile-page__person-about-text-toggle:hover{cursor:pointer}.hy-profile-page__person-information{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:16px;margin-bottom:24px}@media (min-width: 48rem){.hy-profile-page__person-information{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:40px;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}}.hy-profile-page__image{aspect-ratio:328/425;width:100%;max-width:328px;-o-object-fit:cover;object-fit:cover;background-color:var(--grayscale-background-box)}@media (min-width: 48rem){.hy-profile-page__image{max-width:194px}}.hy-profile-page__contact-information>h2{font-size:1.625rem;line-height:32px;font-weight:700;font-family:var(--main-font-family);letter-spacing:-0.52px;color:var(--grayscale-black);margin:0 0 32px}@media (min-width: 48rem){.hy-profile-page__contact-information>h2{font-size:2.125rem;line-height:40px;letter-spacing:-0.68px}}.hy-profile-page__name{font-size:2rem;line-height:38px;font-weight:700;font-family:var(--main-font-family);letter-spacing:-0.8px;color:var(--grayscale-black);margin:0 0 4px;text-transform:uppercase}@media (min-width: 60rem){.hy-profile-page__name{font-size:2.875rem;line-height:54px;letter-spacing:-1.15px;margin:0 0 8px}}@media (min-width: 120.0625rem){.hy-profile-page__name{font-size:3.25rem;line-height:60px;letter-spacing:-1.3px}}.hy-profile-page__job-title{font-size:1rem;line-height:20px;font-weight:700;font-family:var(--main-font-family);letter-spacing:-0.32px;color:var(--grayscale-black);margin:0 0 4px;text-transform:capitalize}@media (min-width: 60rem){.hy-profile-page__job-title{font-size:1.125rem;line-height:24px;letter-spacing:-0.36px}}.hy-profile-page__additional-information{font-size:0.9375rem;line-height:22px;font-weight:400;font-family:var(--main-font-family);color:var(--grayscale-dark-text);margin:0}@media (min-width: 60rem){.hy-profile-page__additional-information{font-size:1.0625rem;line-height:26px}}.hy-profile-page__person-content-container{display:none;margin-top:32px}@media (min-width: 48rem){.hy-profile-page__person-content-container{margin-top:44px}}.hy-profile-page__person-content-listing{display:grid;gap:32px;list-style:none;padding:0;margin:0}.hy-profile-page__person-content>h2{margin:0 0 8px}.hy-profile-page__person-content>h2 a{font-size:1.125rem;line-height:24px;font-weight:700;font-family:var(--main-font-family);letter-spacing:-0.36px;color:var(--link-blue);text-decoration:none}@media (min-width: 48rem){.hy-profile-page__person-content>h2 a{font-size:1.375rem;line-height:28px;letter-spacing:-0.44px}}.hy-profile-page__person-content>span,.hy-profile-page__person-content>p{font-size:0.9375rem;line-height:22px;font-weight:400;font-family:var(--main-font-family);color:var(--grayscale-dark-text)}@media (min-width: 48rem){.hy-profile-page__person-content>span,.hy-profile-page__person-content>p{font-size:1.0625rem;line-height:26px;letter-spacing:-0.44px}}.hy-profile-page__person-content>p{margin:8px 0 0}.hy-profile-page__loader{display:inline-block;position:relative;width:80px;height:80px;margin-top:32px}.hy-profile-page__loader.visible{display:block}.hy-profile-page__loader.hidden{display:none}@media (min-width: 48rem){.hy-profile-page__loader{margin-top:44px}}.hy-profile-page__loader div{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;position:absolute;width:64px;height:64px;margin:8px;border:6px solid #fff;border-radius:50%;-webkit-animation:loader-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;animation:loader-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;border-color:var(--brand-main-light) transparent transparent transparent}.hy-profile-page__loader div:nth-child(1){-webkit-animation-delay:-0.45s;animation-delay:-0.45s}.hy-profile-page__loader div:nth-child(2){-webkit-animation-delay:-0.3s;animation-delay:-0.3s}.hy-profile-page__loader div:nth-child(3){-webkit-animation-delay:-0.15s;animation-delay:-0.15s}@-webkit-keyframes loader-ring{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loader-ring{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.hidden{display:none;visibility:hidden}";
13
+
14
+ let timer;
15
+ const PersonProfile = /*@__PURE__*/ proxyCustomElement(class PersonProfile extends HTMLElement {
16
+ constructor() {
17
+ super();
18
+ this.__registerHost();
19
+ this.personDataJson = undefined;
20
+ this.showFullAboutText = undefined;
21
+ this.hideFullAboutText = undefined;
22
+ this.organizationItemsLabelText = undefined;
23
+ this.peopleFinderReturnLink = undefined;
24
+ this.peopleFinderReturnLabel = undefined;
25
+ this.isFullAboutTextHidden = false;
26
+ this.viewportSize = undefined;
27
+ }
28
+ componentWillLoad() {
29
+ this.viewportSize = window.innerWidth;
30
+ }
31
+ toggleShowFullAboutText() {
32
+ this.isFullAboutTextHidden = !this.isFullAboutTextHidden;
33
+ }
34
+ disconnectedCallback() {
35
+ clearTimeout(timer);
36
+ }
37
+ render() {
38
+ const { name, job_title, additional_information, image_url, contact_information, organization_units, about, research, person_content, } = JSON.parse(this.personDataJson);
39
+ const { organizations, research_organizations } = organization_units.items;
40
+ const aboutDescriptionTextDestructured = about.description;
41
+ const aboutDescriptionLength = aboutDescriptionTextDestructured.length;
42
+ let trimmedAboutDescription = "";
43
+ if (aboutDescriptionLength > 650) {
44
+ if (this.isFullAboutTextHidden) {
45
+ const ellipsisTextArray = aboutDescriptionTextDestructured + "...";
46
+ trimmedAboutDescription = ellipsisTextArray;
47
+ }
48
+ else {
49
+ const ellipsisTextArray = aboutDescriptionTextDestructured.substring(0, 650) + "...";
50
+ trimmedAboutDescription = ellipsisTextArray;
51
+ }
52
+ }
53
+ window.addEventListener("resize", () => {
54
+ clearTimeout(timer);
55
+ timer = setTimeout(() => {
56
+ this.viewportSize = window.innerWidth;
57
+ }, 250);
58
+ });
59
+ const research_portal_title = `${research.research_portal_label}: ${name}`;
60
+ return (h(Host, null, h("section", { class: "hy-profile-page" }, h("a", { href: this.peopleFinderReturnLink, class: "hy-profile-page__back-button" }, h("hy-icon", { icon: "hy-icon-arrow-left", size: 24 }), h("span", null, this.peopleFinderReturnLabel)), h("section", { class: "hy-profile-page__section" }, h("div", { class: "hy-profile-page__person-information" }, h("div", null, h("h1", { class: "hy-profile-page__name" }, name), job_title && h("p", { class: "hy-profile-page__job-title" }, job_title), additional_information && (h("p", { class: "hy-profile-page__additional-information" }, additional_information))), image_url ? (h("img", { src: image_url, alt: "", class: "hy-profile-page__image" })) : (h("div", { class: "hy-profile-page__image", "aria-hidden": "true" }))), contact_information && (h("div", { class: "hy-profile-page__contact-information" }, contact_information.label && h("h2", null, contact_information.label), contact_information.items && (h("hy-person-profile-listing", { items: contact_information.items, col: "col-4", withoutIcons: true, textSpacingTight: true }))))), (organizations.items.length > 0 || Object.keys(research_organizations.items).length > 0) && (h("section", { class: "hy-profile-page__section" }, organization_units.label && h("h2", null, organization_units.label), organizations.items.length > 0 && (h("section", { class: "hy-profile-page__organization-units-section" }, h("h3", null, organizations.label), h("ul", { class: "hy-profile-page__organizations" }, h("li", null, organizations.items.map((item, index) => {
61
+ return (h("span", null, index > 1 && h("hy-icon", { icon: "hy-icon-caret-right", size: 10 }), index !== 0 && (h("span", null, h("a", { href: organization_units.people_finder_path[organization_units.lang] +
62
+ "?researchOrganizations.id[]=" +
63
+ item.id, target: "_blank" }, item.name[organization_units.lang])))));
64
+ }))))), Object.keys(research_organizations.items).length > 0 && (h("section", { class: "hy-profile-page__organization-units-section" }, h("h3", null, research_organizations.label), h("ul", { class: "hy-profile-page__research-organizations" }, Object.values(research_organizations.items).map(([...item]) => (h("li", null, item.map((item, index) => {
65
+ return (h(Fragment, null, index > 1 && (h("ul", null, h("li", null, h("span", null, h("hy-icon", { icon: "hy-icon-caret-right", size: 10 }), h("span", null, h("a", { href: organization_units.people_finder_path[organization_units.lang] +
66
+ "?researchOrganizations.id[]=" +
67
+ item.id, target: "_blank" }, item.name[organization_units.lang])))))), index == 1 && (h("span", null, h("a", { href: organization_units.people_finder_path[organization_units.lang] +
68
+ "?researchOrganizations.id[]=" +
69
+ item.id, target: "_blank" }, item.name[organization_units.lang])))));
70
+ }))))))))), about && aboutDescriptionLength !== 0 && (h("section", { class: "hy-profile-page__section" }, about.description && (h(Fragment, null, h("h2", null, about.label), h("div", { class: "hy-profile-page__person-about-text", innerHTML: !this.isFullAboutTextHidden && aboutDescriptionLength > 650
71
+ ? trimmedAboutDescription
72
+ : about.description }))), aboutDescriptionLength > 650 && (h("button", { class: "hy-profile-page__person-about-text-toggle", onClick: () => this.toggleShowFullAboutText(), "aria-expanded": `${this.isFullAboutTextHidden ? "true" : "false"}` }, this.isFullAboutTextHidden ? this.hideFullAboutText : this.showFullAboutText)))), ((research && research.items.length > 0) || (person_content && person_content.research_url.length > 0)) && (h("section", { class: "hy-profile-page__section" }, h("div", { class: "hy-profile-page__section__research_title" }, research.label && h("h2", null, research.label), research.label && person_content.research_url.length > 0 && (h("hy-cta-button", { "link-content": research_portal_title, "sc-label": research_portal_title, url: person_content.research_url, "is-external": "true", variant: CtaLinkButtonVariants.onWhiteBkgd }))), research.items && (h("hy-person-profile-listing", { items: research.items, col: "col-1", textSpacingTight: true, "is-research": true, inline: true })), person_content.research_url.length > 0 && (h("div", { class: "hy-profile-page__loader", role: "presentation" }, h("div", null), h("div", null), h("div", null), h("div", null))), person_content.research_url.length > 0 && this.viewportSize < 768 && (h("div", { class: "hy-profile-page__person-content-container" }, h("hy-accordion-container", { accordionid: "accordion-container-person-content" }, person_content.publications && (h("hy-accordion-item", { "data-accordion-id": "publications", accordiontitle: person_content.publications.label })), person_content.projects && (h("hy-accordion-item", { "data-accordion-id": "projects", accordiontitle: person_content.projects.label })), person_content.activities && (h("hy-accordion-item", { "data-accordion-id": "activities", accordiontitle: person_content.activities.label }))))), person_content.research_url.length > 0 && this.viewportSize >= 768 && (h("div", { class: "hy-profile-page__person-content-container" }, h("hy-tabs", { "tab-id": "tabs-container-person-content" }, person_content.publications && (h("hy-tabs-item", { "data-tab-id": "publications", "tab-title": person_content.publications.label })), person_content.projects && (h("hy-tabs-item", { "data-tab-id": "projects", "tab-title": person_content.projects.label })), person_content.activities && (h("hy-tabs-item", { "data-tab-id": "activities", "tab-title": person_content.activities.label }))))))))));
73
+ }
74
+ static get style() { return personProfileCss; }
75
+ }, [0, "hy-person-profile", {
76
+ "personDataJson": [1, "person-data-json"],
77
+ "showFullAboutText": [1, "show-full-about-text"],
78
+ "hideFullAboutText": [1, "hide-full-about-text"],
79
+ "organizationItemsLabelText": [1, "organization-items-label-text"],
80
+ "peopleFinderReturnLink": [1, "people-finder-return-link"],
81
+ "peopleFinderReturnLabel": [1, "people-finder-return-label"],
82
+ "isFullAboutTextHidden": [32],
83
+ "viewportSize": [32]
84
+ }]);
85
+ function defineCustomElement$1() {
86
+ if (typeof customElements === "undefined") {
87
+ return;
88
+ }
89
+ const components = ["hy-person-profile", "hy-accordion-container", "hy-accordion-item", "hy-box", "hy-cta-button", "hy-icon", "hy-person-profile-listing", "hy-tabs", "hy-tabs-item"];
90
+ components.forEach(tagName => { switch (tagName) {
91
+ case "hy-person-profile":
92
+ if (!customElements.get(tagName)) {
93
+ customElements.define(tagName, PersonProfile);
94
+ }
95
+ break;
96
+ case "hy-accordion-container":
97
+ if (!customElements.get(tagName)) {
98
+ defineCustomElement$9();
99
+ }
100
+ break;
101
+ case "hy-accordion-item":
102
+ if (!customElements.get(tagName)) {
103
+ defineCustomElement$8();
104
+ }
105
+ break;
106
+ case "hy-box":
107
+ if (!customElements.get(tagName)) {
108
+ defineCustomElement$7();
109
+ }
110
+ break;
111
+ case "hy-cta-button":
112
+ if (!customElements.get(tagName)) {
113
+ defineCustomElement$6();
114
+ }
115
+ break;
116
+ case "hy-icon":
117
+ if (!customElements.get(tagName)) {
118
+ defineCustomElement$5();
119
+ }
120
+ break;
121
+ case "hy-person-profile-listing":
122
+ if (!customElements.get(tagName)) {
123
+ defineCustomElement$4();
124
+ }
125
+ break;
126
+ case "hy-tabs":
127
+ if (!customElements.get(tagName)) {
128
+ defineCustomElement$3();
129
+ }
130
+ break;
131
+ case "hy-tabs-item":
132
+ if (!customElements.get(tagName)) {
133
+ defineCustomElement$2();
134
+ }
135
+ break;
136
+ } });
137
+ }
138
+
139
+ const HyPersonProfile = PersonProfile;
140
+ const defineCustomElement = defineCustomElement$1;
141
+
142
+ export { HyPersonProfile, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../dist/types/components";
2
+
3
+ interface HyProcessFlowBox extends Components.HyProcessFlowBox, HTMLElement {}
4
+ export const HyProcessFlowBox: {
5
+ prototype: HyProcessFlowBox;
6
+ new (): HyProcessFlowBox;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,6 @@
1
+ import { P as ProcessFlowBox, d as defineCustomElement$1 } from './process-flow-box.js';
2
+
3
+ const HyProcessFlowBox = ProcessFlowBox;
4
+ const defineCustomElement = defineCustomElement$1;
5
+
6
+ export { HyProcessFlowBox, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../dist/types/components";
2
+
3
+ interface HyProcess extends Components.HyProcess, HTMLElement {}
4
+ export const HyProcess: {
5
+ prototype: HyProcess;
6
+ new (): HyProcess;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,89 @@
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+ import { u as ProcessFlowBoxVariants } from './utils.js';
3
+ import { j as jsonParserWorker } from './globalScript.js';
4
+ import { d as defineCustomElement$3 } from './hy-box2.js';
5
+ import { d as defineCustomElement$2 } from './process-flow-box.js';
6
+
7
+ const processCss = ":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-process{display:block;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;max-width:30rem;margin-right:auto;margin-left:auto;width:100%}@media (min-width: 30rem){.hy-process{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left;max-width:60rem;width:100%}}@media (min-width: 60rem){.hy-process{max-width:75rem}}.hy-process.small .box{display:block;margin:1%}@media (min-width: 30rem){.hy-process.small .box{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-width:48%;padding-bottom:10px;width:48%}}@media (min-width: 60rem){.hy-process.small .box{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-width:23%;width:23%}}.hy-process.big .box{display:block;margin:1%}@media (min-width: 30rem){.hy-process.big .box{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-width:48%;padding-bottom:10px;width:48%}}@media (min-width: 60rem){.hy-process.big .box{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-width:31%;width:31%}}.hy-process::after{clear:both}";
8
+
9
+ const Process = /*@__PURE__*/ proxyCustomElement(class Process extends HTMLElement {
10
+ constructor() {
11
+ super();
12
+ this.__registerHost();
13
+ this.__attachShadow();
14
+ this.headerstyle = "common";
15
+ this.numberTerm = undefined;
16
+ this.dataItems = undefined;
17
+ }
18
+ async componentWillLoad() {
19
+ this._dataItems = await jsonParserWorker(this.dataItems);
20
+ }
21
+ componentDidLoad() {
22
+ let hyMainDiv = this.el.closest(".hy-main");
23
+ if (hyMainDiv) {
24
+ if (!hyMainDiv.classList.contains("with-sidebar")) {
25
+ this.headerstyle = "large";
26
+ }
27
+ }
28
+ }
29
+ render() {
30
+ /*
31
+ - Logic:
32
+ - 3 items: big
33
+ - 4 items: small
34
+ - 5 items: big
35
+ - 6 items: big
36
+ - 7 items: small
37
+ - 8 items: small
38
+ - 9 items: big
39
+ * */
40
+ const bigVariants = [3, 5, 6, 9];
41
+ const processVariant = bigVariants.includes(this._dataItems.length)
42
+ ? ProcessFlowBoxVariants.default
43
+ : ProcessFlowBoxVariants.small;
44
+ const itemsPerRow = processVariant == ProcessFlowBoxVariants.small ? 4 : 3;
45
+ const classAttributes = [processVariant, "hy-process", `hy-process__${this.headerstyle}`].join(" ");
46
+ const classItem = "box";
47
+ var stepState;
48
+ return [
49
+ h("div", { class: classAttributes }, this._dataItems.map((x, index) => {
50
+ index % itemsPerRow == 0 ? (stepState = "first") : (stepState = "default");
51
+ return (h("hy-process-flow-box", { class: classItem, variant: processVariant, "box-number": index + 1, "box-title": x.heading, "box-description": x.description, "intermediate-step-title": x.step, "step-state": stepState, "number-term": this.numberTerm }));
52
+ })),
53
+ ];
54
+ }
55
+ get el() { return this; }
56
+ static get style() { return processCss; }
57
+ }, [1, "hy-process", {
58
+ "headerstyle": [1],
59
+ "numberTerm": [1, "number-term"],
60
+ "dataItems": [1, "data-items"]
61
+ }]);
62
+ function defineCustomElement$1() {
63
+ if (typeof customElements === "undefined") {
64
+ return;
65
+ }
66
+ const components = ["hy-process", "hy-box", "hy-process-flow-box"];
67
+ components.forEach(tagName => { switch (tagName) {
68
+ case "hy-process":
69
+ if (!customElements.get(tagName)) {
70
+ customElements.define(tagName, Process);
71
+ }
72
+ break;
73
+ case "hy-box":
74
+ if (!customElements.get(tagName)) {
75
+ defineCustomElement$3();
76
+ }
77
+ break;
78
+ case "hy-process-flow-box":
79
+ if (!customElements.get(tagName)) {
80
+ defineCustomElement$2();
81
+ }
82
+ break;
83
+ } });
84
+ }
85
+
86
+ const HyProcess = Process;
87
+ const defineCustomElement = defineCustomElement$1;
88
+
89
+ export { HyProcess, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../dist/types/components";
2
+
3
+ interface HyProminentImage extends Components.HyProminentImage, HTMLElement {}
4
+ export const HyProminentImage: {
5
+ prototype: HyProminentImage;
6
+ new (): HyProminentImage;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,71 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$3 } from './hy-box2.js';
3
+ import { d as defineCustomElement$2 } from './image.js';
4
+
5
+ const hyProminentImageCss = ":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-prominent-image{position:relative}.hy-prominent-image__text{font-size:1rem;line-height:20px;background-color:var(--grayscale-black);bottom:12px;color:var(--grayscale-white);font-family:var(--main-font-family);font-weight:bold;left:-8px;letter-spacing:-0.5px;max-width:46%;padding:6px 12px;position:absolute;text-transform:uppercase}@media (min-width: 30rem){.hy-prominent-image__text{font-size:1.125rem;line-height:24px;bottom:20px;left:-16px;letter-spacing:-0.56px;max-width:58%;padding:12px 24px;position:absolute}}@media (min-width: 60rem){.hy-prominent-image__text{font-size:1.375rem;line-height:28px;bottom:24px;left:-16px;letter-spacing:-0.69px;padding:16px 24px;position:absolute}}@media (min-width: 1601px){.hy-prominent-image__text{font-size:1.625rem;line-height:32px;bottom:28px;left:-16px;letter-spacing:-0.8px;padding:20px 24px;position:absolute}}@media (min-width: 75.0625rem){.hy-prominent-image__text__large{font-size:1.625rem;line-height:32px;bottom:28px;left:-16px;letter-spacing:-0.8px;padding:20px 24px;position:absolute}}";
6
+
7
+ const HyProminentImage$1 = /*@__PURE__*/ proxyCustomElement(class HyProminentImage extends HTMLElement {
8
+ constructor() {
9
+ super();
10
+ this.__registerHost();
11
+ this.__attachShadow();
12
+ this.textTitle = undefined;
13
+ this.imageUrl = undefined;
14
+ this.imageAlt = "";
15
+ this.headerstyle = "common";
16
+ this.sourceSet = undefined;
17
+ }
18
+ componentDidLoad() {
19
+ let hyMainDiv = this.el.closest(".hy-main");
20
+ if (hyMainDiv) {
21
+ if (!hyMainDiv.classList.contains("with-sidebar")) {
22
+ this.headerstyle = "large";
23
+ }
24
+ }
25
+ }
26
+ render() {
27
+ const prominentImageClass = [
28
+ "hy-prominent-image",
29
+ this.headerstyle,
30
+ `hy-prominent-image__${this.headerstyle}`,
31
+ ].join(" ");
32
+ const prominentImageText = ["hy-prominent-image__text", `hy-prominent-image__text__${this.headerstyle}`].join(" ");
33
+ return (h(Host, null, h("div", { class: prominentImageClass }, h("div", { class: "hy-prominent-image__image" }, h("hy-image", { "source-set": this.sourceSet, "image-url": this.imageUrl, "image-alt": this.imageAlt, aspectRatioWidth: 2, aspectRatioHeight: 1 })), this.textTitle && h("div", { class: prominentImageText }, this.textTitle))));
34
+ }
35
+ get el() { return this; }
36
+ static get style() { return hyProminentImageCss; }
37
+ }, [1, "hy-prominent-image", {
38
+ "textTitle": [1, "text-title"],
39
+ "imageUrl": [1, "image-url"],
40
+ "imageAlt": [1, "image-alt"],
41
+ "headerstyle": [1],
42
+ "sourceSet": [1, "source-set"]
43
+ }]);
44
+ function defineCustomElement$1() {
45
+ if (typeof customElements === "undefined") {
46
+ return;
47
+ }
48
+ const components = ["hy-prominent-image", "hy-box", "hy-image"];
49
+ components.forEach(tagName => { switch (tagName) {
50
+ case "hy-prominent-image":
51
+ if (!customElements.get(tagName)) {
52
+ customElements.define(tagName, HyProminentImage$1);
53
+ }
54
+ break;
55
+ case "hy-box":
56
+ if (!customElements.get(tagName)) {
57
+ defineCustomElement$3();
58
+ }
59
+ break;
60
+ case "hy-image":
61
+ if (!customElements.get(tagName)) {
62
+ defineCustomElement$2();
63
+ }
64
+ break;
65
+ } });
66
+ }
67
+
68
+ const HyProminentImage = HyProminentImage$1;
69
+ const defineCustomElement = defineCustomElement$1;
70
+
71
+ export { HyProminentImage, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../dist/types/components";
2
+
3
+ interface HyQuote extends Components.HyQuote, HTMLElement {}
4
+ export const HyQuote: {
5
+ prototype: HyQuote;
6
+ new (): HyQuote;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,54 @@
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$2 } from './icon.js';
3
+
4
+ const hyQuoteCss = ":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-quote{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;padding:0 8px}@media (min-width: 30rem){.hy-quote{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:0}}@media (min-width: 60rem){.hy-quote{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}.hy-quote__icon-wrapper{margin-right:20px}@media (min-width: 30rem){.hy-quote__icon-wrapper{margin-right:0}}@media (min-width: 60rem){.hy-quote__icon-wrapper{margin-right:24px}}@media (min-width: 1601px){.hy-quote__icon-wrapper{margin-right:32px}}.hy-quote__icon svg{fill:var(--brand-main-light);height:32px;width:32px}@media (min-width: 60rem){.hy-quote__icon svg{height:40px;width:40px}}@media (min-width: 1601px){.hy-quote__icon svg{height:48px;width:48px}}.hy-quote__text{font-size:1rem;line-height:24px;color:var(--grayscale-black);font-family:var(--main-font-family);font-weight:600;letter-spacing:-0.1px;padding-bottom:16px;padding-top:0}@media (min-width: 30rem){.hy-quote__text{font-size:1.125rem;line-height:28px;padding-top:16px}}@media (min-width: 75.0625rem){.hy-quote__text{font-size:1.25rem;line-height:32px;padding-top:0}}.hy-quote__signature:before{font-size:0.875rem;line-height:20px;display:inline-block;color:var(--grayscale-dark);content:\"-\";font-family:var(--main-font-family);letter-spacing:0;padding-right:3px}.hy-quote__signature{font-size:0.875rem;line-height:20px;color:var(--grayscale-dark);font-family:var(--main-font-family);letter-spacing:0}@media (min-width: 30rem){.hy-quote__signature{font-size:1rem;line-height:24px}}";
5
+
6
+ const HyQuote$1 = /*@__PURE__*/ proxyCustomElement(class HyQuote extends HTMLElement {
7
+ constructor() {
8
+ super();
9
+ this.__registerHost();
10
+ this.__attachShadow();
11
+ this.quoteSignature = undefined;
12
+ this.headerstyle = "common";
13
+ }
14
+ componentDidLoad() {
15
+ let hyMainDiv = this.el.closest(".hy-main");
16
+ if (hyMainDiv) {
17
+ if (!hyMainDiv.classList.contains("with-sidebar")) {
18
+ this.headerstyle = "large";
19
+ }
20
+ }
21
+ }
22
+ render() {
23
+ const quoteClass = ["hy-quote", this.headerstyle, `hy-quote__${this.headerstyle}`].join(" ");
24
+ return (h("div", { class: quoteClass }, h("span", { class: "hy-quote__icon-wrapper" }, h("div", { class: "hy-quote__icon" }, h("hy-icon", { icon: "hy-icon-quote", size: 48 }))), h("div", { class: "hy-quote-text-wrapper" }, h("div", { class: "hy-quote__text" }, h("slot", null)), this.quoteSignature && h("div", { class: "hy-quote__signature" }, this.quoteSignature))));
25
+ }
26
+ get el() { return this; }
27
+ static get style() { return hyQuoteCss; }
28
+ }, [1, "hy-quote", {
29
+ "quoteSignature": [1, "quote-signature"],
30
+ "headerstyle": [1]
31
+ }]);
32
+ function defineCustomElement$1() {
33
+ if (typeof customElements === "undefined") {
34
+ return;
35
+ }
36
+ const components = ["hy-quote", "hy-icon"];
37
+ components.forEach(tagName => { switch (tagName) {
38
+ case "hy-quote":
39
+ if (!customElements.get(tagName)) {
40
+ customElements.define(tagName, HyQuote$1);
41
+ }
42
+ break;
43
+ case "hy-icon":
44
+ if (!customElements.get(tagName)) {
45
+ defineCustomElement$2();
46
+ }
47
+ break;
48
+ } });
49
+ }
50
+
51
+ const HyQuote = HyQuote$1;
52
+ const defineCustomElement = defineCustomElement$1;
53
+
54
+ export { HyQuote, defineCustomElement };