@itcenteratunihelsinki/huds-lib 0.5.45 → 0.6.1

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 (321) 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_89.cjs.entry.js +7658 -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/cjs/{utils-eeb7b089.js → utils-00f72b1e.js} +0 -2
  8. package/dist/collection/collection-manifest.json +95 -14
  9. package/dist/collection/components/button/button.js +7 -2
  10. package/dist/collection/components/heading/heading.js +4 -4
  11. package/dist/collection/components/hy-main/hy-main.css +3 -2
  12. package/dist/collection/components/navigation/menu/menu.js +47 -35
  13. package/dist/collection/components/navigation/menu-item/menu-item.js +1 -17
  14. package/dist/collection/components/navigation/menu-level-container/menu-level-container.css +0 -236
  15. package/dist/collection/components/navigation/menu-level-container/menu-level-container.js +1 -48
  16. package/dist/collection/components/person-profile/person-profile.js +8 -1
  17. package/dist/collection/components/site-header/hy-desktop-menu-links/hy-desktop-menu-links.js +27 -19
  18. package/dist/collection/components/site-header/site-header.js +15 -3
  19. package/dist/collection/utils/utils.js +0 -2
  20. package/dist/esm/color-box_8.entry.js +199 -0
  21. package/dist/esm/{globalScript-92c6b812.js → globalScript-9d045b36.js} +1 -1
  22. package/dist/esm/huds-lib.js +4 -4
  23. package/dist/esm/hy-accordion-container_89.entry.js +7566 -0
  24. package/dist/esm/{index-083c8c8a.js → index-daaf0985.js} +80 -64
  25. package/dist/esm/loader.js +4 -4
  26. package/dist/esm/{utils-708bbefe.js → utils-159098a4.js} +1 -3
  27. package/dist/huds-lib/huds-lib.esm.js +1 -1
  28. package/dist/huds-lib/{p-fd1edbd5.js → p-04dcccdc.js} +1 -1
  29. package/dist/huds-lib/p-152d3e8d.entry.js +86 -0
  30. package/dist/huds-lib/p-2efc8ca0.entry.js +1 -0
  31. package/dist/huds-lib/{p-8ab550d6.js → p-d9dc337b.js} +1 -1
  32. package/dist/huds-lib/{p-bb24c6b5.js → p-f8697bf9.js} +1 -1
  33. package/dist/types/components/button/button.d.ts +1 -1
  34. package/dist/types/components/navigation/menu/menu.d.ts +1 -0
  35. package/dist/types/components/person-profile/person-profile.d.ts +1 -0
  36. package/dist/types/components.d.ts +1 -201
  37. package/dist/types/stencil-public-runtime.d.ts +7 -4
  38. package/dist/types/utils/utils.d.ts +0 -2
  39. package/loader/index.d.ts +13 -4
  40. package/loader/{index.es2017.mjs → index.es2017.js} +1 -2
  41. package/loader/index.js +13 -0
  42. package/loader/package.json +5 -7
  43. package/package.json +2 -2
  44. package/dist/cjs/color-box.cjs.entry.js +0 -19
  45. package/dist/cjs/emotion.esm-563b6504.js +0 -1397
  46. package/dist/cjs/hy-accordion-container_5.cjs.entry.js +0 -578
  47. package/dist/cjs/hy-adjacent-image-text.cjs.entry.js +0 -51
  48. package/dist/cjs/hy-anchor-link-list.cjs.entry.js +0 -45
  49. package/dist/cjs/hy-badge.cjs.entry.js +0 -21
  50. package/dist/cjs/hy-banner.cjs.entry.js +0 -45
  51. package/dist/cjs/hy-baseline.cjs.entry.js +0 -32
  52. package/dist/cjs/hy-box-container.cjs.entry.js +0 -33
  53. package/dist/cjs/hy-box.cjs.entry.js +0 -165
  54. package/dist/cjs/hy-breadcrumbs.cjs.entry.js +0 -231
  55. package/dist/cjs/hy-button.cjs.entry.js +0 -100
  56. package/dist/cjs/hy-checkbox.cjs.entry.js +0 -33
  57. package/dist/cjs/hy-collaboration.cjs.entry.js +0 -19
  58. package/dist/cjs/hy-content-list-item.cjs.entry.js +0 -70
  59. package/dist/cjs/hy-content-list.cjs.entry.js +0 -112
  60. package/dist/cjs/hy-crisis-banner.cjs.entry.js +0 -19
  61. package/dist/cjs/hy-cta-button.cjs.entry.js +0 -30
  62. package/dist/cjs/hy-cta-link.cjs.entry.js +0 -26
  63. package/dist/cjs/hy-desktop-menu-links.cjs.entry.js +0 -328
  64. package/dist/cjs/hy-docs-container.cjs.entry.js +0 -19
  65. package/dist/cjs/hy-dropdown-panel_2.cjs.entry.js +0 -27
  66. package/dist/cjs/hy-dropdown.cjs.entry.js +0 -113
  67. package/dist/cjs/hy-filter-group-item.cjs.entry.js +0 -17
  68. package/dist/cjs/hy-filter-group.cjs.entry.js +0 -37
  69. package/dist/cjs/hy-filter-list-type.cjs.entry.js +0 -28
  70. package/dist/cjs/hy-filter-visibility-tool-reset_2.cjs.entry.js +0 -26
  71. package/dist/cjs/hy-filter-visibility-tool.cjs.entry.js +0 -24
  72. package/dist/cjs/hy-footer_5.cjs.entry.js +0 -201
  73. package/dist/cjs/hy-general-list_2.cjs.entry.js +0 -94
  74. package/dist/cjs/hy-grid-container.cjs.entry.js +0 -20
  75. package/dist/cjs/hy-grid-item.cjs.entry.js +0 -31
  76. package/dist/cjs/hy-grid-row.cjs.entry.js +0 -20
  77. package/dist/cjs/hy-heading.cjs.entry.js +0 -67
  78. package/dist/cjs/hy-hero.cjs.entry.js +0 -101
  79. package/dist/cjs/hy-icon.cjs.entry.js +0 -364
  80. package/dist/cjs/hy-image.cjs.entry.js +0 -50
  81. package/dist/cjs/hy-ingress.cjs.entry.js +0 -30
  82. package/dist/cjs/hy-introduction.cjs.entry.js +0 -55
  83. package/dist/cjs/hy-key-figure-group.cjs.entry.js +0 -77
  84. package/dist/cjs/hy-key-figure.cjs.entry.js +0 -22
  85. package/dist/cjs/hy-key-highlight-group.cjs.entry.js +0 -44
  86. package/dist/cjs/hy-key-highlight.cjs.entry.js +0 -22
  87. package/dist/cjs/hy-large-process-flow-phase.cjs.entry.js +0 -37
  88. package/dist/cjs/hy-large-process-flow.cjs.entry.js +0 -44
  89. package/dist/cjs/hy-link-box-list.cjs.entry.js +0 -54
  90. package/dist/cjs/hy-link-box.cjs.entry.js +0 -79
  91. package/dist/cjs/hy-link-list.cjs.entry.js +0 -44
  92. package/dist/cjs/hy-link.cjs.entry.js +0 -25
  93. package/dist/cjs/hy-list-item.cjs.entry.js +0 -239
  94. package/dist/cjs/hy-logo-grid-item.cjs.entry.js +0 -30
  95. package/dist/cjs/hy-logo-grid.cjs.entry.js +0 -20
  96. package/dist/cjs/hy-main-content-wrapper.cjs.entry.js +0 -20
  97. package/dist/cjs/hy-main.cjs.entry.js +0 -25
  98. package/dist/cjs/hy-menu-item-sidebar.cjs.entry.js +0 -159
  99. package/dist/cjs/hy-menu-item.cjs.entry.js +0 -147
  100. package/dist/cjs/hy-menu-language-item.cjs.entry.js +0 -25
  101. package/dist/cjs/hy-menu-language.cjs.entry.js +0 -91
  102. package/dist/cjs/hy-menu-level-container.cjs.entry.js +0 -137
  103. package/dist/cjs/hy-menu-main-group.cjs.entry.js +0 -151
  104. package/dist/cjs/hy-menu-mobile-breadcrumb.cjs.entry.js +0 -25
  105. package/dist/cjs/hy-menu-sidebar.cjs.entry.js +0 -290
  106. package/dist/cjs/hy-menu.cjs.entry.js +0 -111
  107. package/dist/cjs/hy-mobile-menu-shortcuts.cjs.entry.js +0 -26
  108. package/dist/cjs/hy-opening-hours-content.cjs.entry.js +0 -43
  109. package/dist/cjs/hy-opening-hours.cjs.entry.js +0 -35
  110. package/dist/cjs/hy-pager-item.cjs.entry.js +0 -45
  111. package/dist/cjs/hy-pager.cjs.entry.js +0 -20
  112. package/dist/cjs/hy-paragraph-text.cjs.entry.js +0 -45
  113. package/dist/cjs/hy-person-card.cjs.entry.js +0 -84
  114. package/dist/cjs/hy-person-profile.cjs.entry.js +0 -61
  115. package/dist/cjs/hy-process-flow-box.cjs.entry.js +0 -28
  116. package/dist/cjs/hy-process.cjs.entry.js +0 -57
  117. package/dist/cjs/hy-prominent-image.cjs.entry.js +0 -36
  118. package/dist/cjs/hy-quote.cjs.entry.js +0 -30
  119. package/dist/cjs/hy-row.cjs.entry.js +0 -42
  120. package/dist/cjs/hy-search-field.cjs.entry.js +0 -51
  121. package/dist/cjs/hy-section-container.cjs.entry.js +0 -19
  122. package/dist/cjs/hy-shortcuts.cjs.entry.js +0 -60
  123. package/dist/cjs/hy-site-header_3.cjs.entry.js +0 -444
  124. package/dist/cjs/hy-table-container.cjs.entry.js +0 -20
  125. package/dist/cjs/hy-tag.cjs.entry.js +0 -20
  126. package/dist/cjs/hy-tiny-text.cjs.entry.js +0 -20
  127. package/dist/cjs/hy-twitter-feed.cjs.entry.js +0 -27
  128. package/dist/cjs/hy-two-columns.cjs.entry.js +0 -21
  129. package/dist/cjs/hy-user-login-form.cjs.entry.js +0 -23
  130. package/dist/cjs/hy-video.cjs.entry.js +0 -67
  131. package/dist/cjs/index-314ad166.js +0 -967
  132. package/dist/collection/components/navigation/menu-item-sidebar/menu-item-sidebar.css +0 -399
  133. package/dist/collection/components/navigation/menu-item-sidebar/menu-item-sidebar.js +0 -580
  134. package/dist/collection/components/navigation/menu-sidebar/menu-sidebar.css +0 -337
  135. package/dist/collection/components/navigation/menu-sidebar/menu-sidebar.js +0 -669
  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 -39
  201. package/dist/esm/hy-opening-hours.entry.js +0 -31
  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 -47
  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 -438
  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-045ec3b7.entry.js +0 -6
  227. package/dist/huds-lib/p-065ae4a9.entry.js +0 -1
  228. package/dist/huds-lib/p-095afc4e.entry.js +0 -1
  229. package/dist/huds-lib/p-0a37696c.entry.js +0 -1
  230. package/dist/huds-lib/p-0b2e3057.entry.js +0 -1
  231. package/dist/huds-lib/p-0ba24d1d.entry.js +0 -1
  232. package/dist/huds-lib/p-0d751fcd.entry.js +0 -1
  233. package/dist/huds-lib/p-0def2cda.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-238bf6f7.entry.js +0 -1
  241. package/dist/huds-lib/p-24c25896.entry.js +0 -1
  242. package/dist/huds-lib/p-27a613af.entry.js +0 -1
  243. package/dist/huds-lib/p-29a5f847.entry.js +0 -1
  244. package/dist/huds-lib/p-2c83cfcf.entry.js +0 -1
  245. package/dist/huds-lib/p-309dde97.entry.js +0 -1
  246. package/dist/huds-lib/p-31d9c326.entry.js +0 -1
  247. package/dist/huds-lib/p-349817f6.entry.js +0 -1
  248. package/dist/huds-lib/p-3641da70.entry.js +0 -1
  249. package/dist/huds-lib/p-3bf480d9.entry.js +0 -1
  250. package/dist/huds-lib/p-3d35d226.entry.js +0 -1
  251. package/dist/huds-lib/p-3e4344d2.entry.js +0 -1
  252. package/dist/huds-lib/p-3f050660.entry.js +0 -1
  253. package/dist/huds-lib/p-40ab2704.entry.js +0 -6
  254. package/dist/huds-lib/p-4252e76e.entry.js +0 -1
  255. package/dist/huds-lib/p-47d919f5.entry.js +0 -1
  256. package/dist/huds-lib/p-488053bf.entry.js +0 -1
  257. package/dist/huds-lib/p-497703c3.entry.js +0 -1
  258. package/dist/huds-lib/p-4d4869f9.entry.js +0 -1
  259. package/dist/huds-lib/p-518b6042.entry.js +0 -1
  260. package/dist/huds-lib/p-51dd0bf2.entry.js +0 -1
  261. package/dist/huds-lib/p-521557a1.entry.js +0 -1
  262. package/dist/huds-lib/p-570b0c50.entry.js +0 -1
  263. package/dist/huds-lib/p-604e4a62.entry.js +0 -1
  264. package/dist/huds-lib/p-608090da.entry.js +0 -1
  265. package/dist/huds-lib/p-67b6fddc.entry.js +0 -1
  266. package/dist/huds-lib/p-69559eff.entry.js +0 -1
  267. package/dist/huds-lib/p-69849560.entry.js +0 -1
  268. package/dist/huds-lib/p-6c54b7bc.entry.js +0 -1
  269. package/dist/huds-lib/p-6c56dcbb.entry.js +0 -1
  270. package/dist/huds-lib/p-7225fde6.entry.js +0 -1
  271. package/dist/huds-lib/p-734da8db.entry.js +0 -1
  272. package/dist/huds-lib/p-75f84185.entry.js +0 -1
  273. package/dist/huds-lib/p-795c4838.entry.js +0 -1
  274. package/dist/huds-lib/p-7ca87180.entry.js +0 -1
  275. package/dist/huds-lib/p-7dd26e2a.entry.js +0 -1
  276. package/dist/huds-lib/p-830cfabf.entry.js +0 -69
  277. package/dist/huds-lib/p-8a7b55ed.entry.js +0 -1
  278. package/dist/huds-lib/p-8f314f7f.entry.js +0 -1
  279. package/dist/huds-lib/p-90a2d5bd.entry.js +0 -1
  280. package/dist/huds-lib/p-98487b2c.entry.js +0 -1
  281. package/dist/huds-lib/p-9a45dd9a.entry.js +0 -1
  282. package/dist/huds-lib/p-9b5113e0.entry.js +0 -1
  283. package/dist/huds-lib/p-a0a1ead3.entry.js +0 -1
  284. package/dist/huds-lib/p-a4745be5.entry.js +0 -1
  285. package/dist/huds-lib/p-a54ddb3e.entry.js +0 -1
  286. package/dist/huds-lib/p-a7922d26.entry.js +0 -1
  287. package/dist/huds-lib/p-a82d4779.js +0 -1
  288. package/dist/huds-lib/p-aca0eb7d.entry.js +0 -1
  289. package/dist/huds-lib/p-afe191fd.entry.js +0 -1
  290. package/dist/huds-lib/p-b7268181.entry.js +0 -1
  291. package/dist/huds-lib/p-baada6d9.entry.js +0 -1
  292. package/dist/huds-lib/p-bd31e4b5.entry.js +0 -1
  293. package/dist/huds-lib/p-bd56a257.entry.js +0 -1
  294. package/dist/huds-lib/p-c2b771ef.entry.js +0 -1
  295. package/dist/huds-lib/p-c87b7917.entry.js +0 -1
  296. package/dist/huds-lib/p-ca66cf04.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-e24fb999.entry.js +0 -1
  303. package/dist/huds-lib/p-e430c2a0.entry.js +0 -1
  304. package/dist/huds-lib/p-e7abd29a.entry.js +0 -1
  305. package/dist/huds-lib/p-e7c21f51.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/dist/types/components/navigation/menu-item-sidebar/menu-item-sidebar.d.ts +0 -34
  319. package/dist/types/components/navigation/menu-sidebar/menu-sidebar.d.ts +0 -90
  320. package/loader/index.mjs +0 -22
  321. package/loader/node-main.js +0 -3
