@itcenteratunihelsinki/huds-lib 0.5.0 → 0.5.4

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 (421) hide show
  1. package/dist/cjs/huds-lib.cjs.js +1 -1
  2. package/dist/cjs/hy-accordion-container.cjs.entry.js +1 -1
  3. package/dist/cjs/hy-accordion-item.cjs.entry.js +2 -2
  4. package/dist/cjs/hy-adjacent-image-text.cjs.entry.js +1 -1
  5. package/dist/cjs/hy-anchor-link-list.cjs.entry.js +1 -1
  6. package/dist/cjs/hy-badge.cjs.entry.js +1 -1
  7. package/dist/cjs/hy-banner.cjs.entry.js +2 -2
  8. package/dist/cjs/hy-box.cjs.entry.js +1 -1
  9. package/dist/cjs/hy-breadcrumbs.cjs.entry.js +2 -2
  10. package/dist/cjs/hy-button.cjs.entry.js +1 -1
  11. package/dist/cjs/hy-checkbox.cjs.entry.js +2 -2
  12. package/dist/cjs/hy-collaboration.cjs.entry.js +1 -1
  13. package/dist/cjs/hy-content-list-item.cjs.entry.js +9 -3
  14. package/dist/cjs/hy-content-list.cjs.entry.js +40 -37
  15. package/dist/cjs/hy-crisis-banner.cjs.entry.js +1 -1
  16. package/dist/cjs/hy-cta-button.cjs.entry.js +2 -10
  17. package/dist/cjs/hy-cta-link.cjs.entry.js +4 -22
  18. package/dist/cjs/hy-desktop-menu-links.cjs.entry.js +2 -2
  19. package/dist/cjs/hy-dropdown.cjs.entry.js +1 -1
  20. package/dist/cjs/hy-filter-group-item.cjs.entry.js +1 -1
  21. package/dist/cjs/hy-filter-group.cjs.entry.js +1 -1
  22. package/dist/cjs/hy-filter-list-type.cjs.entry.js +2 -2
  23. package/dist/cjs/hy-filter-visibility-tool.cjs.entry.js +1 -1
  24. package/dist/cjs/hy-footer_5.cjs.entry.js +6 -6
  25. package/dist/cjs/hy-general-list_2.cjs.entry.js +3 -3
  26. package/dist/cjs/hy-grid-container.cjs.entry.js +1 -1
  27. package/dist/cjs/hy-grid-item.cjs.entry.js +2 -2
  28. package/dist/cjs/hy-grid-row.cjs.entry.js +1 -1
  29. package/dist/cjs/hy-heading.cjs.entry.js +3 -3
  30. package/dist/cjs/hy-hero.cjs.entry.js +23 -130
  31. package/dist/cjs/hy-image.cjs.entry.js +1 -1
  32. package/dist/cjs/hy-ingress.cjs.entry.js +1 -1
  33. package/dist/cjs/hy-introduction.cjs.entry.js +2 -2
  34. package/dist/cjs/hy-key-figure-group.cjs.entry.js +2 -2
  35. package/dist/cjs/hy-key-figure.cjs.entry.js +2 -2
  36. package/dist/cjs/hy-key-highlight-group.cjs.entry.js +2 -2
  37. package/dist/cjs/hy-key-highlight.cjs.entry.js +2 -2
  38. package/dist/cjs/hy-large-process-flow-phase.cjs.entry.js +1 -1
  39. package/dist/cjs/hy-large-process-flow.cjs.entry.js +2 -2
  40. package/dist/cjs/hy-link-box-list.cjs.entry.js +2 -2
  41. package/dist/cjs/hy-link-box.cjs.entry.js +2 -2
  42. package/dist/cjs/hy-link-list.cjs.entry.js +9 -6
  43. package/dist/cjs/hy-link.cjs.entry.js +2 -2
  44. package/dist/cjs/hy-list-item.cjs.entry.js +2 -2
  45. package/dist/cjs/hy-logo-grid-item.cjs.entry.js +30 -0
  46. package/dist/cjs/hy-logo-grid.cjs.entry.js +5 -9
  47. package/dist/cjs/hy-main-content-wrapper.cjs.entry.js +1 -1
  48. package/dist/cjs/hy-main.cjs.entry.js +1 -1
  49. package/dist/cjs/hy-menu-item-sidebar.cjs.entry.js +2 -2
  50. package/dist/cjs/hy-menu-item.cjs.entry.js +2 -2
  51. package/dist/cjs/hy-menu-language-item.cjs.entry.js +1 -1
  52. package/dist/cjs/hy-menu-language_2.cjs.entry.js +2 -2
  53. package/dist/cjs/hy-menu-level-container.cjs.entry.js +2 -2
  54. package/dist/cjs/hy-menu-main-group.cjs.entry.js +2 -2
  55. package/dist/cjs/hy-menu-sidebar.cjs.entry.js +2 -2
  56. package/dist/cjs/hy-menu.cjs.entry.js +2 -2
  57. package/dist/cjs/hy-opening-hours-content.cjs.entry.js +1 -1
  58. package/dist/cjs/hy-opening-hours.cjs.entry.js +2 -2
  59. package/dist/cjs/hy-pager-item.cjs.entry.js +2 -2
  60. package/dist/cjs/hy-pager.cjs.entry.js +1 -1
  61. package/dist/cjs/hy-paragraph-text.cjs.entry.js +4 -4
  62. package/dist/cjs/hy-person-card.cjs.entry.js +2 -2
  63. package/dist/cjs/hy-process-flow-box.cjs.entry.js +2 -2
  64. package/dist/cjs/hy-process.cjs.entry.js +2 -2
  65. package/dist/cjs/hy-prominent-image.cjs.entry.js +1 -1
  66. package/dist/cjs/hy-quote.cjs.entry.js +1 -1
  67. package/dist/cjs/hy-search-field.cjs.entry.js +2 -2
  68. package/dist/cjs/hy-section-container.cjs.entry.js +1 -1
  69. package/dist/cjs/hy-shortcuts.cjs.entry.js +2 -2
  70. package/dist/cjs/hy-site-header_3.cjs.entry.js +4 -4
  71. package/dist/cjs/hy-table-container.cjs.entry.js +1 -1
  72. package/dist/cjs/hy-tabs-item.cjs.entry.js +1 -1
  73. package/dist/cjs/hy-tabs.cjs.entry.js +1 -1
  74. package/dist/cjs/hy-tag.cjs.entry.js +1 -1
  75. package/dist/cjs/hy-tiny-text.cjs.entry.js +1 -1
  76. package/dist/cjs/hy-two-columns.cjs.entry.js +1 -1
  77. package/dist/cjs/hy-user-login-form.cjs.entry.js +2 -2
  78. package/dist/cjs/hy-video.cjs.entry.js +2 -2
  79. package/dist/cjs/loader.cjs.js +1 -1
  80. package/dist/cjs/{utils-250efadd.js → utils-f2f5569b.js} +14 -0
  81. package/dist/collection/collection-manifest.json +1 -0
  82. package/dist/collection/components/accordion-container/accordion-container.css +2 -0
  83. package/dist/collection/components/accordion-item/accordion-item.css +2 -0
  84. package/dist/collection/components/adjacent-image-text/adjacent-image-text.css +2 -0
  85. package/dist/collection/components/button/button.css +2 -0
  86. package/dist/collection/components/courses/hy-content-list/hy-content-list.css +2 -0
  87. package/dist/collection/components/courses/hy-content-list/hy-content-list.js +62 -36
  88. package/dist/collection/components/courses/hy-content-list-item/hy-content-list-item.css +10 -0
  89. package/dist/collection/components/courses/hy-content-list-item/hy-content-list-item.js +32 -3
  90. package/dist/collection/components/cta-button/cta-button.css +101 -138
  91. package/dist/collection/components/cta-button/cta-button.js +1 -9
  92. package/dist/collection/components/cta-link/cta-link.css +21 -121
  93. package/dist/collection/components/cta-link/cta-link.js +7 -63
  94. package/dist/collection/components/footer/hy-footer/hy-footer.css +2 -0
  95. package/dist/collection/components/footer/hy-footer-action/hy-footer-action.css +2 -0
  96. package/dist/collection/components/footer/hy-footer-base/hy-footer-base.css +2 -0
  97. package/dist/collection/components/footer/hy-footer-info/hy-footer-info.css +2 -0
  98. package/dist/collection/components/footer/hy-footer-link-item/hy-footer-link-item.css +2 -0
  99. package/dist/collection/components/grid-container/grid-container.css +2 -0
  100. package/dist/collection/components/grid-item/grid-item.css +2 -0
  101. package/dist/collection/components/grid-row/grid-row.css +2 -0
  102. package/dist/collection/components/heading/heading-fw.css +6 -75
  103. package/dist/collection/components/heading/heading.css +6 -75
  104. package/dist/collection/components/heading/heading.js +1 -1
  105. package/dist/collection/components/hy-anchor-link-list/hy-anchor-link-list.css +2 -0
  106. package/dist/collection/components/hy-badge/hy-badge.css +2 -0
  107. package/dist/collection/components/hy-banner/hy-banner.css +2 -0
  108. package/dist/collection/components/hy-box/hy-box.css +2 -0
  109. package/dist/collection/components/hy-breadcrumbs/hy-breadcrumbs.css +2 -0
  110. package/dist/collection/components/hy-checkbox/hy-checkbox.css +2 -0
  111. package/dist/collection/components/hy-collaboration/hy-collaboration.css +2 -0
  112. package/dist/collection/components/hy-crisis-banner/hy-crisis-banner.css +2 -0
  113. package/dist/collection/components/hy-dropdown/hy-dropdown.css +2 -0
  114. package/dist/collection/components/hy-filter-group/hy-filter-group.css +2 -0
  115. package/dist/collection/components/hy-filter-list-type/hy-filter-list-type.css +2 -0
  116. package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.css +2 -0
  117. package/dist/collection/components/hy-general-list/hy-general-list.css +2 -0
  118. package/dist/collection/components/hy-general-list-item/hy-general-list-item.css +2 -0
  119. package/dist/collection/components/hy-hero/hy-hero.css +129 -712
  120. package/dist/collection/components/hy-hero/hy-hero.js +56 -168
  121. package/dist/collection/components/hy-introduction/hy-introduction.css +2 -0
  122. package/dist/collection/components/hy-key-figure/hy-key-figure.css +2 -0
  123. package/dist/collection/components/hy-key-figure-group/hy-key-figure-group.css +2 -0
  124. package/dist/collection/components/hy-key-highlight/hy-key-highlight.css +2 -0
  125. package/dist/collection/components/hy-key-highlight-group/hy-key-highlight-group.css +2 -0
  126. package/dist/collection/components/hy-large-process-flow/hy-large-process-flow.css +2 -0
  127. package/dist/collection/components/hy-large-process-flow-phase/hy-large-process-flow-phase.css +2 -0
  128. package/dist/collection/components/hy-link-list/hy-link-list.css +223 -14
  129. package/dist/collection/components/hy-link-list/hy-link-list.js +45 -7
  130. package/dist/collection/components/hy-list-item/hy-list-item.css +2 -0
  131. package/dist/collection/components/hy-logo-grid/hy-logo-grid.css +2 -0
  132. package/dist/collection/components/hy-logo-grid/hy-logo-grid.item.js +64 -0
  133. package/dist/collection/components/hy-logo-grid/hy-logo-grid.js +3 -27
  134. package/dist/collection/components/hy-main/hy-main.css +2 -0
  135. package/dist/collection/components/hy-main-content-wrapper/hy-main-content-wrapper.css +2 -0
  136. package/dist/collection/components/hy-opening-hours/hy-opening-hours.css +2 -0
  137. package/dist/collection/components/hy-opening-hours-content/hy-opening-hours-content.css +2 -0
  138. package/dist/collection/components/hy-person-card/hy-person-card.css +2 -0
  139. package/dist/collection/components/hy-prominent-image/hy-prominent-image.css +2 -0
  140. package/dist/collection/components/hy-quote/hy-quote.css +2 -0
  141. package/dist/collection/components/hy-search-field/hy-search-field.css +2 -0
  142. package/dist/collection/components/hy-shortcuts/hy-shortcuts.css +2 -0
  143. package/dist/collection/components/hy-table-container/hy-table-container.css +2 -0
  144. package/dist/collection/components/hy-tabs/hy-tabs.css +2 -0
  145. package/dist/collection/components/hy-tabs-item/hy-tabs-item.css +2 -0
  146. package/dist/collection/components/hy-tag/hy-tag.css +2 -0
  147. package/dist/collection/components/hy-two-columns/hy-two-columns.css +2 -0
  148. package/dist/collection/components/hy-user-login-form/hy-user-login-form.css +2 -0
  149. package/dist/collection/components/hy-video/hy-video.css +2 -0
  150. package/dist/collection/components/image/image.css +2 -0
  151. package/dist/collection/components/ingress/ingress.css +2 -0
  152. package/dist/collection/components/link/link.css +2 -0
  153. package/dist/collection/components/link-box/link-box.css +2 -0
  154. package/dist/collection/components/link-box-list/link-box-list.css +2 -0
  155. package/dist/collection/components/navigation/hy-menu-main-group/hy-menu-main-group.css +2 -0
  156. package/dist/collection/components/navigation/menu/menu.css +2 -0
  157. package/dist/collection/components/navigation/menu-item/menu-item.css +2 -0
  158. package/dist/collection/components/navigation/menu-item-sidebar/menu-item-sidebar.css +2 -0
  159. package/dist/collection/components/navigation/menu-language/menu-language.css +2 -0
  160. package/dist/collection/components/navigation/menu-language-item/menu-language-item.css +2 -0
  161. package/dist/collection/components/navigation/menu-level-container/menu-level-container.css +2 -0
  162. package/dist/collection/components/navigation/menu-mobile-breadcrumb/menu-mobile-breadcrumb.css +2 -0
  163. package/dist/collection/components/navigation/menu-sidebar/menu-sidebar.css +2 -0
  164. package/dist/collection/components/pagination/hy-pager/hy-pager.css +2 -0
  165. package/dist/collection/components/pagination/hy-pager-item/hy-pager-item.css +2 -0
  166. package/dist/collection/components/paragraph-text/paragraph-text-content.css +2 -0
  167. package/dist/collection/components/paragraph-text/paragraph-text-landing.css +2 -0
  168. package/dist/collection/components/paragraph-text/paragraph-text.css +7 -0
  169. package/dist/collection/components/paragraph-text/paragraph-text.js +1 -2
  170. package/dist/collection/components/process/process.css +2 -0
  171. package/dist/collection/components/process-flow-box/process-flow-box.css +2 -0
  172. package/dist/collection/components/section-container/section-container.css +2 -0
  173. package/dist/collection/components/site-header/hy-desktop-menu-links/hy-desktop-menu-links.css +2 -0
  174. package/dist/collection/components/site-header/site-header.css +2 -0
  175. package/dist/collection/components/site-header/site-logo/site-logo.css +2 -0
  176. package/dist/collection/components/site-header/site-search/site-search.css +2 -0
  177. package/dist/collection/components/tiny-text/tiny-text.css +2 -0
  178. package/dist/collection/utils/utils.js +14 -0
  179. package/dist/esm/huds-lib.js +1 -1
  180. package/dist/esm/hy-accordion-container.entry.js +1 -1
  181. package/dist/esm/hy-accordion-item.entry.js +2 -2
  182. package/dist/esm/hy-adjacent-image-text.entry.js +1 -1
  183. package/dist/esm/hy-anchor-link-list.entry.js +1 -1
  184. package/dist/esm/hy-badge.entry.js +1 -1
  185. package/dist/esm/hy-banner.entry.js +2 -2
  186. package/dist/esm/hy-box.entry.js +1 -1
  187. package/dist/esm/hy-breadcrumbs.entry.js +2 -2
  188. package/dist/esm/hy-button.entry.js +1 -1
  189. package/dist/esm/hy-checkbox.entry.js +2 -2
  190. package/dist/esm/hy-collaboration.entry.js +1 -1
  191. package/dist/esm/hy-content-list-item.entry.js +9 -3
  192. package/dist/esm/hy-content-list.entry.js +40 -37
  193. package/dist/esm/hy-crisis-banner.entry.js +1 -1
  194. package/dist/esm/hy-cta-button.entry.js +2 -10
  195. package/dist/esm/hy-cta-link.entry.js +4 -22
  196. package/dist/esm/hy-desktop-menu-links.entry.js +2 -2
  197. package/dist/esm/hy-dropdown.entry.js +1 -1
  198. package/dist/esm/hy-filter-group-item.entry.js +1 -1
  199. package/dist/esm/hy-filter-group.entry.js +1 -1
  200. package/dist/esm/hy-filter-list-type.entry.js +2 -2
  201. package/dist/esm/hy-filter-visibility-tool.entry.js +1 -1
  202. package/dist/esm/hy-footer_5.entry.js +6 -6
  203. package/dist/esm/hy-general-list_2.entry.js +3 -3
  204. package/dist/esm/hy-grid-container.entry.js +1 -1
  205. package/dist/esm/hy-grid-item.entry.js +2 -2
  206. package/dist/esm/hy-grid-row.entry.js +1 -1
  207. package/dist/esm/hy-heading.entry.js +3 -3
  208. package/dist/esm/hy-hero.entry.js +23 -130
  209. package/dist/esm/hy-image.entry.js +1 -1
  210. package/dist/esm/hy-ingress.entry.js +1 -1
  211. package/dist/esm/hy-introduction.entry.js +2 -2
  212. package/dist/esm/hy-key-figure-group.entry.js +2 -2
  213. package/dist/esm/hy-key-figure.entry.js +2 -2
  214. package/dist/esm/hy-key-highlight-group.entry.js +2 -2
  215. package/dist/esm/hy-key-highlight.entry.js +2 -2
  216. package/dist/esm/hy-large-process-flow-phase.entry.js +1 -1
  217. package/dist/esm/hy-large-process-flow.entry.js +2 -2
  218. package/dist/esm/hy-link-box-list.entry.js +2 -2
  219. package/dist/esm/hy-link-box.entry.js +2 -2
  220. package/dist/esm/hy-link-list.entry.js +9 -6
  221. package/dist/esm/hy-link.entry.js +2 -2
  222. package/dist/esm/hy-list-item.entry.js +2 -2
  223. package/dist/esm/hy-logo-grid-item.entry.js +26 -0
  224. package/dist/esm/hy-logo-grid.entry.js +5 -9
  225. package/dist/esm/hy-main-content-wrapper.entry.js +1 -1
  226. package/dist/esm/hy-main.entry.js +1 -1
  227. package/dist/esm/hy-menu-item-sidebar.entry.js +2 -2
  228. package/dist/esm/hy-menu-item.entry.js +2 -2
  229. package/dist/esm/hy-menu-language-item.entry.js +1 -1
  230. package/dist/esm/hy-menu-language_2.entry.js +2 -2
  231. package/dist/esm/hy-menu-level-container.entry.js +2 -2
  232. package/dist/esm/hy-menu-main-group.entry.js +2 -2
  233. package/dist/esm/hy-menu-sidebar.entry.js +2 -2
  234. package/dist/esm/hy-menu.entry.js +2 -2
  235. package/dist/esm/hy-opening-hours-content.entry.js +1 -1
  236. package/dist/esm/hy-opening-hours.entry.js +2 -2
  237. package/dist/esm/hy-pager-item.entry.js +2 -2
  238. package/dist/esm/hy-pager.entry.js +1 -1
  239. package/dist/esm/hy-paragraph-text.entry.js +4 -4
  240. package/dist/esm/hy-person-card.entry.js +2 -2
  241. package/dist/esm/hy-process-flow-box.entry.js +2 -2
  242. package/dist/esm/hy-process.entry.js +2 -2
  243. package/dist/esm/hy-prominent-image.entry.js +1 -1
  244. package/dist/esm/hy-quote.entry.js +1 -1
  245. package/dist/esm/hy-search-field.entry.js +2 -2
  246. package/dist/esm/hy-section-container.entry.js +1 -1
  247. package/dist/esm/hy-shortcuts.entry.js +2 -2
  248. package/dist/esm/hy-site-header_3.entry.js +4 -4
  249. package/dist/esm/hy-table-container.entry.js +1 -1
  250. package/dist/esm/hy-tabs-item.entry.js +1 -1
  251. package/dist/esm/hy-tabs.entry.js +1 -1
  252. package/dist/esm/hy-tag.entry.js +1 -1
  253. package/dist/esm/hy-tiny-text.entry.js +1 -1
  254. package/dist/esm/hy-two-columns.entry.js +1 -1
  255. package/dist/esm/hy-user-login-form.entry.js +2 -2
  256. package/dist/esm/hy-video.entry.js +2 -2
  257. package/dist/esm/loader.js +1 -1
  258. package/dist/esm/{utils-8abfa3c2.js → utils-5edb511a.js} +15 -1
  259. package/dist/huds-lib/huds-lib.css +1 -1
  260. package/dist/huds-lib/huds-lib.esm.js +1 -1
  261. package/dist/huds-lib/p-031d3bf8.entry.js +1 -0
  262. package/dist/huds-lib/{p-4d4f7c93.entry.js → p-039f663c.entry.js} +1 -1
  263. package/dist/huds-lib/p-0523053d.entry.js +1 -0
  264. package/dist/huds-lib/p-06a18d92.entry.js +1 -0
  265. package/dist/huds-lib/p-0c682a0e.entry.js +1 -0
  266. package/dist/huds-lib/{p-94d8d10a.entry.js → p-0f50c3f9.entry.js} +1 -1
  267. package/dist/huds-lib/p-124131e3.entry.js +1 -0
  268. package/dist/huds-lib/p-1296897a.entry.js +1 -0
  269. package/dist/huds-lib/p-20a265d7.js +1 -0
  270. package/dist/huds-lib/p-23820e91.entry.js +1 -0
  271. package/dist/huds-lib/p-253f796c.entry.js +1 -0
  272. package/dist/huds-lib/p-2ae655ad.entry.js +1 -0
  273. package/dist/huds-lib/p-2ee57761.entry.js +1 -0
  274. package/dist/huds-lib/p-31ff02c7.entry.js +1 -0
  275. package/dist/huds-lib/{p-c3f5d0ce.entry.js → p-35bc6516.entry.js} +1 -1
  276. package/dist/huds-lib/p-3637543d.entry.js +1 -0
  277. package/dist/huds-lib/p-3663dfa6.entry.js +1 -0
  278. package/dist/huds-lib/p-381e756f.entry.js +1 -0
  279. package/dist/huds-lib/p-40da4ea2.entry.js +1 -0
  280. package/dist/huds-lib/p-4539ca8d.entry.js +1 -0
  281. package/dist/huds-lib/p-485099a1.entry.js +1 -0
  282. package/dist/huds-lib/p-499b6c19.entry.js +1 -0
  283. package/dist/huds-lib/p-4c8a98c2.entry.js +1 -0
  284. package/dist/huds-lib/p-57aaf7d3.entry.js +1 -0
  285. package/dist/huds-lib/p-57ab4e6e.entry.js +1 -0
  286. package/dist/huds-lib/p-5a95b265.entry.js +1 -0
  287. package/dist/huds-lib/p-6053432d.entry.js +1 -0
  288. package/dist/huds-lib/p-636002e9.entry.js +1 -0
  289. package/dist/huds-lib/p-665bab39.entry.js +1 -0
  290. package/dist/huds-lib/p-69bb03b5.entry.js +1 -0
  291. package/dist/huds-lib/p-69fdd152.entry.js +1 -0
  292. package/dist/huds-lib/p-70fcc954.entry.js +1 -0
  293. package/dist/huds-lib/p-711691d9.entry.js +1 -0
  294. package/dist/huds-lib/p-727a9714.entry.js +1 -0
  295. package/dist/huds-lib/p-7b16ec44.entry.js +1 -0
  296. package/dist/huds-lib/{p-0f8df159.entry.js → p-7b2c2481.entry.js} +1 -1
  297. package/dist/huds-lib/p-7d777e18.entry.js +1 -0
  298. package/dist/huds-lib/p-8942d01b.entry.js +1 -0
  299. package/dist/huds-lib/p-8d9ced03.entry.js +1 -0
  300. package/dist/huds-lib/p-8f8c3f99.entry.js +1 -0
  301. package/dist/huds-lib/p-91397c3c.entry.js +1 -0
  302. package/dist/huds-lib/p-98dd30e9.entry.js +1 -0
  303. package/dist/huds-lib/p-9b834399.entry.js +1 -0
  304. package/dist/huds-lib/p-9deb2733.entry.js +1 -0
  305. package/dist/huds-lib/p-9f108905.entry.js +1 -0
  306. package/dist/huds-lib/p-a2a007e9.entry.js +1 -0
  307. package/dist/huds-lib/p-a847e865.entry.js +1 -0
  308. package/dist/huds-lib/p-a8618be5.entry.js +1 -0
  309. package/dist/huds-lib/p-abebc2df.entry.js +1 -0
  310. package/dist/huds-lib/p-ad5233f6.entry.js +1 -0
  311. package/dist/huds-lib/p-ad8591a4.entry.js +1 -0
  312. package/dist/huds-lib/p-af8801e4.entry.js +1 -0
  313. package/dist/huds-lib/p-b4bf94bd.entry.js +1 -0
  314. package/dist/huds-lib/p-b542ab10.entry.js +1 -0
  315. package/dist/huds-lib/p-b6cc78ce.entry.js +1 -0
  316. package/dist/huds-lib/p-b87355aa.entry.js +1 -0
  317. package/dist/huds-lib/p-ba8ac70e.entry.js +1 -0
  318. package/dist/huds-lib/p-c0b247d8.entry.js +1 -0
  319. package/dist/huds-lib/p-c1c66328.entry.js +1 -0
  320. package/dist/huds-lib/p-c78875fd.entry.js +1 -0
  321. package/dist/huds-lib/p-c89d1618.entry.js +1 -0
  322. package/dist/huds-lib/p-c8b11427.entry.js +1 -0
  323. package/dist/huds-lib/p-d06af299.entry.js +1 -0
  324. package/dist/huds-lib/p-d38b0576.entry.js +1 -0
  325. package/dist/huds-lib/p-d8161ace.entry.js +1 -0
  326. package/dist/huds-lib/p-db4c74a2.entry.js +1 -0
  327. package/dist/huds-lib/p-df306531.entry.js +1 -0
  328. package/dist/huds-lib/p-e00b9ff1.entry.js +1 -0
  329. package/dist/huds-lib/p-e07cc533.entry.js +1 -0
  330. package/dist/huds-lib/p-e4930926.entry.js +1 -0
  331. package/dist/huds-lib/p-e5bf0843.entry.js +1 -0
  332. package/dist/huds-lib/p-ef6935c1.entry.js +1 -0
  333. package/dist/huds-lib/{p-ef257bde.entry.js → p-f05bdce1.entry.js} +6 -6
  334. package/dist/huds-lib/p-f60f8340.entry.js +1 -0
  335. package/dist/huds-lib/p-f6117edb.entry.js +1 -0
  336. package/dist/huds-lib/p-fc2f0ada.entry.js +1 -0
  337. package/dist/huds-lib/p-fe6eb2b6.entry.js +1 -0
  338. package/dist/huds-lib/p-ff55795d.entry.js +1 -0
  339. package/dist/types/components/courses/hy-content-list/hy-content-list.d.ts +2 -0
  340. package/dist/types/components/courses/hy-content-list-item/hy-content-list-item.d.ts +2 -1
  341. package/dist/types/components/cta-button/cta-button.d.ts +0 -1
  342. package/dist/types/components/cta-link/cta-link.d.ts +0 -3
  343. package/dist/types/components/hy-hero/hy-hero.d.ts +2 -6
  344. package/dist/types/components/hy-link-list/hy-link-list.d.ts +3 -0
  345. package/dist/types/components/hy-logo-grid/hy-logo-grid.d.ts +1 -2
  346. package/dist/types/components/hy-logo-grid/hy-logo-grid.item.d.ts +5 -0
  347. package/dist/types/components.d.ts +28 -9
  348. package/dist/types/utils/utils.d.ts +13 -1
  349. package/package.json +1 -1
  350. package/dist/huds-lib/p-04c0025f.entry.js +0 -1
  351. package/dist/huds-lib/p-073c159c.entry.js +0 -1
  352. package/dist/huds-lib/p-07879e63.entry.js +0 -1
  353. package/dist/huds-lib/p-09d51ef3.entry.js +0 -1
  354. package/dist/huds-lib/p-0ad985b7.entry.js +0 -1
  355. package/dist/huds-lib/p-133ae856.entry.js +0 -1
  356. package/dist/huds-lib/p-231a4ecb.entry.js +0 -1
  357. package/dist/huds-lib/p-234d4903.entry.js +0 -1
  358. package/dist/huds-lib/p-241754b9.entry.js +0 -1
  359. package/dist/huds-lib/p-257478e6.entry.js +0 -1
  360. package/dist/huds-lib/p-276d93ec.entry.js +0 -1
  361. package/dist/huds-lib/p-2c370ae5.entry.js +0 -1
  362. package/dist/huds-lib/p-3000b90a.entry.js +0 -1
  363. package/dist/huds-lib/p-3173b79e.entry.js +0 -1
  364. package/dist/huds-lib/p-31d6ddf6.entry.js +0 -1
  365. package/dist/huds-lib/p-334d3c51.entry.js +0 -1
  366. package/dist/huds-lib/p-345d3f01.entry.js +0 -1
  367. package/dist/huds-lib/p-3626953d.entry.js +0 -1
  368. package/dist/huds-lib/p-3a317b1f.entry.js +0 -1
  369. package/dist/huds-lib/p-3b456fd6.entry.js +0 -1
  370. package/dist/huds-lib/p-3dd8acb8.entry.js +0 -1
  371. package/dist/huds-lib/p-3de303ab.entry.js +0 -1
  372. package/dist/huds-lib/p-3f27e439.entry.js +0 -1
  373. package/dist/huds-lib/p-4080818c.entry.js +0 -1
  374. package/dist/huds-lib/p-47c87b1c.js +0 -1
  375. package/dist/huds-lib/p-4e509573.entry.js +0 -1
  376. package/dist/huds-lib/p-559f5267.entry.js +0 -1
  377. package/dist/huds-lib/p-609402fd.entry.js +0 -1
  378. package/dist/huds-lib/p-60ec6d2e.entry.js +0 -1
  379. package/dist/huds-lib/p-611fb7df.entry.js +0 -1
  380. package/dist/huds-lib/p-650c6e4e.entry.js +0 -1
  381. package/dist/huds-lib/p-6b792a8c.entry.js +0 -1
  382. package/dist/huds-lib/p-72db0033.entry.js +0 -1
  383. package/dist/huds-lib/p-7a6780e4.entry.js +0 -1
  384. package/dist/huds-lib/p-7c83f52e.entry.js +0 -1
  385. package/dist/huds-lib/p-7ede0f30.entry.js +0 -1
  386. package/dist/huds-lib/p-7effbe77.entry.js +0 -1
  387. package/dist/huds-lib/p-8319d830.entry.js +0 -1
  388. package/dist/huds-lib/p-90505cc3.entry.js +0 -1
  389. package/dist/huds-lib/p-9361deb2.entry.js +0 -1
  390. package/dist/huds-lib/p-97bf12b5.entry.js +0 -1
  391. package/dist/huds-lib/p-97d03f15.entry.js +0 -1
  392. package/dist/huds-lib/p-9d3a8885.entry.js +0 -1
  393. package/dist/huds-lib/p-a08adde3.entry.js +0 -1
  394. package/dist/huds-lib/p-a2f65964.entry.js +0 -1
  395. package/dist/huds-lib/p-a3e75fcd.entry.js +0 -1
  396. package/dist/huds-lib/p-a6b86c8d.entry.js +0 -1
  397. package/dist/huds-lib/p-a6fecd61.entry.js +0 -1
  398. package/dist/huds-lib/p-a79930ee.entry.js +0 -1
  399. package/dist/huds-lib/p-a8ec267d.entry.js +0 -1
  400. package/dist/huds-lib/p-afab35ab.entry.js +0 -1
  401. package/dist/huds-lib/p-b2d88ab1.entry.js +0 -1
  402. package/dist/huds-lib/p-b40af061.entry.js +0 -1
  403. package/dist/huds-lib/p-b4c5f23b.entry.js +0 -1
  404. package/dist/huds-lib/p-c1a6c019.entry.js +0 -1
  405. package/dist/huds-lib/p-c6c6db7a.entry.js +0 -1
  406. package/dist/huds-lib/p-cbb94daf.entry.js +0 -1
  407. package/dist/huds-lib/p-cc578c01.entry.js +0 -1
  408. package/dist/huds-lib/p-d1e6dc01.entry.js +0 -1
  409. package/dist/huds-lib/p-d4e9dad5.entry.js +0 -1
  410. package/dist/huds-lib/p-d53511e8.entry.js +0 -1
  411. package/dist/huds-lib/p-d794037a.entry.js +0 -1
  412. package/dist/huds-lib/p-da8e3d7b.entry.js +0 -1
  413. package/dist/huds-lib/p-db1cd38d.entry.js +0 -1
  414. package/dist/huds-lib/p-dd632aee.entry.js +0 -1
  415. package/dist/huds-lib/p-e4daac5b.entry.js +0 -1
  416. package/dist/huds-lib/p-e70d2a38.entry.js +0 -1
  417. package/dist/huds-lib/p-ebfda04f.entry.js +0 -1
  418. package/dist/huds-lib/p-ecb15145.entry.js +0 -1
  419. package/dist/huds-lib/p-ee7451da.entry.js +0 -1
  420. package/dist/huds-lib/p-f0b37b49.entry.js +0 -1
  421. package/dist/huds-lib/p-fa1e92fa.entry.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import { Component, Element, h, Listen, Prop } from '@stencil/core';
