@itcenteratunihelsinki/huds-lib 0.8.41 → 0.8.42

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 (557) hide show
  1. package/dist/cjs/color-box_8.cjs.entry.js +13 -36
  2. package/dist/cjs/color-box_8.cjs.entry.js.map +1 -0
  3. package/dist/cjs/{globalScript-6b592153.js → globalScript-45ad6d41.js} +3 -1
  4. package/dist/cjs/globalScript-45ad6d41.js.map +1 -0
  5. package/dist/cjs/huds-lib.cjs.js +12 -3
  6. package/dist/cjs/huds-lib.cjs.js.map +1 -0
  7. package/dist/cjs/hy-accordion-container_83.cjs.entry.js +365 -157
  8. package/dist/cjs/hy-accordion-container_83.cjs.entry.js.map +1 -0
  9. package/dist/cjs/hy-event-item.cjs.entry.js +7 -2
  10. package/dist/cjs/hy-event-item.cjs.entry.js.map +1 -0
  11. package/dist/cjs/hy-events.cjs.entry.js +6 -2
  12. package/dist/cjs/hy-events.cjs.entry.js.map +1 -0
  13. package/dist/cjs/{index-dfc917d9.js → index-25bd964b.js} +692 -287
  14. package/dist/cjs/index-25bd964b.js.map +1 -0
  15. package/dist/cjs/index.cjs.js +2 -0
  16. package/dist/cjs/index.cjs.js.map +1 -0
  17. package/dist/cjs/loader.cjs.js +6 -3
  18. package/dist/cjs/loader.cjs.js.map +1 -0
  19. package/dist/cjs/utils-14d5aa6f.js +2 -0
  20. package/dist/cjs/utils-14d5aa6f.js.map +1 -0
  21. package/dist/collection/collection-manifest.json +2 -2
  22. package/dist/collection/components/accordion-container/accordion-container.js +37 -30
  23. package/dist/collection/components/accordion-container/accordion-container.js.map +1 -0
  24. package/dist/collection/components/accordion-item/accordion-item.js +116 -114
  25. package/dist/collection/components/accordion-item/accordion-item.js.map +1 -0
  26. package/dist/collection/components/adjacent-image-text/adjacent-image-text.js +277 -275
  27. package/dist/collection/components/adjacent-image-text/adjacent-image-text.js.map +1 -0
  28. package/dist/collection/components/baseline/baseline.js +35 -32
  29. package/dist/collection/components/baseline/baseline.js.map +1 -0
  30. package/dist/collection/components/button/button.js +226 -257
  31. package/dist/collection/components/button/button.js.map +1 -0
  32. package/dist/collection/components/color-box/color-box.js +13 -9
  33. package/dist/collection/components/color-box/color-box.js.map +1 -0
  34. package/dist/collection/components/courses/hy-content-list/hy-content-list.js +154 -148
  35. package/dist/collection/components/courses/hy-content-list/hy-content-list.js.map +1 -0
  36. package/dist/collection/components/courses/hy-content-list-item/hy-content-list-item.css +2 -2
  37. package/dist/collection/components/courses/hy-content-list-item/hy-content-list-item.js +335 -331
  38. package/dist/collection/components/courses/hy-content-list-item/hy-content-list-item.js.map +1 -0
  39. package/dist/collection/components/cta-button/cta-button.js +141 -138
  40. package/dist/collection/components/cta-button/cta-button.js.map +1 -0
  41. package/dist/collection/components/cta-link/cta-link.js +107 -103
  42. package/dist/collection/components/cta-link/cta-link.js.map +1 -0
  43. package/dist/collection/components/docs-container/docs-container.js +13 -9
  44. package/dist/collection/components/docs-container/docs-container.js.map +1 -0
  45. package/dist/collection/components/footer/hy-footer/hy-footer.js +13 -9
  46. package/dist/collection/components/footer/hy-footer/hy-footer.js.map +1 -0
  47. package/dist/collection/components/footer/hy-footer-action/hy-footer-action.js +63 -55
  48. package/dist/collection/components/footer/hy-footer-action/hy-footer-action.js.map +1 -0
  49. package/dist/collection/components/footer/hy-footer-base/hy-footer-base.js +183 -187
  50. package/dist/collection/components/footer/hy-footer-base/hy-footer-base.js.map +1 -0
  51. package/dist/collection/components/footer/hy-footer-info/hy-footer-info.js +278 -270
  52. package/dist/collection/components/footer/hy-footer-info/hy-footer-info.js.map +1 -0
  53. package/dist/collection/components/footer/hy-footer-link-item/hy-footer-link-item.js +191 -190
  54. package/dist/collection/components/footer/hy-footer-link-item/hy-footer-link-item.js.map +1 -0
  55. package/dist/collection/components/global-workers/globals.worker.js +1 -0
  56. package/dist/collection/components/global-workers/globals.worker.js.map +1 -0
  57. package/dist/collection/components/grid-container/grid-container.js +13 -9
  58. package/dist/collection/components/grid-container/grid-container.js.map +1 -0
  59. package/dist/collection/components/grid-item/grid-item.css +0 -23
  60. package/dist/collection/components/grid-item/grid-item.js +102 -96
  61. package/dist/collection/components/grid-item/grid-item.js.map +1 -0
  62. package/dist/collection/components/grid-row/grid-row.js +13 -9
  63. package/dist/collection/components/grid-row/grid-row.js.map +1 -0
  64. package/dist/collection/components/heading/heading-fw.css +17 -17
  65. package/dist/collection/components/heading/heading.css +17 -17
  66. package/dist/collection/components/heading/heading.js +142 -146
  67. package/dist/collection/components/heading/heading.js.map +1 -0
  68. package/dist/collection/components/hy-anchor-link-list/hy-anchor-link-list.js +105 -99
  69. package/dist/collection/components/hy-anchor-link-list/hy-anchor-link-list.js.map +1 -0
  70. package/dist/collection/components/hy-badge/hy-badge.js +35 -30
  71. package/dist/collection/components/hy-badge/hy-badge.js.map +1 -0
  72. package/dist/collection/components/hy-banner/hy-banner.js +137 -135
  73. package/dist/collection/components/hy-banner/hy-banner.js.map +1 -0
  74. package/dist/collection/components/hy-box/hy-box.js +323 -318
  75. package/dist/collection/components/hy-box/hy-box.js.map +1 -0
  76. package/dist/collection/components/hy-box-container/hy-box-container.js +53 -54
  77. package/dist/collection/components/hy-box-container/hy-box-container.js.map +1 -0
  78. package/dist/collection/components/hy-breadcrumbs/hy-breadcrumbs.js +89 -82
  79. package/dist/collection/components/hy-breadcrumbs/hy-breadcrumbs.js.map +1 -0
  80. package/dist/collection/components/hy-checkbox/hy-checkbox.js +108 -114
  81. package/dist/collection/components/hy-checkbox/hy-checkbox.js.map +1 -0
  82. package/dist/collection/components/hy-collaboration/hy-collaboration.js +105 -99
  83. package/dist/collection/components/hy-collaboration/hy-collaboration.js.map +1 -0
  84. package/dist/collection/components/hy-crisis-banner/hy-crisis-banner.js +88 -85
  85. package/dist/collection/components/hy-crisis-banner/hy-crisis-banner.js.map +1 -0
  86. package/dist/collection/components/hy-dropdown/hy-dropdown.js +153 -147
  87. package/dist/collection/components/hy-dropdown/hy-dropdown.js.map +1 -0
  88. package/dist/collection/components/hy-dropdown/hy-dropdown.panel.item.js +76 -74
  89. package/dist/collection/components/hy-dropdown/hy-dropdown.panel.item.js.map +1 -0
  90. package/dist/collection/components/hy-dropdown/hy-dropdown.panel.js +27 -22
  91. package/dist/collection/components/hy-dropdown/hy-dropdown.panel.js.map +1 -0
  92. package/dist/collection/components/hy-event-item/hy-event-item.js +184 -192
  93. package/dist/collection/components/hy-event-item/hy-event-item.js.map +1 -0
  94. package/dist/collection/components/hy-events/hy-events.js +131 -127
  95. package/dist/collection/components/hy-events/hy-events.js.map +1 -0
  96. package/dist/collection/components/hy-filter-group/hy-filter-group.item.js +44 -41
  97. package/dist/collection/components/hy-filter-group/hy-filter-group.item.js.map +1 -0
  98. package/dist/collection/components/hy-filter-group/hy-filter-group.js +64 -54
  99. package/dist/collection/components/hy-filter-group/hy-filter-group.js.map +1 -0
  100. package/dist/collection/components/hy-filter-list-type/hy-filter-list-type.js +62 -56
  101. package/dist/collection/components/hy-filter-list-type/hy-filter-list-type.js.map +1 -0
  102. package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.js +38 -30
  103. package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.js.map +1 -0
  104. package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.js +3 -4
  105. package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.js.map +1 -0
  106. package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.toggle.js +3 -8
  107. package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.toggle.js.map +1 -0
  108. package/dist/collection/components/hy-general-list/hy-general-list.js +123 -113
  109. package/dist/collection/components/hy-general-list/hy-general-list.js.map +1 -0
  110. package/dist/collection/components/hy-general-list-item/hy-general-list-item.js +256 -258
  111. package/dist/collection/components/hy-general-list-item/hy-general-list-item.js.map +1 -0
  112. package/dist/collection/components/hy-hero/hy-hero.css +2 -2
  113. package/dist/collection/components/hy-hero/hy-hero.js +296 -308
  114. package/dist/collection/components/hy-hero/hy-hero.js.map +1 -0
  115. package/dist/collection/components/hy-introduction/hy-introduction.js +248 -250
  116. package/dist/collection/components/hy-introduction/hy-introduction.js.map +1 -0
  117. package/dist/collection/components/hy-key-figure/hy-key-figure.js +73 -66
  118. package/dist/collection/components/hy-key-figure/hy-key-figure.js.map +1 -0
  119. package/dist/collection/components/hy-key-figure-group/hy-key-figure-group.css +1 -1
  120. package/dist/collection/components/hy-key-figure-group/hy-key-figure-group.js +67 -65
  121. package/dist/collection/components/hy-key-figure-group/hy-key-figure-group.js.map +1 -0
  122. package/dist/collection/components/hy-key-highlight/hy-key-highlight.js +73 -67
  123. package/dist/collection/components/hy-key-highlight/hy-key-highlight.js.map +1 -0
  124. package/dist/collection/components/hy-key-highlight-group/hy-key-highlight-group.css +2 -2
  125. package/dist/collection/components/hy-key-highlight-group/hy-key-highlight-group.js +79 -71
  126. package/dist/collection/components/hy-key-highlight-group/hy-key-highlight-group.js.map +1 -0
  127. package/dist/collection/components/hy-large-process-flow/hy-large-process-flow.css +6 -6
  128. package/dist/collection/components/hy-large-process-flow/hy-large-process-flow.js +55 -46
  129. package/dist/collection/components/hy-large-process-flow/hy-large-process-flow.js.map +1 -0
  130. package/dist/collection/components/hy-large-process-flow-phase/hy-large-process-flow-phase.css +3 -3
  131. package/dist/collection/components/hy-large-process-flow-phase/hy-large-process-flow-phase.js +41 -37
  132. package/dist/collection/components/hy-large-process-flow-phase/hy-large-process-flow-phase.js.map +1 -0
  133. package/dist/collection/components/hy-link-list/hy-link-list.js +107 -100
  134. package/dist/collection/components/hy-link-list/hy-link-list.js.map +1 -0
  135. package/dist/collection/components/hy-list-item/hy-list-item.js +429 -451
  136. package/dist/collection/components/hy-list-item/hy-list-item.js.map +1 -0
  137. package/dist/collection/components/hy-logo-grid/hy-logo-grid.item.js +54 -47
  138. package/dist/collection/components/hy-logo-grid/hy-logo-grid.item.js.map +1 -0
  139. package/dist/collection/components/hy-logo-grid/hy-logo-grid.js +54 -46
  140. package/dist/collection/components/hy-logo-grid/hy-logo-grid.js.map +1 -0
  141. package/dist/collection/components/hy-main/hy-main.js +35 -29
  142. package/dist/collection/components/hy-main/hy-main.js.map +1 -0
  143. package/dist/collection/components/hy-main-content-wrapper/hy-main-content-wrapper.js +13 -10
  144. package/dist/collection/components/hy-main-content-wrapper/hy-main-content-wrapper.js.map +1 -0
  145. package/dist/collection/components/hy-opening-hours/hy-opening-hours.css +2 -2
  146. package/dist/collection/components/hy-opening-hours/hy-opening-hours.js +305 -308
  147. package/dist/collection/components/hy-opening-hours/hy-opening-hours.js.map +1 -0
  148. package/dist/collection/components/hy-opening-hours-content/hy-opening-hours-content.css +2 -2
  149. package/dist/collection/components/hy-opening-hours-content/hy-opening-hours-content.js +108 -107
  150. package/dist/collection/components/hy-opening-hours-content/hy-opening-hours-content.js.map +1 -0
  151. package/dist/collection/components/hy-person-card/hy-person-card.js +423 -438
  152. package/dist/collection/components/hy-person-card/hy-person-card.js.map +1 -0
  153. package/dist/collection/components/hy-prominent-image/hy-prominent-image.js +107 -100
  154. package/dist/collection/components/hy-prominent-image/hy-prominent-image.js.map +1 -0
  155. package/dist/collection/components/hy-quote/hy-quote.js +52 -51
  156. package/dist/collection/components/hy-quote/hy-quote.js.map +1 -0
  157. package/dist/collection/components/hy-search-field/hy-search-field.js +167 -167
  158. package/dist/collection/components/hy-search-field/hy-search-field.js.map +1 -0
  159. package/dist/collection/components/hy-shortcuts/hy-shortcuts.css +1 -1
  160. package/dist/collection/components/hy-shortcuts/hy-shortcuts.js +90 -87
  161. package/dist/collection/components/hy-shortcuts/hy-shortcuts.js.map +1 -0
  162. package/dist/collection/components/hy-table-container/hy-table-container.css +6 -6
  163. package/dist/collection/components/hy-table-container/hy-table-container.js +13 -10
  164. package/dist/collection/components/hy-table-container/hy-table-container.js.map +1 -0
  165. package/dist/collection/components/hy-tabs/hy-tabs.js +116 -111
  166. package/dist/collection/components/hy-tabs/hy-tabs.js.map +1 -0
  167. package/dist/collection/components/hy-tabs-item/hy-tabs-item.js +37 -28
  168. package/dist/collection/components/hy-tabs-item/hy-tabs-item.js.map +1 -0
  169. package/dist/collection/components/hy-tag/hy-tag.js +13 -11
  170. package/dist/collection/components/hy-tag/hy-tag.js.map +1 -0
  171. package/dist/collection/components/hy-twitter-feed/hy-twitter-feed.js +108 -128
  172. package/dist/collection/components/hy-twitter-feed/hy-twitter-feed.js.map +1 -0
  173. package/dist/collection/components/hy-two-columns/hy-two-columns.js +35 -33
  174. package/dist/collection/components/hy-two-columns/hy-two-columns.js.map +1 -0
  175. package/dist/collection/components/hy-user-login-form/hy-user-login-form.js +54 -46
  176. package/dist/collection/components/hy-user-login-form/hy-user-login-form.js.map +1 -0
  177. package/dist/collection/components/hy-video/hy-video.css +1 -1
  178. package/dist/collection/components/hy-video/hy-video.js +463 -500
  179. package/dist/collection/components/hy-video/hy-video.js.map +1 -0
  180. package/dist/collection/components/icon/AddToTodoList.js +2 -2
  181. package/dist/collection/components/icon/AddToTodoList.js.map +1 -0
  182. package/dist/collection/components/icon/Alert.js +2 -3
  183. package/dist/collection/components/icon/Alert.js.map +1 -0
  184. package/dist/collection/components/icon/Archive.js +2 -5
  185. package/dist/collection/components/icon/Archive.js.map +1 -0
  186. package/dist/collection/components/icon/Arrow.js +2 -2
  187. package/dist/collection/components/icon/Arrow.js.map +1 -0
  188. package/dist/collection/components/icon/ArrowDown.js +2 -2
  189. package/dist/collection/components/icon/ArrowDown.js.map +1 -0
  190. package/dist/collection/components/icon/ArrowRight.js +2 -7
  191. package/dist/collection/components/icon/ArrowRight.js.map +1 -0
  192. package/dist/collection/components/icon/ArrowUp.js +2 -2
  193. package/dist/collection/components/icon/ArrowUp.js.map +1 -0
  194. package/dist/collection/components/icon/Avatar.js +2 -2
  195. package/dist/collection/components/icon/Avatar.js.map +1 -0
  196. package/dist/collection/components/icon/AvatarGroup.js +2 -2
  197. package/dist/collection/components/icon/AvatarGroup.js.map +1 -0
  198. package/dist/collection/components/icon/Bachelor.js +2 -2
  199. package/dist/collection/components/icon/Bachelor.js.map +1 -0
  200. package/dist/collection/components/icon/BulletList.js +2 -2
  201. package/dist/collection/components/icon/BulletList.js.map +1 -0
  202. package/dist/collection/components/icon/Camera.js +2 -2
  203. package/dist/collection/components/icon/Camera.js.map +1 -0
  204. package/dist/collection/components/icon/CaretDown.js +2 -2
  205. package/dist/collection/components/icon/CaretDown.js.map +1 -0
  206. package/dist/collection/components/icon/CaretLeft.js +2 -2
  207. package/dist/collection/components/icon/CaretLeft.js.map +1 -0
  208. package/dist/collection/components/icon/CaretRight.js +2 -2
  209. package/dist/collection/components/icon/CaretRight.js.map +1 -0
  210. package/dist/collection/components/icon/CaretUp.js +2 -2
  211. package/dist/collection/components/icon/CaretUp.js.map +1 -0
  212. package/dist/collection/components/icon/Chat.js +2 -2
  213. package/dist/collection/components/icon/Chat.js.map +1 -0
  214. package/dist/collection/components/icon/CodeFork.js +2 -2
  215. package/dist/collection/components/icon/CodeFork.js.map +1 -0
  216. package/dist/collection/components/icon/Cogs.js +2 -2
  217. package/dist/collection/components/icon/Cogs.js.map +1 -0
  218. package/dist/collection/components/icon/Contentlink.js +2 -2
  219. package/dist/collection/components/icon/Contentlink.js.map +1 -0
  220. package/dist/collection/components/icon/Customlink.js +2 -2
  221. package/dist/collection/components/icon/Customlink.js.map +1 -0
  222. package/dist/collection/components/icon/Date.js +2 -2
  223. package/dist/collection/components/icon/Date.js.map +1 -0
  224. package/dist/collection/components/icon/Discover.js +2 -2
  225. package/dist/collection/components/icon/Discover.js.map +1 -0
  226. package/dist/collection/components/icon/Done.js +2 -2
  227. package/dist/collection/components/icon/Done.js.map +1 -0
  228. package/dist/collection/components/icon/Dot.js +2 -2
  229. package/dist/collection/components/icon/Dot.js.map +1 -0
  230. package/dist/collection/components/icon/DotArrowRight.js +2 -6
  231. package/dist/collection/components/icon/DotArrowRight.js.map +1 -0
  232. package/dist/collection/components/icon/Download.js +2 -2
  233. package/dist/collection/components/icon/Download.js.map +1 -0
  234. package/dist/collection/components/icon/Drag.js +2 -2
  235. package/dist/collection/components/icon/Drag.js.map +1 -0
  236. package/dist/collection/components/icon/Dragbutton.js +2 -2
  237. package/dist/collection/components/icon/Dragbutton.js.map +1 -0
  238. package/dist/collection/components/icon/DropDown.js +2 -2
  239. package/dist/collection/components/icon/DropDown.js.map +1 -0
  240. package/dist/collection/components/icon/Edit.js +2 -2
  241. package/dist/collection/components/icon/Edit.js.map +1 -0
  242. package/dist/collection/components/icon/EditEvent.js +2 -2
  243. package/dist/collection/components/icon/EditEvent.js.map +1 -0
  244. package/dist/collection/components/icon/Embed.js +2 -2
  245. package/dist/collection/components/icon/Embed.js.map +1 -0
  246. package/dist/collection/components/icon/Euro.js +2 -2
  247. package/dist/collection/components/icon/Euro.js.map +1 -0
  248. package/dist/collection/components/icon/Events.js +2 -2
  249. package/dist/collection/components/icon/Events.js.map +1 -0
  250. package/dist/collection/components/icon/ExternalLink.js +2 -2
  251. package/dist/collection/components/icon/ExternalLink.js.map +1 -0
  252. package/dist/collection/components/icon/EyeSlash.js +2 -2
  253. package/dist/collection/components/icon/EyeSlash.js.map +1 -0
  254. package/dist/collection/components/icon/Facebook.js +2 -2
  255. package/dist/collection/components/icon/Facebook.js.map +1 -0
  256. package/dist/collection/components/icon/Favorites.js +2 -2
  257. package/dist/collection/components/icon/Favorites.js.map +1 -0
  258. package/dist/collection/components/icon/Feed.js +2 -2
  259. package/dist/collection/components/icon/Feed.js.map +1 -0
  260. package/dist/collection/components/icon/FileText.js +2 -2
  261. package/dist/collection/components/icon/FileText.js.map +1 -0
  262. package/dist/collection/components/icon/FullScreen.js +2 -2
  263. package/dist/collection/components/icon/FullScreen.js.map +1 -0
  264. package/dist/collection/components/icon/Globe.js +2 -2
  265. package/dist/collection/components/icon/Globe.js.map +1 -0
  266. package/dist/collection/components/icon/GooglePlus.js +2 -2
  267. package/dist/collection/components/icon/GooglePlus.js.map +1 -0
  268. package/dist/collection/components/icon/Grid.js +2 -2
  269. package/dist/collection/components/icon/Grid.js.map +1 -0
  270. package/dist/collection/components/icon/Hamburger.js +2 -2
  271. package/dist/collection/components/icon/Hamburger.js.map +1 -0
  272. package/dist/collection/components/icon/Heart.js +2 -2
  273. package/dist/collection/components/icon/Heart.js.map +1 -0
  274. package/dist/collection/components/icon/HeartSupport.js +2 -2
  275. package/dist/collection/components/icon/HeartSupport.js.map +1 -0
  276. package/dist/collection/components/icon/Helsinginyliopisto.js +2 -2
  277. package/dist/collection/components/icon/Helsinginyliopisto.js.map +1 -0
  278. package/dist/collection/components/icon/Home.js +2 -2
  279. package/dist/collection/components/icon/Home.js.map +1 -0
  280. package/dist/collection/components/icon/HorizontalResize.js +2 -2
  281. package/dist/collection/components/icon/HorizontalResize.js.map +1 -0
  282. package/dist/collection/components/icon/HyLogo.js +2 -2
  283. package/dist/collection/components/icon/HyLogo.js.map +1 -0
  284. package/dist/collection/components/icon/IdNumber.js +2 -2
  285. package/dist/collection/components/icon/IdNumber.js.map +1 -0
  286. package/dist/collection/components/icon/Image.js +2 -2
  287. package/dist/collection/components/icon/Image.js.map +1 -0
  288. package/dist/collection/components/icon/ImageGallery.js +2 -2
  289. package/dist/collection/components/icon/ImageGallery.js.map +1 -0
  290. package/dist/collection/components/icon/Images.js +2 -2
  291. package/dist/collection/components/icon/Images.js.map +1 -0
  292. package/dist/collection/components/icon/Info.js +2 -2
  293. package/dist/collection/components/icon/Info.js.map +1 -0
  294. package/dist/collection/components/icon/InfoStroke.js +2 -2
  295. package/dist/collection/components/icon/InfoStroke.js.map +1 -0
  296. package/dist/collection/components/icon/Instagram.js +2 -2
  297. package/dist/collection/components/icon/Instagram.js.map +1 -0
  298. package/dist/collection/components/icon/LeikiList.js +2 -2
  299. package/dist/collection/components/icon/LeikiList.js.map +1 -0
  300. package/dist/collection/components/icon/LinkArrow.js +2 -2
  301. package/dist/collection/components/icon/LinkArrow.js.map +1 -0
  302. package/dist/collection/components/icon/LinkArrow1.js +2 -2
  303. package/dist/collection/components/icon/LinkArrow1.js.map +1 -0
  304. package/dist/collection/components/icon/LinkArrowDown.js +2 -2
  305. package/dist/collection/components/icon/LinkArrowDown.js.map +1 -0
  306. package/dist/collection/components/icon/LinkArrowLeft.js +2 -2
  307. package/dist/collection/components/icon/LinkArrowLeft.js.map +1 -0
  308. package/dist/collection/components/icon/LinkArrowOffsite.js +2 -2
  309. package/dist/collection/components/icon/LinkArrowOffsite.js.map +1 -0
  310. package/dist/collection/components/icon/LinkArrowUp.js +2 -2
  311. package/dist/collection/components/icon/LinkArrowUp.js.map +1 -0
  312. package/dist/collection/components/icon/Linkedin.js +2 -2
  313. package/dist/collection/components/icon/Linkedin.js.map +1 -0
  314. package/dist/collection/components/icon/List.js +2 -2
  315. package/dist/collection/components/icon/List.js.map +1 -0
  316. package/dist/collection/components/icon/ListAsBlocks.js +2 -2
  317. package/dist/collection/components/icon/ListAsBlocks.js.map +1 -0
  318. package/dist/collection/components/icon/ListStyleGrid.js +2 -10
  319. package/dist/collection/components/icon/ListStyleGrid.js.map +1 -0
  320. package/dist/collection/components/icon/ListStyleList.js +2 -5
  321. package/dist/collection/components/icon/ListStyleList.js.map +1 -0
  322. package/dist/collection/components/icon/Listoflinks.js +2 -2
  323. package/dist/collection/components/icon/Listoflinks.js.map +1 -0
  324. package/dist/collection/components/icon/Location.js +2 -2
  325. package/dist/collection/components/icon/Location.js.map +1 -0
  326. package/dist/collection/components/icon/Log.js +2 -2
  327. package/dist/collection/components/icon/Log.js.map +1 -0
  328. package/dist/collection/components/icon/Login.js +2 -2
  329. package/dist/collection/components/icon/Login.js.map +1 -0
  330. package/dist/collection/components/icon/Logout.js +2 -2
  331. package/dist/collection/components/icon/Logout.js.map +1 -0
  332. package/dist/collection/components/icon/MagnifyMinus.js +2 -2
  333. package/dist/collection/components/icon/MagnifyMinus.js.map +1 -0
  334. package/dist/collection/components/icon/MagnifyPlus.js +2 -2
  335. package/dist/collection/components/icon/MagnifyPlus.js.map +1 -0
  336. package/dist/collection/components/icon/Mail.js +2 -2
  337. package/dist/collection/components/icon/Mail.js.map +1 -0
  338. package/dist/collection/components/icon/Master.js +2 -2
  339. package/dist/collection/components/icon/Master.js.map +1 -0
  340. package/dist/collection/components/icon/Minus.js +2 -2
  341. package/dist/collection/components/icon/Minus.js.map +1 -0
  342. package/dist/collection/components/icon/Mobile.js +2 -2
  343. package/dist/collection/components/icon/Mobile.js.map +1 -0
  344. package/dist/collection/components/icon/Modify.js +2 -2
  345. package/dist/collection/components/icon/Modify.js.map +1 -0
  346. package/dist/collection/components/icon/NaviTriangle.js +2 -2
  347. package/dist/collection/components/icon/NaviTriangle.js.map +1 -0
  348. package/dist/collection/components/icon/NewGroup.js +2 -2
  349. package/dist/collection/components/icon/NewGroup.js.map +1 -0
  350. package/dist/collection/components/icon/NewPerson.js +2 -2
  351. package/dist/collection/components/icon/NewPerson.js.map +1 -0
  352. package/dist/collection/components/icon/Notification.js +2 -2
  353. package/dist/collection/components/icon/Notification.js.map +1 -0
  354. package/dist/collection/components/icon/OpinderLogo.js +2 -2
  355. package/dist/collection/components/icon/OpinderLogo.js.map +1 -0
  356. package/dist/collection/components/icon/OpinderLogoNew.js +2 -2
  357. package/dist/collection/components/icon/OpinderLogoNew.js.map +1 -0
  358. package/dist/collection/components/icon/Pdf.js +2 -2
  359. package/dist/collection/components/icon/Pdf.js.map +1 -0
  360. package/dist/collection/components/icon/People.js +2 -2
  361. package/dist/collection/components/icon/People.js.map +1 -0
  362. package/dist/collection/components/icon/PermissionAll.js +2 -2
  363. package/dist/collection/components/icon/PermissionAll.js.map +1 -0
  364. package/dist/collection/components/icon/PermissionGroup.js +2 -2
  365. package/dist/collection/components/icon/PermissionGroup.js.map +1 -0
  366. package/dist/collection/components/icon/PermissionPrivate.js +2 -2
  367. package/dist/collection/components/icon/PermissionPrivate.js.map +1 -0
  368. package/dist/collection/components/icon/Person.js +2 -2
  369. package/dist/collection/components/icon/Person.js.map +1 -0
  370. package/dist/collection/components/icon/PersonOutline.js +2 -2
  371. package/dist/collection/components/icon/PersonOutline.js.map +1 -0
  372. package/dist/collection/components/icon/Phone.js +2 -2
  373. package/dist/collection/components/icon/Phone.js.map +1 -0
  374. package/dist/collection/components/icon/Play.js +2 -2
  375. package/dist/collection/components/icon/Play.js.map +1 -0
  376. package/dist/collection/components/icon/Plus.js +2 -2
  377. package/dist/collection/components/icon/Plus.js.map +1 -0
  378. package/dist/collection/components/icon/Preview.js +2 -2
  379. package/dist/collection/components/icon/Preview.js.map +1 -0
  380. package/dist/collection/components/icon/Profile.js +2 -2
  381. package/dist/collection/components/icon/Profile.js.map +1 -0
  382. package/dist/collection/components/icon/Question.js +2 -2
  383. package/dist/collection/components/icon/Question.js.map +1 -0
  384. package/dist/collection/components/icon/Remove.js +2 -2
  385. package/dist/collection/components/icon/Remove.js.map +1 -0
  386. package/dist/collection/components/icon/Retweet.js +2 -2
  387. package/dist/collection/components/icon/Retweet.js.map +1 -0
  388. package/dist/collection/components/icon/RotateLeft.js +2 -2
  389. package/dist/collection/components/icon/RotateLeft.js.map +1 -0
  390. package/dist/collection/components/icon/RotateRight.js +2 -2
  391. package/dist/collection/components/icon/RotateRight.js.map +1 -0
  392. package/dist/collection/components/icon/Search.js +2 -2
  393. package/dist/collection/components/icon/Search.js.map +1 -0
  394. package/dist/collection/components/icon/Share.js +2 -2
  395. package/dist/collection/components/icon/Share.js.map +1 -0
  396. package/dist/collection/components/icon/SlimHamburgerMenu.js +2 -2
  397. package/dist/collection/components/icon/SlimHamburgerMenu.js.map +1 -0
  398. package/dist/collection/components/icon/SocialMedia.js +2 -2
  399. package/dist/collection/components/icon/SocialMedia.js.map +1 -0
  400. package/dist/collection/components/icon/SomeFacebook.js +2 -2
  401. package/dist/collection/components/icon/SomeFacebook.js.map +1 -0
  402. package/dist/collection/components/icon/SomeInstagram.js +2 -4
  403. package/dist/collection/components/icon/SomeInstagram.js.map +1 -0
  404. package/dist/collection/components/icon/SomeLinkedin.js +2 -2
  405. package/dist/collection/components/icon/SomeLinkedin.js.map +1 -0
  406. package/dist/collection/components/icon/SomeTwitter.js +2 -2
  407. package/dist/collection/components/icon/SomeTwitter.js.map +1 -0
  408. package/dist/collection/components/icon/SomeYoutube.js +2 -2
  409. package/dist/collection/components/icon/SomeYoutube.js.map +1 -0
  410. package/dist/collection/components/icon/Spinner.js +2 -2
  411. package/dist/collection/components/icon/Spinner.js.map +1 -0
  412. package/dist/collection/components/icon/Square.js +2 -2
  413. package/dist/collection/components/icon/Square.js.map +1 -0
  414. package/dist/collection/components/icon/SquareChecked.js +2 -2
  415. package/dist/collection/components/icon/SquareChecked.js.map +1 -0
  416. package/dist/collection/components/icon/Time.js +2 -2
  417. package/dist/collection/components/icon/Time.js.map +1 -0
  418. package/dist/collection/components/icon/TodoList.js +2 -2
  419. package/dist/collection/components/icon/TodoList.js.map +1 -0
  420. package/dist/collection/components/icon/Tour.js +2 -2
  421. package/dist/collection/components/icon/Tour.js.map +1 -0
  422. package/dist/collection/components/icon/Twitter.js +2 -2
  423. package/dist/collection/components/icon/Twitter.js.map +1 -0
  424. package/dist/collection/components/icon/TwitterLike.js +2 -2
  425. package/dist/collection/components/icon/TwitterLike.js.map +1 -0
  426. package/dist/collection/components/icon/UnitsAndFaculties.js +2 -2
  427. package/dist/collection/components/icon/UnitsAndFaculties.js.map +1 -0
  428. package/dist/collection/components/icon/Url.js +2 -2
  429. package/dist/collection/components/icon/Url.js.map +1 -0
  430. package/dist/collection/components/icon/Video.js +2 -2
  431. package/dist/collection/components/icon/Video.js.map +1 -0
  432. package/dist/collection/components/icon/Warning.js +2 -2
  433. package/dist/collection/components/icon/Warning.js.map +1 -0
  434. package/dist/collection/components/icon/Wrench.js +2 -2
  435. package/dist/collection/components/icon/Wrench.js.map +1 -0
  436. package/dist/collection/components/icon/Youtube.js +2 -2
  437. package/dist/collection/components/icon/Youtube.js.map +1 -0
  438. package/dist/collection/components/icon/allIcons.js +1 -0
  439. package/dist/collection/components/icon/allIcons.js.map +1 -0
  440. package/dist/collection/components/icon/icon.js +68 -60
  441. package/dist/collection/components/icon/icon.js.map +1 -0
  442. package/dist/collection/components/icon/icons.js +5 -8
  443. package/dist/collection/components/icon/icons.js.map +1 -0
  444. package/dist/collection/components/image/image.js +148 -141
  445. package/dist/collection/components/image/image.js.map +1 -0
  446. package/dist/collection/components/ingress/ingress.js +35 -30
  447. package/dist/collection/components/ingress/ingress.js.map +1 -0
  448. package/dist/collection/components/link/link.js +107 -99
  449. package/dist/collection/components/link/link.js.map +1 -0
  450. package/dist/collection/components/link-box/link-box.css +0 -1
  451. package/dist/collection/components/link-box/link-box.js +271 -272
  452. package/dist/collection/components/link-box/link-box.js.map +1 -0
  453. package/dist/collection/components/link-box-list/link-box-list.js +96 -89
  454. package/dist/collection/components/link-box-list/link-box-list.js.map +1 -0
  455. package/dist/collection/components/navigation/hy-menu-main-group/hy-menu-main-group.js +286 -290
  456. package/dist/collection/components/navigation/hy-menu-main-group/hy-menu-main-group.js.map +1 -0
  457. package/dist/collection/components/navigation/menu-language/menu-language.js +148 -138
  458. package/dist/collection/components/navigation/menu-language/menu-language.js.map +1 -0
  459. package/dist/collection/components/navigation/menu-language-item/menu-language-item.js +124 -114
  460. package/dist/collection/components/navigation/menu-language-item/menu-language-item.js.map +1 -0
  461. package/dist/collection/components/pagination/hy-pager/hy-pager.js +13 -9
  462. package/dist/collection/components/pagination/hy-pager/hy-pager.js.map +1 -0
  463. package/dist/collection/components/pagination/hy-pager-item/hy-pager-item.js +93 -95
  464. package/dist/collection/components/pagination/hy-pager-item/hy-pager-item.js.map +1 -0
  465. package/dist/collection/components/paragraph-text/paragraph-text-content.css +14 -14
  466. package/dist/collection/components/paragraph-text/paragraph-text-landing.css +8 -8
  467. package/dist/collection/components/paragraph-text/paragraph-text.css +22 -22
  468. package/dist/collection/components/paragraph-text/paragraph-text.js +73 -67
  469. package/dist/collection/components/paragraph-text/paragraph-text.js.map +1 -0
  470. package/dist/collection/components/person-profile/person-profile-listing/person-profile-listing.css +1 -1
  471. package/dist/collection/components/person-profile/person-profile-listing/person-profile.listing.js +128 -126
  472. package/dist/collection/components/person-profile/person-profile-listing/person-profile.listing.js.map +1 -0
  473. package/dist/collection/components/person-profile/person-profile.css +4 -4
  474. package/dist/collection/components/person-profile/person-profile.js +139 -182
  475. package/dist/collection/components/person-profile/person-profile.js.map +1 -0
  476. package/dist/collection/components/process/process.js +72 -62
  477. package/dist/collection/components/process/process.js.map +1 -0
  478. package/dist/collection/components/process-flow-box/process-flow-box.js +145 -148
  479. package/dist/collection/components/process-flow-box/process-flow-box.js.map +1 -0
  480. package/dist/collection/components/row/row.js +69 -72
  481. package/dist/collection/components/row/row.js.map +1 -0
  482. package/dist/collection/components/section-container/section-container.js +13 -9
  483. package/dist/collection/components/section-container/section-container.js.map +1 -0
  484. package/dist/collection/components/site-header/site-header.css +1 -1
  485. package/dist/collection/components/site-header/site-header.js +541 -560
  486. package/dist/collection/components/site-header/site-header.js.map +1 -0
  487. package/dist/collection/components/site-header/site-logo/site-logo.js +149 -148
  488. package/dist/collection/components/site-header/site-logo/site-logo.js.map +1 -0
  489. package/dist/collection/components/site-header/site-search/site-search.js +298 -312
  490. package/dist/collection/components/site-header/site-search/site-search.js.map +1 -0
  491. package/dist/collection/components/tiny-text/tiny-text.js +13 -9
  492. package/dist/collection/components/tiny-text/tiny-text.js.map +1 -0
  493. package/dist/collection/global/colors.js +1 -0
  494. package/dist/collection/global/colors.js.map +1 -0
  495. package/dist/collection/global/globalScript.js +1 -0
  496. package/dist/collection/global/globalScript.js.map +1 -0
  497. package/dist/collection/global/typography.js +1 -0
  498. package/dist/collection/global/typography.js.map +1 -0
  499. package/dist/collection/index.js +1 -0
  500. package/dist/collection/index.js.map +1 -0
  501. package/dist/collection/utils/utils.js +1 -0
  502. package/dist/collection/utils/utils.js.map +1 -0
  503. package/dist/esm/color-box_8.entry.js +14 -37
  504. package/dist/esm/color-box_8.entry.js.map +1 -0
  505. package/dist/esm/{globalScript-9d045b36.js → globalScript-4ad40215.js} +3 -1
  506. package/dist/esm/globalScript-4ad40215.js.map +1 -0
  507. package/dist/esm/huds-lib.js +9 -3
  508. package/dist/esm/huds-lib.js.map +1 -0
  509. package/dist/esm/hy-accordion-container_83.entry.js +366 -158
  510. package/dist/esm/hy-accordion-container_83.entry.js.map +1 -0
  511. package/dist/esm/hy-event-item.entry.js +7 -2
  512. package/dist/esm/hy-event-item.entry.js.map +1 -0
  513. package/dist/esm/hy-events.entry.js +7 -3
  514. package/dist/esm/hy-events.entry.js.map +1 -0
  515. package/dist/esm/{index-daaf0985.js → index-3a66d87e.js} +692 -288
  516. package/dist/esm/index-3a66d87e.js.map +1 -0
  517. package/dist/esm/index.js +2 -0
  518. package/dist/esm/index.js.map +1 -0
  519. package/dist/esm/loader.js +6 -3
  520. package/dist/esm/loader.js.map +1 -0
  521. package/dist/esm/polyfills/css-shim.js +1 -1
  522. package/dist/esm/{utils-7731bbdf.js → utils-43c56d92.js} +3 -1
  523. package/dist/esm/utils-43c56d92.js.map +1 -0
  524. package/dist/huds-lib/huds-lib.esm.js +2 -1
  525. package/dist/huds-lib/huds-lib.esm.js.map +1 -0
  526. package/dist/huds-lib/index.esm.js +2 -0
  527. package/dist/huds-lib/index.esm.js.map +1 -0
  528. package/dist/huds-lib/p-1aeae669.entry.js +2 -0
  529. package/dist/huds-lib/p-1aeae669.entry.js.map +1 -0
  530. package/dist/huds-lib/p-30e3190a.entry.js +88 -0
  531. package/dist/huds-lib/p-30e3190a.entry.js.map +1 -0
  532. package/dist/huds-lib/p-63584350.js +2 -0
  533. package/dist/huds-lib/p-63584350.js.map +1 -0
  534. package/dist/huds-lib/p-7b75f0ea.entry.js +2 -0
  535. package/dist/huds-lib/p-7b75f0ea.entry.js.map +1 -0
  536. package/dist/huds-lib/p-b02e49ad.js +2 -0
  537. package/dist/huds-lib/p-b02e49ad.js.map +1 -0
  538. package/dist/huds-lib/p-c8ed784d.entry.js +2 -0
  539. package/dist/huds-lib/p-c8ed784d.entry.js.map +1 -0
  540. package/dist/huds-lib/p-ff975a68.js +3 -0
  541. package/dist/huds-lib/p-ff975a68.js.map +1 -0
  542. package/dist/types/components/person-profile/person-profile-listing/person-profile.listing.d.ts +1 -1
  543. package/dist/types/components.d.ts +66 -20
  544. package/dist/types/stencil-public-runtime.d.ts +92 -19
  545. package/dist/types/utils/utils.d.ts +4 -4
  546. package/loader/index.d.ts +11 -12
  547. package/loader/index.es2017.js +1 -0
  548. package/loader/index.js +2 -11
  549. package/loader/package.json +2 -1
  550. package/package.json +12 -11
  551. package/dist/huds-lib/p-0370da7d.entry.js +0 -87
  552. package/dist/huds-lib/p-04dcccdc.js +0 -1
  553. package/dist/huds-lib/p-0ea3ec9a.js +0 -1
  554. package/dist/huds-lib/p-2244fcda.entry.js +0 -1
  555. package/dist/huds-lib/p-aba9f82a.entry.js +0 -1
  556. package/dist/huds-lib/p-c68c36c3.entry.js +0 -1
  557. package/dist/huds-lib/p-f8697bf9.js +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"site-header.js","sourceRoot":"","sources":["../../../src/components/site-header/site-header.tsx"],"names":[],"mappings":"AAgBA,IAAI,UAAU,GAAG,IAAI,CAAC;AAEtB,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAC,MAAM,eAAe,CAAC;AACxG,OAAO,cAAc,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAC,QAAQ,EAAE,YAAY,EAAE,YAAY,EAAC,MAAM,mBAAmB,CAAC;AACvE,OAAO,EAAC,gBAAgB,EAAC,MAAM,2BAA2B,CAAC;AAE3D,IAAI,YAAY,GAAG,IAAI,CAAC;AAOxB,MAAM,OAAO,UAAU;;mBAEM,KAAK;yBACC,KAAK;uBACP,KAAK;8BACC,EAAE;qBACX,EAAE;wBACC,EAAE;;;;;;;;;2BASE,IAAI;oBACX,KAAK;qBACL,MAAM;;;oBAGU,IAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["export interface DesktopLinks {\n label: string;\n url: string;\n menuLinkId: string;\n}\nexport interface DonateLink {\n url: string;\n label: string;\n}\nexport interface ComponentLabels {\n open: string;\n close: string;\n expand?: string;\n label?: string;\n}\n\nlet clickTimer = null;\n\nimport {Component, Element, Event, EventEmitter, Fragment, h, Listen, Prop, State} from '@stencil/core';\nimport ResizeObserver from 'resize-observer-polyfill';\nimport {MenuType, ColorVariant, SiteLogoSize} from '../../utils/utils';\nimport {jsonParserWorker} from '../../global/globalScript';\n\nlet clickTimeout = null;\n\n@Component({\n tag: 'hy-site-header',\n styleUrl: 'site-header.scss',\n shadow: false,\n})\nexport class SiteHeader {\n @Element() el: HTMLElement;\n @Prop() isGroup: boolean = false;\n @Prop() isLuomusGroup: boolean = false;\n @Prop() isBetaGroup: boolean = false;\n @Prop() researchGroupLabel: string = '';\n @Prop() groupType: string = '';\n @Prop() groupLogoUrl: string = '';\n @Prop() dataMenuLanguage: string;\n @Prop() dataMenuDonate: string;\n @Prop() dataSiteHeaderLabels: string;\n @Prop() dataSiteSearchLabels: string;\n @Prop() logoUrl?: string;\n @Prop() logoLabel?: string;\n @Prop() siteLabel?: string;\n @Prop() siteUrl?: string;\n @Prop() showSearchLabel: boolean = true;\n @Prop() noSearch: boolean = false;\n @Prop() menuLabel: string = 'Menu';\n @Prop() menuLabelOpen?: string;\n @Prop() menuLabelClose?: string;\n @Prop({reflect: true}) menuType: MenuType = null;\n\n @Prop() dataMainMenuLinks: DesktopLinks[] | string;\n @Prop() dataSearchTools: DesktopLinks[] | string;\n\n @State() isMobile: boolean;\n @State() isMenuOpen: boolean = false;\n @State() isDesktopMenuOpen: boolean = false;\n @State() isDesktopMenuDropdown: boolean = false;\n @State() isTopMenuOpen: boolean = false;\n @State() isBottomVisible: boolean = false;\n @State() isTopVisible: boolean = false;\n\n @Event() headerScrollUp: EventEmitter;\n @Event() headerScrollDown: EventEmitter;\n @Event() menuMobileToggled: EventEmitter;\n @Event() menuMobileTopToggled: EventEmitter;\n\n private ro: ResizeObserver;\n private bottomObserver: IntersectionObserver;\n private topObserver: IntersectionObserver;\n private donateLink: DonateLink[];\n private menuLabels: ComponentLabels[];\n private searchLabels: ComponentLabels[];\n private groupPages: ComponentLabels[];\n private languageLabels: ComponentLabels[];\n\n @State() lastScrollTop = 0;\n @State() delta = 50;\n @State() navbarHeight = 0;\n\n // Listener for toggling mobile menu panel on or off.\n @Listen('mobileMenuToggle') mobileMenuToggle() {\n this.isMenuOpen = !this.isMenuOpen;\n this.menuMobileToggled.emit();\n let bodyElement = document.getElementsByTagName('body')[0] as HTMLElement;\n\n if (this.isMenuOpen) {\n bodyElement.style.overflow = 'hidden';\n } else {\n bodyElement.style.overflow = 'initial';\n }\n }\n\n // Listener for toggling mobile menu top panel on or off.\n @Listen('mobileMenuTopToggle') mobileMenuTopToggle() {\n this.isTopMenuOpen = !this.isTopMenuOpen;\n this.menuMobileTopToggled.emit();\n }\n\n @Listen('menuToggled', {target: 'window'}) mainMenuToggled() {\n this.isDesktopMenuOpen = !this.isDesktopMenuOpen;\n }\n\n @Listen('scroll', {target: 'window'})\n handleScroll() {\n this.headerScrollHandler();\n }\n\n headerScrollHandler() {\n let topOffset = window.pageYOffset;\n if (Math.abs(this.lastScrollTop - topOffset) <= this.delta) {\n return;\n }\n\n if (topOffset > this.lastScrollTop && !this.isTopVisible) {\n this.toggleStickyness(false);\n this.headerScrollDown.emit();\n }\n // Scrolling up\n if (topOffset < this.lastScrollTop && !this.isTopVisible) {\n this.toggleStickyness();\n this.headerScrollUp.emit();\n }\n // At the top of the page\n if (this.isTopVisible) {\n this.toggleStickyness(false);\n }\n\n this.lastScrollTop = topOffset;\n }\n\n toggleStickyness(toggleOn = true) {\n const bodyElementClasses = document.querySelector('body').classList;\n let hySiteHeader = this.el.querySelector('.hy-site-header') as HTMLElement;\n if (!hySiteHeader) return;\n\n this.isTopVisible ? hySiteHeader.classList.add('is-at-top') : hySiteHeader.classList.remove('is-at-top');\n\n if (toggleOn) {\n hySiteHeader.classList.add('hy-site-header--sticky-active', 'hy-site-header--sticky-visible');\n hySiteHeader.classList.remove('hy-site-header--sticky-hidden');\n\n !this.isBottomVisible && !this.isTopVisible && bodyElementClasses.add('sticky-active');\n\n if (bodyElementClasses.contains('toolbar-horizontal')) {\n hySiteHeader.classList.add('has-toolbar');\n\n if (bodyElementClasses.contains('toolbar-tray-open')) {\n hySiteHeader.classList.add('has-toolbar--large');\n }\n }\n }\n\n if (!toggleOn) {\n hySiteHeader.classList.remove(\n 'hy-site-header--sticky-active',\n 'hy-site-header--sticky-visible',\n 'hy-site-header--sticky-hidden',\n 'has-toolbar',\n 'has-toolbar--large'\n );\n bodyElementClasses.remove('sticky-active');\n }\n }\n\n componentDidLoad() {\n // Set the browser resize observer to gather information about browser width.\n this.ro = new ResizeObserver((entries) => {\n for (const entry of entries) {\n this.applySizeClasses(entry.contentRect.width);\n }\n });\n this.ro.observe(document.body);\n\n const topOptions = {\n root: null,\n rootMargin: '250px',\n threshold: [0.0, 1.0],\n };\n\n this.topObserver = new IntersectionObserver((entries) => {\n entries.forEach((entry) => {\n if (entry.target.nodeName === 'HEADER') {\n this.isTopVisible = entry.isIntersecting;\n }\n });\n }, topOptions);\n\n const header = document.querySelector('header');\n if (header) {\n this.topObserver.observe(header);\n }\n\n const bottomOptions = {\n root: null,\n rootMargin: '0px',\n threshold: [0.0, 1.0],\n };\n\n this.bottomObserver = new IntersectionObserver((entries) => {\n entries.forEach((entry) => {\n if (entry.target.nodeName === 'HEADER') {\n this.isTopVisible = entry.isIntersecting;\n }\n });\n }, bottomOptions);\n\n const footer = document.querySelector('hy-footer');\n if (footer) {\n this.bottomObserver.observe(footer);\n }\n\n // Pass the dataMenuLanguage prop to menu component.\n this.el.children[0].setAttribute('data-menu-language', this.dataMenuLanguage);\n this.navbarHeight = 120;\n const body = document.querySelector('body');\n body.style.setProperty('--nav-height', `${this.navbarHeight * 2}px`);\n }\n\n async componentWillLoad() {\n // Check for site header labels and set them to variables accordingly.\n if (this.dataSiteHeaderLabels) {\n const labels = await jsonParserWorker(this.dataSiteHeaderLabels);\n this.menuLabels = labels.menu_labels;\n this.languageLabels = labels.language_labels;\n this.searchLabels = labels.search_labels;\n this.groupPages = labels.group_pages;\n\n this.el.children[0].setAttribute('menu-button-breadcrumb-logourl', this.logoUrl);\n }\n\n // Check for the donation link information and set it to variables accordingly.\n // Also pass the donation link data to menu-component.\n if (this.dataMenuDonate) {\n this.donateLink = await jsonParserWorker(this.dataMenuDonate);\n this.el.children[0].setAttribute('data-menu-donate', this.dataMenuDonate);\n }\n // Pass the necessary information to menu component. These props will be\n // used in mobile menu.\n this.el.children[0].setAttribute('open', this.isMenuOpen.toString());\n this.el.children[0].setAttribute('logo-label', this.logoLabel);\n this.el.children[0].setAttribute('logo-url', this.logoUrl);\n this.el.children[0].setAttribute('site-label', this.siteLabel);\n this.el.children[0].setAttribute('site-url', this.siteUrl);\n this.el.children[0].setAttribute('menu-button-breadcrumb-logourl', this.logoUrl);\n this.el.children[0].setAttribute('menu-language-label-open', this.languageLabels['open']);\n this.el.children[0].setAttribute('menu-language-label-close', this.languageLabels['close']);\n this.el.children[0].setAttribute('label-front-page', this.menuLabels['front_page']);\n\n if (this.groupType !== '') {\n this.isDesktopMenuDropdown = true;\n }\n }\n\n disconnectedCallback() {\n clearTimeout(clickTimer);\n this.ro.disconnect();\n this.topObserver.disconnect();\n this.bottomObserver.disconnect();\n clearTimeout(clickTimeout);\n }\n\n applySizeClasses(size: number) {\n // Set the menu-type based on the width of the browser.\n size <= 1200 ? (this.menuType = MenuType.mobile) : (this.menuType = MenuType.desktop);\n\n // Pass the menu type to menu component.\n this.isMobile = this.menuType === (MenuType.mobile || MenuType.tablet);\n const menuAttribute = this.menuType;\n this.el.children[0].setAttribute('menu-type', menuAttribute);\n }\n\n render() {\n if (this.menuType === null) return;\n\n const logoSize = this.isMobile ? SiteLogoSize.small : SiteLogoSize.big;\n const logoSizeGroup = this.isMobile ? SiteLogoSize.small : SiteLogoSize.small;\n const logoColor = ColorVariant.black;\n const logoColorGroup = ColorVariant.white;\n\n let classAttributes = [\n 'hy-site-header',\n `hy-site-header--${this.menuType}`,\n this.isGroup ? 'is-group' : '',\n 'is-at-top',\n ];\n\n const toggleMenuMobileAndRemoveListener = () => {\n window.removeEventListener('click', handleClickOutside);\n this.mobileMenuToggle();\n };\n\n const handleClickOutside = (event: MouseEvent) => {\n const [targetElement] = event.composedPath() as HTMLElement[];\n if (targetElement.classList.contains('hy-backdrop')) {\n toggleMenuMobileAndRemoveListener();\n }\n };\n\n if (this.isMenuOpen) {\n window.addEventListener('click', () => {\n clearTimeout(clickTimeout);\n clickTimeout = setTimeout(() => {\n handleClickOutside;\n }, 250);\n });\n }\n\n let activeLang = 'en';\n let dataMenuLanguageArray = JSON.parse(this.dataMenuLanguage);\n dataMenuLanguageArray.forEach((lang) => {\n if (lang.isActive) {\n activeLang = lang.langCode;\n }\n });\n\n switch (this.menuType) {\n case MenuType.desktop:\n // Larger than 1200px screens\n return [\n <header class={`${classAttributes.join(' ')}`}>\n <div\n class={{\n 'hy-backdrop': true,\n 'is-active':\n (this.isMenuOpen && !this.isDesktopMenuDropdown) ||\n (this.isTopMenuOpen && !this.isDesktopMenuDropdown),\n }}\n />\n {this.isGroup && (\n <section class={`hy-site-header__content-top ${this.isTopMenuOpen ? 'is-open' : ''}`}>\n <div class=\"hy-site-header__container\">\n <div class=\"hy-site-header__branding\">\n <hy-site-logo\n is-group={true}\n is-luomus-group={this.isLuomusGroup}\n size={logoSizeGroup}\n color={logoColorGroup}\n url={this.siteUrl}\n label={this.siteLabel}\n />\n </div>\n {this.dataMainMenuLinks.length > 2 && (\n <hy-menu-main-group\n tabindex=\"0\"\n is-mobile={false}\n menu-label={this.groupPages['university_main_menu'] ?? null}\n data-main-menu={this.dataMainMenuLinks}\n menu-label-close={this.menuLabelClose}\n />\n )}\n <div class=\"hy-site-header__actions\">\n <hy-menu-language data-menu-language={this.dataMenuLanguage} labels={this.languageLabels} isGroup />\n {!this.noSearch && (\n <hy-site-search\n class={'menu--secondary__item group'}\n size={18}\n color={logoColorGroup}\n is-group={true}\n is-luomus-group={this.isLuomusGroup}\n is-beta-group={this.isBetaGroup}\n search-language={activeLang}\n show-label={this.showSearchLabel}\n labels={this.searchLabels}\n search-labels={this.dataSiteSearchLabels}\n search-tools={this.dataSearchTools}\n />\n )}\n {this.donateLink.map(({label, url}) => {\n return (\n <a class={'hy-site-header__donate-link'} href={url}>\n <hy-icon icon={'hy-icon-heart-support'} size={14} fill={ColorVariant.black} />\n <span>{label}</span>\n </a>\n );\n })}\n </div>\n </div>\n </section>\n )}\n <section\n class={`hy-site-header__container ${this.isGroup ? 'is-group' : ''} ${\n this.groupType === 'research_group_menu' ? 'is-research-group' : ''\n }`}\n >\n <div class={'hy-site-header__branding'}>\n {this.isGroup && this.groupType == 'research_group_menu' && <p>{this.researchGroupLabel}</p>}\n {this.isGroup ? (\n <a href={this.logoUrl}>\n {this.groupType == 'generic_site_group_menu' && this.groupLogoUrl ? (\n <img src={this.groupLogoUrl} alt={`${this.logoLabel} logo`} />\n ) : (\n this.logoLabel\n )}\n </a>\n ) : (\n <hy-site-logo size={logoSize} color={logoColor} url={this.logoUrl} label={this.logoLabel} />\n )}\n </div>\n {this.groupType != 'research_group_menu' && <slot name=\"menu\"></slot>}\n {!this.isGroup && (\n <div class=\"hy-site-header__actions\">\n <hy-menu-language data-menu-language={this.dataMenuLanguage} labels={this.languageLabels} />\n {!this.noSearch && (\n <hy-site-search\n size={14}\n is-luomus-group={this.isLuomusGroup}\n is-beta-group={this.isBetaGroup}\n search-language={activeLang}\n color={ColorVariant.black}\n show-label={this.showSearchLabel}\n labels={this.searchLabels}\n search-labels={this.dataSiteSearchLabels}\n search-tools={this.dataSearchTools}\n />\n )}\n {this.donateLink.map(({label, url}) => {\n return (\n <a class={'hy-site-header__donate-link'} href={url}>\n <hy-icon icon={'hy-icon-heart-support'} size={14} fill={ColorVariant.black} />\n <span>{label}</span>\n </a>\n );\n })}\n </div>\n )}\n </section>\n </header>,\n ];\n\n case MenuType.mobile:\n // Smaller than 960px screens\n return (\n <header class={classAttributes.join(' ')} data-menu-active={this.isMenuOpen}>\n <div class={{'hy-backdrop': true, 'is-active': this.isMenuOpen}} />\n <div class={{'hy-backdrop': true, 'is-active-top': this.isTopMenuOpen}} />\n {this.isGroup && (\n <section class={`hy-site-header__content-top ${this.isTopMenuOpen ? 'is-open' : ''}`}>\n <div class=\"hy-site-header__container\">\n <div class=\"hy-site-header__branding\">\n <hy-site-logo\n is-group={true}\n is-luomus-group={this.isLuomusGroup}\n size={logoSizeGroup}\n color={logoColorGroup}\n url={this.siteUrl}\n label={this.siteLabel}\n />\n </div>\n <div class=\"hy-site-header__actions\">\n <hy-menu-language data-menu-language={this.dataMenuLanguage} labels={this.languageLabels} isGroup />\n {!this.noSearch && (\n <hy-site-search\n class={'menu--secondary__item group'}\n size={18}\n color={logoColorGroup}\n is-group={true}\n is-luomus-group={this.isLuomusGroup}\n is-beta-group={this.isBetaGroup}\n search-language={activeLang}\n show-label={this.showSearchLabel}\n labels={this.searchLabels}\n search-labels={this.dataSiteSearchLabels}\n search-tools={this.dataSearchTools}\n />\n )}\n {this.dataMainMenuLinks.length > 2 && (\n <hy-menu-main-group\n site-label={this.siteLabel}\n site-url={this.siteUrl}\n logo-label={this.logoLabel}\n logo-url={this.logoUrl}\n is-mobile={true}\n donate={this.donateLink}\n data-main-menu={this.dataMainMenuLinks}\n />\n )}\n </div>\n </div>\n </section>\n )}\n <section class=\"hy-site-header__container\">\n <div class={'hy-site-header__branding'}>\n {this.groupType == 'research_group_menu' && <p>{this.researchGroupLabel}</p>}\n {this.isGroup ? (\n <a href={this.logoUrl}>\n {this.groupType == 'generic_site_group_menu' && this.groupLogoUrl ? (\n <img src={this.groupLogoUrl} alt={`${this.logoLabel} logo`} />\n ) : (\n this.logoLabel\n )}\n </a>\n ) : (\n <hy-site-logo size={logoSize} color={logoColor} url={this.logoUrl} label={this.logoLabel} />\n )}\n </div>\n <div class=\"hy-site-header__actions\">\n {!this.isGroup && (\n <hy-menu-language data-menu-language={this.dataMenuLanguage} labels={this.languageLabels} />\n )}\n {!this.isGroup && !this.noSearch && (\n <hy-site-search\n size={24}\n color={ColorVariant.black}\n is-luomus-group={this.isLuomusGroup}\n is-beta-group={this.isBetaGroup}\n search-language={activeLang}\n show-label={this.showSearchLabel}\n labels={this.searchLabels}\n search-labels={this.dataSiteSearchLabels}\n search-tools={this.dataSearchTools}\n />\n )}\n <button\n onClick={() => toggleMenuMobileAndRemoveListener()}\n class={`hy-site-header__menu-open-button`}\n aria-label={this.isMenuOpen ? this.menuLabels['close'] : this.menuLabels['open']}\n aria-expanded={`${this.isMenuOpen}`}\n >\n {!this.isMenuOpen && <hy-icon icon={'hy-icon-hamburger'} size={24} fill={ColorVariant.black} />}\n {this.isMenuOpen && (\n <Fragment>\n <span>{this.menuLabelClose}</span>\n <hy-icon icon={'hy-icon-remove'} size={16} />\n </Fragment>\n )}\n </button>\n </div>\n <div\n class={{\n 'is-open': this.isMenuOpen,\n 'hy-site-header__panel': true,\n }}\n aria-hidden={`${!this.isMenuOpen}`}\n >\n <slot name={'menu_mobile'} />\n </div>\n </section>\n </header>\n );\n }\n }\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { Component, h, Host, Prop } from '@stencil/core';
1
+ import { h, Host } from '@stencil/core';
2
2
  import { ColorVariant, FooterVariant, SiteLogoSize } from '../../../utils/utils';
3
3
  export class SiteLogo {
4
4
  constructor() {
@@ -6,7 +6,9 @@ export class SiteLogo {
6
6
  this.color = ColorVariant.black;
7
7
  this.isGroup = false;
8
8
  this.isLuomusGroup = false;
9
+ this.label = undefined;
9
10
  this.size = SiteLogoSize.big;
11
+ this.url = undefined;
10
12
  }
11
13
  render() {
12
14
  const isGroupClass = this.isGroup ? 'group' : 'page';
@@ -17,162 +19,161 @@ export class SiteLogo {
17
19
  `hy-site-logo__${this.type}`,
18
20
  'luomus',
19
21
  ].join(' ');
20
- return this.url ? (h(Host, { class: classAttributes },
21
- !this.isLuomusGroup && (h("a", { href: this.url },
22
- h("hy-icon", { class: { 'hy-site-logo__icon': true, group: this.isGroup }, icon: 'hy-icon-hy-logo', size: this.size, fill: this.color }),
23
- h("span", { class: { 'hy-site-logo__label': true, group: this.isGroup }, style: { color: this.color } }, this.label))),
24
- this.isLuomusGroup && (h("div", { class: "luomus-group" },
25
- h("hy-icon", { class: { 'hy-site-logo__icon': true, group: this.isGroup }, icon: 'hy-icon-hy-logo', size: this.size, fill: this.color }),
26
- h("span", { class: { 'hy-site-logo__label': true, group: this.isGroup }, style: { color: this.color } }, this.label))))) : this.label ? (h(Host, { class: classAttributes },
27
- h("hy-icon", { class: { 'hy-site-logo__icon': true, group: this.isGroup }, icon: 'hy-icon-hy-logo', size: this.size, fill: this.color }),
28
- h("span", { class: { 'hy-site-logo__label': true, group: this.isGroup }, style: { color: this.color } }, this.label))) : ('');
22
+ return this.url ? (h(Host, { class: classAttributes }, !this.isLuomusGroup && (h("a", { href: this.url }, h("hy-icon", { class: { 'hy-site-logo__icon': true, group: this.isGroup }, icon: 'hy-icon-hy-logo', size: this.size, fill: this.color }), h("span", { class: { 'hy-site-logo__label': true, group: this.isGroup }, style: { color: this.color } }, this.label))), this.isLuomusGroup && (h("div", { class: "luomus-group" }, h("hy-icon", { class: { 'hy-site-logo__icon': true, group: this.isGroup }, icon: 'hy-icon-hy-logo', size: this.size, fill: this.color }), h("span", { class: { 'hy-site-logo__label': true, group: this.isGroup }, style: { color: this.color } }, this.label))))) : this.label ? (h(Host, { class: classAttributes }, h("hy-icon", { class: { 'hy-site-logo__icon': true, group: this.isGroup }, icon: 'hy-icon-hy-logo', size: this.size, fill: this.color }), h("span", { class: { 'hy-site-logo__label': true, group: this.isGroup }, style: { color: this.color } }, this.label))) : ('');
29
23
  }
30
24
  static get is() { return "hy-site-logo"; }
31
- static get originalStyleUrls() { return {
32
- "$": ["site-logo.scss"]
33
- }; }
34
- static get styleUrls() { return {
35
- "$": ["site-logo.css"]
36
- }; }
37
- static get properties() { return {
38
- "type": {
39
- "type": "string",
40
- "mutable": false,
41
- "complexType": {
42
- "original": "FooterVariant",
43
- "resolved": "FooterVariant.footer | FooterVariant.header",
44
- "references": {
45
- "FooterVariant": {
46
- "location": "import",
47
- "path": "../../../utils/utils"
25
+ static get originalStyleUrls() {
26
+ return {
27
+ "$": ["site-logo.scss"]
28
+ };
29
+ }
30
+ static get styleUrls() {
31
+ return {
32
+ "$": ["site-logo.css"]
33
+ };
34
+ }
35
+ static get properties() {
36
+ return {
37
+ "type": {
38
+ "type": "string",
39
+ "mutable": false,
40
+ "complexType": {
41
+ "original": "FooterVariant",
42
+ "resolved": "FooterVariant.footer | FooterVariant.header",
43
+ "references": {
44
+ "FooterVariant": {
45
+ "location": "import",
46
+ "path": "../../../utils/utils"
47
+ }
48
48
  }
49
- }
50
- },
51
- "required": false,
52
- "optional": false,
53
- "docs": {
54
- "tags": [],
55
- "text": ""
49
+ },
50
+ "required": false,
51
+ "optional": false,
52
+ "docs": {
53
+ "tags": [],
54
+ "text": ""
55
+ },
56
+ "attribute": "type",
57
+ "reflect": false,
58
+ "defaultValue": "FooterVariant.header"
56
59
  },
57
- "attribute": "type",
58
- "reflect": false,
59
- "defaultValue": "FooterVariant.header"
60
- },
61
- "color": {
62
- "type": "string",
63
- "mutable": false,
64
- "complexType": {
65
- "original": "ColorVariant",
66
- "resolved": "ColorVariant.black | ColorVariant.grey_dark | ColorVariant.white",
67
- "references": {
68
- "ColorVariant": {
69
- "location": "import",
70
- "path": "../../../utils/utils"
60
+ "color": {
61
+ "type": "string",
62
+ "mutable": false,
63
+ "complexType": {
64
+ "original": "ColorVariant",
65
+ "resolved": "ColorVariant.black | ColorVariant.grey_dark | ColorVariant.white",
66
+ "references": {
67
+ "ColorVariant": {
68
+ "location": "import",
69
+ "path": "../../../utils/utils"
70
+ }
71
71
  }
72
- }
73
- },
74
- "required": false,
75
- "optional": false,
76
- "docs": {
77
- "tags": [],
78
- "text": ""
79
- },
80
- "attribute": "color",
81
- "reflect": false,
82
- "defaultValue": "ColorVariant.black"
83
- },
84
- "isGroup": {
85
- "type": "boolean",
86
- "mutable": false,
87
- "complexType": {
88
- "original": "boolean",
89
- "resolved": "boolean",
90
- "references": {}
91
- },
92
- "required": false,
93
- "optional": false,
94
- "docs": {
95
- "tags": [],
96
- "text": ""
72
+ },
73
+ "required": false,
74
+ "optional": false,
75
+ "docs": {
76
+ "tags": [],
77
+ "text": ""
78
+ },
79
+ "attribute": "color",
80
+ "reflect": false,
81
+ "defaultValue": "ColorVariant.black"
97
82
  },
98
- "attribute": "is-group",
99
- "reflect": false,
100
- "defaultValue": "false"
101
- },
102
- "isLuomusGroup": {
103
- "type": "boolean",
104
- "mutable": false,
105
- "complexType": {
106
- "original": "boolean",
107
- "resolved": "boolean",
108
- "references": {}
83
+ "isGroup": {
84
+ "type": "boolean",
85
+ "mutable": false,
86
+ "complexType": {
87
+ "original": "boolean",
88
+ "resolved": "boolean",
89
+ "references": {}
90
+ },
91
+ "required": false,
92
+ "optional": false,
93
+ "docs": {
94
+ "tags": [],
95
+ "text": ""
96
+ },
97
+ "attribute": "is-group",
98
+ "reflect": false,
99
+ "defaultValue": "false"
109
100
  },
110
- "required": false,
111
- "optional": false,
112
- "docs": {
113
- "tags": [],
114
- "text": ""
101
+ "isLuomusGroup": {
102
+ "type": "boolean",
103
+ "mutable": false,
104
+ "complexType": {
105
+ "original": "boolean",
106
+ "resolved": "boolean",
107
+ "references": {}
108
+ },
109
+ "required": false,
110
+ "optional": false,
111
+ "docs": {
112
+ "tags": [],
113
+ "text": ""
114
+ },
115
+ "attribute": "is-luomus-group",
116
+ "reflect": false,
117
+ "defaultValue": "false"
115
118
  },
116
- "attribute": "is-luomus-group",
117
- "reflect": false,
118
- "defaultValue": "false"
119
- },
120
- "label": {
121
- "type": "string",
122
- "mutable": false,
123
- "complexType": {
124
- "original": "string",
125
- "resolved": "string",
126
- "references": {}
119
+ "label": {
120
+ "type": "string",
121
+ "mutable": false,
122
+ "complexType": {
123
+ "original": "string",
124
+ "resolved": "string",
125
+ "references": {}
126
+ },
127
+ "required": false,
128
+ "optional": true,
129
+ "docs": {
130
+ "tags": [],
131
+ "text": ""
132
+ },
133
+ "attribute": "label",
134
+ "reflect": false
127
135
  },
128
- "required": false,
129
- "optional": true,
130
- "docs": {
131
- "tags": [],
132
- "text": ""
133
- },
134
- "attribute": "label",
135
- "reflect": false
136
- },
137
- "size": {
138
- "type": "number",
139
- "mutable": false,
140
- "complexType": {
141
- "original": "SiteLogoSize",
142
- "resolved": "SiteLogoSize.big | SiteLogoSize.large | SiteLogoSize.small",
143
- "references": {
144
- "SiteLogoSize": {
145
- "location": "import",
146
- "path": "../../../utils/utils"
136
+ "size": {
137
+ "type": "number",
138
+ "mutable": false,
139
+ "complexType": {
140
+ "original": "SiteLogoSize",
141
+ "resolved": "SiteLogoSize.big | SiteLogoSize.large | SiteLogoSize.small",
142
+ "references": {
143
+ "SiteLogoSize": {
144
+ "location": "import",
145
+ "path": "../../../utils/utils"
146
+ }
147
147
  }
148
- }
149
- },
150
- "required": false,
151
- "optional": false,
152
- "docs": {
153
- "tags": [],
154
- "text": ""
155
- },
156
- "attribute": "size",
157
- "reflect": false,
158
- "defaultValue": "SiteLogoSize.big"
159
- },
160
- "url": {
161
- "type": "string",
162
- "mutable": false,
163
- "complexType": {
164
- "original": "string",
165
- "resolved": "string",
166
- "references": {}
148
+ },
149
+ "required": false,
150
+ "optional": false,
151
+ "docs": {
152
+ "tags": [],
153
+ "text": ""
154
+ },
155
+ "attribute": "size",
156
+ "reflect": false,
157
+ "defaultValue": "SiteLogoSize.big"
167
158
  },
168
- "required": false,
169
- "optional": true,
170
- "docs": {
171
- "tags": [],
172
- "text": ""
173
- },
174
- "attribute": "url",
175
- "reflect": false
176
- }
177
- }; }
159
+ "url": {
160
+ "type": "string",
161
+ "mutable": false,
162
+ "complexType": {
163
+ "original": "string",
164
+ "resolved": "string",
165
+ "references": {}
166
+ },
167
+ "required": false,
168
+ "optional": true,
169
+ "docs": {
170
+ "tags": [],
171
+ "text": ""
172
+ },
173
+ "attribute": "url",
174
+ "reflect": false
175
+ }
176
+ };
177
+ }
178
178
  }
179
+ //# sourceMappingURL=site-logo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"site-logo.js","sourceRoot":"","sources":["../../../../src/components/site-header/site-logo/site-logo.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AACvD,OAAO,EAAC,YAAY,EAAE,aAAa,EAAE,YAAY,EAAC,MAAM,sBAAsB,CAAC;AAO/E,MAAM,OAAO,QAAQ;;gBACW,aAAa,CAAC,MAAM;iBACpB,YAAY,CAAC,KAAK;mBACrB,KAAK;yBACC,KAAK;;gBAET,YAAY,CAAC,GAAG;;;EAG7C,MAAM;IACJ,MAAM,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC;IACrD,wEAAwE;IACxE,MAAM,eAAe,GAAG;MACtB,cAAc;MACd,iBAAiB,IAAI,CAAC,IAAI,KAAK,YAAY,EAAE;MAC7C,iBAAiB,IAAI,CAAC,IAAI,EAAE;MAC5B,QAAQ;KACT,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAEZ,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAChB,EAAC,IAAI,IAAC,KAAK,EAAE,eAAe;MACzB,CAAC,IAAI,CAAC,aAAa,IAAI,CACt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E,IAAI,CAAC,OAAO,EAAC,EAAE,KAAK,EAAE,EAAC,KAAK,EAAE,IAAI,CAAC,KAAK,EAAC,IACxF,IAAI,CAAC,KAAK,CACN,CACF,CACR,CAAC,CAAC,CAAC,CACF,EAAE,CACH,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, h, Host, Prop} from '@stencil/core';\nimport {ColorVariant, FooterVariant, SiteLogoSize} from '../../../utils/utils';\n\n@Component({\n tag: 'hy-site-logo',\n styleUrl: 'site-logo.scss',\n shadow: false,\n})\nexport class SiteLogo {\n @Prop() type: FooterVariant = FooterVariant.header;\n @Prop() color: ColorVariant = ColorVariant.black;\n @Prop() isGroup: boolean = false;\n @Prop() isLuomusGroup: boolean = false;\n @Prop() label?: string;\n @Prop() size: SiteLogoSize = SiteLogoSize.big;\n @Prop() url?: string;\n\n render() {\n const isGroupClass = this.isGroup ? 'group' : 'page';\n // const isLuomusGroupClass = this.isLuomusGroup ? 'luomus' : 'regular';\n const classAttributes = [\n 'hy-site-logo',\n `hy-site-logo__${this.type}__${isGroupClass}`,\n `hy-site-logo__${this.type}`,\n 'luomus',\n ].join(' ');\n\n return this.url ? (\n <Host class={classAttributes}>\n {!this.isLuomusGroup && (\n <a href={this.url}>\n <hy-icon\n class={{'hy-site-logo__icon': true, group: this.isGroup}}\n icon={'hy-icon-hy-logo'}\n size={this.size}\n fill={this.color}\n />\n <span class={{'hy-site-logo__label': true, group: this.isGroup}} style={{color: this.color}}>\n {this.label}\n </span>\n </a>\n )}\n {this.isLuomusGroup && (\n <div class=\"luomus-group\">\n <hy-icon\n class={{'hy-site-logo__icon': true, group: this.isGroup}}\n icon={'hy-icon-hy-logo'}\n size={this.size}\n fill={this.color}\n />\n <span class={{'hy-site-logo__label': true, group: this.isGroup}} style={{color: this.color}}>\n {this.label}\n </span>\n </div>\n )}\n </Host>\n ) : this.label ? (\n <Host class={classAttributes}>\n <hy-icon\n class={{'hy-site-logo__icon': true, group: this.isGroup}}\n icon={'hy-icon-hy-logo'}\n size={this.size}\n fill={this.color}\n />\n <span class={{'hy-site-logo__label': true, group: this.isGroup}} style={{color: this.color}}>\n {this.label}\n </span>\n </Host>\n ) : (\n ''\n );\n }\n}\n"]}