@@ -1 +0,0 @@
1
- import{r as e,h as i,H as t,g as a}from"./p-bb24c6b5.js";import{G as r}from"./p-8ab550d6.js";import{j as l}from"./p-fd1edbd5.js";const n=class{constructor(i){e(this,i),this.type=r.list,this.blank=!0,this.truncateDescription=!0,this.truncateLimit=140,this.hasSidebar=!1}async componentWillLoad(){this._dataItems=await l(this.dataItems);const e=this.el.closest(".hy-main");e&&e.classList.contains("with-sidebar")&&(this.hasSidebar=!0)}async watchPropHandler(e,i){e!==i&&(this._dataItems=await l(this.dataItems))}render(){const e=["hy-general-list",this.hasSidebar?"hy-general-list--with-sidebar":"",`hy-general-list--style-${this.type}`].join(" ");let a=this._dataItems;return"object"==typeof this._dataItems&&(a=Object.values(this._dataItems)),i(t,null,i("ul",{class:e},a&&a.map((e=>{return i("li",null,i("hy-general-list-item",{"has-sidebar":this.hasSidebar,target:this.blank,"data-location":e.url,description:this.truncateDescription?(t=e.description,a=this.truncateLimit,t.length>a?t.substr(0,a-1)+"...":t):e.description,id:e.id,imageAlt:e.imageAlt,imageUrl:e.imageUrl,"item-title":e.title,label:e.label,"sub-label":e.subLabel,tag:e.tag,date:e.date,type:e.type,url:e.url,"list-style":this.type}));var t,a}))),i("hy-box",{mb:"1.75, 1.75, 2, 2.5"}))}get el(){return a(this)}static get watchers(){return{dataItems:["watchPropHandler"]}}};n.style=":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-general-list{list-style:none;margin:0;padding:0}.hy-general-list--style-grid{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;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;gap:22px}@media (min-width: 30rem){.hy-general-list--style-grid{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}@media (min-width: 60rem){.hy-general-list--style-grid{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}.hy-general-list--style-grid li{background-color:var(--grayscale-background-box);width:100%;height:auto}@media (min-width: 30rem){.hy-general-list--style-grid li{width:calc(100% / 2 - 22px)}}@media (min-width: 60rem){.hy-general-list--style-grid li{width:calc(100% / 3 - 22px)}}.hy-general-list--with-sidebar.hy-general-list--style-grid{gap:22px}@media (min-width: 30rem){.hy-general-list--with-sidebar.hy-general-list--style-grid{gap:24px}}@media (min-width: 30rem){.hy-general-list--with-sidebar.hy-general-list--style-grid li{width:calc(100% / 2 - 24px)}}@media (min-width: 60rem){.hy-general-list--with-sidebar.hy-general-list--style-grid li{width:calc(100% / 3 - 24px)}}";const s=class{constructor(i){e(this,i),this.hasSidebar=!0,this.imageAlt="",this.imageUrl=null,this.disableLazy=!1,this.subLabel="",this.date="",this.tag="",this.target=!0}render(){const e=["hy-general-list-item",`hy-general-list-item--style-${this.listStyle}`].join(" "),t=["hy-general-list-item__text-container"].join(" "),a=["hy-general-list-item__image-container"].join(" "),r=this.hasSidebar?"common":"large",l=["hy-general-list-item__title",`hy-general-list-item__title__${r}`].join(" "),n=["hy-general-list-item__description",`hy-general-list-item__description__${r}`].join(" ");return i("article",{class:e},i("a",{class:"hy-general-list-item__link",href:this.url,target:this.target?"_blank":"_self"},this.type&&i("div",{class:"hy-general-list-item__type"},i("span",{class:"hy-general-list-item__type__major"},this.label),i("span",{class:"hy-general-list-item__type__sub"},this.subLabel)),this.imageUrl&&i("figure",{class:a,style:{"--aspectRatio":"62.5%"}},i("img",{loading:this.disableLazy?"eager":"lazy",alt:this.imageAlt,class:"hy-general-list-item__image",src:this.imageUrl})),i("div",{class:t},(this.tag||this.date)&&i("span",{class:"hy-genenral-list-item__meta"},this.tag,i("span",{class:"hy-genenral-list-item__meta__date"},this.tag&&"|"," ",this.date)),i("h3",{class:l},this.itemTitle),i("p",{class:n},this.description))))}get el(){return a(this)}};s.style=':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;height:100%}.hy-general-list-item{font-family:var(--main-font-family);margin-bottom:1rem;height:100%}.hy-general-list-item--style-grid .hy-general-list-item__link{height:100%}@media (min-width: 30rem){.hy-general-list-item--style-grid .hy-general-list-item__link{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}}.hy-general-list-item--style-grid .hy-general-list-item__image-container{border:1px solid var(--grayscale-light);max-width:100%}@media (max-width: 479px){.hy-general-list-item--style-grid .hy-general-list-item__image-container{display:-webkit-box;display:-ms-flexbox;display:flex}}@media (min-width: 60rem){.hy-general-list-item--style-grid .hy-general-list-item__text-container{padding:12px 12px 32px 12px}}@media (min-width: 75.0625rem){.hy-general-list-item--style-grid .hy-general-list-item__text-container{padding:12px 12px 32px 12px}}.hy-genenral-list-item__meta{font-size:0.75rem;line-height:14px;font-weight:600;color:var(--grayscale-dark);font-family:var(--main-font-family);letter-spacing:-0.1px;text-transform:uppercase;margin:9px 0}.hy-genenral-list-item__meta__date{font-weight:400;margin-left:4px}.hy-general-list-item__link{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;position:relative;text-decoration:none}@media (min-width: 30rem){.hy-general-list-item__link{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}.hy-general-list-item__link:hover{cursor:pointer}.hy-general-list-item__link:hover .hy-general-list-item__type span,.hy-general-list-item__link:focus .hy-general-list-item__type span{background-color:var(--brand-main)}.hy-general-list-item__link:hover .hy-general-list-item__title,.hy-general-list-item__link:focus .hy-general-list-item__title{color:var(--brand-main);text-decoration:underline}.hy-general-list-item__image-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;margin:0;position:relative;width:100%}@media (max-width: 479px){.hy-general-list-item__image-container{display:none}}@media (min-width: 30rem){.hy-general-list-item__image-container{max-width:35.7%}}@media (min-width: 60rem){.hy-general-list-item__image-container{max-width:23.13%}}@media (min-width: 75.0625rem){.hy-general-list-item__image-container{max-width:23.03%}}.hy-general-list-item__image-container:before{content:"";display:block;padding-top:var(--aspectRatio)}.hy-general-list-item__image-container img{bottom:0;height:100%;left:0;-o-object-fit:cover;object-fit:cover;position:absolute;right:0;top:0;width:100%}.hy-general-list-item__image{background-color:#ececec;width:100%;height:100%}.hy-general-list-item__type{background-color:var(--grayscale-background-box);padding-top:16px;z-index:10}@media (min-width: 30rem){.hy-general-list-item__type{background-color:transparent;left:-8px;padding-top:0;position:absolute;top:16px}}.hy-general-list-item__type__major{font-size:0.75rem;line-height:14px;font-weight:700;background-color:var(--grayscale-black);color:var(--grayscale-white);letter-spacing:-0.1px;padding:5px 8px;text-transform:uppercase;-ms-flex-item-align:baseline;align-self:baseline;margin-left:-8px}@media (min-width: 30rem){.hy-general-list-item__type__major{margin-left:0}}.hy-general-list-item__type__sub{font-size:0.75rem;line-height:14px;background-color:var(--grayscale-black);color:var(--grayscale-white);font-family:var(--main-font-family);letter-spacing:-0.1px;padding:5px 8px;margin-left:-8px}.hy-general-list-item__text-container{background-color:var(--grayscale-background-box);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:16px 12px}@media (min-width: 60rem){.hy-general-list-item__text-container{padding:14px 32px 24px 24px}}@media (min-width: 75.0625rem){.hy-general-list-item__text-container{padding:20px 104px 32px 32px}}.hy-general-list-item__title{font-size:1.125rem;line-height:22px;font-weight:700;color:var(--brand-main-nearly-black);letter-spacing:-0.45px;margin-bottom:8px;margin-top:0}@media (min-width: 1601px){.hy-general-list-item__title{font-size:1.25rem;line-height:24px;letter-spacing:-0.5px}}@media (min-width: 75.0625rem){.hy-general-list-item__title__large{font-size:1.25rem;line-height:24px;letter-spacing:-0.5px}}.hy-general-list-item__description{font-size:0.9375rem;line-height:20px;color:var(--grayscale-dark);display:none;letter-spacing:-0.09px;margin:0}@media (min-width: 30rem){.hy-general-list-item__description{font-size:0.875rem;line-height:18px;display:block;letter-spacing:-0.08px}}@media (min-width: 1601px){.hy-general-list-item__description{font-size:0.875rem;line-height:20px}}@media (min-width: 75.0625rem){.hy-general-list-item__description__large{font-size:0.875rem;line-height:20px}}';export{n as hy_general_list,s as hy_general_list_item}
@@ -1 +0,0 @@
1
- import{r as i,h as t,g as e}from"./p-bb24c6b5.js";import{r as l}from"./p-8ab550d6.js";import{j as n}from"./p-fd1edbd5.js";const a=class{constructor(t){i(this,t),this.headerstyle="default",this.listHeading="",this.headingVariant="h2"}async componentWillLoad(){this._dataItems=await n(this.dataItems)}componentDidLoad(){let i=this.el.closest(".hy-main");i&&(i.classList.contains("with-sidebar")||(this.headerstyle="large"))}render(){const i=l.linkList,e=this.headingVariant.toLowerCase();let n="col-3";return 7!==this._dataItems.length&&this._dataItems.length%4!=0||(n="col-4"),[t("section",{class:`hy-link-list hy-link-list__${this.headerstyle}`},this.listHeading.length>0&&t(e,{class:"hy-link-list__title"},this.listHeading),t("ul",{class:`hy-link-list__links hy-link-list__links--${this.variation} ${"grid"===this.variation?n:""}`},this._dataItems.map((({heading:e,ariaLabel:l,url:n,isExternal:a})=>t("li",{class:"hy-link-list__links-item"},t("hy-cta-link",{variant:i,"link-content":e,"sc-label":l,url:n,"is-external":a}))))))]}get el(){return e(this)}};a.style=":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-link-list{margin-bottom:32px}.hy-link-list__links{display:grid;gap:16px;list-style:none;margin:0;padding:0}@media (min-width: 30rem){.hy-link-list__links--grid{gap:16px 24px;grid-template-columns:repeat(2, 1fr)}}@media (min-width: 60rem){.without-sidebar .hy-link-list__links--grid.col-3{gap:16px 24px;grid-template-columns:repeat(3, 1fr)}}@media (min-width: 75.0625rem){.without-sidebar .hy-link-list__links--grid.col-3{gap:16px 32px}}@media (min-width: 60rem){.without-sidebar .hy-link-list__links--grid.col-4{gap:16px 24px;grid-template-columns:repeat(4, 1fr)}}@media (min-width: 75.0625rem){.without-sidebar .hy-link-list__links--grid.col-4{gap:16px 32px}}@media (min-width: 75.0625rem){.with-sidebar .hy-link-list__links--grid.col-3{gap:16px 24px;grid-template-columns:repeat(3, 1fr)}}@media (min-width: 1601px){.with-sidebar .hy-link-list__links--grid.col-3{gap:16px 32px}}@media (min-width: 75.0625rem){.with-sidebar .hy-link-list__links--grid.col-4{gap:16px 24px;grid-template-columns:repeat(4, 1fr)}}@media (min-width: 1601px){.with-sidebar .hy-link-list__links--grid.col-4{gap:16px 32px}}.hy-link-list__title{font-weight:700;font-family:var(--main-font-family);margin:0 0 32px;color:var(--brand-main-nearly-black)}.is-content-page h2.hy-link-list__title{font-size:1.625rem;line-height:32px;letter-spacing:-0.82px}@media (min-width: 30rem){.is-content-page h2.hy-link-list__title{font-size:1.875rem;line-height:36px;letter-spacing:-0.6px}}@media (min-width: 75.0625rem){.without-sidebar .is-content-page h2.hy-link-list__title{font-size:2.125rem;line-height:40px;letter-spacing:-0.68px}}@media (min-width: 1601px){.with-sidebar .is-content-page h2.hy-link-list__title{font-size:2.125rem;line-height:40px;letter-spacing:-0.68px}}.is-front-page h2.hy-link-list__title,.is-landing-page h2.hy-link-list__title{font-size:1.75rem;line-height:32px;letter-spacing:-0.7px;text-transform:uppercase}@media (min-width: 30rem){.is-front-page h2.hy-link-list__title,.is-landing-page h2.hy-link-list__title{font-size:2.125rem;line-height:40px;letter-spacing:-0.85px}}@media (min-width: 75.0625rem){.without-sidebar .is-front-page h2.hy-link-list__title,.without-sidebar .is-landing-page h2.hy-link-list__title{font-size:2.625rem;line-height:48px;letter-spacing:-1.05px}}@media (min-width: 1601px){.with-sidebar .is-front-page h2.hy-link-list__title,.with-sidebar .is-landing-page h2.hy-link-list__title{font-size:2.625rem;line-height:48px;letter-spacing:-1.05px}}.hy-two-columns h2.hy-link-list__title{font-size:1.125rem;line-height:22px;letter-spacing:-0.45px;margin-bottom:16px;text-transform:none}@media (min-width: 75.0625rem){.without-sidebar .hy-two-columns h2.hy-link-list__title{font-size:1.25rem;line-height:24px;letter-spacing:-0.5px}}@media (min-width: 1601px){.with-sidebar .hy-two-columns h2.hy-link-list__title{font-size:1.25rem;line-height:24px;letter-spacing:-0.5px}}.is-content-page h3.hy-link-list__title{font-size:1.3125rem;line-height:28px;letter-spacing:-0.42px}@media (min-width: 30rem){.is-content-page h3.hy-link-list__title{font-size:1.5625rem;line-height:32px;letter-spacing:-0.5px}}.is-front-page h3.hy-link-list__title,.is-landing-page h3.hy-link-list__title{font-size:1.625rem;line-height:32px;letter-spacing:-0.52px}@media (min-width: 30rem){.is-front-page h3.hy-link-list__title,.is-landing-page h3.hy-link-list__title{font-size:1.875rem;line-height:36px;letter-spacing:-0.6px}}@media (min-width: 75.0625rem){.without-sidebar .is-front-page h3.hy-link-list__title,.without-sidebar .is-landing-page h3.hy-link-list__title{font-size:2.125rem;line-height:40px;letter-spacing:-0.68px}}@media (min-width: 1601px){.with-sidebar .is-front-page h3.hy-link-list__title,.with-sidebar .is-landing-page h3.hy-link-list__title{font-size:2.125rem;line-height:40px;letter-spacing:-0.68px}}.hy-two-columns h3.hy-link-list__title{font-size:1.125rem;line-height:22px;letter-spacing:-0.45px;margin-bottom:16px;text-transform:none}@media (min-width: 75.0625rem){.without-sidebar .hy-two-columns h3.hy-link-list__title{font-size:1.25rem;line-height:24px;letter-spacing:-0.5px}}@media (min-width: 1601px){.with-sidebar .hy-two-columns h3.hy-link-list__title{font-size:1.25rem;line-height:24px;letter-spacing:-0.5px}}";export{a as hy_link_list}
@@ -1 +0,0 @@
1
- import{r as t,h as a,H as r}from"./p-bb24c6b5.js";const i={primary:"#0e688b",secondary:"white"},o=class{constructor(a){t(this,a),this.buttonType="submit",this.buttonClasses="",this.variant="primary",this.state="enabled",this.size="normal",this.disabled=!1,this.url="",this.isExternal=!1,this.attrs=""}render(){const t=["hy-button",this.variant,this.state,"size-"+this.size,this.buttonClasses],o=i[this.variant],n=this.isExternal?"_blank":"_self";let e={};return this.attrs&&this.attrs.length>2&&JSON.parse(this.attrs).split('" ').map((t=>{let a=t.split("="),r=a[0],i=a[1];r=r.replaceAll('"'," "),r=r.trim(),"class"!==r&&(i=i.replaceAll('"'," "),i=i.trim(),e[r]=i)})),this.url?a(r,{"icon-right":"hy-icon-arrow-right","aria-label":this.ariaLabel},a("div",{style:{display:"flex"}},a("a",{class:t.join(" "),href:this.url,target:n},a("span",{class:"hy-button__text"},a("slot",null)),a("span",{class:"hy-button__icon"},a("hy-icon",{icon:"hy-icon-arrow-right",fill:o,size:13}))))):a(r,{"aria-label":this.ariaLabel},a("button",Object.assign({type:this.buttonType,class:t.join(" "),disabled:this.disabled},e),!!this.icon&&a("span",{class:"hy-button__icon hy-button__icon--left"},a("hy-icon",{icon:this.icon,fill:o,size:13})),a("span",{class:"hy-button__text"},a("slot",null)),!!this.iconRight&&a("span",{class:"hy-button__icon hy-button__icon--right"},a("hy-icon",{icon:this.iconRight,fill:o,size:13}))))}};o.style='@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}';export{o as hy_button}
@@ -1 +0,0 @@
1
- import{r as i,h as e,g as t}from"./p-bb24c6b5.js";import{H as o}from"./p-8ab550d6.js";const a=class{constructor(t){i(this,t),this.contextLabelVisible=!1,this.playButtonVisible=!1,this.horizontal=!1,this.disableLazy=!1,this.headerstyle="default",this.showMoreLabel="Show more",this.showLessLabel="Show less",this.descCollapsed=!1,this.renderPreviewWithLink=()=>this.linkToVideo?e("a",{title:this.videoTitle,href:this.linkToVideo,class:"hy-video__link-to-video"},e("img",{loading:this.disableLazy?"eager":"lazy",class:"hy-video__preview-image",src:this.previewImageUrl,alt:this.videoTitle})):e("img",{loading:this.disableLazy?"eager":"lazy",class:"hy-video__preview-image",src:this.previewImageUrl,alt:this.videoTitle}),this.renderPlayButton=()=>e("span",{class:"hy-video__play"},e("button",{type:"button"},e("hy-icon",{icon:"hy-icon-video",class:"hy-video__play-icon",size:20}),e("span",{class:"hy-video__button-label"},this.playButtonLabel))),this.truncate=(i,e)=>i.length>e?i.substr(0,e-1)+"...":i}componentDidLoad(){let i=this.el.closest(".hy-main");i&&(i.classList.contains("with-sidebar")||(this.headerstyle="large")),this.videoDescription&&this.videoDescription.match(/\S/g).length>255&&(this.descCollapsed=!0)}render(){const i=["hy-video",this.horizontal?"hy-video--horizontal":"",`hy-video__${this.headerstyle}`].join(" "),t=this.videoDescription?this.videoDescription.match(/\S/g).length:0;return[e("div",{class:i},this.videoTitle&&!this.horizontal&&e("hy-heading",{class:"hy-video__meta__title",heading:o.h2},this.videoTitle),e("div",{class:"hy-video__video-container"},this.previewImageUrl?e("div",null,this.renderPreviewWithLink(),e("slot",{name:"video"})):e("slot",{name:"video"}),this.playButtonVisible&&this.renderPlayButton()),e("div",{class:"hy-video__meta"},this.videoTitle&&this.horizontal&&e("hy-heading",{class:"hy-video__meta__title",heading:o.h2},this.videoTitle),this.contextLabelVisible&&e("span",{class:"hy-video__label"},this.contextLabel),(this.duration||this.views||this.dateAdded)&&e("div",{class:"hy-video__meta__details"},this.duration&&e("div",{class:"hy-video__meta__details--item"},e("span",{class:"hy-video__meta__label"},this.durationLabel),e("span",{class:"hy-video__meta__content"},this.duration)),this.views&&e("div",{class:"hy-video__meta__details--item"},e("span",{class:"hy-video__meta__label"},this.viewsLabel),e("span",{class:"hy-video__meta__content"},this.views)),this.dateAdded&&e("div",{class:"hy-video__meta__details--item"},e("span",{class:"hy-video__meta__label"},this.dateAddedLabel),e("span",{class:"hy-video__meta__content"},this.dateAdded))),this.videoDescription&&e("div",{class:"hy-video__meta__description","aria-expanded":this.descCollapsed?"false":"true"},e("div",{class:"hy-video__meta__description__content"},this.descCollapsed?this.truncate(this.videoDescription,255):this.videoDescription),t>255&&e("span",{class:"hy-video__meta__description__more-button",role:"button",tabindex:"0","aria-expanded":this.descCollapsed?"false":"true",onClick:()=>this.descCollapsed=!this.descCollapsed,onKeyDown:i=>{" "==i.key&&(i.preventDefault(),this.descCollapsed=!this.descCollapsed)}},this.descCollapsed?this.showMoreLabel:this.showLessLabel)))),e("hy-box",{mb:"1.75, 1.75, 2, 2.5"})]}get el(){return t(this)}};a.style=':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-video__video-container{display:inline-block;margin-bottom:22px;position:relative;width:100%}.hy-video__video-container iframe{height:100%;overflow:hidden;width:100%}@supports (aspect-ratio: 16/9){.hy-video__video-container iframe{aspect-ratio:16/9;height:auto}}.hy-video__video-container .hy-video__preview-image{height:100%;left:0;-o-object-fit:cover;object-fit:cover;position:absolute;top:0;width:100%}.hy-video__video-container .hy-video__play{background-color:var(--grayscale-white);left:50%;position:absolute;top:50%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%)}.hy-video__video-container .hy-video__play button{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:transparent;border:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:24px}@media (min-width: 30rem){.hy-video__video-container .hy-video__play button{padding:36px}}.hy-video__video-container .hy-video__play button:hover{cursor:pointer}.hy-video__video-container .hy-video__play button .hy-video__button-label{font-size:0.9375rem;line-height:18px;color:var(--link-blue);font-family:var(--main-font-family);font-weight:bold;letter-spacing:-0.1px;text-align:center;text-transform:uppercase}@media (min-width: 30rem){.hy-video__video-container .hy-video__play button .hy-video__button-label{font-size:1.0625rem;line-height:20px;letter-spacing:-0.14px}}@media (min-width: 75.0625rem){.hy-video__video-container .hy-video__play button .hy-video__button-label{font-size:1.0625rem;line-height:20px;letter-spacing:-0.16px}}.hy-video__video-container .hy-video__play button svg{fill:var(--link-blue);height:44px;width:44px}@media (min-width: 60rem){.hy-video__video-container .hy-video__play button svg{height:80px;width:80px}}.hy-video__video-container>*:not(.hy-video__label):not(.hy-video__play){bottom:0;left:0;position:absolute;right:0;top:0}.hy-video__video-container:after{content:"";display:block;padding-top:56.25%}.hy-video:not(.hy-video--horizontal){display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}@media (min-width: 1601px){.hy-video:not(.hy-video--horizontal):not(.hy-video__default){max-width:66%}}.hy-video__label{font-size:0.75rem;line-height:14px;display:inline-block;background-color:var(--grayscale-black);color:var(--grayscale-white);font-family:var(--main-font-family);font-weight:bold;letter-spacing:-0.5px;padding:6px 8px;margin:0 0 22px;text-transform:uppercase}.hy-video.hy-video--horizontal{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-pack:justify;-ms-flex-pack:justify;justify-content:space-between}@media (min-width: 60rem){.hy-video.hy-video--horizontal{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}.hy-video.hy-video--horizontal .hy-video__meta{padding-left:0;width:100%}@media (min-width: 60rem){.hy-video.hy-video--horizontal .hy-video__meta{padding-left:2.5%;width:57.24%}}.hy-video__meta__title h2.hy-heading{border:none;margin:8px 0 12px 0 !important;padding:0 !important}@media (min-width: 60rem){.hy-video__meta__title h2.hy-heading{margin:0 0 16px 0 !important}}.hy-video__meta__details{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;margin-bottom:12px}@media (min-width: 60rem){.hy-video__meta__details{margin-bottom:16px}}.hy-video__meta__details--item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-right:44px;min-width:87px;padding-right:46px;place-content:center space-between}.hy-video__meta__description__content{font-size:0.9375rem;line-height:22px;color:var(--grayscale-black);display:block;font-family:var(--main-font-family);letter-spacing:0;width:100%}@media (min-width: 30rem){.hy-video__meta__description__content{font-size:1.0625rem;line-height:26px}}.hy-video__meta__description__more-button{font-size:1rem;line-height:24px;color:var(--brand-main-light);font-family:var(--main-font-family)}.hy-video__meta__description__more-button:hover{cursor:pointer}.hy-video__meta__label{font-size:0.9375rem;line-height:18px;font-weight:700;color:var(--grayscale-black);font-family:var(--main-font-family);margin-bottom:4px}.hy-video__meta__content{font-size:0.9375rem;line-height:22px;color:var(--grayscale-black);font-family:var(--main-font-family);letter-spacing:-0.5px}@media (min-width: 30rem){.hy-video__meta__content{font-size:1.0625rem;line-height:26px;letter-spacing:-0.56px}}';export{a as hy_video}
@@ -1 +0,0 @@
1
- import{r as e,c as i,h as n,g as a}from"./p-bb24c6b5.js";import{M as t}from"./p-8ab550d6.js";import{R as r}from"./p-a82d4779.js";const s=class{constructor(n){e(this,n),this.addBreadcrumb=i(this,"addBreadcrumb",7),this.menuContainerActiveTrail=i(this,"menuContainerActiveTrail",7),this.menuContainerToggled=i(this,"menuContainerToggled",7),this.routeClicked=i(this,"routeClicked",7),this.inActiveTrail=!1,this.isActive=!1,this.isActiveChild=!1,this.isHeading=!1,this.isParent=!1,this.isDemo=!1,this.menuItemAlternative=!1,this.menuLinkId="",this.menuType=t.sidenav,this.pageSize=t.mobile,this.menuButtonSubmenuExpand="",this.menuIsOpen=!1,this.ariaExpanded=!1,this.depth=0,this.hasChildren=null,this.label="",this.parentAsHeading="",this.parentExpanded=!1,this.url=""}sidebarTopLevelToggle(e){if(0!==this.depth)return;const i=document.querySelector("body"),n=document.querySelector(".hy-menu-sidebar--container"),a=e.target.closest(".hy-menu-item-sidebar");n.classList.contains("sidebar-open")&&a.classList.contains("is-active-item")?(n.classList.remove("sidebar-open"),i.classList.remove("hy-menu-sidebar__no-scroll")):(n.classList.add("sidebar-open"),i.classList.add("hy-menu-sidebar__no-scroll")),e.preventDefault()}async componentWillLoad(){if(this.ro=new r((e=>{for(const i of e)this.applySize(i.contentRect.width)})),this.ro.observe(document.body),this.el.classList.contains("is-active")&&(this.isActive=!0),this.isActive){const e=(e=>{let i=[];for(;e.parentNode&&"hy-menu-sidebar"!=e.parentNode.nodeName.toLowerCase();)i.push(e=e.parentNode);return i})(this.el);for(let i=0;i<e.length;i++){const n=e[i];"hy-menu-item-sidebar"===n.tagName.toLowerCase()&&(n.classList.add("is-hidden--child"),this.menuContainerActiveTrail.emit({triggerItem:n.getAttribute("menu-link-id")}))}this.el.children.length>0&&this.el.children[0].setAttribute("class","is-open-on-top")}if(this.inActiveTrail){const e=this.el.parentNode;if(this.menuType===t.sidepanel){e.classList.add("is-open");const i=this.el.querySelector(".hy-menu-level-container");i&&i.classList.add("is-open")}}if(this.hasChildren=this.el.getElementsByTagName("hy-menu-level-container").length>=1,this.menuType===t.sidenav){let e,i=this.el.closest("hy-menu-item-sidebar");if(i){if(e=i.parentElement.closest("hy-menu-item-sidebar"),e===i)return;null!==e&&(this.parentAsHeading=e)}}}applySize(e){this.pageSize=e<=960?t.mobile:t.desktop}componentWillRender(){}render(){let e=["hy-menu-item-sidebar",this.menuType?`hy-menu-item-sidebar--${this.menuType}`:"",null!=this.depth?"hy-menu-item--level-"+this.depth:"",this.isDemo?"is-demo":"",this.isActive?"is-current-page":"",this.isParent?"is-parent":"",this.hasChildren?"has-children":"",this.inActiveTrail?"is-active-item":"",this.isActive&&this.hasChildren?"is-active--heading":""],i=["hy-menu-item-sidebar__label"];return e=[...e],this.url?n("li",{"data-link-id":`menu-link-sidebar-${this.menuLinkId}`,class:e.join(" "),"aria-current":this.isActive?"true":"false","item-level":this.depth},this.isParent&&n("span",{class:"hy-menu-item__parent__icon"},n("hy-icon",{class:"hy-menu-item__parent__icon__svg",icon:"hy-icon-caret-left",fill:"currentColor",size:10})),n("div",{class:"hy-menu-item-sidebar--label-container"},this.isActive?n("span",{class:i.join(" ")},this.label):n("a",{class:i.join(" "),href:this.url},this.label),this.hasChildren&&n("button",{"aria-labelledby":this.label,"aria-expanded":this.inActiveTrail&&!this.isActive?"true":"false",type:"button",class:"hy-menu-item__label__icon",onClick:e=>this.sidebarTopLevelToggle(e)},n("hy-icon",{class:"hy-menu-item__label__icon__svg",icon:"hy-icon-caret-right",fill:"currentColor",size:18}))),this.hasChildren&&n("slot",null)):void 0}get el(){return a(this)}};s.style=":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-menu-sidebar--container.sidebar-open .hy-menu-item-sidebar:not(.is-parent):not(.is-parent--sub-level) .hy-menu-item-sidebar__label,.hy-menu-sidebar--container.sidebar-open .hy-menu-item-sidebar:not(.is-parent):not(.is-parent--sub-level) .hy-menu-item__label__icon,.hy-menu-sidepanel--container.sidepanel-open .hy-menu-item-sidebar:not(.is-parent):not(.is-parent--sub-level) .hy-menu-item-sidebar__label,.hy-menu-sidepanel--container.sidepanel-open .hy-menu-item-sidebar:not(.is-parent):not(.is-parent--sub-level) .hy-menu-item__label__icon{background:-webkit-gradient(linear, right top, left top, from(#f5f5f5), to(#f8f8f8));background:linear-gradient(270deg, #f5f5f5 0%, #f8f8f8 100%)}.hy-menu-sidebar--container.sidebar-open .hy-menu-item-sidebar.is-parent .hy-menu-item-sidebar__label,.hy-menu-sidepanel--container.sidepanel-open .hy-menu-item-sidebar.is-parent .hy-menu-item-sidebar__label{background-color:none !important}.hy-menu-sidebar--container.sidebar-open .hy-menu-item-sidebar:not(.is-parent) .hy-menu-item-sidebar__label:hover,.hy-menu-sidepanel--container.sidepanel-open .hy-menu-item-sidebar:not(.is-parent) .hy-menu-item-sidebar__label:hover{background:var(--hover-gray) !important;text-decoration:underline}.hy-menu-sidebar--container.sidebar-open .hy-menu-item-sidebar:not(.is-parent) .hy-menu-item__label__icon:not([aria-expanded=true]):hover,.hy-menu-sidepanel--container.sidepanel-open .hy-menu-item-sidebar:not(.is-parent) .hy-menu-item__label__icon:not([aria-expanded=true]):hover{background:var(--hover-gray) !important;cursor:pointer}.hy-menu-sidebar--container.sidebar-open .hy-menu-item-sidebar:not(.is-parent) .hy-menu-item__label__icon:not([aria-expanded=true]):hover svg,.hy-menu-sidepanel--container.sidepanel-open .hy-menu-item-sidebar:not(.is-parent) .hy-menu-item__label__icon:not([aria-expanded=true]):hover svg{width:22px;height:22px}.hy-menu-sidebar--container.sidebar-open .hy-menu-item-sidebar:not(.is-parent) .hy-menu-item__label__icon[aria-expanded=true]:hover,.hy-menu-sidepanel--container.sidepanel-open .hy-menu-item-sidebar:not(.is-parent) .hy-menu-item__label__icon[aria-expanded=true]:hover{background:var(--brand-main);cursor:pointer;-webkit-transition:all 0.25s ease;transition:all 0.25s ease}.hy-menu-sidebar--container.sidebar-open .hy-menu-item-sidebar:not(.is-parent) .hy-menu-item__label__icon[aria-expanded=true]:hover .hy-menu-item__label__icon__svg,.hy-menu-sidepanel--container.sidepanel-open .hy-menu-item-sidebar:not(.is-parent) .hy-menu-item__label__icon[aria-expanded=true]:hover .hy-menu-item__label__icon__svg{-webkit-transform:rotate(180deg) translateX(2px);transform:rotate(180deg) translateX(2px)}.hy-menu-sidebar--container.sidebar-open .hy-menu-item-sidebar:not(.is-parent) .hy-menu-item__label__icon[aria-expanded=true]:hover svg,.hy-menu-sidepanel--container.sidepanel-open .hy-menu-item-sidebar:not(.is-parent) .hy-menu-item__label__icon[aria-expanded=true]:hover svg{width:22px;height:22px}.hy-menu-sidebar--container:not(.sidebar-open) .hy-menu-item-sidebar:not(.is-parent) .hy-menu-item-sidebar__label:hover{border:1px solid var(--brand-main);margin:-1px;text-decoration:underline}.hy-menu-sidebar--container:not(.sidebar-open) .hy-menu-item-sidebar:not(.is-parent) .hy-menu-item__label__icon:hover{border:1px solid var(--brand-main);margin:-1px;margin-left:7px;text-decoration:underline;cursor:pointer}.hy-menu-sidebar--container:not(.sidebar-open) .hy-menu-item-sidebar:not(.is-parent) .hy-menu-item__label__icon:hover svg{width:22px;height:22px}.hy-menu-item-sidebar{list-style-type:none;margin-bottom:6px;}.hy-menu-item-sidebar--label-container{font-size:0.875rem;line-height:20px;font-weight:600;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--brand-main-light);display:-webkit-box;display:-ms-flexbox;display:flex;font-family:var(--main-font-family);-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;min-height:48px;padding:0;word-break:break-word}@media (min-width: 1601px){.hy-menu-item-sidebar--label-container{font-size:1rem;line-height:22px}}.hy-menu-item-sidebar:focus{outline-offset:4px}.hy-menu-item-sidebar>.hy-menu-level-container.hy-menu-level-container--sidepanel{display:none}.hy-menu-item-sidebar.hy-menu-item-sidebar--sidepanel.in-active-trail>.hy-menu-item-sidebar--label-container{border:1px solid var(--brand-main-light);text-decoration:none}.hy-menu-item-sidebar.hy-menu-item-sidebar--sidepanel.in-active-trail>.hy-menu-item-sidebar--label-container>.hy-menu-item__label__icon{background-color:var(--brand-main-light);border:none}.hy-menu-item-sidebar.hy-menu-item-sidebar--sidepanel.in-active-trail>.hy-menu-item-sidebar--label-container>.hy-menu-item__label__icon svg{fill:var(--grayscale-white)}.hy-menu-item-sidebar.hy-menu-item-sidebar--sidepanel.in-active-trail>.hy-menu-level-container--sidepanel{display:-webkit-box;display:-ms-flexbox;display:flex}.hy-menu-item-sidebar:not(.is-parent):not(.is-parent--sub-level).is-active-item>.hy-menu-item-sidebar--label-container{background:var(--grayscale-white) !important;text-decoration:none}.hy-menu-item-sidebar:not(.is-parent):not(.is-parent--sub-level).is-active-item>.hy-menu-item-sidebar--label-container>a.hy-menu-item-sidebar__label{border:1px solid var(--brand-main-light);border-right:0}.hy-menu-item-sidebar:not(.is-parent):not(.is-parent--sub-level).is-active-item>.hy-menu-item-sidebar--label-container>.hy-menu-item__label__icon{background:var(--brand-main-light);border:none;margin-left:4px}.hy-menu-item-sidebar:not(.is-parent):not(.is-parent--sub-level).is-active-item>.hy-menu-item-sidebar--label-container>.hy-menu-item__label__icon svg{fill:var(--grayscale-white)}.hy-menu-item-sidebar__label{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--grayscale-white);color:var(--brand-main-light);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;padding:8px 10px 8px 20px;text-decoration:none;width:100%;word-break:break-word}.hy-menu-item-sidebar__label:focus{outline:none;-webkit-box-shadow:0 0 1px 1px rgba(55, 148, 224, 0.5);box-shadow:0 0 1px 1px rgba(55, 148, 224, 0.5);border-radius:none}.hy-menu-item-sidebar .hy-menu-item__label__icon{border-top:0;border-right:0;border-bottom:0;background:var(--grayscale-white);border-left:1px solid var(--brand-main-light);color:var(--brand-main-light);display:inline-block;position:relative;width:61.5px;margin-left:6px;min-height:48px}.hy-menu-item-sidebar .hy-menu-item__label__icon svg{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.hy-menu-item-sidebar .hy-menu-item__label__icon:focus{outline:none;-webkit-box-shadow:0 0 1px 1px rgba(55, 148, 224, 0.5);box-shadow:0 0 1px 1px rgba(55, 148, 224, 0.5);border-radius:none}.hy-menu-item-sidebar.is-parent{-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;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;margin-bottom:10px;max-width:280px;padding-bottom:10px;width:calc(100% - 25px)}.hy-menu-item-sidebar.is-parent .hy-menu-item-sidebar--label-container{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:none;border:none;color:var(--brand-main-light);display:-webkit-box;display:-ms-flexbox;display:flex}.hy-menu-item-sidebar.is-parent .hy-menu-item-sidebar--label-container .hy-menu-item-sidebar__label{font-size:1.625rem;line-height:26px;background-color:transparent !important;font-family:var(--main-font-family);font-weight:bold;letter-spacing:-0.81px;padding:0;text-decoration:none;text-transform:uppercase}.hy-menu-item-sidebar.is-parent:hover span{background:none;border:none;margin:0}.hy-menu-item-sidebar.is-parent:hover a{border:none;color:var(--brand-main) !important;text-decoration:underline;margin:0}.hy-menu-item-sidebar.is-parent:hover .hy-menu-item__parent__icon__svg{fill:var(--brand-main-nearly-black)}.hy-menu-item-sidebar.is-parent .hy-menu-item__parent__icon{-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;height:26px}.hy-menu-item-sidebar.is-parent .hy-menu-item__parent__icon__svg svg{fill:var(--brand-main-light)}.hy-menu-item-sidebar.is-parent.is-parent--sub-level{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;background:none;border-bottom:1px solid var(--brand-main-light);display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:12px;padding-bottom:18px;position:absolute;-webkit-transform:translateY(calc(-100% - 12px));transform:translateY(calc(-100% - 12px));width:calc(100% - 25px)}.hy-menu-item-sidebar.is-parent.is-parent--sub-level .hy-menu-item-parent__icon{bottom:20px;left:-20px;position:absolute}.hy-menu-item-sidebar.is-parent.is-parent--sub-level *{text-transform:uppercase}.hy-menu-item-sidebar.is-parent.is-parent--sub-level svg{fill:var(--brand-main-light)}.hy-menu-item-sidebar.is-parent.is-parent--sub-level .hy-menu-item-sidebar__label:hover{background:none !important;text-decoration:underline}.hy-menu-item-sidebar.is-parent.is-parent--sub-level>.hy-menu-item-sidebar--label-container{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;margin:0 0 0 0.5rem;padding:0}.hy-menu-item-sidebar.is-current-page span.hy-menu-item-sidebar__label{border-left:4px solid var(--grayscale-black);color:var(--grayscale-black);padding:8px 10px 8px 6px !important}.hy-menu-item-sidebar.is-current-page.is-parent .hy-menu-item__parent__icon{display:none}";export{s as hy_menu_item_sidebar}
@@ -1 +0,0 @@
1
- import{r as i,h as t,H as a}from"./p-bb24c6b5.js";import{j as n}from"./p-fd1edbd5.js";const e=class{constructor(t){i(this,t),this.isOpen=!1}async componentWillLoad(){this._anchorItems=await n(this.anchorItems)}handleLinkClick(i){const t=i.target.getAttribute("href");if(t){const i=document.getElementById(t.substring(1)).getBoundingClientRect();window.scrollTo({top:window.scrollY+i.top-100,behavior:"smooth"})}i.preventDefault(),i.stopPropagation()}render(){const i=["hy-anchor-link-list"].join(" "),n={"hy-anchor-link-list__container":!0,"is-open":this.isOpen},e=this._anchorItems;return t(a,{class:i},t("button",{"aria-label":this.listTitle,onClick:()=>this.isOpen=!this.isOpen,class:{"hy-anchor-link-list__button":!0,"is-open":this.isOpen}},t("span",{class:"hy-anchor-link-list__button--title"},t("hy-icon",{icon:"hy-icon-bullet-list",size:18,fill:"var(--brand-main)"}),this.listTitle),t("span",{class:"hy-anchor-link-list__button--label"},this.isOpen?this.closeLabel:this.openLabel,t("hy-icon",{class:"label-close-icon",icon:"hy-icon-caret-down",size:16,fill:"var(--brand-main)"}))),t("div",{"aria-hidden":this.isOpen?"false":"true",class:n},e&&e.map((i=>t("a",{class:"hy-anchor-link-list__item",href:i.url,onClick:this.handleLinkClick},t("hy-icon",{icon:"hy-icon-arrow-down",size:12,fill:"var(--brand-main)"}),i.title)))))}};e.style=":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}:host(.hy-anchor-link-list){border:1px solid var(--brand-main);width:100%}@media (min-width: 30rem){:host(.hy-anchor-link-list){margin-bottom:1.75rem}}@media (min-width: 48rem){:host(.hy-anchor-link-list){margin-bottom:1.75rem}}@media (min-width: 60rem){:host(.hy-anchor-link-list){margin-bottom:2rem}}@media (min-width: 1601px){:host(.hy-anchor-link-list){margin-bottom:2.5rem}}:host(.hy-anchor-link-list).is-open{border:1px solid var(--grayscale-dark)}.hy-anchor-link-list__button{border:none;background:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:15px 20px;width:100%}@media (min-width: 48rem){.hy-anchor-link-list__button{padding:18px 20px}}.hy-anchor-link-list__button:hover{cursor:pointer}.hy-anchor-link-list__button.is-open .label-close-icon svg{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.hy-anchor-link-list__button--title{font-size:1.0625rem;line-height:20px;font-weight:700;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--brand-main);font-family:var(--main-font-family);letter-spacing:-0.32px}.hy-anchor-link-list__button--title svg{margin-right:12px}.hy-anchor-link-list__button--label{font-size:1rem;line-height:20px;font-weight:600;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--link-blue);font-family:var(--main-font-family);letter-spacing:-0.3px;text-align:right}.hy-anchor-link-list__button--label svg{margin-left:7px}.hy-anchor-link-list__container{display:none;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:18px 0;margin:0 20px}.hy-anchor-link-list__container.is-open{display:-webkit-box;display:-ms-flexbox;display:flex;border-top:1px solid var(--grayscale-dark)}.hy-anchor-link-list__item{font-size:1rem;line-height:20px;font-weight:600;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--link-blue);font-family:var(--main-font-family);font-size:16px;font-weight:600;letter-spacing:-0.5px;line-height:20px;margin-bottom:16px;text-decoration:none}.hy-anchor-link-list__item:hover{cursor:pointer;text-decoration:underline}.hy-anchor-link-list__item svg{margin-right:12px}";export{e as hy_anchor_link_list}
@@ -1,3 +0,0 @@
1
-
2
- module.exports = require('../cjs/loader.cjs.js');
3
- module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -1,3 +0,0 @@
1
-
2
- module.exports = require('../cjs/loader.cjs.js');
3
- module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -1,13 +0,0 @@
1
-
2
- export * from '../types/components';
3
- export interface CustomElementsDefineOptions {
4
- exclude?: string[];
5
- resourcesUrl?: string;
6
- syncQueue?: boolean;
7
- jmp?: (c: Function) => any;
8
- raf?: (c: FrameRequestCallback) => number;
9
- ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
10
- rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
11
- }
12
- export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): Promise<void>;
13
- export declare function applyPolyfills(): Promise<void>;
@@ -1,3 +0,0 @@
1
-
2
- export * from '../esm/polyfills/index.js';
3
- export * from '../esm/loader.js';
@@ -1,4 +0,0 @@
1
-
2
- (function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
3
- export * from '../esm/polyfills/index.js';
4
- export * from '../esm/loader.js';
@@ -1,10 +0,0 @@
1
- {
2
- "name": "huds-lib-loader",
3
- "typings": "./index.d.ts",
4
- "module": "./index.js",
5
- "main": "./index.cjs.js",
6
- "jsnext:main": "./index.es2017.js",
7
- "es2015": "./index.es2017.js",
8
- "es2017": "./index.es2017.js",
9
- "unpkg": "./cdn.js"
10
- }
@@ -1,34 +0,0 @@
1
- import { EventEmitter } from '../../../stencil-public-runtime';
2
- import { MenuType } from '../../../utils/utils';
3
- export declare class MenuItemSidebar {
4
- el: HTMLElement;
5
- addBreadcrumb: EventEmitter;
6
- menuContainerActiveTrail: EventEmitter;
7
- menuContainerToggled: EventEmitter;
8
- routeClicked: EventEmitter;
9
- inActiveTrail: boolean;
10
- isActive: boolean;
11
- isActiveChild?: boolean;
12
- isHeading: boolean;
13
- isParent: boolean;
14
- isDemo: boolean;
15
- menuItemAlternative: boolean;
16
- menuLinkId: string;
17
- menuType: MenuType;
18
- pageSize: MenuType;
19
- menuButtonSubmenuExpand?: string;
20
- menuIsOpen: boolean;
21
- ariaExpanded: boolean;
22
- depth: number;
23
- hasChildren: boolean;
24
- label: string;
25
- parentAsHeading: string;
26
- parentExpanded: boolean;
27
- url: string;
28
- private ro;
29
- sidebarTopLevelToggle(e: any): void;
30
- componentWillLoad(): Promise<void>;
31
- applySize(size: number): void;
32
- componentWillRender(): void;
33
- render(): any;
34
- }
@@ -1,90 +0,0 @@
1
- import { MenuType, SiteLogoSize } from '../../../utils/utils';
2
- export declare class MenuSidebar {
3
- el: HTMLElement;
4
- /**
5
- * Is menu open boolean.
6
- */
7
- menuIsOpen: boolean;
8
- /**
9
- * Menu type. Defaults to sidenav.
10
- */
11
- menuType: MenuType;
12
- pageSize: MenuType;
13
- /**
14
- * Upper menus panel boolean.
15
- */
16
- panelOpen: boolean;
17
- /**
18
- * Label for panel toggle button.
19
- */
20
- panelToggleLabel?: string;
21
- /**
22
- * Label for panel toggle button.
23
- */
24
- panelToggleAriaLabel?: string;
25
- /**
26
- * Label for panel toggle button.
27
- */
28
- panelToggleCloseLabel?: string;
29
- /**
30
- * Label for panel toggle button.
31
- */
32
- panelToggleCloseAriaLabel?: string;
33
- /**
34
- * Url for logo.
35
- */
36
- logoUrl?: string;
37
- /**
38
- * Logo label
39
- */
40
- logoLabel?: string;
41
- /**
42
- * Logo size
43
- */
44
- size: SiteLogoSize;
45
- /**
46
- * Isdemo
47
- */
48
- isDemo: boolean;
49
- /**
50
- * Should have link to front page or show full menu button
51
- */
52
- noChildren: boolean;
53
- /**
54
- * Url to frontpage
55
- */
56
- frontUrl: string;
57
- /**
58
- * Label for frontpage
59
- */
60
- frontLabel: string;
61
- /**
62
- * IsResearchGroup
63
- */
64
- isResearchGroup: boolean;
65
- /**
66
- * is Active helps to define how to render Research Group link.
67
- */
68
- isActive: boolean;
69
- minHeight: any;
70
- /**
71
- * Previous panel to be toggled to keep track.
72
- */
73
- previousPanel: HTMLElement;
74
- /**
75
- * Previous item to be toggle to keep track.
76
- */
77
- previousItem: any;
78
- private ro;
79
- panelToggle(e: any): void;
80
- componentWillLoad(): Promise<void>;
81
- componentDidLoad(): void;
82
- applySize(size: number): void;
83
- handlePanel(e: any): void;
84
- updatePrevious(panel: any, item: any): void;
85
- closeWholeTree(): void;
86
- togglePanel(menuItem: any, panel: any, shouldClose?: boolean): void;
87
- closeChildren(menuItem: any): void;
88
- toggleSidebarBg(): void;
89
- render(): any;
90
- }
package/loader/index.mjs DELETED
@@ -1,22 +0,0 @@
1
-
2
- (function() {
3
- if (
4
- // No Reflect, no classes, no need for shim because native custom elements
5
- // require ES2015 classes or Reflect.
6
- window.Reflect === undefined ||
7
- window.customElements === undefined
8
- ) {
9
- return;
10
- }
11
- var BuiltInHTMLElement = HTMLElement;
12
- window.HTMLElement = /** @this {!Object} */ function HTMLElement() {
13
- return Reflect.construct(
14
- BuiltInHTMLElement, [], /** @type {!Function} */ (this.constructor));
15
- };
16
- HTMLElement.prototype = BuiltInHTMLElement.prototype;
17
- HTMLElement.prototype.constructor = HTMLElement;
18
- Object.setPrototypeOf(HTMLElement, BuiltInHTMLElement);
19
- })();
20
-
21
- export * from '../dist/esm/polyfills/index.js';
22
- export * from '../dist/esm-es5/loader.mjs';
@@ -1,3 +0,0 @@
1
-
2
- module.exports.applyPolyfills = function() { return Promise.resolve() };
3
- module.exports.defineCustomElements = function() { return Promise.resolve() };