@itcenteratunihelsinki/huds-lib 0.8.42 → 0.8.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (823) hide show
  1. package/components/accordion-container.js +48 -0
  2. package/components/accordion-item.js +239 -0
  3. package/components/color-box.d.ts +11 -0
  4. package/components/color-box.js +33 -0
  5. package/components/cta-button.js +57 -0
  6. package/components/cta-link.js +50 -0
  7. package/components/custom-elements.d.ts +2 -0
  8. package/components/emotion.esm.js +1395 -0
  9. package/{dist/esm/globalScript-4ad40215.js → components/globalScript.js} +7 -9
  10. package/components/heading.js +80 -0
  11. package/components/hy-accordion-container.d.ts +11 -0
  12. package/components/hy-accordion-container.js +6 -0
  13. package/components/hy-accordion-item.d.ts +11 -0
  14. package/components/hy-accordion-item.js +6 -0
  15. package/components/hy-adjacent-image-text.d.ts +11 -0
  16. package/components/hy-adjacent-image-text.js +106 -0
  17. package/components/hy-anchor-link-list.d.ts +11 -0
  18. package/components/hy-anchor-link-list.js +76 -0
  19. package/components/hy-badge.d.ts +11 -0
  20. package/components/hy-badge.js +37 -0
  21. package/components/hy-banner.d.ts +11 -0
  22. package/components/hy-banner.js +94 -0
  23. package/components/hy-baseline.d.ts +11 -0
  24. package/components/hy-baseline.js +44 -0
  25. package/components/hy-box-container.d.ts +11 -0
  26. package/components/hy-box-container.js +43 -0
  27. package/components/hy-box.d.ts +11 -0
  28. package/components/hy-box.js +6 -0
  29. package/components/hy-box2.js +195 -0
  30. package/components/hy-breadcrumbs.d.ts +11 -0
  31. package/components/hy-breadcrumbs.js +69 -0
  32. package/components/hy-button.d.ts +11 -0
  33. package/components/hy-button.js +111 -0
  34. package/components/hy-checkbox.d.ts +11 -0
  35. package/components/hy-checkbox.js +55 -0
  36. package/components/hy-collaboration.d.ts +11 -0
  37. package/components/hy-collaboration.js +49 -0
  38. package/components/hy-content-list-item.d.ts +11 -0
  39. package/components/hy-content-list-item.js +6 -0
  40. package/components/hy-content-list-item2.js +109 -0
  41. package/components/hy-content-list.d.ts +11 -0
  42. package/components/hy-content-list.js +155 -0
  43. package/components/hy-crisis-banner.d.ts +11 -0
  44. package/components/hy-crisis-banner.js +47 -0
  45. package/components/hy-cta-button.d.ts +11 -0
  46. package/components/hy-cta-button.js +6 -0
  47. package/components/hy-cta-link.d.ts +11 -0
  48. package/components/hy-cta-link.js +6 -0
  49. package/components/hy-docs-container.d.ts +11 -0
  50. package/components/hy-docs-container.js +32 -0
  51. package/components/hy-dropdown-panel-item.d.ts +11 -0
  52. package/components/hy-dropdown-panel-item.js +6 -0
  53. package/components/hy-dropdown-panel.d.ts +11 -0
  54. package/components/hy-dropdown-panel.js +6 -0
  55. package/components/hy-dropdown.d.ts +11 -0
  56. package/components/hy-dropdown.js +155 -0
  57. package/components/hy-dropdown.panel.item.js +41 -0
  58. package/components/hy-dropdown.panel.js +29 -0
  59. package/components/hy-event-item.d.ts +11 -0
  60. package/components/hy-event-item.js +73 -0
  61. package/components/hy-events.d.ts +11 -0
  62. package/components/hy-events.js +131 -0
  63. package/components/hy-filter-group-item.d.ts +11 -0
  64. package/components/hy-filter-group-item.js +6 -0
  65. package/components/hy-filter-group.d.ts +11 -0
  66. package/components/hy-filter-group.item.js +38 -0
  67. package/components/hy-filter-group.js +67 -0
  68. package/components/hy-filter-list-type.d.ts +11 -0
  69. package/components/hy-filter-list-type.js +52 -0
  70. package/components/hy-filter-visibility-tool-reset.d.ts +11 -0
  71. package/components/hy-filter-visibility-tool-reset.js +6 -0
  72. package/components/hy-filter-visibility-tool-toggle.d.ts +11 -0
  73. package/components/hy-filter-visibility-tool-toggle.js +6 -0
  74. package/components/hy-filter-visibility-tool.d.ts +11 -0
  75. package/components/hy-filter-visibility-tool.js +58 -0
  76. package/components/hy-filter-visibility-tool.reset.js +32 -0
  77. package/components/hy-filter-visibility-tool.reset.toggle.js +32 -0
  78. package/components/hy-footer-action.d.ts +11 -0
  79. package/components/hy-footer-action.js +55 -0
  80. package/components/hy-footer-base.d.ts +11 -0
  81. package/components/hy-footer-base.js +89 -0
  82. package/components/hy-footer-info.d.ts +11 -0
  83. package/components/hy-footer-info.js +167 -0
  84. package/components/hy-footer-link-item.d.ts +11 -0
  85. package/components/hy-footer-link-item.js +6 -0
  86. package/components/hy-footer-link-item2.js +99 -0
  87. package/components/hy-footer.d.ts +11 -0
  88. package/components/hy-footer.js +33 -0
  89. package/components/hy-general-list-item.d.ts +11 -0
  90. package/components/hy-general-list-item.js +6 -0
  91. package/components/hy-general-list-item2.js +74 -0
  92. package/components/hy-general-list.d.ts +11 -0
  93. package/components/hy-general-list.js +90 -0
  94. package/components/hy-grid-container.d.ts +11 -0
  95. package/components/hy-grid-container.js +33 -0
  96. package/components/hy-grid-item.d.ts +11 -0
  97. package/components/hy-grid-item.js +49 -0
  98. package/components/hy-grid-row.d.ts +11 -0
  99. package/components/hy-grid-row.js +33 -0
  100. package/components/hy-heading.d.ts +11 -0
  101. package/components/hy-heading.js +6 -0
  102. package/components/hy-hero-carousel.d.ts +11 -0
  103. package/components/hy-hero-carousel.js +4935 -0
  104. package/components/hy-hero.d.ts +11 -0
  105. package/components/hy-hero.js +155 -0
  106. package/components/hy-icon.d.ts +11 -0
  107. package/components/hy-icon.js +6 -0
  108. package/components/hy-image.d.ts +11 -0
  109. package/components/hy-image.js +6 -0
  110. package/components/hy-ingress.d.ts +11 -0
  111. package/components/hy-ingress.js +45 -0
  112. package/components/hy-introduction.d.ts +11 -0
  113. package/components/hy-introduction.js +118 -0
  114. package/components/hy-key-figure-group.d.ts +11 -0
  115. package/components/hy-key-figure-group.js +106 -0
  116. package/components/hy-key-figure.d.ts +11 -0
  117. package/components/hy-key-figure.js +6 -0
  118. package/components/hy-key-figure2.js +39 -0
  119. package/components/hy-key-highlight-group.d.ts +11 -0
  120. package/components/hy-key-highlight-group.js +69 -0
  121. package/components/hy-key-highlight.d.ts +11 -0
  122. package/components/hy-key-highlight.js +6 -0
  123. package/components/hy-key-highlight2.js +39 -0
  124. package/components/hy-large-process-flow-phase.d.ts +11 -0
  125. package/components/hy-large-process-flow-phase.js +6 -0
  126. package/components/hy-large-process-flow-phase2.js +63 -0
  127. package/components/hy-large-process-flow.d.ts +11 -0
  128. package/components/hy-large-process-flow.js +86 -0
  129. package/components/hy-link-box-list.d.ts +11 -0
  130. package/components/hy-link-box-list.js +92 -0
  131. package/components/hy-link-box.d.ts +11 -0
  132. package/components/hy-link-box.js +6 -0
  133. package/components/hy-link-list.d.ts +11 -0
  134. package/components/hy-link-list.js +77 -0
  135. package/components/hy-link.d.ts +11 -0
  136. package/components/hy-link.js +46 -0
  137. package/components/hy-list-item.d.ts +11 -0
  138. package/components/hy-list-item.js +293 -0
  139. package/components/hy-logo-grid-item.d.ts +11 -0
  140. package/components/hy-logo-grid-item.js +48 -0
  141. package/components/hy-logo-grid.d.ts +11 -0
  142. package/components/hy-logo-grid.js +38 -0
  143. package/components/hy-main-content-wrapper.d.ts +11 -0
  144. package/components/hy-main-content-wrapper.js +6 -0
  145. package/components/hy-main-content-wrapper2.js +30 -0
  146. package/components/hy-main.d.ts +11 -0
  147. package/components/hy-main.js +40 -0
  148. package/components/hy-menu-language-item.d.ts +11 -0
  149. package/components/hy-menu-language-item.js +6 -0
  150. package/components/hy-menu-language.d.ts +11 -0
  151. package/components/hy-menu-language.js +6 -0
  152. package/components/hy-menu-main-group.d.ts +11 -0
  153. package/components/hy-menu-main-group.js +6 -0
  154. package/components/hy-menu-main-group2.js +192 -0
  155. package/components/hy-opening-hours-content.d.ts +11 -0
  156. package/components/hy-opening-hours-content.js +62 -0
  157. package/components/hy-opening-hours.d.ts +11 -0
  158. package/components/hy-opening-hours.js +90 -0
  159. package/components/hy-pager-item.d.ts +11 -0
  160. package/components/hy-pager-item.js +73 -0
  161. package/components/hy-pager.d.ts +11 -0
  162. package/components/hy-pager.js +34 -0
  163. package/components/hy-paragraph-text.d.ts +11 -0
  164. package/components/hy-paragraph-text.js +6 -0
  165. package/components/hy-person-card.d.ts +11 -0
  166. package/components/hy-person-card.js +137 -0
  167. package/components/hy-person-profile-listing.d.ts +11 -0
  168. package/components/hy-person-profile-listing.js +6 -0
  169. package/components/hy-person-profile.d.ts +11 -0
  170. package/components/hy-person-profile.js +142 -0
  171. package/components/hy-process-flow-box.d.ts +11 -0
  172. package/components/hy-process-flow-box.js +6 -0
  173. package/components/hy-process.d.ts +11 -0
  174. package/components/hy-process.js +89 -0
  175. package/components/hy-prominent-image.d.ts +11 -0
  176. package/components/hy-prominent-image.js +71 -0
  177. package/components/hy-quote.d.ts +11 -0
  178. package/components/hy-quote.js +54 -0
  179. package/components/hy-row.d.ts +11 -0
  180. package/components/hy-row.js +50 -0
  181. package/components/hy-search-field.d.ts +11 -0
  182. package/components/hy-search-field.js +6 -0
  183. package/components/hy-search-field2.js +81 -0
  184. package/components/hy-section-container.d.ts +11 -0
  185. package/components/hy-section-container.js +32 -0
  186. package/components/hy-shortcuts.d.ts +11 -0
  187. package/components/hy-shortcuts.js +96 -0
  188. package/components/hy-site-header.d.ts +11 -0
  189. package/components/hy-site-header.js +369 -0
  190. package/components/hy-site-logo.d.ts +11 -0
  191. package/components/hy-site-logo.js +6 -0
  192. package/components/hy-site-search.d.ts +11 -0
  193. package/components/hy-site-search.js +6 -0
  194. package/components/hy-table-container.d.ts +11 -0
  195. package/components/hy-table-container.js +39 -0
  196. package/components/hy-tabs-item.d.ts +11 -0
  197. package/components/hy-tabs-item.js +6 -0
  198. package/components/hy-tabs-item2.js +33 -0
  199. package/components/hy-tabs.d.ts +11 -0
  200. package/components/hy-tabs.js +6 -0
  201. package/components/hy-tabs2.js +346 -0
  202. package/components/hy-tag.d.ts +11 -0
  203. package/components/hy-tag.js +6 -0
  204. package/components/hy-tag2.js +31 -0
  205. package/components/hy-tiny-text.d.ts +11 -0
  206. package/components/hy-tiny-text.js +34 -0
  207. package/components/hy-twitter-feed.d.ts +11 -0
  208. package/components/hy-twitter-feed.js +57 -0
  209. package/components/hy-two-columns.d.ts +11 -0
  210. package/components/hy-two-columns.js +36 -0
  211. package/components/hy-user-login-form.d.ts +11 -0
  212. package/components/hy-user-login-form.js +53 -0
  213. package/components/hy-video.d.ts +11 -0
  214. package/components/hy-video.js +156 -0
  215. package/components/icon.js +830 -0
  216. package/components/image.js +75 -0
  217. package/components/index.d.ts +27 -0
  218. package/components/index.js +2 -0
  219. package/components/index2.js +965 -0
  220. package/components/link-box.js +116 -0
  221. package/components/menu-language-item.js +47 -0
  222. package/components/menu-language.js +121 -0
  223. package/components/package.json +8 -0
  224. package/components/paragraph-text.js +60 -0
  225. package/components/person-profile.listing.js +57 -0
  226. package/components/process-flow-box.js +57 -0
  227. package/components/site-logo.js +59 -0
  228. package/components/site-search.js +249 -0
  229. package/{dist/esm/utils-43c56d92.js → components/utils.js} +1 -3
  230. package/dist/cjs/{hy-accordion-container_83.cjs.entry.js → color-box_91.cjs.entry.js} +1177 -1001
  231. package/dist/cjs/{globalScript-45ad6d41.js → globalScript-d341436f.js} +7 -9
  232. package/dist/cjs/huds-lib.cjs.js +3 -5
  233. package/dist/cjs/hy-event-item.cjs.entry.js +10 -12
  234. package/dist/cjs/hy-events.cjs.entry.js +22 -24
  235. package/dist/cjs/hy-hero-carousel.cjs.entry.js +4902 -0
  236. package/dist/cjs/{index-25bd964b.js → index-ca4e37f2.js} +0 -2
  237. package/dist/cjs/index.cjs.js +0 -2
  238. package/dist/cjs/loader.cjs.js +3 -5
  239. package/dist/cjs/utils-14d5aa6f.js +0 -2
  240. package/dist/collection/collection-manifest.json +8 -11
  241. package/dist/collection/components/accordion-container/accordion-container.js +4 -5
  242. package/dist/collection/components/accordion-item/accordion-item.js +78 -79
  243. package/dist/collection/components/adjacent-image-text/adjacent-image-text.js +17 -18
  244. package/dist/collection/components/baseline/baseline.js +2 -3
  245. package/dist/collection/components/button/button.js +28 -29
  246. package/dist/collection/components/color-box/color-box.js +1 -2
  247. package/dist/collection/components/courses/hy-content-list/hy-content-list.js +42 -43
  248. package/dist/collection/components/courses/hy-content-list-item/hy-content-list-item.js +15 -16
  249. package/dist/collection/components/cta-button/cta-button.js +12 -13
  250. package/dist/collection/components/cta-link/cta-link.js +7 -8
  251. package/dist/collection/components/docs-container/docs-container.js +0 -1
  252. package/dist/collection/components/footer/hy-footer/hy-footer.js +3 -4
  253. package/dist/collection/components/footer/hy-footer-action/hy-footer-action.js +5 -6
  254. package/dist/collection/components/footer/hy-footer-base/hy-footer-base.js +6 -7
  255. package/dist/collection/components/footer/hy-footer-info/hy-footer-info.js +19 -20
  256. package/dist/collection/components/footer/hy-footer-link-item/hy-footer-link-item.js +22 -23
  257. package/dist/collection/components/global-workers/globals.worker.js +0 -1
  258. package/dist/collection/components/grid-container/grid-container.js +1 -2
  259. package/dist/collection/components/grid-item/grid-item.js +5 -6
  260. package/dist/collection/components/grid-row/grid-row.js +3 -4
  261. package/dist/collection/components/heading/heading.js +17 -18
  262. package/dist/collection/components/hy-anchor-link-list/hy-anchor-link-list.js +13 -14
  263. package/dist/collection/components/hy-badge/hy-badge.js +6 -7
  264. package/dist/collection/components/hy-banner/hy-banner.js +13 -14
  265. package/dist/collection/components/hy-box/hy-box.js +26 -27
  266. package/dist/collection/components/hy-box-container/hy-box-container.js +5 -6
  267. package/dist/collection/components/hy-breadcrumbs/hy-breadcrumbs.js +10 -11
  268. package/dist/collection/components/hy-checkbox/hy-checkbox.js +5 -6
  269. package/dist/collection/components/hy-collaboration/hy-collaboration.js +2 -3
  270. package/dist/collection/components/hy-crisis-banner/hy-crisis-banner.js +2 -3
  271. package/dist/collection/components/hy-dropdown/hy-dropdown.js +16 -17
  272. package/dist/collection/components/hy-dropdown/hy-dropdown.panel.item.js +2 -3
  273. package/dist/collection/components/hy-dropdown/hy-dropdown.panel.js +2 -3
  274. package/dist/collection/components/hy-event-item/hy-event-item.js +15 -16
  275. package/dist/collection/components/hy-events/hy-events.js +25 -26
  276. package/dist/collection/components/hy-filter-group/hy-filter-group.item.js +3 -4
  277. package/dist/collection/components/hy-filter-group/hy-filter-group.js +3 -4
  278. package/dist/collection/components/hy-filter-list-type/hy-filter-list-type.js +10 -11
  279. package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.js +4 -5
  280. package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.js +2 -3
  281. package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.toggle.js +2 -3
  282. package/dist/collection/components/hy-general-list/hy-general-list.js +11 -12
  283. package/dist/collection/components/hy-general-list-item/hy-general-list-item.js +18 -19
  284. package/dist/collection/components/hy-hero/hy-hero.js +26 -27
  285. package/dist/collection/components/hy-hero-carousel/hy-hero-carousel.css +1306 -0
  286. package/dist/collection/components/hy-hero-carousel/hy-hero-carousel.js +211 -0
  287. package/dist/collection/components/hy-introduction/hy-introduction.js +23 -24
  288. package/dist/collection/components/hy-key-figure/hy-key-figure.js +3 -4
  289. package/dist/collection/components/hy-key-figure-group/hy-key-figure-group.js +17 -18
  290. package/dist/collection/components/hy-key-highlight/hy-key-highlight.js +3 -4
  291. package/dist/collection/components/hy-key-highlight-group/hy-key-highlight-group.js +12 -13
  292. package/dist/collection/components/hy-large-process-flow/hy-large-process-flow.js +11 -12
  293. package/dist/collection/components/hy-large-process-flow-phase/hy-large-process-flow-phase.js +5 -6
  294. package/dist/collection/components/hy-link-list/hy-link-list.js +16 -17
  295. package/dist/collection/components/hy-list-item/hy-list-item.js +71 -72
  296. package/dist/collection/components/hy-logo-grid/hy-logo-grid.item.js +3 -4
  297. package/dist/collection/components/hy-logo-grid/hy-logo-grid.js +1 -2
  298. package/dist/collection/components/hy-main/hy-main.js +5 -6
  299. package/dist/collection/components/hy-main-content-wrapper/hy-main-content-wrapper.js +2 -3
  300. package/dist/collection/components/hy-opening-hours/hy-opening-hours.js +12 -13
  301. package/dist/collection/components/hy-opening-hours-content/hy-opening-hours-content.js +10 -11
  302. package/dist/collection/components/hy-person-card/hy-person-card.js +17 -18
  303. package/dist/collection/components/hy-prominent-image/hy-prominent-image.js +12 -13
  304. package/dist/collection/components/hy-quote/hy-quote.js +8 -9
  305. package/dist/collection/components/hy-search-field/hy-search-field.js +15 -16
  306. package/dist/collection/components/hy-shortcuts/hy-shortcuts.js +21 -22
  307. package/dist/collection/components/hy-table-container/hy-table-container.js +2 -3
  308. package/dist/collection/components/hy-tabs/hy-tabs.js +52 -53
  309. package/dist/collection/components/hy-tabs-item/hy-tabs-item.js +2 -3
  310. package/dist/collection/components/hy-tag/hy-tag.js +2 -3
  311. package/dist/collection/components/hy-twitter-feed/hy-twitter-feed.js +4 -5
  312. package/dist/collection/components/hy-two-columns/hy-two-columns.js +2 -3
  313. package/dist/collection/components/hy-user-login-form/hy-user-login-form.js +4 -5
  314. package/dist/collection/components/hy-video/hy-video.js +26 -27
  315. package/dist/collection/components/icon/AddToTodoList.js +0 -1
  316. package/dist/collection/components/icon/Alert.js +1 -2
  317. package/dist/collection/components/icon/Archive.js +1 -2
  318. package/dist/collection/components/icon/Arrow.js +0 -1
  319. package/dist/collection/components/icon/ArrowDown.js +0 -1
  320. package/dist/collection/components/icon/ArrowRight.js +1 -2
  321. package/dist/collection/components/icon/ArrowUp.js +0 -1
  322. package/dist/collection/components/icon/Avatar.js +0 -1
  323. package/dist/collection/components/icon/AvatarGroup.js +0 -1
  324. package/dist/collection/components/icon/Bachelor.js +0 -1
  325. package/dist/collection/components/icon/BulletList.js +0 -1
  326. package/dist/collection/components/icon/Camera.js +0 -1
  327. package/dist/collection/components/icon/CaretDown.js +0 -1
  328. package/dist/collection/components/icon/CaretLeft.js +0 -1
  329. package/dist/collection/components/icon/CaretRight.js +1 -2
  330. package/dist/collection/components/icon/CaretUp.js +0 -1
  331. package/dist/collection/components/icon/Chat.js +0 -1
  332. package/dist/collection/components/icon/CodeFork.js +0 -1
  333. package/dist/collection/components/icon/Cogs.js +0 -1
  334. package/dist/collection/components/icon/Contentlink.js +0 -1
  335. package/dist/collection/components/icon/Customlink.js +0 -1
  336. package/dist/collection/components/icon/Date.js +0 -1
  337. package/dist/collection/components/icon/Discover.js +0 -1
  338. package/dist/collection/components/icon/Done.js +0 -1
  339. package/dist/collection/components/icon/Dot.js +0 -1
  340. package/dist/collection/components/icon/DotArrowRight.js +1 -2
  341. package/dist/collection/components/icon/Download.js +0 -1
  342. package/dist/collection/components/icon/Drag.js +0 -1
  343. package/dist/collection/components/icon/Dragbutton.js +0 -1
  344. package/dist/collection/components/icon/DropDown.js +0 -1
  345. package/dist/collection/components/icon/Edit.js +0 -1
  346. package/dist/collection/components/icon/EditEvent.js +0 -1
  347. package/dist/collection/components/icon/Embed.js +0 -1
  348. package/dist/collection/components/icon/Euro.js +1 -2
  349. package/dist/collection/components/icon/Events.js +0 -1
  350. package/dist/collection/components/icon/ExternalLink.js +0 -1
  351. package/dist/collection/components/icon/EyeSlash.js +0 -1
  352. package/dist/collection/components/icon/Facebook.js +0 -1
  353. package/dist/collection/components/icon/Favorites.js +0 -1
  354. package/dist/collection/components/icon/Feed.js +0 -1
  355. package/dist/collection/components/icon/FileText.js +0 -1
  356. package/dist/collection/components/icon/FullScreen.js +0 -1
  357. package/dist/collection/components/icon/Globe.js +1 -2
  358. package/dist/collection/components/icon/GooglePlus.js +0 -1
  359. package/dist/collection/components/icon/Grid.js +0 -1
  360. package/dist/collection/components/icon/Hamburger.js +0 -1
  361. package/dist/collection/components/icon/Heart.js +0 -1
  362. package/dist/collection/components/icon/HeartSupport.js +1 -2
  363. package/dist/collection/components/icon/Helsinginyliopisto.js +0 -1
  364. package/dist/collection/components/icon/Home.js +1 -2
  365. package/dist/collection/components/icon/HorizontalResize.js +0 -1
  366. package/dist/collection/components/icon/HyLogo.js +0 -1
  367. package/dist/collection/components/icon/IdNumber.js +0 -1
  368. package/dist/collection/components/icon/Image.js +0 -1
  369. package/dist/collection/components/icon/ImageGallery.js +0 -1
  370. package/dist/collection/components/icon/Images.js +0 -1
  371. package/dist/collection/components/icon/Info.js +1 -2
  372. package/dist/collection/components/icon/InfoStroke.js +0 -1
  373. package/dist/collection/components/icon/Instagram.js +0 -1
  374. package/dist/collection/components/icon/LeikiList.js +0 -1
  375. package/dist/collection/components/icon/LinkArrow.js +0 -1
  376. package/dist/collection/components/icon/LinkArrow1.js +0 -1
  377. package/dist/collection/components/icon/LinkArrowDown.js +0 -1
  378. package/dist/collection/components/icon/LinkArrowLeft.js +0 -1
  379. package/dist/collection/components/icon/LinkArrowOffsite.js +0 -1
  380. package/dist/collection/components/icon/LinkArrowUp.js +0 -1
  381. package/dist/collection/components/icon/Linkedin.js +0 -1
  382. package/dist/collection/components/icon/List.js +0 -1
  383. package/dist/collection/components/icon/ListAsBlocks.js +0 -1
  384. package/dist/collection/components/icon/ListStyleGrid.js +1 -2
  385. package/dist/collection/components/icon/ListStyleList.js +1 -2
  386. package/dist/collection/components/icon/Listoflinks.js +0 -1
  387. package/dist/collection/components/icon/Location.js +0 -1
  388. package/dist/collection/components/icon/Log.js +0 -1
  389. package/dist/collection/components/icon/Login.js +0 -1
  390. package/dist/collection/components/icon/Logout.js +0 -1
  391. package/dist/collection/components/icon/MagnifyMinus.js +0 -1
  392. package/dist/collection/components/icon/MagnifyPlus.js +0 -1
  393. package/dist/collection/components/icon/Mail.js +0 -1
  394. package/dist/collection/components/icon/Master.js +0 -1
  395. package/dist/collection/components/icon/Minus.js +0 -1
  396. package/dist/collection/components/icon/Mobile.js +0 -1
  397. package/dist/collection/components/icon/Modify.js +0 -1
  398. package/dist/collection/components/icon/NaviTriangle.js +0 -1
  399. package/dist/collection/components/icon/NewGroup.js +0 -1
  400. package/dist/collection/components/icon/NewPerson.js +0 -1
  401. package/dist/collection/components/icon/Notification.js +0 -1
  402. package/dist/collection/components/icon/OpinderLogo.js +0 -1
  403. package/dist/collection/components/icon/OpinderLogoNew.js +0 -1
  404. package/dist/collection/components/icon/Pdf.js +0 -1
  405. package/dist/collection/components/icon/People.js +0 -1
  406. package/dist/collection/components/icon/PermissionAll.js +0 -1
  407. package/dist/collection/components/icon/PermissionGroup.js +0 -1
  408. package/dist/collection/components/icon/PermissionPrivate.js +0 -1
  409. package/dist/collection/components/icon/Person.js +0 -1
  410. package/dist/collection/components/icon/PersonOutline.js +0 -1
  411. package/dist/collection/components/icon/Phone.js +0 -1
  412. package/dist/collection/components/icon/Play.js +0 -1
  413. package/dist/collection/components/icon/Plus.js +0 -1
  414. package/dist/collection/components/icon/Preview.js +0 -1
  415. package/dist/collection/components/icon/Profile.js +0 -1
  416. package/dist/collection/components/icon/Question.js +0 -1
  417. package/dist/collection/components/icon/Remove.js +0 -1
  418. package/dist/collection/components/icon/Retweet.js +0 -1
  419. package/dist/collection/components/icon/RotateLeft.js +0 -1
  420. package/dist/collection/components/icon/RotateRight.js +0 -1
  421. package/dist/collection/components/icon/Search.js +1 -2
  422. package/dist/collection/components/icon/Share.js +0 -1
  423. package/dist/collection/components/icon/SlimHamburgerMenu.js +1 -2
  424. package/dist/collection/components/icon/SocialMedia.js +0 -1
  425. package/dist/collection/components/icon/SomeFacebook.js +1 -2
  426. package/dist/collection/components/icon/SomeInstagram.js +1 -2
  427. package/dist/collection/components/icon/SomeLinkedin.js +1 -2
  428. package/dist/collection/components/icon/SomeTwitter.js +1 -2
  429. package/dist/collection/components/icon/SomeYoutube.js +1 -2
  430. package/dist/collection/components/icon/Spinner.js +0 -1
  431. package/dist/collection/components/icon/Square.js +0 -1
  432. package/dist/collection/components/icon/SquareChecked.js +0 -1
  433. package/dist/collection/components/icon/Time.js +0 -1
  434. package/dist/collection/components/icon/TodoList.js +0 -1
  435. package/dist/collection/components/icon/Tour.js +0 -1
  436. package/dist/collection/components/icon/Twitter.js +0 -1
  437. package/dist/collection/components/icon/TwitterLike.js +1 -2
  438. package/dist/collection/components/icon/UnitsAndFaculties.js +0 -1
  439. package/dist/collection/components/icon/Url.js +0 -1
  440. package/dist/collection/components/icon/Video.js +0 -1
  441. package/dist/collection/components/icon/Warning.js +0 -1
  442. package/dist/collection/components/icon/Wrench.js +0 -1
  443. package/dist/collection/components/icon/Youtube.js +0 -1
  444. package/dist/collection/components/icon/allIcons.js +114 -115
  445. package/dist/collection/components/icon/icon.js +134 -135
  446. package/dist/collection/components/icon/icons.js +132 -133
  447. package/dist/collection/components/image/image.js +10 -11
  448. package/dist/collection/components/ingress/ingress.js +7 -8
  449. package/dist/collection/components/link/link.js +7 -8
  450. package/dist/collection/components/link-box/link-box.js +23 -24
  451. package/dist/collection/components/link-box-list/link-box-list.js +12 -13
  452. package/dist/collection/components/navigation/hy-menu-main-group/hy-menu-main-group.js +45 -46
  453. package/dist/collection/components/navigation/menu-language/menu-language.js +15 -16
  454. package/dist/collection/components/navigation/menu-language-item/menu-language-item.js +4 -5
  455. package/dist/collection/components/pagination/hy-pager/hy-pager.js +2 -3
  456. package/dist/collection/components/pagination/hy-pager-item/hy-pager-item.js +12 -13
  457. package/dist/collection/components/paragraph-text/paragraph-text.js +10 -11
  458. package/dist/collection/components/person-profile/person-profile-listing/person-profile.listing.js +9 -10
  459. package/dist/collection/components/person-profile/person-profile.js +16 -17
  460. package/dist/collection/components/process/process.js +12 -13
  461. package/dist/collection/components/process-flow-box/process-flow-box.js +11 -12
  462. package/dist/collection/components/row/row.js +6 -7
  463. package/dist/collection/components/section-container/section-container.js +1 -2
  464. package/dist/collection/components/site-header/site-header.js +69 -70
  465. package/dist/collection/components/site-header/site-logo/site-logo.js +7 -8
  466. package/dist/collection/components/site-header/site-search/site-search.js +56 -57
  467. package/dist/collection/components/tiny-text/tiny-text.js +0 -1
  468. package/dist/collection/global/colors.js +21 -22
  469. package/dist/collection/global/globalScript.js +7 -8
  470. package/dist/collection/global/typography.js +0 -1
  471. package/dist/collection/index.js +1 -2
  472. package/dist/collection/utils/utils.js +0 -1
  473. package/dist/esm/{hy-accordion-container_83.entry.js → color-box_91.entry.js} +1171 -1003
  474. package/dist/esm/globalScript-3c6fab71.js +26 -0
  475. package/dist/esm/huds-lib.js +4 -6
  476. package/dist/esm/hy-event-item.entry.js +10 -12
  477. package/dist/esm/hy-events.entry.js +23 -25
  478. package/dist/esm/hy-hero-carousel.entry.js +4898 -0
  479. package/dist/esm/{index-3a66d87e.js → index-9920074a.js} +0 -2
  480. package/dist/esm/index.js +0 -2
  481. package/dist/esm/loader.js +4 -6
  482. package/dist/esm/utils-a4d55421.js +239 -0
  483. package/dist/fonts/fonts.css +20 -20
  484. package/dist/huds-lib/color-box_91.entry.js +87 -0
  485. package/dist/huds-lib/globalScript-3c6fab71.js +1 -0
  486. package/dist/huds-lib/huds-lib.esm.js +1 -2
  487. package/dist/huds-lib/hy-event-item.entry.js +1 -0
  488. package/dist/huds-lib/hy-events.entry.js +1 -0
  489. package/dist/huds-lib/hy-hero-carousel.entry.js +1 -0
  490. package/dist/huds-lib/index-9920074a.js +2 -0
  491. package/dist/huds-lib/index.esm.js +0 -2
  492. package/dist/huds-lib/utils-a4d55421.js +1 -0
  493. package/dist/loader/cdn.js +3 -0
  494. package/dist/loader/index.cjs.js +3 -0
  495. package/dist/loader/index.d.ts +21 -0
  496. package/dist/loader/index.es2017.js +3 -0
  497. package/dist/loader/index.js +4 -0
  498. package/dist/loader/package.json +11 -0
  499. package/dist/types/components/accordion-item/accordion-item.d.ts +1 -1
  500. package/dist/types/components/adjacent-image-text/adjacent-image-text.d.ts +1 -1
  501. package/dist/types/components/button/button.d.ts +3 -3
  502. package/dist/types/components/color-box/color-box.d.ts +1 -1
  503. package/dist/types/components/courses/hy-content-list/hy-content-list.d.ts +2 -2
  504. package/dist/types/components/courses/hy-content-list-item/hy-content-list-item.d.ts +1 -1
  505. package/dist/types/components/cta-button/cta-button.d.ts +2 -2
  506. package/dist/types/components/cta-link/cta-link.d.ts +2 -2
  507. package/dist/types/components/footer/hy-footer-base/hy-footer-base.d.ts +2 -2
  508. package/dist/types/components/footer/hy-footer-info/hy-footer-info.d.ts +1 -1
  509. package/dist/types/components/footer/hy-footer-link-item/hy-footer-link-item.d.ts +1 -1
  510. package/dist/types/components/grid-item/grid-item.d.ts +1 -1
  511. package/dist/types/components/heading/heading.d.ts +1 -1
  512. package/dist/types/components/hy-badge/hy-badge.d.ts +2 -2
  513. package/dist/types/components/hy-breadcrumbs/hy-breadcrumbs.d.ts +1 -1
  514. package/dist/types/components/hy-checkbox/hy-checkbox.d.ts +1 -1
  515. package/dist/types/components/hy-filter-visibility-tool/hy-filter-visibility-tool.d.ts +1 -1
  516. package/dist/types/components/hy-general-list/hy-general-list.d.ts +1 -1
  517. package/dist/types/components/hy-hero/hy-hero.d.ts +1 -1
  518. package/dist/types/components/hy-hero-carousel/hy-hero-carousel.d.ts +30 -0
  519. package/dist/types/components/hy-introduction/hy-introduction.d.ts +1 -1
  520. package/dist/types/components/hy-key-figure/hy-key-figure.d.ts +2 -2
  521. package/dist/types/components/hy-key-figure-group/hy-key-figure-group.d.ts +1 -1
  522. package/dist/types/components/hy-key-highlight/hy-key-highlight.d.ts +2 -2
  523. package/dist/types/components/hy-key-highlight-group/hy-key-highlight-group.d.ts +2 -2
  524. package/dist/types/components/hy-large-process-flow/hy-large-process-flow.d.ts +1 -1
  525. package/dist/types/components/hy-large-process-flow-phase/hy-large-process-flow-phase.d.ts +1 -1
  526. package/dist/types/components/hy-link-list/hy-link-list.d.ts +1 -1
  527. package/dist/types/components/hy-list-item/hy-list-item.d.ts +1 -1
  528. package/dist/types/components/hy-person-card/hy-person-card.d.ts +1 -1
  529. package/dist/types/components/hy-shortcuts/hy-shortcuts.d.ts +1 -1
  530. package/dist/types/components/hy-tabs/hy-tabs.d.ts +1 -1
  531. package/dist/types/components/icon/allIcons.d.ts +114 -114
  532. package/dist/types/components/icon/icons.d.ts +130 -130
  533. package/dist/types/components/image/image.d.ts +1 -1
  534. package/dist/types/components/link/link.d.ts +1 -1
  535. package/dist/types/components/link-box/link-box.d.ts +2 -2
  536. package/dist/types/components/link-box-list/link-box-list.d.ts +2 -2
  537. package/dist/types/components/navigation/hy-menu-main-group/hy-menu-main-group.d.ts +1 -1
  538. package/dist/types/components/navigation/menu-language/menu-language.d.ts +2 -2
  539. package/dist/types/components/pagination/hy-pager-item/hy-pager-item.d.ts +1 -1
  540. package/dist/types/components/person-profile/person-profile-listing/person-profile.listing.d.ts +1 -1
  541. package/dist/types/components/process/process.d.ts +1 -1
  542. package/dist/types/components/process-flow-box/process-flow-box.d.ts +3 -3
  543. package/dist/types/components/site-header/site-header.d.ts +2 -2
  544. package/dist/types/components/site-header/site-logo/site-logo.d.ts +1 -1
  545. package/dist/types/components/site-header/site-search/site-search.d.ts +3 -3
  546. package/dist/types/components.d.ts +39 -10
  547. package/dist/types/index.d.ts +1 -1
  548. package/dist/types/utils/utils.d.ts +4 -4
  549. package/loader/cdn.js +4 -3
  550. package/loader/index.cjs.js +4 -3
  551. package/loader/index.d.ts +13 -3
  552. package/loader/index.es2017.js +2 -3
  553. package/loader/index.js +13 -4
  554. package/loader/package.json +1 -1
  555. package/package.json +11 -3
  556. package/dist/cjs/color-box_8.cjs.entry.js +0 -187
  557. package/dist/cjs/color-box_8.cjs.entry.js.map +0 -1
  558. package/dist/cjs/globalScript-45ad6d41.js.map +0 -1
  559. package/dist/cjs/huds-lib.cjs.js.map +0 -1
  560. package/dist/cjs/hy-accordion-container_83.cjs.entry.js.map +0 -1
  561. package/dist/cjs/hy-event-item.cjs.entry.js.map +0 -1
  562. package/dist/cjs/hy-events.cjs.entry.js.map +0 -1
  563. package/dist/cjs/index-25bd964b.js.map +0 -1
  564. package/dist/cjs/index.cjs.js.map +0 -1
  565. package/dist/cjs/loader.cjs.js.map +0 -1
  566. package/dist/cjs/utils-14d5aa6f.js.map +0 -1
  567. package/dist/collection/components/accordion-container/accordion-container.js.map +0 -1
  568. package/dist/collection/components/accordion-item/accordion-item.js.map +0 -1
  569. package/dist/collection/components/adjacent-image-text/adjacent-image-text.js.map +0 -1
  570. package/dist/collection/components/baseline/baseline.js.map +0 -1
  571. package/dist/collection/components/button/button.js.map +0 -1
  572. package/dist/collection/components/color-box/color-box.js.map +0 -1
  573. package/dist/collection/components/courses/hy-content-list/hy-content-list.js.map +0 -1
  574. package/dist/collection/components/courses/hy-content-list-item/hy-content-list-item.js.map +0 -1
  575. package/dist/collection/components/cta-button/cta-button.js.map +0 -1
  576. package/dist/collection/components/cta-link/cta-link.js.map +0 -1
  577. package/dist/collection/components/docs-container/docs-container.js.map +0 -1
  578. package/dist/collection/components/footer/hy-footer/hy-footer.js.map +0 -1
  579. package/dist/collection/components/footer/hy-footer-action/hy-footer-action.js.map +0 -1
  580. package/dist/collection/components/footer/hy-footer-base/hy-footer-base.js.map +0 -1
  581. package/dist/collection/components/footer/hy-footer-info/hy-footer-info.js.map +0 -1
  582. package/dist/collection/components/footer/hy-footer-link-item/hy-footer-link-item.js.map +0 -1
  583. package/dist/collection/components/global-workers/globals.worker.js.map +0 -1
  584. package/dist/collection/components/grid-container/grid-container.js.map +0 -1
  585. package/dist/collection/components/grid-item/grid-item.js.map +0 -1
  586. package/dist/collection/components/grid-row/grid-row.js.map +0 -1
  587. package/dist/collection/components/heading/heading.js.map +0 -1
  588. package/dist/collection/components/hy-anchor-link-list/hy-anchor-link-list.js.map +0 -1
  589. package/dist/collection/components/hy-badge/hy-badge.js.map +0 -1
  590. package/dist/collection/components/hy-banner/hy-banner.js.map +0 -1
  591. package/dist/collection/components/hy-box/hy-box.js.map +0 -1
  592. package/dist/collection/components/hy-box-container/hy-box-container.js.map +0 -1
  593. package/dist/collection/components/hy-breadcrumbs/hy-breadcrumbs.js.map +0 -1
  594. package/dist/collection/components/hy-checkbox/hy-checkbox.js.map +0 -1
  595. package/dist/collection/components/hy-collaboration/hy-collaboration.js.map +0 -1
  596. package/dist/collection/components/hy-crisis-banner/hy-crisis-banner.js.map +0 -1
  597. package/dist/collection/components/hy-dropdown/hy-dropdown.js.map +0 -1
  598. package/dist/collection/components/hy-dropdown/hy-dropdown.panel.item.js.map +0 -1
  599. package/dist/collection/components/hy-dropdown/hy-dropdown.panel.js.map +0 -1
  600. package/dist/collection/components/hy-event-item/hy-event-item.js.map +0 -1
  601. package/dist/collection/components/hy-events/hy-events.js.map +0 -1
  602. package/dist/collection/components/hy-filter-group/hy-filter-group.item.js.map +0 -1
  603. package/dist/collection/components/hy-filter-group/hy-filter-group.js.map +0 -1
  604. package/dist/collection/components/hy-filter-list-type/hy-filter-list-type.js.map +0 -1
  605. package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.js.map +0 -1
  606. package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.js.map +0 -1
  607. package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.toggle.js.map +0 -1
  608. package/dist/collection/components/hy-general-list/hy-general-list.js.map +0 -1
  609. package/dist/collection/components/hy-general-list-item/hy-general-list-item.js.map +0 -1
  610. package/dist/collection/components/hy-hero/hy-hero.js.map +0 -1
  611. package/dist/collection/components/hy-introduction/hy-introduction.js.map +0 -1
  612. package/dist/collection/components/hy-key-figure/hy-key-figure.js.map +0 -1
  613. package/dist/collection/components/hy-key-figure-group/hy-key-figure-group.js.map +0 -1
  614. package/dist/collection/components/hy-key-highlight/hy-key-highlight.js.map +0 -1
  615. package/dist/collection/components/hy-key-highlight-group/hy-key-highlight-group.js.map +0 -1
  616. package/dist/collection/components/hy-large-process-flow/hy-large-process-flow.js.map +0 -1
  617. package/dist/collection/components/hy-large-process-flow-phase/hy-large-process-flow-phase.js.map +0 -1
  618. package/dist/collection/components/hy-link-list/hy-link-list.js.map +0 -1
  619. package/dist/collection/components/hy-list-item/hy-list-item.js.map +0 -1
  620. package/dist/collection/components/hy-logo-grid/hy-logo-grid.item.js.map +0 -1
  621. package/dist/collection/components/hy-logo-grid/hy-logo-grid.js.map +0 -1
  622. package/dist/collection/components/hy-main/hy-main.js.map +0 -1
  623. package/dist/collection/components/hy-main-content-wrapper/hy-main-content-wrapper.js.map +0 -1
  624. package/dist/collection/components/hy-opening-hours/hy-opening-hours.js.map +0 -1
  625. package/dist/collection/components/hy-opening-hours-content/hy-opening-hours-content.js.map +0 -1
  626. package/dist/collection/components/hy-person-card/hy-person-card.js.map +0 -1
  627. package/dist/collection/components/hy-prominent-image/hy-prominent-image.js.map +0 -1
  628. package/dist/collection/components/hy-quote/hy-quote.js.map +0 -1
  629. package/dist/collection/components/hy-search-field/hy-search-field.js.map +0 -1
  630. package/dist/collection/components/hy-shortcuts/hy-shortcuts.js.map +0 -1
  631. package/dist/collection/components/hy-table-container/hy-table-container.js.map +0 -1
  632. package/dist/collection/components/hy-tabs/hy-tabs.js.map +0 -1
  633. package/dist/collection/components/hy-tabs-item/hy-tabs-item.js.map +0 -1
  634. package/dist/collection/components/hy-tag/hy-tag.js.map +0 -1
  635. package/dist/collection/components/hy-twitter-feed/hy-twitter-feed.js.map +0 -1
  636. package/dist/collection/components/hy-two-columns/hy-two-columns.js.map +0 -1
  637. package/dist/collection/components/hy-user-login-form/hy-user-login-form.js.map +0 -1
  638. package/dist/collection/components/hy-video/hy-video.js.map +0 -1
  639. package/dist/collection/components/icon/AddToTodoList.js.map +0 -1
  640. package/dist/collection/components/icon/Alert.js.map +0 -1
  641. package/dist/collection/components/icon/Archive.js.map +0 -1
  642. package/dist/collection/components/icon/Arrow.js.map +0 -1
  643. package/dist/collection/components/icon/ArrowDown.js.map +0 -1
  644. package/dist/collection/components/icon/ArrowRight.js.map +0 -1
  645. package/dist/collection/components/icon/ArrowUp.js.map +0 -1
  646. package/dist/collection/components/icon/Avatar.js.map +0 -1
  647. package/dist/collection/components/icon/AvatarGroup.js.map +0 -1
  648. package/dist/collection/components/icon/Bachelor.js.map +0 -1
  649. package/dist/collection/components/icon/BulletList.js.map +0 -1
  650. package/dist/collection/components/icon/Camera.js.map +0 -1
  651. package/dist/collection/components/icon/CaretDown.js.map +0 -1
  652. package/dist/collection/components/icon/CaretLeft.js.map +0 -1
  653. package/dist/collection/components/icon/CaretRight.js.map +0 -1
  654. package/dist/collection/components/icon/CaretUp.js.map +0 -1
  655. package/dist/collection/components/icon/Chat.js.map +0 -1
  656. package/dist/collection/components/icon/CodeFork.js.map +0 -1
  657. package/dist/collection/components/icon/Cogs.js.map +0 -1
  658. package/dist/collection/components/icon/Contentlink.js.map +0 -1
  659. package/dist/collection/components/icon/Customlink.js.map +0 -1
  660. package/dist/collection/components/icon/Date.js.map +0 -1
  661. package/dist/collection/components/icon/Discover.js.map +0 -1
  662. package/dist/collection/components/icon/Done.js.map +0 -1
  663. package/dist/collection/components/icon/Dot.js.map +0 -1
  664. package/dist/collection/components/icon/DotArrowRight.js.map +0 -1
  665. package/dist/collection/components/icon/Download.js.map +0 -1
  666. package/dist/collection/components/icon/Drag.js.map +0 -1
  667. package/dist/collection/components/icon/Dragbutton.js.map +0 -1
  668. package/dist/collection/components/icon/DropDown.js.map +0 -1
  669. package/dist/collection/components/icon/Edit.js.map +0 -1
  670. package/dist/collection/components/icon/EditEvent.js.map +0 -1
  671. package/dist/collection/components/icon/Embed.js.map +0 -1
  672. package/dist/collection/components/icon/Euro.js.map +0 -1
  673. package/dist/collection/components/icon/Events.js.map +0 -1
  674. package/dist/collection/components/icon/ExternalLink.js.map +0 -1
  675. package/dist/collection/components/icon/EyeSlash.js.map +0 -1
  676. package/dist/collection/components/icon/Facebook.js.map +0 -1
  677. package/dist/collection/components/icon/Favorites.js.map +0 -1
  678. package/dist/collection/components/icon/Feed.js.map +0 -1
  679. package/dist/collection/components/icon/FileText.js.map +0 -1
  680. package/dist/collection/components/icon/FullScreen.js.map +0 -1
  681. package/dist/collection/components/icon/Globe.js.map +0 -1
  682. package/dist/collection/components/icon/GooglePlus.js.map +0 -1
  683. package/dist/collection/components/icon/Grid.js.map +0 -1
  684. package/dist/collection/components/icon/Hamburger.js.map +0 -1
  685. package/dist/collection/components/icon/Heart.js.map +0 -1
  686. package/dist/collection/components/icon/HeartSupport.js.map +0 -1
  687. package/dist/collection/components/icon/Helsinginyliopisto.js.map +0 -1
  688. package/dist/collection/components/icon/Home.js.map +0 -1
  689. package/dist/collection/components/icon/HorizontalResize.js.map +0 -1
  690. package/dist/collection/components/icon/HyLogo.js.map +0 -1
  691. package/dist/collection/components/icon/IdNumber.js.map +0 -1
  692. package/dist/collection/components/icon/Image.js.map +0 -1
  693. package/dist/collection/components/icon/ImageGallery.js.map +0 -1
  694. package/dist/collection/components/icon/Images.js.map +0 -1
  695. package/dist/collection/components/icon/Info.js.map +0 -1
  696. package/dist/collection/components/icon/InfoStroke.js.map +0 -1
  697. package/dist/collection/components/icon/Instagram.js.map +0 -1
  698. package/dist/collection/components/icon/LeikiList.js.map +0 -1
  699. package/dist/collection/components/icon/LinkArrow.js.map +0 -1
  700. package/dist/collection/components/icon/LinkArrow1.js.map +0 -1
  701. package/dist/collection/components/icon/LinkArrowDown.js.map +0 -1
  702. package/dist/collection/components/icon/LinkArrowLeft.js.map +0 -1
  703. package/dist/collection/components/icon/LinkArrowOffsite.js.map +0 -1
  704. package/dist/collection/components/icon/LinkArrowUp.js.map +0 -1
  705. package/dist/collection/components/icon/Linkedin.js.map +0 -1
  706. package/dist/collection/components/icon/List.js.map +0 -1
  707. package/dist/collection/components/icon/ListAsBlocks.js.map +0 -1
  708. package/dist/collection/components/icon/ListStyleGrid.js.map +0 -1
  709. package/dist/collection/components/icon/ListStyleList.js.map +0 -1
  710. package/dist/collection/components/icon/Listoflinks.js.map +0 -1
  711. package/dist/collection/components/icon/Location.js.map +0 -1
  712. package/dist/collection/components/icon/Log.js.map +0 -1
  713. package/dist/collection/components/icon/Login.js.map +0 -1
  714. package/dist/collection/components/icon/Logout.js.map +0 -1
  715. package/dist/collection/components/icon/MagnifyMinus.js.map +0 -1
  716. package/dist/collection/components/icon/MagnifyPlus.js.map +0 -1
  717. package/dist/collection/components/icon/Mail.js.map +0 -1
  718. package/dist/collection/components/icon/Master.js.map +0 -1
  719. package/dist/collection/components/icon/Minus.js.map +0 -1
  720. package/dist/collection/components/icon/Mobile.js.map +0 -1
  721. package/dist/collection/components/icon/Modify.js.map +0 -1
  722. package/dist/collection/components/icon/NaviTriangle.js.map +0 -1
  723. package/dist/collection/components/icon/NewGroup.js.map +0 -1
  724. package/dist/collection/components/icon/NewPerson.js.map +0 -1
  725. package/dist/collection/components/icon/Notification.js.map +0 -1
  726. package/dist/collection/components/icon/OpinderLogo.js.map +0 -1
  727. package/dist/collection/components/icon/OpinderLogoNew.js.map +0 -1
  728. package/dist/collection/components/icon/Pdf.js.map +0 -1
  729. package/dist/collection/components/icon/People.js.map +0 -1
  730. package/dist/collection/components/icon/PermissionAll.js.map +0 -1
  731. package/dist/collection/components/icon/PermissionGroup.js.map +0 -1
  732. package/dist/collection/components/icon/PermissionPrivate.js.map +0 -1
  733. package/dist/collection/components/icon/Person.js.map +0 -1
  734. package/dist/collection/components/icon/PersonOutline.js.map +0 -1
  735. package/dist/collection/components/icon/Phone.js.map +0 -1
  736. package/dist/collection/components/icon/Play.js.map +0 -1
  737. package/dist/collection/components/icon/Plus.js.map +0 -1
  738. package/dist/collection/components/icon/Preview.js.map +0 -1
  739. package/dist/collection/components/icon/Profile.js.map +0 -1
  740. package/dist/collection/components/icon/Question.js.map +0 -1
  741. package/dist/collection/components/icon/Remove.js.map +0 -1
  742. package/dist/collection/components/icon/Retweet.js.map +0 -1
  743. package/dist/collection/components/icon/RotateLeft.js.map +0 -1
  744. package/dist/collection/components/icon/RotateRight.js.map +0 -1
  745. package/dist/collection/components/icon/Search.js.map +0 -1
  746. package/dist/collection/components/icon/Share.js.map +0 -1
  747. package/dist/collection/components/icon/SlimHamburgerMenu.js.map +0 -1
  748. package/dist/collection/components/icon/SocialMedia.js.map +0 -1
  749. package/dist/collection/components/icon/SomeFacebook.js.map +0 -1
  750. package/dist/collection/components/icon/SomeInstagram.js.map +0 -1
  751. package/dist/collection/components/icon/SomeLinkedin.js.map +0 -1
  752. package/dist/collection/components/icon/SomeTwitter.js.map +0 -1
  753. package/dist/collection/components/icon/SomeYoutube.js.map +0 -1
  754. package/dist/collection/components/icon/Spinner.js.map +0 -1
  755. package/dist/collection/components/icon/Square.js.map +0 -1
  756. package/dist/collection/components/icon/SquareChecked.js.map +0 -1
  757. package/dist/collection/components/icon/Time.js.map +0 -1
  758. package/dist/collection/components/icon/TodoList.js.map +0 -1
  759. package/dist/collection/components/icon/Tour.js.map +0 -1
  760. package/dist/collection/components/icon/Twitter.js.map +0 -1
  761. package/dist/collection/components/icon/TwitterLike.js.map +0 -1
  762. package/dist/collection/components/icon/UnitsAndFaculties.js.map +0 -1
  763. package/dist/collection/components/icon/Url.js.map +0 -1
  764. package/dist/collection/components/icon/Video.js.map +0 -1
  765. package/dist/collection/components/icon/Warning.js.map +0 -1
  766. package/dist/collection/components/icon/Wrench.js.map +0 -1
  767. package/dist/collection/components/icon/Youtube.js.map +0 -1
  768. package/dist/collection/components/icon/allIcons.js.map +0 -1
  769. package/dist/collection/components/icon/icon.js.map +0 -1
  770. package/dist/collection/components/icon/icons.js.map +0 -1
  771. package/dist/collection/components/image/image.js.map +0 -1
  772. package/dist/collection/components/ingress/ingress.js.map +0 -1
  773. package/dist/collection/components/link/link.js.map +0 -1
  774. package/dist/collection/components/link-box/link-box.js.map +0 -1
  775. package/dist/collection/components/link-box-list/link-box-list.js.map +0 -1
  776. package/dist/collection/components/navigation/hy-menu-main-group/hy-menu-main-group.js.map +0 -1
  777. package/dist/collection/components/navigation/menu-language/menu-language.js.map +0 -1
  778. package/dist/collection/components/navigation/menu-language-item/menu-language-item.js.map +0 -1
  779. package/dist/collection/components/pagination/hy-pager/hy-pager.js.map +0 -1
  780. package/dist/collection/components/pagination/hy-pager-item/hy-pager-item.js.map +0 -1
  781. package/dist/collection/components/paragraph-text/paragraph-text.js.map +0 -1
  782. package/dist/collection/components/person-profile/person-profile-listing/person-profile.listing.js.map +0 -1
  783. package/dist/collection/components/person-profile/person-profile.js.map +0 -1
  784. package/dist/collection/components/process/process.js.map +0 -1
  785. package/dist/collection/components/process-flow-box/process-flow-box.js.map +0 -1
  786. package/dist/collection/components/row/row.js.map +0 -1
  787. package/dist/collection/components/section-container/section-container.js.map +0 -1
  788. package/dist/collection/components/site-header/site-header.js.map +0 -1
  789. package/dist/collection/components/site-header/site-logo/site-logo.js.map +0 -1
  790. package/dist/collection/components/site-header/site-search/site-search.js.map +0 -1
  791. package/dist/collection/components/tiny-text/tiny-text.js.map +0 -1
  792. package/dist/collection/global/colors.js.map +0 -1
  793. package/dist/collection/global/globalScript.js.map +0 -1
  794. package/dist/collection/global/typography.js.map +0 -1
  795. package/dist/collection/index.js.map +0 -1
  796. package/dist/collection/utils/utils.js.map +0 -1
  797. package/dist/esm/color-box_8.entry.js +0 -176
  798. package/dist/esm/color-box_8.entry.js.map +0 -1
  799. package/dist/esm/globalScript-4ad40215.js.map +0 -1
  800. package/dist/esm/huds-lib.js.map +0 -1
  801. package/dist/esm/hy-accordion-container_83.entry.js.map +0 -1
  802. package/dist/esm/hy-event-item.entry.js.map +0 -1
  803. package/dist/esm/hy-events.entry.js.map +0 -1
  804. package/dist/esm/index-3a66d87e.js.map +0 -1
  805. package/dist/esm/index.js.map +0 -1
  806. package/dist/esm/loader.js.map +0 -1
  807. package/dist/esm/utils-43c56d92.js.map +0 -1
  808. package/dist/huds-lib/huds-lib.esm.js.map +0 -1
  809. package/dist/huds-lib/index.esm.js.map +0 -1
  810. package/dist/huds-lib/p-1aeae669.entry.js +0 -2
  811. package/dist/huds-lib/p-1aeae669.entry.js.map +0 -1
  812. package/dist/huds-lib/p-30e3190a.entry.js +0 -88
  813. package/dist/huds-lib/p-30e3190a.entry.js.map +0 -1
  814. package/dist/huds-lib/p-63584350.js +0 -2
  815. package/dist/huds-lib/p-63584350.js.map +0 -1
  816. package/dist/huds-lib/p-7b75f0ea.entry.js +0 -2
  817. package/dist/huds-lib/p-7b75f0ea.entry.js.map +0 -1
  818. package/dist/huds-lib/p-b02e49ad.js +0 -2
  819. package/dist/huds-lib/p-b02e49ad.js.map +0 -1
  820. package/dist/huds-lib/p-c8ed784d.entry.js +0 -2
  821. package/dist/huds-lib/p-c8ed784d.entry.js.map +0 -1
  822. package/dist/huds-lib/p-ff975a68.js +0 -3
  823. package/dist/huds-lib/p-ff975a68.js.map +0 -1
