@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
@@ -3,6 +3,7 @@ import { CtaLinkVariants } from '../../utils/utils';
3
3
  export class HyOpeningHours {
4
4
  constructor() {
5
5
  this.blockTitle = null;
6
+ this.venueType = 'libraries';
6
7
  this.date = null;
7
8
  this.dateTitle = null;
8
9
  this.dateType = 'day';
@@ -16,6 +17,8 @@ export class HyOpeningHours {
16
17
  'hy-open-hours--container',
17
18
  this.exceptional ? 'hy-open-hours--container--exceptional' : '',
18
19
  ].join(' ');
20
+ const listClasses = ['open-hours__content__top-label', this.venueType].join(' ');
21
+ const buildingClasses = ['open-hours__content__top-label building', this.venueType].join(' ');
19
22
  return (h(Host, null,
20
23
  h("div", { class: containerClasses, "data-lang": this.language, "data-id": this.blockId, "data-date": this.date, "data-type": this.dateType, "data-multiple": this.multiple },
21
24
  this.blockTitle && h("h3", { class: "open-hours__title" }, this.blockTitle),
@@ -26,9 +29,9 @@ export class HyOpeningHours {
26
29
  h("button", { "aria-label": this.nextLabel, class: "icon--arrow-right open-hours__next-date" },
27
30
  h("hy-icon", { icon: 'hy-icon-caret-right', size: 18 })))),
28
31
  h("div", { class: "open-hours__content__top" },
29
- h("span", { class: "open-hours__content__top-label" }, this.listLabel),
30
- h("span", { class: "open-hours__content__top-label" }, this.buildingLabel),
31
- this.customerServiceLabel && (h("span", { class: "open-hours__content__top-label" }, this.customerServiceLabel))),
32
+ h("span", { class: listClasses }, this.listLabel),
33
+ h("span", { class: buildingClasses }, this.buildingLabel),
34
+ this.customerServiceLabel && h("span", { class: listClasses }, this.customerServiceLabel)),
32
35
  h("div", { class: "open-hours__content" },
33
36
  h("slot", null)),
34
37
  this.customLink && (h("div", { class: "open-hours__links" },
@@ -78,6 +81,24 @@ export class HyOpeningHours {
78
81
  "attribute": "language",
79
82
  "reflect": false
80
83
  },
84
+ "venueType": {
85
+ "type": "string",
86
+ "mutable": false,
87
+ "complexType": {
88
+ "original": "string",
89
+ "resolved": "string",
90
+ "references": {}
91
+ },
92
+ "required": false,
93
+ "optional": false,
94
+ "docs": {
95
+ "tags": [],
96
+ "text": ""
97
+ },
98
+ "attribute": "venue-type",
99
+ "reflect": false,
100
+ "defaultValue": "'libraries'"
101
+ },
81
102
  "blockId": {
82
103
  "type": "string",
83
104
  "mutable": false,
@@ -91,15 +91,23 @@
91
91
  border-left: 2px solid var(--grayscale-black);
92
92
  }
93
93
 
94
- .open-hours__list-item > span {
94
+ .open-hours__list-item > span:not(.luomus) {
95
95
  text-align: left;
96
96
  width: calc(100vw / 3);
97
97
  }
98
98
 
99
+ .open-hours__list-item > span.luomus {
100
+ width: calc(100vw / 2);
101
+ }
102
+
99
103
  .open-hours__list-item--date {
100
104
  margin-right: 1rem;
101
105
  }
102
106
 
103
107
  .open-hours__list-item--hours {
104
108
  margin-right: 0.2rem;
109
+ }
110
+
111
+ .open-hours__list-item--hours.luomus {
112
+ text-align: center;
105
113
  }
@@ -28,9 +28,11 @@ export class HyOpeningHoursContent {
28
28
  if (item.service)
29
29
  return;
30
30
  const itemClasses = ['open-hours__list-item', item.today ? 'open-hours__list-item--today' : ''].join(' ');
31
+ const hoursClasses = ['open-hours__list-item--hours', this.venueType].join(' ');
32
+ const officeClasses = ['open-hours__list-item--office', this.venueType].join(' ');
31
33
  return (h("div", { class: itemClasses },
32
- h("span", { class: "open-hours__list-item--office" }, item.today ? item.today : item.dateLibrary),
33
- h("span", { class: "open-hours__list-item--hours" }, item.building),
34
+ h("span", { class: officeClasses }, item.today ? item.today : item.dateLibrary),
35
+ h("span", { class: hoursClasses }, item.building),
34
36
  this.venueType !== 'luomus' && h("span", { class: "open-hours__list-item--service" }, "-")));
35
37
  })));
36
38
  }
@@ -3,8 +3,10 @@ import { ColorVariant } from '../../utils/utils';
3
3
  export class HySearchField {
4
4
  constructor() {
5
5
  this.isLabelBold = false;
6
+ this.isLuomusSearch = false;
6
7
  this.placeholder = 'Type here...';
7
8
  this.isLabelHidden = false;
9
+ this.prefillParameter = '';
8
10
  this.isInputValueEmpty = true;
9
11
  }
10
12
  componentDidLoad() {
@@ -13,6 +15,15 @@ export class HySearchField {
13
15
  const { value } = event.target;
14
16
  this.isInputValueEmpty = value.length > 0 ? false : true;
15
17
  });
18
+ if (this.prefillParameter.length > 0) {
19
+ if (window.location === undefined)
20
+ return;
21
+ const urlParams = new URLSearchParams(window.location.search);
22
+ const searchValue = urlParams.get(`${this.prefillParameter}`);
23
+ const searchInput = this.el.querySelector('.search-field__input');
24
+ searchInput.value = searchValue.length > 0 ? searchValue : '';
25
+ this.isInputValueEmpty = false;
26
+ }
16
27
  }
17
28
  handleInputReset() {
18
29
  this.isInputValueEmpty = true;
@@ -22,16 +33,19 @@ export class HySearchField {
22
33
  }
23
34
  render() {
24
35
  return (h(Host, { class: "search-field" },
25
- h("label", { htmlFor: this.inputId, class: `search-field__label
36
+ !this.isLuomusSearch && (h("label", { htmlFor: this.inputId, class: `search-field__label
26
37
  ${this.isLabelHidden ? 'visually-hidden' : ''}
27
- ${this.isLabelBold ? 'bold' : ''}` }, this.label),
38
+ ${this.isLabelBold ? 'bold' : ''}` }, this.label)),
28
39
  h("div", { class: "search-field__actions" },
29
40
  h("div", { class: "search-field__wrapper" },
30
- h("input", { id: this.inputId, type: "text", placeholder: this.placeholder, class: "search-field__input" }),
41
+ this.isLuomusSearch && (h("input", { id: this.inputId, name: "search", "data-drupal-selector": "edit-search", value: "", type: "text", placeholder: this.placeholder, class: "search-field__input" })),
42
+ !this.isLuomusSearch && (h("input", { id: this.inputId, type: "text", placeholder: this.placeholder, class: "search-field__input" })),
31
43
  !this.isInputValueEmpty && (h("button", { type: "button", class: "search-field__reset", "aria-label": "Reset", onClick: () => this.handleInputReset() },
32
44
  h("hy-icon", { icon: 'hy-icon-remove', size: 14, "aria-hidden": "true" })))),
33
- h("button", { type: "submit", class: "search-field__submit", "aria-label": "Search" },
34
- h("hy-icon", { icon: 'hy-icon-search', size: 18, fill: ColorVariant.white, "aria-hidden": "true" })))));
45
+ this.isLuomusSearch && (h("button", { type: "submit", class: "search-field__submit", "aria-label": "Search", "data-drupal-selector": "edit-submit-luomus-search", id: "edit-submit-luomus-search", value: "Apply" },
46
+ h("hy-icon", { icon: 'hy-icon-search', size: 18, fill: ColorVariant.white, "aria-hidden": "true" }))),
47
+ !this.isLuomusSearch && (h("button", { type: "submit", class: "search-field__submit", "aria-label": "Search" },
48
+ h("hy-icon", { icon: 'hy-icon-search', size: 18, fill: ColorVariant.white, "aria-hidden": "true" }))))));
35
49
  }
