@itcenteratunihelsinki/huds-lib 0.5.43 → 0.5.46

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 (319) hide show
  1. package/dist/cjs/color-box_8.cjs.entry.js +210 -0
  2. package/dist/cjs/{globalScript-0c66cb96.js → globalScript-6b592153.js} +1 -1
  3. package/dist/cjs/huds-lib.cjs.js +4 -4
  4. package/dist/cjs/hy-accordion-container_91.cjs.entry.js +8147 -0
  5. package/dist/cjs/{index-dd5e5023.js → index-dfc917d9.js} +80 -64
  6. package/dist/cjs/loader.cjs.js +4 -4
  7. package/dist/collection/collection-manifest.json +97 -12
  8. package/dist/collection/components/button/button.js +7 -2
  9. package/dist/collection/components/heading/heading.js +4 -4
  10. package/dist/collection/components/hy-opening-hours/hy-opening-hours.css +8 -0
  11. package/dist/collection/components/hy-opening-hours/hy-opening-hours.js +24 -3
  12. package/dist/collection/components/hy-opening-hours-content/hy-opening-hours-content.css +9 -1
  13. package/dist/collection/components/hy-opening-hours-content/hy-opening-hours-content.js +4 -2
  14. package/dist/collection/components/hy-search-field/hy-search-field.js +55 -5
  15. package/dist/collection/components/navigation/menu/menu.js +46 -34
  16. package/dist/collection/components/navigation/menu-sidebar/menu-sidebar.js +14 -6
  17. package/dist/collection/components/person-profile/person-profile.js +8 -1
  18. package/dist/collection/components/site-header/hy-desktop-menu-links/hy-desktop-menu-links.js +27 -19
  19. package/dist/collection/components/site-header/site-header.js +44 -6
  20. package/dist/collection/components/site-header/site-search/site-search.js +93 -22
  21. package/dist/esm/color-box_8.entry.js +199 -0
  22. package/dist/esm/{globalScript-92c6b812.js → globalScript-9d045b36.js} +1 -1
  23. package/dist/esm/huds-lib.js +4 -4
  24. package/dist/esm/hy-accordion-container_91.entry.js +8053 -0
  25. package/dist/esm/{index-083c8c8a.js → index-daaf0985.js} +80 -64
  26. package/dist/esm/loader.js +4 -4
  27. package/dist/esm/{utils-708bbefe.js → utils-966ffdb5.js} +1 -1
  28. package/dist/huds-lib/huds-lib.esm.js +1 -1
  29. package/dist/huds-lib/{p-fd1edbd5.js → p-04dcccdc.js} +1 -1
  30. package/dist/huds-lib/p-77f7df4b.entry.js +86 -0
  31. package/dist/huds-lib/{p-8ab550d6.js → p-cd2316f0.js} +1 -1
  32. package/dist/huds-lib/p-d3ced29c.entry.js +1 -0
  33. package/dist/huds-lib/{p-bb24c6b5.js → p-f8697bf9.js} +1 -1
  34. package/dist/types/components/button/button.d.ts +1 -1
  35. package/dist/types/components/hy-opening-hours/hy-opening-hours.d.ts +1 -0
  36. package/dist/types/components/hy-search-field/hy-search-field.d.ts +2 -0
  37. package/dist/types/components/navigation/menu/menu.d.ts +1 -0
  38. package/dist/types/components/person-profile/person-profile.d.ts +1 -0
  39. package/dist/types/components/site-header/site-header.d.ts +1 -0
  40. package/dist/types/components/site-header/site-search/site-search.d.ts +3 -0
  41. package/dist/types/components.d.ts +15 -1
  42. package/dist/types/stencil-public-runtime.d.ts +7 -4
  43. package/loader/index.d.ts +13 -4
  44. package/loader/{index.es2017.mjs → index.es2017.js} +1 -2
  45. package/loader/index.js +13 -0
  46. package/loader/package.json +5 -7
  47. package/package.json +2 -2
  48. package/dist/cjs/color-box.cjs.entry.js +0 -19
  49. package/dist/cjs/emotion.esm-563b6504.js +0 -1397
  50. package/dist/cjs/hy-accordion-container_5.cjs.entry.js +0 -578
  51. package/dist/cjs/hy-adjacent-image-text.cjs.entry.js +0 -51
  52. package/dist/cjs/hy-anchor-link-list.cjs.entry.js +0 -45
  53. package/dist/cjs/hy-badge.cjs.entry.js +0 -21
  54. package/dist/cjs/hy-banner.cjs.entry.js +0 -45
  55. package/dist/cjs/hy-baseline.cjs.entry.js +0 -32
  56. package/dist/cjs/hy-box-container.cjs.entry.js +0 -33
  57. package/dist/cjs/hy-box.cjs.entry.js +0 -165
  58. package/dist/cjs/hy-breadcrumbs.cjs.entry.js +0 -231
  59. package/dist/cjs/hy-button.cjs.entry.js +0 -100
  60. package/dist/cjs/hy-checkbox.cjs.entry.js +0 -33
  61. package/dist/cjs/hy-collaboration.cjs.entry.js +0 -19
  62. package/dist/cjs/hy-content-list-item.cjs.entry.js +0 -70
  63. package/dist/cjs/hy-content-list.cjs.entry.js +0 -112
  64. package/dist/cjs/hy-crisis-banner.cjs.entry.js +0 -19
  65. package/dist/cjs/hy-cta-button.cjs.entry.js +0 -30
  66. package/dist/cjs/hy-cta-link.cjs.entry.js +0 -26
  67. package/dist/cjs/hy-desktop-menu-links.cjs.entry.js +0 -328
  68. package/dist/cjs/hy-docs-container.cjs.entry.js +0 -19
  69. package/dist/cjs/hy-dropdown-panel_2.cjs.entry.js +0 -27
  70. package/dist/cjs/hy-dropdown.cjs.entry.js +0 -113
  71. package/dist/cjs/hy-filter-group-item.cjs.entry.js +0 -17
  72. package/dist/cjs/hy-filter-group.cjs.entry.js +0 -37
  73. package/dist/cjs/hy-filter-list-type.cjs.entry.js +0 -28
  74. package/dist/cjs/hy-filter-visibility-tool-reset_2.cjs.entry.js +0 -26
  75. package/dist/cjs/hy-filter-visibility-tool.cjs.entry.js +0 -24
  76. package/dist/cjs/hy-footer_5.cjs.entry.js +0 -201
  77. package/dist/cjs/hy-general-list_2.cjs.entry.js +0 -94
  78. package/dist/cjs/hy-grid-container.cjs.entry.js +0 -20
  79. package/dist/cjs/hy-grid-item.cjs.entry.js +0 -31
  80. package/dist/cjs/hy-grid-row.cjs.entry.js +0 -20
  81. package/dist/cjs/hy-heading.cjs.entry.js +0 -67
  82. package/dist/cjs/hy-hero.cjs.entry.js +0 -101
  83. package/dist/cjs/hy-icon.cjs.entry.js +0 -364
  84. package/dist/cjs/hy-image.cjs.entry.js +0 -50
  85. package/dist/cjs/hy-ingress.cjs.entry.js +0 -30
  86. package/dist/cjs/hy-introduction.cjs.entry.js +0 -55
  87. package/dist/cjs/hy-key-figure-group.cjs.entry.js +0 -77
  88. package/dist/cjs/hy-key-figure.cjs.entry.js +0 -22
  89. package/dist/cjs/hy-key-highlight-group.cjs.entry.js +0 -44
  90. package/dist/cjs/hy-key-highlight.cjs.entry.js +0 -22
  91. package/dist/cjs/hy-large-process-flow-phase.cjs.entry.js +0 -37
  92. package/dist/cjs/hy-large-process-flow.cjs.entry.js +0 -44
  93. package/dist/cjs/hy-link-box-list.cjs.entry.js +0 -54
  94. package/dist/cjs/hy-link-box.cjs.entry.js +0 -79
  95. package/dist/cjs/hy-link-list.cjs.entry.js +0 -44
  96. package/dist/cjs/hy-link.cjs.entry.js +0 -25
  97. package/dist/cjs/hy-list-item.cjs.entry.js +0 -239
  98. package/dist/cjs/hy-logo-grid-item.cjs.entry.js +0 -30
  99. package/dist/cjs/hy-logo-grid.cjs.entry.js +0 -20
  100. package/dist/cjs/hy-main-content-wrapper.cjs.entry.js +0 -20
  101. package/dist/cjs/hy-main.cjs.entry.js +0 -25
  102. package/dist/cjs/hy-menu-item-sidebar.cjs.entry.js +0 -159
  103. package/dist/cjs/hy-menu-item.cjs.entry.js +0 -147
  104. package/dist/cjs/hy-menu-language-item.cjs.entry.js +0 -25
  105. package/dist/cjs/hy-menu-language.cjs.entry.js +0 -91
  106. package/dist/cjs/hy-menu-level-container.cjs.entry.js +0 -137
  107. package/dist/cjs/hy-menu-main-group.cjs.entry.js +0 -151
  108. package/dist/cjs/hy-menu-mobile-breadcrumb.cjs.entry.js +0 -25
  109. package/dist/cjs/hy-menu-sidebar.cjs.entry.js +0 -290
  110. package/dist/cjs/hy-menu.cjs.entry.js +0 -111
  111. package/dist/cjs/hy-mobile-menu-shortcuts.cjs.entry.js +0 -26
  112. package/dist/cjs/hy-opening-hours-content.cjs.entry.js +0 -41
  113. package/dist/cjs/hy-opening-hours.cjs.entry.js +0 -32
  114. package/dist/cjs/hy-pager-item.cjs.entry.js +0 -45
  115. package/dist/cjs/hy-pager.cjs.entry.js +0 -20
  116. package/dist/cjs/hy-paragraph-text.cjs.entry.js +0 -45
  117. package/dist/cjs/hy-person-card.cjs.entry.js +0 -84
  118. package/dist/cjs/hy-person-profile.cjs.entry.js +0 -61
  119. package/dist/cjs/hy-process-flow-box.cjs.entry.js +0 -28
  120. package/dist/cjs/hy-process.cjs.entry.js +0 -57
  121. package/dist/cjs/hy-prominent-image.cjs.entry.js +0 -36
  122. package/dist/cjs/hy-quote.cjs.entry.js +0 -30
  123. package/dist/cjs/hy-row.cjs.entry.js +0 -42
  124. package/dist/cjs/hy-search-field.cjs.entry.js +0 -40
  125. package/dist/cjs/hy-section-container.cjs.entry.js +0 -19
  126. package/dist/cjs/hy-shortcuts.cjs.entry.js +0 -60
  127. package/dist/cjs/hy-site-header_3.cjs.entry.js +0 -418
  128. package/dist/cjs/hy-table-container.cjs.entry.js +0 -20
  129. package/dist/cjs/hy-tag.cjs.entry.js +0 -20
  130. package/dist/cjs/hy-tiny-text.cjs.entry.js +0 -20
  131. package/dist/cjs/hy-twitter-feed.cjs.entry.js +0 -27
  132. package/dist/cjs/hy-two-columns.cjs.entry.js +0 -21
  133. package/dist/cjs/hy-user-login-form.cjs.entry.js +0 -23
  134. package/dist/cjs/hy-video.cjs.entry.js +0 -67
  135. package/dist/cjs/index-314ad166.js +0 -967
  136. package/dist/esm/color-box.entry.js +0 -15
  137. package/dist/esm/emotion.esm-87895ee1.js +0 -1395
  138. package/dist/esm/hy-accordion-container_5.entry.js +0 -570
  139. package/dist/esm/hy-adjacent-image-text.entry.js +0 -47
  140. package/dist/esm/hy-anchor-link-list.entry.js +0 -41
  141. package/dist/esm/hy-badge.entry.js +0 -17
  142. package/dist/esm/hy-banner.entry.js +0 -41
  143. package/dist/esm/hy-baseline.entry.js +0 -28
  144. package/dist/esm/hy-box-container.entry.js +0 -29
  145. package/dist/esm/hy-box.entry.js +0 -161
  146. package/dist/esm/hy-breadcrumbs.entry.js +0 -227
  147. package/dist/esm/hy-button.entry.js +0 -96
  148. package/dist/esm/hy-checkbox.entry.js +0 -29
  149. package/dist/esm/hy-collaboration.entry.js +0 -15
  150. package/dist/esm/hy-content-list-item.entry.js +0 -66
  151. package/dist/esm/hy-content-list.entry.js +0 -108
  152. package/dist/esm/hy-crisis-banner.entry.js +0 -15
  153. package/dist/esm/hy-cta-button.entry.js +0 -26
  154. package/dist/esm/hy-cta-link.entry.js +0 -22
  155. package/dist/esm/hy-desktop-menu-links.entry.js +0 -324
  156. package/dist/esm/hy-docs-container.entry.js +0 -15
  157. package/dist/esm/hy-dropdown-panel_2.entry.js +0 -22
  158. package/dist/esm/hy-dropdown.entry.js +0 -109
  159. package/dist/esm/hy-filter-group-item.entry.js +0 -13
  160. package/dist/esm/hy-filter-group.entry.js +0 -33
  161. package/dist/esm/hy-filter-list-type.entry.js +0 -24
  162. package/dist/esm/hy-filter-visibility-tool-reset_2.entry.js +0 -21
  163. package/dist/esm/hy-filter-visibility-tool.entry.js +0 -20
  164. package/dist/esm/hy-footer_5.entry.js +0 -193
  165. package/dist/esm/hy-general-list_2.entry.js +0 -89
  166. package/dist/esm/hy-grid-container.entry.js +0 -16
  167. package/dist/esm/hy-grid-item.entry.js +0 -27
  168. package/dist/esm/hy-grid-row.entry.js +0 -16
  169. package/dist/esm/hy-heading.entry.js +0 -63
  170. package/dist/esm/hy-hero.entry.js +0 -97
  171. package/dist/esm/hy-icon.entry.js +0 -360
  172. package/dist/esm/hy-image.entry.js +0 -46
  173. package/dist/esm/hy-ingress.entry.js +0 -26
  174. package/dist/esm/hy-introduction.entry.js +0 -51
  175. package/dist/esm/hy-key-figure-group.entry.js +0 -73
  176. package/dist/esm/hy-key-figure.entry.js +0 -18
  177. package/dist/esm/hy-key-highlight-group.entry.js +0 -40
  178. package/dist/esm/hy-key-highlight.entry.js +0 -18
  179. package/dist/esm/hy-large-process-flow-phase.entry.js +0 -33
  180. package/dist/esm/hy-large-process-flow.entry.js +0 -40
  181. package/dist/esm/hy-link-box-list.entry.js +0 -50
  182. package/dist/esm/hy-link-box.entry.js +0 -75
  183. package/dist/esm/hy-link-list.entry.js +0 -40
  184. package/dist/esm/hy-link.entry.js +0 -21
  185. package/dist/esm/hy-list-item.entry.js +0 -235
  186. package/dist/esm/hy-logo-grid-item.entry.js +0 -26
  187. package/dist/esm/hy-logo-grid.entry.js +0 -16
  188. package/dist/esm/hy-main-content-wrapper.entry.js +0 -16
  189. package/dist/esm/hy-main.entry.js +0 -21
  190. package/dist/esm/hy-menu-item-sidebar.entry.js +0 -155
  191. package/dist/esm/hy-menu-item.entry.js +0 -143
  192. package/dist/esm/hy-menu-language-item.entry.js +0 -21
  193. package/dist/esm/hy-menu-language.entry.js +0 -87
  194. package/dist/esm/hy-menu-level-container.entry.js +0 -133
  195. package/dist/esm/hy-menu-main-group.entry.js +0 -147
  196. package/dist/esm/hy-menu-mobile-breadcrumb.entry.js +0 -21
  197. package/dist/esm/hy-menu-sidebar.entry.js +0 -286
  198. package/dist/esm/hy-menu.entry.js +0 -107
  199. package/dist/esm/hy-mobile-menu-shortcuts.entry.js +0 -22
  200. package/dist/esm/hy-opening-hours-content.entry.js +0 -37
  201. package/dist/esm/hy-opening-hours.entry.js +0 -28
  202. package/dist/esm/hy-pager-item.entry.js +0 -41
  203. package/dist/esm/hy-pager.entry.js +0 -16
  204. package/dist/esm/hy-paragraph-text.entry.js +0 -41
  205. package/dist/esm/hy-person-card.entry.js +0 -80
  206. package/dist/esm/hy-person-profile.entry.js +0 -57
  207. package/dist/esm/hy-process-flow-box.entry.js +0 -24
  208. package/dist/esm/hy-process.entry.js +0 -53
  209. package/dist/esm/hy-prominent-image.entry.js +0 -32
  210. package/dist/esm/hy-quote.entry.js +0 -26
  211. package/dist/esm/hy-row.entry.js +0 -38
  212. package/dist/esm/hy-search-field.entry.js +0 -36
  213. package/dist/esm/hy-section-container.entry.js +0 -15
  214. package/dist/esm/hy-shortcuts.entry.js +0 -56
  215. package/dist/esm/hy-site-header_3.entry.js +0 -412
  216. package/dist/esm/hy-table-container.entry.js +0 -16
  217. package/dist/esm/hy-tag.entry.js +0 -16
  218. package/dist/esm/hy-tiny-text.entry.js +0 -16
  219. package/dist/esm/hy-twitter-feed.entry.js +0 -23
  220. package/dist/esm/hy-two-columns.entry.js +0 -17
  221. package/dist/esm/hy-user-login-form.entry.js +0 -19
  222. package/dist/esm/hy-video.entry.js +0 -63
  223. package/dist/esm/index-41a1e449.js +0 -965
  224. package/dist/huds-lib/p-003597de.entry.js +0 -1
  225. package/dist/huds-lib/p-00a1f0c4.entry.js +0 -1
  226. package/dist/huds-lib/p-03ada2ef.entry.js +0 -1
  227. package/dist/huds-lib/p-045ec3b7.entry.js +0 -6
  228. package/dist/huds-lib/p-065ae4a9.entry.js +0 -1
  229. package/dist/huds-lib/p-095afc4e.entry.js +0 -1
  230. package/dist/huds-lib/p-0a37696c.entry.js +0 -1
  231. package/dist/huds-lib/p-0b2e3057.entry.js +0 -1
  232. package/dist/huds-lib/p-0ba24d1d.entry.js +0 -1
  233. package/dist/huds-lib/p-0d751fcd.entry.js +0 -1
  234. package/dist/huds-lib/p-0f9c4661.entry.js +0 -8
  235. package/dist/huds-lib/p-114f1281.entry.js +0 -1
  236. package/dist/huds-lib/p-14a7e308.entry.js +0 -1
  237. package/dist/huds-lib/p-179221b4.entry.js +0 -1
  238. package/dist/huds-lib/p-1ed13a8e.entry.js +0 -1
  239. package/dist/huds-lib/p-1f5cb6ed.entry.js +0 -1
  240. package/dist/huds-lib/p-24c25896.entry.js +0 -1
  241. package/dist/huds-lib/p-27a613af.entry.js +0 -1
  242. package/dist/huds-lib/p-29a5f847.entry.js +0 -1
  243. package/dist/huds-lib/p-2c83cfcf.entry.js +0 -1
  244. package/dist/huds-lib/p-309dde97.entry.js +0 -1
  245. package/dist/huds-lib/p-31d9c326.entry.js +0 -1
  246. package/dist/huds-lib/p-349817f6.entry.js +0 -1
  247. package/dist/huds-lib/p-3641da70.entry.js +0 -1
  248. package/dist/huds-lib/p-3bf480d9.entry.js +0 -1
  249. package/dist/huds-lib/p-3d35d226.entry.js +0 -1
  250. package/dist/huds-lib/p-3f050660.entry.js +0 -1
  251. package/dist/huds-lib/p-40ab2704.entry.js +0 -6
  252. package/dist/huds-lib/p-4252e76e.entry.js +0 -1
  253. package/dist/huds-lib/p-47d919f5.entry.js +0 -1
  254. package/dist/huds-lib/p-488053bf.entry.js +0 -1
  255. package/dist/huds-lib/p-497703c3.entry.js +0 -1
  256. package/dist/huds-lib/p-4c59a5f1.entry.js +0 -1
  257. package/dist/huds-lib/p-4d4869f9.entry.js +0 -1
  258. package/dist/huds-lib/p-518b6042.entry.js +0 -1
  259. package/dist/huds-lib/p-51dd0bf2.entry.js +0 -1
  260. package/dist/huds-lib/p-521557a1.entry.js +0 -1
  261. package/dist/huds-lib/p-570b0c50.entry.js +0 -1
  262. package/dist/huds-lib/p-604e4a62.entry.js +0 -1
  263. package/dist/huds-lib/p-608090da.entry.js +0 -1
  264. package/dist/huds-lib/p-67b6fddc.entry.js +0 -1
  265. package/dist/huds-lib/p-69559eff.entry.js +0 -1
  266. package/dist/huds-lib/p-69849560.entry.js +0 -1
  267. package/dist/huds-lib/p-6c54b7bc.entry.js +0 -1
  268. package/dist/huds-lib/p-6c56dcbb.entry.js +0 -1
  269. package/dist/huds-lib/p-7225fde6.entry.js +0 -1
  270. package/dist/huds-lib/p-734da8db.entry.js +0 -1
  271. package/dist/huds-lib/p-75f84185.entry.js +0 -1
  272. package/dist/huds-lib/p-795c4838.entry.js +0 -1
  273. package/dist/huds-lib/p-7ca87180.entry.js +0 -1
  274. package/dist/huds-lib/p-7dd26e2a.entry.js +0 -1
  275. package/dist/huds-lib/p-830cfabf.entry.js +0 -69
  276. package/dist/huds-lib/p-8a7b55ed.entry.js +0 -1
  277. package/dist/huds-lib/p-8f314f7f.entry.js +0 -1
  278. package/dist/huds-lib/p-90a2d5bd.entry.js +0 -1
  279. package/dist/huds-lib/p-98487b2c.entry.js +0 -1
  280. package/dist/huds-lib/p-9a45dd9a.entry.js +0 -1
  281. package/dist/huds-lib/p-9b5113e0.entry.js +0 -1
  282. package/dist/huds-lib/p-a0a1ead3.entry.js +0 -1
  283. package/dist/huds-lib/p-a4745be5.entry.js +0 -1
  284. package/dist/huds-lib/p-a54ddb3e.entry.js +0 -1
  285. package/dist/huds-lib/p-a7922d26.entry.js +0 -1
  286. package/dist/huds-lib/p-a82d4779.js +0 -1
  287. package/dist/huds-lib/p-aca0eb7d.entry.js +0 -1
  288. package/dist/huds-lib/p-afe191fd.entry.js +0 -1
  289. package/dist/huds-lib/p-b7268181.entry.js +0 -1
  290. package/dist/huds-lib/p-baada6d9.entry.js +0 -1
  291. package/dist/huds-lib/p-bd31e4b5.entry.js +0 -1
  292. package/dist/huds-lib/p-bd56a257.entry.js +0 -1
  293. package/dist/huds-lib/p-c2b771ef.entry.js +0 -1
  294. package/dist/huds-lib/p-c87b7917.entry.js +0 -1
  295. package/dist/huds-lib/p-ca66cf04.js +0 -1
  296. package/dist/huds-lib/p-cc3a6a5b.entry.js +0 -1
  297. package/dist/huds-lib/p-d56f5a7a.entry.js +0 -1
  298. package/dist/huds-lib/p-d5a6bba6.entry.js +0 -1
  299. package/dist/huds-lib/p-db4dc333.entry.js +0 -1
  300. package/dist/huds-lib/p-dc6a653f.entry.js +0 -1
  301. package/dist/huds-lib/p-dd2d9165.entry.js +0 -1
  302. package/dist/huds-lib/p-de9a3ec8.entry.js +0 -1
  303. package/dist/huds-lib/p-e24fb999.entry.js +0 -1
  304. package/dist/huds-lib/p-e430c2a0.entry.js +0 -1
  305. package/dist/huds-lib/p-e7abd29a.entry.js +0 -1
  306. package/dist/huds-lib/p-e834c239.entry.js +0 -1
  307. package/dist/huds-lib/p-efc359e3.entry.js +0 -1
  308. package/dist/huds-lib/p-f0d518a5.entry.js +0 -1
  309. package/dist/huds-lib/p-fbf11f85.entry.js +0 -1
  310. package/dist/huds-lib/p-fcf2d27d.entry.js +0 -1
  311. package/dist/huds-lib/p-ff62346a.entry.js +0 -1
  312. package/dist/loader/cdn.js +0 -3
  313. package/dist/loader/index.cjs.js +0 -3
  314. package/dist/loader/index.d.ts +0 -13
  315. package/dist/loader/index.es2017.js +0 -3
  316. package/dist/loader/index.js +0 -4
  317. package/dist/loader/package.json +0 -10
  318. package/loader/index.mjs +0 -22
  319. package/loader/node-main.js +0 -3
