@itcenteratunihelsinki/huds-lib 0.8.40 → 0.8.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (559) hide show
  1. package/dist/cjs/color-box_8.cjs.entry.js +13 -36
  2. package/dist/cjs/color-box_8.cjs.entry.js.map +1 -0
  3. package/dist/cjs/{globalScript-6b592153.js → globalScript-45ad6d41.js} +3 -1
  4. package/dist/cjs/globalScript-45ad6d41.js.map +1 -0
  5. package/dist/cjs/huds-lib.cjs.js +13 -4
  6. package/dist/cjs/huds-lib.cjs.js.map +1 -0
  7. package/dist/cjs/hy-accordion-container_83.cjs.entry.js +388 -192
  8. package/dist/cjs/hy-accordion-container_83.cjs.entry.js.map +1 -0
  9. package/dist/cjs/hy-event-item.cjs.entry.js +7 -2
  10. package/dist/cjs/hy-event-item.cjs.entry.js.map +1 -0
  11. package/dist/cjs/hy-events.cjs.entry.js +6 -2
  12. package/dist/cjs/hy-events.cjs.entry.js.map +1 -0
  13. package/dist/cjs/{index-dfc917d9.js → index-25bd964b.js} +692 -287
  14. package/dist/cjs/index-25bd964b.js.map +1 -0
  15. package/dist/cjs/index.cjs.js +2 -0
  16. package/dist/cjs/index.cjs.js.map +1 -0
  17. package/dist/cjs/loader.cjs.js +7 -4
  18. package/dist/cjs/loader.cjs.js.map +1 -0
  19. package/dist/cjs/utils-14d5aa6f.js +2 -0
  20. package/dist/cjs/utils-14d5aa6f.js.map +1 -0
  21. package/dist/collection/collection-manifest.json +2 -2
  22. package/dist/collection/components/accordion-container/accordion-container.js +37 -30
  23. package/dist/collection/components/accordion-container/accordion-container.js.map +1 -0
  24. package/dist/collection/components/accordion-item/accordion-item.js +116 -114
  25. package/dist/collection/components/accordion-item/accordion-item.js.map +1 -0
  26. package/dist/collection/components/adjacent-image-text/adjacent-image-text.js +277 -275
  27. package/dist/collection/components/adjacent-image-text/adjacent-image-text.js.map +1 -0
  28. package/dist/collection/components/baseline/baseline.js +35 -32
  29. package/dist/collection/components/baseline/baseline.js.map +1 -0
  30. package/dist/collection/components/button/button.js +226 -257
  31. package/dist/collection/components/button/button.js.map +1 -0
  32. package/dist/collection/components/color-box/color-box.js +13 -9
  33. package/dist/collection/components/color-box/color-box.js.map +1 -0
  34. package/dist/collection/components/courses/hy-content-list/hy-content-list.js +174 -167
  35. package/dist/collection/components/courses/hy-content-list/hy-content-list.js.map +1 -0
  36. package/dist/collection/components/courses/hy-content-list-item/hy-content-list-item.css +2 -2
  37. package/dist/collection/components/courses/hy-content-list-item/hy-content-list-item.js +320 -312
  38. package/dist/collection/components/courses/hy-content-list-item/hy-content-list-item.js.map +1 -0
  39. package/dist/collection/components/cta-button/cta-button.js +141 -138
  40. package/dist/collection/components/cta-button/cta-button.js.map +1 -0
  41. package/dist/collection/components/cta-link/cta-link.js +107 -103
  42. package/dist/collection/components/cta-link/cta-link.js.map +1 -0
  43. package/dist/collection/components/docs-container/docs-container.js +13 -9
  44. package/dist/collection/components/docs-container/docs-container.js.map +1 -0
  45. package/dist/collection/components/footer/hy-footer/hy-footer.js +13 -9
  46. package/dist/collection/components/footer/hy-footer/hy-footer.js.map +1 -0
  47. package/dist/collection/components/footer/hy-footer-action/hy-footer-action.js +63 -55
  48. package/dist/collection/components/footer/hy-footer-action/hy-footer-action.js.map +1 -0
  49. package/dist/collection/components/footer/hy-footer-base/hy-footer-base.js +183 -187
  50. package/dist/collection/components/footer/hy-footer-base/hy-footer-base.js.map +1 -0
  51. package/dist/collection/components/footer/hy-footer-info/hy-footer-info.js +278 -270
  52. package/dist/collection/components/footer/hy-footer-info/hy-footer-info.js.map +1 -0
  53. package/dist/collection/components/footer/hy-footer-link-item/hy-footer-link-item.js +191 -190
  54. package/dist/collection/components/footer/hy-footer-link-item/hy-footer-link-item.js.map +1 -0
  55. package/dist/collection/components/global-workers/globals.worker.js +1 -0
  56. package/dist/collection/components/global-workers/globals.worker.js.map +1 -0
  57. package/dist/collection/components/grid-container/grid-container.js +13 -9
  58. package/dist/collection/components/grid-container/grid-container.js.map +1 -0
  59. package/dist/collection/components/grid-item/grid-item.css +0 -23
  60. package/dist/collection/components/grid-item/grid-item.js +102 -96
  61. package/dist/collection/components/grid-item/grid-item.js.map +1 -0
  62. package/dist/collection/components/grid-row/grid-row.js +13 -9
  63. package/dist/collection/components/grid-row/grid-row.js.map +1 -0
  64. package/dist/collection/components/heading/heading-fw.css +17 -17
  65. package/dist/collection/components/heading/heading.css +17 -17
  66. package/dist/collection/components/heading/heading.js +142 -146
  67. package/dist/collection/components/heading/heading.js.map +1 -0
  68. package/dist/collection/components/hy-anchor-link-list/hy-anchor-link-list.js +105 -99
  69. package/dist/collection/components/hy-anchor-link-list/hy-anchor-link-list.js.map +1 -0
  70. package/dist/collection/components/hy-badge/hy-badge.js +35 -30
  71. package/dist/collection/components/hy-badge/hy-badge.js.map +1 -0
  72. package/dist/collection/components/hy-banner/hy-banner.js +137 -135
  73. package/dist/collection/components/hy-banner/hy-banner.js.map +1 -0
  74. package/dist/collection/components/hy-box/hy-box.js +323 -318
  75. package/dist/collection/components/hy-box/hy-box.js.map +1 -0
  76. package/dist/collection/components/hy-box-container/hy-box-container.js +53 -54
  77. package/dist/collection/components/hy-box-container/hy-box-container.js.map +1 -0
  78. package/dist/collection/components/hy-breadcrumbs/hy-breadcrumbs.js +89 -82
  79. package/dist/collection/components/hy-breadcrumbs/hy-breadcrumbs.js.map +1 -0
  80. package/dist/collection/components/hy-checkbox/hy-checkbox.js +108 -114
  81. package/dist/collection/components/hy-checkbox/hy-checkbox.js.map +1 -0
  82. package/dist/collection/components/hy-collaboration/hy-collaboration.js +105 -99
  83. package/dist/collection/components/hy-collaboration/hy-collaboration.js.map +1 -0
  84. package/dist/collection/components/hy-crisis-banner/hy-crisis-banner.js +88 -85
  85. package/dist/collection/components/hy-crisis-banner/hy-crisis-banner.js.map +1 -0
  86. package/dist/collection/components/hy-dropdown/hy-dropdown.js +153 -147
  87. package/dist/collection/components/hy-dropdown/hy-dropdown.js.map +1 -0
  88. package/dist/collection/components/hy-dropdown/hy-dropdown.panel.item.js +76 -74
  89. package/dist/collection/components/hy-dropdown/hy-dropdown.panel.item.js.map +1 -0
  90. package/dist/collection/components/hy-dropdown/hy-dropdown.panel.js +27 -22
  91. package/dist/collection/components/hy-dropdown/hy-dropdown.panel.js.map +1 -0
  92. package/dist/collection/components/hy-event-item/hy-event-item.js +184 -192
  93. package/dist/collection/components/hy-event-item/hy-event-item.js.map +1 -0
  94. package/dist/collection/components/hy-events/hy-events.js +131 -127
  95. package/dist/collection/components/hy-events/hy-events.js.map +1 -0
  96. package/dist/collection/components/hy-filter-group/hy-filter-group.item.js +44 -41
  97. package/dist/collection/components/hy-filter-group/hy-filter-group.item.js.map +1 -0
  98. package/dist/collection/components/hy-filter-group/hy-filter-group.js +64 -54
  99. package/dist/collection/components/hy-filter-group/hy-filter-group.js.map +1 -0
  100. package/dist/collection/components/hy-filter-list-type/hy-filter-list-type.js +62 -56
  101. package/dist/collection/components/hy-filter-list-type/hy-filter-list-type.js.map +1 -0
  102. package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.js +38 -30
  103. package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.js.map +1 -0
  104. package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.js +3 -4
  105. package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.js.map +1 -0
  106. package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.toggle.js +3 -8
  107. package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.toggle.js.map +1 -0
  108. package/dist/collection/components/hy-general-list/hy-general-list.js +123 -113
  109. package/dist/collection/components/hy-general-list/hy-general-list.js.map +1 -0
  110. package/dist/collection/components/hy-general-list-item/hy-general-list-item.js +256 -258
  111. package/dist/collection/components/hy-general-list-item/hy-general-list-item.js.map +1 -0
  112. package/dist/collection/components/hy-hero/hy-hero.css +2 -2
  113. package/dist/collection/components/hy-hero/hy-hero.js +296 -308
  114. package/dist/collection/components/hy-hero/hy-hero.js.map +1 -0
  115. package/dist/collection/components/hy-introduction/hy-introduction.js +248 -250
  116. package/dist/collection/components/hy-introduction/hy-introduction.js.map +1 -0
  117. package/dist/collection/components/hy-key-figure/hy-key-figure.js +73 -66
  118. package/dist/collection/components/hy-key-figure/hy-key-figure.js.map +1 -0
  119. package/dist/collection/components/hy-key-figure-group/hy-key-figure-group.css +1 -1
  120. package/dist/collection/components/hy-key-figure-group/hy-key-figure-group.js +67 -65
  121. package/dist/collection/components/hy-key-figure-group/hy-key-figure-group.js.map +1 -0
  122. package/dist/collection/components/hy-key-highlight/hy-key-highlight.js +73 -67
  123. package/dist/collection/components/hy-key-highlight/hy-key-highlight.js.map +1 -0
  124. package/dist/collection/components/hy-key-highlight-group/hy-key-highlight-group.css +2 -2
  125. package/dist/collection/components/hy-key-highlight-group/hy-key-highlight-group.js +79 -71
  126. package/dist/collection/components/hy-key-highlight-group/hy-key-highlight-group.js.map +1 -0
  127. package/dist/collection/components/hy-large-process-flow/hy-large-process-flow.css +6 -6
  128. package/dist/collection/components/hy-large-process-flow/hy-large-process-flow.js +55 -46
  129. package/dist/collection/components/hy-large-process-flow/hy-large-process-flow.js.map +1 -0
  130. package/dist/collection/components/hy-large-process-flow-phase/hy-large-process-flow-phase.css +3 -3
  131. package/dist/collection/components/hy-large-process-flow-phase/hy-large-process-flow-phase.js +41 -37
  132. package/dist/collection/components/hy-large-process-flow-phase/hy-large-process-flow-phase.js.map +1 -0
  133. package/dist/collection/components/hy-link-list/hy-link-list.js +107 -100
  134. package/dist/collection/components/hy-link-list/hy-link-list.js.map +1 -0
  135. package/dist/collection/components/hy-list-item/hy-list-item.js +429 -451
  136. package/dist/collection/components/hy-list-item/hy-list-item.js.map +1 -0
  137. package/dist/collection/components/hy-logo-grid/hy-logo-grid.item.js +54 -47
  138. package/dist/collection/components/hy-logo-grid/hy-logo-grid.item.js.map +1 -0
  139. package/dist/collection/components/hy-logo-grid/hy-logo-grid.js +54 -46
  140. package/dist/collection/components/hy-logo-grid/hy-logo-grid.js.map +1 -0
  141. package/dist/collection/components/hy-main/hy-main.js +35 -29
  142. package/dist/collection/components/hy-main/hy-main.js.map +1 -0
  143. package/dist/collection/components/hy-main-content-wrapper/hy-main-content-wrapper.js +13 -10
  144. package/dist/collection/components/hy-main-content-wrapper/hy-main-content-wrapper.js.map +1 -0
  145. package/dist/collection/components/hy-opening-hours/hy-opening-hours.css +2 -2
  146. package/dist/collection/components/hy-opening-hours/hy-opening-hours.js +305 -308
  147. package/dist/collection/components/hy-opening-hours/hy-opening-hours.js.map +1 -0
  148. package/dist/collection/components/hy-opening-hours-content/hy-opening-hours-content.css +2 -2
  149. package/dist/collection/components/hy-opening-hours-content/hy-opening-hours-content.js +108 -107
  150. package/dist/collection/components/hy-opening-hours-content/hy-opening-hours-content.js.map +1 -0
  151. package/dist/collection/components/hy-person-card/hy-person-card.js +423 -438
  152. package/dist/collection/components/hy-person-card/hy-person-card.js.map +1 -0
  153. package/dist/collection/components/hy-prominent-image/hy-prominent-image.js +107 -100
  154. package/dist/collection/components/hy-prominent-image/hy-prominent-image.js.map +1 -0
  155. package/dist/collection/components/hy-quote/hy-quote.js +52 -51
  156. package/dist/collection/components/hy-quote/hy-quote.js.map +1 -0
  157. package/dist/collection/components/hy-search-field/hy-search-field.js +167 -167
  158. package/dist/collection/components/hy-search-field/hy-search-field.js.map +1 -0
  159. package/dist/collection/components/hy-shortcuts/hy-shortcuts.css +1 -1
  160. package/dist/collection/components/hy-shortcuts/hy-shortcuts.js +90 -87
  161. package/dist/collection/components/hy-shortcuts/hy-shortcuts.js.map +1 -0
  162. package/dist/collection/components/hy-table-container/hy-table-container.css +6 -6
  163. package/dist/collection/components/hy-table-container/hy-table-container.js +13 -10
  164. package/dist/collection/components/hy-table-container/hy-table-container.js.map +1 -0
  165. package/dist/collection/components/hy-tabs/hy-tabs.js +116 -111
  166. package/dist/collection/components/hy-tabs/hy-tabs.js.map +1 -0
  167. package/dist/collection/components/hy-tabs-item/hy-tabs-item.js +37 -28
  168. package/dist/collection/components/hy-tabs-item/hy-tabs-item.js.map +1 -0
  169. package/dist/collection/components/hy-tag/hy-tag.js +13 -11
  170. package/dist/collection/components/hy-tag/hy-tag.js.map +1 -0
  171. package/dist/collection/components/hy-twitter-feed/hy-twitter-feed.js +108 -128
  172. package/dist/collection/components/hy-twitter-feed/hy-twitter-feed.js.map +1 -0
  173. package/dist/collection/components/hy-two-columns/hy-two-columns.js +35 -33
  174. package/dist/collection/components/hy-two-columns/hy-two-columns.js.map +1 -0
  175. package/dist/collection/components/hy-user-login-form/hy-user-login-form.js +54 -46
  176. package/dist/collection/components/hy-user-login-form/hy-user-login-form.js.map +1 -0
  177. package/dist/collection/components/hy-video/hy-video.css +1 -1
  178. package/dist/collection/components/hy-video/hy-video.js +463 -500
  179. package/dist/collection/components/hy-video/hy-video.js.map +1 -0
  180. package/dist/collection/components/icon/AddToTodoList.js +2 -2
  181. package/dist/collection/components/icon/AddToTodoList.js.map +1 -0
  182. package/dist/collection/components/icon/Alert.js +2 -3
  183. package/dist/collection/components/icon/Alert.js.map +1 -0
  184. package/dist/collection/components/icon/Archive.js +2 -5
  185. package/dist/collection/components/icon/Archive.js.map +1 -0
  186. package/dist/collection/components/icon/Arrow.js +2 -2
  187. package/dist/collection/components/icon/Arrow.js.map +1 -0
  188. package/dist/collection/components/icon/ArrowDown.js +2 -2
  189. package/dist/collection/components/icon/ArrowDown.js.map +1 -0
  190. package/dist/collection/components/icon/ArrowRight.js +2 -7
  191. package/dist/collection/components/icon/ArrowRight.js.map +1 -0
  192. package/dist/collection/components/icon/ArrowUp.js +2 -2
  193. package/dist/collection/components/icon/ArrowUp.js.map +1 -0
  194. package/dist/collection/components/icon/Avatar.js +2 -2
  195. package/dist/collection/components/icon/Avatar.js.map +1 -0
  196. package/dist/collection/components/icon/AvatarGroup.js +2 -2
  197. package/dist/collection/components/icon/AvatarGroup.js.map +1 -0
  198. package/dist/collection/components/icon/Bachelor.js +2 -2
  199. package/dist/collection/components/icon/Bachelor.js.map +1 -0
  200. package/dist/collection/components/icon/BulletList.js +2 -2
  201. package/dist/collection/components/icon/BulletList.js.map +1 -0
  202. package/dist/collection/components/icon/Camera.js +2 -2
  203. package/dist/collection/components/icon/Camera.js.map +1 -0
  204. package/dist/collection/components/icon/CaretDown.js +2 -2
  205. package/dist/collection/components/icon/CaretDown.js.map +1 -0
  206. package/dist/collection/components/icon/CaretLeft.js +2 -2
  207. package/dist/collection/components/icon/CaretLeft.js.map +1 -0
  208. package/dist/collection/components/icon/CaretRight.js +2 -2
  209. package/dist/collection/components/icon/CaretRight.js.map +1 -0
  210. package/dist/collection/components/icon/CaretUp.js +2 -2
  211. package/dist/collection/components/icon/CaretUp.js.map +1 -0
  212. package/dist/collection/components/icon/Chat.js +2 -2
  213. package/dist/collection/components/icon/Chat.js.map +1 -0
  214. package/dist/collection/components/icon/CodeFork.js +2 -2
  215. package/dist/collection/components/icon/CodeFork.js.map +1 -0
  216. package/dist/collection/components/icon/Cogs.js +2 -2
  217. package/dist/collection/components/icon/Cogs.js.map +1 -0
  218. package/dist/collection/components/icon/Contentlink.js +2 -2
  219. package/dist/collection/components/icon/Contentlink.js.map +1 -0
  220. package/dist/collection/components/icon/Customlink.js +2 -2
  221. package/dist/collection/components/icon/Customlink.js.map +1 -0
  222. package/dist/collection/components/icon/Date.js +2 -2
  223. package/dist/collection/components/icon/Date.js.map +1 -0
  224. package/dist/collection/components/icon/Discover.js +2 -2
  225. package/dist/collection/components/icon/Discover.js.map +1 -0
  226. package/dist/collection/components/icon/Done.js +2 -2
  227. package/dist/collection/components/icon/Done.js.map +1 -0
  228. package/dist/collection/components/icon/Dot.js +2 -2
  229. package/dist/collection/components/icon/Dot.js.map +1 -0
  230. package/dist/collection/components/icon/DotArrowRight.js +2 -6
  231. package/dist/collection/components/icon/DotArrowRight.js.map +1 -0
  232. package/dist/collection/components/icon/Download.js +2 -2
  233. package/dist/collection/components/icon/Download.js.map +1 -0
  234. package/dist/collection/components/icon/Drag.js +2 -2
  235. package/dist/collection/components/icon/Drag.js.map +1 -0
  236. package/dist/collection/components/icon/Dragbutton.js +2 -2
  237. package/dist/collection/components/icon/Dragbutton.js.map +1 -0
  238. package/dist/collection/components/icon/DropDown.js +2 -2
  239. package/dist/collection/components/icon/DropDown.js.map +1 -0
  240. package/dist/collection/components/icon/Edit.js +2 -2
  241. package/dist/collection/components/icon/Edit.js.map +1 -0
  242. package/dist/collection/components/icon/EditEvent.js +2 -2
  243. package/dist/collection/components/icon/EditEvent.js.map +1 -0
  244. package/dist/collection/components/icon/Embed.js +2 -2
  245. package/dist/collection/components/icon/Embed.js.map +1 -0
  246. package/dist/collection/components/icon/Euro.js +2 -2
  247. package/dist/collection/components/icon/Euro.js.map +1 -0
  248. package/dist/collection/components/icon/Events.js +2 -2
  249. package/dist/collection/components/icon/Events.js.map +1 -0
  250. package/dist/collection/components/icon/ExternalLink.js +2 -2
  251. package/dist/collection/components/icon/ExternalLink.js.map +1 -0
  252. package/dist/collection/components/icon/EyeSlash.js +2 -2
  253. package/dist/collection/components/icon/EyeSlash.js.map +1 -0
  254. package/dist/collection/components/icon/Facebook.js +2 -2
  255. package/dist/collection/components/icon/Facebook.js.map +1 -0
  256. package/dist/collection/components/icon/Favorites.js +2 -2
  257. package/dist/collection/components/icon/Favorites.js.map +1 -0
  258. package/dist/collection/components/icon/Feed.js +2 -2
  259. package/dist/collection/components/icon/Feed.js.map +1 -0
  260. package/dist/collection/components/icon/FileText.js +2 -2
  261. package/dist/collection/components/icon/FileText.js.map +1 -0
  262. package/dist/collection/components/icon/FullScreen.js +2 -2
  263. package/dist/collection/components/icon/FullScreen.js.map +1 -0
  264. package/dist/collection/components/icon/Globe.js +2 -2
  265. package/dist/collection/components/icon/Globe.js.map +1 -0
  266. package/dist/collection/components/icon/GooglePlus.js +2 -2
  267. package/dist/collection/components/icon/GooglePlus.js.map +1 -0
  268. package/dist/collection/components/icon/Grid.js +2 -2
  269. package/dist/collection/components/icon/Grid.js.map +1 -0
  270. package/dist/collection/components/icon/Hamburger.js +2 -2
  271. package/dist/collection/components/icon/Hamburger.js.map +1 -0
  272. package/dist/collection/components/icon/Heart.js +2 -2
  273. package/dist/collection/components/icon/Heart.js.map +1 -0
  274. package/dist/collection/components/icon/HeartSupport.js +2 -2
  275. package/dist/collection/components/icon/HeartSupport.js.map +1 -0
  276. package/dist/collection/components/icon/Helsinginyliopisto.js +2 -2
  277. package/dist/collection/components/icon/Helsinginyliopisto.js.map +1 -0
  278. package/dist/collection/components/icon/Home.js +2 -2
  279. package/dist/collection/components/icon/Home.js.map +1 -0
  280. package/dist/collection/components/icon/HorizontalResize.js +2 -2
  281. package/dist/collection/components/icon/HorizontalResize.js.map +1 -0
  282. package/dist/collection/components/icon/HyLogo.js +2 -2
  283. package/dist/collection/components/icon/HyLogo.js.map +1 -0
  284. package/dist/collection/components/icon/IdNumber.js +2 -2
  285. package/dist/collection/components/icon/IdNumber.js.map +1 -0
  286. package/dist/collection/components/icon/Image.js +2 -2
  287. package/dist/collection/components/icon/Image.js.map +1 -0
  288. package/dist/collection/components/icon/ImageGallery.js +2 -2
  289. package/dist/collection/components/icon/ImageGallery.js.map +1 -0
  290. package/dist/collection/components/icon/Images.js +2 -2
  291. package/dist/collection/components/icon/Images.js.map +1 -0
  292. package/dist/collection/components/icon/Info.js +2 -2
  293. package/dist/collection/components/icon/Info.js.map +1 -0
  294. package/dist/collection/components/icon/InfoStroke.js +2 -2
  295. package/dist/collection/components/icon/InfoStroke.js.map +1 -0
  296. package/dist/collection/components/icon/Instagram.js +2 -2
  297. package/dist/collection/components/icon/Instagram.js.map +1 -0
  298. package/dist/collection/components/icon/LeikiList.js +2 -2
  299. package/dist/collection/components/icon/LeikiList.js.map +1 -0
  300. package/dist/collection/components/icon/LinkArrow.js +2 -2
  301. package/dist/collection/components/icon/LinkArrow.js.map +1 -0
  302. package/dist/collection/components/icon/LinkArrow1.js +2 -2
  303. package/dist/collection/components/icon/LinkArrow1.js.map +1 -0
  304. package/dist/collection/components/icon/LinkArrowDown.js +2 -2
  305. package/dist/collection/components/icon/LinkArrowDown.js.map +1 -0
  306. package/dist/collection/components/icon/LinkArrowLeft.js +2 -2
  307. package/dist/collection/components/icon/LinkArrowLeft.js.map +1 -0
  308. package/dist/collection/components/icon/LinkArrowOffsite.js +2 -2
  309. package/dist/collection/components/icon/LinkArrowOffsite.js.map +1 -0
  310. package/dist/collection/components/icon/LinkArrowUp.js +2 -2
  311. package/dist/collection/components/icon/LinkArrowUp.js.map +1 -0
  312. package/dist/collection/components/icon/Linkedin.js +2 -2
  313. package/dist/collection/components/icon/Linkedin.js.map +1 -0
  314. package/dist/collection/components/icon/List.js +2 -2
  315. package/dist/collection/components/icon/List.js.map +1 -0
  316. package/dist/collection/components/icon/ListAsBlocks.js +2 -2
  317. package/dist/collection/components/icon/ListAsBlocks.js.map +1 -0
  318. package/dist/collection/components/icon/ListStyleGrid.js +2 -10
  319. package/dist/collection/components/icon/ListStyleGrid.js.map +1 -0
  320. package/dist/collection/components/icon/ListStyleList.js +2 -5
  321. package/dist/collection/components/icon/ListStyleList.js.map +1 -0
  322. package/dist/collection/components/icon/Listoflinks.js +2 -2
  323. package/dist/collection/components/icon/Listoflinks.js.map +1 -0
  324. package/dist/collection/components/icon/Location.js +2 -2
  325. package/dist/collection/components/icon/Location.js.map +1 -0
  326. package/dist/collection/components/icon/Log.js +2 -2
  327. package/dist/collection/components/icon/Log.js.map +1 -0
  328. package/dist/collection/components/icon/Login.js +2 -2
  329. package/dist/collection/components/icon/Login.js.map +1 -0
  330. package/dist/collection/components/icon/Logout.js +2 -2
  331. package/dist/collection/components/icon/Logout.js.map +1 -0
  332. package/dist/collection/components/icon/MagnifyMinus.js +2 -2
  333. package/dist/collection/components/icon/MagnifyMinus.js.map +1 -0
  334. package/dist/collection/components/icon/MagnifyPlus.js +2 -2
  335. package/dist/collection/components/icon/MagnifyPlus.js.map +1 -0
  336. package/dist/collection/components/icon/Mail.js +2 -2
  337. package/dist/collection/components/icon/Mail.js.map +1 -0
  338. package/dist/collection/components/icon/Master.js +2 -2
  339. package/dist/collection/components/icon/Master.js.map +1 -0
  340. package/dist/collection/components/icon/Minus.js +2 -2
  341. package/dist/collection/components/icon/Minus.js.map +1 -0
  342. package/dist/collection/components/icon/Mobile.js +2 -2
  343. package/dist/collection/components/icon/Mobile.js.map +1 -0
  344. package/dist/collection/components/icon/Modify.js +2 -2
  345. package/dist/collection/components/icon/Modify.js.map +1 -0
  346. package/dist/collection/components/icon/NaviTriangle.js +2 -2
  347. package/dist/collection/components/icon/NaviTriangle.js.map +1 -0
  348. package/dist/collection/components/icon/NewGroup.js +2 -2
  349. package/dist/collection/components/icon/NewGroup.js.map +1 -0
  350. package/dist/collection/components/icon/NewPerson.js +2 -2
  351. package/dist/collection/components/icon/NewPerson.js.map +1 -0
  352. package/dist/collection/components/icon/Notification.js +2 -2
  353. package/dist/collection/components/icon/Notification.js.map +1 -0
  354. package/dist/collection/components/icon/OpinderLogo.js +2 -2
  355. package/dist/collection/components/icon/OpinderLogo.js.map +1 -0
  356. package/dist/collection/components/icon/OpinderLogoNew.js +2 -2
  357. package/dist/collection/components/icon/OpinderLogoNew.js.map +1 -0
  358. package/dist/collection/components/icon/Pdf.js +2 -2
  359. package/dist/collection/components/icon/Pdf.js.map +1 -0
  360. package/dist/collection/components/icon/People.js +2 -2
  361. package/dist/collection/components/icon/People.js.map +1 -0
  362. package/dist/collection/components/icon/PermissionAll.js +2 -2
  363. package/dist/collection/components/icon/PermissionAll.js.map +1 -0
  364. package/dist/collection/components/icon/PermissionGroup.js +2 -2
  365. package/dist/collection/components/icon/PermissionGroup.js.map +1 -0
  366. package/dist/collection/components/icon/PermissionPrivate.js +2 -2
  367. package/dist/collection/components/icon/PermissionPrivate.js.map +1 -0
  368. package/dist/collection/components/icon/Person.js +2 -2
  369. package/dist/collection/components/icon/Person.js.map +1 -0
  370. package/dist/collection/components/icon/PersonOutline.js +2 -2
  371. package/dist/collection/components/icon/PersonOutline.js.map +1 -0
  372. package/dist/collection/components/icon/Phone.js +2 -2
  373. package/dist/collection/components/icon/Phone.js.map +1 -0
  374. package/dist/collection/components/icon/Play.js +2 -2
  375. package/dist/collection/components/icon/Play.js.map +1 -0
  376. package/dist/collection/components/icon/Plus.js +2 -2
  377. package/dist/collection/components/icon/Plus.js.map +1 -0
  378. package/dist/collection/components/icon/Preview.js +2 -2
  379. package/dist/collection/components/icon/Preview.js.map +1 -0
  380. package/dist/collection/components/icon/Profile.js +2 -2
  381. package/dist/collection/components/icon/Profile.js.map +1 -0
  382. package/dist/collection/components/icon/Question.js +2 -2
  383. package/dist/collection/components/icon/Question.js.map +1 -0
  384. package/dist/collection/components/icon/Remove.js +2 -2
  385. package/dist/collection/components/icon/Remove.js.map +1 -0
  386. package/dist/collection/components/icon/Retweet.js +2 -2
  387. package/dist/collection/components/icon/Retweet.js.map +1 -0
  388. package/dist/collection/components/icon/RotateLeft.js +2 -2
  389. package/dist/collection/components/icon/RotateLeft.js.map +1 -0
  390. package/dist/collection/components/icon/RotateRight.js +2 -2
  391. package/dist/collection/components/icon/RotateRight.js.map +1 -0
  392. package/dist/collection/components/icon/Search.js +2 -2
  393. package/dist/collection/components/icon/Search.js.map +1 -0
  394. package/dist/collection/components/icon/Share.js +2 -2
  395. package/dist/collection/components/icon/Share.js.map +1 -0
  396. package/dist/collection/components/icon/SlimHamburgerMenu.js +2 -2
  397. package/dist/collection/components/icon/SlimHamburgerMenu.js.map +1 -0
  398. package/dist/collection/components/icon/SocialMedia.js +2 -2
  399. package/dist/collection/components/icon/SocialMedia.js.map +1 -0
  400. package/dist/collection/components/icon/SomeFacebook.js +2 -2
  401. package/dist/collection/components/icon/SomeFacebook.js.map +1 -0
  402. package/dist/collection/components/icon/SomeInstagram.js +2 -4
  403. package/dist/collection/components/icon/SomeInstagram.js.map +1 -0
  404. package/dist/collection/components/icon/SomeLinkedin.js +2 -2
  405. package/dist/collection/components/icon/SomeLinkedin.js.map +1 -0
  406. package/dist/collection/components/icon/SomeTwitter.js +2 -2
  407. package/dist/collection/components/icon/SomeTwitter.js.map +1 -0
  408. package/dist/collection/components/icon/SomeYoutube.js +2 -2
  409. package/dist/collection/components/icon/SomeYoutube.js.map +1 -0
  410. package/dist/collection/components/icon/Spinner.js +2 -2
  411. package/dist/collection/components/icon/Spinner.js.map +1 -0
  412. package/dist/collection/components/icon/Square.js +2 -2
  413. package/dist/collection/components/icon/Square.js.map +1 -0
  414. package/dist/collection/components/icon/SquareChecked.js +2 -2
  415. package/dist/collection/components/icon/SquareChecked.js.map +1 -0
  416. package/dist/collection/components/icon/Time.js +2 -2
  417. package/dist/collection/components/icon/Time.js.map +1 -0
  418. package/dist/collection/components/icon/TodoList.js +2 -2
  419. package/dist/collection/components/icon/TodoList.js.map +1 -0
  420. package/dist/collection/components/icon/Tour.js +2 -2
  421. package/dist/collection/components/icon/Tour.js.map +1 -0
  422. package/dist/collection/components/icon/Twitter.js +2 -2
  423. package/dist/collection/components/icon/Twitter.js.map +1 -0
  424. package/dist/collection/components/icon/TwitterLike.js +2 -2
  425. package/dist/collection/components/icon/TwitterLike.js.map +1 -0
  426. package/dist/collection/components/icon/UnitsAndFaculties.js +2 -2
  427. package/dist/collection/components/icon/UnitsAndFaculties.js.map +1 -0
  428. package/dist/collection/components/icon/Url.js +2 -2
  429. package/dist/collection/components/icon/Url.js.map +1 -0
  430. package/dist/collection/components/icon/Video.js +2 -2
  431. package/dist/collection/components/icon/Video.js.map +1 -0
  432. package/dist/collection/components/icon/Warning.js +2 -2
  433. package/dist/collection/components/icon/Warning.js.map +1 -0
  434. package/dist/collection/components/icon/Wrench.js +2 -2
  435. package/dist/collection/components/icon/Wrench.js.map +1 -0
  436. package/dist/collection/components/icon/Youtube.js +2 -2
  437. package/dist/collection/components/icon/Youtube.js.map +1 -0
  438. package/dist/collection/components/icon/allIcons.js +1 -0
  439. package/dist/collection/components/icon/allIcons.js.map +1 -0
  440. package/dist/collection/components/icon/icon.js +68 -60
  441. package/dist/collection/components/icon/icon.js.map +1 -0
  442. package/dist/collection/components/icon/icons.js +5 -8
  443. package/dist/collection/components/icon/icons.js.map +1 -0
  444. package/dist/collection/components/image/image.js +148 -141
  445. package/dist/collection/components/image/image.js.map +1 -0
  446. package/dist/collection/components/ingress/ingress.js +35 -30
  447. package/dist/collection/components/ingress/ingress.js.map +1 -0
  448. package/dist/collection/components/link/link.js +107 -99
  449. package/dist/collection/components/link/link.js.map +1 -0
  450. package/dist/collection/components/link-box/link-box.css +0 -1
  451. package/dist/collection/components/link-box/link-box.js +271 -272
  452. package/dist/collection/components/link-box/link-box.js.map +1 -0
  453. package/dist/collection/components/link-box-list/link-box-list.js +96 -89
  454. package/dist/collection/components/link-box-list/link-box-list.js.map +1 -0
  455. package/dist/collection/components/navigation/hy-menu-main-group/hy-menu-main-group.js +286 -290
  456. package/dist/collection/components/navigation/hy-menu-main-group/hy-menu-main-group.js.map +1 -0
  457. package/dist/collection/components/navigation/menu-language/menu-language.js +148 -138
  458. package/dist/collection/components/navigation/menu-language/menu-language.js.map +1 -0
  459. package/dist/collection/components/navigation/menu-language-item/menu-language-item.js +124 -114
  460. package/dist/collection/components/navigation/menu-language-item/menu-language-item.js.map +1 -0
  461. package/dist/collection/components/pagination/hy-pager/hy-pager.js +13 -9
  462. package/dist/collection/components/pagination/hy-pager/hy-pager.js.map +1 -0
  463. package/dist/collection/components/pagination/hy-pager-item/hy-pager-item.js +93 -95
  464. package/dist/collection/components/pagination/hy-pager-item/hy-pager-item.js.map +1 -0
  465. package/dist/collection/components/paragraph-text/paragraph-text-content.css +14 -14
  466. package/dist/collection/components/paragraph-text/paragraph-text-landing.css +8 -8
  467. package/dist/collection/components/paragraph-text/paragraph-text.css +22 -22
  468. package/dist/collection/components/paragraph-text/paragraph-text.js +73 -67
  469. package/dist/collection/components/paragraph-text/paragraph-text.js.map +1 -0
  470. package/dist/collection/components/person-profile/person-profile-listing/person-profile-listing.css +1 -1
  471. package/dist/collection/components/person-profile/person-profile-listing/person-profile.listing.js +128 -126
  472. package/dist/collection/components/person-profile/person-profile-listing/person-profile.listing.js.map +1 -0
  473. package/dist/collection/components/person-profile/person-profile.css +4 -4
  474. package/dist/collection/components/person-profile/person-profile.js +139 -182
  475. package/dist/collection/components/person-profile/person-profile.js.map +1 -0
  476. package/dist/collection/components/process/process.js +72 -62
  477. package/dist/collection/components/process/process.js.map +1 -0
  478. package/dist/collection/components/process-flow-box/process-flow-box.js +145 -148
  479. package/dist/collection/components/process-flow-box/process-flow-box.js.map +1 -0
  480. package/dist/collection/components/row/row.js +69 -72
  481. package/dist/collection/components/row/row.js.map +1 -0
  482. package/dist/collection/components/section-container/section-container.js +13 -9
  483. package/dist/collection/components/section-container/section-container.js.map +1 -0
  484. package/dist/collection/components/site-header/site-header.css +1 -1
  485. package/dist/collection/components/site-header/site-header.js +541 -560
  486. package/dist/collection/components/site-header/site-header.js.map +1 -0
  487. package/dist/collection/components/site-header/site-logo/site-logo.js +149 -148
  488. package/dist/collection/components/site-header/site-logo/site-logo.js.map +1 -0
  489. package/dist/collection/components/site-header/site-search/site-search.css +3 -3
  490. package/dist/collection/components/site-header/site-search/site-search.js +298 -312
  491. package/dist/collection/components/site-header/site-search/site-search.js.map +1 -0
  492. package/dist/collection/components/tiny-text/tiny-text.js +13 -9
  493. package/dist/collection/components/tiny-text/tiny-text.js.map +1 -0
  494. package/dist/collection/global/colors.js +1 -0
  495. package/dist/collection/global/colors.js.map +1 -0
  496. package/dist/collection/global/globalScript.js +1 -0
  497. package/dist/collection/global/globalScript.js.map +1 -0
  498. package/dist/collection/global/typography.js +1 -0
  499. package/dist/collection/global/typography.js.map +1 -0
  500. package/dist/collection/index.js +1 -0
  501. package/dist/collection/index.js.map +1 -0
  502. package/dist/collection/utils/utils.js +1 -0
  503. package/dist/collection/utils/utils.js.map +1 -0
  504. package/dist/esm/color-box_8.entry.js +14 -37
  505. package/dist/esm/color-box_8.entry.js.map +1 -0
  506. package/dist/esm/{globalScript-9d045b36.js → globalScript-4ad40215.js} +3 -1
  507. package/dist/esm/globalScript-4ad40215.js.map +1 -0
  508. package/dist/esm/huds-lib.js +10 -4
  509. package/dist/esm/huds-lib.js.map +1 -0
  510. package/dist/esm/hy-accordion-container_83.entry.js +389 -193
  511. package/dist/esm/hy-accordion-container_83.entry.js.map +1 -0
  512. package/dist/esm/hy-event-item.entry.js +7 -2
  513. package/dist/esm/hy-event-item.entry.js.map +1 -0
  514. package/dist/esm/hy-events.entry.js +7 -3
  515. package/dist/esm/hy-events.entry.js.map +1 -0
  516. package/dist/esm/{index-daaf0985.js → index-3a66d87e.js} +692 -288
  517. package/dist/esm/index-3a66d87e.js.map +1 -0
  518. package/dist/esm/index.js +2 -0
  519. package/dist/esm/index.js.map +1 -0
  520. package/dist/esm/loader.js +7 -4
  521. package/dist/esm/loader.js.map +1 -0
  522. package/dist/esm/polyfills/css-shim.js +1 -1
  523. package/dist/esm/{utils-7731bbdf.js → utils-43c56d92.js} +3 -1
  524. package/dist/esm/utils-43c56d92.js.map +1 -0
  525. package/dist/huds-lib/huds-lib.esm.js +2 -1
  526. package/dist/huds-lib/huds-lib.esm.js.map +1 -0
  527. package/dist/huds-lib/index.esm.js +2 -0
  528. package/dist/huds-lib/index.esm.js.map +1 -0
  529. package/dist/huds-lib/p-1aeae669.entry.js +2 -0
  530. package/dist/huds-lib/p-1aeae669.entry.js.map +1 -0
  531. package/dist/huds-lib/p-30e3190a.entry.js +88 -0
  532. package/dist/huds-lib/p-30e3190a.entry.js.map +1 -0
  533. package/dist/huds-lib/p-63584350.js +2 -0
  534. package/dist/huds-lib/p-63584350.js.map +1 -0
  535. package/dist/huds-lib/p-7b75f0ea.entry.js +2 -0
  536. package/dist/huds-lib/p-7b75f0ea.entry.js.map +1 -0
  537. package/dist/huds-lib/p-b02e49ad.js +2 -0
  538. package/dist/huds-lib/p-b02e49ad.js.map +1 -0
  539. package/dist/huds-lib/p-c8ed784d.entry.js +2 -0
  540. package/dist/huds-lib/p-c8ed784d.entry.js.map +1 -0
  541. package/dist/huds-lib/p-ff975a68.js +3 -0
  542. package/dist/huds-lib/p-ff975a68.js.map +1 -0
  543. package/dist/types/components/courses/hy-content-list-item/hy-content-list-item.d.ts +1 -1
  544. package/dist/types/components/person-profile/person-profile-listing/person-profile.listing.d.ts +1 -1
  545. package/dist/types/components.d.ts +68 -20
  546. package/dist/types/stencil-public-runtime.d.ts +92 -19
  547. package/dist/types/utils/utils.d.ts +4 -4
  548. package/loader/index.d.ts +11 -12
  549. package/loader/index.es2017.js +1 -0
  550. package/loader/index.js +2 -11
  551. package/loader/package.json +2 -1
  552. package/package.json +12 -11
  553. package/dist/huds-lib/p-04dcccdc.js +0 -1
  554. package/dist/huds-lib/p-0ea3ec9a.js +0 -1
  555. package/dist/huds-lib/p-2244fcda.entry.js +0 -1
  556. package/dist/huds-lib/p-aba9f82a.entry.js +0 -1
  557. package/dist/huds-lib/p-bf06c2eb.entry.js +0 -87
  558. package/dist/huds-lib/p-c68c36c3.entry.js +0 -1
  559. package/dist/huds-lib/p-f8697bf9.js +0 -1
