@itcenteratunihelsinki/huds-lib 0.5.43 → 0.5.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (319) hide show
  1. package/dist/cjs/color-box_8.cjs.entry.js +210 -0
  2. package/dist/cjs/{globalScript-0c66cb96.js → globalScript-6b592153.js} +1 -1
  3. package/dist/cjs/huds-lib.cjs.js +4 -4
  4. package/dist/cjs/hy-accordion-container_91.cjs.entry.js +8147 -0
  5. package/dist/cjs/{index-dd5e5023.js → index-dfc917d9.js} +80 -64
  6. package/dist/cjs/loader.cjs.js +4 -4
  7. package/dist/collection/collection-manifest.json +97 -12
  8. package/dist/collection/components/button/button.js +7 -2
  9. package/dist/collection/components/heading/heading.js +4 -4
  10. package/dist/collection/components/hy-opening-hours/hy-opening-hours.css +8 -0
  11. package/dist/collection/components/hy-opening-hours/hy-opening-hours.js +24 -3
  12. package/dist/collection/components/hy-opening-hours-content/hy-opening-hours-content.css +9 -1
  13. package/dist/collection/components/hy-opening-hours-content/hy-opening-hours-content.js +4 -2
  14. package/dist/collection/components/hy-search-field/hy-search-field.js +55 -5
  15. package/dist/collection/components/navigation/menu/menu.js +46 -34
  16. package/dist/collection/components/navigation/menu-sidebar/menu-sidebar.js +14 -6
  17. package/dist/collection/components/person-profile/person-profile.js +8 -1
  18. package/dist/collection/components/site-header/hy-desktop-menu-links/hy-desktop-menu-links.js +27 -19
  19. package/dist/collection/components/site-header/site-header.js +44 -6
  20. package/dist/collection/components/site-header/site-search/site-search.js +93 -22
  21. package/dist/esm/color-box_8.entry.js +199 -0
  22. package/dist/esm/{globalScript-92c6b812.js → globalScript-9d045b36.js} +1 -1
  23. package/dist/esm/huds-lib.js +4 -4
  24. package/dist/esm/hy-accordion-container_91.entry.js +8053 -0
  25. package/dist/esm/{index-083c8c8a.js → index-daaf0985.js} +80 -64
  26. package/dist/esm/loader.js +4 -4
  27. package/dist/esm/{utils-708bbefe.js → utils-966ffdb5.js} +1 -1
  28. package/dist/huds-lib/huds-lib.esm.js +1 -1
  29. package/dist/huds-lib/{p-fd1edbd5.js → p-04dcccdc.js} +1 -1
  30. package/dist/huds-lib/p-77f7df4b.entry.js +86 -0
  31. package/dist/huds-lib/{p-8ab550d6.js → p-cd2316f0.js} +1 -1
  32. package/dist/huds-lib/p-d3ced29c.entry.js +1 -0
  33. package/dist/huds-lib/{p-bb24c6b5.js → p-f8697bf9.js} +1 -1
  34. package/dist/types/components/button/button.d.ts +1 -1
  35. package/dist/types/components/hy-opening-hours/hy-opening-hours.d.ts +1 -0
  36. package/dist/types/components/hy-search-field/hy-search-field.d.ts +2 -0
  37. package/dist/types/components/navigation/menu/menu.d.ts +1 -0
  38. package/dist/types/components/person-profile/person-profile.d.ts +1 -0
  39. package/dist/types/components/site-header/site-header.d.ts +1 -0
  40. package/dist/types/components/site-header/site-search/site-search.d.ts +3 -0
  41. package/dist/types/components.d.ts +15 -1
  42. package/dist/types/stencil-public-runtime.d.ts +7 -4
  43. package/loader/index.d.ts +13 -4
  44. package/loader/{index.es2017.mjs → index.es2017.js} +1 -2
  45. package/loader/index.js +13 -0
  46. package/loader/package.json +5 -7
  47. package/package.json +2 -2
  48. package/dist/cjs/color-box.cjs.entry.js +0 -19
  49. package/dist/cjs/emotion.esm-563b6504.js +0 -1397
  50. package/dist/cjs/hy-accordion-container_5.cjs.entry.js +0 -578
  51. package/dist/cjs/hy-adjacent-image-text.cjs.entry.js +0 -51
  52. package/dist/cjs/hy-anchor-link-list.cjs.entry.js +0 -45
  53. package/dist/cjs/hy-badge.cjs.entry.js +0 -21
  54. package/dist/cjs/hy-banner.cjs.entry.js +0 -45
  55. package/dist/cjs/hy-baseline.cjs.entry.js +0 -32
  56. package/dist/cjs/hy-box-container.cjs.entry.js +0 -33
  57. package/dist/cjs/hy-box.cjs.entry.js +0 -165
  58. package/dist/cjs/hy-breadcrumbs.cjs.entry.js +0 -231
  59. package/dist/cjs/hy-button.cjs.entry.js +0 -100
  60. package/dist/cjs/hy-checkbox.cjs.entry.js +0 -33
  61. package/dist/cjs/hy-collaboration.cjs.entry.js +0 -19
  62. package/dist/cjs/hy-content-list-item.cjs.entry.js +0 -70
  63. package/dist/cjs/hy-content-list.cjs.entry.js +0 -112
  64. package/dist/cjs/hy-crisis-banner.cjs.entry.js +0 -19
  65. package/dist/cjs/hy-cta-button.cjs.entry.js +0 -30
  66. package/dist/cjs/hy-cta-link.cjs.entry.js +0 -26
  67. package/dist/cjs/hy-desktop-menu-links.cjs.entry.js +0 -328
  68. package/dist/cjs/hy-docs-container.cjs.entry.js +0 -19
  69. package/dist/cjs/hy-dropdown-panel_2.cjs.entry.js +0 -27
  70. package/dist/cjs/hy-dropdown.cjs.entry.js +0 -113
  71. package/dist/cjs/hy-filter-group-item.cjs.entry.js +0 -17
  72. package/dist/cjs/hy-filter-group.cjs.entry.js +0 -37
  73. package/dist/cjs/hy-filter-list-type.cjs.entry.js +0 -28
  74. package/dist/cjs/hy-filter-visibility-tool-reset_2.cjs.entry.js +0 -26
  75. package/dist/cjs/hy-filter-visibility-tool.cjs.entry.js +0 -24
  76. package/dist/cjs/hy-footer_5.cjs.entry.js +0 -201
  77. package/dist/cjs/hy-general-list_2.cjs.entry.js +0 -94
  78. package/dist/cjs/hy-grid-container.cjs.entry.js +0 -20
  79. package/dist/cjs/hy-grid-item.cjs.entry.js +0 -31
  80. package/dist/cjs/hy-grid-row.cjs.entry.js +0 -20
  81. package/dist/cjs/hy-heading.cjs.entry.js +0 -67
  82. package/dist/cjs/hy-hero.cjs.entry.js +0 -101
  83. package/dist/cjs/hy-icon.cjs.entry.js +0 -364
  84. package/dist/cjs/hy-image.cjs.entry.js +0 -50
  85. package/dist/cjs/hy-ingress.cjs.entry.js +0 -30
  86. package/dist/cjs/hy-introduction.cjs.entry.js +0 -55
  87. package/dist/cjs/hy-key-figure-group.cjs.entry.js +0 -77
  88. package/dist/cjs/hy-key-figure.cjs.entry.js +0 -22
  89. package/dist/cjs/hy-key-highlight-group.cjs.entry.js +0 -44
  90. package/dist/cjs/hy-key-highlight.cjs.entry.js +0 -22
  91. package/dist/cjs/hy-large-process-flow-phase.cjs.entry.js +0 -37
  92. package/dist/cjs/hy-large-process-flow.cjs.entry.js +0 -44
  93. package/dist/cjs/hy-link-box-list.cjs.entry.js +0 -54
  94. package/dist/cjs/hy-link-box.cjs.entry.js +0 -79
  95. package/dist/cjs/hy-link-list.cjs.entry.js +0 -44
  96. package/dist/cjs/hy-link.cjs.entry.js +0 -25
  97. package/dist/cjs/hy-list-item.cjs.entry.js +0 -239
  98. package/dist/cjs/hy-logo-grid-item.cjs.entry.js +0 -30
  99. package/dist/cjs/hy-logo-grid.cjs.entry.js +0 -20
  100. package/dist/cjs/hy-main-content-wrapper.cjs.entry.js +0 -20
  101. package/dist/cjs/hy-main.cjs.entry.js +0 -25
  102. package/dist/cjs/hy-menu-item-sidebar.cjs.entry.js +0 -159
  103. package/dist/cjs/hy-menu-item.cjs.entry.js +0 -147
  104. package/dist/cjs/hy-menu-language-item.cjs.entry.js +0 -25
  105. package/dist/cjs/hy-menu-language.cjs.entry.js +0 -91
  106. package/dist/cjs/hy-menu-level-container.cjs.entry.js +0 -137
  107. package/dist/cjs/hy-menu-main-group.cjs.entry.js +0 -151
  108. package/dist/cjs/hy-menu-mobile-breadcrumb.cjs.entry.js +0 -25
  109. package/dist/cjs/hy-menu-sidebar.cjs.entry.js +0 -290
  110. package/dist/cjs/hy-menu.cjs.entry.js +0 -111
  111. package/dist/cjs/hy-mobile-menu-shortcuts.cjs.entry.js +0 -26
  112. package/dist/cjs/hy-opening-hours-content.cjs.entry.js +0 -41
  113. package/dist/cjs/hy-opening-hours.cjs.entry.js +0 -32
  114. package/dist/cjs/hy-pager-item.cjs.entry.js +0 -45
  115. package/dist/cjs/hy-pager.cjs.entry.js +0 -20
  116. package/dist/cjs/hy-paragraph-text.cjs.entry.js +0 -45
  117. package/dist/cjs/hy-person-card.cjs.entry.js +0 -84
  118. package/dist/cjs/hy-person-profile.cjs.entry.js +0 -61
  119. package/dist/cjs/hy-process-flow-box.cjs.entry.js +0 -28
  120. package/dist/cjs/hy-process.cjs.entry.js +0 -57
  121. package/dist/cjs/hy-prominent-image.cjs.entry.js +0 -36
  122. package/dist/cjs/hy-quote.cjs.entry.js +0 -30
  123. package/dist/cjs/hy-row.cjs.entry.js +0 -42
  124. package/dist/cjs/hy-search-field.cjs.entry.js +0 -40
  125. package/dist/cjs/hy-section-container.cjs.entry.js +0 -19
  126. package/dist/cjs/hy-shortcuts.cjs.entry.js +0 -60
  127. package/dist/cjs/hy-site-header_3.cjs.entry.js +0 -418
  128. package/dist/cjs/hy-table-container.cjs.entry.js +0 -20
  129. package/dist/cjs/hy-tag.cjs.entry.js +0 -20
  130. package/dist/cjs/hy-tiny-text.cjs.entry.js +0 -20
  131. package/dist/cjs/hy-twitter-feed.cjs.entry.js +0 -27
  132. package/dist/cjs/hy-two-columns.cjs.entry.js +0 -21
  133. package/dist/cjs/hy-user-login-form.cjs.entry.js +0 -23
  134. package/dist/cjs/hy-video.cjs.entry.js +0 -67
  135. package/dist/cjs/index-314ad166.js +0 -967
  136. package/dist/esm/color-box.entry.js +0 -15
  137. package/dist/esm/emotion.esm-87895ee1.js +0 -1395
  138. package/dist/esm/hy-accordion-container_5.entry.js +0 -570
  139. package/dist/esm/hy-adjacent-image-text.entry.js +0 -47
  140. package/dist/esm/hy-anchor-link-list.entry.js +0 -41
  141. package/dist/esm/hy-badge.entry.js +0 -17
  142. package/dist/esm/hy-banner.entry.js +0 -41
  143. package/dist/esm/hy-baseline.entry.js +0 -28
  144. package/dist/esm/hy-box-container.entry.js +0 -29
  145. package/dist/esm/hy-box.entry.js +0 -161
  146. package/dist/esm/hy-breadcrumbs.entry.js +0 -227
  147. package/dist/esm/hy-button.entry.js +0 -96
  148. package/dist/esm/hy-checkbox.entry.js +0 -29
  149. package/dist/esm/hy-collaboration.entry.js +0 -15
  150. package/dist/esm/hy-content-list-item.entry.js +0 -66
  151. package/dist/esm/hy-content-list.entry.js +0 -108
  152. package/dist/esm/hy-crisis-banner.entry.js +0 -15
  153. package/dist/esm/hy-cta-button.entry.js +0 -26
  154. package/dist/esm/hy-cta-link.entry.js +0 -22
  155. package/dist/esm/hy-desktop-menu-links.entry.js +0 -324
  156. package/dist/esm/hy-docs-container.entry.js +0 -15
  157. package/dist/esm/hy-dropdown-panel_2.entry.js +0 -22
  158. package/dist/esm/hy-dropdown.entry.js +0 -109
  159. package/dist/esm/hy-filter-group-item.entry.js +0 -13
  160. package/dist/esm/hy-filter-group.entry.js +0 -33
  161. package/dist/esm/hy-filter-list-type.entry.js +0 -24
  162. package/dist/esm/hy-filter-visibility-tool-reset_2.entry.js +0 -21
  163. package/dist/esm/hy-filter-visibility-tool.entry.js +0 -20
  164. package/dist/esm/hy-footer_5.entry.js +0 -193
  165. package/dist/esm/hy-general-list_2.entry.js +0 -89
  166. package/dist/esm/hy-grid-container.entry.js +0 -16
  167. package/dist/esm/hy-grid-item.entry.js +0 -27
  168. package/dist/esm/hy-grid-row.entry.js +0 -16
  169. package/dist/esm/hy-heading.entry.js +0 -63
  170. package/dist/esm/hy-hero.entry.js +0 -97
  171. package/dist/esm/hy-icon.entry.js +0 -360
  172. package/dist/esm/hy-image.entry.js +0 -46
  173. package/dist/esm/hy-ingress.entry.js +0 -26
  174. package/dist/esm/hy-introduction.entry.js +0 -51
  175. package/dist/esm/hy-key-figure-group.entry.js +0 -73
  176. package/dist/esm/hy-key-figure.entry.js +0 -18
  177. package/dist/esm/hy-key-highlight-group.entry.js +0 -40
  178. package/dist/esm/hy-key-highlight.entry.js +0 -18
  179. package/dist/esm/hy-large-process-flow-phase.entry.js +0 -33
  180. package/dist/esm/hy-large-process-flow.entry.js +0 -40
  181. package/dist/esm/hy-link-box-list.entry.js +0 -50
  182. package/dist/esm/hy-link-box.entry.js +0 -75
  183. package/dist/esm/hy-link-list.entry.js +0 -40
  184. package/dist/esm/hy-link.entry.js +0 -21
  185. package/dist/esm/hy-list-item.entry.js +0 -235
  186. package/dist/esm/hy-logo-grid-item.entry.js +0 -26
  187. package/dist/esm/hy-logo-grid.entry.js +0 -16
  188. package/dist/esm/hy-main-content-wrapper.entry.js +0 -16
  189. package/dist/esm/hy-main.entry.js +0 -21
  190. package/dist/esm/hy-menu-item-sidebar.entry.js +0 -155
  191. package/dist/esm/hy-menu-item.entry.js +0 -143
  192. package/dist/esm/hy-menu-language-item.entry.js +0 -21
  193. package/dist/esm/hy-menu-language.entry.js +0 -87
  194. package/dist/esm/hy-menu-level-container.entry.js +0 -133
  195. package/dist/esm/hy-menu-main-group.entry.js +0 -147
  196. package/dist/esm/hy-menu-mobile-breadcrumb.entry.js +0 -21
  197. package/dist/esm/hy-menu-sidebar.entry.js +0 -286
  198. package/dist/esm/hy-menu.entry.js +0 -107
  199. package/dist/esm/hy-mobile-menu-shortcuts.entry.js +0 -22
  200. package/dist/esm/hy-opening-hours-content.entry.js +0 -37
  201. package/dist/esm/hy-opening-hours.entry.js +0 -28
  202. package/dist/esm/hy-pager-item.entry.js +0 -41
  203. package/dist/esm/hy-pager.entry.js +0 -16
  204. package/dist/esm/hy-paragraph-text.entry.js +0 -41
  205. package/dist/esm/hy-person-card.entry.js +0 -80
  206. package/dist/esm/hy-person-profile.entry.js +0 -57
  207. package/dist/esm/hy-process-flow-box.entry.js +0 -24
  208. package/dist/esm/hy-process.entry.js +0 -53
  209. package/dist/esm/hy-prominent-image.entry.js +0 -32
  210. package/dist/esm/hy-quote.entry.js +0 -26
  211. package/dist/esm/hy-row.entry.js +0 -38
  212. package/dist/esm/hy-search-field.entry.js +0 -36
  213. package/dist/esm/hy-section-container.entry.js +0 -15
  214. package/dist/esm/hy-shortcuts.entry.js +0 -56
  215. package/dist/esm/hy-site-header_3.entry.js +0 -412
  216. package/dist/esm/hy-table-container.entry.js +0 -16
  217. package/dist/esm/hy-tag.entry.js +0 -16
  218. package/dist/esm/hy-tiny-text.entry.js +0 -16
  219. package/dist/esm/hy-twitter-feed.entry.js +0 -23
  220. package/dist/esm/hy-two-columns.entry.js +0 -17
  221. package/dist/esm/hy-user-login-form.entry.js +0 -19
  222. package/dist/esm/hy-video.entry.js +0 -63
  223. package/dist/esm/index-41a1e449.js +0 -965
  224. package/dist/huds-lib/p-003597de.entry.js +0 -1
  225. package/dist/huds-lib/p-00a1f0c4.entry.js +0 -1
  226. package/dist/huds-lib/p-03ada2ef.entry.js +0 -1
  227. package/dist/huds-lib/p-045ec3b7.entry.js +0 -6
  228. package/dist/huds-lib/p-065ae4a9.entry.js +0 -1
  229. package/dist/huds-lib/p-095afc4e.entry.js +0 -1
  230. package/dist/huds-lib/p-0a37696c.entry.js +0 -1
  231. package/dist/huds-lib/p-0b2e3057.entry.js +0 -1
  232. package/dist/huds-lib/p-0ba24d1d.entry.js +0 -1
  233. package/dist/huds-lib/p-0d751fcd.entry.js +0 -1
  234. package/dist/huds-lib/p-0f9c4661.entry.js +0 -8
  235. package/dist/huds-lib/p-114f1281.entry.js +0 -1
  236. package/dist/huds-lib/p-14a7e308.entry.js +0 -1
  237. package/dist/huds-lib/p-179221b4.entry.js +0 -1
  238. package/dist/huds-lib/p-1ed13a8e.entry.js +0 -1
  239. package/dist/huds-lib/p-1f5cb6ed.entry.js +0 -1
  240. package/dist/huds-lib/p-24c25896.entry.js +0 -1
  241. package/dist/huds-lib/p-27a613af.entry.js +0 -1
  242. package/dist/huds-lib/p-29a5f847.entry.js +0 -1
  243. package/dist/huds-lib/p-2c83cfcf.entry.js +0 -1
  244. package/dist/huds-lib/p-309dde97.entry.js +0 -1
  245. package/dist/huds-lib/p-31d9c326.entry.js +0 -1
  246. package/dist/huds-lib/p-349817f6.entry.js +0 -1
  247. package/dist/huds-lib/p-3641da70.entry.js +0 -1
  248. package/dist/huds-lib/p-3bf480d9.entry.js +0 -1
  249. package/dist/huds-lib/p-3d35d226.entry.js +0 -1
  250. package/dist/huds-lib/p-3f050660.entry.js +0 -1
  251. package/dist/huds-lib/p-40ab2704.entry.js +0 -6
  252. package/dist/huds-lib/p-4252e76e.entry.js +0 -1
  253. package/dist/huds-lib/p-47d919f5.entry.js +0 -1
  254. package/dist/huds-lib/p-488053bf.entry.js +0 -1
  255. package/dist/huds-lib/p-497703c3.entry.js +0 -1
  256. package/dist/huds-lib/p-4c59a5f1.entry.js +0 -1
  257. package/dist/huds-lib/p-4d4869f9.entry.js +0 -1
  258. package/dist/huds-lib/p-518b6042.entry.js +0 -1
  259. package/dist/huds-lib/p-51dd0bf2.entry.js +0 -1
  260. package/dist/huds-lib/p-521557a1.entry.js +0 -1
  261. package/dist/huds-lib/p-570b0c50.entry.js +0 -1
  262. package/dist/huds-lib/p-604e4a62.entry.js +0 -1
  263. package/dist/huds-lib/p-608090da.entry.js +0 -1
  264. package/dist/huds-lib/p-67b6fddc.entry.js +0 -1
  265. package/dist/huds-lib/p-69559eff.entry.js +0 -1
  266. package/dist/huds-lib/p-69849560.entry.js +0 -1
  267. package/dist/huds-lib/p-6c54b7bc.entry.js +0 -1
  268. package/dist/huds-lib/p-6c56dcbb.entry.js +0 -1
  269. package/dist/huds-lib/p-7225fde6.entry.js +0 -1
  270. package/dist/huds-lib/p-734da8db.entry.js +0 -1
  271. package/dist/huds-lib/p-75f84185.entry.js +0 -1
  272. package/dist/huds-lib/p-795c4838.entry.js +0 -1
  273. package/dist/huds-lib/p-7ca87180.entry.js +0 -1
  274. package/dist/huds-lib/p-7dd26e2a.entry.js +0 -1
  275. package/dist/huds-lib/p-830cfabf.entry.js +0 -69
  276. package/dist/huds-lib/p-8a7b55ed.entry.js +0 -1
  277. package/dist/huds-lib/p-8f314f7f.entry.js +0 -1
  278. package/dist/huds-lib/p-90a2d5bd.entry.js +0 -1
  279. package/dist/huds-lib/p-98487b2c.entry.js +0 -1
  280. package/dist/huds-lib/p-9a45dd9a.entry.js +0 -1
  281. package/dist/huds-lib/p-9b5113e0.entry.js +0 -1
  282. package/dist/huds-lib/p-a0a1ead3.entry.js +0 -1
  283. package/dist/huds-lib/p-a4745be5.entry.js +0 -1
  284. package/dist/huds-lib/p-a54ddb3e.entry.js +0 -1
  285. package/dist/huds-lib/p-a7922d26.entry.js +0 -1
  286. package/dist/huds-lib/p-a82d4779.js +0 -1
  287. package/dist/huds-lib/p-aca0eb7d.entry.js +0 -1
  288. package/dist/huds-lib/p-afe191fd.entry.js +0 -1
  289. package/dist/huds-lib/p-b7268181.entry.js +0 -1
  290. package/dist/huds-lib/p-baada6d9.entry.js +0 -1
  291. package/dist/huds-lib/p-bd31e4b5.entry.js +0 -1
  292. package/dist/huds-lib/p-bd56a257.entry.js +0 -1
  293. package/dist/huds-lib/p-c2b771ef.entry.js +0 -1
  294. package/dist/huds-lib/p-c87b7917.entry.js +0 -1
  295. package/dist/huds-lib/p-ca66cf04.js +0 -1
  296. package/dist/huds-lib/p-cc3a6a5b.entry.js +0 -1
  297. package/dist/huds-lib/p-d56f5a7a.entry.js +0 -1
  298. package/dist/huds-lib/p-d5a6bba6.entry.js +0 -1
  299. package/dist/huds-lib/p-db4dc333.entry.js +0 -1
  300. package/dist/huds-lib/p-dc6a653f.entry.js +0 -1
  301. package/dist/huds-lib/p-dd2d9165.entry.js +0 -1
  302. package/dist/huds-lib/p-de9a3ec8.entry.js +0 -1
  303. package/dist/huds-lib/p-e24fb999.entry.js +0 -1
  304. package/dist/huds-lib/p-e430c2a0.entry.js +0 -1
  305. package/dist/huds-lib/p-e7abd29a.entry.js +0 -1
  306. package/dist/huds-lib/p-e834c239.entry.js +0 -1
  307. package/dist/huds-lib/p-efc359e3.entry.js +0 -1
  308. package/dist/huds-lib/p-f0d518a5.entry.js +0 -1
  309. package/dist/huds-lib/p-fbf11f85.entry.js +0 -1
  310. package/dist/huds-lib/p-fcf2d27d.entry.js +0 -1
  311. package/dist/huds-lib/p-ff62346a.entry.js +0 -1
  312. package/dist/loader/cdn.js +0 -3
  313. package/dist/loader/index.cjs.js +0 -3
  314. package/dist/loader/index.d.ts +0 -13
  315. package/dist/loader/index.es2017.js +0 -3
  316. package/dist/loader/index.js +0 -4
  317. package/dist/loader/package.json +0 -10
  318. package/loader/index.mjs +0 -22
  319. package/loader/node-main.js +0 -3