@@ -1,96 +0,0 @@
1
- import { r as registerInstance, h, H as Host } from './index-083c8c8a.js';
2
-
3
- const colors = {
4
- brandMain: '#0e688b',
5
- brandMainLight: '#107eab',
6
- brandMainActive: '#005379',
7
- brandMainDark: '#003146',
8
- brandMainNearlyBlack: '#000222',
9
- grayscaleWhite: '#fff',
10
- grayscaleLight: '#f8f8f8',
11
- grayscaleMedium: '#d2d2d2',
12
- grayscaleBackgroundBox: '#f5f5f5',
13
- grayscaleBackgroundArrow: '#dfdfdf',
14
- grayscaleMediumDark: '#979797',
15
- grayscaleDark: '#555555',
16
- grayscaleBlack: '#000000',
17
- additionalRedLight: '#E5053A',
18
- additionalRedDark: '#A31621',
19
- additionalPurpleLight: '#420039',
20
- additionalYellow: '#F9A21A',
21
- additionalSkyblue: '#48C5F8',
22
- additionalOrange: '#D14600',
23
- additionalGreenLight: '#96BA3C',
24
- additionalGreenDark: '#006400'
25
- };
26
-
27
- const buttonCss = "@charset \"UTF-8\";: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:#f9a21a;--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;-webkit-box-sizing:border-box;box-sizing:border-box}.hy-button__icon{-ms-flex-line-pack:center;align-content:center;display:-webkit-box;display:-ms-flexbox;display:flex}.hy-button{display:block;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--brand-main);color:var(--grayscale-white);font-family:var(--main-font-family);border:none;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;font-size:0.9375rem;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;line-height:0.9375rem;margin:0;padding:0;-webkit-transition-duration:0.1s;transition-duration:0.1s;-webkit-transition-property:all;transition-property:all;min-height:44px;position:relative;text-decoration:none}.hy-button.size-large{min-height:48px}.hy-button.primary{background-color:var(--brand-main);color:var(--grayscale-white)}.hy-button.primary .hy-button__icon{padding:8px 13px}.hy-button.primary svg{fill:var(--grayscale-white)}.hy-button.primary:hover{background-color:var(--brand-main-active)}.hy-button.primary:active{background-color:var(--brand-main-dark)}.hy-button.primary:disabled{background-color:var(--grayscale-medium);color:var(--grayscale-dark)}.hy-button.primary:disabled svg{fill:var(--grayscale-dark)}.hy-button.primary:focus{outline:solid 2px var(--additional-yellow);outline-offset:2px}.hy-button.secondary{background-color:transparent;border:solid 2px var(--brand-main);color:var(--brand-main)}.hy-button.secondary svg{fill:var(--brand-main)}.hy-button.secondary:hover{border:solid 2px var(--brand-main-active);color:var(--brand-main-active)}.hy-button.secondary:hover svg{fill:var(--brand-main-active)}.hy-button.secondary:active{border:solid 2px var(--brand-main-dark);color:var(--brand-main-dark)}.hy-button.secondary:active svg{fill:var(--brand-main-dark)}.hy-button.secondary:disabled{border:solid 2px var(--grayscale-medium-dark);color:var(--grayscale-medium-dark)}.hy-button.secondary:disabled svg{fill:var(--grayscale-medium-dark)}.hy-button::after{content:\"\";display:block;border-bottom:2px solid var(--additional-skyblue);position:absolute;bottom:-3.5px;left:3px;right:3px;z-index:0}.hy-button.primary::after{bottom:-2px}.hy-button:disabled{cursor:not-allowed}.hy-button:disabled::after{border-bottom:2px solid var(--grayscale-medium-dark);bottom:-3.5px}.hy-button:disabled.primary::after{bottom:-2px}.hy-button .hy-button__text{margin:12px 24px}.hy-button .hy-button__icon-right{padding-right:12px}hy-button[icon-right=hy-icon-arrow-right] .primary .hy-button__text{margin:12px 0 12px 16px;padding-right:16px}hy-button[icon-right=hy-icon-arrow-right] .primary:not(disabled) .hy-button__text{border-right:solid 1px var(--additional-skyblue)}hy-button[icon-right=hy-icon-arrow-right] .primary:disabled .hy-button__text{border-right:solid 1px var(--grayscale-dark)}hy-button[icon-right=hy-icon-arrow-right] .secondary .hy-button__text{margin:12px 16px}hy-button[icon-right=hy-icon-arrow-right] .secondary .hy-button__icon{padding-right:1rem;padding-left:0}hy-button[icon=hy-icon-arrow-left] .primary .hy-button__text{margin:12px 16px 12px 0;padding-left:16px}hy-button[icon=hy-icon-arrow-left] .primary:not(disabled) .hy-button__text{border-left:solid 1px var(--additional-skyblue)}hy-button[icon=hy-icon-arrow-left] .primary:disabled .hy-button__text{border-left:solid 1px var(--grayscale-dark)}hy-button[icon=hy-icon-arrow-left] .secondary .hy-button__text{margin:12px 16px}hy-button[icon=hy-icon-arrow-left] .secondary .hy-button__icon{padding-left:1rem;padding-right:0}";
28
-
29
- const fillcolors = {
30
- primary: colors.brandMain,
31
- secondary: 'white',
32
- };
33
- const Button = class {
34
- constructor(hostRef) {
35
- registerInstance(this, hostRef);
36
- /**
37
- * Button type. Defaults to submit.
38
- */
39
- this.buttonType = 'submit';
40
- /**
41
- * Custom classes added to button element.
42
- */
43
- this.buttonClasses = '';
44
- /**
45
- * The element variant. Defaults to primary
46
- */
47
- this.variant = 'primary';
48
- /**
49
- * deprecated, use disabled boolean value
50
- * */
51
- this.state = 'enabled';
52
- /**
53
- * Size (height) of the button. Normal: 44px, large: 48px
54
- */
55
- this.size = 'normal';
56
- /**
57
- * Use this to programmatically disable the button, matches the native button functionality
58
- */
59
- this.disabled = false;
60
- /**
61
- * Set this on if an anchor tag is required instead of a button.
62
- */
63
- this.url = '';
64
- /**
65
- * Use only with url property. Sets the
66
- */
67
- this.isExternal = false;
68
- this.attrs = '';
69
- }
70
- render() {
71
- const classAttributes = ['hy-button', this.variant, this.state, 'size-' + this.size, this.buttonClasses];
72
- const iconFillColor = fillcolors[this.variant];
73
- const target = this.isExternal ? '_blank' : '_self';
74
- let props = {};
75
- if (this.attrs && this.attrs.length > 2) {
76
- let attrString = JSON.parse(this.attrs);
77
- let attrArray = attrString.split('" ');
78
- attrArray.map((item) => {
79
- let parts = item.split('=');
80
- let key = parts[0];
81
- let value = parts[1];
82
- key = key.replaceAll('"', ' ');
83
- key = key.trim();
84
- if (key !== 'class') {
85
- value = value.replaceAll('"', ' ');
86
- value = value.trim();
87
- props[key] = value;
88
- }
89
- });
90
- }
91
- return this.url ? (h(Host, { "icon-right": "hy-icon-arrow-right", "aria-label": this.ariaLabel }, h("div", { style: { display: 'flex' } }, h("a", { class: classAttributes.join(' '), href: this.url, target: target }, h("span", { class: "hy-button__text" }, h("slot", null)), h("span", { class: "hy-button__icon" }, h("hy-icon", { icon: "hy-icon-arrow-right", fill: iconFillColor, size: 13 })))))) : (h(Host, { "aria-label": this.ariaLabel }, h("button", Object.assign({ type: this.buttonType, class: classAttributes.join(' '), disabled: this.disabled }, props), !!this.icon && (h("span", { class: "hy-button__icon hy-button__icon--left" }, h("hy-icon", { icon: this.icon, fill: iconFillColor, size: 13 }))), h("span", { class: "hy-button__text" }, h("slot", null)), !!this.iconRight && (h("span", { class: "hy-button__icon hy-button__icon--right" }, h("hy-icon", { icon: this.iconRight, fill: iconFillColor, size: 13 }))))));
92
- }
93
- };
94
- Button.style = buttonCss;
95
-
96
- export { Button as hy_button };
@@ -1,29 +0,0 @@
1
- import { r as registerInstance, h, H as Host } from './index-083c8c8a.js';
2
- import { e as CheckboxVariants } from './utils-708bbefe.js';
3
-
4
- const hyCheckboxCss = ":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:#f9a21a;--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-checkbox{display:inline-block;position:relative;margin-right:1rem}.hy-checkbox__checkmark{border-color:var(--link-blue);border-style:solid inset solid solid;border-width:2px;height:20px;margin-right:6px;min-width:20px;min-height:20px;position:relative;width:20px}.hy-checkbox__checkmark svg{bottom:0;left:0;position:absolute;visibility:hidden}.hy-checkbox__checkmark::before{background-color:var(--grayscale-white);content:\"\";height:10px;position:absolute;right:0;-webkit-transform:rotate(40deg) translate(6%, -55%);transform:rotate(40deg) translate(6%, -55%);visibility:hidden;width:8px}.hy-checkbox__label{font-size:0.875rem;line-height:20px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--grayscale-black);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-family:var(--main-font-family);letter-spacing:-0.4px;text-align:left}@media (min-width: 30rem){.hy-checkbox__label{font-size:1rem;line-height:20px}}.hy-checkbox__checkbox{height:100%;margin:0;opacity:0;position:absolute;width:100%;z-index:10}.hy-checkbox__checkbox:checked+label{color:var(--grayscale-black)}.hy-checkbox__checkbox:checked+label .hy-checkbox__checkmark svg,.hy-checkbox__checkbox:checked+label .hy-checkbox__checkmark::before{visibility:visible}.hy-checkbox__checkbox:hover{cursor:pointer}.hy-checkbox__checkbox:hover+label{color:var(--brand-main)}.hy-checkbox__checkbox:focus+label{outline-offset:1px;outline:2px solid var(--link-blue)}.hy-checkbox--button{display:inline-block;margin-right:4px;position:relative}.hy-checkbox--button__label{font-size:0.75rem;line-height:14px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:0.5px solid var(--grayscale-medium-dark);color:var(--link-blue);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-family:var(--main-font-family);font-weight:600;letter-spacing:-0.3px;padding:12px 15px 12px 13px;z-index:1}@media (min-width: 60rem){.hy-checkbox--button__label{font-size:0.875rem;line-height:18px;letter-spacing:-0.4px;padding:9px 8px 9px 8px}}.hy-checkbox--button__checkmark{position:absolute;right:12px;top:0;bottom:0}@media (min-width: 60rem){.hy-checkbox--button__checkmark{right:10px;bottom:calc(50% + 10px)}}.hy-checkbox--button__checkmark svg{bottom:0;left:0;position:absolute;visibility:hidden}.hy-checkbox--button__label-icon{height:13px;position:absolute;width:12px}@media (min-width: 60rem){.hy-checkbox--button__label-icon{padding:10px;right:-6px;top:calc(50% + 5px)}}.hy-checkbox--button__label-icon svg{background:var(--grayscale-white);height:12px;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);width:12px}.hy-checkbox--button__checkbox{height:100%;margin:0;opacity:0;position:absolute;width:100%;z-index:10}.hy-checkbox--button__checkbox:checked+label{border:1px solid var(--grayscale-black);color:var(--grayscale-black);padding:12px 15px 12px 13px}@media (min-width: 60rem){.hy-checkbox--button__checkbox:checked+label{border:2px solid var(--grayscale-black);padding:8px 26px 8px 7px}}.hy-checkbox--button__checkbox:checked+label .hy-checkbox--button__checkmark .hy-checkbox--button__label-icon{background:var(--grayscale-white)}.hy-checkbox--button__checkbox:checked+label .hy-checkbox--button__checkmark svg{visibility:visible}.hy-checkbox--button__checkbox:hover{cursor:pointer}.hy-checkbox--button__checkbox:focus+label{outline-offset:1px;outline:1px solid var(--link-blue)}";
5
-
6
- const HyCheckbox = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- /**
10
- * Checked attribute
11
- */
12
- this.checkboxChecked = false;
13
- /**
14
- * Variant to deifne what style of checkbox to use
15
- */
16
- this.variant = CheckboxVariants.default;
17
- }
18
- render() {
19
- switch (this.variant) {
20
- case 'button':
21
- return (h(Host, { class: "hy-checkbox--button" }, h("input", { type: "checkbox", class: "hy-checkbox--button__checkbox", checked: this.checkboxChecked, id: `${this.checkboxId}`, value: `${this.checkboxValue}` }), h("label", { class: "hy-checkbox--button__label", htmlFor: `${this.checkboxId}` }, this.checkboxLabel, h("span", { class: "hy-checkbox--button__checkmark" }, h("hy-icon", { class: "hy-checkbox--button__label-icon", icon: 'hy-icon-done', size: 14, "aria-hidden": "true" })))));
22
- default:
23
- return (h(Host, { class: "hy-checkbox" }, h("input", { type: "checkbox", class: "hy-checkbox__checkbox", checked: this.checkboxChecked, id: `${this.checkboxId}`, value: `${this.checkboxValue}` }), h("label", { class: "hy-checkbox__label", htmlFor: `${this.checkboxId}` }, h("span", { class: "hy-checkbox__checkmark" }, h("hy-icon", { class: "hy-checkbox__label-icon", icon: 'hy-icon-done', size: 23, "aria-hidden": "true" })), this.checkboxLabel)));
24
- }
25
- }
26
- };
27
- HyCheckbox.style = hyCheckboxCss;
28
-
29
- export { HyCheckbox as hy_checkbox };
@@ -1,15 +0,0 @@
1
- import { r as registerInstance, h } from './index-083c8c8a.js';
2
-
3
- const hyCollaborationCss = ":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:#f9a21a;--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-collaboration{border-bottom:1px solid var(--grayscale-dark);padding:32px 0}@media (min-width: 60rem){.hy-collaboration{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;display:grid;grid-template-columns:fit-content(calc(43.75% - 60px)) 1fr;gap:60px}}@media (min-width: 75.0625rem){.hy-collaboration{grid-template-columns:fit-content(calc(43% - 60px)) 1fr;padding:40px 0}}@media (min-width: 87.5rem){.hy-collaboration{grid-template-columns:fit-content(calc(42.5% - 60px)) 1fr}}@media (min-width: 1601px){.hy-collaboration{grid-template-columns:fit-content(calc(41.85% - 60px)) 1fr}}@media (min-width: 1750px){.hy-collaboration{grid-template-columns:fit-content(calc(41% - 60px)) 1fr}}@media (min-width: 120.0625rem){.hy-collaboration{grid-template-columns:fit-content(428px) 1fr}}.hy-collaboration__logo{margin:0 0 32px;padding:0}@media (min-width: 60rem){.hy-collaboration__logo{margin:0}}.hy-collaboration__logo img{max-width:75%;max-height:200px}@media (min-width: 30rem){.hy-collaboration__logo img{max-width:50%}}@media (min-width: 60rem){.hy-collaboration__logo img{max-width:100%;max-height:260px}}.hy-collaboration__description{font-size:0.9375rem;line-height:22px;font-family:var(--main-font-family);margin:0 0 12px}@media (min-width: 30rem){.hy-collaboration__description{font-size:1rem;line-height:24px}}@media (min-width: 75.0625rem){.hy-collaboration__description{font-size:1.0625rem;line-height:26px}}.hy-collaboration__link{font-size:0.9375rem;line-height:22px;font-weight:600;font-family:var(--main-font-family);color:var(--link-blue);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}@media (min-width: 30rem){.hy-collaboration__link{font-size:1rem;line-height:24px}}@media (min-width: 75.0625rem){.hy-collaboration__link{font-size:1.0625rem;line-height:26px}}.hy-collaboration__link span{margin-left:4px}.hy-collaboration__link span svg{fill:var(--link-blue)}";
4
-
5
- const HyCollaboration = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- }
9
- render() {
10
- return (h("div", { class: "hy-collaboration" }, h("figure", { class: "hy-collaboration__logo", role: "complementary" }, h("img", { src: this.imageUrl, alt: this.imageAltText })), h("div", { class: "hy-collaboration__content" }, h("p", { class: "hy-collaboration__description" }, this.textDescription), this.linkUrl && (h("a", { href: this.linkUrl, class: "hy-collaboration__link" }, this.linkTitle, h("span", { "aria-hidden": "true" }, h("hy-icon", { icon: 'hy-icon-arrow-right', size: 10 })))))));
11
- }
12
- };
13
- HyCollaboration.style = hyCollaborationCss;
14
-
15
- export { HyCollaboration as hy_collaboration };
@@ -1,66 +0,0 @@
1
- import { r as registerInstance, h, g as getElement } from './index-083c8c8a.js';
2
- import { g as CourseVariants, f as CourseStateVariants } from './utils-708bbefe.js';
3
- import { j as jsonParserWorker } from './globalScript-92c6b812.js';
4
-
5
- const hyContentListItemCss = ":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:#f9a21a;--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{background:radial-gradient(circle, #f8f8f8 0%, #f5f5f5 100%);cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:16px;position:relative}@media (min-width: 30rem){:host{margin-bottom:24px}}:host([variant=row]),:host(.row){max-width:100%;padding:21px 0 60px 12px;width:100%}@media (min-width: 30rem){:host([variant=row]),:host(.row){padding:21px 0 12px 24px}}@media (min-width: 60rem){:host([variant=row]),:host(.row){margin-bottom:16px}}:host(.grid){max-width:100%;padding:21px 0 60px 12px;width:100%}@media (min-width: 30rem){:host(.grid){margin-right:var(--gutter-medium);max-width:calc(((100% - var(--gutter-medium) * 11) / 12) * 6 + var(--gutter-medium) * 5);padding:21px 0 60px 12px;width:calc(((100% - var(--gutter-medium) * 11) / 12) * 6 + var(--gutter-medium) * 5)}}@media (min-width: 60rem){:host(.grid){margin-bottom:27px;margin-right:var(--gutter-wide);max-width:calc(((100% - var(--gutter-wide) * 11) / 12) * 4 + var(--gutter-wide) * 3);width:calc(((100% - var(--gutter-wide) * 11) / 12) * 4 + var(--gutter-wide) * 3)}}@media (min-width: 75.0625rem){:host(.grid){margin-bottom:32px;margin-right:var(--gutter-extrawide);max-width:calc(((100% - var(--gutter-extrawide) * 11) / 12) * 4 + var(--gutter-extrawide) * 3);width:calc(((100% - var(--gutter-extrawide) * 11) / 12) * 4 + var(--gutter-extrawide) * 3)}}@media (min-width: 30rem){:host(.grid:nth-of-type(2n+0)){margin-right:0}}@media (min-width: 60rem){:host(.grid:nth-of-type(2n+0)){margin-right:var(--gutter-wide)}}@media (min-width: 75.0625rem){:host(.grid:nth-of-type(2n+0)){margin-right:var(--gutter-extrawide)}}@media (min-width: 60rem){:host(.grid:nth-of-type(3n+0)){margin-right:0}}.hy-content-list-item{font-family:var(--main-font-family);position:relative;width:100%}.hy-content-list-item a{text-decoration:none}.hy-content-list-item--container{cursor:pointer}.hy-content-list-item--item-name{color:var(--link-blue);font-size:1.25rem;line-height:24px;font-weight:700;letter-spacing:-0.6px;margin-bottom:16px;word-break:break-word}.hy-content-list-item--item-name--past-courses{color:var(--grayscale-dark)}.hy-content-list-item--metadata{font-size:0.875rem;line-height:16px;font-weight:600;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;-ms-flex-wrap:wrap;flex-wrap:wrap;letter-spacing:-0.44px;line-height:16px;margin-bottom:19px;padding-bottom:0}.hy-content-list-item--metadata--item{padding-bottom:6px}@media (min-width: 30rem){.hy-content-list-item--metadata{padding-bottom:1rem}}@media (min-width: 75.0625rem){.hy-content-list-item--metadata{padding-bottom:0}}.hy-content-list-item--metadata--item:after{content:\"|\";padding:0 8px}.hy-content-list-item--metadata--item--last:after{content:\" \"}.hy-content-list-item .cancelled span{font-size:0.75rem;line-height:12px;font-weight:700;background-color:var(--additional-red-light);color:var(--grayscale-white);letter-spacing:-0.5px;padding:6px 8px;text-transform:uppercase}.hy-content-list-item .cancelled--past-courses span{background-color:var(--grayscale-dark)}.hy-content-list-item .cancelled:not(.mobile){display:none}.hy-content-list-item .cancelled.mobile{bottom:-50px;display:block;margin:0;padding-bottom:12px;position:absolute}@media (min-width: 30rem){.hy-content-list-item .cancelled{margin-right:8px}.hy-content-list-item .cancelled.mobile{display:none}.hy-content-list-item .cancelled:not(.mobile){display:block}}.hy-content-list-item--link{position:absolute;right:-6px}.hy-content-list-item--link a{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;text-decoration:none}.hy-content-list-item--link a .label{font-size:1rem;line-height:16px;font-weight:700;color:var(--link-blue);letter-spacing:-0.5px;line-height:16px;margin-right:8px;text-align:right}.hy-content-list-item--link a .icon-wrapper{background-color:var(--brand-main-light);z-index:10}.hy-content-list-item--link a .icon-wrapper .icon{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);position:relative;overflow:hidden}.hy-content-list-item--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:10.29px}.hy-content-list-item.row .hy-content-list-item--link{bottom:-60px;padding-bottom:12px}@media (min-width: 30rem){.hy-content-list-item.row .hy-content-list-item--link{bottom:0;padding-bottom:0}}.hy-content-list-item.row .hy-content-list-item--tags{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap}@media (min-width: 60rem){.hy-content-list-item.row .hy-content-list-item--tags{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;padding-right:200px}}.hy-content-list-item.grid .hy-content-list-item--link{bottom:-60px;padding-bottom:12px}.hy-content-list-item.grid .hy-content-list-item--tags{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap}";
6
-
7
- let keys = {
8
- enter: 'Enter',
9
- };
10
- const HyContentLstItem = class {
11
- constructor(hostRef) {
12
- registerInstance(this, hostRef);
13
- this.variant = CourseVariants.default;
14
- this.stateVariant = CourseStateVariants.default;
15
- this.cancelledLabel = 'Cancelled';
16
- this._dateValue = '';
17
- }
18
- async componentWillLoad() {
19
- this._courseTags = await jsonParserWorker(this.courseTags);
20
- // Convert to date format: 25.05. - 30.07.2020. Incoming date is in format YYYY-MM-DD
21
- let startDate = this.courseStartDate ? this.courseStartDate.split(/\-|\s/) : '';
22
- let endDate = this.courseEndDate ? this.courseEndDate.split(/\-|\s/) : '';
23
- if (!startDate && endDate) {
24
- this._dateValue = ` - ${endDate[2]}.${endDate[1]}.${endDate[0]}`;
25
- }
26
- else if (startDate && !endDate) {
27
- this._dateValue = `${startDate[2]}.${startDate[1]}. - `;
28
- }
29
- else if (startDate && endDate) {
30
- this._dateValue = `${startDate[2]}.${startDate[1]}. - ${endDate[2]}.${endDate[1]}.${endDate[0]}`;
31
- }
32
- }
33
- handleKeyDown(event) {
34
- const key = event.code;
35
- if (key == keys.enter) {
36
- let card = this.el;
37
- window.open(card.dataset.location, '_blank', 'noopener');
38
- }
39
- }
40
- render() {
41
- const classAttributes = [this.variant, 'hy-content-list-item'].join(' ');
42
- const target = '_blank';
43
- const ariaLabel = 'Link points outside the current website.';
44
- const classItemName = [
45
- 'hy-content-list-item--item-name',
46
- `hy-content-list-item--item-name--${this.stateVariant}`,
47
- ].join(' ');
48
- const classItemCancelled = ['cancelled', `cancelled--${this.stateVariant}`].join(' ');
49
- return [
50
- h("div", { class: classAttributes, tabindex: "0" }, h("div", { class: classItemName }, this.courseName), h("div", { class: "hy-content-list-item--metadata" }, this.isCancelled && (h("div", { class: classItemCancelled }, h("span", null, this.cancelledLabel))), h("div", { class: "hy-content-list-item--metadata--item hy-content-list-item--metadata--item--first" }, h("span", null, this._dateValue)), this.courseOrganisation
51
- ? [
52
- h("div", { class: "hy-content-list-item--metadata--item" }, h("span", null, this.courseStudyFormat)),
53
- h("div", { class: "hy-content-list-item--metadata--item hy-content-list-item--metadata--item--last" }, h("span", null, this.courseOrganisation)),
54
- ]
55
- : [
56
- h("div", { class: "hy-content-list-item--metadata--item hy-content-list-item--metadata--item--last" }, h("span", null, this.courseStudyFormat)),
57
- ]), this._courseTags && this._courseTags.length > 0 && (h("div", { class: "hy-content-list-item--tags" }, this._courseTags.map((x) => {
58
- return h("hy-tag", null, x.name);
59
- }))), this.isCancelled && (h("div", { class: "cancelled mobile" }, h("span", null, this.cancelledLabel))), h("div", { class: "hy-content-list-item--link" }, h("a", { href: this.courseEnrollmentLink, target: target, "aria-label": ariaLabel, class: "hy-content-list-item--link--link", tabindex: "-1" }, h("span", { class: "label" }, this.courseLinkLabel), h("span", { class: "icon-wrapper" }, h("div", { class: "icon" }, h("hy-icon", { icon: 'hy-icon-arrow-to-right', size: 40 })))))),
60
- ];
61
- }
62
- get el() { return getElement(this); }
63
- };
64
- HyContentLstItem.style = hyContentListItemCss;
65
-
66
- export { HyContentLstItem as hy_content_list_item };
@@ -1,108 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-083c8c8a.js';
2
- import { f as CourseStateVariants, g as CourseVariants } from './utils-708bbefe.js';
3
-
4
- const hyContentListCss = ":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:#f9a21a;--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-content-list{display:-webkit-box;display:-ms-flexbox;display:flex;font-family:var(--main-font-family);-ms-flex-wrap:wrap;flex-wrap:wrap}.hy-content-list--no-result{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.hy-content-list--alert{margin-right:6px}.hy-content-list--alert svg{fill:var(--grayscale-dark)}@media (min-width: 1601px){.hy-content-list--alert svg{height:18px;width:18px}}@media (min-width: 87.5rem){.hy-content-list--alert--large svg{height:18px;width:18px}}.hy-content-list--alert-label{font-family:var(--main-font-family);font-size:0.9375rem;line-height:22px;color:var(--grayscale-dark);font-style:italic;letter-spacing:0}@media (min-width: 30rem){.hy-content-list--alert-label{font-size:1rem;line-height:24px}}@media (min-width: 1601px){.hy-content-list--alert-label{font-size:1.0625rem;line-height:26px}}@media (min-width: 87.5rem){.hy-content-list--alert-label--large{font-size:1.0625rem;line-height:26px}}.hy-content-list.row{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.hy-content-list.grid{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}";
5
-
6
- const HyContentList = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.linkLabel = 'Go to course page';
10
- this.noResultLabel = 'No courses scheduled at the moment';
11
- this.creditsLabel = 'cr';
12
- this.cancelledLabel = 'Cancelled';
13
- this.headerstyle = 'common';
14
- this.courseStateVariant = CourseStateVariants.default;
15
- this.variant = CourseVariants.default;
16
- this.courseRealisations = [];
17
- }
18
- /**
19
- * Data for links to be displayed.
20
- */
21
- dataWatcher(data) {
22
- this._dataItems = typeof data === 'string' ? JSON.parse(data) : data;
23
- }
24
- componentWillLoad() {
25
- this.dataWatcher(this.dataItems);
26
- }
27
- handleCardClick(id) {
28
- let card = this.el.shadowRoot.getElementById(id);
29
- if (card) {
30
- window.open(card.dataset.location, '_blank');
31
- }
32
- }
33
- async componentDidLoad() {
34
- let hyMainDiv = this.el.closest('.hy-main');
35
- if (hyMainDiv) {
36
- if (!hyMainDiv.classList.contains('with-sidebar')) {
37
- this.headerstyle = 'large';
38
- }
39
- }
40
- }
41
- renderItems() {
42
- let courseRealisations = [];
43
- if (this._dataItems && this._dataItems.length > 0) {
44
- this._dataItems.forEach((item) => {
45
- let courseObject = JSON.parse(JSON.stringify(item));
46
- const courseListType = courseObject['courseListType'];
47
- this.variant = courseListType == 'list' ? CourseVariants.row : CourseVariants.grid;
48
- for (let courseProperty in courseObject) {
49
- if (courseProperty == 'courseListType')
50
- continue;
51
- let courseItem = courseObject[courseProperty];
52
- let courseCode = courseItem['code'];
53
- let courseCredits = courseItem['credits'];
54
- // Course realisations.
55
- if (courseItem['realisations']) {
56
- let realisations = JSON.parse(JSON.stringify(courseItem['realisations']));
57
- for (let realisationProperty in realisations) {
58
- let realizationItem = realisations[realisationProperty];
59
- let courseRealisationName = realizationItem['name'];
60
- let courseRealisationFullName = courseRealisationName + ', ' + courseCredits + ' ' + this.creditsLabel;
61
- let courseStudyFormat = realizationItem['studyFormat'];
62
- let courseCancelled = realizationItem['cancelled'];
63
- let courseStartDate = realizationItem['startDate'];
64
- let courseEndDate = realizationItem['endDate'];
65
- let courseEnrollmentLink = realizationItem['enrolmentLink'];
66
- let courseTeachingLanguage = realizationItem['teachingLanguage'];
67
- let courseOrganisation = realizationItem['organisation'];
68
- let courseTags = [];
69
- if (realizationItem['tags']) {
70
- let tags = JSON.parse(JSON.stringify(realizationItem['tags']));
71
- for (let z in tags) {
72
- let tagItem = { name: tags[z] };
73
- courseTags.push(tagItem);
74
- }
75
- }
76
- let courseTagsJSON = JSON.stringify(courseTags);
77
- const contentListItemClassAttributes = ['item', this.variant].join(' ');
78
- courseRealisations.push(h("hy-content-list-item", { id: realisationProperty, class: contentListItemClassAttributes, variant: this.variant, "state-variant": this.courseStateVariant, "course-code": courseCode, "course-name": courseRealisationFullName, "is-cancelled": courseCancelled, "cancelled-label": this.cancelledLabel, "course-credits": courseCredits, "course-tags": courseTagsJSON, "course-start-date": courseStartDate, "course-end-date": courseEndDate, "course-study-format": courseStudyFormat, "course-organisation": courseOrganisation, "course-enrollment-link": courseEnrollmentLink, "course-teaching-language": courseTeachingLanguage, "course-link-label": this.linkLabel, "data-location": courseEnrollmentLink, onClick: () => this.handleCardClick(realisationProperty) }));
79
- }
80
- }
81
- }
82
- });
83
- }
84
- return courseRealisations;
85
- }
86
- render() {
87
- const classAttributes = [this.variant, 'hy-content-list'].join(' ');
88
- const classAlertAttributes = ['hy-content-list--alert', `hy-content-list--alert--${this.headerstyle}`].join(' ');
89
- const classAlertLabelAttributes = [
90
- 'hy-content-list--alert-label',
91
- `hy-content-list--alert-label--${this.headerstyle}`,
92
- ].join(' ');
93
- this.courseRealisations = this.renderItems();
94
- if (this.courseRealisations && this.courseRealisations.length > 0) {
95
- return (h(Host, null, h("div", { class: classAttributes }, this.courseRealisations)));
96
- }
97
- else {
98
- return (h(Host, null, h("div", { class: classAttributes }, h("div", { class: "hy-content-list--no-result" }, h("span", { class: classAlertAttributes }, h("hy-icon", { icon: 'hy-icon-info', size: 16 })), h("span", { class: classAlertLabelAttributes }, this.noResultLabel)))));
99
- }
100
- }
101
- get el() { return getElement(this); }
102
- static get watchers() { return {
103
- "dataItems": ["dataWatcher"]
104
- }; }
105
- };
106
- HyContentList.style = hyContentListCss;
107
-
108
- export { HyContentList as hy_content_list };
@@ -1,15 +0,0 @@
1
- import { r as registerInstance, h, H as Host } from './index-083c8c8a.js';
2
-
3
- const hyCrisisBannerCss = ":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:#f9a21a;--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{-webkit-box-shadow:inset 0 -20px 20px -20px rgba(14, 104, 139, 0.1);box-shadow:inset 0 -20px 20px -20px rgba(14, 104, 139, 0.1);display:block}.hy-crisis-banner__container{display:-webkit-box;display:-ms-flexbox;display:flex;margin:0 auto;max-width:1216px}.hy-crisis-banner__indicator{background-color:var(--additional-yellow);-ms-flex-negative:0;flex-shrink:0}@media (min-width: 30rem){.hy-crisis-banner__indicator{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}}.hy-crisis-banner__indicator-icon{margin-left:8px;margin-right:8px;margin-top:10px}@media (min-width: 30rem){.hy-crisis-banner__indicator-icon{margin-left:10px;margin-right:10px;margin-top:0}}.hy-crisis-banner__indicator-icon svg{height:22px;width:22px}.hy-crisis-banner__indicator-icon svg circle{fill:var(--grayscale-white)}.hy-crisis-banner__indicator-icon svg path{fill:var(--additional-yellow)}.hy-crisis-banner__content-wrapper{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;padding:12px 0 12px 12px}@media (min-width: 30rem){.hy-crisis-banner__content-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;padding:14px 0 14px 14px}}@media (min-width: 60rem){.hy-crisis-banner__content-wrapper{padding:20px 0 20px 20px}}@media (min-width: 30rem){.hy-crisis-banner__content{max-width:61.22%;width:100%}}@media (min-width: 60rem){.hy-crisis-banner__content{max-width:65.83%}}@media (min-width: 75.0625rem){.hy-crisis-banner__content{max-width:65.79%}}.hy-crisis-banner__title{font-size:0.875rem;line-height:16px;font-weight:700;color:var(--grayscale-black);font-family:var(--main-font-family);letter-spacing:-0.35px;margin:0 0 2px 0}@media (min-width: 1601px){.hy-crisis-banner__title{font-size:1rem;line-height:18px;letter-spacing:-0.4px}}.hy-crisis-banner__description{font-size:0.75rem;line-height:14px;color:var(--grayscale-dark);font-family:var(--main-font-family);letter-spacing:-0.35px;margin:0}@media (min-width: 30rem){.hy-crisis-banner__description{font-size:0.875rem;line-height:16px}}.hy-crisis-banner__description p{margin-top:0}.hy-crisis-banner__description p:last-of-type{margin-bottom:0}.hy-crisis-banner__link{font-size:0.875rem;line-height:16px;font-weight:600;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--brand-main-light);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-family:var(--main-font-family);letter-spacing:-0.5px;margin:12px 0 0;overflow:hidden;text-decoration:none}@media (min-width: 30rem){.hy-crisis-banner__link{-ms-flex-negative:0;flex-shrink:0;margin-left:24px;margin-right:32px;margin-top:0;text-align:right}}@media (min-width: 75.0625rem){.hy-crisis-banner__link{margin-left:32px}}@media (min-width: 1601px){.hy-crisis-banner__link{font-size:1rem;line-height:18px}}.hy-crisis-banner__link:hover,.hy-crisis-banner__link:focus{color:var(--brand-main);text-decoration:underline}.hy-crisis-banner__link:hover .hy-crisis-banner__link-icon svg,.hy-crisis-banner__link:focus .hy-crisis-banner__link-icon svg{fill:var(--brand-main)}.hy-crisis-banner__link-icon{margin-left:4px}@media (min-width: 30rem){.hy-crisis-banner__link-icon{margin-left:8px}}@media (min-width: 75.0625rem){.hy-crisis-banner__link-icon{margin-left:12px}}.hy-crisis-banner__link-icon svg{fill:var(--brand-main-light);height:12px;width:12px}@media (min-width: 30rem){.hy-crisis-banner__link-icon svg{height:14px;width:14px}}@media (min-width: 1601px){.hy-crisis-banner__link-icon svg{height:16px;width:16px}}";
4
-
5
- const HyCrisisBanner = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- }
9
- render() {
10
- return (h(Host, { class: "hy-crisis-banner", role: "alert" }, h("div", { class: "hy-crisis-banner__container" }, h("div", { class: "hy-crisis-banner__indicator" }, h("hy-icon", { class: 'hy-crisis-banner__indicator-icon', icon: 'hy-icon-alert' })), h("div", { class: "hy-crisis-banner__content-wrapper" }, h("div", { class: "hy-crisis-banner__content" }, h("h3", { class: "hy-crisis-banner__title" }, this.bannerTitle), this.bannerDescription && (h("div", { class: "hy-crisis-banner__description", innerHTML: this.bannerDescription }))), this.linkUrl && (h("a", { class: "hy-crisis-banner__link", href: this.linkUrl }, this.linkTitle, h("hy-icon", { class: 'hy-crisis-banner__link-icon', icon: 'hy-icon-arrow-to-right' })))))));
11
- }
12
- };
13
- HyCrisisBanner.style = hyCrisisBannerCss;
14
-
15
- export { HyCrisisBanner as hy_crisis_banner };
@@ -1,26 +0,0 @@
1
- import { r as registerInstance, h, g as getElement } from './index-083c8c8a.js';
2
- import { b as CtaLinkButtonVariants } from './utils-708bbefe.js';
3
-
4
- const ctaButtonCss = ":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:#f9a21a;--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-cta-button-container{display:-webkit-box;display:-ms-flexbox;display:flex}.hy-cta-button{cursor:pointer;font-family:var(--main-font-family);font-weight:700;position:relative;text-decoration:none}.hy-cta-button.transparent-background,.hy-cta-button.black-background,.hy-cta-button.blue-background,.hy-cta-button.white-background,.hy-cta-button.hero-white,.hy-cta-button.hero-blue,.hy-cta-button.hero-black,.hy-cta-button.dark-blue-background{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;max-width:328px;padding:13px 16px}.hy-cta-button.transparent-background .text,.hy-cta-button.black-background .text,.hy-cta-button.blue-background .text,.hy-cta-button.white-background .text,.hy-cta-button.hero-white .text,.hy-cta-button.hero-blue .text,.hy-cta-button.hero-black .text,.hy-cta-button.dark-blue-background .text{font-size:1rem;line-height:18px;letter-spacing:-0.3px}.hy-cta-button.transparent-background .link-icon,.hy-cta-button.black-background .link-icon,.hy-cta-button.blue-background .link-icon,.hy-cta-button.white-background .link-icon,.hy-cta-button.hero-white .link-icon,.hy-cta-button.hero-blue .link-icon,.hy-cta-button.hero-black .link-icon,.hy-cta-button.dark-blue-background .link-icon{margin-left:8px}.hy-cta-button.transparent-background .link-icon svg,.hy-cta-button.black-background .link-icon svg,.hy-cta-button.blue-background .link-icon svg,.hy-cta-button.white-background .link-icon svg,.hy-cta-button.hero-white .link-icon svg,.hy-cta-button.hero-blue .link-icon svg,.hy-cta-button.hero-black .link-icon svg,.hy-cta-button.dark-blue-background .link-icon svg{height:16px;width:16px}.hy-cta-button.dark-blue-background{background-color:var(--brand-main-dark);border:4px solid var(--grayscale-white);color:var(--grayscale-white)}.hy-cta-button.dark-blue-background .link-icon svg{background-color:var(--brand-main-dark);fill:var(--grayscale-white)}.hy-cta-button.dark-blue-background .text{color:var(--grayscale-white)}.hy-cta-button.transparent-background{background-color:var(--grayscale-white);border:4px solid var(--grayscale-black);color:var(--grayscale-black)}.hy-cta-button.transparent-background .link-icon svg{background-color:var(--grayscale-white);fill:var(--grayscale-black)}.hy-cta-button.transparent-background .text{color:var(--grayscale-black)}.hy-cta-button.black-background{background-color:var(--grayscale-black);border:4px solid var(--grayscale-white);color:var(--grayscale-white)}.hy-cta-button.black-background .link-icon svg{background-color:var(--grayscale-black);fill:var(--grayscale-white)}.hy-cta-button.black-background .text{color:var(--grayscale-white)}.hy-cta-button.black-background:hover{background-color:var(--brand-main-active)}.hy-cta-button.black-background:hover .link-icon svg{background-color:var(--brand-main-active)}.hy-cta-button.black-background:focus{background-color:var(--brand-main)}.hy-cta-button.black-background:focus .link-icon svg{background-color:var(--brand-main)}.hy-cta-button.blue-background{background-color:var(--brand-main-light);border:4px solid var(--grayscale-white);color:var(--grayscale-white)}.hy-cta-button.blue-background .link-icon svg{background-color:var(--brand-main-light);fill:var(--grayscale-white)}.hy-cta-button.blue-background .text{color:var(--grayscale-white)}.hy-cta-button.blue-background:hover{background-color:var(--brand-main)}.hy-cta-button.blue-background:hover .link-icon svg{background-color:var(--brand-main)}.hy-cta-button.blue-background:focus{background-color:var(--brand-main-active)}.hy-cta-button.blue-background:focus .link-icon svg{background-color:var(--brand-main-active)}.hy-cta-button.white-background{background-color:var(--grayscale-white);border:4px solid var(--brand-main-light);color:var(--brand-main-light)}.hy-cta-button.white-background .link-icon svg{background-color:var(--grayscale-white);fill:var(--brand-main-light)}.hy-cta-button.white-background .text{color:var(--brand-main-light)}.hy-cta-button.white-background:hover{border-color:var(--brand-main)}.hy-cta-button.white-background:hover .text{color:var(--brand-main)}.hy-cta-button.white-background:hover .link-icon svg{fill:var(--brand-main)}.hy-cta-button.white-background:focus{border-color:var(--brand-main-active)}.hy-cta-button.white-background:focus .text{color:var(--brand-main-active)}.hy-cta-button.white-background:focus .link-icon svg{fill:var(--brand-main-active)}.hy-cta-button.hero-white{background-color:var(--brand-main-light);color:var(--grayscale-white)}.hy-cta-button.hero-white .link-icon svg{background-color:var(--brand-main-light);fill:var(--grayscale-white)}.hy-cta-button.hero-white .text{color:var(--grayscale-white)}.hy-cta-button.hero-white:hover{background-color:var(--brand-main)}.hy-cta-button.hero-white:hover .link-icon svg{background-color:var(--brand-main)}.hy-cta-button.hero-white:focus{background-color:var(--brand-main-active)}.hy-cta-button.hero-white:focus .link-icon svg{background-color:var(--brand-main-active)}.hy-cta-button.hero-black{background-color:var(--grayscale-black);border:4px solid var(--grayscale-white);color:var(--grayscale-white)}.hy-cta-button.hero-black .link-icon svg{background-color:var(--grayscale-black);fill:var(--grayscale-white)}.hy-cta-button.hero-black .text{color:var(--grayscale-white)}.hy-cta-button.hero-black:hover{border-color:var(--brand-main-soft)}.hy-cta-button.hero-black:hover .text{color:var(--brand-main-soft)}.hy-cta-button.hero-black:hover .link-icon svg{fill:var(--brand-main-soft)}.hy-cta-button.hero-black:focus{border-color:var(--brand-main-soft)}.hy-cta-button.hero-black:focus .text{color:var(--brand-main-soft)}.hy-cta-button.hero-black:focus .link-icon svg{fill:var(--brand-main-soft)}.hy-cta-button.hero-blue{background-color:var(--brand-main);border:4px solid var(--grayscale-white);color:var(--grayscale-white)}.hy-cta-button.hero-blue .link-icon svg{background-color:var(--brand-main);fill:var(--grayscale-white)}.hy-cta-button.hero-blue .text{color:var(--grayscale-white)}.hy-cta-button.hero-blue:hover{border-color:var(--brand-main-soft)}.hy-cta-button.hero-blue:hover .text{color:var(--brand-main-soft)}.hy-cta-button.hero-blue:hover .link-icon svg{fill:var(--brand-main-soft)}.hy-cta-button.hero-blue:focus{border-color:var(--brand-main-soft)}.hy-cta-button.hero-blue:focus .text{color:var(--brand-main-soft)}.hy-cta-button.hero-blue:focus .link-icon svg{fill:var(--brand-main-soft)}";
5
-
6
- const CtaButton = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.variant = CtaLinkButtonVariants.onBlueBkgd;
10
- this.linkContent = '';
11
- this.isExternal = false;
12
- this.headerstyle = 'common';
13
- }
14
- render() {
15
- const classAttributes = ['hy-cta-button', this.variant, this.headerstyle].join(' ');
16
- const containerClassAttributes = ['hy-cta-button-container'].join(' ');
17
- const textClassAttributes = ['text'].join(' ');
18
- const iconClassAttributes = ['link-icon'].join(' ');
19
- const target = this.isExternal ? '_blank' : '_self';
20
- return (h("span", { class: containerClassAttributes }, h("a", { "aria-label": this.scLabel, class: classAttributes, href: this.url, target: target }, h("span", { class: textClassAttributes }, this.linkContent.length === 0 ? h("slot", null) : this.linkContent), h("span", { class: iconClassAttributes }, h("hy-icon", { icon: 'hy-icon-arrow-right', size: 48 })))));
21
- }
22
- get el() { return getElement(this); }
23
- };
24
- CtaButton.style = ctaButtonCss;
25
-
26
- export { CtaButton as hy_cta_button };
@@ -1,22 +0,0 @@
1
- import { r as registerInstance, h, g as getElement } from './index-083c8c8a.js';
2
- import { r as CtaLinkVariants } from './utils-708bbefe.js';
3
-
4
- const ctaLinkCss = ":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:#f9a21a;--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-cta-link{font-weight:600;font-size:1rem;line-height:24px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--brand-main);display:inline-grid;font-family:var(--main-font-family);gap:16px;grid-auto-flow:column;letter-spacing:-0.5px;overflow:hidden;text-decoration:none}.hy-cta-link:hover,.hy-cta-link:focus{text-decoration:underline}.hy-cta-link:hover .hy-cta-link__icon,.hy-cta-link:focus .hy-cta-link__icon{background-color:var(--brand-main)}.hy-cta-link__icon{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--brand-main-light);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:40px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:40px}.hy-cta-link__icon svg{fill:var(--grayscale-white)}.hy-cta-link__icon--external svg{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}";
5
-
6
- const CtaLink = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.variant = CtaLinkVariants.default;
10
- this.linkContent = '';
11
- this.isExternal = false;
12
- }
13
- render() {
14
- const iconClassAttributes = ['hy-cta-link__icon', this.isExternal && 'hy-cta-link__icon--external'].join(' ');
15
- const target = this.isExternal ? '_blank' : '_self';
16
- return (h("a", { "aria-label": this.scLabel, href: this.url, target: target, class: `hy-cta-link hy-cta-link--${this.variant}` }, this.variant == CtaLinkVariants.linkList && (h("span", { class: iconClassAttributes }, h("hy-icon", { icon: 'hy-icon-arrow-to-right', size: 24 }))), h("span", null, this.linkContent), this.variant == CtaLinkVariants.default && (h("span", { class: iconClassAttributes }, h("hy-icon", { icon: 'hy-icon-arrow-to-right', size: 24 })))));
17
- }
18
- get el() { return getElement(this); }
19
- };
20
- CtaLink.style = ctaLinkCss;
21
-
22
- export { CtaLink as hy_cta_link };