@@ -1,4 +1,4 @@
1
- import { Component, h, Prop, Watch, State, Listen, Element } from '@stencil/core';
1
+ import { h } from '@stencil/core';
2
2
  import { ListItemVariants } from '../../utils/utils';
3
3
  let keys = {
4
4
  enter: 'Enter',
@@ -8,10 +8,22 @@ export class HyListItem {
8
8
  constructor() {
9
9
  this.isExpandedRelatedContent = false;
10
10
  this.variant = ListItemVariants.default;
11
+ this.itemType = undefined;
12
+ this.itemTitle = undefined;
13
+ this.itemDescription = undefined;
14
+ this.url = undefined;
11
15
  this.isExternal = false;
16
+ this.scLabel = undefined;
17
+ this.itemImageUrl = undefined;
18
+ this.itemImageAlt = undefined;
12
19
  this.disableLazy = false;
20
+ this.relatedLinksBlockTitle = undefined;
21
+ this.relatedLinks = undefined;
22
+ this.imageLabel = undefined;
13
23
  this.outGoingUrlLabel = 'Go to programme page';
24
+ this.additionalInfo = undefined;
14
25
  this.headerstyle = 'common';
26
+ this.sourceSet = undefined;
15
27
  this.truncateDescription = false;
16
28
  this.truncateLimit = 140;
17
29
  this._imageMinHeight = 0;
@@ -153,21 +165,9 @@ export class HyListItem {
153
165
  `hy-list-item__${this.variant}__info-container__outgoing-link`,
154
166
  `hy-list-item__${this.variant}__info-container__outgoing-link__${this.headerstyle}`,
155
167
  ].join(' ');
156
- return (h("article", null,
157
- h("a", { class: classAttributes, href: this.url, target: target, "aria-label": this.scLabel },
158
- h("div", { class: classInfoContainerAttributes },
159
- h("div", { class: classInfoContainerHeader },
160
- h("div", { class: "icon" },
161
- h("hy-icon", { icon: 'hy-icon-units-and-faculties', size: 18 })),
162
- this.itemType),
163
- h("div", { class: classInfoContainerTitle }, this.itemTitle),
164
- this.itemDescription && (h("div", { class: classInfoContainerDescription, innerHTML: this.truncateDescription
165
- ? truncate(this.itemDescription, this.truncateLimit)
166
- : this.itemDescription }))),
167
- h("div", { class: classInfoContainerOutgoingLink },
168
- h("span", { class: "icon" },
169
- h("hy-icon", { icon: 'hy-icon-done', size: 14 })),
170
- h("span", { class: "label" }, this.outGoingUrlLabel)))));
168
+ return (h("article", null, h("a", { class: classAttributes, href: this.url, target: target, "aria-label": this.scLabel }, h("div", { class: classInfoContainerAttributes }, h("div", { class: classInfoContainerHeader }, h("div", { class: "icon" }, h("hy-icon", { icon: 'hy-icon-units-and-faculties', size: 18 })), this.itemType), h("div", { class: classInfoContainerTitle }, this.itemTitle), this.itemDescription && (h("div", { class: classInfoContainerDescription, innerHTML: this.truncateDescription
169
+ ? truncate(this.itemDescription, this.truncateLimit)
170
+ : this.itemDescription }))), h("div", { class: classInfoContainerOutgoingLink }, h("span", { class: "icon" }, h("hy-icon", { icon: 'hy-icon-done', size: 14 })), h("span", { class: "label" }, this.outGoingUrlLabel)))));
171
171
  }
172
172
  case ListItemVariants.degreeProgramme: {
173
173
  const classImageContainerAttributes = [`hy-list-item__${this.variant}__image-container`].join(' ');
@@ -207,451 +207,429 @@ export class HyListItem {
207
207
  const accordionItemHref = '#' + titleAsId + '--title';
208
208
  const relatedLinksCount = this.relatedLinksBlockTitle && this.relatedLinksBlockTitle.length > 0 ? this._relatedLinks.length : '';
209
209
  return [
210
- h("article", { class: classWrapperAttributes },
211
- h("a", { class: classAttributes, href: this.url, target: target, "aria-label": this.scLabel },
212
- h("div", { class: classImageContainerAttributes },
213
- h("div", { class: classImageContainerImage }, this._sourceSet ? (h("picture", null,
214
- this._sourceSet.map((item) => (h("source", { srcSet: item.src, media: item.media, type: item.type, sizes: item.sizes ? item.sizes : '' }))),
215
- h("img", { loading: this.disableLazy ? 'eager' : 'lazy', "aria-hidden": "true", src: this.itemImageUrl, alt: this.itemImageAlt, style: {
216
- '--minheight': `${this._imageMinHeight}px`,
217
- '--minwidth': `${this._imageMinWidth}px`,
218
- } }))) : (h("img", { loading: this.disableLazy ? 'eager' : 'lazy', "aria-hidden": "true", src: this.itemImageUrl, alt: this.itemImageAlt, style: {
219
- '--minheight': `${this._imageMinHeight}px`,
220
- '--minwidth': `${this._imageMinWidth}px`,
221
- } }))),
222
- this.imageLabel && h("span", null, this.imageLabel)),
223
- h("div", { class: classInfoContainerAttributes },
224
- h("div", { class: classContentWrapper },
225
- h("div", { class: classInfoContainerTitle }, this.itemTitle),
226
- this.itemDescription && (h("div", { class: classInfoContainerDescription, innerHTML: this.itemDescription }))),
227
- h("div", { class: classMetadataWrapper },
228
- this._additionalInfo && (h("div", { class: classInfoContainerAdditionalInfoAttributes }, this._additionalInfo.map((x) => {
229
- let classInfoContainerAdditionalInfoItem = [
230
- `hy-list-item__${this.variant}__info-container__additional-info__item`,
231
- `hy-list-item__${this.variant}__info-container__additional-info__item__${this.headerstyle}`,
232
- `${x.isActive.toString() == 'true' ? 'active' : ''}`,
233
- ].join(' ');
234
- return h("div", { class: classInfoContainerAdditionalInfoItem }, x.text);
235
- }))),
236
- h("div", { class: classInfoContainerOutgoingLink },
237
- h("a", { href: this.url, target: target, "aria-label": this.scLabel, class: classInfoContainerOutgoingLinkUrl, tabindex: "-1" },
238
- h("span", { class: "label" }, this.outGoingUrlLabel),
239
- h("span", { class: "icon-wrapper" },
240
- h("div", { class: "icon" },
241
- h("hy-icon", { icon: 'hy-icon-arrow-to-right', size: 32 })))))))),
242
- this.relatedLinksBlockTitle && (h("div", { class: classRelatedInfoContainer },
243
- h("div", { class: classRelatedInfoHeading },
244
- h("a", { href: accordionItemHref, class: classRelatedInfoHeadingLink, tabindex: "-1" },
245
- h("button", { "aria-expanded": "false", "aria-controls": `${titleAsId}--content`, class: classRelatedInfoHeadingButton, id: `${titleAsId}--title` },
246
- h("span", { class: classRelatedInfoHeadingIcon },
247
- h("hy-icon", { icon: 'hy-icon-caret-down', size: 14 })),
248
- this.relatedLinksBlockTitle,
249
- " (",
250
- relatedLinksCount,
251
- ")"))),
252
- h("div", { class: classRelatedInfoContent, "aria-labelledBy": `${titleAsId}--title`, id: `${titleAsId}--content`, role: "region", "aria-hidden": "true" }, this._relatedLinks.map((x) => {
253
- let relatedLinkTarget = x.isExternal ? '_blank' : '_self';
254
- return (h("a", { class: classRelatedInfoLink, href: x.url, target: target, "aria-label": relatedLinkTarget }, x.label));
255
- }))))),
210
+ h("article", { class: classWrapperAttributes }, h("a", { class: classAttributes, href: this.url, target: target, "aria-label": this.scLabel }, h("div", { class: classImageContainerAttributes }, h("div", { class: classImageContainerImage }, this._sourceSet ? (h("picture", null, this._sourceSet.map((item) => (h("source", { srcSet: item.src, media: item.media, type: item.type, sizes: item.sizes ? item.sizes : '' }))), h("img", { loading: this.disableLazy ? 'eager' : 'lazy', "aria-hidden": "true", src: this.itemImageUrl, alt: this.itemImageAlt, style: {
211
+ '--minheight': `${this._imageMinHeight}px`,
212
+ '--minwidth': `${this._imageMinWidth}px`,
213
+ } }))) : (h("img", { loading: this.disableLazy ? 'eager' : 'lazy', "aria-hidden": "true", src: this.itemImageUrl, alt: this.itemImageAlt, style: {
214
+ '--minheight': `${this._imageMinHeight}px`,
215
+ '--minwidth': `${this._imageMinWidth}px`,
216
+ } }))), this.imageLabel && h("span", null, this.imageLabel)), h("div", { class: classInfoContainerAttributes }, h("div", { class: classContentWrapper }, h("div", { class: classInfoContainerTitle }, this.itemTitle), this.itemDescription && (h("div", { class: classInfoContainerDescription, innerHTML: this.itemDescription }))), h("div", { class: classMetadataWrapper }, this._additionalInfo && (h("div", { class: classInfoContainerAdditionalInfoAttributes }, this._additionalInfo.map((x) => {
217
+ let classInfoContainerAdditionalInfoItem = [
218
+ `hy-list-item__${this.variant}__info-container__additional-info__item`,
219
+ `hy-list-item__${this.variant}__info-container__additional-info__item__${this.headerstyle}`,
220
+ `${x.isActive.toString() == 'true' ? 'active' : ''}`,
221
+ ].join(' ');
222
+ return h("div", { class: classInfoContainerAdditionalInfoItem }, x.text);
223
+ }))), h("div", { class: classInfoContainerOutgoingLink }, h("a", { href: this.url, target: target, "aria-label": this.scLabel, class: classInfoContainerOutgoingLinkUrl, tabindex: "-1" }, h("span", { class: "label" }, this.outGoingUrlLabel), h("span", { class: "icon-wrapper" }, h("div", { class: "icon" }, h("hy-icon", { icon: 'hy-icon-arrow-to-right', size: 32 })))))))), this.relatedLinksBlockTitle && (h("div", { class: classRelatedInfoContainer }, h("div", { class: classRelatedInfoHeading }, h("a", { href: accordionItemHref, class: classRelatedInfoHeadingLink, tabindex: "-1" }, h("button", { "aria-expanded": "false", "aria-controls": `${titleAsId}--content`, class: classRelatedInfoHeadingButton, id: `${titleAsId}--title` }, h("span", { class: classRelatedInfoHeadingIcon }, h("hy-icon", { icon: 'hy-icon-caret-down', size: 14 })), this.relatedLinksBlockTitle, " (", relatedLinksCount, ")"))), h("div", { class: classRelatedInfoContent, "aria-labelledBy": `${titleAsId}--title`, id: `${titleAsId}--content`, role: "region", "aria-hidden": "true" }, this._relatedLinks.map((x) => {
224
+ let relatedLinkTarget = x.isExternal ? '_blank' : '_self';
225
+ return (h("a", { class: classRelatedInfoLink, href: x.url, target: target, "aria-label": relatedLinkTarget }, x.label));
226
+ }))))),
256
227
  ];
257
228
  }
258
229
  default: {
259
- return (h("article", null,
260
- h("a", { class: classAttributes, href: this.url, target: target, "aria-label": this.scLabel },
261
- h("div", { class: classInfoContainerAttributes },
262
- h("div", { class: classInfoContainerHeader }, this.itemType),
263
- h("div", { class: classInfoContainerTitle }, this.itemTitle),
264
- h("div", { class: classInfoContainerLinkContainer },
265
- h("span", { class: classInfoContainerLinkIcon },
266
- h("hy-icon", { icon: 'hy-icon-link', size: 15 })),
267
- h("div", { class: classInfoContainerLink }, this.url)),
268
- this.itemDescription && (h("div", { class: classInfoContainerDescription, innerHTML: this.itemDescription }))))));
230
+ return (h("article", null, h("a", { class: classAttributes, href: this.url, target: target, "aria-label": this.scLabel }, h("div", { class: classInfoContainerAttributes }, h("div", { class: classInfoContainerHeader }, this.itemType), h("div", { class: classInfoContainerTitle }, this.itemTitle), h("div", { class: classInfoContainerLinkContainer }, h("span", { class: classInfoContainerLinkIcon }, h("hy-icon", { icon: 'hy-icon-link', size: 15 })), h("div", { class: classInfoContainerLink }, this.url)), this.itemDescription && (h("div", { class: classInfoContainerDescription, innerHTML: this.itemDescription }))))));
269
231
  }
270
232
  }
271
233
  }
272
234
  static get is() { return "hy-list-item"; }
273
- static get originalStyleUrls() { return {
274
- "$": ["hy-list-item.scss"]
275
- }; }
276
- static get styleUrls() { return {
277
- "$": ["hy-list-item.css"]
278
- }; }
279
- static get properties() { return {
280
- "variant": {
281
- "type": "string",
282
- "mutable": false,
283
- "complexType": {
284
- "original": "ListItemVariants",
285
- "resolved": "ListItemVariants.default | ListItemVariants.degreeProgramme | ListItemVariants.position",
286
- "references": {
287
- "ListItemVariants": {
288
- "location": "import",
289
- "path": "../../utils/utils"
235
+ static get originalStyleUrls() {
236
+ return {
237
+ "$": ["hy-list-item.scss"]
238
+ };
239
+ }
240
+ static get styleUrls() {
241
+ return {
242
+ "$": ["hy-list-item.css"]
243
+ };
244
+ }
245
+ static get properties() {
246
+ return {
247
+ "variant": {
248
+ "type": "string",
249
+ "mutable": false,
250
+ "complexType": {
251
+ "original": "ListItemVariants",
252
+ "resolved": "ListItemVariants.default | ListItemVariants.degreeProgramme | ListItemVariants.position",
253
+ "references": {
254
+ "ListItemVariants": {
255
+ "location": "import",
256
+ "path": "../../utils/utils"
257
+ }
290
258
  }
291
- }
292
- },
293
- "required": false,
294
- "optional": false,
295
- "docs": {
296
- "tags": [],
297
- "text": ""
298
- },
299
- "attribute": "variant",
300
- "reflect": false,
301
- "defaultValue": "ListItemVariants.default"
302
- },
303
- "itemType": {
304
- "type": "string",
305
- "mutable": false,
306
- "complexType": {
307
- "original": "string",
308
- "resolved": "string",
309
- "references": {}
310
- },
311
- "required": false,
312
- "optional": true,
313
- "docs": {
314
- "tags": [],
315
- "text": ""
316
- },
317
- "attribute": "item-type",
318
- "reflect": false
319
- },
320
- "itemTitle": {
321
- "type": "string",
322
- "mutable": false,
323
- "complexType": {
324
- "original": "string",
325
- "resolved": "string",
326
- "references": {}
327
- },
328
- "required": false,
329
- "optional": true,
330
- "docs": {
331
- "tags": [],
332
- "text": ""
333
- },
334
- "attribute": "item-title",
335
- "reflect": false
336
- },
337
- "itemDescription": {
338
- "type": "any",
339
- "mutable": false,
340
- "complexType": {
341
- "original": "any",
342
- "resolved": "any",
343
- "references": {}
344
- },
345
- "required": false,
346
- "optional": true,
347
- "docs": {
348
- "tags": [],
349
- "text": ""
350
- },
351
- "attribute": "item-description",
352
- "reflect": false
353
- },
354
- "url": {
355
- "type": "string",
356
- "mutable": false,
357
- "complexType": {
358
- "original": "string",
359
- "resolved": "string",
360
- "references": {}
361
- },
362
- "required": false,
363
- "optional": true,
364
- "docs": {
365
- "tags": [],
366
- "text": ""
367
- },
368
- "attribute": "url",
369
- "reflect": false
370
- },
371
- "isExternal": {
372
- "type": "boolean",
373
- "mutable": false,
374
- "complexType": {
375
- "original": "boolean",
376
- "resolved": "boolean",
377
- "references": {}
378
- },
379
- "required": false,
380
- "optional": false,
381
- "docs": {
382
- "tags": [],
383
- "text": ""
384
- },
385
- "attribute": "is-external",
386
- "reflect": false,
387
- "defaultValue": "false"
388
- },
389
- "scLabel": {
390
- "type": "string",
391
- "mutable": false,
392
- "complexType": {
393
- "original": "string",
394
- "resolved": "string",
395
- "references": {}
396
- },
397
- "required": false,
398
- "optional": true,
399
- "docs": {
400
- "tags": [],
401
- "text": ""
402
- },
403
- "attribute": "sc-label",
404
- "reflect": false
405
- },
406
- "itemImageUrl": {
407
- "type": "string",
408
- "mutable": false,
409
- "complexType": {
410
- "original": "string",
411
- "resolved": "string",
412
- "references": {}
413
- },
414
- "required": false,
415
- "optional": true,
416
- "docs": {
417
- "tags": [],
418
- "text": ""
419
- },
420
- "attribute": "item-image-url",
421
- "reflect": false
422
- },
423
- "itemImageAlt": {
424
- "type": "string",
425
- "mutable": false,
426
- "complexType": {
427
- "original": "string",
428
- "resolved": "string",
429
- "references": {}
430
- },
431
- "required": false,
432
- "optional": true,
433
- "docs": {
434
- "tags": [],
435
- "text": ""
436
- },
437
- "attribute": "item-image-alt",
438
- "reflect": false
439
- },
440
- "disableLazy": {
441
- "type": "boolean",
442
- "mutable": false,
443
- "complexType": {
444
- "original": "boolean",
445
- "resolved": "boolean",
446
- "references": {}
447
- },
448
- "required": false,
449
- "optional": false,
450
- "docs": {
451
- "tags": [],
452
- "text": ""
453
- },
454
- "attribute": "disable-lazy",
455
- "reflect": false,
456
- "defaultValue": "false"
457
- },
458
- "relatedLinksBlockTitle": {
459
- "type": "string",
460
- "mutable": false,
461
- "complexType": {
462
- "original": "string",
463
- "resolved": "string",
464
- "references": {}
465
- },
466
- "required": false,
467
- "optional": true,
468
- "docs": {
469
- "tags": [],
470
- "text": ""
471
- },
472
- "attribute": "related-links-block-title",
473
- "reflect": false
474
- },
475
- "relatedLinks": {
476
- "type": "string",
477
- "mutable": false,
478
- "complexType": {
479
- "original": "RelatedLink[] | string",
480
- "resolved": "RelatedLink[] | string",
481
- "references": {
482
- "RelatedLink": {
483
- "location": "local"
259
+ },
260
+ "required": false,
261
+ "optional": false,
262
+ "docs": {
263
+ "tags": [],
264
+ "text": ""
265
+ },
266
+ "attribute": "variant",
267
+ "reflect": false,
268
+ "defaultValue": "ListItemVariants.default"
269
+ },
270
+ "itemType": {
271
+ "type": "string",
272
+ "mutable": false,
273
+ "complexType": {
274
+ "original": "string",
275
+ "resolved": "string",
276
+ "references": {}
277
+ },
278
+ "required": false,
279
+ "optional": true,
280
+ "docs": {
281
+ "tags": [],
282
+ "text": ""
283
+ },
284
+ "attribute": "item-type",
285
+ "reflect": false
286
+ },
287
+ "itemTitle": {
288
+ "type": "string",
289
+ "mutable": false,
290
+ "complexType": {
291
+ "original": "string",
292
+ "resolved": "string",
293
+ "references": {}
294
+ },
295
+ "required": false,
296
+ "optional": true,
297
+ "docs": {
298
+ "tags": [],
299
+ "text": ""
300
+ },
301
+ "attribute": "item-title",
302
+ "reflect": false
303
+ },
304
+ "itemDescription": {
305
+ "type": "any",
306
+ "mutable": false,
307
+ "complexType": {
308
+ "original": "any",
309
+ "resolved": "any",
310
+ "references": {}
311
+ },
312
+ "required": false,
313
+ "optional": true,
314
+ "docs": {
315
+ "tags": [],
316
+ "text": ""
317
+ },
318
+ "attribute": "item-description",
319
+ "reflect": false
320
+ },
321
+ "url": {
322
+ "type": "string",
323
+ "mutable": false,
324
+ "complexType": {
325
+ "original": "string",
326
+ "resolved": "string",
327
+ "references": {}
328
+ },
329
+ "required": false,
330
+ "optional": true,
331
+ "docs": {
332
+ "tags": [],
333
+ "text": ""
334
+ },
335
+ "attribute": "url",
336
+ "reflect": false
337
+ },
338
+ "isExternal": {
339
+ "type": "boolean",
340
+ "mutable": false,
341
+ "complexType": {
342
+ "original": "boolean",
343
+ "resolved": "boolean",
344
+ "references": {}
345
+ },
346
+ "required": false,
347
+ "optional": false,
348
+ "docs": {
349
+ "tags": [],
350
+ "text": ""
351
+ },
352
+ "attribute": "is-external",
353
+ "reflect": false,
354
+ "defaultValue": "false"
355
+ },
356
+ "scLabel": {
357
+ "type": "string",
358
+ "mutable": false,
359
+ "complexType": {
360
+ "original": "string",
361
+ "resolved": "string",
362
+ "references": {}
363
+ },
364
+ "required": false,
365
+ "optional": true,
366
+ "docs": {
367
+ "tags": [],
368
+ "text": ""
369
+ },
370
+ "attribute": "sc-label",
371
+ "reflect": false
372
+ },
373
+ "itemImageUrl": {
374
+ "type": "string",
375
+ "mutable": false,
376
+ "complexType": {
377
+ "original": "string",
378
+ "resolved": "string",
379
+ "references": {}
380
+ },
381
+ "required": false,
382
+ "optional": true,
383
+ "docs": {
384
+ "tags": [],
385
+ "text": ""
386
+ },
387
+ "attribute": "item-image-url",
388
+ "reflect": false
389
+ },
390
+ "itemImageAlt": {
391
+ "type": "string",
392
+ "mutable": false,
393
+ "complexType": {
394
+ "original": "string",
395
+ "resolved": "string",
396
+ "references": {}
397
+ },
398
+ "required": false,
399
+ "optional": true,
400
+ "docs": {
401
+ "tags": [],
402
+ "text": ""
403
+ },
404
+ "attribute": "item-image-alt",
405
+ "reflect": false
406
+ },
407
+ "disableLazy": {
408
+ "type": "boolean",
409
+ "mutable": false,
410
+ "complexType": {
411
+ "original": "boolean",
412
+ "resolved": "boolean",
413
+ "references": {}
414
+ },
415
+ "required": false,
416
+ "optional": false,
417
+ "docs": {
418
+ "tags": [],
419
+ "text": ""
420
+ },
421
+ "attribute": "disable-lazy",
422
+ "reflect": false,
423
+ "defaultValue": "false"
424
+ },
425
+ "relatedLinksBlockTitle": {
426
+ "type": "string",
427
+ "mutable": false,
428
+ "complexType": {
429
+ "original": "string",
430
+ "resolved": "string",
431
+ "references": {}
432
+ },
433
+ "required": false,
434
+ "optional": true,
435
+ "docs": {
436
+ "tags": [],
437
+ "text": ""
438
+ },
439
+ "attribute": "related-links-block-title",
440
+ "reflect": false
441
+ },
442
+ "relatedLinks": {
443
+ "type": "string",
444
+ "mutable": false,
445
+ "complexType": {
446
+ "original": "RelatedLink[] | string",
447
+ "resolved": "RelatedLink[] | string",
448
+ "references": {
449
+ "RelatedLink": {
450
+ "location": "local",
451
+ "path": "/builds/julkiset-sivut/design-system-lib/src/components/hy-list-item/hy-list-item.tsx"
452
+ }
484
453
  }
485
- }
486
- },
487
- "required": false,
488
- "optional": true,
489
- "docs": {
490
- "tags": [],
491
- "text": ""
492
- },
493
- "attribute": "related-links",
494
- "reflect": false
495
- },
496
- "imageLabel": {
497
- "type": "string",
498
- "mutable": false,
499
- "complexType": {
500
- "original": "string",
501
- "resolved": "string",
502
- "references": {}
503
- },
504
- "required": false,
505
- "optional": true,
506
- "docs": {
507
- "tags": [],
508
- "text": ""
509
- },
510
- "attribute": "image-label",
511
- "reflect": false
512
- },
513
- "outGoingUrlLabel": {
514
- "type": "string",
515
- "mutable": false,
516
- "complexType": {
517
- "original": "string",
518
- "resolved": "string",
519
- "references": {}
520
- },
521
- "required": false,
522
- "optional": true,
523
- "docs": {
524
- "tags": [],
525
- "text": ""
526
- },
527
- "attribute": "out-going-url-label",
528
- "reflect": false,
529
- "defaultValue": "'Go to programme page'"
530
- },
531
- "additionalInfo": {
532
- "type": "string",
533
- "mutable": false,
534
- "complexType": {
535
- "original": "AdditionalInfo[] | string",
536
- "resolved": "AdditionalInfo[] | string",
537
- "references": {
538
- "AdditionalInfo": {
539
- "location": "local"
454
+ },
455
+ "required": false,
456
+ "optional": true,
457
+ "docs": {
458
+ "tags": [],
459
+ "text": ""
460
+ },
461
+ "attribute": "related-links",
462
+ "reflect": false
463
+ },
464
+ "imageLabel": {
465
+ "type": "string",
466
+ "mutable": false,
467
+ "complexType": {
468
+ "original": "string",
469
+ "resolved": "string",
470
+ "references": {}
471
+ },
472
+ "required": false,
473
+ "optional": true,
474
+ "docs": {
475
+ "tags": [],
476
+ "text": ""
477
+ },
478
+ "attribute": "image-label",
479
+ "reflect": false
480
+ },
481
+ "outGoingUrlLabel": {
482
+ "type": "string",
483
+ "mutable": false,
484
+ "complexType": {
485
+ "original": "string",
486
+ "resolved": "string",
487
+ "references": {}
488
+ },
489
+ "required": false,
490
+ "optional": true,
491
+ "docs": {
492
+ "tags": [],
493
+ "text": ""
494
+ },
495
+ "attribute": "out-going-url-label",
496
+ "reflect": false,
497
+ "defaultValue": "'Go to programme page'"
498
+ },
499
+ "additionalInfo": {
500
+ "type": "string",
501
+ "mutable": false,
502
+ "complexType": {
503
+ "original": "AdditionalInfo[] | string",
504
+ "resolved": "AdditionalInfo[] | string",
505
+ "references": {
506
+ "AdditionalInfo": {
507
+ "location": "local",
508
+ "path": "/builds/julkiset-sivut/design-system-lib/src/components/hy-list-item/hy-list-item.tsx"
509
+ }
540
510
  }
541
- }
542
- },
543
- "required": false,
544
- "optional": true,
545
- "docs": {
546
- "tags": [],
547
- "text": ""
548
- },
549
- "attribute": "additional-info",
550
- "reflect": false
551
- },
552
- "headerstyle": {
553
- "type": "string",
554
- "mutable": false,
555
- "complexType": {
556
- "original": "string",
557
- "resolved": "string",
558
- "references": {}
559
- },
560
- "required": false,
561
- "optional": false,
562
- "docs": {
563
- "tags": [],
564
- "text": ""
565
- },
566
- "attribute": "headerstyle",
567
- "reflect": false,
568
- "defaultValue": "'common'"
569
- },
570
- "sourceSet": {
571
- "type": "string",
572
- "mutable": false,
573
- "complexType": {
574
- "original": "ImageSrcSet[] | string",
575
- "resolved": "ImageSrcSet[] | string",
576
- "references": {
577
- "ImageSrcSet": {
578
- "location": "local"
511
+ },
512
+ "required": false,
513
+ "optional": true,
514
+ "docs": {
515
+ "tags": [],
516
+ "text": ""
517
+ },
518
+ "attribute": "additional-info",
519
+ "reflect": false
520
+ },
521
+ "headerstyle": {
522
+ "type": "string",
523
+ "mutable": false,
524
+ "complexType": {
525
+ "original": "string",
526
+ "resolved": "string",
527
+ "references": {}
528
+ },
529
+ "required": false,
530
+ "optional": false,
531
+ "docs": {
532
+ "tags": [],
533
+ "text": ""
534
+ },
535
+ "attribute": "headerstyle",
536
+ "reflect": false,
537
+ "defaultValue": "'common'"
538
+ },
539
+ "sourceSet": {
540
+ "type": "string",
541
+ "mutable": false,
542
+ "complexType": {
543
+ "original": "ImageSrcSet[] | string",
544
+ "resolved": "ImageSrcSet[] | string",
545
+ "references": {
546
+ "ImageSrcSet": {
547
+ "location": "local",
548
+ "path": "/builds/julkiset-sivut/design-system-lib/src/components/hy-list-item/hy-list-item.tsx"
549
+ }
579
550
  }
580
- }
581
- },
582
- "required": false,
583
- "optional": false,
584
- "docs": {
585
- "tags": [],
586
- "text": ""
587
- },
588
- "attribute": "source-set",
589
- "reflect": false
590
- },
591
- "truncateDescription": {
592
- "type": "boolean",
593
- "mutable": false,
594
- "complexType": {
595
- "original": "boolean",
596
- "resolved": "boolean",
597
- "references": {}
598
- },
599
- "required": false,
600
- "optional": false,
601
- "docs": {
602
- "tags": [],
603
- "text": ""
604
- },
605
- "attribute": "truncate-description",
606
- "reflect": false,
607
- "defaultValue": "false"
608
- },
609
- "truncateLimit": {
610
- "type": "number",
611
- "mutable": false,
612
- "complexType": {
613
- "original": "number",
614
- "resolved": "number",
615
- "references": {}
616
- },
617
- "required": false,
618
- "optional": false,
619
- "docs": {
620
- "tags": [],
621
- "text": ""
622
- },
623
- "attribute": "truncate-limit",
624
- "reflect": false,
625
- "defaultValue": "140"
626
- }
627
- }; }
628
- static get states() { return {
629
- "isExpandedRelatedContent": {},
630
- "_imageMinHeight": {},
631
- "_imageMinWidth": {}
632
- }; }
551
+ },
552
+ "required": false,
553
+ "optional": false,
554
+ "docs": {
555
+ "tags": [],
556
+ "text": ""
557
+ },
558
+ "attribute": "source-set",
559
+ "reflect": false
560
+ },
561
+ "truncateDescription": {
562
+ "type": "boolean",
563
+ "mutable": false,
564
+ "complexType": {
565
+ "original": "boolean",
566
+ "resolved": "boolean",
567
+ "references": {}
568
+ },
569
+ "required": false,
570
+ "optional": false,
571
+ "docs": {
572
+ "tags": [],
573
+ "text": ""
574
+ },
575
+ "attribute": "truncate-description",
576
+ "reflect": false,
577
+ "defaultValue": "false"
578
+ },
579
+ "truncateLimit": {
580
+ "type": "number",
581
+ "mutable": false,
582
+ "complexType": {
583
+ "original": "number",
584
+ "resolved": "number",
585
+ "references": {}
586
+ },
587
+ "required": false,
588
+ "optional": false,
589
+ "docs": {
590
+ "tags": [],
591
+ "text": ""
592
+ },
593
+ "attribute": "truncate-limit",
594
+ "reflect": false,
595
+ "defaultValue": "140"
596
+ }
597
+ };
598
+ }
599
+ static get states() {
600
+ return {
601
+ "isExpandedRelatedContent": {},
602
+ "_imageMinHeight": {},
603
+ "_imageMinWidth": {}
604
+ };
605
+ }
633
606
  static get elementRef() { return "el"; }
634
- static get watchers() { return [{
635
- "propName": "relatedLinks",
636
- "methodName": "relatedLinksWatcher"
637
- }, {
638
- "propName": "additionalInfo",
639
- "methodName": "additionalInfoWatcher"
640
- }, {
641
- "propName": "sourceSet",
642
- "methodName": "srcSetWatcher"
643
- }]; }
644
- static get listeners() { return [{
645
- "name": "keydown",
646
- "method": "handleKeyDown",
647
- "target": undefined,
648
- "capture": false,
649
- "passive": false
650
- }, {
651
- "name": "click",
652
- "method": "handleClick",
653
- "target": undefined,
654
- "capture": false,
655
- "passive": false
656
- }]; }
607
+ static get watchers() {
608
+ return [{
609
+ "propName": "relatedLinks",
610
+ "methodName": "relatedLinksWatcher"
611
+ }, {
612
+ "propName": "additionalInfo",
613
+ "methodName": "additionalInfoWatcher"
614
+ }, {
615
+ "propName": "sourceSet",
616
+ "methodName": "srcSetWatcher"
617
+ }];
618
+ }
619
+ static get listeners() {
620
+ return [{
621
+ "name": "keydown",
622
+ "method": "handleKeyDown",
623
+ "target": undefined,
624
+ "capture": false,
625
+ "passive": false
626
+ }, {
627
+ "name": "click",
628
+ "method": "handleClick",
629
+ "target": undefined,
630
+ "capture": false,
631
+ "passive": false
632
+ }];
633
+ }
657
634
  }
635
+ //# sourceMappingURL=hy-list-item.js.map