@itcenteratunihelsinki/huds-lib 0.8.43 → 0.8.45

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 (444) 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/components/globalScript.js +26 -0
  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 -1
  230. package/dist/cjs/{hy-accordion-container_83.cjs.entry.js → color-box_91.cjs.entry.js} +1177 -999
  231. package/dist/cjs/{globalScript-45ad6d41.js → globalScript-d341436f.js} +7 -7
  232. package/dist/cjs/huds-lib.cjs.js +3 -3
  233. package/dist/cjs/hy-event-item.cjs.entry.js +10 -10
  234. package/dist/cjs/hy-events.cjs.entry.js +22 -22
  235. package/dist/cjs/hy-hero-carousel.cjs.entry.js +25 -25
  236. package/dist/cjs/loader.cjs.js +3 -3
  237. package/dist/collection/collection-manifest.json +7 -11
  238. package/dist/collection/components/accordion-container/accordion-container.js +4 -4
  239. package/dist/collection/components/accordion-item/accordion-item.js +78 -78
  240. package/dist/collection/components/adjacent-image-text/adjacent-image-text.js +17 -17
  241. package/dist/collection/components/baseline/baseline.js +2 -2
  242. package/dist/collection/components/button/button.js +28 -28
  243. package/dist/collection/components/color-box/color-box.js +1 -1
  244. package/dist/collection/components/courses/hy-content-list/hy-content-list.js +42 -42
  245. package/dist/collection/components/courses/hy-content-list-item/hy-content-list-item.js +15 -15
  246. package/dist/collection/components/cta-button/cta-button.js +12 -12
  247. package/dist/collection/components/cta-link/cta-link.js +7 -7
  248. package/dist/collection/components/footer/hy-footer/hy-footer.js +3 -3
  249. package/dist/collection/components/footer/hy-footer-action/hy-footer-action.js +5 -5
  250. package/dist/collection/components/footer/hy-footer-base/hy-footer-base.js +6 -6
  251. package/dist/collection/components/footer/hy-footer-info/hy-footer-info.js +19 -19
  252. package/dist/collection/components/footer/hy-footer-link-item/hy-footer-link-item.js +22 -22
  253. package/dist/collection/components/grid-container/grid-container.js +1 -1
  254. package/dist/collection/components/grid-item/grid-item.js +5 -5
  255. package/dist/collection/components/grid-row/grid-row.js +3 -3
  256. package/dist/collection/components/heading/heading.js +17 -17
  257. package/dist/collection/components/hy-anchor-link-list/hy-anchor-link-list.js +13 -13
  258. package/dist/collection/components/hy-badge/hy-badge.js +6 -6
  259. package/dist/collection/components/hy-banner/hy-banner.js +13 -13
  260. package/dist/collection/components/hy-box/hy-box.js +26 -26
  261. package/dist/collection/components/hy-box-container/hy-box-container.js +5 -5
  262. package/dist/collection/components/hy-breadcrumbs/hy-breadcrumbs.js +10 -10
  263. package/dist/collection/components/hy-checkbox/hy-checkbox.js +5 -5
  264. package/dist/collection/components/hy-collaboration/hy-collaboration.js +2 -2
  265. package/dist/collection/components/hy-crisis-banner/hy-crisis-banner.js +2 -2
  266. package/dist/collection/components/hy-dropdown/hy-dropdown.js +16 -16
  267. package/dist/collection/components/hy-dropdown/hy-dropdown.panel.item.js +2 -2
  268. package/dist/collection/components/hy-dropdown/hy-dropdown.panel.js +2 -2
  269. package/dist/collection/components/hy-event-item/hy-event-item.js +15 -15
  270. package/dist/collection/components/hy-events/hy-events.js +25 -25
  271. package/dist/collection/components/hy-filter-group/hy-filter-group.item.js +3 -3
  272. package/dist/collection/components/hy-filter-group/hy-filter-group.js +3 -3
  273. package/dist/collection/components/hy-filter-list-type/hy-filter-list-type.js +10 -10
  274. package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.js +4 -4
  275. package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.js +2 -2
  276. package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.toggle.js +2 -2
  277. package/dist/collection/components/hy-general-list/hy-general-list.js +11 -11
  278. package/dist/collection/components/hy-general-list-item/hy-general-list-item.js +18 -18
  279. package/dist/collection/components/hy-hero/hy-hero.js +26 -26
  280. package/dist/collection/components/hy-hero-carousel/hy-hero-carousel.css +6 -6
  281. package/dist/collection/components/hy-hero-carousel/hy-hero-carousel.js +32 -32
  282. package/dist/collection/components/hy-introduction/hy-introduction.js +23 -23
  283. package/dist/collection/components/hy-key-figure/hy-key-figure.js +3 -3
  284. package/dist/collection/components/hy-key-figure-group/hy-key-figure-group.js +17 -17
  285. package/dist/collection/components/hy-key-highlight/hy-key-highlight.js +3 -3
  286. package/dist/collection/components/hy-key-highlight-group/hy-key-highlight-group.js +12 -12
  287. package/dist/collection/components/hy-large-process-flow/hy-large-process-flow.js +11 -11
  288. package/dist/collection/components/hy-large-process-flow-phase/hy-large-process-flow-phase.js +5 -5
  289. package/dist/collection/components/hy-link-list/hy-link-list.js +16 -16
  290. package/dist/collection/components/hy-list-item/hy-list-item.js +71 -71
  291. package/dist/collection/components/hy-logo-grid/hy-logo-grid.item.js +3 -3
  292. package/dist/collection/components/hy-logo-grid/hy-logo-grid.js +1 -1
  293. package/dist/collection/components/hy-main/hy-main.js +5 -5
  294. package/dist/collection/components/hy-main-content-wrapper/hy-main-content-wrapper.js +2 -2
  295. package/dist/collection/components/hy-opening-hours/hy-opening-hours.js +12 -12
  296. package/dist/collection/components/hy-opening-hours-content/hy-opening-hours-content.js +10 -10
  297. package/dist/collection/components/hy-person-card/hy-person-card.js +17 -17
  298. package/dist/collection/components/hy-prominent-image/hy-prominent-image.js +12 -12
  299. package/dist/collection/components/hy-quote/hy-quote.js +8 -8
  300. package/dist/collection/components/hy-search-field/hy-search-field.js +15 -15
  301. package/dist/collection/components/hy-shortcuts/hy-shortcuts.js +21 -21
  302. package/dist/collection/components/hy-table-container/hy-table-container.js +2 -2
  303. package/dist/collection/components/hy-tabs/hy-tabs.js +52 -52
  304. package/dist/collection/components/hy-tabs-item/hy-tabs-item.js +2 -2
  305. package/dist/collection/components/hy-tag/hy-tag.js +2 -2
  306. package/dist/collection/components/hy-twitter-feed/hy-twitter-feed.js +4 -4
  307. package/dist/collection/components/hy-two-columns/hy-two-columns.js +2 -2
  308. package/dist/collection/components/hy-user-login-form/hy-user-login-form.js +4 -4
  309. package/dist/collection/components/hy-video/hy-video.js +26 -26
  310. package/dist/collection/components/icon/Alert.js +1 -1
  311. package/dist/collection/components/icon/Archive.js +1 -1
  312. package/dist/collection/components/icon/ArrowRight.js +1 -1
  313. package/dist/collection/components/icon/CaretRight.js +1 -1
  314. package/dist/collection/components/icon/DotArrowRight.js +1 -1
  315. package/dist/collection/components/icon/Euro.js +1 -1
  316. package/dist/collection/components/icon/Globe.js +1 -1
  317. package/dist/collection/components/icon/HeartSupport.js +1 -1
  318. package/dist/collection/components/icon/Home.js +1 -1
  319. package/dist/collection/components/icon/Info.js +1 -1
  320. package/dist/collection/components/icon/ListStyleGrid.js +1 -1
  321. package/dist/collection/components/icon/ListStyleList.js +1 -1
  322. package/dist/collection/components/icon/Search.js +1 -1
  323. package/dist/collection/components/icon/SlimHamburgerMenu.js +1 -1
  324. package/dist/collection/components/icon/SomeFacebook.js +1 -1
  325. package/dist/collection/components/icon/SomeInstagram.js +1 -1
  326. package/dist/collection/components/icon/SomeLinkedin.js +1 -1
  327. package/dist/collection/components/icon/SomeTwitter.js +1 -1
  328. package/dist/collection/components/icon/SomeYoutube.js +1 -1
  329. package/dist/collection/components/icon/TwitterLike.js +1 -1
  330. package/dist/collection/components/icon/allIcons.js +114 -114
  331. package/dist/collection/components/icon/icon.js +134 -134
  332. package/dist/collection/components/icon/icons.js +132 -132
  333. package/dist/collection/components/image/image.js +10 -10
  334. package/dist/collection/components/ingress/ingress.js +7 -7
  335. package/dist/collection/components/link/link.js +7 -7
  336. package/dist/collection/components/link-box/link-box.js +23 -23
  337. package/dist/collection/components/link-box-list/link-box-list.js +12 -12
  338. package/dist/collection/components/navigation/hy-menu-main-group/hy-menu-main-group.js +45 -45
  339. package/dist/collection/components/navigation/menu-language/menu-language.js +15 -15
  340. package/dist/collection/components/navigation/menu-language-item/menu-language-item.js +4 -4
  341. package/dist/collection/components/pagination/hy-pager/hy-pager.js +2 -2
  342. package/dist/collection/components/pagination/hy-pager-item/hy-pager-item.js +12 -12
  343. package/dist/collection/components/paragraph-text/paragraph-text.js +10 -10
  344. package/dist/collection/components/person-profile/person-profile-listing/person-profile.listing.js +9 -9
  345. package/dist/collection/components/person-profile/person-profile.js +16 -16
  346. package/dist/collection/components/process/process.js +12 -12
  347. package/dist/collection/components/process-flow-box/process-flow-box.js +11 -11
  348. package/dist/collection/components/row/row.js +6 -6
  349. package/dist/collection/components/section-container/section-container.js +1 -1
  350. package/dist/collection/components/site-header/site-header.js +69 -69
  351. package/dist/collection/components/site-header/site-logo/site-logo.js +7 -7
  352. package/dist/collection/components/site-header/site-search/site-search.js +56 -56
  353. package/dist/collection/global/colors.js +21 -21
  354. package/dist/collection/global/globalScript.js +7 -7
  355. package/dist/collection/index.js +1 -1
  356. package/dist/esm/{hy-accordion-container_83.entry.js → color-box_91.entry.js} +1171 -1001
  357. package/dist/esm/{globalScript-4ad40215.js → globalScript-3c6fab71.js} +7 -7
  358. package/dist/esm/huds-lib.js +4 -4
  359. package/dist/esm/hy-event-item.entry.js +10 -10
  360. package/dist/esm/hy-events.entry.js +23 -23
  361. package/dist/esm/hy-hero-carousel.entry.js +26 -26
  362. package/dist/esm/loader.js +4 -4
  363. package/dist/esm/utils-a4d55421.js +239 -0
  364. package/dist/fonts/fonts.css +20 -20
  365. package/dist/huds-lib/color-box_91.entry.js +87 -0
  366. package/dist/huds-lib/globalScript-3c6fab71.js +1 -0
  367. package/dist/huds-lib/huds-lib.esm.js +1 -1
  368. package/dist/huds-lib/hy-event-item.entry.js +1 -0
  369. package/dist/huds-lib/hy-events.entry.js +1 -0
  370. package/dist/huds-lib/hy-hero-carousel.entry.js +1 -0
  371. package/dist/huds-lib/{p-63584350.js → utils-a4d55421.js} +1 -1
  372. package/dist/loader/cdn.js +3 -0
  373. package/dist/loader/index.cjs.js +3 -0
  374. package/dist/loader/index.d.ts +21 -0
  375. package/dist/loader/index.es2017.js +3 -0
  376. package/dist/loader/index.js +4 -0
  377. package/dist/loader/package.json +11 -0
  378. package/dist/types/components/accordion-item/accordion-item.d.ts +1 -1
  379. package/dist/types/components/adjacent-image-text/adjacent-image-text.d.ts +1 -1
  380. package/dist/types/components/button/button.d.ts +3 -3
  381. package/dist/types/components/color-box/color-box.d.ts +1 -1
  382. package/dist/types/components/courses/hy-content-list/hy-content-list.d.ts +2 -2
  383. package/dist/types/components/courses/hy-content-list-item/hy-content-list-item.d.ts +1 -1
  384. package/dist/types/components/cta-button/cta-button.d.ts +2 -2
  385. package/dist/types/components/cta-link/cta-link.d.ts +2 -2
  386. package/dist/types/components/footer/hy-footer-base/hy-footer-base.d.ts +2 -2
  387. package/dist/types/components/footer/hy-footer-info/hy-footer-info.d.ts +1 -1
  388. package/dist/types/components/footer/hy-footer-link-item/hy-footer-link-item.d.ts +1 -1
  389. package/dist/types/components/grid-item/grid-item.d.ts +1 -1
  390. package/dist/types/components/heading/heading.d.ts +1 -1
  391. package/dist/types/components/hy-badge/hy-badge.d.ts +2 -2
  392. package/dist/types/components/hy-breadcrumbs/hy-breadcrumbs.d.ts +1 -1
  393. package/dist/types/components/hy-checkbox/hy-checkbox.d.ts +1 -1
  394. package/dist/types/components/hy-filter-visibility-tool/hy-filter-visibility-tool.d.ts +1 -1
  395. package/dist/types/components/hy-general-list/hy-general-list.d.ts +1 -1
  396. package/dist/types/components/hy-hero/hy-hero.d.ts +1 -1
  397. package/dist/types/components/hy-introduction/hy-introduction.d.ts +1 -1
  398. package/dist/types/components/hy-key-figure/hy-key-figure.d.ts +2 -2
  399. package/dist/types/components/hy-key-figure-group/hy-key-figure-group.d.ts +1 -1
  400. package/dist/types/components/hy-key-highlight/hy-key-highlight.d.ts +2 -2
  401. package/dist/types/components/hy-key-highlight-group/hy-key-highlight-group.d.ts +2 -2
  402. package/dist/types/components/hy-large-process-flow/hy-large-process-flow.d.ts +1 -1
  403. package/dist/types/components/hy-large-process-flow-phase/hy-large-process-flow-phase.d.ts +1 -1
  404. package/dist/types/components/hy-link-list/hy-link-list.d.ts +1 -1
  405. package/dist/types/components/hy-list-item/hy-list-item.d.ts +1 -1
  406. package/dist/types/components/hy-person-card/hy-person-card.d.ts +1 -1
  407. package/dist/types/components/hy-shortcuts/hy-shortcuts.d.ts +1 -1
  408. package/dist/types/components/hy-tabs/hy-tabs.d.ts +1 -1
  409. package/dist/types/components/icon/allIcons.d.ts +114 -114
  410. package/dist/types/components/icon/icons.d.ts +130 -130
  411. package/dist/types/components/image/image.d.ts +1 -1
  412. package/dist/types/components/link/link.d.ts +1 -1
  413. package/dist/types/components/link-box/link-box.d.ts +2 -2
  414. package/dist/types/components/link-box-list/link-box-list.d.ts +2 -2
  415. package/dist/types/components/navigation/hy-menu-main-group/hy-menu-main-group.d.ts +1 -1
  416. package/dist/types/components/navigation/menu-language/menu-language.d.ts +2 -2
  417. package/dist/types/components/pagination/hy-pager-item/hy-pager-item.d.ts +1 -1
  418. package/dist/types/components/person-profile/person-profile-listing/person-profile.listing.d.ts +1 -1
  419. package/dist/types/components/process/process.d.ts +1 -1
  420. package/dist/types/components/process-flow-box/process-flow-box.d.ts +3 -3
  421. package/dist/types/components/site-header/site-header.d.ts +2 -2
  422. package/dist/types/components/site-header/site-logo/site-logo.d.ts +1 -1
  423. package/dist/types/components/site-header/site-search/site-search.d.ts +3 -3
  424. package/dist/types/components.d.ts +10 -10
  425. package/dist/types/index.d.ts +1 -1
  426. package/dist/types/utils/utils.d.ts +4 -4
  427. package/loader/cdn.js +4 -3
  428. package/loader/index.cjs.js +4 -3
  429. package/loader/index.d.ts +13 -3
  430. package/loader/index.es2017.js +2 -3
  431. package/loader/index.js +13 -4
  432. package/loader/package.json +1 -1
  433. package/package.json +10 -3
  434. package/dist/cjs/color-box_8.cjs.entry.js +0 -185
  435. package/dist/esm/color-box_8.entry.js +0 -174
  436. package/dist/huds-lib/p-7c7ea6b3.entry.js +0 -1
  437. package/dist/huds-lib/p-8d5c2e5b.entry.js +0 -1
  438. package/dist/huds-lib/p-91f6109f.entry.js +0 -1
  439. package/dist/huds-lib/p-9a15a75b.entry.js +0 -1
  440. package/dist/huds-lib/p-b02e49ad.js +0 -1
  441. package/dist/huds-lib/p-ffd1d29a.entry.js +0 -87
  442. /package/dist/cjs/{index-25bd964b.js → index-ca4e37f2.js} +0 -0
  443. /package/dist/esm/{index-3a66d87e.js → index-9920074a.js} +0 -0
  444. /package/dist/huds-lib/{p-ff975a68.js → index-9920074a.js} +0 -0