2
- import { CourseVariants } from '../../../utils/utils';
2
+ import { CourseStateVariants, CourseVariants } from '../../../utils/utils';
3
3
  import { jsonParserWorker } from '../../../global/globalScript';
4
4
  let keys = {
5
5
  enter: 'Enter',
@@ -7,6 +7,7 @@ let keys = {
7
7
  export class HyContentLstItem {
8
8
  constructor() {
9
9
  this.variant = CourseVariants.default;
10
+ this.stateVariant = CourseStateVariants.default;
10
11
  this.cancelledLabel = 'Cancelled';
11
12
  this._dateValue = '';
12
13
  }
@@ -36,11 +37,16 @@ export class HyContentLstItem {
36
37
  const classAttributes = [this.variant, 'hy-content-list-item'].join(' ');
37
38
  const target = '_blank';
38
39
  const ariaLabel = 'Link points outside the current website.';
40
+ const classItemName = [
41
+ 'hy-content-list-item--item-name',
42
+ `hy-content-list-item--item-name--${this.stateVariant}`,
43
+ ].join(' ');
44
+ const classItemCancelled = ['cancelled', `cancelled--${this.stateVariant}`].join(' ');
39
45
  return [
40
46
  h("div", { class: classAttributes, tabindex: "0" },
41
- h("div", { class: "hy-content-list-item--item-name" }, this.courseName),
47
+ h("div", { class: classItemName }, this.courseName),
42
48
  h("div", { class: "hy-content-list-item--metadata" },
43
- this.isCancelled && (h("div", { class: "cancelled" },
49
+ this.isCancelled && (h("div", { class: classItemCancelled },
44
50
  h("span", null, this.cancelledLabel))),
45
51
  h("div", { class: "hy-content-list-item--metadata--item hy-content-list-item--metadata--item--first" },
46
52
  h("span", null, this._dateValue)),
@@ -100,6 +106,29 @@ export class HyContentLstItem {
100
106
  "reflect": false,
101
107
  "defaultValue": "CourseVariants.default"
102
108
  },
109
+ "stateVariant": {
110
+ "type": "string",
111
+ "mutable": false,
112
+ "complexType": {
113
+ "original": "CourseStateVariants",
114
+ "resolved": "CourseStateVariants.default | CourseStateVariants.pastCourses",
115
+ "references": {
116
+ "CourseStateVariants": {
117
+ "location": "import",
118
+ "path": "../../../utils/utils"
119
+ }
120
+ }
121
+ },
122
+ "required": false,
123
+ "optional": false,
124
+ "docs": {
125
+ "tags": [],
126
+ "text": ""
127
+ },
128
+ "attribute": "state-variant",
129
+ "reflect": false,
130
+ "defaultValue": "CourseStateVariants.default"
131
+ },
103
132
  "courseCode": {
104
133
  "type": "string",
105
134
  "mutable": false,
@@ -1,5 +1,7 @@
1
1
  :root {
2
2
  --brand-main: #0e688b;
3
+ --brand-main-soft: #b1e7ff;
4
+ --brand-main-bright: #48c5f8;
3
5
  --brand-main-light: #107eab;
4
6
  --brand-main-active: #005379;
5
7
  --brand-main-dark: #003146;
@@ -67,23 +69,49 @@
67
69
  .hy-cta-button {
68
70
  cursor: pointer;
69
71
  font-family: var(--main-font-family);
70
- font-weight: 600;
72
+ font-weight: 700;
71
73
  position: relative;
72
74
  text-decoration: none;
73
75
  }
74
76
 
77
+ .hy-cta-button.transparent-background, .hy-cta-button.black-background, .hy-cta-button.blue-background, .hy-cta-button.white-background, .hy-cta-button.hero-white, .hy-cta-button.hero-blue, .hy-cta-button.hero-black {
78
+ -webkit-box-align: center;
79
+ -ms-flex-align: center;
80
+ align-items: center;
81
+ -webkit-box-sizing: border-box;
82
+ box-sizing: border-box;
83
+ display: -webkit-box;
84
+ display: -ms-flexbox;
85
+ display: flex;
86
+ height: 100%;
87
+ -webkit-box-pack: center;
88
+ -ms-flex-pack: center;
89
+ justify-content: center;
90
+ max-width: 328px;
91
+ padding: 13px 16px;
92
+ }
93
+
94
+ .hy-cta-button.transparent-background .text, .hy-cta-button.black-background .text, .hy-cta-button.blue-background .text, .hy-cta-button.white-background .text, .hy-cta-button.hero-white .text, .hy-cta-button.hero-blue .text, .hy-cta-button.hero-black .text {
95
+ font-size: 1rem;
96
+ line-height: 18px;
97
+ letter-spacing: -0.3px;
98
+ }
99
+
100
+ .hy-cta-button.transparent-background .link-icon, .hy-cta-button.black-background .link-icon, .hy-cta-button.blue-background .link-icon, .hy-cta-button.white-background .link-icon, .hy-cta-button.hero-white .link-icon, .hy-cta-button.hero-blue .link-icon, .hy-cta-button.hero-black .link-icon {
101
+ margin-left: 8px;
102
+ }
103
+
104
+ .hy-cta-button.transparent-background .link-icon svg, .hy-cta-button.black-background .link-icon svg, .hy-cta-button.blue-background .link-icon svg, .hy-cta-button.white-background .link-icon svg, .hy-cta-button.hero-white .link-icon svg, .hy-cta-button.hero-blue .link-icon svg, .hy-cta-button.hero-black .link-icon svg {
105
+ height: 16px;
106
+ width: 16px;
107
+ }
108
+
75
109
  .hy-cta-button.transparent-background {
76
110
  background-color: var(--grayscale-white);
77
- border: 3px solid var(--grayscale-black);
111
+ border: 4px solid var(--grayscale-black);
78
112
  color: var(--grayscale-black);
79
113
  }
80
114
 
81
- @media (min-width: 1601px) {
82
- .hy-cta-button.transparent-background {
83
- border: 4px solid var(--grayscale-black);
84
- }
85
- }
86
-
87
115
  .hy-cta-button.transparent-background .link-icon svg {
88
116
  background-color: var(--grayscale-white);
89
117
  fill: var(--grayscale-black);
@@ -95,16 +123,10 @@
95
123
 
96
124
  .hy-cta-button.black-background {
97
125
  background-color: var(--grayscale-black);
98
- border: 3px solid var(--grayscale-white);
126
+ border: 4px solid var(--grayscale-white);
99
127
  color: var(--grayscale-white);
100
128
  }
101
129
 
102
- @media (min-width: 1601px) {
103
- .hy-cta-button.black-background {
104
- border: 4px solid var(--grayscale-white);
105
- }
106
- }
107
-
108
130
  .hy-cta-button.black-background .link-icon svg {
109
131
  background-color: var(--grayscale-black);
110
132
  fill: var(--grayscale-white);
@@ -132,16 +154,10 @@
132
154
 
133
155
  .hy-cta-button.blue-background {
134
156
  background-color: var(--brand-main-light);
135
- border: 3px solid var(--grayscale-white);
157
+ border: 4px solid var(--grayscale-white);
136
158
  color: var(--grayscale-white);
137
159
  }
138
160
 
139
- @media (min-width: 1601px) {
140
- .hy-cta-button.blue-background {
141
- border: 4px solid var(--grayscale-white);
142
- }
143
- }
144
-
145
161
  .hy-cta-button.blue-background .link-icon svg {
146
162
  background-color: var(--brand-main-light);
147
163
  fill: var(--grayscale-white);
@@ -169,16 +185,10 @@
169
185
 
170
186
  .hy-cta-button.white-background {
171
187
  background-color: var(--grayscale-white);
172
- border: 3px solid var(--brand-main-light);
188
+ border: 4px solid var(--brand-main-light);
173
189
  color: var(--brand-main-light);
174
190
  }
175
191
 
176
- @media (min-width: 1601px) {
177
- .hy-cta-button.white-background {
178
- border: 4px solid var(--brand-main-light);
179
- }
180
- }
181
-
182
192
  .hy-cta-button.white-background .link-icon svg {
183
193
  background-color: var(--grayscale-white);
184
194
  fill: var(--brand-main-light);
@@ -212,157 +222,110 @@
212
222
  fill: var(--brand-main-active);
213
223
  }
214
224
 
215
- .hy-cta-button.transparent-background, .hy-cta-button.black-background, .hy-cta-button.blue-background, .hy-cta-button.white-background {
216
- -webkit-box-align: center;
217
- -ms-flex-align: center;
218
- align-items: center;
219
- -webkit-box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
220
- box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
221
- -webkit-box-sizing: border-box;
222
- box-sizing: border-box;
223
- display: -webkit-box;
224
- display: -ms-flexbox;
225
- display: flex;
226
- height: 100%;
227
- -webkit-box-pack: center;
228
- -ms-flex-pack: center;
229
- justify-content: center;
230
- max-width: 278px;
231
- padding: 14px 12px;
225
+ .hy-cta-button.hero-white {
226
+ background-color: var(--brand-main-light);
227
+ color: var(--grayscale-white);
232
228
  }
233
229
 
234
- @media (min-width: 30rem) {
235
- .hy-cta-button.transparent-background, .hy-cta-button.black-background, .hy-cta-button.blue-background, .hy-cta-button.white-background {
236
- padding: 15px 16px;
237
- }
230
+ .hy-cta-button.hero-white .link-icon svg {
231
+ background-color: var(--brand-main-light);
232
+ fill: var(--grayscale-white);
238
233
  }
239
234
 
240
- @media (min-width: 75.0625rem) {
241
- .hy-cta-button.transparent-background, .hy-cta-button.black-background, .hy-cta-button.blue-background, .hy-cta-button.white-background {
242
- padding: 15px 16px;
243
- }
235
+ .hy-cta-button.hero-white .text {
236
+ color: var(--grayscale-white);
244
237
  }
245
238
 
246
- @media (min-width: 1601px) {
247
- .hy-cta-button.transparent-background, .hy-cta-button.black-background, .hy-cta-button.blue-background, .hy-cta-button.white-background {
248
- padding: 17px 16px;
249
- }
239
+ .hy-cta-button.hero-white:hover {
240
+ background-color: var(--brand-main);
250
241
  }
251
242
 
252
- .hy-cta-button.transparent-background .text, .hy-cta-button.black-background .text, .hy-cta-button.blue-background .text, .hy-cta-button.white-background .text {
253
- font-size: 1rem;
254
- line-height: 16px;
243
+ .hy-cta-button.hero-white:hover .link-icon svg {
244
+ background-color: var(--brand-main);
255
245
  }
256
246
 
257
- @media (min-width: 30rem) {
258
- .hy-cta-button.transparent-background .text, .hy-cta-button.black-background .text, .hy-cta-button.blue-background .text, .hy-cta-button.white-background .text {
259
- font-size: 1.125rem;
260
- line-height: 18px;
261
- }
247
+ .hy-cta-button.hero-white:focus {
248
+ background-color: var(--brand-main-active);
262
249
  }
263
250
 
264
- @media (min-width: 75.0625rem) {
265
- .hy-cta-button.transparent-background .text, .hy-cta-button.black-background .text, .hy-cta-button.blue-background .text, .hy-cta-button.white-background .text {
266
- font-size: 1.125rem;
267
- line-height: 18px;
268
- }
251
+ .hy-cta-button.hero-white:focus .link-icon svg {
252
+ background-color: var(--brand-main-active);
269
253
  }
270
254
 
271
- @media (min-width: 1601px) {
272
- .hy-cta-button.transparent-background .text, .hy-cta-button.black-background .text, .hy-cta-button.blue-background .text, .hy-cta-button.white-background .text {
273
- font-size: 1.25rem;
274
- line-height: 20px;
275
- }
255
+ .hy-cta-button.hero-black {
256
+ background-color: var(--grayscale-black);
257
+ border: 4px solid var(--grayscale-white);
258
+ color: var(--grayscale-white);
276
259
  }
277
260
 
278
- .hy-cta-button.transparent-background .link-icon, .hy-cta-button.black-background .link-icon, .hy-cta-button.blue-background .link-icon, .hy-cta-button.white-background .link-icon {
279
- margin-left: 8px;
261
+ .hy-cta-button.hero-black .link-icon svg {
262
+ background-color: var(--grayscale-black);
263
+ fill: var(--grayscale-white);
280
264
  }
281
265
 
282
- @media (min-width: 30rem) {
283
- .hy-cta-button.transparent-background .link-icon, .hy-cta-button.black-background .link-icon, .hy-cta-button.blue-background .link-icon, .hy-cta-button.white-background .link-icon {
284
- margin-left: 10px;
285
- }
266
+ .hy-cta-button.hero-black .text {
267
+ color: var(--grayscale-white);
286
268
  }
287
269
 
288
- @media (min-width: 75.0625rem) {
289
- .hy-cta-button.transparent-background .link-icon, .hy-cta-button.black-background .link-icon, .hy-cta-button.blue-background .link-icon, .hy-cta-button.white-background .link-icon {
290
- margin-left: 10px;
291
- }
270
+ .hy-cta-button.hero-black:hover {
271
+ border-color: var(--brand-main-soft);
292
272
  }
293
273
 
294
- @media (min-width: 1601px) {
295
- .hy-cta-button.transparent-background .link-icon, .hy-cta-button.black-background .link-icon, .hy-cta-button.blue-background .link-icon, .hy-cta-button.white-background .link-icon {
296
- margin-left: 12px;
297
- }
274
+ .hy-cta-button.hero-black:hover .text {
275
+ color: var(--brand-main-soft);
298
276
  }
299
277
 
300
- .hy-cta-button.transparent-background .link-icon svg, .hy-cta-button.black-background .link-icon svg, .hy-cta-button.blue-background .link-icon svg, .hy-cta-button.white-background .link-icon svg {
301
- height: 16px;
302
- width: 16px;
278
+ .hy-cta-button.hero-black:hover .link-icon svg {
279
+ fill: var(--brand-main-soft);
303
280
  }
304
281
 
305
- @media (min-width: 30rem) {
306
- .hy-cta-button.transparent-background .link-icon svg, .hy-cta-button.black-background .link-icon svg, .hy-cta-button.blue-background .link-icon svg, .hy-cta-button.white-background .link-icon svg {
307
- height: 18px;
308
- width: 18px;
309
- }
282
+ .hy-cta-button.hero-black:focus {
283
+ border-color: var(--brand-main-soft);
310
284
  }
311
285
 
312
- @media (min-width: 75.0625rem) {
313
- .hy-cta-button.transparent-background .link-icon svg, .hy-cta-button.black-background .link-icon svg, .hy-cta-button.blue-background .link-icon svg, .hy-cta-button.white-background .link-icon svg {
314
- height: 18px;
315
- width: 18px;
316
- }
286
+ .hy-cta-button.hero-black:focus .text {
287
+ color: var(--brand-main-soft);
317
288
  }
318
289
 
319
- @media (min-width: 1601px) {
320
- .hy-cta-button.transparent-background .link-icon svg, .hy-cta-button.black-background .link-icon svg, .hy-cta-button.blue-background .link-icon svg, .hy-cta-button.white-background .link-icon svg {
321
- height: 22px;
322
- width: 22px;
323
- }
290
+ .hy-cta-button.hero-black:focus .link-icon svg {
291
+ fill: var(--brand-main-soft);
324
292
  }
325
293
 
326
- @media (min-width: 75.0625rem) {
327
- .hy-cta-button.large {
328
- padding: 17px 16px;
329
- }
294
+ .hy-cta-button.hero-blue {
295
+ background-color: var(--brand-main);
296
+ border: 4px solid var(--grayscale-white);
297
+ color: var(--grayscale-white);
298
+ }
299
+
300
+ .hy-cta-button.hero-blue .link-icon svg {
301
+ background-color: var(--brand-main);
302
+ fill: var(--grayscale-white);
303
+ }
304
+
305
+ .hy-cta-button.hero-blue .text {
306
+ color: var(--grayscale-white);
330
307
  }
331
308
 
332
- @media (min-width: 75.0625rem) {
333
- .hy-cta-button.large .text {
334
- font-size: 1.25rem;
335
- line-height: 20px;
336
- }
309
+ .hy-cta-button.hero-blue:hover {
310
+ border-color: var(--brand-main-soft);
337
311
  }
338
312
 
339
- @media (min-width: 75.0625rem) {
340
- .hy-cta-button.large .link-icon {
341
- margin-left: 12px;
342
- }
313
+ .hy-cta-button.hero-blue:hover .text {
314
+ color: var(--brand-main-soft);
343
315
  }
344
316
 
345
- @media (min-width: 75.0625rem) {
346
- .hy-cta-button.large .link-icon svg {
347
- height: 22px;
348
- width: 22px;
349
- }
317
+ .hy-cta-button.hero-blue:hover .link-icon svg {
318
+ fill: var(--brand-main-soft);
350
319
  }
351
320
 
352
- @media (min-width: 75.0625rem) {
353
- .hy-cta-button.large.blue-background, .hy-cta-button.large.black-background {
354
- border-width: 4px;
355
- }
321
+ .hy-cta-button.hero-blue:focus {
322
+ border-color: var(--brand-main-soft);
356
323
  }
357
324
 
358
- @media (min-width: 75.0625rem) {
359
- .hy-cta-button.large.transparent-background {
360
- border-width: 4px;
361
- }
325
+ .hy-cta-button.hero-blue:focus .text {
326
+ color: var(--brand-main-soft);
362
327
  }
363
328
 
364
- @media (min-width: 75.0625rem) {
365
- .hy-cta-button.large.white-background {
366
- border-width: 4px;
367
- }
329
+ .hy-cta-button.hero-blue:focus .link-icon svg {
330
+ fill: var(--brand-main-soft);
368
331
  }
@@ -7,14 +7,6 @@ export class CtaButton {
7
7
  this.isExternal = false;
8
8
  this.headerstyle = 'common';
9
9
  }
10
- componentDidLoad() {
11
- let hyMainDiv = this.el.closest('.hy-main');
12
- if (hyMainDiv) {
13
- if (!hyMainDiv.classList.contains('with-sidebar')) {
14
- this.headerstyle = 'large';
15
- }
16
- }
17
- }
18
10
  render() {
19
11
  const classAttributes = ['hy-cta-button', this.variant, this.headerstyle].join(' ');
20
12
  const containerClassAttributes = ['hy-cta-button-container'].join(' ');
@@ -41,7 +33,7 @@ export class CtaButton {
41
33
  "mutable": false,
42
34
  "complexType": {
43
35
  "original": "CtaLinkButtonVariants",
44
- "resolved": "CtaLinkButtonVariants.default | CtaLinkButtonVariants.onBlackBkgd | CtaLinkButtonVariants.onBlueBkgd | CtaLinkButtonVariants.onTransparentBkgd | CtaLinkButtonVariants.onWhiteBkgd",
36
+ "resolved": "CtaLinkButtonVariants.default | CtaLinkButtonVariants.heroBlack | CtaLinkButtonVariants.heroBlue | CtaLinkButtonVariants.heroWhite | CtaLinkButtonVariants.onBlackBkgd | CtaLinkButtonVariants.onBlueBkgd | CtaLinkButtonVariants.onTransparentBkgd | CtaLinkButtonVariants.onWhiteBkgd",
45
37
  "references": {
46
38
  "CtaLinkButtonVariants": {
47
39
  "location": "import",
@@ -1,5 +1,7 @@
1
1
  :root {
2
2
  --brand-main: #0e688b;
3
+ --brand-main-soft: #b1e7ff;
4
+ --brand-main-bright: #48c5f8;
3
5
  --brand-main-light: #107eab;
4
6
  --brand-main-active: #005379;
5
7
  --brand-main-dark: #003146;
@@ -58,153 +60,51 @@
58
60
  display: block;
59
61
  }
60
62
 
61
- .hy-cta-link-container {
62
- display: -webkit-box;
63
- display: -ms-flexbox;
64
- display: flex;
65
- }
66
-
67
63
  .hy-cta-link {
68
64
  font-weight: 600;
65
+ font-size: 1rem;
66
+ line-height: 24px;
69
67
  -webkit-box-align: center;
70
68
  -ms-flex-align: center;
71
69
  align-items: center;
72
- background-color: transparent;
73
70
  color: var(--brand-main);
74
- cursor: pointer;
75
- display: -webkit-box;
76
- display: -ms-flexbox;
77
- display: flex;
71
+ display: inline-grid;
78
72
  font-family: var(--main-font-family);
79
- height: 100%;
80
- position: relative;
73
+ gap: 16px;
74
+ grid-auto-flow: column;
75
+ letter-spacing: -0.5px;
76
+ overflow: hidden;
81
77
  text-decoration: none;
82
78
  }
83
79
 
84
- .hy-cta-link.default {
85
- font-size: 0.875rem;
86
- line-height: 16px;
87
- -webkit-box-align: right;
88
- -ms-flex-align: right;
89
- align-items: right;
90
- letter-spacing: -0.26px;
91
- }
92
-
93
- @media (min-width: 30rem) {
94
- .hy-cta-link.default {
95
- font-size: 1rem;
96
- line-height: 18px;
97
- letter-spacing: -0.3px;
98
- }
99
- }
100
-
101
- @media (min-width: 1601px) {
102
- .hy-cta-link.default {
103
- font-size: 1.125rem;
104
- line-height: 20px;
105
- letter-spacing: -0.34px;
106
- }
107
- }
108
-
109
- @media (min-width: 75.0625rem) {
110
- .hy-cta-link.default__large {
111
- font-size: 1.125rem;
112
- line-height: 20px;
113
- letter-spacing: -0.34px;
114
- }
115
- }
116
-
117
- .hy-cta-link.default .text {
118
- padding: 14px 0;
119
- text-align: right;
120
- }
121
-
122
- .hy-cta-link.default .link-icon {
123
- margin-left: 16px;
124
- }
125
-
126
- .hy-cta-link.default .link-icon svg {
127
- background-color: var(--brand-main-light);
128
- -webkit-box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
129
- box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
130
- fill: var(--grayscale-white);
131
- padding: 10.29px;
132
- }
133
-
134
- .hy-cta-link.default:hover span {
135
- color: var(--brand-main) !important;
80
+ .hy-cta-link:hover, .hy-cta-link:focus {
136
81
  text-decoration: underline;
137
82
  }
138
83
 
139
- .hy-cta-link.default:hover svg {
140
- background-color: var(--brand-main) !important;
84
+ .hy-cta-link:hover .hy-cta-link__icon, .hy-cta-link:focus .hy-cta-link__icon {
85
+ background-color: var(--brand-main);
141
86
  }
142
87
 
143
- .hy-cta-link.link-list {
144
- font-size: 0.875rem;
145
- line-height: 16px;
88
+ .hy-cta-link__icon {
146
89
  -webkit-box-align: center;
147
90
  -ms-flex-align: center;
148
91
  align-items: center;
92
+ background-color: var(--brand-main-light);
93
+ display: -webkit-inline-box;
94
+ display: -ms-inline-flexbox;
95
+ display: inline-flex;
96
+ height: 40px;
149
97
  -webkit-box-pack: center;
150
98
  -ms-flex-pack: center;
151
99
  justify-content: center;
152
- letter-spacing: -0.26px;
100
+ width: 40px;
153
101
  }
154
102
 
155
- @media (min-width: 30rem) {
156
- .hy-cta-link.link-list {
157
- font-size: 1rem;
158
- line-height: 18px;
159
- letter-spacing: -0.3px;
160
- }
161
- }
162
-
163
- .hy-cta-link.link-list .text {
164
- background-color: var(--grayscale-background-box);
165
- margin-left: -36px;
166
- padding: 10px 10px 10px 48px;
167
- }
168
-
169
- .hy-cta-link.link-list .hy-icon-wrapper {
170
- background-color: var(--brand-main-light);
171
- z-index: 10;
172
- }
173
-
174
- .hy-cta-link.link-list .hy-icon-wrapper .link-icon {
175
- position: relative;
176
- overflow: hidden;
177
- }
178
-
179
- .hy-cta-link.link-list .hy-icon-wrapper .link-icon svg {
180
- background-color: transparent;
181
- -webkit-box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
182
- box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
103
+ .hy-cta-link__icon svg {
183
104
  fill: var(--grayscale-white);
184
- padding: 10.29px;
185
105
  }
186
106
 
187
- .hy-cta-link.link-list .hy-icon-wrapper .link-icon--external {
107
+ .hy-cta-link__icon--external svg {
188
108
  -webkit-transform: rotate(-45deg);
189
109
  transform: rotate(-45deg);
190
- }
191
-
192
- .hy-cta-link.link-list:hover span {
193
- color: var(--brand-main) !important;
194
- text-decoration: underline;
195
- }
196
-
197
- .hy-cta-link.link-list:hover .hy-icon-wrapper {
198
- background-color: var(--brand-main) !important;
199
- }
200
-
201
- .hy-cta-link.link-list.hy-cta-link--full {
202
- width: 100%;
203
- -webkit-box-pack: start;
204
- -ms-flex-pack: start;
205
- justify-content: flex-start;
206
- }
207
-
208
- .hy-cta-link.link-list.hy-cta-link--full .text {
209
- width: 100%;
210
110
  }