36
50
  static get is() { return "hy-search-field"; }
37
51
  static get originalStyleUrls() { return {
@@ -76,6 +90,24 @@ export class HySearchField {
76
90
  "reflect": false,
77
91
  "defaultValue": "false"
78
92
  },
93
+ "isLuomusSearch": {
94
+ "type": "boolean",
95
+ "mutable": false,
96
+ "complexType": {
97
+ "original": "boolean",
98
+ "resolved": "boolean",
99
+ "references": {}
100
+ },
101
+ "required": false,
102
+ "optional": false,
103
+ "docs": {
104
+ "tags": [],
105
+ "text": ""
106
+ },
107
+ "attribute": "is-luomus-search",
108
+ "reflect": false,
109
+ "defaultValue": "false"
110
+ },
79
111
  "placeholder": {
80
112
  "type": "string",
81
113
  "mutable": false,
@@ -128,6 +160,24 @@ export class HySearchField {
128
160
  },
129
161
  "attribute": "input-id",
130
162
  "reflect": false
163
+ },
164
+ "prefillParameter": {
165
+ "type": "string",
166
+ "mutable": false,
167
+ "complexType": {
168
+ "original": "string",
169
+ "resolved": "string",
170
+ "references": {}
171
+ },
172
+ "required": false,
173
+ "optional": false,
174
+ "docs": {
175
+ "tags": [],
176
+ "text": ""
177
+ },
178
+ "attribute": "prefill-parameter",
179
+ "reflect": false,
180
+ "defaultValue": "''"
131
181
  }
132
182
  }; }