@@ -1,27 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-dd5e5023.js');
6
-
7
- const hyTwitterFeedCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}.hy-twitter-feed{margin:40px 0}.hy-twitter-feed__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-bottom:24px}@media (min-width: 30rem){.hy-twitter-feed__header{margin-bottom:32px}}@media (min-width: 75.0625rem){.without-sidebar .hy-twitter-feed__header{margin-bottom:41px}}@media (min-width: 1601px){.with-sidebar .hy-twitter-feed__header{margin-bottom:41px}}.hy-twitter-feed__title{font-weight:700;font-family:var(--main-font-family);margin-top:0;margin-bottom:0;margin-right:8px}@media (min-width: 30rem){.hy-twitter-feed__title{margin-right:12px}}@media (min-width: 75.0625rem){.without-sidebar .hy-twitter-feed__title{margin-right:16px}}@media (min-width: 1601px){.with-sidebar .hy-twitter-feed__title{margin-right:16px}}h2.hy-twitter-feed__title{font-size:1.625rem;line-height:32px;letter-spacing:-0.82px}@media (min-width: 30rem){h2.hy-twitter-feed__title{font-size:1.875rem;line-height:36px;letter-spacing:-0.6px}}@media (min-width: 75.0625rem){.without-sidebar h2.hy-twitter-feed__title{font-size:2.125rem;line-height:40px;letter-spacing:-0.68px}}@media (min-width: 1601px){.with-sidebar h2.hy-twitter-feed__title{font-size:2.125rem;line-height:40px;letter-spacing:-0.68px}}.is-front-page h2.hy-twitter-feed__title,.is-landing-page h2.hy-twitter-feed__title{font-size:1.75rem;line-height:32px;letter-spacing:-0.7px;text-transform:uppercase}@media (min-width: 30rem){.is-front-page h2.hy-twitter-feed__title,.is-landing-page h2.hy-twitter-feed__title{font-size:2.125rem;line-height:40px;letter-spacing:-0.85px}}@media (min-width: 60rem){.without-sidebar .is-front-page h2.hy-twitter-feed__title,.without-sidebar .is-landing-page h2.hy-twitter-feed__title{font-size:2.125rem;line-height:40px;letter-spacing:-0.68px}}@media (min-width: 75.0625rem){.without-sidebar .is-front-page h2.hy-twitter-feed__title,.without-sidebar .is-landing-page h2.hy-twitter-feed__title{font-size:2.625rem;line-height:48px;letter-spacing:-1.05px}}@media (min-width: 75.0625rem){.with-sidebar .is-front-page h2.hy-twitter-feed__title,.with-sidebar .is-landing-page h2.hy-twitter-feed__title{font-size:2.125rem;line-height:40px;letter-spacing:-0.68px}}@media (min-width: 1601px){.with-sidebar .is-front-page h2.hy-twitter-feed__title,.with-sidebar .is-landing-page h2.hy-twitter-feed__title{font-size:2.625rem;line-height:48px;letter-spacing:-1.05px}}h3.hy-twitter-feed__title{font-size:1.3125rem;line-height:28px;letter-spacing:-0.42px}@media (min-width: 30rem){h3.hy-twitter-feed__title{font-size:1.5625rem;line-height:32px;letter-spacing:-0.5px}}.is-front-page h3.hy-twitter-feed__title,.is-landing-page h3.hy-twitter-feed__title{font-size:1.625rem;line-height:32px;letter-spacing:-0.52px}@media (min-width: 30rem){.is-front-page h3.hy-twitter-feed__title,.is-landing-page h3.hy-twitter-feed__title{font-size:1.875rem;line-height:36px;letter-spacing:-0.6px}}@media (min-width: 60rem){.without-sidebar .is-front-page h3.hy-twitter-feed__title,.without-sidebar .is-landing-page h3.hy-twitter-feed__title{font-size:1.875rem;line-height:36px;letter-spacing:-0.6px}}@media (min-width: 75.0625rem){.without-sidebar .is-front-page h3.hy-twitter-feed__title,.without-sidebar .is-landing-page h3.hy-twitter-feed__title{font-size:2.125rem;line-height:40px;letter-spacing:-0.68px}}@media (min-width: 75.0625rem){.with-sidebar .is-front-page h3.hy-twitter-feed__title,.with-sidebar .is-landing-page h3.hy-twitter-feed__title{font-size:1.875rem;line-height:36px;letter-spacing:-0.6px}}@media (min-width: 1601px){.with-sidebar .is-front-page h3.hy-twitter-feed__title,.with-sidebar .is-landing-page h3.hy-twitter-feed__title{font-size:2.125rem;line-height:40px;letter-spacing:-0.68px}}.hy-twitter-feed__keyword{font-size:0.9375rem;line-height:22px;margin:0;font-weight:400;font-family:var(--main-font-family);color:var(--grayscale-dark-text);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.hy-twitter-feed__keyword hy-icon{margin-right:4px}@media (min-width: 30rem){.hy-twitter-feed__keyword hy-icon{margin-right:6px}}@media (min-width: 30rem){.hy-twitter-feed__keyword hy-icon svg{width:24px;height:24px}}@media (min-width: 30rem){.hy-twitter-feed__keyword{font-size:1rem;line-height:24px}}@media (min-width: 75.0625rem){.without-sidebar .hy-twitter-feed__keyword{font-size:1.0625rem;line-height:24px}}@media (min-width: 75.0625rem){.without-sidebar .hy-twitter-feed__keyword hy-icon svg{width:32px;height:32px}}@media (min-width: 1601px){.with-sidebar .hy-twitter-feed__keyword{font-size:1.0625rem;line-height:24px}}@media (min-width: 1601px){.with-sidebar .hy-twitter-feed__keyword hy-icon svg{width:32px;height:32px}}.hy-twitter-feed__keyword+a{font-size:0.9375rem;line-height:18px;margin:0 0 0 8px;font-weight:600;font-family:var(--main-font-family);color:var(--link-blue);letter-spacing:-0.28px;text-decoration:none;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.hy-twitter-feed__keyword+a:hover{text-decoration:underline}.hy-twitter-feed__keyword+a hy-icon{margin-right:6px}.hy-twitter-feed__keyword+a hy-icon svg{fill:var(--link-blue)}@media (min-width: 30rem){.hy-twitter-feed__keyword+a{font-size:0.875rem;line-height:18px;letter-spacing:-0.26px;margin:0 0 0 12px}}@media (min-width: 75.0625rem){.without-sidebar .hy-twitter-feed__keyword+a{font-size:1rem;line-height:20px;letter-spacing:-0.3px;margin:0 0 0 16px}}@media (min-width: 1601px){.with-sidebar .hy-twitter-feed__keyword+a{font-size:1rem;line-height:20px;letter-spacing:-0.3px;margin:0 0 0 16px}}.hy-twitter-feed__tweets{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr;gap:16px}@media (min-width: 30rem){.hy-twitter-feed__tweets{grid-template-columns:repeat(2, 1fr);gap:24px}}@media (min-width: 60rem){.without-sidebar .hy-twitter-feed__tweets{grid-template-columns:repeat(3, 1fr)}}@media (min-width: 75.0625rem){.with-sidebar .hy-twitter-feed__tweets{grid-template-columns:repeat(3, 1fr)}}.hy-twitter-tweet{background-color:var(--grayscale-background-box);height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;position:relative}.hy-twitter-tweet__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:-8px;padding-top:12px;margin-bottom:8px}@media (min-width: 30rem){.hy-twitter-tweet__header{padding-top:16px}}.hy-twitter-tweet__profile-image img{height:70px;width:70px}@media (min-width: 75.0625rem){.without-sidebar .hy-twitter-tweet__profile-image img{height:80px;width:80px}}@media (min-width: 1601px){.with-sidebar .hy-twitter-tweet__profile-image img{height:80px;width:80px}}.hy-twitter-tweet__header-content{margin-left:8px}.hy-twitter-tweet__header-content time{font-size:0.75rem;line-height:14px;font-weight:400;font-family:var(--main-font-family);color:var(--grayscale-black);letter-spacing:-0.1px}.hy-twitter-tweet__header-content p{font-size:0.9375rem;line-height:18px;font-weight:700;font-family:var(--main-font-family);color:var(--brand-main-nearly-black);letter-spacing:-0.3px;margin:4px 0 2px}@media (min-width: 30rem){.hy-twitter-tweet__header-content p{font-size:1rem;line-height:20px;letter-spacing:-0.32px}}.hy-twitter-tweet__header-content a{font-size:0.75rem;line-height:16px;font-weight:600;font-family:var(--main-font-family);color:var(--link-blue);letter-spacing:-0.1px;text-decoration:none;position:relative;z-index:10}.hy-twitter-tweet__header-content a:hover{text-decoration:underline}.hy-twitter-tweet__content-wrapper{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.hy-twitter-tweet__content{padding:0 16px}.hy-twitter-tweet__content p{font-size:0.9375rem;line-height:20px;font-weight:400;font-family:var(--main-font-family);color:var(--grayscale-dark-text);letter-spacing:-0.03px;margin:0 0 8px}@media (min-width: 30rem){.hy-twitter-tweet__content p{font-size:0.875rem;line-height:18px;letter-spacing:-0.08px}}.hy-twitter-tweet__tweet-link{font-size:0.75rem;line-height:16px;font-weight:600;font-family:var(--main-font-family);color:var(--link-blue);letter-spacing:-0.1px;text-decoration:none}.hy-twitter-tweet__tweet-link span{position:absolute;inset:0}.hy-twitter-tweet__tweet-link:hover{text-decoration:underline}.hy-twitter-tweet__statistics{margin-top:16px;padding:0 16px 16px}.hy-twitter-tweet__statistics .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.hy-twitter-tweet__statistics p{font-size:0.75rem;line-height:14px;font-weight:400;font-family:var(--main-font-family);color:var(--grayscale-dark);letter-spacing:-0.1px;margin:0;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.hy-twitter-tweet__statistics p:not(:first-of-type){margin-left:16px}.hy-twitter-tweet__statistics p hy-icon{margin-right:4px}.hy-twitter-tweet__statistics p hy-icon svg{fill:var(--grayscale-dark)}";
8
-
9
- const HyTwitterFeed = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- }
13
- render() {
14
- const parsedTweets = JSON.parse(this.tweets);
15
- const HeadingVariant = this.headingVariant.toLowerCase();
16
- if (this.tweetType === 'Hashtag' && this.twitterFeedKeyword.charAt(0) === '#') {
17
- this.twitterFeedKeyword = this.twitterFeedKeyword.substring(1);
18
- }
19
- return (index.h("section", { class: "hy-twitter-feed" }, index.h("div", { class: "hy-twitter-feed__header" }, index.h(HeadingVariant, { class: "hy-twitter-feed__title" }, this.paragraphTitle || 'Twitter'), index.h("p", { class: "hy-twitter-feed__keyword" }, index.h("hy-icon", { icon: `hy-icon-some-twitter`, size: 20 }), this.tweetType === 'Hashtag' ? `#${this.twitterFeedKeyword}` : `@${this.twitterFeedKeyword}`), this.tweetType === 'Username' && (index.h("a", { href: `https://twitter.com/${this.twitterFeedKeyword}`, target: "_blank" }, index.h("hy-icon", { icon: `hy-icon-plus`, size: 12 }), "Follow"))), index.h("ul", { class: "hy-twitter-feed__tweets" }, parsedTweets.map(({ tweet_text, tweet_created, tweet_absolute_url, tweet_like_count, tweet_retweet_count, user_name, user_username, user_profile_image_url, }) => {
20
- const dateFormatted = new Intl.DateTimeFormat('fi-FI').format(new Date(tweet_created));
21
- return (index.h("li", { class: "hy-twitter-feed__item" }, index.h("article", { class: "hy-twitter-tweet" }, index.h("header", { class: "hy-twitter-tweet__header" }, index.h("figure", { class: "hy-twitter-tweet__profile-image", role: "complementary" }, index.h("img", { src: user_profile_image_url, alt: "" })), index.h("div", { class: "hy-twitter-tweet__header-content" }, index.h("time", { dateTime: tweet_created }, dateFormatted), index.h("p", null, user_name), index.h("a", { class: "hy-twitter-tweet__user-link", href: `https://twitter.com/${user_username}`, target: "_blank" }, "@", user_username))), index.h("div", { class: "hy-twitter-tweet__content-wrapper" }, index.h("div", { class: "hy-twitter-tweet__content" }, index.h("p", null, tweet_text.length > 113 ? `${tweet_text.substr(0, 113)}...` : tweet_text), index.h("a", { class: "hy-twitter-tweet__tweet-link", href: tweet_absolute_url, target: "_blank" }, index.h("span", { "aria-hidden": "true" }), `${tweet_absolute_url.substr(0, 24)}...`)), index.h("div", { class: "hy-twitter-tweet__statistics", role: "complementary" }, index.h("p", null, index.h("span", { class: "visually-hidden" }, "Tweet like count: "), index.h("hy-icon", { icon: `hy-icon-some-twitter-like`, size: 16 }), tweet_like_count), index.h("p", null, index.h("span", { class: "visually-hidden" }, "Tweet retweet count: "), index.h("hy-icon", { icon: `hy-icon-some-twitter-retweet`, size: 16 }), tweet_retweet_count))))));
22
- }))));
23
- }
24
- };
25
- HyTwitterFeed.style = hyTwitterFeedCss;
26
-
27
- exports.hy_twitter_feed = HyTwitterFeed;
@@ -1,21 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-dd5e5023.js');
6
-
7
- const hyTwoColumnsCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-two-columns{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.hy-two-columns h2,.hy-two-columns h3,.hy-two-columns h4,.hy-two-columns h5,.hy-two-columns h6{margin-top:0}.hy-two-columns p{margin-top:0}@media (min-width: 30rem){.hy-two-columns{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}.hy-two-columns--reversed{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}@media (min-width: 30rem){.hy-two-columns--reversed{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}}.hy-two-columns--reversed .hy-two-columns__item--side{margin-left:0;margin-right:0}@media (min-width: 30rem){.hy-two-columns--reversed .hy-two-columns__item--side{margin-right:5.79%}}@media (min-width: 60rem){.hy-two-columns--reversed .hy-two-columns__item--side{margin-right:8.5%}}.hy-two-columns__item{width:100%}.hy-two-columns__item [slot=main]{width:100%}.hy-two-columns__item [slot=main] .hy-paragraph-text{width:100% !important}.hy-two-columns__item [slot=side]{width:100%}.hy-two-columns__item--main{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-preferred-size:100%;flex-basis:100%;width:100%}@media (min-width: 30rem){.hy-two-columns__item--main{-ms-flex-preferred-size:67.01%;flex-basis:67.01%}}@media (min-width: 60rem){.hy-two-columns__item--main{-ms-flex-preferred-size:63%;flex-basis:63%}}.hy-two-columns__item--side{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-preferred-size:100%;flex-basis:100%;margin-left:0;margin-right:0;padding-left:0;padding-right:0;width:100%}@media (min-width: 30rem){.hy-two-columns__item--side{-ms-flex-preferred-size:32.99%;flex-basis:32.99%;margin-left:5.79%}}@media (min-width: 60rem){.hy-two-columns__item--side{-ms-flex-preferred-size:37%;flex-basis:37%;margin-left:8.5%;padding:0}}.hy-two-columns__item--side hy-key-figure{padding:0 10.67%}@media (min-width: 30rem){.hy-two-columns__item--side hy-key-figure{padding:0}}";
8
-
9
- const HyTwoColumns = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- this.reversed = false;
13
- }
14
- render() {
15
- const classAttributes = ['hy-two-columns', this.reversed ? 'hy-two-columns--reversed' : ''].join(' ');
16
- return (index.h(index.Host, null, index.h("div", { class: classAttributes }, index.h("div", { class: "hy-two-columns__item hy-two-columns__item--main" }, index.h("slot", { name: "main" })), index.h("div", { class: "hy-two-columns__item hy-two-columns__item--side" }, index.h("slot", { name: "side" })))));
17
- }
18
- };
19
- HyTwoColumns.style = hyTwoColumnsCss;
20
-
21
- exports.hy_two_columns = HyTwoColumns;
@@ -1,23 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-dd5e5023.js');
6
- const utils = require('./utils-eeb7b089.js');
7
-
8
- const hyUserLoginFormCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-user-login-form{font-family:var(--main-font-family)}.hy-user-login-form .user-login-form{position:relative}.hy-user-login-form .user-login-form .hy-login-label{margin-top:16px}.hy-user-login-form .user-login-form input{display:block;margin:8px 0 0 0;min-height:32px}.hy-user-login-form .user-login-form label{font-size:1rem;line-height:16px;font-weight:700;display:block}.hy-user-login-form .user-login-form label:before{content:\"*\";padding-right:3px}.hy-user-login-form .user-login-form div#edit-name--description,.hy-user-login-form .user-login-form div#edit-pass--description{display:none}.hy-user-login-form .user-login-form div.form-item-pass{margin-top:28px}.hy-user-login-form .user-login-form div#edit-actions{margin-top:32px}";
9
-
10
- const HyUserLoginForm = class {
11
- constructor(hostRef) {
12
- index.registerInstance(this, hostRef);
13
- }
14
- render() {
15
- const classAttributes = 'hy-user-login-form';
16
- const logoSize = utils.SiteLogoSize.large;
17
- const logoColor = utils.ColorVariant.black;
18
- return (index.h("div", { class: classAttributes }, index.h("div", { class: 'hy-site-header__logo-container' }, index.h("hy-site-logo", { size: logoSize, color: logoColor, url: this.logoUrl, label: this.logoLabel })), index.h("slot", null)));
19
- }
20
- };
21
- HyUserLoginForm.style = hyUserLoginFormCss;
22
-
23
- exports.hy_user_login_form = HyUserLoginForm;
@@ -1,67 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-dd5e5023.js');
6
- const utils = require('./utils-eeb7b089.js');
7
-
8
- const hyVideoCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-video__video-container{display:inline-block;margin-bottom:22px;position:relative;width:100%}.hy-video__video-container iframe{height:100%;overflow:hidden;width:100%}@supports (aspect-ratio: 16/9){.hy-video__video-container iframe{aspect-ratio:16/9;height:auto}}.hy-video__video-container .hy-video__preview-image{height:100%;left:0;-o-object-fit:cover;object-fit:cover;position:absolute;top:0;width:100%}.hy-video__video-container .hy-video__play{background-color:var(--grayscale-white);left:50%;position:absolute;top:50%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%)}.hy-video__video-container .hy-video__play button{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:transparent;border:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:24px}@media (min-width: 30rem){.hy-video__video-container .hy-video__play button{padding:36px}}.hy-video__video-container .hy-video__play button:hover{cursor:pointer}.hy-video__video-container .hy-video__play button .hy-video__button-label{font-size:0.9375rem;line-height:18px;color:var(--link-blue);font-family:var(--main-font-family);font-weight:bold;letter-spacing:-0.1px;text-align:center;text-transform:uppercase}@media (min-width: 30rem){.hy-video__video-container .hy-video__play button .hy-video__button-label{font-size:1.0625rem;line-height:20px;letter-spacing:-0.14px}}@media (min-width: 75.0625rem){.hy-video__video-container .hy-video__play button .hy-video__button-label{font-size:1.0625rem;line-height:20px;letter-spacing:-0.16px}}.hy-video__video-container .hy-video__play button svg{fill:var(--link-blue);height:44px;width:44px}@media (min-width: 60rem){.hy-video__video-container .hy-video__play button svg{height:80px;width:80px}}.hy-video__video-container>*:not(.hy-video__label):not(.hy-video__play){bottom:0;left:0;position:absolute;right:0;top:0}.hy-video__video-container:after{content:\"\";display:block;padding-top:56.25%}.hy-video:not(.hy-video--horizontal){display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}@media (min-width: 1601px){.hy-video:not(.hy-video--horizontal):not(.hy-video__default){max-width:66%}}.hy-video__label{font-size:0.75rem;line-height:14px;display:inline-block;background-color:var(--grayscale-black);color:var(--grayscale-white);font-family:var(--main-font-family);font-weight:bold;letter-spacing:-0.5px;padding:6px 8px;margin:0 0 22px;text-transform:uppercase}.hy-video.hy-video--horizontal{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}@media (min-width: 60rem){.hy-video.hy-video--horizontal{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}.hy-video.hy-video--horizontal .hy-video__meta{padding-left:0;width:100%}@media (min-width: 60rem){.hy-video.hy-video--horizontal .hy-video__meta{padding-left:2.5%;width:57.24%}}.hy-video__meta__title h2.hy-heading{border:none;margin:8px 0 12px 0 !important;padding:0 !important}@media (min-width: 60rem){.hy-video__meta__title h2.hy-heading{margin:0 0 16px 0 !important}}.hy-video__meta__details{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;margin-bottom:12px}@media (min-width: 60rem){.hy-video__meta__details{margin-bottom:16px}}.hy-video__meta__details--item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-right:44px;min-width:87px;padding-right:46px;place-content:center space-between}.hy-video__meta__description__content{font-size:0.9375rem;line-height:22px;color:var(--grayscale-black);display:block;font-family:var(--main-font-family);letter-spacing:0;width:100%}@media (min-width: 30rem){.hy-video__meta__description__content{font-size:1.0625rem;line-height:26px}}.hy-video__meta__description__more-button{font-size:1rem;line-height:24px;color:var(--brand-main-light);font-family:var(--main-font-family)}.hy-video__meta__description__more-button:hover{cursor:pointer}.hy-video__meta__label{font-size:0.9375rem;line-height:18px;font-weight:700;color:var(--grayscale-black);font-family:var(--main-font-family);margin-bottom:4px}.hy-video__meta__content{font-size:0.9375rem;line-height:22px;color:var(--grayscale-black);font-family:var(--main-font-family);letter-spacing:-0.5px}@media (min-width: 30rem){.hy-video__meta__content{font-size:1.0625rem;line-height:26px;letter-spacing:-0.56px}}";
9
-
10
- const HyVideo = class {
11
- constructor(hostRef) {
12
- index.registerInstance(this, hostRef);
13
- /** Should context label be visible */
14
- this.contextLabelVisible = false;
15
- /** Should play button be visible */
16
- this.playButtonVisible = false;
17
- /** Use horizontal layout where metadata is on side */
18
- this.horizontal = false;
19
- this.disableLazy = false;
20
- this.headerstyle = 'default';
21
- this.showMoreLabel = 'Show more';
22
- this.showLessLabel = 'Show less';
23
- this.descCollapsed = false;
24
- this.renderPreviewWithLink = () => {
25
- return this.linkToVideo ? (index.h("a", { title: this.videoTitle, href: this.linkToVideo, class: "hy-video__link-to-video" }, index.h("img", { loading: this.disableLazy ? 'eager' : 'lazy', class: "hy-video__preview-image", src: this.previewImageUrl, alt: this.videoTitle }))) : (index.h("img", { loading: this.disableLazy ? 'eager' : 'lazy', class: "hy-video__preview-image", src: this.previewImageUrl, alt: this.videoTitle }));
26
- };
27
- this.renderPlayButton = () => {
28
- return (index.h("span", { class: "hy-video__play" }, index.h("button", { type: "button" }, index.h("hy-icon", { icon: 'hy-icon-video', class: 'hy-video__play-icon', size: 20 }), index.h("span", { class: "hy-video__button-label" }, this.playButtonLabel))));
29
- };
30
- this.truncate = (str, n) => {
31
- return str.length > n ? str.substr(0, n - 1) + '...' : str;
32
- };
33
- }
34
- componentDidLoad() {
35
- let hyMainDiv = this.el.closest('.hy-main');
36
- if (hyMainDiv) {
37
- if (!hyMainDiv.classList.contains('with-sidebar')) {
38
- this.headerstyle = 'large';
39
- }
40
- }
41
- if (this.videoDescription && this.videoDescription.match(/\S/g).length > 255) {
42
- this.descCollapsed = true;
43
- }
44
- }
45
- render() {
46
- const classAttributes = [
47
- 'hy-video',
48
- this.horizontal ? 'hy-video--horizontal' : '',
49
- `hy-video__${this.headerstyle}`,
50
- ].join(' ');
51
- const maxChars = 255;
52
- const charCount = this.videoDescription ? this.videoDescription.match(/\S/g).length : 0;
53
- return [
54
- index.h("div", { class: classAttributes }, this.videoTitle && !this.horizontal && (index.h("hy-heading", { class: "hy-video__meta__title", heading: utils.HeadingVarians.h2 }, this.videoTitle)), index.h("div", { class: "hy-video__video-container" }, this.previewImageUrl ? (index.h("div", null, this.renderPreviewWithLink(), index.h("slot", { name: "video" }))) : (index.h("slot", { name: "video" })), this.playButtonVisible && this.renderPlayButton()), index.h("div", { class: "hy-video__meta" }, this.videoTitle && this.horizontal && (index.h("hy-heading", { class: "hy-video__meta__title", heading: utils.HeadingVarians.h2 }, this.videoTitle)), this.contextLabelVisible && index.h("span", { class: "hy-video__label" }, this.contextLabel), (this.duration || this.views || this.dateAdded) && (index.h("div", { class: "hy-video__meta__details" }, this.duration && (index.h("div", { class: "hy-video__meta__details--item" }, index.h("span", { class: "hy-video__meta__label" }, this.durationLabel), index.h("span", { class: "hy-video__meta__content" }, this.duration))), this.views && (index.h("div", { class: "hy-video__meta__details--item" }, index.h("span", { class: "hy-video__meta__label" }, this.viewsLabel), index.h("span", { class: "hy-video__meta__content" }, this.views))), this.dateAdded && (index.h("div", { class: "hy-video__meta__details--item" }, index.h("span", { class: "hy-video__meta__label" }, this.dateAddedLabel), index.h("span", { class: "hy-video__meta__content" }, this.dateAdded))))), this.videoDescription && (index.h("div", { class: "hy-video__meta__description", "aria-expanded": this.descCollapsed ? 'false' : 'true' }, index.h("div", { class: "hy-video__meta__description__content" }, this.descCollapsed ? this.truncate(this.videoDescription, 255) : this.videoDescription), charCount > maxChars && (index.h("span", { class: "hy-video__meta__description__more-button", role: "button", tabindex: "0", "aria-expanded": this.descCollapsed ? 'false' : 'true', onClick: () => (this.descCollapsed = !this.descCollapsed), onKeyDown: (e) => {
55
- if (e.key != ' ')
56
- return;
57
- e.preventDefault();
58
- this.descCollapsed = !this.descCollapsed;
59
- } }, this.descCollapsed ? this.showMoreLabel : this.showLessLabel)))))),
60
- index.h("hy-box", { mb: "1.75, 1.75, 2, 2.5" }),
61
- ];
62
- }
63
- get el() { return index.getElement(this); }
64
- };
65
- HyVideo.style = hyVideoCss;
66
-
67
- exports.hy_video = HyVideo;