@@ -1,9 +1,9 @@
1
- import { h } from '@stencil/core';
1
+ import { h } from "@stencil/core";
2
2
  export const IconArrowLeft = (props) => {
3
- return (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: props.width || 30, height: props.height || 29, viewBox: "0 0 30 29", fill: props.fill || 'black' }, h("polygon", { points: "29.207 13.783 14.756 .717 14.055 0 11.402 3.118 10.732 3.835 19.665 11.974 0 11.974 0 17.026 19.756 17.026 11.494 24.447 10.823 25.071 11.402 25.882 13.476 28.189 14.055 29 30 14.594", transform: "rotate(-180 15 14.5)" })));
3
+ return (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: props.width || 30, height: props.height || 29, viewBox: "0 0 30 29", fill: props.fill || "black" }, h("polygon", { points: "29.207 13.783 14.756 .717 14.055 0 11.402 3.118 10.732 3.835 19.665 11.974 0 11.974 0 17.026 19.756 17.026 11.494 24.447 10.823 25.071 11.402 25.882 13.476 28.189 14.055 29 30 14.594", transform: "rotate(-180 15 14.5)" })));
4
4
  };
5
5
  export const IconArrowRight = (props) => {
6
- return (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: props.width || 30, height: props.height || 29, viewBox: "0 0 30 29", fill: props.fill || 'black' }, h("polygon", { points: "29.207 13.783 14.756 .717 14.055 0 11.402 3.118 10.732 3.835 19.665 11.974 0 11.974 0 17.026 19.756 17.026 11.494 24.447 10.823 25.071 11.402 25.882 13.476 28.189 14.055 29 30 14.594" })));
6
+ return (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: props.width || 30, height: props.height || 29, viewBox: "0 0 30 29", fill: props.fill || "black" }, h("polygon", { points: "29.207 13.783 14.756 .717 14.055 0 11.402 3.118 10.732 3.835 19.665 11.974 0 11.974 0 17.026 19.756 17.026 11.494 24.447 10.823 25.071 11.402 25.882 13.476 28.189 14.055 29 30 14.594" })));
7
7
  };