@@ -1,34 +1,34 @@
1
- import { h } from '@stencil/core';
2
- import { CtaLinkVariants } from '../../utils/utils';
3
- import { jsonParserWorker } from '../../global/globalScript';
1
+ import { h } from "@stencil/core";
2
+ import { CtaLinkVariants } from "../../utils/utils";
3
+ import { jsonParserWorker } from "../../global/globalScript";
4
4
  export class HyLinkList {
5
5
  constructor() {
6
- this.headerstyle = 'default';
6
+ this.headerstyle = "default";
7
7
  this.dataItems = undefined;
8
- this.listHeading = '';
8
+ this.listHeading = "";
9
9
  this.variation = undefined;
10
- this.headingVariant = 'h2';
10
+ this.headingVariant = "h2";
11
11
  }
12
12
  async componentWillLoad() {
13
13
  this._dataItems = await jsonParserWorker(this.dataItems);
14
14
  }
15
15
  componentDidLoad() {
16
- let hyMainDiv = this.el.closest('.hy-main');
16
+ let hyMainDiv = this.el.closest(".hy-main");
17
17
  if (hyMainDiv) {
18
- if (!hyMainDiv.classList.contains('with-sidebar')) {
19
- this.headerstyle = 'large';
18
+ if (!hyMainDiv.classList.contains("with-sidebar")) {
19
+ this.headerstyle = "large";
20
20
  }
21
21
  }
22
22
  }
23
23
  render() {
24
24
  const linkVariant = CtaLinkVariants.linkList;
25
25
  const HeadingVariant = this.headingVariant.toLowerCase();
26
- let columnType = 'col-3';
26
+ let columnType = "col-3";
27
27
  if (this._dataItems.length === 7 || this._dataItems.length % 4 === 0) {
28
- columnType = 'col-4';
28
+ columnType = "col-4";
29
29
  }
30
30
  return [
31
- h("section", { class: `hy-link-list hy-link-list__${this.headerstyle}` }, this.listHeading.length > 0 && (h(HeadingVariant, { class: 'hy-link-list__title' }, this.listHeading)), h("ul", { class: `hy-link-list__links hy-link-list__links--${this.variation} ${this.variation === 'grid' ? columnType : ''}` }, this._dataItems.map(({ heading, ariaLabel, url, isExternal }) => (h("li", { class: "hy-link-list__links-item" }, h("hy-cta-link", { variant: linkVariant, "link-content": heading, "sc-label": ariaLabel, url: url, "is-external": isExternal })))))),
31
+ h("section", { class: `hy-link-list hy-link-list__${this.headerstyle}` }, this.listHeading.length > 0 && (h(HeadingVariant, { class: "hy-link-list__title" }, this.listHeading)), h("ul", { class: `hy-link-list__links hy-link-list__links--${this.variation} ${this.variation === "grid" ? columnType : ""}` }, this._dataItems.map(({ heading, ariaLabel, url, isExternal }) => (h("li", { class: "hy-link-list__links-item" }, h("hy-cta-link", { variant: linkVariant, "link-content": heading, "sc-label": ariaLabel, url: url, "is-external": isExternal })))))),
32
32
  ];
33
33
  }
34
34
  static get is() { return "hy-link-list"; }
@@ -60,7 +60,7 @@ export class HyLinkList {
60
60
  },
61
61
  "attribute": "headerstyle",
62
62
  "reflect": false,
63
- "defaultValue": "'default'"
63
+ "defaultValue": "\"default\""
64
64
  },
65
65
  "dataItems": {
66
66
  "type": "string",
@@ -71,7 +71,7 @@ export class HyLinkList {
71
71
  "references": {
72
72
  "CtaLinkValue": {
73
73
  "location": "local",
74
- "path": "/builds/julkiset-sivut/design-system-lib/src/components/hy-link-list/hy-link-list.tsx"
74
+ "path": "/Users/tuukkaturu/hy/hy-ds/design-system-lib/core/src/components/hy-link-list/hy-link-list.tsx"
75
75
  }
76
76
  }
77
77
  },
@@ -100,7 +100,7 @@ export class HyLinkList {
100
100
  },
101
101
  "attribute": "list-heading",
102
102
  "reflect": false,
103
- "defaultValue": "''"
103
+ "defaultValue": "\"\""
104
104
  },
105
105
  "variation": {
106
106
  "type": "string",
@@ -135,10 +135,9 @@ export class HyLinkList {
135
135
  },
136
136
  "attribute": "heading-variant",
137
137
  "reflect": false,
138
- "defaultValue": "'h2'"
138
+ "defaultValue": "\"h2\""
139
139
  }
140
140
  };
