@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.
- package/dist/cjs/huds-lib.cjs.js +1 -1
- package/dist/cjs/hy-accordion-container.cjs.entry.js +1 -1
- package/dist/cjs/hy-accordion-item.cjs.entry.js +2 -2
- package/dist/cjs/hy-adjacent-image-text.cjs.entry.js +1 -1
- package/dist/cjs/hy-anchor-link-list.cjs.entry.js +1 -1
- package/dist/cjs/hy-badge.cjs.entry.js +1 -1
- package/dist/cjs/hy-banner.cjs.entry.js +2 -2
- package/dist/cjs/hy-box.cjs.entry.js +1 -1
- package/dist/cjs/hy-breadcrumbs.cjs.entry.js +2 -2
- package/dist/cjs/hy-button.cjs.entry.js +1 -1
- package/dist/cjs/hy-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/hy-collaboration.cjs.entry.js +1 -1
- package/dist/cjs/hy-content-list-item.cjs.entry.js +9 -3
- package/dist/cjs/hy-content-list.cjs.entry.js +40 -37
- package/dist/cjs/hy-crisis-banner.cjs.entry.js +1 -1
- package/dist/cjs/hy-cta-button.cjs.entry.js +2 -10
- package/dist/cjs/hy-cta-link.cjs.entry.js +4 -22
- package/dist/cjs/hy-desktop-menu-links.cjs.entry.js +2 -2
- package/dist/cjs/hy-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/hy-filter-group-item.cjs.entry.js +1 -1
- package/dist/cjs/hy-filter-group.cjs.entry.js +1 -1
- package/dist/cjs/hy-filter-list-type.cjs.entry.js +2 -2
- package/dist/cjs/hy-filter-visibility-tool.cjs.entry.js +1 -1
- package/dist/cjs/hy-footer_5.cjs.entry.js +6 -6
- package/dist/cjs/hy-general-list_2.cjs.entry.js +3 -3
- package/dist/cjs/hy-grid-container.cjs.entry.js +1 -1
- package/dist/cjs/hy-grid-item.cjs.entry.js +2 -2
- package/dist/cjs/hy-grid-row.cjs.entry.js +1 -1
- package/dist/cjs/hy-heading.cjs.entry.js +3 -3
- package/dist/cjs/hy-hero.cjs.entry.js +23 -130
- package/dist/cjs/hy-image.cjs.entry.js +1 -1
- package/dist/cjs/hy-ingress.cjs.entry.js +1 -1
- package/dist/cjs/hy-introduction.cjs.entry.js +2 -2
- package/dist/cjs/hy-key-figure-group.cjs.entry.js +2 -2
- package/dist/cjs/hy-key-figure.cjs.entry.js +2 -2
- package/dist/cjs/hy-key-highlight-group.cjs.entry.js +2 -2
- package/dist/cjs/hy-key-highlight.cjs.entry.js +2 -2
- package/dist/cjs/hy-large-process-flow-phase.cjs.entry.js +1 -1
- package/dist/cjs/hy-large-process-flow.cjs.entry.js +2 -2
- package/dist/cjs/hy-link-box-list.cjs.entry.js +2 -2
- package/dist/cjs/hy-link-box.cjs.entry.js +2 -2
- package/dist/cjs/hy-link-list.cjs.entry.js +9 -6
- package/dist/cjs/hy-link.cjs.entry.js +2 -2
- package/dist/cjs/hy-list-item.cjs.entry.js +2 -2
- package/dist/cjs/hy-logo-grid-item.cjs.entry.js +30 -0
- package/dist/cjs/hy-logo-grid.cjs.entry.js +5 -9
- package/dist/cjs/hy-main-content-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/hy-main.cjs.entry.js +1 -1
- package/dist/cjs/hy-menu-item-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/hy-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/hy-menu-language-item.cjs.entry.js +1 -1
- package/dist/cjs/hy-menu-language_2.cjs.entry.js +2 -2
- package/dist/cjs/hy-menu-level-container.cjs.entry.js +2 -2
- package/dist/cjs/hy-menu-main-group.cjs.entry.js +2 -2
- package/dist/cjs/hy-menu-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/hy-menu.cjs.entry.js +2 -2
- package/dist/cjs/hy-opening-hours-content.cjs.entry.js +1 -1
- package/dist/cjs/hy-opening-hours.cjs.entry.js +2 -2
- package/dist/cjs/hy-pager-item.cjs.entry.js +2 -2
- package/dist/cjs/hy-pager.cjs.entry.js +1 -1
- package/dist/cjs/hy-paragraph-text.cjs.entry.js +4 -4
- package/dist/cjs/hy-person-card.cjs.entry.js +2 -2
- package/dist/cjs/hy-process-flow-box.cjs.entry.js +2 -2
- package/dist/cjs/hy-process.cjs.entry.js +2 -2
- package/dist/cjs/hy-prominent-image.cjs.entry.js +1 -1
- package/dist/cjs/hy-quote.cjs.entry.js +1 -1
- package/dist/cjs/hy-search-field.cjs.entry.js +2 -2
- package/dist/cjs/hy-section-container.cjs.entry.js +1 -1
- package/dist/cjs/hy-shortcuts.cjs.entry.js +2 -2
- package/dist/cjs/hy-site-header_3.cjs.entry.js +4 -4
- package/dist/cjs/hy-table-container.cjs.entry.js +1 -1
- package/dist/cjs/hy-tabs-item.cjs.entry.js +1 -1
- package/dist/cjs/hy-tabs.cjs.entry.js +1 -1
- package/dist/cjs/hy-tag.cjs.entry.js +1 -1
- package/dist/cjs/hy-tiny-text.cjs.entry.js +1 -1
- package/dist/cjs/hy-two-columns.cjs.entry.js +1 -1
- package/dist/cjs/hy-user-login-form.cjs.entry.js +2 -2
- package/dist/cjs/hy-video.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-250efadd.js → utils-f2f5569b.js} +14 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/accordion-container/accordion-container.css +2 -0
- package/dist/collection/components/accordion-item/accordion-item.css +2 -0
- package/dist/collection/components/adjacent-image-text/adjacent-image-text.css +2 -0
- package/dist/collection/components/button/button.css +2 -0
- package/dist/collection/components/courses/hy-content-list/hy-content-list.css +2 -0
- package/dist/collection/components/courses/hy-content-list/hy-content-list.js +62 -36
- package/dist/collection/components/courses/hy-content-list-item/hy-content-list-item.css +10 -0
- package/dist/collection/components/courses/hy-content-list-item/hy-content-list-item.js +32 -3
- package/dist/collection/components/cta-button/cta-button.css +101 -138
- package/dist/collection/components/cta-button/cta-button.js +1 -9
- package/dist/collection/components/cta-link/cta-link.css +21 -121
- package/dist/collection/components/cta-link/cta-link.js +7 -63
- package/dist/collection/components/footer/hy-footer/hy-footer.css +2 -0
- package/dist/collection/components/footer/hy-footer-action/hy-footer-action.css +2 -0
- package/dist/collection/components/footer/hy-footer-base/hy-footer-base.css +2 -0
- package/dist/collection/components/footer/hy-footer-info/hy-footer-info.css +2 -0
- package/dist/collection/components/footer/hy-footer-link-item/hy-footer-link-item.css +2 -0
- package/dist/collection/components/grid-container/grid-container.css +2 -0
- package/dist/collection/components/grid-item/grid-item.css +2 -0
- package/dist/collection/components/grid-row/grid-row.css +2 -0
- package/dist/collection/components/heading/heading-fw.css +6 -75
- package/dist/collection/components/heading/heading.css +6 -75
- package/dist/collection/components/heading/heading.js +1 -1
- package/dist/collection/components/hy-anchor-link-list/hy-anchor-link-list.css +2 -0
- package/dist/collection/components/hy-badge/hy-badge.css +2 -0
- package/dist/collection/components/hy-banner/hy-banner.css +2 -0
- package/dist/collection/components/hy-box/hy-box.css +2 -0
- package/dist/collection/components/hy-breadcrumbs/hy-breadcrumbs.css +2 -0
- package/dist/collection/components/hy-checkbox/hy-checkbox.css +2 -0
- package/dist/collection/components/hy-collaboration/hy-collaboration.css +2 -0
- package/dist/collection/components/hy-crisis-banner/hy-crisis-banner.css +2 -0
- package/dist/collection/components/hy-dropdown/hy-dropdown.css +2 -0
- package/dist/collection/components/hy-filter-group/hy-filter-group.css +2 -0
- package/dist/collection/components/hy-filter-list-type/hy-filter-list-type.css +2 -0
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.css +2 -0
- package/dist/collection/components/hy-general-list/hy-general-list.css +2 -0
- package/dist/collection/components/hy-general-list-item/hy-general-list-item.css +2 -0
- package/dist/collection/components/hy-hero/hy-hero.css +129 -712
- package/dist/collection/components/hy-hero/hy-hero.js +56 -168
- package/dist/collection/components/hy-introduction/hy-introduction.css +2 -0
- package/dist/collection/components/hy-key-figure/hy-key-figure.css +2 -0
- package/dist/collection/components/hy-key-figure-group/hy-key-figure-group.css +2 -0
- package/dist/collection/components/hy-key-highlight/hy-key-highlight.css +2 -0
- package/dist/collection/components/hy-key-highlight-group/hy-key-highlight-group.css +2 -0
- package/dist/collection/components/hy-large-process-flow/hy-large-process-flow.css +2 -0
- package/dist/collection/components/hy-large-process-flow-phase/hy-large-process-flow-phase.css +2 -0
- package/dist/collection/components/hy-link-list/hy-link-list.css +223 -14
- package/dist/collection/components/hy-link-list/hy-link-list.js +45 -7
- package/dist/collection/components/hy-list-item/hy-list-item.css +2 -0
- package/dist/collection/components/hy-logo-grid/hy-logo-grid.css +2 -0
- package/dist/collection/components/hy-logo-grid/hy-logo-grid.item.js +64 -0
- package/dist/collection/components/hy-logo-grid/hy-logo-grid.js +3 -27
- package/dist/collection/components/hy-main/hy-main.css +2 -0
- package/dist/collection/components/hy-main-content-wrapper/hy-main-content-wrapper.css +2 -0
- package/dist/collection/components/hy-opening-hours/hy-opening-hours.css +2 -0
- package/dist/collection/components/hy-opening-hours-content/hy-opening-hours-content.css +2 -0
- package/dist/collection/components/hy-person-card/hy-person-card.css +2 -0
- package/dist/collection/components/hy-prominent-image/hy-prominent-image.css +2 -0
- package/dist/collection/components/hy-quote/hy-quote.css +2 -0
- package/dist/collection/components/hy-search-field/hy-search-field.css +2 -0
- package/dist/collection/components/hy-shortcuts/hy-shortcuts.css +2 -0
- package/dist/collection/components/hy-table-container/hy-table-container.css +2 -0
- package/dist/collection/components/hy-tabs/hy-tabs.css +2 -0
- package/dist/collection/components/hy-tabs-item/hy-tabs-item.css +2 -0
- package/dist/collection/components/hy-tag/hy-tag.css +2 -0
- package/dist/collection/components/hy-two-columns/hy-two-columns.css +2 -0
- package/dist/collection/components/hy-user-login-form/hy-user-login-form.css +2 -0
- package/dist/collection/components/hy-video/hy-video.css +2 -0
- package/dist/collection/components/image/image.css +2 -0
- package/dist/collection/components/ingress/ingress.css +2 -0
- package/dist/collection/components/link/link.css +2 -0
- package/dist/collection/components/link-box/link-box.css +2 -0
- package/dist/collection/components/link-box-list/link-box-list.css +2 -0
- package/dist/collection/components/navigation/hy-menu-main-group/hy-menu-main-group.css +2 -0
- package/dist/collection/components/navigation/menu/menu.css +2 -0
- package/dist/collection/components/navigation/menu-item/menu-item.css +2 -0
- package/dist/collection/components/navigation/menu-item-sidebar/menu-item-sidebar.css +2 -0
- package/dist/collection/components/navigation/menu-language/menu-language.css +2 -0
- package/dist/collection/components/navigation/menu-language-item/menu-language-item.css +2 -0
- package/dist/collection/components/navigation/menu-level-container/menu-level-container.css +2 -0
- package/dist/collection/components/navigation/menu-mobile-breadcrumb/menu-mobile-breadcrumb.css +2 -0
- package/dist/collection/components/navigation/menu-sidebar/menu-sidebar.css +2 -0
- package/dist/collection/components/pagination/hy-pager/hy-pager.css +2 -0
- package/dist/collection/components/pagination/hy-pager-item/hy-pager-item.css +2 -0
- package/dist/collection/components/paragraph-text/paragraph-text-content.css +2 -0
- package/dist/collection/components/paragraph-text/paragraph-text-landing.css +2 -0
- package/dist/collection/components/paragraph-text/paragraph-text.css +7 -0
- package/dist/collection/components/paragraph-text/paragraph-text.js +1 -2
- package/dist/collection/components/process/process.css +2 -0
- package/dist/collection/components/process-flow-box/process-flow-box.css +2 -0
- package/dist/collection/components/section-container/section-container.css +2 -0
- package/dist/collection/components/site-header/hy-desktop-menu-links/hy-desktop-menu-links.css +2 -0
- package/dist/collection/components/site-header/site-header.css +2 -0
- package/dist/collection/components/site-header/site-logo/site-logo.css +2 -0
- package/dist/collection/components/site-header/site-search/site-search.css +2 -0
- package/dist/collection/components/tiny-text/tiny-text.css +2 -0
- package/dist/collection/utils/utils.js +14 -0
- package/dist/esm/huds-lib.js +1 -1
- package/dist/esm/hy-accordion-container.entry.js +1 -1
- package/dist/esm/hy-accordion-item.entry.js +2 -2
- package/dist/esm/hy-adjacent-image-text.entry.js +1 -1
- package/dist/esm/hy-anchor-link-list.entry.js +1 -1
- package/dist/esm/hy-badge.entry.js +1 -1
- package/dist/esm/hy-banner.entry.js +2 -2
- package/dist/esm/hy-box.entry.js +1 -1
- package/dist/esm/hy-breadcrumbs.entry.js +2 -2
- package/dist/esm/hy-button.entry.js +1 -1
- package/dist/esm/hy-checkbox.entry.js +2 -2
- package/dist/esm/hy-collaboration.entry.js +1 -1
- package/dist/esm/hy-content-list-item.entry.js +9 -3
- package/dist/esm/hy-content-list.entry.js +40 -37
- package/dist/esm/hy-crisis-banner.entry.js +1 -1
- package/dist/esm/hy-cta-button.entry.js +2 -10
- package/dist/esm/hy-cta-link.entry.js +4 -22
- package/dist/esm/hy-desktop-menu-links.entry.js +2 -2
- package/dist/esm/hy-dropdown.entry.js +1 -1
- package/dist/esm/hy-filter-group-item.entry.js +1 -1
- package/dist/esm/hy-filter-group.entry.js +1 -1
- package/dist/esm/hy-filter-list-type.entry.js +2 -2
- package/dist/esm/hy-filter-visibility-tool.entry.js +1 -1
- package/dist/esm/hy-footer_5.entry.js +6 -6
- package/dist/esm/hy-general-list_2.entry.js +3 -3
- package/dist/esm/hy-grid-container.entry.js +1 -1
- package/dist/esm/hy-grid-item.entry.js +2 -2
- package/dist/esm/hy-grid-row.entry.js +1 -1
- package/dist/esm/hy-heading.entry.js +3 -3
- package/dist/esm/hy-hero.entry.js +23 -130
- package/dist/esm/hy-image.entry.js +1 -1
- package/dist/esm/hy-ingress.entry.js +1 -1
- package/dist/esm/hy-introduction.entry.js +2 -2
- package/dist/esm/hy-key-figure-group.entry.js +2 -2
- package/dist/esm/hy-key-figure.entry.js +2 -2
- package/dist/esm/hy-key-highlight-group.entry.js +2 -2
- package/dist/esm/hy-key-highlight.entry.js +2 -2
- package/dist/esm/hy-large-process-flow-phase.entry.js +1 -1
- package/dist/esm/hy-large-process-flow.entry.js +2 -2
- package/dist/esm/hy-link-box-list.entry.js +2 -2
- package/dist/esm/hy-link-box.entry.js +2 -2
- package/dist/esm/hy-link-list.entry.js +9 -6
- package/dist/esm/hy-link.entry.js +2 -2
- package/dist/esm/hy-list-item.entry.js +2 -2
- package/dist/esm/hy-logo-grid-item.entry.js +26 -0
- package/dist/esm/hy-logo-grid.entry.js +5 -9
- package/dist/esm/hy-main-content-wrapper.entry.js +1 -1
- package/dist/esm/hy-main.entry.js +1 -1
- package/dist/esm/hy-menu-item-sidebar.entry.js +2 -2
- package/dist/esm/hy-menu-item.entry.js +2 -2
- package/dist/esm/hy-menu-language-item.entry.js +1 -1
- package/dist/esm/hy-menu-language_2.entry.js +2 -2
- package/dist/esm/hy-menu-level-container.entry.js +2 -2
- package/dist/esm/hy-menu-main-group.entry.js +2 -2
- package/dist/esm/hy-menu-sidebar.entry.js +2 -2
- package/dist/esm/hy-menu.entry.js +2 -2
- package/dist/esm/hy-opening-hours-content.entry.js +1 -1
- package/dist/esm/hy-opening-hours.entry.js +2 -2
- package/dist/esm/hy-pager-item.entry.js +2 -2
- package/dist/esm/hy-pager.entry.js +1 -1
- package/dist/esm/hy-paragraph-text.entry.js +4 -4
- package/dist/esm/hy-person-card.entry.js +2 -2
- package/dist/esm/hy-process-flow-box.entry.js +2 -2
- package/dist/esm/hy-process.entry.js +2 -2
- package/dist/esm/hy-prominent-image.entry.js +1 -1
- package/dist/esm/hy-quote.entry.js +1 -1
- package/dist/esm/hy-search-field.entry.js +2 -2
- package/dist/esm/hy-section-container.entry.js +1 -1
- package/dist/esm/hy-shortcuts.entry.js +2 -2
- package/dist/esm/hy-site-header_3.entry.js +4 -4
- package/dist/esm/hy-table-container.entry.js +1 -1
- package/dist/esm/hy-tabs-item.entry.js +1 -1
- package/dist/esm/hy-tabs.entry.js +1 -1
- package/dist/esm/hy-tag.entry.js +1 -1
- package/dist/esm/hy-tiny-text.entry.js +1 -1
- package/dist/esm/hy-two-columns.entry.js +1 -1
- package/dist/esm/hy-user-login-form.entry.js +2 -2
- package/dist/esm/hy-video.entry.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-8abfa3c2.js → utils-5edb511a.js} +15 -1
- package/dist/huds-lib/huds-lib.css +1 -1
- package/dist/huds-lib/huds-lib.esm.js +1 -1
- package/dist/huds-lib/p-031d3bf8.entry.js +1 -0
- package/dist/huds-lib/{p-4d4f7c93.entry.js → p-039f663c.entry.js} +1 -1
- package/dist/huds-lib/p-0523053d.entry.js +1 -0
- package/dist/huds-lib/p-06a18d92.entry.js +1 -0
- package/dist/huds-lib/p-0c682a0e.entry.js +1 -0
- package/dist/huds-lib/{p-94d8d10a.entry.js → p-0f50c3f9.entry.js} +1 -1
- package/dist/huds-lib/p-124131e3.entry.js +1 -0
- package/dist/huds-lib/p-1296897a.entry.js +1 -0
- package/dist/huds-lib/p-20a265d7.js +1 -0
- package/dist/huds-lib/p-23820e91.entry.js +1 -0
- package/dist/huds-lib/p-253f796c.entry.js +1 -0
- package/dist/huds-lib/p-2ae655ad.entry.js +1 -0
- package/dist/huds-lib/p-2ee57761.entry.js +1 -0
- package/dist/huds-lib/p-31ff02c7.entry.js +1 -0
- package/dist/huds-lib/{p-c3f5d0ce.entry.js → p-35bc6516.entry.js} +1 -1
- package/dist/huds-lib/p-3637543d.entry.js +1 -0
- package/dist/huds-lib/p-3663dfa6.entry.js +1 -0
- package/dist/huds-lib/p-381e756f.entry.js +1 -0
- package/dist/huds-lib/p-40da4ea2.entry.js +1 -0
- package/dist/huds-lib/p-4539ca8d.entry.js +1 -0
- package/dist/huds-lib/p-485099a1.entry.js +1 -0
- package/dist/huds-lib/p-499b6c19.entry.js +1 -0
- package/dist/huds-lib/p-4c8a98c2.entry.js +1 -0
- package/dist/huds-lib/p-57aaf7d3.entry.js +1 -0
- package/dist/huds-lib/p-57ab4e6e.entry.js +1 -0
- package/dist/huds-lib/p-5a95b265.entry.js +1 -0
- package/dist/huds-lib/p-6053432d.entry.js +1 -0
- package/dist/huds-lib/p-636002e9.entry.js +1 -0
- package/dist/huds-lib/p-665bab39.entry.js +1 -0
- package/dist/huds-lib/p-69bb03b5.entry.js +1 -0
- package/dist/huds-lib/p-69fdd152.entry.js +1 -0
- package/dist/huds-lib/p-70fcc954.entry.js +1 -0
- package/dist/huds-lib/p-711691d9.entry.js +1 -0
- package/dist/huds-lib/p-727a9714.entry.js +1 -0
- package/dist/huds-lib/p-7b16ec44.entry.js +1 -0
- package/dist/huds-lib/{p-0f8df159.entry.js → p-7b2c2481.entry.js} +1 -1
- package/dist/huds-lib/p-7d777e18.entry.js +1 -0
- package/dist/huds-lib/p-8942d01b.entry.js +1 -0
- package/dist/huds-lib/p-8d9ced03.entry.js +1 -0
- package/dist/huds-lib/p-8f8c3f99.entry.js +1 -0
- package/dist/huds-lib/p-91397c3c.entry.js +1 -0
- package/dist/huds-lib/p-98dd30e9.entry.js +1 -0
- package/dist/huds-lib/p-9b834399.entry.js +1 -0
- package/dist/huds-lib/p-9deb2733.entry.js +1 -0
- package/dist/huds-lib/p-9f108905.entry.js +1 -0
- package/dist/huds-lib/p-a2a007e9.entry.js +1 -0
- package/dist/huds-lib/p-a847e865.entry.js +1 -0
- package/dist/huds-lib/p-a8618be5.entry.js +1 -0
- package/dist/huds-lib/p-abebc2df.entry.js +1 -0
- package/dist/huds-lib/p-ad5233f6.entry.js +1 -0
- package/dist/huds-lib/p-ad8591a4.entry.js +1 -0
- package/dist/huds-lib/p-af8801e4.entry.js +1 -0
- package/dist/huds-lib/p-b4bf94bd.entry.js +1 -0
- package/dist/huds-lib/p-b542ab10.entry.js +1 -0
- package/dist/huds-lib/p-b6cc78ce.entry.js +1 -0
- package/dist/huds-lib/p-b87355aa.entry.js +1 -0
- package/dist/huds-lib/p-ba8ac70e.entry.js +1 -0
- package/dist/huds-lib/p-c0b247d8.entry.js +1 -0
- package/dist/huds-lib/p-c1c66328.entry.js +1 -0
- package/dist/huds-lib/p-c78875fd.entry.js +1 -0
- package/dist/huds-lib/p-c89d1618.entry.js +1 -0
- package/dist/huds-lib/p-c8b11427.entry.js +1 -0
- package/dist/huds-lib/p-d06af299.entry.js +1 -0
- package/dist/huds-lib/p-d38b0576.entry.js +1 -0
- package/dist/huds-lib/p-d8161ace.entry.js +1 -0
- package/dist/huds-lib/p-db4c74a2.entry.js +1 -0
- package/dist/huds-lib/p-df306531.entry.js +1 -0
- package/dist/huds-lib/p-e00b9ff1.entry.js +1 -0
- package/dist/huds-lib/p-e07cc533.entry.js +1 -0
- package/dist/huds-lib/p-e4930926.entry.js +1 -0
- package/dist/huds-lib/p-e5bf0843.entry.js +1 -0
- package/dist/huds-lib/p-ef6935c1.entry.js +1 -0
- package/dist/huds-lib/{p-ef257bde.entry.js → p-f05bdce1.entry.js} +6 -6
- package/dist/huds-lib/p-f60f8340.entry.js +1 -0
- package/dist/huds-lib/p-f6117edb.entry.js +1 -0
- package/dist/huds-lib/p-fc2f0ada.entry.js +1 -0
- package/dist/huds-lib/p-fe6eb2b6.entry.js +1 -0
- package/dist/huds-lib/p-ff55795d.entry.js +1 -0
- package/dist/types/components/courses/hy-content-list/hy-content-list.d.ts +2 -0
- package/dist/types/components/courses/hy-content-list-item/hy-content-list-item.d.ts +2 -1
- package/dist/types/components/cta-button/cta-button.d.ts +0 -1
- package/dist/types/components/cta-link/cta-link.d.ts +0 -3
- package/dist/types/components/hy-hero/hy-hero.d.ts +2 -6
- package/dist/types/components/hy-link-list/hy-link-list.d.ts +3 -0
- package/dist/types/components/hy-logo-grid/hy-logo-grid.d.ts +1 -2
- package/dist/types/components/hy-logo-grid/hy-logo-grid.item.d.ts +5 -0
- package/dist/types/components.d.ts +28 -9
- package/dist/types/utils/utils.d.ts +13 -1
- package/package.json +1 -1
- package/dist/huds-lib/p-04c0025f.entry.js +0 -1
- package/dist/huds-lib/p-073c159c.entry.js +0 -1
- package/dist/huds-lib/p-07879e63.entry.js +0 -1
- package/dist/huds-lib/p-09d51ef3.entry.js +0 -1
- package/dist/huds-lib/p-0ad985b7.entry.js +0 -1
- package/dist/huds-lib/p-133ae856.entry.js +0 -1
- package/dist/huds-lib/p-231a4ecb.entry.js +0 -1
- package/dist/huds-lib/p-234d4903.entry.js +0 -1
- package/dist/huds-lib/p-241754b9.entry.js +0 -1
- package/dist/huds-lib/p-257478e6.entry.js +0 -1
- package/dist/huds-lib/p-276d93ec.entry.js +0 -1
- package/dist/huds-lib/p-2c370ae5.entry.js +0 -1
- package/dist/huds-lib/p-3000b90a.entry.js +0 -1
- package/dist/huds-lib/p-3173b79e.entry.js +0 -1
- package/dist/huds-lib/p-31d6ddf6.entry.js +0 -1
- package/dist/huds-lib/p-334d3c51.entry.js +0 -1
- package/dist/huds-lib/p-345d3f01.entry.js +0 -1
- package/dist/huds-lib/p-3626953d.entry.js +0 -1
- package/dist/huds-lib/p-3a317b1f.entry.js +0 -1
- package/dist/huds-lib/p-3b456fd6.entry.js +0 -1
- package/dist/huds-lib/p-3dd8acb8.entry.js +0 -1
- package/dist/huds-lib/p-3de303ab.entry.js +0 -1
- package/dist/huds-lib/p-3f27e439.entry.js +0 -1
- package/dist/huds-lib/p-4080818c.entry.js +0 -1
- package/dist/huds-lib/p-47c87b1c.js +0 -1
- package/dist/huds-lib/p-4e509573.entry.js +0 -1
- package/dist/huds-lib/p-559f5267.entry.js +0 -1
- package/dist/huds-lib/p-609402fd.entry.js +0 -1
- package/dist/huds-lib/p-60ec6d2e.entry.js +0 -1
- package/dist/huds-lib/p-611fb7df.entry.js +0 -1
- package/dist/huds-lib/p-650c6e4e.entry.js +0 -1
- package/dist/huds-lib/p-6b792a8c.entry.js +0 -1
- package/dist/huds-lib/p-72db0033.entry.js +0 -1
- package/dist/huds-lib/p-7a6780e4.entry.js +0 -1
- package/dist/huds-lib/p-7c83f52e.entry.js +0 -1
- package/dist/huds-lib/p-7ede0f30.entry.js +0 -1
- package/dist/huds-lib/p-7effbe77.entry.js +0 -1
- package/dist/huds-lib/p-8319d830.entry.js +0 -1
- package/dist/huds-lib/p-90505cc3.entry.js +0 -1
- package/dist/huds-lib/p-9361deb2.entry.js +0 -1
- package/dist/huds-lib/p-97bf12b5.entry.js +0 -1
- package/dist/huds-lib/p-97d03f15.entry.js +0 -1
- package/dist/huds-lib/p-9d3a8885.entry.js +0 -1
- package/dist/huds-lib/p-a08adde3.entry.js +0 -1
- package/dist/huds-lib/p-a2f65964.entry.js +0 -1
- package/dist/huds-lib/p-a3e75fcd.entry.js +0 -1
- package/dist/huds-lib/p-a6b86c8d.entry.js +0 -1
- package/dist/huds-lib/p-a6fecd61.entry.js +0 -1
- package/dist/huds-lib/p-a79930ee.entry.js +0 -1
- package/dist/huds-lib/p-a8ec267d.entry.js +0 -1
- package/dist/huds-lib/p-afab35ab.entry.js +0 -1
- package/dist/huds-lib/p-b2d88ab1.entry.js +0 -1
- package/dist/huds-lib/p-b40af061.entry.js +0 -1
- package/dist/huds-lib/p-b4c5f23b.entry.js +0 -1
- package/dist/huds-lib/p-c1a6c019.entry.js +0 -1
- package/dist/huds-lib/p-c6c6db7a.entry.js +0 -1
- package/dist/huds-lib/p-cbb94daf.entry.js +0 -1
- package/dist/huds-lib/p-cc578c01.entry.js +0 -1
- package/dist/huds-lib/p-d1e6dc01.entry.js +0 -1
- package/dist/huds-lib/p-d4e9dad5.entry.js +0 -1
- package/dist/huds-lib/p-d53511e8.entry.js +0 -1
- package/dist/huds-lib/p-d794037a.entry.js +0 -1
- package/dist/huds-lib/p-da8e3d7b.entry.js +0 -1
- package/dist/huds-lib/p-db1cd38d.entry.js +0 -1
- package/dist/huds-lib/p-dd632aee.entry.js +0 -1
- package/dist/huds-lib/p-e4daac5b.entry.js +0 -1
- package/dist/huds-lib/p-e70d2a38.entry.js +0 -1
- package/dist/huds-lib/p-ebfda04f.entry.js +0 -1
- package/dist/huds-lib/p-ecb15145.entry.js +0 -1
- package/dist/huds-lib/p-ee7451da.entry.js +0 -1
- package/dist/huds-lib/p-f0b37b49.entry.js +0 -1
- 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:
|
|
47
|
+
h("div", { class: classItemName }, this.courseName),
|
|
42
48
|
h("div", { class: "hy-content-list-item--metadata" },
|
|
43
|
-
this.isCancelled && (h("div", { class:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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.
|
|
216
|
-
-
|
|
217
|
-
|
|
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
|
-
|
|
235
|
-
|
|
236
|
-
|
|
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
|
-
|
|
241
|
-
|
|
242
|
-
padding: 15px 16px;
|
|
243
|
-
}
|
|
235
|
+
.hy-cta-button.hero-white .text {
|
|
236
|
+
color: var(--grayscale-white);
|
|
244
237
|
}
|
|
245
238
|
|
|
246
|
-
|
|
247
|
-
|
|
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.
|
|
253
|
-
|
|
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
|
-
|
|
258
|
-
|
|
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
|
-
|
|
265
|
-
|
|
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
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
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.
|
|
279
|
-
|
|
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
|
-
|
|
283
|
-
|
|
284
|
-
margin-left: 10px;
|
|
285
|
-
}
|
|
266
|
+
.hy-cta-button.hero-black .text {
|
|
267
|
+
color: var(--grayscale-white);
|
|
286
268
|
}
|
|
287
269
|
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
margin-left: 10px;
|
|
291
|
-
}
|
|
270
|
+
.hy-cta-button.hero-black:hover {
|
|
271
|
+
border-color: var(--brand-main-soft);
|
|
292
272
|
}
|
|
293
273
|
|
|
294
|
-
|
|
295
|
-
|
|
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.
|
|
301
|
-
|
|
302
|
-
width: 16px;
|
|
278
|
+
.hy-cta-button.hero-black:hover .link-icon svg {
|
|
279
|
+
fill: var(--brand-main-soft);
|
|
303
280
|
}
|
|
304
281
|
|
|
305
|
-
|
|
306
|
-
|
|
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
|
-
|
|
313
|
-
|
|
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
|
-
|
|
320
|
-
|
|
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
|
-
|
|
327
|
-
|
|
328
|
-
|
|
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
|
-
|
|
333
|
-
|
|
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
|
-
|
|
340
|
-
|
|
341
|
-
margin-left: 12px;
|
|
342
|
-
}
|
|
313
|
+
.hy-cta-button.hero-blue:hover .text {
|
|
314
|
+
color: var(--brand-main-soft);
|
|
343
315
|
}
|
|
344
316
|
|
|
345
|
-
|
|
346
|
-
|
|
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
|
-
|
|
353
|
-
|
|
354
|
-
border-width: 4px;
|
|
355
|
-
}
|
|
321
|
+
.hy-cta-button.hero-blue:focus {
|
|
322
|
+
border-color: var(--brand-main-soft);
|
|
356
323
|
}
|
|
357
324
|
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
border-width: 4px;
|
|
361
|
-
}
|
|
325
|
+
.hy-cta-button.hero-blue:focus .text {
|
|
326
|
+
color: var(--brand-main-soft);
|
|
362
327
|
}
|
|
363
328
|
|
|
364
|
-
|
|
365
|
-
|
|
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
|
-
|
|
75
|
-
display: -webkit-box;
|
|
76
|
-
display: -ms-flexbox;
|
|
77
|
-
display: flex;
|
|
71
|
+
display: inline-grid;
|
|
78
72
|
font-family: var(--main-font-family);
|
|
79
|
-
|
|
80
|
-
|
|
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.
|
|
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
|
|
140
|
-
background-color: var(--brand-main)
|
|
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-
|
|
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
|
-
|
|
100
|
+
width: 40px;
|
|
153
101
|
}
|
|
154
102
|
|
|
155
|
-
|
|
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-
|
|
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
|
}
|