8
8
  export const IconArrowToRight = (props) => {
9
9
  return (h("svg", Object.assign({ viewBox: "0 0 1000 1000" }, props), h("path", { d: "M993.6,482.3L518.2,6.4c-4.6-4.6-11-6.9-17.4-6.3c-6.4,0.6-12.3,4-15.9,9.4l-73.5,107.7\n c-5.9,8.6-4.8,20.2,2.6,27.6l265,265.3H21.7c-12,0-21.7,9.7-21.7,21.7v128.2c0,12,9.7,21.7,21.7,21.7H687L414,855.2\n c-7.4,7.4-8.5,19-2.6,27.6l73.5,107.7c3.6,5.3,9.5,8.8,15.9,9.4c0.7,0.1,1.3,0.1,2,0.1c5.7,0,11.3-2.3,15.4-6.4l475.4-475.9\n c4.8-4.8,6.9-11.4,6.2-17.7c0.1-0.8,0.1-1.5,0.1-2.3C1000,491.9,997.7,486.4,993.6,482.3z" })));
@@ -11,132 +11,132 @@ export const IconArrowToRight = (props) => {
11
11
  export const IconQuote = (props) => {
12
12
  return (h("svg", Object.assign({ viewBox: "0 0 1000 660" }, props), h("path", { id: "Quote-icon", d: "M222.8,660C330.3,422.9,407.2,212.5,453.5,29L433.8,0H131.1C104,186.2,60.3,406.2,0,660H222.8z M769.3,660\n\t C876.8,422.9,953.7,212.5,1000,29l0,0L981.7,0H678.9c-29.7,202-74.7,422-135,660l0,0H769.3z" })));
13
13
  };
14
- export { default as AddToTodoList } from './AddToTodoList';
15
- export { default as Alert } from './Alert';
16
- export { default as ArrowDown } from './ArrowDown';
17
- export { default as ArrowUp } from './ArrowUp';
18
- export { default as Archive } from './Archive';
19
- export { default as Arrow } from './Arrow';
20
- export { default as AvatarGroup } from './AvatarGroup';
21
- export { default as Avatar } from './Avatar';
22
- export { default as Bachelor } from './Bachelor';
23
- export { default as BulletList } from './BulletList';
24
- export { default as Camera } from './Camera';
25
- export { default as CaretDown } from './CaretDown';
26
- export { default as CaretLeft } from './CaretLeft';
27
- export { default as CaretRight } from './CaretRight';
28
- export { default as CaretUp } from './CaretUp';
29
- export { default as Chat } from './Chat';
30
- export { default as CodeFork } from './CodeFork';
31
- export { default as Cogs } from './Cogs';
32
- export { default as Contentlink } from './Contentlink';
33
- export { default as Customlink } from './Customlink';
34
- export { default as Date } from './Date';
35
- export { default as Discover } from './Discover';
36
- export { default as Done } from './Done';
37
- export { default as Dot } from './Dot';
38
- export { default as DotArrowRight } from './DotArrowRight';
39
- export { default as Download } from './Download';
40
- export { default as Drag } from './Drag';
41
- export { default as Dragbutton } from './Dragbutton';
42
- export { default as DropDown } from './DropDown';
43
- export { default as EditEvent } from './EditEvent';
44
- export { default as Edit } from './Edit';
45
- export { default as Embed } from './Embed';
46
- export { default as Euro } from './Euro';
47
- export { default as Events } from './Events';
48
- export { default as ExternalLink } from './ExternalLink';
49
- export { default as EyeSlash } from './EyeSlash';
50
- export { default as Facebook } from './Facebook';
51
- export { default as Favorites } from './Favorites';
52
- export { default as Feed } from './Feed';
53
- export { default as FileText } from './FileText';
54
- export { default as FullScreen } from './FullScreen';
55
- export { default as Globe } from './Globe';
56
- export { default as GooglePlus } from './GooglePlus';
57
- export { default as Grid } from './Grid';
58
- export { default as Hamburger } from './Hamburger';
59
- export { default as Heart } from './Heart';
60
- export { default as HeartSupport } from './HeartSupport';
61
- export { default as Helsinginyliopisto } from './Helsinginyliopisto';
62
- export { default as Home } from './Home';
63
- export { default as HorizontalResize } from './HorizontalResize';
64
- export { default as HyLogo } from './HyLogo';
65
- export { default as IdNumber } from './IdNumber';
66
- export { default as ImageGallery } from './ImageGallery';
67
- export { default as Image } from './Image';
68
- export { default as Images } from './Images';
69
- export { default as InfoStroke } from './InfoStroke';
70
- export { default as Info } from './Info';
71
- export { default as Instagram } from './Instagram';
72
- export { default as LeikiList } from './LeikiList';
73
- export { default as LinkArrow1 } from './LinkArrow1';
74
- export { default as LinkArrowDown } from './LinkArrowDown';
75
- export { default as LinkArrowLeft } from './LinkArrowLeft';
76
- export { default as LinkArrowOffsite } from './LinkArrowOffsite';
77
- export { default as LinkArrowUp } from './LinkArrowUp';
78
- export { default as LinkArrow } from './LinkArrow';
79
- export { default as Linkedin } from './Linkedin';
80
- export { default as ListAsBlocks } from './ListAsBlocks';
81
- export { default as List } from './List';
82
- export { default as Listoflinks } from './Listoflinks';
83
- export { default as ListStyleGrid } from './ListStyleGrid';
84
- export { default as ListStyleList } from './ListStyleList';
85
- export { default as Location } from './Location';
86
- export { default as Log } from './Log';
87
- export { default as Login } from './Login';
88
- export { default as Logout } from './Logout';
89
- export { default as MagnifyMinus } from './MagnifyMinus';
90
- export { default as MagnifyPlus } from './MagnifyPlus';
91
- export { default as Mail } from './Mail';
92
- export { default as Master } from './Master';
93
- export { default as Minus } from './Minus';
94
- export { default as Mobile } from './Mobile';
95
- export { default as Modify } from './Modify';
96
- export { default as NaviTriangle } from './NaviTriangle';
97
- export { default as NewGroup } from './NewGroup';
98
- export { default as NewPerson } from './NewPerson';
99
- export { default as Notification } from './Notification';
100
- export { default as OpinderLogoNew } from './OpinderLogoNew';
101
- export { default as OpinderLogo } from './OpinderLogo';
102
- export { default as Pdf } from './Pdf';
103
- export { default as People } from './People';
104
- export { default as PermissionAll } from './PermissionAll';
105
- export { default as PermissionGroup } from './PermissionGroup';
106
- export { default as PermissionPrivate } from './PermissionPrivate';
107
- export { default as PersonOutline } from './PersonOutline';
108
- export { default as Person } from './Person';
109
- export { default as Phone } from './Phone';
110
- export { default as Play } from './Play';
111
- export { default as Plus } from './Plus';
112
- export { default as Preview } from './Preview';
113
- export { default as Profile } from './Profile';
114
- export { default as Question } from './Question';
115
- export { default as Remove } from './Remove';
116
- export { default as Retweet } from './Retweet';
117
- export { default as RotateLeft } from './RotateLeft';
118
- export { default as RotateRight } from './RotateRight';
119
- export { default as Search } from './Search';
120
- export { default as Share } from './Share';
121
- export { default as SlimHamburgerMenu } from './SlimHamburgerMenu';
122
- export { default as SocialMedia } from './SocialMedia';
123
- export { default as SomeFacebook } from './SomeFacebook';
124
- export { default as SomeInstagram } from './SomeInstagram';
125
- export { default as SomeTwitter } from './SomeTwitter';
126
- export { default as SomeTwitterRetweet } from './Retweet';
127
- export { default as SomeTwitterLike } from './TwitterLike';
128
- export { default as SomeYoutube } from './SomeYoutube';
129
- export { default as SomeLinkedin } from './SomeLinkedin';
130
- export { default as Spinner } from './Spinner';
131
- export { default as SquareChecked } from './SquareChecked';
132
- export { default as Square } from './Square';
133
- export { default as Time } from './Time';
134
- export { default as TodoList } from './TodoList';
135
- export { default as Tour } from './Tour';
136
- export { default as Twitter } from './Twitter';
137
- export { default as UnitsAndFaculties } from './UnitsAndFaculties';
138
- export { default as Url } from './Url';
139
- export { default as Video } from './Video';
140
- export { default as Warning } from './Warning';
141
- export { default as Wrench } from './Wrench';
142
- export { default as Youtube } from './Youtube';
14
+ export { default as AddToTodoList } from "./AddToTodoList";
15
+ export { default as Alert } from "./Alert";
16
+ export { default as ArrowDown } from "./ArrowDown";
17
+ export { default as ArrowUp } from "./ArrowUp";
18
+ export { default as Archive } from "./Archive";
19
+ export { default as Arrow } from "./Arrow";
20
+ export { default as AvatarGroup } from "./AvatarGroup";
21
+ export { default as Avatar } from "./Avatar";
22
+ export { default as Bachelor } from "./Bachelor";
23
+ export { default as BulletList } from "./BulletList";
24
+ export { default as Camera } from "./Camera";
25
+ export { default as CaretDown } from "./CaretDown";
26
+ export { default as CaretLeft } from "./CaretLeft";
27
+ export { default as CaretRight } from "./CaretRight";
28
+ export { default as CaretUp } from "./CaretUp";
29
+ export { default as Chat } from "./Chat";
30
+ export { default as CodeFork } from "./CodeFork";
31
+ export { default as Cogs } from "./Cogs";
32
+ export { default as Contentlink } from "./Contentlink";
33
+ export { default as Customlink } from "./Customlink";
34
+ export { default as Date } from "./Date";
35
+ export { default as Discover } from "./Discover";
36
+ export { default as Done } from "./Done";
37
+ export { default as Dot } from "./Dot";
38
+ export { default as DotArrowRight } from "./DotArrowRight";
39
+ export { default as Download } from "./Download";
40
+ export { default as Drag } from "./Drag";
41
+ export { default as Dragbutton } from "./Dragbutton";
42
+ export { default as DropDown } from "./DropDown";
43
+ export { default as EditEvent } from "./EditEvent";
44
+ export { default as Edit } from "./Edit";
45
+ export { default as Embed } from "./Embed";
46
+ export { default as Euro } from "./Euro";
47
+ export { default as Events } from "./Events";
48
+ export { default as ExternalLink } from "./ExternalLink";
49
+ export { default as EyeSlash } from "./EyeSlash";
50
+ export { default as Facebook } from "./Facebook";
51
+ export { default as Favorites } from "./Favorites";
52
+ export { default as Feed } from "./Feed";
53
+ export { default as FileText } from "./FileText";
54
+ export { default as FullScreen } from "./FullScreen";
55
+ export { default as Globe } from "./Globe";
56
+ export { default as GooglePlus } from "./GooglePlus";
57
+ export { default as Grid } from "./Grid";
58
+ export { default as Hamburger } from "./Hamburger";
59
+ export { default as Heart } from "./Heart";
60
+ export { default as HeartSupport } from "./HeartSupport";
61
+ export { default as Helsinginyliopisto } from "./Helsinginyliopisto";
62
+ export { default as Home } from "./Home";
63
+ export { default as HorizontalResize } from "./HorizontalResize";
64
+ export { default as HyLogo } from "./HyLogo";
65
+ export { default as IdNumber } from "./IdNumber";
66
+ export { default as ImageGallery } from "./ImageGallery";
67
+ export { default as Image } from "./Image";
68
+ export { default as Images } from "./Images";
69
+ export { default as InfoStroke } from "./InfoStroke";
70
+ export { default as Info } from "./Info";
71
+ export { default as Instagram } from "./Instagram";
72
+ export { default as LeikiList } from "./LeikiList";
73
+ export { default as LinkArrow1 } from "./LinkArrow1";
74
+ export { default as LinkArrowDown } from "./LinkArrowDown";
75
+ export { default as LinkArrowLeft } from "./LinkArrowLeft";
76
+ export { default as LinkArrowOffsite } from "./LinkArrowOffsite";
77
+ export { default as LinkArrowUp } from "./LinkArrowUp";
78
+ export { default as LinkArrow } from "./LinkArrow";
79
+ export { default as Linkedin } from "./Linkedin";
80
+ export { default as ListAsBlocks } from "./ListAsBlocks";
81
+ export { default as List } from "./List";
82
+ export { default as Listoflinks } from "./Listoflinks";
83
+ export { default as ListStyleGrid } from "./ListStyleGrid";
84
+ export { default as ListStyleList } from "./ListStyleList";
85
+ export { default as Location } from "./Location";
86
+ export { default as Log } from "./Log";
87
+ export { default as Login } from "./Login";
88
+ export { default as Logout } from "./Logout";
89
+ export { default as MagnifyMinus } from "./MagnifyMinus";
90
+ export { default as MagnifyPlus } from "./MagnifyPlus";
91
+ export { default as Mail } from "./Mail";
92
+ export { default as Master } from "./Master";
93
+ export { default as Minus } from "./Minus";
94
+ export { default as Mobile } from "./Mobile";
95
+ export { default as Modify } from "./Modify";
96
+ export { default as NaviTriangle } from "./NaviTriangle";
97
+ export { default as NewGroup } from "./NewGroup";
98
+ export { default as NewPerson } from "./NewPerson";
99
+ export { default as Notification } from "./Notification";
100
+ export { default as OpinderLogoNew } from "./OpinderLogoNew";
101
+ export { default as OpinderLogo } from "./OpinderLogo";
102
+ export { default as Pdf } from "./Pdf";
103
+ export { default as People } from "./People";
104
+ export { default as PermissionAll } from "./PermissionAll";
105
+ export { default as PermissionGroup } from "./PermissionGroup";
106
+ export { default as PermissionPrivate } from "./PermissionPrivate";
107
+ export { default as PersonOutline } from "./PersonOutline";
108
+ export { default as Person } from "./Person";
109
+ export { default as Phone } from "./Phone";
110
+ export { default as Play } from "./Play";
111
+ export { default as Plus } from "./Plus";
112
+ export { default as Preview } from "./Preview";
113
+ export { default as Profile } from "./Profile";
114
+ export { default as Question } from "./Question";
115
+ export { default as Remove } from "./Remove";
116
+ export { default as Retweet } from "./Retweet";
117
+ export { default as RotateLeft } from "./RotateLeft";
118
+ export { default as RotateRight } from "./RotateRight";
119
+ export { default as Search } from "./Search";
120
+ export { default as Share } from "./Share";
121
+ export { default as SlimHamburgerMenu } from "./SlimHamburgerMenu";
122
+ export { default as SocialMedia } from "./SocialMedia";
123
+ export { default as SomeFacebook } from "./SomeFacebook";
124
+ export { default as SomeInstagram } from "./SomeInstagram";
125
+ export { default as SomeTwitter } from "./SomeTwitter";
126
+ export { default as SomeTwitterRetweet } from "./Retweet";
127
+ export { default as SomeTwitterLike } from "./TwitterLike";
128
+ export { default as SomeYoutube } from "./SomeYoutube";
129
+ export { default as SomeLinkedin } from "./SomeLinkedin";
130
+ export { default as Spinner } from "./Spinner";
131
+ export { default as SquareChecked } from "./SquareChecked";
132
+ export { default as Square } from "./Square";
133
+ export { default as Time } from "./Time";
134
+ export { default as TodoList } from "./TodoList";
135
+ export { default as Tour } from "./Tour";
136
+ export { default as Twitter } from "./Twitter";
137
+ export { default as UnitsAndFaculties } from "./UnitsAndFaculties";
138
+ export { default as Url } from "./Url";
139
+ export { default as Video } from "./Video";
140
+ export { default as Warning } from "./Warning";
141
+ export { default as Wrench } from "./Wrench";
142
+ export { default as Youtube } from "./Youtube";
@@ -1,4 +1,4 @@
1
- import { h } from '@stencil/core';
1
+ import { h } from "@stencil/core";
2
2
  export class Image {
3
3
  constructor() {
4
4
  this.imageUrl = null;
@@ -10,7 +10,7 @@ export class Image {
10
10
  this.sourceSet = undefined;
11
11
  }
12
12
  srcSetWatcher(data) {
13
- this._sourceSet = typeof data === 'string' ? JSON.parse(data) : data;
13
+ this._sourceSet = typeof data === "string" ? JSON.parse(data) : data;
14
14
  }
15
15
  componentWillLoad() {
16
16
  this.srcSetWatcher(this.sourceSet);
@@ -20,17 +20,17 @@ export class Image {
20
20
  if (this.aspectRatioWidth !== 0 && this.aspectRatioWidth !== 0) {
21
21
  const aspect = (this.aspectRatioHeight / this.aspectRatioWidth) * 100;
22
22
  aspectRatio = {
23
- '--aspectRatio': `${aspect}%`,
23
+ "--aspectRatio": `${aspect}%`,
24
24
  };
25
25
  }
26
- const classAttributes = ['hy-image', this.caption ? 'hy-image--with-caption' : null].join(' ');
26
+ const classAttributes = ["hy-image", this.caption ? "hy-image--with-caption" : null].join(" ");
27
27
  const containerClasses = [
28
- 'hy-image__image-container',
29
- aspectRatio !== null ? 'hy-image--with-aspect' : 'hy-image--no-aspect',
30
- ].join(' ');
28
+ "hy-image__image-container",
29
+ aspectRatio !== null ? "hy-image--with-aspect" : "hy-image--no-aspect",
30
+ ].join(" ");
31
31
  return [
32
- h("div", { class: classAttributes }, h("div", { class: containerClasses, style: aspectRatio !== null ? aspectRatio : '' }, this.imageUrl &&
33
- (this._sourceSet ? (h("picture", null, this._sourceSet.map(({ src, media, type, sizes }) => (h("source", { srcSet: src, media: media, type: type, sizes: sizes || '' }))), h("img", { loading: this.disableLazy ? 'eager' : 'lazy', alt: this.imageAlt, class: "hy-image__image", src: this.imageUrl }))) : (h("img", { loading: this.disableLazy ? 'eager' : 'lazy', alt: this.imageAlt, class: "hy-image__image", src: this.imageUrl })))), this.caption && h("div", { class: "hy-image__caption" }, this.caption)),
32
+ h("div", { class: classAttributes }, h("div", { class: containerClasses, style: aspectRatio !== null ? aspectRatio : "" }, this.imageUrl &&
33
+ (this._sourceSet ? (h("picture", null, this._sourceSet.map(({ src, media, type, sizes }) => (h("source", { srcSet: src, media: media, type: type, sizes: sizes || "" }))), h("img", { loading: this.disableLazy ? "eager" : "lazy", alt: this.imageAlt, class: "hy-image__image", src: this.imageUrl }))) : (h("img", { loading: this.disableLazy ? "eager" : "lazy", alt: this.imageAlt, class: "hy-image__image", src: this.imageUrl })))), this.caption && h("div", { class: "hy-image__caption" }, this.caption)),
34
34
  h("hy-box", { mb: "1.75, 1.75, 2, 2.5" }),
35
35
  ];
36
36
  }
@@ -164,7 +164,7 @@ export class Image {
164
164
  "references": {
165
165
  "ImageSrcSet": {
166
166
  "location": "local",
167
- "path": "/builds/julkiset-sivut/design-system-lib/src/components/image/image.tsx"
167
+ "path": "/Users/tuukkaturu/hy/hy-ds/design-system-lib/core/src/components/image/image.tsx"
168
168
  }
169
169
  }
170
170
  },
@@ -1,18 +1,18 @@
1
- import { h, Host } from '@stencil/core';
1
+ import { h, Host } from "@stencil/core";
2
2
  export class Ingress {
3
3
  constructor() {
4
- this.headerstyle = 'common';
4
+ this.headerstyle = "common";
5
5
  }
6
6
  componentDidLoad() {
7
- let hyMainDiv = this.el.closest('.hy-main');
7
+ let hyMainDiv = this.el.closest(".hy-main");
8
8
  if (hyMainDiv) {
9
- if (!hyMainDiv.classList.contains('with-sidebar')) {
10
- this.headerstyle = 'large';
9
+ if (!hyMainDiv.classList.contains("with-sidebar")) {
10
+ this.headerstyle = "large";
11
11
  }
12
12
  }
13
13
  }
14
14
  render() {
15
- const classAttributes = ['hy-ingress', `hy-ingress__${this.headerstyle}`].join(' ');
15
+ const classAttributes = ["hy-ingress", `hy-ingress__${this.headerstyle}`].join(" ");
16
16
  return (h(Host, null, h("p", { class: classAttributes }, h("slot", null))));
17
17
  }
18
18
  static get is() { return "hy-ingress"; }
@@ -44,7 +44,7 @@ export class Ingress {
44
44
  },
45
45
  "attribute": "headerstyle",
46
46
  "reflect": false,
47
- "defaultValue": "'common'"
47
+ "defaultValue": "\"common\""
48
48
  }
49
49
  };
50
50
  }
@@ -1,17 +1,17 @@
1
- import { Host, h } from '@stencil/core';
2
- import { LinkVariants } from '../../utils/utils';
1
+ import { Host, h } from "@stencil/core";
2
+ import { LinkVariants } from "../../utils/utils";
3
3
  export class Link {
4
4
  constructor() {
5
5
  this.variant = LinkVariants.default;
6
- this.linkContent = '';
6
+ this.linkContent = "";
7
7
  this.url = undefined;
8
8
  this.scLabel = undefined;
9
9
  this.isExternal = false;
10
10
  }
11
11
  render() {
12
- const classAttributes = ['hy-link', this.variant];
13
- const target = this.isExternal ? '_blank' : '_self';
14
- return (h(Host, null, h("a", { "aria-label": this.scLabel, class: classAttributes.join(' '), href: this.url, target: target }, this.linkContent)));
12
+ const classAttributes = ["hy-link", this.variant];
13
+ const target = this.isExternal ? "_blank" : "_self";
14
+ return (h(Host, null, h("a", { "aria-label": this.scLabel, class: classAttributes.join(" "), href: this.url, target: target }, this.linkContent)));
15
15
  }
16
16
  static get is() { return "hy-link"; }
17
17
  static get originalStyleUrls() {
@@ -65,7 +65,7 @@ export class Link {
65
65
  },
66
66
  "attribute": "link-content",
67
67
  "reflect": false,
68
- "defaultValue": "''"
68
+ "defaultValue": "\"\""
69
69
  },
70
70
  "url": {
71
71
  "type": "string",
@@ -1,5 +1,5 @@
1
- import { h } from '@stencil/core';
2
- import { LinkBoxVariants } from '../../utils/utils';
1
+ import { h } from "@stencil/core";
2
+ import { LinkBoxVariants } from "../../utils/utils";
3
3
  export class LinkBox {
4
4
  constructor() {
5
5
  this.variant = LinkBoxVariants.default;
@@ -14,56 +14,56 @@ export class LinkBox {
14
14
  this.isExternal = false;
15
15
  this.scLabel = undefined;
16
16
  this.readMoreLabel = undefined;
17
- this.headerstyle = 'common';
17
+ this.headerstyle = "common";
18
18
  this.sourceSet = undefined;
19
19
  }
20
20
  srcSetWatcher(data) {
21
- this._sourceSet = typeof data === 'string' ? JSON.parse(data) : data;
21
+ this._sourceSet = typeof data === "string" ? JSON.parse(data) : data;
22
22
  }
23
23
  componentWillLoad() {
24
24
  this.srcSetWatcher(this.sourceSet);
25
25
  }
26
26
  componentDidLoad() {
27
- let hyMainDiv = this.el.closest('.hy-main');
27
+ let hyMainDiv = this.el.closest(".hy-main");
28
28
  if (hyMainDiv) {
29
- if (!hyMainDiv.classList.contains('with-sidebar')) {
30
- this.headerstyle = 'large';
29
+ if (!hyMainDiv.classList.contains("with-sidebar")) {
30
+ this.headerstyle = "large";
31
31
  }
32
32
  }
33
33
  }
34
34
  render() {
35
- const classContainerAttributes = ['hy-link-box-container'].join(' ');
35
+ const classContainerAttributes = ["hy-link-box-container"].join(" ");
36
36
  const classAttributes = [
37
- 'hy-link-box',
37
+ "hy-link-box",
38
38
  this.variant,
39
39
  `hy-link-box__${this.variant}`,
40
40
  this.headerstyle,
41
41
  `hy-link-box__${this.headerstyle}`,
42
- this.imageUrl ? 'hy-link-box--with-image' : null,
43
- ].join(' ');
44
- const classTextContainer = ['hy-link-box__text-container', this.imageUrl ? 'hy-link-box--with-image' : null].join(' ');
42
+ this.imageUrl ? "hy-link-box--with-image" : null,
43
+ ].join(" ");
44
+ const classTextContainer = ["hy-link-box__text-container", this.imageUrl ? "hy-link-box--with-image" : null].join(" ");
45
45
  const classTitle = [
46
- 'hy-link-box__text-container__title',
46
+ "hy-link-box__text-container__title",
47
47
  `hy-link-box__text-container__title__${this.variant}`,
48
48
  `hy-link-box__text-container__title__${this.headerstyle}`,
49
- this.imageUrl ? 'hy-link-box__text-container__title__image' : '',
50
- this.imageUrl ? 'image' : '',
51
- ].join(' ');
49
+ this.imageUrl ? "hy-link-box__text-container__title__image" : "",
50
+ this.imageUrl ? "image" : "",
51
+ ].join(" ");
52
52
  const classDescription = [
53
- 'hy-link-box__text-container__description',
53
+ "hy-link-box__text-container__description",
54
54
  `hy-link-box__text-container__description__${this.variant}`,
55
55
  `hy-link-box__text-container__description__${this.headerstyle}`,
56
- ].join(' ');
57
- const target = this.isExternal ? '_blank' : '_self';
56
+ ].join(" ");
57
+ const target = this.isExternal ? "_blank" : "_self";
58
58
  const aspectRatioWidth = 16;
59
59
  const aspectRatioHeight = 10;
60
60
  const aspect = (aspectRatioHeight / aspectRatioWidth) * 100;
61
61
  const aspectRatio = {
62
- '--aspectRatio': `${aspect}%`,
62
+ "--aspectRatio": `${aspect}%`,
63
63
  };
64
64
  return [
65
65
  h("article", { class: classContainerAttributes }, h("div", { class: classAttributes }, this.imageUrl &&
66
- (this._sourceSet ? (h("figure", { class: "hy-link-box__image-container", style: aspectRatio }, 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.imageUrl, alt: this.imageAlt })))) : (h("figure", { class: "hy-link-box__image-container", style: aspectRatio }, h("img", { loading: this.disableLazy ? 'eager' : 'lazy', "aria-hidden": "true", src: this.imageUrl, alt: this.imageAlt })))), !this.imageUrl && this.showLogo && (h("div", { "aria-hidden": "true", class: "hy-link-box__image-container is-image-missing" }, h("hy-icon", { class: { 'hy-site-logo__icon': true }, icon: 'hy-icon-hy-logo' }))), h("div", { class: classTextContainer }, h("h3", { class: classTitle }, this.textTitle), this.textDescription && (h("p", { class: classDescription }, this.textDescription.length >= 141 ? this.textDescription.slice(0, 140) + '...' : this.textDescription)))), h("a", { "aria-label": this.scLabel || `${this.readMoreLabel} - ${this.textTitle}`, title: this.scLabel || `${this.readMoreLabel} - ${this.textTitle}`, href: this.url, target: target, class: `hy-cta-link hy-cta-link--default` }, h("span", { "aria-hidden": "true" }), h("span", null, this.readMoreLabel), h("span", { class: `hy-cta-link__icon ${this.isExternal ? 'hy-cta-link__icon--external' : ''}` }, h("hy-icon", { icon: 'hy-icon-arrow-to-right', size: 24 })))),
66
+ (this._sourceSet ? (h("figure", { class: "hy-link-box__image-container", style: aspectRatio }, 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.imageUrl, alt: this.imageAlt })))) : (h("figure", { class: "hy-link-box__image-container", style: aspectRatio }, h("img", { loading: this.disableLazy ? "eager" : "lazy", "aria-hidden": "true", src: this.imageUrl, alt: this.imageAlt })))), !this.imageUrl && this.showLogo && (h("div", { "aria-hidden": "true", class: "hy-link-box__image-container is-image-missing" }, h("hy-icon", { class: { "hy-site-logo__icon": true }, icon: "hy-icon-hy-logo" }))), h("div", { class: classTextContainer }, h("h3", { class: classTitle }, this.textTitle), this.textDescription && (h("p", { class: classDescription }, this.textDescription.length >= 141 ? this.textDescription.slice(0, 140) + "..." : this.textDescription)))), h("a", { "aria-label": this.scLabel || `${this.readMoreLabel} - ${this.textTitle}`, title: this.scLabel || `${this.readMoreLabel} - ${this.textTitle}`, href: this.url, target: target, class: `hy-cta-link hy-cta-link--default` }, h("span", { "aria-hidden": "true" }), h("span", null, this.readMoreLabel), h("span", { class: `hy-cta-link__icon ${this.isExternal ? "hy-cta-link__icon--external" : ""}` }, h("hy-icon", { icon: "hy-icon-arrow-to-right", size: 24 })))),
67
67
  ];