141
141
  }
142
142
  static get elementRef() { return "el"; }
143
143
  }
144
- //# sourceMappingURL=hy-link-list.js.map
@@ -1,8 +1,8 @@
1
- import { h } from '@stencil/core';
2
- import { ListItemVariants } from '../../utils/utils';
1
+ import { h } from "@stencil/core";
2
+ import { ListItemVariants } from "../../utils/utils";
3
3
  let keys = {
4
- enter: 'Enter',
5
- space: 'Space',
4
+ enter: "Enter",
5
+ space: "Space",
6
6
  };
7
7
  export class HyListItem {
8
8
  constructor() {
@@ -20,9 +20,9 @@ export class HyListItem {
20
20
  this.relatedLinksBlockTitle = undefined;
21
21
  this.relatedLinks = undefined;
22
22
  this.imageLabel = undefined;
23
- this.outGoingUrlLabel = 'Go to programme page';
23
+ this.outGoingUrlLabel = "Go to programme page";
24
24
  this.additionalInfo = undefined;
25
- this.headerstyle = 'common';
25
+ this.headerstyle = "common";
26
26
  this.sourceSet = undefined;
27
27
  this.truncateDescription = false;
28
28
  this.truncateLimit = 140;
@@ -30,7 +30,7 @@ export class HyListItem {
30
30
  this._imageMinWidth = 0;
31
31
  }
32
32
  relatedLinksWatcher(newValue) {
33
- if (typeof newValue === 'string') {
33
+ if (typeof newValue === "string") {
34
34
  this._relatedLinks = JSON.parse(newValue);
35
35
  }
36
36
  else {
@@ -38,7 +38,7 @@ export class HyListItem {
38
38
  }
39
39
  }
40
40
  additionalInfoWatcher(newValue) {
41
- if (typeof newValue === 'string') {
41
+ if (typeof newValue === "string") {
42
42
  this._additionalInfo = JSON.parse(newValue);
43
43
  }
44
44
  else {
@@ -46,11 +46,11 @@ export class HyListItem {
46
46
  }
47
47
  }
48
48
  srcSetWatcher(data) {
49
- this._sourceSet = typeof data === 'string' ? JSON.parse(data) : data;
49
+ this._sourceSet = typeof data === "string" ? JSON.parse(data) : data;
50
50
  }
51
51
  expandRelatedInfoPanel(target) {
52
52
  let contentSelector = `hy-list-item-wrapper__${this.variant}__related-info__content`;
53
- let targetButtonClass = 'hy-list-item-wrapper__degree__related-info__heading__button';
53
+ let targetButtonClass = "hy-list-item-wrapper__degree__related-info__heading__button";
54
54
  let contentSection = document.querySelectorAll(`[aria-labelledBy="${target.id}"]`)[0];
55
55
  if (contentSection) {
56
56
  if (!this.isExpandedRelatedContent) {
@@ -68,12 +68,12 @@ export class HyListItem {
68
68
  const key = event.code;
69
69
  let target = event.target;
70
70
  const targetElement = target.tagName.toLowerCase();
71
- const possibleTags = [targetElement].some((r) => ['svg', 'path', 'button', 'a'].indexOf(r) >= 0);
71
+ const possibleTags = [targetElement].some((r) => ["svg", "path", "button", "a"].indexOf(r) >= 0);
72
72
  if (target &&
73
73
  possibleTags &&
74
- !target.classList.contains('hy-list-item-wrapper__degree__related-info__link') &&
74
+ !target.classList.contains("hy-list-item-wrapper__degree__related-info__link") &&
75
75
  [keys.enter, keys.space].includes(key)) {
76
- if (targetElement !== 'button') {
76
+ if (targetElement !== "button") {
77
77
  target = target.closest(`.hy-list-item-wrapper__${this.variant}__related-info__heading__button`);
78
78
  }
79
79
  this.expandRelatedInfoPanel(target);
@@ -83,9 +83,9 @@ export class HyListItem {
83
83
  handleClick(event) {
84
84
  let target = event.target;
85
85
  const targetElement = target.tagName.toLowerCase();
86
- const possibleTags = [targetElement].some((r) => ['svg', 'path', 'button', 'a'].indexOf(r) >= 0);
87
- if (target && possibleTags && !target.classList.contains('hy-list-item-wrapper__degree__related-info__link')) {
88
- if (targetElement !== 'button') {
86
+ const possibleTags = [targetElement].some((r) => ["svg", "path", "button", "a"].indexOf(r) >= 0);
87
+ if (target && possibleTags && !target.classList.contains("hy-list-item-wrapper__degree__related-info__link")) {
88
+ if (targetElement !== "button") {
89
89
  target = target.closest(`.hy-list-item-wrapper__${this.variant}__related-info__heading__button`);
90
90
  }
91
91
  this.expandRelatedInfoPanel(target);
@@ -99,16 +99,16 @@ export class HyListItem {
99
99
  this.srcSetWatcher(this.sourceSet);
100
100
  }
101
101
  componentDidLoad() {
102
- let hyMainDiv = this.el.closest('.hy-main');
102
+ let hyMainDiv = this.el.closest(".hy-main");
103
103
  if (hyMainDiv) {
104
- if (!hyMainDiv.classList.contains('with-sidebar')) {
105
- this.headerstyle = 'large';
104
+ if (!hyMainDiv.classList.contains("with-sidebar")) {
105
+ this.headerstyle = "large";
106
106
  }
107
107
  }
108
108
  if (this.variant == ListItemVariants.degreeProgramme) {
109
- const image = document.querySelector('.hy-list-item__degree__image-container__image img');
109
+ const image = document.querySelector(".hy-list-item__degree__image-container__image img");
110
110
  if (image) {
111
- image.addEventListener('load', function () {
111
+ image.addEventListener("load", function () {
112
112
  const outputImageAspectRatio = 1;
113
113
  const imageHeight = image.naturalHeight;
114
114
  const imageWidth = image.naturalWidth;
@@ -127,15 +127,15 @@ export class HyListItem {
127
127
  }
128
128
  render() {
129
129
  const classWrapperAttributes = [
130
- 'hy-list-item-wrapper',
130
+ "hy-list-item-wrapper",
131
131
  `hy-list-item-wrapper__${this.variant}`,
132
132
  `hy-list-item-wrapper__${this.variant}__${this.headerstyle}`,
133
- ].join(' ');
134
- const classAttributes = ['hy-list-item', `hy-list-item__${this.variant}`].join(' ');
133
+ ].join(" ");
134
+ const classAttributes = ["hy-list-item", `hy-list-item__${this.variant}`].join(" ");
135
135
  const classInfoContainerAttributes = [
136
136
  `hy-list-item__${this.variant}__info-container`,
137
137
  `hy-list-item__${this.variant}__info-container__${this.headerstyle}`,
138
- ].join(' ');
138
+ ].join(" ");
139
139
  /*const classInfoContainerDataAttributes = [
140
140
  `hy-list-item__${this.variant}__info-container__data`,
141
141
  `hy-list-item__${this.variant}__info-container__data__${this.headerstyle}`,
@@ -143,91 +143,91 @@ export class HyListItem {
143
143
  const classInfoContainerHeader = [
144
144
  `hy-list-item__${this.variant}__info-container__header`,
145
145
  `hy-list-item__${this.variant}__info-container__header__${this.headerstyle}`,
146
- ].join(' ');
146
+ ].join(" ");
147
147
  const classInfoContainerTitle = [
148
148
  `hy-list-item__${this.variant}__info-container__title`,
149
149
  `hy-list-item__${this.variant}__info-container__title__${this.headerstyle}`,
150
- ].join(' ');
150
+ ].join(" ");
151
151
  const classInfoContainerDescription = [
152
152
  `hy-list-item__${this.variant}__info-container__description`,
153
153
  `hy-list-item__${this.variant}__info-container__description__${this.headerstyle}`,
154
- ].join(' ');
155
- const classInfoContainerLinkContainer = [`hy-list-item__${this.variant}__info-container__link-container`].join(' ');
156
- const classInfoContainerLinkIcon = [`hy-list-item__${this.variant}__info-container__link__icon`].join(' ');
157
- const classInfoContainerLink = [`hy-list-item__${this.variant}__info-container__link`].join(' ');
158
- const target = this.isExternal ? '_blank' : '_self';
154
+ ].join(" ");
155
+ const classInfoContainerLinkContainer = [`hy-list-item__${this.variant}__info-container__link-container`].join(" ");
156
+ const classInfoContainerLinkIcon = [`hy-list-item__${this.variant}__info-container__link__icon`].join(" ");
157
+ const classInfoContainerLink = [`hy-list-item__${this.variant}__info-container__link`].join(" ");
158
+ const target = this.isExternal ? "_blank" : "_self";
159
159
  function truncate(str, n) {
160
- return str.length > n ? str.substr(0, n - 1) + '...' : str;
160
+ return str.length > n ? str.substr(0, n - 1) + "..." : str;
161
161
  }
162
162
  switch (this.variant) {
163
163
  case ListItemVariants.position: {
164
164
  const classInfoContainerOutgoingLink = [
165
165
  `hy-list-item__${this.variant}__info-container__outgoing-link`,
166
166
  `hy-list-item__${this.variant}__info-container__outgoing-link__${this.headerstyle}`,
167
- ].join(' ');
168
- return (h("article", null, h("a", { class: classAttributes, href: this.url, target: target, "aria-label": this.scLabel }, h("div", { class: classInfoContainerAttributes }, h("div", { class: classInfoContainerHeader }, h("div", { class: "icon" }, h("hy-icon", { icon: 'hy-icon-units-and-faculties', size: 18 })), this.itemType), h("div", { class: classInfoContainerTitle }, this.itemTitle), this.itemDescription && (h("div", { class: classInfoContainerDescription, innerHTML: this.truncateDescription
167
+ ].join(" ");
168
+ return (h("article", null, h("a", { class: classAttributes, href: this.url, target: target, "aria-label": this.scLabel }, h("div", { class: classInfoContainerAttributes }, h("div", { class: classInfoContainerHeader }, h("div", { class: "icon" }, h("hy-icon", { icon: "hy-icon-units-and-faculties", size: 18 })), this.itemType), h("div", { class: classInfoContainerTitle }, this.itemTitle), this.itemDescription && (h("div", { class: classInfoContainerDescription, innerHTML: this.truncateDescription
169
169
  ? truncate(this.itemDescription, this.truncateLimit)
170
- : this.itemDescription }))), h("div", { class: classInfoContainerOutgoingLink }, h("span", { class: "icon" }, h("hy-icon", { icon: 'hy-icon-done', size: 14 })), h("span", { class: "label" }, this.outGoingUrlLabel)))));
170
+ : this.itemDescription }))), h("div", { class: classInfoContainerOutgoingLink }, h("span", { class: "icon" }, h("hy-icon", { icon: "hy-icon-done", size: 14 })), h("span", { class: "label" }, this.outGoingUrlLabel)))));
171
171
  }
172
172
  case ListItemVariants.degreeProgramme: {
173
- const classImageContainerAttributes = [`hy-list-item__${this.variant}__image-container`].join(' ');
174
- const classImageContainerImage = [`hy-list-item__${this.variant}__image-container__image`].join(' ');
173
+ const classImageContainerAttributes = [`hy-list-item__${this.variant}__image-container`].join(" ");
174
+ const classImageContainerImage = [`hy-list-item__${this.variant}__image-container__image`].join(" ");
175
175
  const classInfoContainerAdditionalInfoAttributes = [
176
176
  `hy-list-item__${this.variant}__info-container__additional-info`,
177
177
  `hy-list-item__${this.variant}__info-container__additional-info__${this.headerstyle}`,
178
- ].join(' ');
179
- const withAdditionalInfo = this._additionalInfo && this._additionalInfo.length > 0 ? '' : 'link-only';
178
+ ].join(" ");
179
+ const withAdditionalInfo = this._additionalInfo && this._additionalInfo.length > 0 ? "" : "link-only";
180
180
  const classMetadataWrapper = [
181
181
  `hy-list-item__${this.variant}__info-container__metadata-wrapper`,
182
182
  withAdditionalInfo,
183
- ].join(' ');
184
- const classContentWrapper = [`hy-list-item__${this.variant}__info-container__content-wrapper`].join(' ');
183
+ ].join(" ");
184
+ const classContentWrapper = [`hy-list-item__${this.variant}__info-container__content-wrapper`].join(" ");
185
185
  const classInfoContainerOutgoingLink = [
186
186
  `hy-list-item__${this.variant}__info-container__outgoing-link`,
187
187
  `hy-list-item__${this.variant}__info-container__outgoing-link__${this.headerstyle}`,
188
- ].join(' ');
188
+ ].join(" ");
189
189
  const classInfoContainerOutgoingLinkUrl = [
190
190
  `hy-list-item__${this.variant}__info-container__outgoing-link__link`,
191
- ].join(' ');
191
+ ].join(" ");
192
192
  const classRelatedInfoContainer = [
193
193
  `hy-list-item-wrapper__${this.variant}__related-info`,
194
194
  `hy-list-item-wrapper__${this.variant}__related-info__${this.headerstyle}`,
195
- ].join(' ');
196
- const classRelatedInfoHeading = [`hy-list-item-wrapper__${this.variant}__related-info__heading`].join(' ');
197
- const classRelatedInfoHeadingLink = [`hy-list-item-wrapper__${this.variant}__related-info__heading__link`].join(' ');
195
+ ].join(" ");
196
+ const classRelatedInfoHeading = [`hy-list-item-wrapper__${this.variant}__related-info__heading`].join(" ");
197
+ const classRelatedInfoHeadingLink = [`hy-list-item-wrapper__${this.variant}__related-info__heading__link`].join(" ");
198
198
  const classRelatedInfoHeadingButton = [
199
199
  `hy-list-item-wrapper__${this.variant}__related-info__heading__button`,
200
- ].join(' ');
201
- const classRelatedInfoHeadingIcon = [`hy-list-item-wrapper__${this.variant}__related-info__heading__icon`].join(' ');
202
- const classRelatedInfoContent = [`hy-list-item-wrapper__${this.variant}__related-info__content`].join(' ');
203
- const classRelatedInfoLink = [`hy-list-item-wrapper__${this.variant}__related-info__link`].join(' ');
200
+ ].join(" ");
201
+ const classRelatedInfoHeadingIcon = [`hy-list-item-wrapper__${this.variant}__related-info__heading__icon`].join(" ");
202
+ const classRelatedInfoContent = [`hy-list-item-wrapper__${this.variant}__related-info__content`].join(" ");
203
+ const classRelatedInfoLink = [`hy-list-item-wrapper__${this.variant}__related-info__link`].join(" ");
204
204
  const titleAsId = this.relatedLinksBlockTitle && this.relatedLinksBlockTitle.length > 0
205
- ? `${this.itemTitle}-${this.relatedLinksBlockTitle}`.toLowerCase().replace(/\W/g, '-')
206
- : '';
207
- const accordionItemHref = '#' + titleAsId + '--title';
208
- const relatedLinksCount = this.relatedLinksBlockTitle && this.relatedLinksBlockTitle.length > 0 ? this._relatedLinks.length : '';
205
+ ? `${this.itemTitle}-${this.relatedLinksBlockTitle}`.toLowerCase().replace(/\W/g, "-")
206
+ : "";
207
+ const accordionItemHref = "#" + titleAsId + "--title";
208
+ const relatedLinksCount = this.relatedLinksBlockTitle && this.relatedLinksBlockTitle.length > 0 ? this._relatedLinks.length : "";
209
209
  return [
210
- h("article", { class: classWrapperAttributes }, h("a", { class: classAttributes, href: this.url, target: target, "aria-label": this.scLabel }, h("div", { class: classImageContainerAttributes }, h("div", { class: classImageContainerImage }, this._sourceSet ? (h("picture", null, this._sourceSet.map((item) => (h("source", { srcSet: item.src, media: item.media, type: item.type, sizes: item.sizes ? item.sizes : '' }))), h("img", { loading: this.disableLazy ? 'eager' : 'lazy', "aria-hidden": "true", src: this.itemImageUrl, alt: this.itemImageAlt, style: {
211
- '--minheight': `${this._imageMinHeight}px`,
212
- '--minwidth': `${this._imageMinWidth}px`,
213
- } }))) : (h("img", { loading: this.disableLazy ? 'eager' : 'lazy', "aria-hidden": "true", src: this.itemImageUrl, alt: this.itemImageAlt, style: {
214
- '--minheight': `${this._imageMinHeight}px`,
215
- '--minwidth': `${this._imageMinWidth}px`,
210
+ h("article", { class: classWrapperAttributes }, h("a", { class: classAttributes, href: this.url, target: target, "aria-label": this.scLabel }, h("div", { class: classImageContainerAttributes }, h("div", { class: classImageContainerImage }, this._sourceSet ? (h("picture", null, this._sourceSet.map((item) => (h("source", { srcSet: item.src, media: item.media, type: item.type, sizes: item.sizes ? item.sizes : "" }))), h("img", { loading: this.disableLazy ? "eager" : "lazy", "aria-hidden": "true", src: this.itemImageUrl, alt: this.itemImageAlt, style: {
211
+ "--minheight": `${this._imageMinHeight}px`,
212
+ "--minwidth": `${this._imageMinWidth}px`,
213
+ } }))) : (h("img", { loading: this.disableLazy ? "eager" : "lazy", "aria-hidden": "true", src: this.itemImageUrl, alt: this.itemImageAlt, style: {
214
+ "--minheight": `${this._imageMinHeight}px`,
215
+ "--minwidth": `${this._imageMinWidth}px`,
216
216
  } }))), this.imageLabel && h("span", null, this.imageLabel)), h("div", { class: classInfoContainerAttributes }, h("div", { class: classContentWrapper }, h("div", { class: classInfoContainerTitle }, this.itemTitle), this.itemDescription && (h("div", { class: classInfoContainerDescription, innerHTML: this.itemDescription }))), h("div", { class: classMetadataWrapper }, this._additionalInfo && (h("div", { class: classInfoContainerAdditionalInfoAttributes }, this._additionalInfo.map((x) => {
217
217
  let classInfoContainerAdditionalInfoItem = [
218
218
  `hy-list-item__${this.variant}__info-container__additional-info__item`,
219
219
  `hy-list-item__${this.variant}__info-container__additional-info__item__${this.headerstyle}`,
220
- `${x.isActive.toString() == 'true' ? 'active' : ''}`,
221
- ].join(' ');
220
+ `${x.isActive.toString() == "true" ? "active" : ""}`,
221
+ ].join(" ");
222
222
  return h("div", { class: classInfoContainerAdditionalInfoItem }, x.text);
223
- }))), h("div", { class: classInfoContainerOutgoingLink }, h("a", { href: this.url, target: target, "aria-label": this.scLabel, class: classInfoContainerOutgoingLinkUrl, tabindex: "-1" }, h("span", { class: "label" }, this.outGoingUrlLabel), h("span", { class: "icon-wrapper" }, h("div", { class: "icon" }, h("hy-icon", { icon: 'hy-icon-arrow-to-right', size: 32 })))))))), this.relatedLinksBlockTitle && (h("div", { class: classRelatedInfoContainer }, h("div", { class: classRelatedInfoHeading }, h("a", { href: accordionItemHref, class: classRelatedInfoHeadingLink, tabindex: "-1" }, h("button", { "aria-expanded": "false", "aria-controls": `${titleAsId}--content`, class: classRelatedInfoHeadingButton, id: `${titleAsId}--title` }, h("span", { class: classRelatedInfoHeadingIcon }, h("hy-icon", { icon: 'hy-icon-caret-down', size: 14 })), this.relatedLinksBlockTitle, " (", relatedLinksCount, ")"))), h("div", { class: classRelatedInfoContent, "aria-labelledBy": `${titleAsId}--title`, id: `${titleAsId}--content`, role: "region", "aria-hidden": "true" }, this._relatedLinks.map((x) => {
224
- let relatedLinkTarget = x.isExternal ? '_blank' : '_self';
223
+ }))), h("div", { class: classInfoContainerOutgoingLink }, h("a", { href: this.url, target: target, "aria-label": this.scLabel, class: classInfoContainerOutgoingLinkUrl, tabindex: "-1" }, h("span", { class: "label" }, this.outGoingUrlLabel), h("span", { class: "icon-wrapper" }, h("div", { class: "icon" }, h("hy-icon", { icon: "hy-icon-arrow-to-right", size: 32 })))))))), this.relatedLinksBlockTitle && (h("div", { class: classRelatedInfoContainer }, h("div", { class: classRelatedInfoHeading }, h("a", { href: accordionItemHref, class: classRelatedInfoHeadingLink, tabindex: "-1" }, h("button", { "aria-expanded": "false", "aria-controls": `${titleAsId}--content`, class: classRelatedInfoHeadingButton, id: `${titleAsId}--title` }, h("span", { class: classRelatedInfoHeadingIcon }, h("hy-icon", { icon: "hy-icon-caret-down", size: 14 })), this.relatedLinksBlockTitle, " (", relatedLinksCount, ")"))), h("div", { class: classRelatedInfoContent, "aria-labelledBy": `${titleAsId}--title`, id: `${titleAsId}--content`, role: "region", "aria-hidden": "true" }, this._relatedLinks.map((x) => {
224
+ let relatedLinkTarget = x.isExternal ? "_blank" : "_self";
225
225
  return (h("a", { class: classRelatedInfoLink, href: x.url, target: target, "aria-label": relatedLinkTarget }, x.label));
226
226
  }))))),
227
227
  ];
228
228
  }
229
229
  default: {
230
- return (h("article", null, h("a", { class: classAttributes, href: this.url, target: target, "aria-label": this.scLabel }, h("div", { class: classInfoContainerAttributes }, h("div", { class: classInfoContainerHeader }, this.itemType), h("div", { class: classInfoContainerTitle }, this.itemTitle), h("div", { class: classInfoContainerLinkContainer }, h("span", { class: classInfoContainerLinkIcon }, h("hy-icon", { icon: 'hy-icon-link', size: 15 })), h("div", { class: classInfoContainerLink }, this.url)), this.itemDescription && (h("div", { class: classInfoContainerDescription, innerHTML: this.itemDescription }))))));
230
+ return (h("article", null, h("a", { class: classAttributes, href: this.url, target: target, "aria-label": this.scLabel }, h("div", { class: classInfoContainerAttributes }, h("div", { class: classInfoContainerHeader }, this.itemType), h("div", { class: classInfoContainerTitle }, this.itemTitle), h("div", { class: classInfoContainerLinkContainer }, h("span", { class: classInfoContainerLinkIcon }, h("hy-icon", { icon: "hy-icon-link", size: 15 })), h("div", { class: classInfoContainerLink }, this.url)), this.itemDescription && (h("div", { class: classInfoContainerDescription, innerHTML: this.itemDescription }))))));
231
231
  }
232
232
  }
233
233
  }
@@ -448,7 +448,7 @@ export class HyListItem {
448
448
  "references": {
449
449
  "RelatedLink": {
450
450
  "location": "local",
451
- "path": "/builds/julkiset-sivut/design-system-lib/src/components/hy-list-item/hy-list-item.tsx"
451
+ "path": "/Users/tuukkaturu/hy/hy-ds/design-system-lib/core/src/components/hy-list-item/hy-list-item.tsx"
452
452
  }
453
453
  }
454
454
  },
@@ -494,7 +494,7 @@ export class HyListItem {
494
494
  },
495
495
  "attribute": "out-going-url-label",
496
496
  "reflect": false,
497
- "defaultValue": "'Go to programme page'"
497
+ "defaultValue": "\"Go to programme page\""
498
498
  },
499
499
  "additionalInfo": {
500
500
  "type": "string",
@@ -505,7 +505,7 @@ export class HyListItem {
505
505
  "references": {
506
506
  "AdditionalInfo": {
507
507
  "location": "local",
508
- "path": "/builds/julkiset-sivut/design-system-lib/src/components/hy-list-item/hy-list-item.tsx"
508
+ "path": "/Users/tuukkaturu/hy/hy-ds/design-system-lib/core/src/components/hy-list-item/hy-list-item.tsx"
509
509
  }
510
510
  }
511
511
  },
@@ -534,7 +534,7 @@ export class HyListItem {
534
534
  },
535
535
  "attribute": "headerstyle",
536
536
  "reflect": false,
537
- "defaultValue": "'common'"
537
+ "defaultValue": "\"common\""
538
538
  },
539
539
  "sourceSet": {
540
540
  "type": "string",
@@ -545,7 +545,7 @@ export class HyListItem {
545
545
  "references": {
546
546
  "ImageSrcSet": {
547
547
  "location": "local",
548
- "path": "/builds/julkiset-sivut/design-system-lib/src/components/hy-list-item/hy-list-item.tsx"
548
+ "path": "/Users/tuukkaturu/hy/hy-ds/design-system-lib/core/src/components/hy-list-item/hy-list-item.tsx"
549
549
  }
550
550
  }
551
551
  },
@@ -632,4 +632,3 @@ export class HyListItem {
632
632
  }];
633
633
  }
634
634
  }
635
- //# sourceMappingURL=hy-list-item.js.map
@@ -1,4 +1,4 @@
1
- import { h } from '@stencil/core';
1
+ import { h } from "@stencil/core";
2
2
  export class HyLogoGridItem {
3
3
  constructor() {
4
4
  this.link = undefined;
@@ -9,10 +9,10 @@ export class HyLogoGridItem {
9
9
  const parsedLink = this.link ? JSON.parse(this.link) : null;
10
10
  return parsedImage.map(({ image_sources: sources, image_url: fallback_url, image_alt: alt }) => {
11
11
  const parsedSources = JSON.parse(sources);
12
- const elementContent = (h("figure", { class: "hy-logo-grid__figure" }, parsedSources && (h("picture", null, parsedSources.map(({ src, media, type, sizes }) => (h("source", { srcSet: src, media: media, type: type, sizes: sizes ? sizes : '' }))), h("img", { alt: alt, src: fallback_url }))), !parsedSources && h("img", { alt: alt, src: fallback_url })));
12
+ const elementContent = (h("figure", { class: "hy-logo-grid__figure" }, parsedSources && (h("picture", null, parsedSources.map(({ src, media, type, sizes }) => (h("source", { srcSet: src, media: media, type: type, sizes: sizes ? sizes : "" }))), h("img", { alt: alt, src: fallback_url }))), !parsedSources && h("img", { alt: alt, src: fallback_url })));
13
13
  if (parsedLink) {
14
14
  const { url, target } = parsedLink;
15
- const targetValue = target === '_blank' ? target : '_self';
15
+ const targetValue = target === "_blank" ? target : "_self";
16
16
  return (h("a", { href: url, target: targetValue, class: "hy-logo-grid__link" }, elementContent));
17
17
  }
18
18
  return elementContent;
@@ -68,4 +68,3 @@ export class HyLogoGridItem {
68
68
  };
69
69
  }
70
70
  }
71
- //# sourceMappingURL=hy-logo-grid.item.js.map
@@ -1,4 +1,4 @@
1
- import { h } from '@stencil/core';
1
+ import { h } from "@stencil/core";
2
2
  export class HyLogoGrid {
3
3
  constructor() {
4
4
  this.headingVariant = undefined;
@@ -58,4 +58,3 @@ export class HyLogoGrid {
58
58
  };
59
59
  }
60
60
  }
61
- //# sourceMappingURL=hy-logo-grid.js.map
@@ -1,14 +1,14 @@
1
- import { h } from '@stencil/core';
1
+ import { h } from "@stencil/core";
2
2
  export class HyMain {
3
3
  constructor() {
4
4
  this.hasSidebar = false;
5
5
  }
6
6
  render() {
7
7
  const classAttributes = [
8
- 'hy-main',
9
- this.hasSidebar ? 'with-sidebar' : 'without-sidebar',
10
- this.hasSidebar ? 'hy-main__common' : 'hy-main__large',
11
- ].join(' ');
8
+ "hy-main",
9
+ this.hasSidebar ? "with-sidebar" : "without-sidebar",
10
+ this.hasSidebar ? "hy-main__common" : "hy-main__large",
11
+ ].join(" ");
12
12
  return (h("div", { class: classAttributes }, h("slot", null)));
13
13
  }
14
14
  static get is() { return "hy-main"; }
@@ -45,4 +45,3 @@ export class HyMain {
45
45
  };
46
46
  }
47
47
  }
48
- //# sourceMappingURL=hy-main.js.map
@@ -1,7 +1,7 @@
1
- import { h, Host } from '@stencil/core';
1
+ import { h, Host } from "@stencil/core";
2
2
  export class HyMainContentWrapper {
3
3
  render() {
4
- const classAttributes = ['hy-main-content-wrapper'].join(' ');
4
+ const classAttributes = ["hy-main-content-wrapper"].join(" ");
5
5
  return (h(Host, null, h("div", { class: classAttributes }, h("slot", null))));
6
6
  }
7
7
  static get is() { return "hy-main-content-wrapper"; }
@@ -16,4 +16,3 @@ export class HyMainContentWrapper {
16
16
  };
17
17
  }
18
18
  }
19
- //# sourceMappingURL=hy-main-content-wrapper.js.map
@@ -1,10 +1,10 @@
1
- import { Host, h } from '@stencil/core';
2
- import { CtaLinkVariants } from '../../utils/utils';
1
+ import { Host, h } from "@stencil/core";
2
+ import { CtaLinkVariants } from "../../utils/utils";
3
3
  export class HyOpeningHours {
4
4
  constructor() {
5
5
  this.blockTitle = null;
6
6
  this.language = undefined;
7
- this.venueType = 'libraries';
7
+ this.venueType = "libraries";
8
8
  this.blockId = undefined;
9
9
  this.nextLabel = undefined;
10
10
  this.prevLabel = undefined;
@@ -13,7 +13,7 @@ export class HyOpeningHours {
13
13
  this.customerServiceLabel = undefined;
14
14
  this.date = null;
15
15
  this.dateTitle = null;
16
- this.dateType = 'day';
16
+ this.dateType = "day";
17
17
  this.multiple = false;
18
18
  this.customLinkTitle = null;
19
19
  this.customLink = null;
@@ -21,12 +21,12 @@ export class HyOpeningHours {
21
21
  }
22
22
  render() {
23
23
  const containerClasses = [
24
- 'hy-open-hours--container',
25
- this.exceptional ? 'hy-open-hours--container--exceptional' : '',
26
- ].join(' ');
27
- const listClasses = ['open-hours__content__top-label', this.venueType].join(' ');
28
- const buildingClasses = ['open-hours__content__top-label building', this.venueType].join(' ');
29
- return (h(Host, null, h("div", { class: containerClasses, "data-lang": this.language, "data-id": this.blockId, "data-date": this.date, "data-type": this.dateType, "data-multiple": this.multiple }, this.blockTitle && h("h3", { class: "open-hours__title" }, this.blockTitle), !this.exceptional && (h("div", { class: "open-hours__date-change" }, h("button", { "aria-label": this.prevLabel, class: "icon--arrow-left open-hours__prev-date" }, h("hy-icon", { icon: 'hy-icon-caret-left', size: 18 })), h("span", { class: "open-hours__date-change--title" }, this.dateTitle), h("button", { "aria-label": this.nextLabel, class: "icon--arrow-right open-hours__next-date" }, h("hy-icon", { icon: 'hy-icon-caret-right', size: 18 })))), h("div", { class: "open-hours__content__top" }, h("span", { class: listClasses }, this.listLabel), h("span", { class: buildingClasses }, this.buildingLabel), this.customerServiceLabel && h("span", { class: listClasses }, this.customerServiceLabel)), h("div", { class: "open-hours__content" }, h("slot", null)), this.customLink && (h("div", { class: "open-hours__links" }, h("hy-cta-link", { "full-width": true, "link-content": this.customLinkTitle, "sc-label": this.customLinkTitle, url: this.customLink, variant: CtaLinkVariants.linkList }, this.customLinkTitle)))), h("hy-box", { mb: "1.75, 1.75, 2, 2.5" })));
24
+ "hy-open-hours--container",
25
+ this.exceptional ? "hy-open-hours--container--exceptional" : "",
26
+ ].join(" ");
27
+ const listClasses = ["open-hours__content__top-label", this.venueType].join(" ");
28
+ const buildingClasses = ["open-hours__content__top-label building", this.venueType].join(" ");
29
+ return (h(Host, null, h("div", { class: containerClasses, "data-lang": this.language, "data-id": this.blockId, "data-date": this.date, "data-type": this.dateType, "data-multiple": this.multiple }, this.blockTitle && h("h3", { class: "open-hours__title" }, this.blockTitle), !this.exceptional && (h("div", { class: "open-hours__date-change" }, h("button", { "aria-label": this.prevLabel, class: "icon--arrow-left open-hours__prev-date" }, h("hy-icon", { icon: "hy-icon-caret-left", size: 18 })), h("span", { class: "open-hours__date-change--title" }, this.dateTitle), h("button", { "aria-label": this.nextLabel, class: "icon--arrow-right open-hours__next-date" }, h("hy-icon", { icon: "hy-icon-caret-right", size: 18 })))), h("div", { class: "open-hours__content__top" }, h("span", { class: listClasses }, this.listLabel), h("span", { class: buildingClasses }, this.buildingLabel), this.customerServiceLabel && h("span", { class: listClasses }, this.customerServiceLabel)), h("div", { class: "open-hours__content" }, h("slot", null)), this.customLink && (h("div", { class: "open-hours__links" }, h("hy-cta-link", { "full-width": true, "link-content": this.customLinkTitle, "sc-label": this.customLinkTitle, url: this.customLink, variant: CtaLinkVariants.linkList }, this.customLinkTitle)))), h("hy-box", { mb: "1.75, 1.75, 2, 2.5" })));
30
30
  }
31
31
  static get is() { return "hy-opening-hours"; }
32
32
  static get originalStyleUrls() {
@@ -92,7 +92,7 @@ export class HyOpeningHours {
92
92
  },
93
93
  "attribute": "venue-type",
94
94
  "reflect": false,
95
- "defaultValue": "'libraries'"
95
+ "defaultValue": "\"libraries\""
96
96
  },
97
97
  "blockId": {
98
98
  "type": "string",
@@ -248,7 +248,7 @@ export class HyOpeningHours {
248
248
  },
249
249
  "attribute": "date-type",
250
250
  "reflect": false,
251
- "defaultValue": "'day'"
251
+ "defaultValue": "\"day\""
252
252
  },
253
253
  "multiple": {
254
254
  "type": "boolean",
@@ -325,4 +325,3 @@ export class HyOpeningHours {
325
325
  };
326
326
  }
327
327
  }
328
- //# sourceMappingURL=hy-opening-hours.js.map
@@ -1,13 +1,13 @@
1
- import { Host, h } from '@stencil/core';
1
+ import { Host, h } from "@stencil/core";
2
2
  export class HyOpeningHoursContent {
3
3
  constructor() {
4
4
  this.multiple = false;
5
5
  this.selfServiceLabel = null;
6
- this.venueType = 'libraries';
6
+ this.venueType = "libraries";
7
7
  this.dataItems = undefined;
8
8
  }
9
9
  dataItemsWatcher(data) {
10
- this._dataItems = typeof data === 'string' ? JSON.parse(data) : data;
10
+ this._dataItems = typeof data === "string" ? JSON.parse(data) : data;
11
11
  }
12
12
  componentWillLoad() {
13
13
  this.dataItemsWatcher(this.dataItems);
@@ -16,15 +16,15 @@ export class HyOpeningHoursContent {
16
16
  return (h(Host, null, this._dataItems.map((item) => {
17
17
  if (!item.service)
18
18
  return;
19
- const itemClasses = ['open-hours__list-item', item.today ? 'open-hours__list-item--today' : ''].join(' ');
19
+ const itemClasses = ["open-hours__list-item", item.today ? "open-hours__list-item--today" : ""].join(" ");
20
20
  return (h("div", { class: itemClasses }, h("span", { class: "open-hours__list-item--office" }, item.today ? item.today : item.dateLibrary), h("span", { class: "open-hours__list-item--hours" }, item.building), h("span", { class: "open-hours__list-item--service" }, item.service)));
21
21
  }), this.selfServiceLabel && (h("div", { class: "open-hours__content__top" }, h("span", { class: "open-hours__content__top-label" }, this.selfServiceLabel))), this._dataItems.map((item) => {
22
22
  if (item.service)
23
23
  return;
24
- const itemClasses = ['open-hours__list-item', item.today ? 'open-hours__list-item--today' : ''].join(' ');
25
- const hoursClasses = ['open-hours__list-item--hours', this.venueType].join(' ');
26
- const officeClasses = ['open-hours__list-item--office', this.venueType].join(' ');
27
- return (h("div", { class: itemClasses }, h("span", { class: officeClasses }, item.today ? item.today : item.dateLibrary), h("span", { class: hoursClasses }, item.building), this.venueType !== 'luomus' && h("span", { class: "open-hours__list-item--service" }, "-")));
24
+ const itemClasses = ["open-hours__list-item", item.today ? "open-hours__list-item--today" : ""].join(" ");
25
+ const hoursClasses = ["open-hours__list-item--hours", this.venueType].join(" ");
26
+ const officeClasses = ["open-hours__list-item--office", this.venueType].join(" ");
27
+ return (h("div", { class: itemClasses }, h("span", { class: officeClasses }, item.today ? item.today : item.dateLibrary), h("span", { class: hoursClasses }, item.building), this.venueType !== "luomus" && h("span", { class: "open-hours__list-item--service" }, "-")));
28
28
  })));
29
29
  }
30
30
  static get is() { return "hy-opening-hours-content"; }
@@ -92,7 +92,7 @@ export class HyOpeningHoursContent {
92
92
  },
93
93
  "attribute": "venue-type",
94
94
  "reflect": false,
95
- "defaultValue": "'libraries'"
95
+ "defaultValue": "\"libraries\""
96
96
  },
97
97
  "dataItems": {
98
98
  "type": "string",
@@ -103,7 +103,7 @@ export class HyOpeningHoursContent {
103
103
  "references": {
104
104
  "items": {
105
105
  "location": "local",
106
- "path": "/builds/julkiset-sivut/design-system-lib/src/components/hy-opening-hours-content/hy-opening-hours-content.tsx"
106
+ "path": "/Users/tuukkaturu/hy/hy-ds/design-system-lib/core/src/components/hy-opening-hours-content/hy-opening-hours-content.tsx"
107
107
  }
108
108
  }
109
109
  },
@@ -125,4 +125,3 @@ export class HyOpeningHoursContent {
125
125
  }];
126
126
  }
127
127
  }
128
- //# sourceMappingURL=hy-opening-hours-content.js.map