133
183
  static get states() { return {
@@ -1,6 +1,8 @@
1
1
  import { Component, Element, Event, h, Listen, Prop, State } from '@stencil/core';
2
2
  import { MenuType } from '../../../utils/utils';
3
3
  import { jsonParserWorker } from '../../../global/globalScript';
4
+ let breadcrumbTimeout = null;
5
+ let addbreadTimeout = null;
4
6
  export class Menu {
5
7
  constructor() {
6
8
  this.isGroup = false;
@@ -10,49 +12,59 @@ export class Menu {
10
12
  }
11
13
  // Listener for removing a breadcrumb from mobile menu breadcrumbs.
12
14
  async removeBreadcrumb(data) {
15
+ clearTimeout(breadcrumbTimeout);
13
16
  let breadcrumbs = await jsonParserWorker(this.breadcrumbs);
14
- let currentBreadcrumb = breadcrumbs
15
- .map(function (e) {
16
- return e.bid;
17
- })
18
- .indexOf(data.detail.bid);
19
- for (let i = currentBreadcrumb, l = this.breadcrumbs.length; i < l; i++) {
20
- this.menuContainerToggled.emit({
21
- triggerItem: this.breadcrumbs[i].bid,
22
- triggerType: 'remove',
23
- });
24
- }
25
- this.breadcrumbs = [];
26
- this.breadcrumbs = breadcrumbs.slice(0, -1);
27
- // Reset if home breadcrumb link has been clicked.
28
- if (currentBreadcrumb === 0) {
17
+ breadcrumbTimeout = setTimeout(() => {
18
+ let currentBreadcrumb = breadcrumbs
19
+ .map(function (e) {
20
+ return e.bid;
21
+ })
22
+ .indexOf(data.detail.bid);
23
+ for (let i = currentBreadcrumb, l = this.breadcrumbs.length; i < l; i++) {
24
+ this.menuContainerToggled.emit({
25
+ triggerItem: this.breadcrumbs[i].bid,
26
+ triggerType: 'remove',
27
+ });
28
+ }
29
29
  this.breadcrumbs = [];
30
- // Notify menu-level-container toggle listener about closing all levels.
31
- let elements = this.el.querySelectorAll('.hy-menu-level-container--mobile');
32
- elements.forEach((element) => {
33
- if (!element.classList.contains('hy-menu-level-container--level-0')) {
34
- this.menuContainerToggled.emit({
35
- triggerItem: element.getAttribute('trigger-item'),
36
- triggerType: 'remove',
37
- });
38
- }
39
- });
40
- }
30
+ this.breadcrumbs = breadcrumbs.slice(0, -1);
31
+ // Reset if home breadcrumb link has been clicked.
32
+ if (currentBreadcrumb === 0) {
33
+ this.breadcrumbs = [];
34
+ // Notify menu-level-container toggle listener about closing all levels.
35
+ let elements = this.el.querySelectorAll('.hy-menu-level-container--mobile');
36
+ elements.forEach((element) => {
37
+ if (!element.classList.contains('hy-menu-level-container--level-0')) {
38
+ this.menuContainerToggled.emit({
39
+ triggerItem: element.getAttribute('trigger-item'),
40
+ triggerType: 'remove',
41
+ });
42
+ }
43
+ });
44
+ }
45
+ }, 100);
41
46
  }
42
47
  // Listener for adding a breadcrumb to mobile menu breadcrumbs.
43
48
  addBreadcrumb(event) {
44
- this.breadcrumbs = [
45
- ...this.breadcrumbs,
46
- {
47
- label: event.detail.label,
48
- bid: event.detail.bid,
49
- url: event.detail.url,
50
- },
51
- ];
49
+ clearTimeout(addbreadTimeout);
50
+ addbreadTimeout = setTimeout(() => {
51
+ this.breadcrumbs = [
52
+ ...this.breadcrumbs,
53
+ {
54
+ label: event.detail.label,
55
+ bid: event.detail.bid,
56
+ url: event.detail.url,
57
+ },
58
+ ];
59
+ }, 100);
52
60
  }
53
61
  async componentWillLoad() {
54
62
  this.breadcrumbs = [];
55
63
  }
64
+ disconnectedCallback() {
65
+ clearTimeout(breadcrumbTimeout);
66
+ clearTimeout(addbreadTimeout);
67
+ }
56
68
  componentWillUpdate() {
57
69
  // Pass the menu type and menu-button-submenu-expand attributes to
58
70
  // the child menu-level-container component.
@@ -1,6 +1,8 @@
1
1
  import { Component, Element, h, State, Listen, Prop } from '@stencil/core';
2
2
  import { MenuType, SiteLogoSize, ColorVariant } from '../../../utils/utils';
3
3
  import ResizeObserver from 'resize-observer-polyfill';
4
+ let sidebarClickTimeout = null;
5
+ let sidepanelClickTimeout = null;
4
6
  export class MenuSidebar {
5
7
  constructor() {
6
8
  /**
@@ -241,17 +243,23 @@ export class MenuSidebar {
241
243
  const sidebarContainer = document.querySelector('.hy-menu-sidebar--container');
242
244
  if (sidebarContainer) {
243
245
  sidebarContainer.addEventListener('click', (e) => {
244
- if (e.target.classList.contains('sidebar-open')) {
245
- this.closeWholeTree();
246
- }
246
+ clearTimeout(sidebarClickTimeout);
247
+ sidebarClickTimeout = setTimeout(() => {
248
+ if (e.target.classList.contains('sidebar-open')) {
249
+ this.closeWholeTree();
250
+ }
251
+ }, 250);
247
252
  });
248
253
  }
249
254
  const sidepanelContainer = document.querySelector('.hy-menu-sidepanel--container');
250
255
  if (sidepanelContainer) {
251
256
  sidepanelContainer.addEventListener('click', (e) => {
252
- if (e.target.classList.contains('sidepanel-open')) {
253
- this.panelToggle(e);
254
- }
257
+ clearTimeout(sidepanelClickTimeout);
258
+ sidepanelClickTimeout = setTimeout(() => {
259
+ if (e.target.classList.contains('sidepanel-open')) {
260
+ this.panelToggle(e);
261
+ }
262
+ }, 250);
255
263
  });
256
264
  }
257
265
  const logoColor = ColorVariant.black;
@@ -1,4 +1,5 @@
1
1
  import { Component, Host, h, Prop, State, Fragment } from '@stencil/core';
2
+ let resizeTimeout = null;
2
3
  export class PersonProfile {
3
4
  constructor() {
4
5
  this.isFullAboutTextHidden = false;
@@ -6,6 +7,9 @@ export class PersonProfile {
6
7
  componentWillLoad() {
7
8
  this.viewportSize = window.innerWidth;
8
9
  }
10
+ disconnectedCallback() {
11
+ clearTimeout(resizeTimeout);
12
+ }
9
13
  toggleShowFullAboutText() {
10
14
  this.isFullAboutTextHidden = !this.isFullAboutTextHidden;
11
15
  }
@@ -37,7 +41,10 @@ export class PersonProfile {
37
41
  }
38
42
  }
39
43
  window.addEventListener('resize', () => {
40
- this.viewportSize = window.innerWidth;
44
+ clearTimeout(resizeTimeout);
45
+ resizeTimeout = setTimeout(() => {
46
+ this.viewportSize = window.innerWidth;
47
+ }, 250);
41
48
  });
42
49
  return (h(Host, null,
43
50
  h("section", { class: "hy-profile-page" },
@@ -6,6 +6,8 @@ let keys = {
6
6
  tab: 'Tab',
7
7
  space: 'Space',
8
8
  };
9
+ let scrollTimeout = null;
10
+ let resizeTimeout = null;
9
11
  export class HyDesktopMenuLinks {
10
12
  constructor() {
11
13
  /*
@@ -95,18 +97,21 @@ export class HyDesktopMenuLinks {
95
97
  let backdropToolbarOffset = backdropOffset - 79;
96
98
  if (!this.isDropdown) {
97
99
  window.addEventListener('scroll', () => {
98
- topOffset = window.pageYOffset;
99
- if (topOffset === 0) {
100
- activeMenuItemSibling.style.top = `${panelElementOffset}px`;
101
- }
102
- if (headerShadowRootElement.classList.contains('hy-site-header--sticky-active') && topOffset > 0) {
103
- if (bodyElementClasses.contains('toolbar-horizontal')) {
104
- activeMenuItemSibling.style.top = `${headerElementHeight}px`;
105
- if (this.isDesktopMenuOpen) {
106
- this.showBackdropShadow('open', backdropToolbarOffset);
100
+ clearTimeout(scrollTimeout);
101
+ scrollTimeout = setTimeout(() => {
102
+ topOffset = window.pageYOffset;
103
+ if (topOffset === 0) {
104
+ activeMenuItemSibling.style.top = `${panelElementOffset}px`;
105
+ }
106
+ if (headerShadowRootElement.classList.contains('hy-site-header--sticky-active') && topOffset > 0) {
107
+ if (bodyElementClasses.contains('toolbar-horizontal')) {
108
+ activeMenuItemSibling.style.top = `${headerElementHeight}px`;
109
+ if (this.isDesktopMenuOpen) {
110
+ this.showBackdropShadow('open', backdropToolbarOffset);
111
+ }
107
112
  }
108
113
  }
109
- }
114
+ }, 250);
110
115
  });
111
116
  }
112
117
  if (!this.isDropdown) {
@@ -135,15 +140,18 @@ export class HyDesktopMenuLinks {
135
140
  activeMenuItemSibling.style.right = `-17px`;
136
141
  }
137
142
  window.addEventListener('resize', () => {
138
- windowWidth = window.outerWidth;
139
- if (windowWidth - activeMenuItem.getBoundingClientRect().left < desktopMenuPanelWidth) {
140
- activeMenuItemSibling.style.left = `auto`;
141
- activeMenuItemSibling.style.right = `-17px`;
142
- }
143
- else {
144
- activeMenuItemSibling.style.left = `-17px`;
145
- activeMenuItemSibling.style.right = `auto`;
146
- }
143
+ clearTimeout(resizeTimeout);
144
+ resizeTimeout = setTimeout(() => {
145
+ windowWidth = window.outerWidth;
146
+ if (windowWidth - activeMenuItem.getBoundingClientRect().left < desktopMenuPanelWidth) {
147
+ activeMenuItemSibling.style.left = `auto`;
148
+ activeMenuItemSibling.style.right = `-17px`;
149
+ }
150
+ else {
151
+ activeMenuItemSibling.style.left = `-17px`;
152
+ activeMenuItemSibling.style.right = `auto`;
153
+ }
154
+ }, 250);
147
155
  });
148
156
  }
149
157
  }
@@ -2,10 +2,13 @@ import { Component, Element, Event, Fragment, h, Listen, Prop, State } from '@st
2
2
  import ResizeObserver from 'resize-observer-polyfill';
3
3
  import { MenuType, ColorVariant, SiteLogoSize } from '../../utils/utils';
4
4
  import { jsonParserWorker } from '../../global/globalScript';
5
+ let clickTimeout = null;
6
+ let scrollTimeout = null;
5
7
  export class SiteHeader {
6
8
  constructor() {
7
9
  this.isGroup = false;
8
10
  this.isLuomusGroup = false;
11
+ this.isBetaGroup = false;
9
12
  this.researchGroupLabel = '';
10
13
  this.groupType = '';
11
14
  this.groupLogoUrl = '';
@@ -42,7 +45,10 @@ export class SiteHeader {
42
45
  this.menuMobileTopToggled.emit();
43
46
  }
44
47
  handleScroll() {
45
- this.check();
48
+ clearTimeout(scrollTimeout);
49
+ scrollTimeout = setTimeout(() => {
50
+ this.check();
51
+ }, 250);
46
52
  }
47
53
  componentDidLoad() {
48
54
  // Set the browser resize observer to gather information about browser width.
@@ -141,6 +147,8 @@ export class SiteHeader {
141
147
  }
142
148
  disconnectedCallback() {
143
149
  this.ro.disconnect();
150
+ clearTimeout(scrollTimeout);
151
+ clearTimeout(clickTimeout);
144
152
  }
145
153
  applySizeClasses(size) {
146
154
  // Set the menu-type based on the width of the browser.
@@ -175,8 +183,20 @@ export class SiteHeader {
175
183
  }
176
184
  };
177
185
  if (this.isMenuOpen) {
178
- window.addEventListener('click', handleClickOutside);
186
+ window.addEventListener('click', () => {
187
+ clearTimeout(clickTimeout);
188
+ clickTimeout = setTimeout(() => {
189
+ handleClickOutside;
190
+ }, 250);
191
+ });
179
192
  }
193
+ let activeLang = 'en';
194
+ let dataMenuLanguageArray = JSON.parse(this.dataMenuLanguage);
195
+ dataMenuLanguageArray.forEach((lang) => {
196
+ if (lang.isActive) {
197
+ activeLang = lang.langCode;
198
+ }
199
+ });
180
200
  switch (this.menuType) {
181
201
  case MenuType.desktop:
182
202
  // Larger than 1200px screens
@@ -194,7 +214,7 @@ export class SiteHeader {
194
214
  this.dataMainMenuLinks.length > 2 && (h("hy-menu-main-group", { tabindex: "0", "is-mobile": false, "menu-label": (_a = this.groupPages['university_main_menu']) !== null && _a !== void 0 ? _a : null, "data-main-menu": this.dataMainMenuLinks })),
195
215
  h("div", { class: "hy-site-header__actions" },
196
216
  h("hy-menu-language", { "data-menu-language": this.dataMenuLanguage, labels: this.languageLabels, isGroup: true }),
197
- !this.noSearch && (h("hy-site-search", { class: 'menu--secondary__item group', size: 18, color: logoColorGroup, "is-group": true, "show-label": this.showSearchLabel, labels: this.searchLabels, "search-labels": this.dataSiteSearchLabels, "search-tools": this.dataSearchTools })),
217
+ !this.noSearch && (h("hy-site-search", { class: 'menu--secondary__item group', size: 18, color: logoColorGroup, "is-group": true, "is-luomus-group": this.isLuomusGroup, "is-beta-group": this.isBetaGroup, "search-language": activeLang, "show-label": this.showSearchLabel, labels: this.searchLabels, "search-labels": this.dataSiteSearchLabels, "search-tools": this.dataSearchTools })),
198
218
  this.donateLink.map(({ label, url }) => {
199
219
  return (h("a", { class: 'hy-site-header__donate-link', href: url },
200
220
  h("hy-icon", { icon: 'hy-icon-heart-support', size: 14, fill: ColorVariant.black }),
@@ -207,7 +227,7 @@ export class SiteHeader {
207
227
  this.groupType != 'research_group_menu' && (h("hy-desktop-menu-links", { "data-desktop-links": this.dataDesktopLinks, isGroup: this.isGroup, isDropdown: this.isDesktopMenuDropdown })),
208
228
  !this.isGroup && (h("div", { class: "hy-site-header__actions" },
209
229
  h("hy-menu-language", { "data-menu-language": this.dataMenuLanguage, labels: this.languageLabels }),
210
- !this.noSearch && (h("hy-site-search", { size: 14, color: ColorVariant.black, "show-label": this.showSearchLabel, labels: this.searchLabels, "search-labels": this.dataSiteSearchLabels, "search-tools": this.dataSearchTools })),
230
+ !this.noSearch && (h("hy-site-search", { size: 14, "is-luomus-group": this.isLuomusGroup, "is-beta-group": this.isBetaGroup, "search-language": activeLang, color: ColorVariant.black, "show-label": this.showSearchLabel, labels: this.searchLabels, "search-labels": this.dataSiteSearchLabels, "search-tools": this.dataSearchTools })),
211
231
  this.donateLink.map(({ label, url }) => {
212
232
  return (h("a", { class: 'hy-site-header__donate-link', href: url },
213
233
  h("hy-icon", { icon: 'hy-icon-heart-support', size: 14, fill: ColorVariant.black }),
@@ -225,7 +245,7 @@ export class SiteHeader {
225
245
  h("hy-site-logo", { "is-group": true, "is-luomus-group": this.isLuomusGroup, size: logoSizeGroup, color: logoColorGroup, url: this.siteUrl, label: this.siteLabel })),
226
246
  h("div", { class: "hy-site-header__actions" },
227
247
  h("hy-menu-language", { "data-menu-language": this.dataMenuLanguage, labels: this.languageLabels, isGroup: true }),
228
- !this.noSearch && (h("hy-site-search", { class: 'menu--secondary__item group', size: 18, color: logoColorGroup, "is-group": true, "show-label": this.showSearchLabel, labels: this.searchLabels, "search-labels": this.dataSiteSearchLabels, "search-tools": this.dataSearchTools })),
248
+ !this.noSearch && (h("hy-site-search", { class: 'menu--secondary__item group', size: 18, color: logoColorGroup, "is-group": true, "is-luomus-group": this.isLuomusGroup, "is-beta-group": this.isBetaGroup, "search-language": activeLang, "show-label": this.showSearchLabel, labels: this.searchLabels, "search-labels": this.dataSiteSearchLabels, "search-tools": this.dataSearchTools })),
229
249
  this.dataMainMenuLinks.length > 2 && (h("hy-menu-main-group", { "site-label": this.siteLabel, "site-url": this.siteUrl, "logo-label": this.logoLabel, "logo-url": this.logoUrl, "is-mobile": true, donate: this.donateLink, "data-main-menu": this.dataMainMenuLinks })))))),
230
250
  h("section", { class: "hy-site-header__container" },
231
251
  h("div", { class: 'hy-site-header__branding' },
@@ -233,7 +253,7 @@ export class SiteHeader {
233
253
  this.isGroup ? (h("a", { href: this.logoUrl }, this.groupType == 'generic_site_group_menu' && this.groupLogoUrl ? (h("img", { src: this.groupLogoUrl, alt: `${this.logoLabel} logo` })) : (this.logoLabel))) : (h("hy-site-logo", { size: logoSize, color: logoColor, url: this.logoUrl, label: this.logoLabel }))),
234
254
  h("div", { class: "hy-site-header__actions" },
235
255
  !this.isGroup && (h("hy-menu-language", { "data-menu-language": this.dataMenuLanguage, labels: this.languageLabels })),
236
- !this.isGroup && !this.noSearch && (h("hy-site-search", { size: 24, color: ColorVariant.black, "show-label": this.showSearchLabel, labels: this.searchLabels, "search-labels": this.dataSiteSearchLabels, "search-tools": this.dataSearchTools })),
256
+ !this.isGroup && !this.noSearch && (h("hy-site-search", { size: 24, color: ColorVariant.black, "is-luomus-group": this.isLuomusGroup, "is-beta-group": this.isBetaGroup, "search-language": activeLang, "show-label": this.showSearchLabel, labels: this.searchLabels, "search-labels": this.dataSiteSearchLabels, "search-tools": this.dataSearchTools })),
237
257
  h("button", { onClick: () => toggleMenuMobileAndRemoveListener(), class: `hy-site-header__menu-open-button`, "aria-label": this.menuLabels['open'], "aria-expanded": `${this.isMenuOpen}` },
238
258
  !this.isMenuOpen && h("hy-icon", { icon: 'hy-icon-hamburger', size: 24, fill: ColorVariant.black }),
239
259
  this.isMenuOpen && (h(Fragment, null,
@@ -291,6 +311,24 @@ export class SiteHeader {
291
311
  "reflect": false,
292
312
  "defaultValue": "false"
293
313
  },
314
+ "isBetaGroup": {
315
+ "type": "boolean",
316
+ "mutable": false,
317
+ "complexType": {
318
+ "original": "boolean",
319
+ "resolved": "boolean",
320
+ "references": {}
321
+ },
322
+ "required": false,
323
+ "optional": false,
324
+ "docs": {
325
+ "tags": [],
326
+ "text": ""
327
+ },
328
+ "attribute": "is-beta-group",
329
+ "reflect": false,
330
+ "defaultValue": "false"
331
+ },
294
332
  "researchGroupLabel": {
295
333
  "type": "string",
296
334
  "mutable": false,