68
68
  }
69
69
  static get is() { return "hy-link-box"; }
@@ -313,7 +313,7 @@ export class LinkBox {
313
313
  },
314
314
  "attribute": "headerstyle",
315
315
  "reflect": false,
316
- "defaultValue": "'common'"
316
+ "defaultValue": "\"common\""
317
317
  },
318
318
  "sourceSet": {
319
319
  "type": "string",
@@ -324,7 +324,7 @@ export class LinkBox {
324
324
  "references": {
325
325
  "ImageSrcSet": {
326
326
  "location": "local",
327
- "path": "/builds/julkiset-sivut/design-system-lib/src/components/link-box/link-box.tsx"
327
+ "path": "/Users/tuukkaturu/hy/hy-ds/design-system-lib/core/src/components/link-box/link-box.tsx"
328
328
  }
329
329
  }
330
330
  },
@@ -1,9 +1,9 @@
1
- import { h, Host } from '@stencil/core';
2
- import { LinkBoxVariants } from '../../utils/utils';
3
- import { jsonParserWorker } from '../../global/globalScript';
1
+ import { h, Host } from "@stencil/core";
2
+ import { LinkBoxVariants } from "../../utils/utils";
3
+ import { jsonParserWorker } from "../../global/globalScript";
4
4
  export class LinkBoxList {
5
5
  constructor() {
6
- this.headerstyle = 'common';
6
+ this.headerstyle = "common";
7
7
  this.variant = LinkBoxVariants.default;
8
8
  this.readMoreLabel = undefined;
9
9
  this.dataItems = undefined;
@@ -12,20 +12,20 @@ export class LinkBoxList {
12
12
  this._dataItems = await jsonParserWorker(this.dataItems);
13
13
  }
14
14
  componentDidLoad() {
15
- let hyMainDiv = this.el.closest('.hy-main');
15
+ let hyMainDiv = this.el.closest(".hy-main");
16
16
  if (hyMainDiv) {
17
- if (!hyMainDiv.classList.contains('with-sidebar')) {
18
- this.headerstyle = 'large';
17
+ if (!hyMainDiv.classList.contains("with-sidebar")) {
18
+ this.headerstyle = "large";
19
19
  }
20
20
  }
21
21
  }
22
22
  render() {
23
23
  const classAttributes = [
24
- 'hy-link-box-list',
24
+ "hy-link-box-list",
25
25
  this.variant,
26
26
  `hy-link-box-list__${this.variant}`,
27
27
  `hy-link-box-list__${this.headerstyle}`,
28
- ].join(' ');
28
+ ].join(" ");
29
29
  /*
30
30
  - Logic:
31
31
  - 3 items: big
@@ -36,7 +36,7 @@ export class LinkBoxList {
36
36
  - 8 items: small
37
37
  - 9 items: big
38
38
  * */
39
- const classItemAttributes = [this.variant, `hy-link-box__${this.variant}`].join(' ');
39
+ const classItemAttributes = [this.variant, `hy-link-box__${this.variant}`].join(" ");
40
40
  return (h(Host, null, h("ul", { class: classAttributes }, this._dataItems.map((x) => {
41
41
  return (h("li", null, h("hy-link-box", { class: classItemAttributes, variant: this.variant, "source-set": x.imageSets, "image-url": x.imageUrl, "image-alt": x.imageAlt, "text-title": x.heading, "text-description": x.description, "show-logo": x.showLogo, url: x.boxUrl, "is-external": x.isExternal, "sc-label": x.ariaLabel, "read-more-label": this.readMoreLabel })));
42
42
  })), h("hy-box", { mb: "1.75, 1.75, 2, 2.5" })));
@@ -70,7 +70,7 @@ export class LinkBoxList {
70
70
  },
71
71
  "attribute": "headerstyle",
72
72
  "reflect": false,
73
- "defaultValue": "'common'"
73
+ "defaultValue": "\"common\""
74
74
  },
75
75
  "variant": {
76
76
  "type": "string",
@@ -121,7 +121,7 @@ export class LinkBoxList {
121
121
  "references": {
122
122
  "LinkBox": {
123
123
  "location": "local",
124
- "path": "/builds/julkiset-sivut/design-system-lib/src/components/link-box-list/link-box-list.tsx"
124
+ "path": "/Users/tuukkaturu/hy/hy-ds/design-system-lib/core/src/components/link-box-list/link-box-list.tsx"
125
125
  }
126
126
  }
127
127
  },