@itcenteratunihelsinki/huds-lib 0.8.43 → 0.8.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/accordion-container.js +48 -0
- package/components/accordion-item.js +239 -0
- package/components/color-box.d.ts +11 -0
- package/components/color-box.js +33 -0
- package/components/cta-button.js +57 -0
- package/components/cta-link.js +50 -0
- package/components/custom-elements.d.ts +2 -0
- package/components/emotion.esm.js +1395 -0
- package/components/globalScript.js +26 -0
- package/components/heading.js +80 -0
- package/components/hy-accordion-container.d.ts +11 -0
- package/components/hy-accordion-container.js +6 -0
- package/components/hy-accordion-item.d.ts +11 -0
- package/components/hy-accordion-item.js +6 -0
- package/components/hy-adjacent-image-text.d.ts +11 -0
- package/components/hy-adjacent-image-text.js +106 -0
- package/components/hy-anchor-link-list.d.ts +11 -0
- package/components/hy-anchor-link-list.js +76 -0
- package/components/hy-badge.d.ts +11 -0
- package/components/hy-badge.js +37 -0
- package/components/hy-banner.d.ts +11 -0
- package/components/hy-banner.js +94 -0
- package/components/hy-baseline.d.ts +11 -0
- package/components/hy-baseline.js +44 -0
- package/components/hy-box-container.d.ts +11 -0
- package/components/hy-box-container.js +43 -0
- package/components/hy-box.d.ts +11 -0
- package/components/hy-box.js +6 -0
- package/components/hy-box2.js +195 -0
- package/components/hy-breadcrumbs.d.ts +11 -0
- package/components/hy-breadcrumbs.js +69 -0
- package/components/hy-button.d.ts +11 -0
- package/components/hy-button.js +111 -0
- package/components/hy-checkbox.d.ts +11 -0
- package/components/hy-checkbox.js +55 -0
- package/components/hy-collaboration.d.ts +11 -0
- package/components/hy-collaboration.js +49 -0
- package/components/hy-content-list-item.d.ts +11 -0
- package/components/hy-content-list-item.js +6 -0
- package/components/hy-content-list-item2.js +109 -0
- package/components/hy-content-list.d.ts +11 -0
- package/components/hy-content-list.js +155 -0
- package/components/hy-crisis-banner.d.ts +11 -0
- package/components/hy-crisis-banner.js +47 -0
- package/components/hy-cta-button.d.ts +11 -0
- package/components/hy-cta-button.js +6 -0
- package/components/hy-cta-link.d.ts +11 -0
- package/components/hy-cta-link.js +6 -0
- package/components/hy-docs-container.d.ts +11 -0
- package/components/hy-docs-container.js +32 -0
- package/components/hy-dropdown-panel-item.d.ts +11 -0
- package/components/hy-dropdown-panel-item.js +6 -0
- package/components/hy-dropdown-panel.d.ts +11 -0
- package/components/hy-dropdown-panel.js +6 -0
- package/components/hy-dropdown.d.ts +11 -0
- package/components/hy-dropdown.js +155 -0
- package/components/hy-dropdown.panel.item.js +41 -0
- package/components/hy-dropdown.panel.js +29 -0
- package/components/hy-event-item.d.ts +11 -0
- package/components/hy-event-item.js +73 -0
- package/components/hy-events.d.ts +11 -0
- package/components/hy-events.js +131 -0
- package/components/hy-filter-group-item.d.ts +11 -0
- package/components/hy-filter-group-item.js +6 -0
- package/components/hy-filter-group.d.ts +11 -0
- package/components/hy-filter-group.item.js +38 -0
- package/components/hy-filter-group.js +67 -0
- package/components/hy-filter-list-type.d.ts +11 -0
- package/components/hy-filter-list-type.js +52 -0
- package/components/hy-filter-visibility-tool-reset.d.ts +11 -0
- package/components/hy-filter-visibility-tool-reset.js +6 -0
- package/components/hy-filter-visibility-tool-toggle.d.ts +11 -0
- package/components/hy-filter-visibility-tool-toggle.js +6 -0
- package/components/hy-filter-visibility-tool.d.ts +11 -0
- package/components/hy-filter-visibility-tool.js +58 -0
- package/components/hy-filter-visibility-tool.reset.js +32 -0
- package/components/hy-filter-visibility-tool.reset.toggle.js +32 -0
- package/components/hy-footer-action.d.ts +11 -0
- package/components/hy-footer-action.js +55 -0
- package/components/hy-footer-base.d.ts +11 -0
- package/components/hy-footer-base.js +89 -0
- package/components/hy-footer-info.d.ts +11 -0
- package/components/hy-footer-info.js +167 -0
- package/components/hy-footer-link-item.d.ts +11 -0
- package/components/hy-footer-link-item.js +6 -0
- package/components/hy-footer-link-item2.js +99 -0
- package/components/hy-footer.d.ts +11 -0
- package/components/hy-footer.js +33 -0
- package/components/hy-general-list-item.d.ts +11 -0
- package/components/hy-general-list-item.js +6 -0
- package/components/hy-general-list-item2.js +74 -0
- package/components/hy-general-list.d.ts +11 -0
- package/components/hy-general-list.js +90 -0
- package/components/hy-grid-container.d.ts +11 -0
- package/components/hy-grid-container.js +33 -0
- package/components/hy-grid-item.d.ts +11 -0
- package/components/hy-grid-item.js +49 -0
- package/components/hy-grid-row.d.ts +11 -0
- package/components/hy-grid-row.js +33 -0
- package/components/hy-heading.d.ts +11 -0
- package/components/hy-heading.js +6 -0
- package/components/hy-hero-carousel.d.ts +11 -0
- package/components/hy-hero-carousel.js +4935 -0
- package/components/hy-hero.d.ts +11 -0
- package/components/hy-hero.js +155 -0
- package/components/hy-icon.d.ts +11 -0
- package/components/hy-icon.js +6 -0
- package/components/hy-image.d.ts +11 -0
- package/components/hy-image.js +6 -0
- package/components/hy-ingress.d.ts +11 -0
- package/components/hy-ingress.js +45 -0
- package/components/hy-introduction.d.ts +11 -0
- package/components/hy-introduction.js +118 -0
- package/components/hy-key-figure-group.d.ts +11 -0
- package/components/hy-key-figure-group.js +106 -0
- package/components/hy-key-figure.d.ts +11 -0
- package/components/hy-key-figure.js +6 -0
- package/components/hy-key-figure2.js +39 -0
- package/components/hy-key-highlight-group.d.ts +11 -0
- package/components/hy-key-highlight-group.js +69 -0
- package/components/hy-key-highlight.d.ts +11 -0
- package/components/hy-key-highlight.js +6 -0
- package/components/hy-key-highlight2.js +39 -0
- package/components/hy-large-process-flow-phase.d.ts +11 -0
- package/components/hy-large-process-flow-phase.js +6 -0
- package/components/hy-large-process-flow-phase2.js +63 -0
- package/components/hy-large-process-flow.d.ts +11 -0
- package/components/hy-large-process-flow.js +86 -0
- package/components/hy-link-box-list.d.ts +11 -0
- package/components/hy-link-box-list.js +92 -0
- package/components/hy-link-box.d.ts +11 -0
- package/components/hy-link-box.js +6 -0
- package/components/hy-link-list.d.ts +11 -0
- package/components/hy-link-list.js +77 -0
- package/components/hy-link.d.ts +11 -0
- package/components/hy-link.js +46 -0
- package/components/hy-list-item.d.ts +11 -0
- package/components/hy-list-item.js +293 -0
- package/components/hy-logo-grid-item.d.ts +11 -0
- package/components/hy-logo-grid-item.js +48 -0
- package/components/hy-logo-grid.d.ts +11 -0
- package/components/hy-logo-grid.js +38 -0
- package/components/hy-main-content-wrapper.d.ts +11 -0
- package/components/hy-main-content-wrapper.js +6 -0
- package/components/hy-main-content-wrapper2.js +30 -0
- package/components/hy-main.d.ts +11 -0
- package/components/hy-main.js +40 -0
- package/components/hy-menu-language-item.d.ts +11 -0
- package/components/hy-menu-language-item.js +6 -0
- package/components/hy-menu-language.d.ts +11 -0
- package/components/hy-menu-language.js +6 -0
- package/components/hy-menu-main-group.d.ts +11 -0
- package/components/hy-menu-main-group.js +6 -0
- package/components/hy-menu-main-group2.js +192 -0
- package/components/hy-opening-hours-content.d.ts +11 -0
- package/components/hy-opening-hours-content.js +62 -0
- package/components/hy-opening-hours.d.ts +11 -0
- package/components/hy-opening-hours.js +90 -0
- package/components/hy-pager-item.d.ts +11 -0
- package/components/hy-pager-item.js +73 -0
- package/components/hy-pager.d.ts +11 -0
- package/components/hy-pager.js +34 -0
- package/components/hy-paragraph-text.d.ts +11 -0
- package/components/hy-paragraph-text.js +6 -0
- package/components/hy-person-card.d.ts +11 -0
- package/components/hy-person-card.js +137 -0
- package/components/hy-person-profile-listing.d.ts +11 -0
- package/components/hy-person-profile-listing.js +6 -0
- package/components/hy-person-profile.d.ts +11 -0
- package/components/hy-person-profile.js +142 -0
- package/components/hy-process-flow-box.d.ts +11 -0
- package/components/hy-process-flow-box.js +6 -0
- package/components/hy-process.d.ts +11 -0
- package/components/hy-process.js +89 -0
- package/components/hy-prominent-image.d.ts +11 -0
- package/components/hy-prominent-image.js +71 -0
- package/components/hy-quote.d.ts +11 -0
- package/components/hy-quote.js +54 -0
- package/components/hy-row.d.ts +11 -0
- package/components/hy-row.js +50 -0
- package/components/hy-search-field.d.ts +11 -0
- package/components/hy-search-field.js +6 -0
- package/components/hy-search-field2.js +81 -0
- package/components/hy-section-container.d.ts +11 -0
- package/components/hy-section-container.js +32 -0
- package/components/hy-shortcuts.d.ts +11 -0
- package/components/hy-shortcuts.js +96 -0
- package/components/hy-site-header.d.ts +11 -0
- package/components/hy-site-header.js +369 -0
- package/components/hy-site-logo.d.ts +11 -0
- package/components/hy-site-logo.js +6 -0
- package/components/hy-site-search.d.ts +11 -0
- package/components/hy-site-search.js +6 -0
- package/components/hy-table-container.d.ts +11 -0
- package/components/hy-table-container.js +39 -0
- package/components/hy-tabs-item.d.ts +11 -0
- package/components/hy-tabs-item.js +6 -0
- package/components/hy-tabs-item2.js +33 -0
- package/components/hy-tabs.d.ts +11 -0
- package/components/hy-tabs.js +6 -0
- package/components/hy-tabs2.js +346 -0
- package/components/hy-tag.d.ts +11 -0
- package/components/hy-tag.js +6 -0
- package/components/hy-tag2.js +31 -0
- package/components/hy-tiny-text.d.ts +11 -0
- package/components/hy-tiny-text.js +34 -0
- package/components/hy-twitter-feed.d.ts +11 -0
- package/components/hy-twitter-feed.js +57 -0
- package/components/hy-two-columns.d.ts +11 -0
- package/components/hy-two-columns.js +36 -0
- package/components/hy-user-login-form.d.ts +11 -0
- package/components/hy-user-login-form.js +53 -0
- package/components/hy-video.d.ts +11 -0
- package/components/hy-video.js +156 -0
- package/components/icon.js +830 -0
- package/components/image.js +75 -0
- package/components/index.d.ts +27 -0
- package/components/index.js +2 -0
- package/components/index2.js +965 -0
- package/components/link-box.js +116 -0
- package/components/menu-language-item.js +47 -0
- package/components/menu-language.js +121 -0
- package/components/package.json +8 -0
- package/components/paragraph-text.js +60 -0
- package/components/person-profile.listing.js +57 -0
- package/components/process-flow-box.js +57 -0
- package/components/site-logo.js +59 -0
- package/components/site-search.js +249 -0
- package/{dist/esm/utils-43c56d92.js → components/utils.js} +1 -1
- package/dist/cjs/{hy-accordion-container_83.cjs.entry.js → color-box_91.cjs.entry.js} +1177 -999
- package/dist/cjs/{globalScript-45ad6d41.js → globalScript-d341436f.js} +7 -7
- package/dist/cjs/huds-lib.cjs.js +3 -3
- package/dist/cjs/hy-event-item.cjs.entry.js +10 -10
- package/dist/cjs/hy-events.cjs.entry.js +22 -22
- package/dist/cjs/hy-hero-carousel.cjs.entry.js +25 -25
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +7 -11
- package/dist/collection/components/accordion-container/accordion-container.js +4 -4
- package/dist/collection/components/accordion-item/accordion-item.js +78 -78
- package/dist/collection/components/adjacent-image-text/adjacent-image-text.js +17 -17
- package/dist/collection/components/baseline/baseline.js +2 -2
- package/dist/collection/components/button/button.js +28 -28
- package/dist/collection/components/color-box/color-box.js +1 -1
- package/dist/collection/components/courses/hy-content-list/hy-content-list.js +42 -42
- package/dist/collection/components/courses/hy-content-list-item/hy-content-list-item.js +15 -15
- package/dist/collection/components/cta-button/cta-button.js +12 -12
- package/dist/collection/components/cta-link/cta-link.js +7 -7
- package/dist/collection/components/footer/hy-footer/hy-footer.js +3 -3
- package/dist/collection/components/footer/hy-footer-action/hy-footer-action.js +5 -5
- package/dist/collection/components/footer/hy-footer-base/hy-footer-base.js +6 -6
- package/dist/collection/components/footer/hy-footer-info/hy-footer-info.js +19 -19
- package/dist/collection/components/footer/hy-footer-link-item/hy-footer-link-item.js +22 -22
- package/dist/collection/components/grid-container/grid-container.js +1 -1
- package/dist/collection/components/grid-item/grid-item.js +5 -5
- package/dist/collection/components/grid-row/grid-row.js +3 -3
- package/dist/collection/components/heading/heading.js +17 -17
- package/dist/collection/components/hy-anchor-link-list/hy-anchor-link-list.js +13 -13
- package/dist/collection/components/hy-badge/hy-badge.js +6 -6
- package/dist/collection/components/hy-banner/hy-banner.js +13 -13
- package/dist/collection/components/hy-box/hy-box.js +26 -26
- package/dist/collection/components/hy-box-container/hy-box-container.js +5 -5
- package/dist/collection/components/hy-breadcrumbs/hy-breadcrumbs.js +10 -10
- package/dist/collection/components/hy-checkbox/hy-checkbox.js +5 -5
- package/dist/collection/components/hy-collaboration/hy-collaboration.js +2 -2
- package/dist/collection/components/hy-crisis-banner/hy-crisis-banner.js +2 -2
- package/dist/collection/components/hy-dropdown/hy-dropdown.js +16 -16
- package/dist/collection/components/hy-dropdown/hy-dropdown.panel.item.js +2 -2
- package/dist/collection/components/hy-dropdown/hy-dropdown.panel.js +2 -2
- package/dist/collection/components/hy-event-item/hy-event-item.js +15 -15
- package/dist/collection/components/hy-events/hy-events.js +25 -25
- package/dist/collection/components/hy-filter-group/hy-filter-group.item.js +3 -3
- package/dist/collection/components/hy-filter-group/hy-filter-group.js +3 -3
- package/dist/collection/components/hy-filter-list-type/hy-filter-list-type.js +10 -10
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.js +4 -4
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.js +2 -2
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.toggle.js +2 -2
- package/dist/collection/components/hy-general-list/hy-general-list.js +11 -11
- package/dist/collection/components/hy-general-list-item/hy-general-list-item.js +18 -18
- package/dist/collection/components/hy-hero/hy-hero.js +26 -26
- package/dist/collection/components/hy-hero-carousel/hy-hero-carousel.css +6 -6
- package/dist/collection/components/hy-hero-carousel/hy-hero-carousel.js +32 -32
- package/dist/collection/components/hy-introduction/hy-introduction.js +23 -23
- package/dist/collection/components/hy-key-figure/hy-key-figure.js +3 -3
- package/dist/collection/components/hy-key-figure-group/hy-key-figure-group.js +17 -17
- package/dist/collection/components/hy-key-highlight/hy-key-highlight.js +3 -3
- package/dist/collection/components/hy-key-highlight-group/hy-key-highlight-group.js +12 -12
- package/dist/collection/components/hy-large-process-flow/hy-large-process-flow.js +11 -11
- package/dist/collection/components/hy-large-process-flow-phase/hy-large-process-flow-phase.js +5 -5
- package/dist/collection/components/hy-link-list/hy-link-list.js +16 -16
- package/dist/collection/components/hy-list-item/hy-list-item.js +71 -71
- package/dist/collection/components/hy-logo-grid/hy-logo-grid.item.js +3 -3
- package/dist/collection/components/hy-logo-grid/hy-logo-grid.js +1 -1
- package/dist/collection/components/hy-main/hy-main.js +5 -5
- package/dist/collection/components/hy-main-content-wrapper/hy-main-content-wrapper.js +2 -2
- package/dist/collection/components/hy-opening-hours/hy-opening-hours.js +12 -12
- package/dist/collection/components/hy-opening-hours-content/hy-opening-hours-content.js +10 -10
- package/dist/collection/components/hy-person-card/hy-person-card.js +17 -17
- package/dist/collection/components/hy-prominent-image/hy-prominent-image.js +12 -12
- package/dist/collection/components/hy-quote/hy-quote.js +8 -8
- package/dist/collection/components/hy-search-field/hy-search-field.js +15 -15
- package/dist/collection/components/hy-shortcuts/hy-shortcuts.js +21 -21
- package/dist/collection/components/hy-table-container/hy-table-container.js +2 -2
- package/dist/collection/components/hy-tabs/hy-tabs.js +52 -52
- package/dist/collection/components/hy-tabs-item/hy-tabs-item.js +2 -2
- package/dist/collection/components/hy-tag/hy-tag.js +2 -2
- package/dist/collection/components/hy-twitter-feed/hy-twitter-feed.js +4 -4
- package/dist/collection/components/hy-two-columns/hy-two-columns.js +2 -2
- package/dist/collection/components/hy-user-login-form/hy-user-login-form.js +4 -4
- package/dist/collection/components/hy-video/hy-video.js +26 -26
- package/dist/collection/components/icon/Alert.js +1 -1
- package/dist/collection/components/icon/Archive.js +1 -1
- package/dist/collection/components/icon/ArrowRight.js +1 -1
- package/dist/collection/components/icon/CaretRight.js +1 -1
- package/dist/collection/components/icon/DotArrowRight.js +1 -1
- package/dist/collection/components/icon/Euro.js +1 -1
- package/dist/collection/components/icon/Globe.js +1 -1
- package/dist/collection/components/icon/HeartSupport.js +1 -1
- package/dist/collection/components/icon/Home.js +1 -1
- package/dist/collection/components/icon/Info.js +1 -1
- package/dist/collection/components/icon/ListStyleGrid.js +1 -1
- package/dist/collection/components/icon/ListStyleList.js +1 -1
- package/dist/collection/components/icon/Search.js +1 -1
- package/dist/collection/components/icon/SlimHamburgerMenu.js +1 -1
- package/dist/collection/components/icon/SomeFacebook.js +1 -1
- package/dist/collection/components/icon/SomeInstagram.js +1 -1
- package/dist/collection/components/icon/SomeLinkedin.js +1 -1
- package/dist/collection/components/icon/SomeTwitter.js +1 -1
- package/dist/collection/components/icon/SomeYoutube.js +1 -1
- package/dist/collection/components/icon/TwitterLike.js +1 -1
- package/dist/collection/components/icon/allIcons.js +114 -114
- package/dist/collection/components/icon/icon.js +134 -134
- package/dist/collection/components/icon/icons.js +132 -132
- package/dist/collection/components/image/image.js +10 -10
- package/dist/collection/components/ingress/ingress.js +7 -7
- package/dist/collection/components/link/link.js +7 -7
- package/dist/collection/components/link-box/link-box.js +23 -23
- package/dist/collection/components/link-box-list/link-box-list.js +12 -12
- package/dist/collection/components/navigation/hy-menu-main-group/hy-menu-main-group.js +45 -45
- package/dist/collection/components/navigation/menu-language/menu-language.js +15 -15
- package/dist/collection/components/navigation/menu-language-item/menu-language-item.js +4 -4
- package/dist/collection/components/pagination/hy-pager/hy-pager.js +2 -2
- package/dist/collection/components/pagination/hy-pager-item/hy-pager-item.js +12 -12
- package/dist/collection/components/paragraph-text/paragraph-text.js +10 -10
- package/dist/collection/components/person-profile/person-profile-listing/person-profile.listing.js +9 -9
- package/dist/collection/components/person-profile/person-profile.js +16 -16
- package/dist/collection/components/process/process.js +12 -12
- package/dist/collection/components/process-flow-box/process-flow-box.js +11 -11
- package/dist/collection/components/row/row.js +6 -6
- package/dist/collection/components/section-container/section-container.js +1 -1
- package/dist/collection/components/site-header/site-header.js +69 -69
- package/dist/collection/components/site-header/site-logo/site-logo.js +7 -7
- package/dist/collection/components/site-header/site-search/site-search.js +56 -56
- package/dist/collection/global/colors.js +21 -21
- package/dist/collection/global/globalScript.js +7 -7
- package/dist/collection/index.js +1 -1
- package/dist/esm/{hy-accordion-container_83.entry.js → color-box_91.entry.js} +1171 -1001
- package/dist/esm/{globalScript-4ad40215.js → globalScript-3c6fab71.js} +7 -7
- package/dist/esm/huds-lib.js +4 -4
- package/dist/esm/hy-event-item.entry.js +10 -10
- package/dist/esm/hy-events.entry.js +23 -23
- package/dist/esm/hy-hero-carousel.entry.js +26 -26
- package/dist/esm/loader.js +4 -4
- package/dist/esm/utils-a4d55421.js +239 -0
- package/dist/fonts/fonts.css +20 -20
- package/dist/huds-lib/color-box_91.entry.js +87 -0
- package/dist/huds-lib/globalScript-3c6fab71.js +1 -0
- package/dist/huds-lib/huds-lib.esm.js +1 -1
- package/dist/huds-lib/hy-event-item.entry.js +1 -0
- package/dist/huds-lib/hy-events.entry.js +1 -0
- package/dist/huds-lib/hy-hero-carousel.entry.js +1 -0
- package/dist/huds-lib/{p-63584350.js → utils-a4d55421.js} +1 -1
- package/dist/loader/cdn.js +3 -0
- package/dist/loader/index.cjs.js +3 -0
- package/dist/loader/index.d.ts +21 -0
- package/dist/loader/index.es2017.js +3 -0
- package/dist/loader/index.js +4 -0
- package/dist/loader/package.json +11 -0
- package/dist/types/components/accordion-item/accordion-item.d.ts +1 -1
- package/dist/types/components/adjacent-image-text/adjacent-image-text.d.ts +1 -1
- package/dist/types/components/button/button.d.ts +3 -3
- package/dist/types/components/color-box/color-box.d.ts +1 -1
- package/dist/types/components/courses/hy-content-list/hy-content-list.d.ts +2 -2
- package/dist/types/components/courses/hy-content-list-item/hy-content-list-item.d.ts +1 -1
- package/dist/types/components/cta-button/cta-button.d.ts +2 -2
- package/dist/types/components/cta-link/cta-link.d.ts +2 -2
- package/dist/types/components/footer/hy-footer-base/hy-footer-base.d.ts +2 -2
- package/dist/types/components/footer/hy-footer-info/hy-footer-info.d.ts +1 -1
- package/dist/types/components/footer/hy-footer-link-item/hy-footer-link-item.d.ts +1 -1
- package/dist/types/components/grid-item/grid-item.d.ts +1 -1
- package/dist/types/components/heading/heading.d.ts +1 -1
- package/dist/types/components/hy-badge/hy-badge.d.ts +2 -2
- package/dist/types/components/hy-breadcrumbs/hy-breadcrumbs.d.ts +1 -1
- package/dist/types/components/hy-checkbox/hy-checkbox.d.ts +1 -1
- package/dist/types/components/hy-filter-visibility-tool/hy-filter-visibility-tool.d.ts +1 -1
- package/dist/types/components/hy-general-list/hy-general-list.d.ts +1 -1
- package/dist/types/components/hy-hero/hy-hero.d.ts +1 -1
- package/dist/types/components/hy-introduction/hy-introduction.d.ts +1 -1
- package/dist/types/components/hy-key-figure/hy-key-figure.d.ts +2 -2
- package/dist/types/components/hy-key-figure-group/hy-key-figure-group.d.ts +1 -1
- package/dist/types/components/hy-key-highlight/hy-key-highlight.d.ts +2 -2
- package/dist/types/components/hy-key-highlight-group/hy-key-highlight-group.d.ts +2 -2
- package/dist/types/components/hy-large-process-flow/hy-large-process-flow.d.ts +1 -1
- package/dist/types/components/hy-large-process-flow-phase/hy-large-process-flow-phase.d.ts +1 -1
- package/dist/types/components/hy-link-list/hy-link-list.d.ts +1 -1
- package/dist/types/components/hy-list-item/hy-list-item.d.ts +1 -1
- package/dist/types/components/hy-person-card/hy-person-card.d.ts +1 -1
- package/dist/types/components/hy-shortcuts/hy-shortcuts.d.ts +1 -1
- package/dist/types/components/hy-tabs/hy-tabs.d.ts +1 -1
- package/dist/types/components/icon/allIcons.d.ts +114 -114
- package/dist/types/components/icon/icons.d.ts +130 -130
- package/dist/types/components/image/image.d.ts +1 -1
- package/dist/types/components/link/link.d.ts +1 -1
- package/dist/types/components/link-box/link-box.d.ts +2 -2
- package/dist/types/components/link-box-list/link-box-list.d.ts +2 -2
- package/dist/types/components/navigation/hy-menu-main-group/hy-menu-main-group.d.ts +1 -1
- package/dist/types/components/navigation/menu-language/menu-language.d.ts +2 -2
- package/dist/types/components/pagination/hy-pager-item/hy-pager-item.d.ts +1 -1
- package/dist/types/components/person-profile/person-profile-listing/person-profile.listing.d.ts +1 -1
- package/dist/types/components/process/process.d.ts +1 -1
- package/dist/types/components/process-flow-box/process-flow-box.d.ts +3 -3
- package/dist/types/components/site-header/site-header.d.ts +2 -2
- package/dist/types/components/site-header/site-logo/site-logo.d.ts +1 -1
- package/dist/types/components/site-header/site-search/site-search.d.ts +3 -3
- package/dist/types/components.d.ts +10 -10
- package/dist/types/index.d.ts +1 -1
- package/dist/types/utils/utils.d.ts +4 -4
- package/loader/cdn.js +4 -3
- package/loader/index.cjs.js +4 -3
- package/loader/index.d.ts +13 -3
- package/loader/index.es2017.js +2 -3
- package/loader/index.js +13 -4
- package/loader/package.json +1 -1
- package/package.json +10 -3
- package/dist/cjs/color-box_8.cjs.entry.js +0 -185
- package/dist/esm/color-box_8.entry.js +0 -174
- package/dist/huds-lib/p-7c7ea6b3.entry.js +0 -1
- package/dist/huds-lib/p-8d5c2e5b.entry.js +0 -1
- package/dist/huds-lib/p-91f6109f.entry.js +0 -1
- package/dist/huds-lib/p-9a15a75b.entry.js +0 -1
- package/dist/huds-lib/p-b02e49ad.js +0 -1
- package/dist/huds-lib/p-ffd1d29a.entry.js +0 -87
- /package/dist/cjs/{index-25bd964b.js → index-ca4e37f2.js} +0 -0
- /package/dist/esm/{index-3a66d87e.js → index-9920074a.js} +0 -0
- /package/dist/huds-lib/{p-ff975a68.js → index-9920074a.js} +0 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { L as ListStyleVariants } from './utils.js';
|
|
3
|
+
import { d as defineCustomElement$2 } from './icon.js';
|
|
4
|
+
|
|
5
|
+
const hyFilterListTypeCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-filter__list-type{display:none}@media (min-width: 60rem){.hy-filter__list-type{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-family:var(--main-font-family)}}@media (min-width: 60rem){.hy-filter__list-type span{font-size:0.875rem;line-height:18px;font-weight:600;color:var(--grayscale-black);letter-spacing:-0.5px;text-align:right}}@media (min-width: 1601px){.hy-filter__list-type span{font-size:1rem;line-height:20px}}.hy-filter__list-type__list{background:var(--grayscale-background-box);border:none;margin:0 8px;padding:10px}.hy-filter__list-type__list svg{background-color:var(--grayscale-background-box);fill:var(--brand-main-light)}.hy-filter__list-type__list.is-active{background:white;border:black 1px solid}.hy-filter__list-type__list.is-active svg{background-color:var(--grayscale-white);fill:var(--grayscale-black)}.hy-filter__list-type__list:hover{cursor:pointer}.hy-filter__list-type__grid{background:var(--grayscale-background-box);border:none;padding:10px}.hy-filter__list-type__grid svg{background-color:var(--grayscale-background-box);fill:var(--brand-main-light)}.hy-filter__list-type__grid.is-active{background:white;border:black 1px solid}.hy-filter__list-type__grid.is-active svg{background-color:var(--grayscale-white);fill:var(--grayscale-black)}.hy-filter__list-type__grid:hover{cursor:pointer}";
|
|
6
|
+
|
|
7
|
+
const HyFilterListType$1 = /*@__PURE__*/ proxyCustomElement(class HyFilterListType extends HTMLElement {
|
|
8
|
+
constructor() {
|
|
9
|
+
super();
|
|
10
|
+
this.__registerHost();
|
|
11
|
+
this.filterLabel = undefined;
|
|
12
|
+
this.filterValue = undefined;
|
|
13
|
+
}
|
|
14
|
+
render() {
|
|
15
|
+
return (h("div", { class: "hy-filter__list-type" }, h("span", null, this.filterLabel), h("button", { type: "button", class: {
|
|
16
|
+
"hy-filter-item": true,
|
|
17
|
+
"hy-filter__list-type__list": true,
|
|
18
|
+
"is-active": this.filterValue == ListStyleVariants.list,
|
|
19
|
+
}, "aria-label": `${this.filterLabel}--list` }, h("hy-icon", { class: "hy-filter-group__button-icon", icon: "hy-icon-list-style-list", size: 16, "aria-hidden": "true" })), h("button", { type: "button", class: {
|
|
20
|
+
"hy-filter-item": true,
|
|
21
|
+
"hy-filter__list-type__grid": true,
|
|
22
|
+
"is-active": this.filterValue == ListStyleVariants.grid,
|
|
23
|
+
}, "aria-label": `${this.filterLabel}--grid` }, h("hy-icon", { class: "hy-filter-group__button-icon", icon: "hy-icon-list-style-grid", size: 16, "aria-hidden": "true" }))));
|
|
24
|
+
}
|
|
25
|
+
static get style() { return hyFilterListTypeCss; }
|
|
26
|
+
}, [0, "hy-filter-list-type", {
|
|
27
|
+
"filterLabel": [1, "filter-label"],
|
|
28
|
+
"filterValue": [1, "filter-value"]
|
|
29
|
+
}]);
|
|
30
|
+
function defineCustomElement$1() {
|
|
31
|
+
if (typeof customElements === "undefined") {
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
const components = ["hy-filter-list-type", "hy-icon"];
|
|
35
|
+
components.forEach(tagName => { switch (tagName) {
|
|
36
|
+
case "hy-filter-list-type":
|
|
37
|
+
if (!customElements.get(tagName)) {
|
|
38
|
+
customElements.define(tagName, HyFilterListType$1);
|
|
39
|
+
}
|
|
40
|
+
break;
|
|
41
|
+
case "hy-icon":
|
|
42
|
+
if (!customElements.get(tagName)) {
|
|
43
|
+
defineCustomElement$2();
|
|
44
|
+
}
|
|
45
|
+
break;
|
|
46
|
+
} });
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
const HyFilterListType = HyFilterListType$1;
|
|
50
|
+
const defineCustomElement = defineCustomElement$1;
|
|
51
|
+
|
|
52
|
+
export { HyFilterListType, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface HyFilterVisibilityToolReset extends Components.HyFilterVisibilityToolReset, HTMLElement {}
|
|
4
|
+
export const HyFilterVisibilityToolReset: {
|
|
5
|
+
prototype: HyFilterVisibilityToolReset;
|
|
6
|
+
new (): HyFilterVisibilityToolReset;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { H as HyFilterVisibilityToolReset$1, d as defineCustomElement$1 } from './hy-filter-visibility-tool.reset.js';
|
|
2
|
+
|
|
3
|
+
const HyFilterVisibilityToolReset = HyFilterVisibilityToolReset$1;
|
|
4
|
+
const defineCustomElement = defineCustomElement$1;
|
|
5
|
+
|
|
6
|
+
export { HyFilterVisibilityToolReset, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface HyFilterVisibilityToolToggle extends Components.HyFilterVisibilityToolToggle, HTMLElement {}
|
|
4
|
+
export const HyFilterVisibilityToolToggle: {
|
|
5
|
+
prototype: HyFilterVisibilityToolToggle;
|
|
6
|
+
new (): HyFilterVisibilityToolToggle;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { H as HyFilterVisibilityToolToggle$1, d as defineCustomElement$1 } from './hy-filter-visibility-tool.reset.toggle.js';
|
|
2
|
+
|
|
3
|
+
const HyFilterVisibilityToolToggle = HyFilterVisibilityToolToggle$1;
|
|
4
|
+
const defineCustomElement = defineCustomElement$1;
|
|
5
|
+
|
|
6
|
+
export { HyFilterVisibilityToolToggle, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface HyFilterVisibilityTool extends Components.HyFilterVisibilityTool, HTMLElement {}
|
|
4
|
+
export const HyFilterVisibilityTool: {
|
|
5
|
+
prototype: HyFilterVisibilityTool;
|
|
6
|
+
new (): HyFilterVisibilityTool;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { d as defineCustomElement$4 } from './hy-filter-visibility-tool.reset.js';
|
|
3
|
+
import { d as defineCustomElement$3 } from './hy-filter-visibility-tool.reset.toggle.js';
|
|
4
|
+
import { d as defineCustomElement$2 } from './icon.js';
|
|
5
|
+
|
|
6
|
+
const hyFilterVisibilityToolCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}.hy-filter-visibility-tool{font-size:0.875rem;line-height:20px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:transparent;border:0;color:var(--link-blue);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-family:var(--main-font-family);font-weight:600;letter-spacing:-0.35px;padding:0;margin-right:1rem}@media (min-width: 30rem){.hy-filter-visibility-tool{font-size:1rem;line-height:20px;letter-spacing:-0.5px}}.hy-filter-visibility-tool:hover{color:var(--brand-main);cursor:pointer}.hy-filter-visibility-tool:hover svg{fill:var(--brand-main)}.hy-filter-visibility-tool:focus{color:var(--brand-main);outline-offset:1px;outline:2px solid var(--brand-main)}.hy-filter-visibility-tool:focus svg{fill:var(--brand-main)}.hy-filter-visibility-tool__icon{-ms-flex-negative:0;flex-shrink:0;margin-right:6px}.hy-filter-visibility-tool__icon svg{fill:var(--link-blue)}@media (min-width: 30rem){.hy-filter-visibility-tool__icon svg{height:16px;width:16px}}";
|
|
7
|
+
|
|
8
|
+
const HyFilterVisibilityTool$1 = /*@__PURE__*/ proxyCustomElement(class HyFilterVisibilityTool extends HTMLElement {
|
|
9
|
+
constructor() {
|
|
10
|
+
super();
|
|
11
|
+
this.__registerHost();
|
|
12
|
+
this.filterVisibilityToolType = undefined;
|
|
13
|
+
}
|
|
14
|
+
render() {
|
|
15
|
+
switch (this.filterVisibilityToolType) {
|
|
16
|
+
case "toggle":
|
|
17
|
+
return (h(Host, null, h("hy-filter-visibility-tool-toggle", null)));
|
|
18
|
+
case "reset":
|
|
19
|
+
return (h(Host, null, h("hy-filter-visibility-tool-reset", null)));
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
static get style() { return hyFilterVisibilityToolCss; }
|
|
23
|
+
}, [0, "hy-filter-visibility-tool", {
|
|
24
|
+
"filterVisibilityToolType": [1, "filter-visibility-tool-type"]
|
|
25
|
+
}]);
|
|
26
|
+
function defineCustomElement$1() {
|
|
27
|
+
if (typeof customElements === "undefined") {
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
const components = ["hy-filter-visibility-tool", "hy-filter-visibility-tool-reset", "hy-filter-visibility-tool-toggle", "hy-icon"];
|
|
31
|
+
components.forEach(tagName => { switch (tagName) {
|
|
32
|
+
case "hy-filter-visibility-tool":
|
|
33
|
+
if (!customElements.get(tagName)) {
|
|
34
|
+
customElements.define(tagName, HyFilterVisibilityTool$1);
|
|
35
|
+
}
|
|
36
|
+
break;
|
|
37
|
+
case "hy-filter-visibility-tool-reset":
|
|
38
|
+
if (!customElements.get(tagName)) {
|
|
39
|
+
defineCustomElement$4();
|
|
40
|
+
}
|
|
41
|
+
break;
|
|
42
|
+
case "hy-filter-visibility-tool-toggle":
|
|
43
|
+
if (!customElements.get(tagName)) {
|
|
44
|
+
defineCustomElement$3();
|
|
45
|
+
}
|
|
46
|
+
break;
|
|
47
|
+
case "hy-icon":
|
|
48
|
+
if (!customElements.get(tagName)) {
|
|
49
|
+
defineCustomElement$2();
|
|
50
|
+
}
|
|
51
|
+
break;
|
|
52
|
+
} });
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
const HyFilterVisibilityTool = HyFilterVisibilityTool$1;
|
|
56
|
+
const defineCustomElement = defineCustomElement$1;
|
|
57
|
+
|
|
58
|
+
export { HyFilterVisibilityTool, defineCustomElement };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { d as defineCustomElement$1 } from './icon.js';
|
|
3
|
+
|
|
4
|
+
const HyFilterVisibilityToolReset = /*@__PURE__*/ proxyCustomElement(class HyFilterVisibilityToolReset extends HTMLElement {
|
|
5
|
+
constructor() {
|
|
6
|
+
super();
|
|
7
|
+
this.__registerHost();
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return (h("button", { class: "hy-filter-visibility-tool hy-filter-visibility-tool--reset", type: "button" }, h("hy-icon", { class: "hy-filter-visibility-tool__icon", icon: "hy-icon-remove", size: 14, "aria-hidden": "true" }), "Reset filters"));
|
|
11
|
+
}
|
|
12
|
+
}, [0, "hy-filter-visibility-tool-reset"]);
|
|
13
|
+
function defineCustomElement() {
|
|
14
|
+
if (typeof customElements === "undefined") {
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
const components = ["hy-filter-visibility-tool-reset", "hy-icon"];
|
|
18
|
+
components.forEach(tagName => { switch (tagName) {
|
|
19
|
+
case "hy-filter-visibility-tool-reset":
|
|
20
|
+
if (!customElements.get(tagName)) {
|
|
21
|
+
customElements.define(tagName, HyFilterVisibilityToolReset);
|
|
22
|
+
}
|
|
23
|
+
break;
|
|
24
|
+
case "hy-icon":
|
|
25
|
+
if (!customElements.get(tagName)) {
|
|
26
|
+
defineCustomElement$1();
|
|
27
|
+
}
|
|
28
|
+
break;
|
|
29
|
+
} });
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { HyFilterVisibilityToolReset as H, defineCustomElement as d };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { d as defineCustomElement$1 } from './icon.js';
|
|
3
|
+
|
|
4
|
+
const HyFilterVisibilityToolToggle = /*@__PURE__*/ proxyCustomElement(class HyFilterVisibilityToolToggle extends HTMLElement {
|
|
5
|
+
constructor() {
|
|
6
|
+
super();
|
|
7
|
+
this.__registerHost();
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return (h(Host, null, h("button", { class: "hy-filter-visibility-tool hy-filter-visibility-tool--show-more", type: "button" }, h("hy-icon", { class: "hy-filter-visibility-tool__icon", icon: "hy-icon-plus", size: 12, "aria-hidden": "true" }), "Show more filters"), h("button", { class: "hy-filter-visibility-tool hy-filter-visibility-tool--show-less", type: "button" }, h("hy-icon", { class: "hy-filter-visibility-tool__icon", icon: "hy-icon-minus", size: 12, "aria-hidden": "true" }), "Show less filters")));
|
|
11
|
+
}
|
|
12
|
+
}, [0, "hy-filter-visibility-tool-toggle"]);
|
|
13
|
+
function defineCustomElement() {
|
|
14
|
+
if (typeof customElements === "undefined") {
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
const components = ["hy-filter-visibility-tool-toggle", "hy-icon"];
|
|
18
|
+
components.forEach(tagName => { switch (tagName) {
|
|
19
|
+
case "hy-filter-visibility-tool-toggle":
|
|
20
|
+
if (!customElements.get(tagName)) {
|
|
21
|
+
customElements.define(tagName, HyFilterVisibilityToolToggle);
|
|
22
|
+
}
|
|
23
|
+
break;
|
|
24
|
+
case "hy-icon":
|
|
25
|
+
if (!customElements.get(tagName)) {
|
|
26
|
+
defineCustomElement$1();
|
|
27
|
+
}
|
|
28
|
+
break;
|
|
29
|
+
} });
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { HyFilterVisibilityToolToggle as H, defineCustomElement as d };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface HyFooterAction extends Components.HyFooterAction, HTMLElement {}
|
|
4
|
+
export const HyFooterAction: {
|
|
5
|
+
prototype: HyFooterAction;
|
|
6
|
+
new (): HyFooterAction;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { d as defineCustomElement$2 } from './icon.js';
|
|
3
|
+
|
|
4
|
+
const hyFooterActionCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}.hy-footer-action{-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-top:1px solid var(--grayscale-medium-dark);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;padding:8px 16px 16px 16px;place-content:center space-between;width:100%}@media (min-width: 30rem){.hy-footer-action{margin:0 auto;max-width:120.0625rem;padding:16px 24px 16px 24px}}@media (min-width: 60rem){.hy-footer-action{padding:16px 32px 24px 32px}}.hy-footer-action__updated-text{font-size:0.875rem;line-height:24px;color:var(--grayscale-dark);font-family:var(--main-font-family);letter-spacing:0}@media (min-width: 30rem){.hy-footer-action__updated-text{font-size:1rem;line-height:24px}}.hy-footer-action__scroll-up{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.hy-footer-action__scroll-up .hy-footer-action__up-button{background-color:var(--brand-main-light);border:0;-webkit-box-shadow:0 2px 8px 0 rgba(0, 0, 0, 0.05);box-shadow:0 2px 8px 0 rgba(0, 0, 0, 0.05);padding:8px}.hy-footer-action__scroll-up .hy-footer-action__up-button:hover{cursor:pointer}.hy-footer-action__scroll-up label{font-size:1rem;line-height:24px;color:var(--grayscale-dark);font-family:var(--main-font-family);letter-spacing:0;margin-right:8px}.hy-footer-action__scroll-up svg{fill:var(--grayscale-white)}.hy-footer-action__scroll-up:hover label{text-decoration:underline}.hy-footer-action__scroll-up:hover .hy-footer-action__up-button{background-color:var(--brand-main)}";
|
|
5
|
+
|
|
6
|
+
let scrollTimeout = null;
|
|
7
|
+
const HyFooterAction$1 = /*@__PURE__*/ proxyCustomElement(class HyFooterAction extends HTMLElement {
|
|
8
|
+
constructor() {
|
|
9
|
+
super();
|
|
10
|
+
this.__registerHost();
|
|
11
|
+
this.updatedText = undefined;
|
|
12
|
+
this.upButtonLabel = undefined;
|
|
13
|
+
}
|
|
14
|
+
disconnectedCallback() {
|
|
15
|
+
clearTimeout(scrollTimeout);
|
|
16
|
+
}
|
|
17
|
+
scrollTop() {
|
|
18
|
+
const hyLogo = document.querySelector(".hy-site-logo a");
|
|
19
|
+
window.scrollTo({ top: 0, behavior: "smooth" });
|
|
20
|
+
scrollTimeout = window.setTimeout(() => {
|
|
21
|
+
hyLogo.focus();
|
|
22
|
+
}, 500);
|
|
23
|
+
}
|
|
24
|
+
render() {
|
|
25
|
+
const classAttributes = ["hy-footer-action"].join(" ");
|
|
26
|
+
return (h(Host, { class: classAttributes }, h("span", { class: "hy-footer-action__updated-text" }, this.updatedText), this.upButtonLabel && (h("span", { class: "hy-footer-action__scroll-up" }, h("label", { id: "up-label", htmlFor: "scroll-up" }, this.upButtonLabel), h("button", { name: "scroll-up", "aria-labelledby": "up-label", onClick: () => this.scrollTop(), class: "hy-footer-action__up-button", type: "button" }, h("hy-icon", { class: "hy-footer-action__up-icon", icon: "hy-icon-arrow-up", size: 26 }))))));
|
|
27
|
+
}
|
|
28
|
+
static get style() { return hyFooterActionCss; }
|
|
29
|
+
}, [0, "hy-footer-action", {
|
|
30
|
+
"updatedText": [1, "updated-text"],
|
|
31
|
+
"upButtonLabel": [1, "up-button-label"]
|
|
32
|
+
}, [[2, "scrollTop", "scrollTop"]]]);
|
|
33
|
+
function defineCustomElement$1() {
|
|
34
|
+
if (typeof customElements === "undefined") {
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
const components = ["hy-footer-action", "hy-icon"];
|
|
38
|
+
components.forEach(tagName => { switch (tagName) {
|
|
39
|
+
case "hy-footer-action":
|
|
40
|
+
if (!customElements.get(tagName)) {
|
|
41
|
+
customElements.define(tagName, HyFooterAction$1);
|
|
42
|
+
}
|
|
43
|
+
break;
|
|
44
|
+
case "hy-icon":
|
|
45
|
+
if (!customElements.get(tagName)) {
|
|
46
|
+
defineCustomElement$2();
|
|
47
|
+
}
|
|
48
|
+
break;
|
|
49
|
+
} });
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
const HyFooterAction = HyFooterAction$1;
|
|
53
|
+
const defineCustomElement = defineCustomElement$1;
|
|
54
|
+
|
|
55
|
+
export { HyFooterAction, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface HyFooterBase extends Components.HyFooterBase, HTMLElement {}
|
|
4
|
+
export const HyFooterBase: {
|
|
5
|
+
prototype: HyFooterBase;
|
|
6
|
+
new (): HyFooterBase;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { F as FooterLinkItemColor, S as SiteLogoSize, f as FooterVariant, e as ColorVariant } from './utils.js';
|
|
3
|
+
import { j as jsonParserWorker } from './globalScript.js';
|
|
4
|
+
import { d as defineCustomElement$5 } from './hy-footer-link-item2.js';
|
|
5
|
+
import { d as defineCustomElement$4 } from './heading.js';
|
|
6
|
+
import { d as defineCustomElement$3 } from './icon.js';
|
|
7
|
+
import { d as defineCustomElement$2 } from './site-logo.js';
|
|
8
|
+
|
|
9
|
+
const hyFooterBaseCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}.hy-footer-base--content-container{background-color:var(--grayscale-black);display:block;max-width:100%}.hy-footer-base{background-color:var(--grayscale-black);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;max-height:100%;padding:32px 16px 32px 16px;place-content:center space-between;position:relative;width:100%}@media (min-width: 30rem){.hy-footer-base{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;margin:0 auto;max-width:120.0625rem;padding:32px 24px 32px 24px}}@media (min-width: 60rem){.hy-footer-base{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;padding:36px 32px 36px 32px}}@media (min-width: 75.0625rem){.hy-footer-base{padding:40px 32px 40px 32px}}.hy-footer-base__left{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-top:24px}@media (min-width: 30rem){.hy-footer-base__left{-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%}}@media (min-width: 60rem){.hy-footer-base__left{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;width:31.11%}}.hy-footer-base__logo{font-size:1.125rem;line-height:16px;font-family:var(--main-font-family);font-weight:bold;letter-spacing:-0.9px}.hy-footer-base__logo .hy-site-logo__label{min-width:-webkit-max-content;min-width:-moz-max-content;min-width:max-content;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}.hy-footer-base__content{font-size:1rem;line-height:24px;color:var(--grayscale-white);font-family:var(--main-font-family);font-weight:600;letter-spacing:-0.1px;margin:32px 0;white-space:pre-line}@media (min-width: 30rem){.hy-footer-base__content{margin:32px 0}}@media (min-width: 60rem){.hy-footer-base__content{margin:42px 0}}@media (min-width: 75.0625rem){.hy-footer-base__content{margin:54px 0}}.hy-footer-base__some{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-bottom:64px;z-index:2}@media (min-width: 60rem){.hy-footer-base__some{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-bottom:0}}@media (min-width: 75.0625rem){.hy-footer-base__some{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}.hy-footer-base__some__label{font-size:1rem;line-height:24px;color:var(--grayscale-white);font-family:var(--main-font-family);font-weight:600;letter-spacing:-0.1px;margin-bottom:8px;margin-right:24px}@media (min-width: 60rem){.hy-footer-base__some__label{margin-bottom:8px}}.hy-footer-base__some__items{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.hy-footer-base__some__item{margin-right:24px}.hy-footer-base__some__item :last-child(){margin-right:0}.hy-footer-base__some__item:hover{color:var(--grayscale-medium) !important}.hy-footer-base__some__item:hover svg{fill:var(--grayscale-medium)}.hy-footer-base__some svg{fill:var(--grayscale-white)}.hy-footer-base__right{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;max-height:100%;width:100%}@media (min-width: 30rem){.hy-footer-base__right{margin-bottom:32px;max-height:300px;width:calc(100% + 24px)}}@media (min-width: 60rem){.hy-footer-base__right{max-height:350px;width:65.56%}}.hy-footer-base__copy{font-size:1rem;line-height:24px;bottom:40px;color:var(--grayscale-white);display:inline-block;font-family:var(--main-font-family);font-weight:600;letter-spacing:-0.1px;position:absolute;right:50%;text-align:center;-webkit-transform:translateX(50%);transform:translateX(50%);width:100%}@media (min-width: 30rem){.hy-footer-base__copy{bottom:32px;right:50%;-webkit-transform:translateX(50%);transform:translateX(50%)}}@media (min-width: 60rem){.hy-footer-base__copy{bottom:36px;right:32px;text-align:right;-webkit-transform:none;transform:none}}@media (min-width: 75.0625rem){.hy-footer-base__copy{bottom:40px}}";
|
|
10
|
+
|
|
11
|
+
const HyFooterBase$1 = /*@__PURE__*/ proxyCustomElement(class HyFooterBase extends HTMLElement {
|
|
12
|
+
constructor() {
|
|
13
|
+
super();
|
|
14
|
+
this.__registerHost();
|
|
15
|
+
this.color = FooterLinkItemColor.white;
|
|
16
|
+
this.logoUrl = undefined;
|
|
17
|
+
this.logoLabel = undefined;
|
|
18
|
+
this.size = SiteLogoSize.big;
|
|
19
|
+
this.someLabel = undefined;
|
|
20
|
+
this.copyrightText = undefined;
|
|
21
|
+
this.dataFooterBaseLinks = undefined;
|
|
22
|
+
this.dataFooterBaseSome = undefined;
|
|
23
|
+
}
|
|
24
|
+
async componentWillLoad() {
|
|
25
|
+
this._dataFooterBaseLinks = await jsonParserWorker(this.dataFooterBaseLinks);
|
|
26
|
+
this._dataFooterBaseSome = await jsonParserWorker(this.dataFooterBaseSome);
|
|
27
|
+
}
|
|
28
|
+
render() {
|
|
29
|
+
const logoColor = ColorVariant.white;
|
|
30
|
+
const classAttributes = ["hy-footer-base--content-container"].join(" ");
|
|
31
|
+
const links = this._dataFooterBaseLinks;
|
|
32
|
+
const some = this._dataFooterBaseSome;
|
|
33
|
+
return (h(Host, { class: classAttributes }, h("div", { class: "hy-footer-base" }, h("div", { class: "hy-footer-base__left" }, h("div", { class: "hy-footer-base__logo" }, h("hy-site-logo", { type: FooterVariant.footer, size: 56, color: logoColor, url: this.logoUrl, label: this.logoLabel })), h("div", { class: "hy-footer-base__content" }, h("slot", { name: "content" })), h("div", { class: "hy-footer-base__some" }, h("span", { class: "hy-footer-base__some__label" }, this.someLabel), h("div", { class: "hy-footer-base__some__items" }, some &&
|
|
34
|
+
some.map((s) => {
|
|
35
|
+
return (h("a", { "aria-label": s.label, href: s.url, class: `hy-footer-base__some__item`, title: s.label, target: "_blank" }, h("hy-icon", { icon: `hy-icon-some-${s.type}`, size: 36 })));
|
|
36
|
+
})))), h("div", { class: "hy-footer-base__right" }, links &&
|
|
37
|
+
links.map((link) => {
|
|
38
|
+
return (h("hy-footer-link-item", { label: link.label, url: link.url, color: FooterLinkItemColor.white }));
|
|
39
|
+
}), this.copyrightText && h("span", { class: "hy-footer-base__copy" }, this.copyrightText)))));
|
|
40
|
+
}
|
|
41
|
+
static get style() { return hyFooterBaseCss; }
|
|
42
|
+
}, [4, "hy-footer-base", {
|
|
43
|
+
"color": [1],
|
|
44
|
+
"logoUrl": [1, "logo-url"],
|
|
45
|
+
"logoLabel": [1, "logo-label"],
|
|
46
|
+
"size": [2],
|
|
47
|
+
"someLabel": [1, "some-label"],
|
|
48
|
+
"copyrightText": [1, "copyright-text"],
|
|
49
|
+
"dataFooterBaseLinks": [1, "data-footer-base-links"],
|
|
50
|
+
"dataFooterBaseSome": [1, "data-footer-base-some"]
|
|
51
|
+
}]);
|
|
52
|
+
function defineCustomElement$1() {
|
|
53
|
+
if (typeof customElements === "undefined") {
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
const components = ["hy-footer-base", "hy-footer-link-item", "hy-heading", "hy-icon", "hy-site-logo"];
|
|
57
|
+
components.forEach(tagName => { switch (tagName) {
|
|
58
|
+
case "hy-footer-base":
|
|
59
|
+
if (!customElements.get(tagName)) {
|
|
60
|
+
customElements.define(tagName, HyFooterBase$1);
|
|
61
|
+
}
|
|
62
|
+
break;
|
|
63
|
+
case "hy-footer-link-item":
|
|
64
|
+
if (!customElements.get(tagName)) {
|
|
65
|
+
defineCustomElement$5();
|
|
66
|
+
}
|
|
67
|
+
break;
|
|
68
|
+
case "hy-heading":
|
|
69
|
+
if (!customElements.get(tagName)) {
|
|
70
|
+
defineCustomElement$4();
|
|
71
|
+
}
|
|
72
|
+
break;
|
|
73
|
+
case "hy-icon":
|
|
74
|
+
if (!customElements.get(tagName)) {
|
|
75
|
+
defineCustomElement$3();
|
|
76
|
+
}
|
|
77
|
+
break;
|
|
78
|
+
case "hy-site-logo":
|
|
79
|
+
if (!customElements.get(tagName)) {
|
|
80
|
+
defineCustomElement$2();
|
|
81
|
+
}
|
|
82
|
+
break;
|
|
83
|
+
} });
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
const HyFooterBase = HyFooterBase$1;
|
|
87
|
+
const defineCustomElement = defineCustomElement$1;
|
|
88
|
+
|
|
89
|
+
export { HyFooterBase, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface HyFooterInfo extends Components.HyFooterInfo, HTMLElement {}
|
|
4
|
+
export const HyFooterInfo: {
|
|
5
|
+
prototype: HyFooterInfo;
|
|
6
|
+
new (): HyFooterInfo;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { R as ResizeObserver } from './index2.js';
|
|
3
|
+
import { H as HeadingVarians, f as FooterVariant, a as CtaLinkButtonVariants, g as FooterLinkVariants, h as HeadingSectionVariants, e as ColorVariant, F as FooterLinkItemColor } from './utils.js';
|
|
4
|
+
import { j as jsonParserWorker } from './globalScript.js';
|
|
5
|
+
import { d as defineCustomElement$9 } from './accordion-container.js';
|
|
6
|
+
import { d as defineCustomElement$8 } from './accordion-item.js';
|
|
7
|
+
import { d as defineCustomElement$7 } from './hy-box2.js';
|
|
8
|
+
import { d as defineCustomElement$6 } from './cta-button.js';
|
|
9
|
+
import { d as defineCustomElement$5 } from './hy-footer-link-item2.js';
|
|
10
|
+
import { d as defineCustomElement$4 } from './heading.js';
|
|
11
|
+
import { d as defineCustomElement$3 } from './icon.js';
|
|
12
|
+
import { d as defineCustomElement$2 } from './site-logo.js';
|
|
13
|
+
|
|
14
|
+
const hyFooterInfoCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-footer-info{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-height:auto;padding:0 16px 40px 16px;place-content:center space-between}@media (min-width: 30rem){.hy-footer-info{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin:0 auto;max-width:120.0625rem;padding:0 24px 32px 24px}}@media (min-width: 60rem){.hy-footer-info{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;padding:0 32px 36px 32px}}@media (min-width: 75.0625rem){.hy-footer-info{padding:0 32px 40px 32px}}.hy-footer-info__content{margin-bottom:24px;width:100%}@media (min-width: 30rem){.hy-footer-info__content{margin-bottom:32px;width:100%}}@media (min-width: 60rem){.hy-footer-info__content{width:31.11%}}.hy-footer-info__content .hy-heading{padding-top:0 !important}.hy-footer-info__ingress{font-size:0.9375rem;line-height:20px;font-weight:400;letter-spacing:-0.09px;color:var(--grayscale-black);font-family:var(--main-font-family);padding-bottom:24px}@media (min-width: 60rem){.hy-footer-info__ingress{font-size:1rem;line-height:22px;letter-spacing:-0.1px;padding-bottom:16px}}@media (min-width: 1601px){.hy-footer-info__ingress{font-size:1.0625rem;line-height:26px}}@media (min-width: 75.0625rem){.hy-footer-info__ingress{padding-bottom:24px}}.hy-footer-info__ingress a{font-size:0.875rem;line-height:20px;color:var(--link-blue);font-family:var(--main-font-family);font-weight:600;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}@media (min-width: 30rem){.hy-footer-info__ingress a{font-size:1rem;line-height:24px;letter-spacing:-0.1px}}@media (min-width: 1601px){.hy-footer-info__ingress a{font-size:1.0625rem;line-height:26px}}.hy-footer-info__ingress a:hover{color:var(--brand-main)}.hy-footer-info__ingress a[target=_blank]:after{display:block;content:url(\"data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 30 29' fill='rgb(4,121,165)'> <polygon points='29.207 13.783 14.756 .717 14.055 0 11.402 3.118 10.732 3.835 19.665 11.974 0 11.974 0 17.026 19.756 17.026 11.494 24.447 10.823 25.071 11.402 25.882 13.476 28.189 14.055 29 30 14.594' /> </svg>\");margin-left:3px;-webkit-transform:rotate(315deg);transform:rotate(315deg)}.hy-footer-info__ingress a[target=_blank]:after:hover{content:url(\"data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 30 29' fill='pink'> <polygon points='29.207 13.783 14.756 .717 14.055 0 11.402 3.118 10.732 3.835 19.665 11.974 0 11.974 0 17.026 19.756 17.026 11.494 24.447 10.823 25.071 11.402 25.882 13.476 28.189 14.055 29 30 14.594' /> </svg>\")}.hy-footer-info__ingress a[target=_blank]:hover:after{content:url(\"data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 30 29' fill='rgb(14,104,139)'> <polygon points='29.207 13.783 14.756 .717 14.055 0 11.402 3.118 10.732 3.835 19.665 11.974 0 11.974 0 17.026 19.756 17.026 11.494 24.447 10.823 25.071 11.402 25.882 13.476 28.189 14.055 29 30 14.594' /> </svg>\")}.hy-footer-info__links{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;max-height:auto;overflow:hidden;width:100%}@media (min-width: 30rem){.hy-footer-info__links{-ms-flex-line-pack:justify;align-content:space-between;max-height:555px;width:100%}}@media (min-width: 60rem){.hy-footer-info__links{max-height:530px;width:65.56%}}@media (min-width: 87.5rem){.hy-footer-info__links{max-height:460px}}@media (min-width: 30rem){.hy-footer-info__links.is-group:not(.luomus){-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;max-height:none}}.hy-footer-info .hy-accordion__content--inner-wrapper{width:100%}.hy-footer-info.luomus{background-color:var(--grayscale-black);color:var(--grayscale-white);padding-top:40px}.hy-footer-info.luomus .hy-footer-info__logo{font-size:1.125rem;line-height:16px;font-family:var(--main-font-family);font-weight:bold;letter-spacing:-0.9px}.hy-footer-info.luomus .hy-footer-info__logo .hy-site-logo__label{max-width:100%}.hy-footer-info.luomus .hy-footer-info__branding{padding:22px 0 62px}.hy-footer-info.luomus .hy-footer-info__branding a img{height:32px;width:148px}.hy-footer-info.luomus .luomus-footer-content{color:var(--grayscale-white);margin:8px 0}.hy-footer-info.luomus .luomus-footer-content__link{font-size:1.125rem;line-height:24px;font-weight:700;color:var(--grayscale-white);font-family:var(--main-font-family);font-style:normal;letter-spacing:-0.36px;text-decoration:none}.hy-footer-info.luomus .luomus-footer-content__description{font-size:1rem;line-height:22px;font-weight:400;color:var(--grayscale-white);font-family:var(--main-font-family);font-style:normal;letter-spacing:-0.1px;padding-bottom:32px}";
|
|
15
|
+
|
|
16
|
+
const HyFooterInfo$1 = /*@__PURE__*/ proxyCustomElement(class HyFooterInfo extends HTMLElement {
|
|
17
|
+
constructor() {
|
|
18
|
+
super();
|
|
19
|
+
this.__registerHost();
|
|
20
|
+
this.textTitle = undefined;
|
|
21
|
+
this.textDescription = undefined;
|
|
22
|
+
this.linkText = undefined;
|
|
23
|
+
this.linkUrl = undefined;
|
|
24
|
+
this.linkIsExternal = false;
|
|
25
|
+
this.linkScLabel = undefined;
|
|
26
|
+
this.logoUrl = undefined;
|
|
27
|
+
this.logoLabel = undefined;
|
|
28
|
+
this.groupLogoUrl = undefined;
|
|
29
|
+
this.isGroup = undefined;
|
|
30
|
+
this.isLuomusGroup = false;
|
|
31
|
+
this.isMobile = undefined;
|
|
32
|
+
this.dataFooterInfoLinks = undefined;
|
|
33
|
+
this.luomusFooterContent = undefined;
|
|
34
|
+
}
|
|
35
|
+
async componentWillLoad() {
|
|
36
|
+
this._dataFooterInfoLinks = await jsonParserWorker(this.dataFooterInfoLinks);
|
|
37
|
+
this._dataLuomusFooterContent = await jsonParserWorker(this.luomusFooterContent);
|
|
38
|
+
}
|
|
39
|
+
componentDidLoad() {
|
|
40
|
+
this.ro = new ResizeObserver((entries) => {
|
|
41
|
+
for (const entry of entries) {
|
|
42
|
+
this.checkForMobile(entry.contentRect.width);
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
this.ro.observe(document.body);
|
|
46
|
+
}
|
|
47
|
+
disconnectedCallback() {
|
|
48
|
+
this.ro.disconnect();
|
|
49
|
+
}
|
|
50
|
+
checkForMobile(size) {
|
|
51
|
+
this.isMobile = size <= 479 ? true : false;
|
|
52
|
+
}
|
|
53
|
+
render() {
|
|
54
|
+
const links = this._dataFooterInfoLinks;
|
|
55
|
+
const luomusFooterContentItems = this._dataLuomusFooterContent;
|
|
56
|
+
const variant = this.isGroup ? FooterLinkVariants.group : FooterLinkVariants.campus;
|
|
57
|
+
const section = this.isGroup ? HeadingSectionVariants.groupFooterInfo : HeadingSectionVariants.defaultFooterInfo;
|
|
58
|
+
const footerLinkItemClass = this.isGroup ? "group" : "campus";
|
|
59
|
+
const scLabel = this.linkScLabel && this.linkScLabel.length > 0 ? this.linkScLabel : this.linkText;
|
|
60
|
+
const logoColor = ColorVariant.white;
|
|
61
|
+
const linksColor = this.isLuomusGroup ? FooterLinkItemColor.white : FooterLinkItemColor.black;
|
|
62
|
+
return (h(Host, { class: {
|
|
63
|
+
"hy-footer-info": true,
|
|
64
|
+
luomus: this.isLuomusGroup,
|
|
65
|
+
} }, h("div", { class: {
|
|
66
|
+
"hy-footer-info__content": true,
|
|
67
|
+
"is-group": this.isGroup,
|
|
68
|
+
} }, !this.isLuomusGroup && (h("hy-heading", { heading: HeadingVarians.h2, section: section }, this.textTitle)), this.isLuomusGroup && (h("div", { class: "hy-footer-info__logo" }, h("hy-site-logo", { type: FooterVariant.footer, isGroup: this.isGroup, size: 56, color: logoColor, url: this.logoUrl, label: this.logoLabel }))), this.isLuomusGroup && (h("div", { class: "hy-footer-info__branding" }, h("a", { href: this.groupLogoUrl }, h("img", { src: this.groupLogoUrl, alt: "Luomus logo" })))), !this.isLuomusGroup && (h("div", { class: {
|
|
69
|
+
"hy-footer-info__ingress": true,
|
|
70
|
+
"is-group": this.isGroup,
|
|
71
|
+
}, innerHTML: this.textDescription })), !this.isLuomusGroup && this.linkUrl && (h("hy-cta-button", { "link-content": this.linkText, "sc-label": scLabel, "is-external": this.linkIsExternal, url: this.linkUrl, variant: CtaLinkButtonVariants.onWhiteBkgd })), this.isLuomusGroup &&
|
|
72
|
+
luomusFooterContentItems &&
|
|
73
|
+
luomusFooterContentItems.map((item) => {
|
|
74
|
+
return (h("div", { class: "luomus-footer-content" }, h("a", { href: item.url, class: "luomus-footer-content__link" }, item.heading), item.content && h("div", { class: "luomus-footer-content__description", innerHTML: item.content })));
|
|
75
|
+
})), this.isMobile && this.isGroup === false ? (h("div", { class: {
|
|
76
|
+
"hy-footer-info__links": true,
|
|
77
|
+
"is-group": this.isGroup,
|
|
78
|
+
luomus: this.isLuomusGroup,
|
|
79
|
+
} }, h("hy-accordion-container", { accordionid: "test" }, links &&
|
|
80
|
+
links.map((link) => {
|
|
81
|
+
return (h("hy-accordion-item", { accordiontitle: link.label }, h("hy-footer-link-item", { class: footerLinkItemClass, variant: variant, color: linksColor, label: link.label, url: link.url, "main-link": link.mainlink, items: link.items, isMobile: this.isMobile })));
|
|
82
|
+
})))) : (h("div", { class: {
|
|
83
|
+
"hy-footer-info__links": true,
|
|
84
|
+
"is-group": this.isGroup,
|
|
85
|
+
luomus: this.isLuomusGroup,
|
|
86
|
+
} }, links &&
|
|
87
|
+
links.map((link) => {
|
|
88
|
+
const external_link = link.isExternal === "external";
|
|
89
|
+
return (h("hy-footer-link-item", { "is-luomus-group": this.isLuomusGroup, class: footerLinkItemClass, variant: variant, color: linksColor, label: link.label, url: link.url, "is-external": external_link, "main-link": link.mainlink, items: link.items, isMobile: this.isMobile }));
|
|
90
|
+
})))));
|
|
91
|
+
}
|
|
92
|
+
get el() { return this; }
|
|
93
|
+
static get style() { return hyFooterInfoCss; }
|
|
94
|
+
}, [0, "hy-footer-info", {
|
|
95
|
+
"textTitle": [1, "text-title"],
|
|
96
|
+
"textDescription": [1, "text-description"],
|
|
97
|
+
"linkText": [1, "link-text"],
|
|
98
|
+
"linkUrl": [1, "link-url"],
|
|
99
|
+
"linkIsExternal": [4, "link-is-external"],
|
|
100
|
+
"linkScLabel": [1, "link-sc-label"],
|
|
101
|
+
"logoUrl": [1, "logo-url"],
|
|
102
|
+
"logoLabel": [1, "logo-label"],
|
|
103
|
+
"groupLogoUrl": [1, "group-logo-url"],
|
|
104
|
+
"isGroup": [4, "is-group"],
|
|
105
|
+
"isLuomusGroup": [4, "is-luomus-group"],
|
|
106
|
+
"dataFooterInfoLinks": [1, "data-footer-info-links"],
|
|
107
|
+
"luomusFooterContent": [1, "luomus-footer-content"],
|
|
108
|
+
"isMobile": [32]
|
|
109
|
+
}]);
|
|
110
|
+
function defineCustomElement$1() {
|
|
111
|
+
if (typeof customElements === "undefined") {
|
|
112
|
+
return;
|
|
113
|
+
}
|
|
114
|
+
const components = ["hy-footer-info", "hy-accordion-container", "hy-accordion-item", "hy-box", "hy-cta-button", "hy-footer-link-item", "hy-heading", "hy-icon", "hy-site-logo"];
|
|
115
|
+
components.forEach(tagName => { switch (tagName) {
|
|
116
|
+
case "hy-footer-info":
|
|
117
|
+
if (!customElements.get(tagName)) {
|
|
118
|
+
customElements.define(tagName, HyFooterInfo$1);
|
|
119
|
+
}
|
|
120
|
+
break;
|
|
121
|
+
case "hy-accordion-container":
|
|
122
|
+
if (!customElements.get(tagName)) {
|
|
123
|
+
defineCustomElement$9();
|
|
124
|
+
}
|
|
125
|
+
break;
|
|
126
|
+
case "hy-accordion-item":
|
|
127
|
+
if (!customElements.get(tagName)) {
|
|
128
|
+
defineCustomElement$8();
|
|
129
|
+
}
|
|
130
|
+
break;
|
|
131
|
+
case "hy-box":
|
|
132
|
+
if (!customElements.get(tagName)) {
|
|
133
|
+
defineCustomElement$7();
|
|
134
|
+
}
|
|
135
|
+
break;
|
|
136
|
+
case "hy-cta-button":
|
|
137
|
+
if (!customElements.get(tagName)) {
|
|
138
|
+
defineCustomElement$6();
|
|
139
|
+
}
|
|
140
|
+
break;
|
|
141
|
+
case "hy-footer-link-item":
|
|
142
|
+
if (!customElements.get(tagName)) {
|
|
143
|
+
defineCustomElement$5();
|
|
144
|
+
}
|
|
145
|
+
break;
|
|
146
|
+
case "hy-heading":
|
|
147
|
+
if (!customElements.get(tagName)) {
|
|
148
|
+
defineCustomElement$4();
|
|
149
|
+
}
|
|
150
|
+
break;
|
|
151
|
+
case "hy-icon":
|
|
152
|
+
if (!customElements.get(tagName)) {
|
|
153
|
+
defineCustomElement$3();
|
|
154
|
+
}
|
|
155
|
+
break;
|
|
156
|
+
case "hy-site-logo":
|
|
157
|
+
if (!customElements.get(tagName)) {
|
|
158
|
+
defineCustomElement$2();
|
|
159
|
+
}
|
|
160
|
+
break;
|
|
161
|
+
} });
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
const HyFooterInfo = HyFooterInfo$1;
|
|
165
|
+
const defineCustomElement = defineCustomElement$1;
|
|
166
|
+
|
|
167
|
+
export { HyFooterInfo, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface HyFooterLinkItem extends Components.HyFooterLinkItem, HTMLElement {}
|
|
4
|
+
export const HyFooterLinkItem: {
|
|
5
|
+
prototype: HyFooterLinkItem;
|
|
6
|
+
new (): HyFooterLinkItem;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|