@itcenteratunihelsinki/huds-lib 0.8.42 → 0.8.44
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/{dist/esm/globalScript-4ad40215.js → components/globalScript.js} +7 -9
- 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 -3
- package/dist/cjs/{hy-accordion-container_83.cjs.entry.js → color-box_91.cjs.entry.js} +1177 -1001
- package/dist/cjs/{globalScript-45ad6d41.js → globalScript-d341436f.js} +7 -9
- package/dist/cjs/huds-lib.cjs.js +3 -5
- package/dist/cjs/hy-event-item.cjs.entry.js +10 -12
- package/dist/cjs/hy-events.cjs.entry.js +22 -24
- package/dist/cjs/hy-hero-carousel.cjs.entry.js +4902 -0
- package/dist/cjs/{index-25bd964b.js → index-ca4e37f2.js} +0 -2
- package/dist/cjs/index.cjs.js +0 -2
- package/dist/cjs/loader.cjs.js +3 -5
- package/dist/cjs/utils-14d5aa6f.js +0 -2
- package/dist/collection/collection-manifest.json +8 -11
- package/dist/collection/components/accordion-container/accordion-container.js +4 -5
- package/dist/collection/components/accordion-item/accordion-item.js +78 -79
- package/dist/collection/components/adjacent-image-text/adjacent-image-text.js +17 -18
- package/dist/collection/components/baseline/baseline.js +2 -3
- package/dist/collection/components/button/button.js +28 -29
- package/dist/collection/components/color-box/color-box.js +1 -2
- package/dist/collection/components/courses/hy-content-list/hy-content-list.js +42 -43
- package/dist/collection/components/courses/hy-content-list-item/hy-content-list-item.js +15 -16
- package/dist/collection/components/cta-button/cta-button.js +12 -13
- package/dist/collection/components/cta-link/cta-link.js +7 -8
- package/dist/collection/components/docs-container/docs-container.js +0 -1
- package/dist/collection/components/footer/hy-footer/hy-footer.js +3 -4
- package/dist/collection/components/footer/hy-footer-action/hy-footer-action.js +5 -6
- package/dist/collection/components/footer/hy-footer-base/hy-footer-base.js +6 -7
- package/dist/collection/components/footer/hy-footer-info/hy-footer-info.js +19 -20
- package/dist/collection/components/footer/hy-footer-link-item/hy-footer-link-item.js +22 -23
- package/dist/collection/components/global-workers/globals.worker.js +0 -1
- package/dist/collection/components/grid-container/grid-container.js +1 -2
- package/dist/collection/components/grid-item/grid-item.js +5 -6
- package/dist/collection/components/grid-row/grid-row.js +3 -4
- package/dist/collection/components/heading/heading.js +17 -18
- package/dist/collection/components/hy-anchor-link-list/hy-anchor-link-list.js +13 -14
- package/dist/collection/components/hy-badge/hy-badge.js +6 -7
- package/dist/collection/components/hy-banner/hy-banner.js +13 -14
- package/dist/collection/components/hy-box/hy-box.js +26 -27
- package/dist/collection/components/hy-box-container/hy-box-container.js +5 -6
- package/dist/collection/components/hy-breadcrumbs/hy-breadcrumbs.js +10 -11
- package/dist/collection/components/hy-checkbox/hy-checkbox.js +5 -6
- package/dist/collection/components/hy-collaboration/hy-collaboration.js +2 -3
- package/dist/collection/components/hy-crisis-banner/hy-crisis-banner.js +2 -3
- package/dist/collection/components/hy-dropdown/hy-dropdown.js +16 -17
- package/dist/collection/components/hy-dropdown/hy-dropdown.panel.item.js +2 -3
- package/dist/collection/components/hy-dropdown/hy-dropdown.panel.js +2 -3
- package/dist/collection/components/hy-event-item/hy-event-item.js +15 -16
- package/dist/collection/components/hy-events/hy-events.js +25 -26
- package/dist/collection/components/hy-filter-group/hy-filter-group.item.js +3 -4
- package/dist/collection/components/hy-filter-group/hy-filter-group.js +3 -4
- package/dist/collection/components/hy-filter-list-type/hy-filter-list-type.js +10 -11
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.js +4 -5
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.js +2 -3
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.toggle.js +2 -3
- package/dist/collection/components/hy-general-list/hy-general-list.js +11 -12
- package/dist/collection/components/hy-general-list-item/hy-general-list-item.js +18 -19
- package/dist/collection/components/hy-hero/hy-hero.js +26 -27
- package/dist/collection/components/hy-hero-carousel/hy-hero-carousel.css +1306 -0
- package/dist/collection/components/hy-hero-carousel/hy-hero-carousel.js +211 -0
- package/dist/collection/components/hy-introduction/hy-introduction.js +23 -24
- package/dist/collection/components/hy-key-figure/hy-key-figure.js +3 -4
- package/dist/collection/components/hy-key-figure-group/hy-key-figure-group.js +17 -18
- package/dist/collection/components/hy-key-highlight/hy-key-highlight.js +3 -4
- package/dist/collection/components/hy-key-highlight-group/hy-key-highlight-group.js +12 -13
- package/dist/collection/components/hy-large-process-flow/hy-large-process-flow.js +11 -12
- package/dist/collection/components/hy-large-process-flow-phase/hy-large-process-flow-phase.js +5 -6
- package/dist/collection/components/hy-link-list/hy-link-list.js +16 -17
- package/dist/collection/components/hy-list-item/hy-list-item.js +71 -72
- package/dist/collection/components/hy-logo-grid/hy-logo-grid.item.js +3 -4
- package/dist/collection/components/hy-logo-grid/hy-logo-grid.js +1 -2
- package/dist/collection/components/hy-main/hy-main.js +5 -6
- package/dist/collection/components/hy-main-content-wrapper/hy-main-content-wrapper.js +2 -3
- package/dist/collection/components/hy-opening-hours/hy-opening-hours.js +12 -13
- package/dist/collection/components/hy-opening-hours-content/hy-opening-hours-content.js +10 -11
- package/dist/collection/components/hy-person-card/hy-person-card.js +17 -18
- package/dist/collection/components/hy-prominent-image/hy-prominent-image.js +12 -13
- package/dist/collection/components/hy-quote/hy-quote.js +8 -9
- package/dist/collection/components/hy-search-field/hy-search-field.js +15 -16
- package/dist/collection/components/hy-shortcuts/hy-shortcuts.js +21 -22
- package/dist/collection/components/hy-table-container/hy-table-container.js +2 -3
- package/dist/collection/components/hy-tabs/hy-tabs.js +52 -53
- package/dist/collection/components/hy-tabs-item/hy-tabs-item.js +2 -3
- package/dist/collection/components/hy-tag/hy-tag.js +2 -3
- package/dist/collection/components/hy-twitter-feed/hy-twitter-feed.js +4 -5
- package/dist/collection/components/hy-two-columns/hy-two-columns.js +2 -3
- package/dist/collection/components/hy-user-login-form/hy-user-login-form.js +4 -5
- package/dist/collection/components/hy-video/hy-video.js +26 -27
- package/dist/collection/components/icon/AddToTodoList.js +0 -1
- package/dist/collection/components/icon/Alert.js +1 -2
- package/dist/collection/components/icon/Archive.js +1 -2
- package/dist/collection/components/icon/Arrow.js +0 -1
- package/dist/collection/components/icon/ArrowDown.js +0 -1
- package/dist/collection/components/icon/ArrowRight.js +1 -2
- package/dist/collection/components/icon/ArrowUp.js +0 -1
- package/dist/collection/components/icon/Avatar.js +0 -1
- package/dist/collection/components/icon/AvatarGroup.js +0 -1
- package/dist/collection/components/icon/Bachelor.js +0 -1
- package/dist/collection/components/icon/BulletList.js +0 -1
- package/dist/collection/components/icon/Camera.js +0 -1
- package/dist/collection/components/icon/CaretDown.js +0 -1
- package/dist/collection/components/icon/CaretLeft.js +0 -1
- package/dist/collection/components/icon/CaretRight.js +1 -2
- package/dist/collection/components/icon/CaretUp.js +0 -1
- package/dist/collection/components/icon/Chat.js +0 -1
- package/dist/collection/components/icon/CodeFork.js +0 -1
- package/dist/collection/components/icon/Cogs.js +0 -1
- package/dist/collection/components/icon/Contentlink.js +0 -1
- package/dist/collection/components/icon/Customlink.js +0 -1
- package/dist/collection/components/icon/Date.js +0 -1
- package/dist/collection/components/icon/Discover.js +0 -1
- package/dist/collection/components/icon/Done.js +0 -1
- package/dist/collection/components/icon/Dot.js +0 -1
- package/dist/collection/components/icon/DotArrowRight.js +1 -2
- package/dist/collection/components/icon/Download.js +0 -1
- package/dist/collection/components/icon/Drag.js +0 -1
- package/dist/collection/components/icon/Dragbutton.js +0 -1
- package/dist/collection/components/icon/DropDown.js +0 -1
- package/dist/collection/components/icon/Edit.js +0 -1
- package/dist/collection/components/icon/EditEvent.js +0 -1
- package/dist/collection/components/icon/Embed.js +0 -1
- package/dist/collection/components/icon/Euro.js +1 -2
- package/dist/collection/components/icon/Events.js +0 -1
- package/dist/collection/components/icon/ExternalLink.js +0 -1
- package/dist/collection/components/icon/EyeSlash.js +0 -1
- package/dist/collection/components/icon/Facebook.js +0 -1
- package/dist/collection/components/icon/Favorites.js +0 -1
- package/dist/collection/components/icon/Feed.js +0 -1
- package/dist/collection/components/icon/FileText.js +0 -1
- package/dist/collection/components/icon/FullScreen.js +0 -1
- package/dist/collection/components/icon/Globe.js +1 -2
- package/dist/collection/components/icon/GooglePlus.js +0 -1
- package/dist/collection/components/icon/Grid.js +0 -1
- package/dist/collection/components/icon/Hamburger.js +0 -1
- package/dist/collection/components/icon/Heart.js +0 -1
- package/dist/collection/components/icon/HeartSupport.js +1 -2
- package/dist/collection/components/icon/Helsinginyliopisto.js +0 -1
- package/dist/collection/components/icon/Home.js +1 -2
- package/dist/collection/components/icon/HorizontalResize.js +0 -1
- package/dist/collection/components/icon/HyLogo.js +0 -1
- package/dist/collection/components/icon/IdNumber.js +0 -1
- package/dist/collection/components/icon/Image.js +0 -1
- package/dist/collection/components/icon/ImageGallery.js +0 -1
- package/dist/collection/components/icon/Images.js +0 -1
- package/dist/collection/components/icon/Info.js +1 -2
- package/dist/collection/components/icon/InfoStroke.js +0 -1
- package/dist/collection/components/icon/Instagram.js +0 -1
- package/dist/collection/components/icon/LeikiList.js +0 -1
- package/dist/collection/components/icon/LinkArrow.js +0 -1
- package/dist/collection/components/icon/LinkArrow1.js +0 -1
- package/dist/collection/components/icon/LinkArrowDown.js +0 -1
- package/dist/collection/components/icon/LinkArrowLeft.js +0 -1
- package/dist/collection/components/icon/LinkArrowOffsite.js +0 -1
- package/dist/collection/components/icon/LinkArrowUp.js +0 -1
- package/dist/collection/components/icon/Linkedin.js +0 -1
- package/dist/collection/components/icon/List.js +0 -1
- package/dist/collection/components/icon/ListAsBlocks.js +0 -1
- package/dist/collection/components/icon/ListStyleGrid.js +1 -2
- package/dist/collection/components/icon/ListStyleList.js +1 -2
- package/dist/collection/components/icon/Listoflinks.js +0 -1
- package/dist/collection/components/icon/Location.js +0 -1
- package/dist/collection/components/icon/Log.js +0 -1
- package/dist/collection/components/icon/Login.js +0 -1
- package/dist/collection/components/icon/Logout.js +0 -1
- package/dist/collection/components/icon/MagnifyMinus.js +0 -1
- package/dist/collection/components/icon/MagnifyPlus.js +0 -1
- package/dist/collection/components/icon/Mail.js +0 -1
- package/dist/collection/components/icon/Master.js +0 -1
- package/dist/collection/components/icon/Minus.js +0 -1
- package/dist/collection/components/icon/Mobile.js +0 -1
- package/dist/collection/components/icon/Modify.js +0 -1
- package/dist/collection/components/icon/NaviTriangle.js +0 -1
- package/dist/collection/components/icon/NewGroup.js +0 -1
- package/dist/collection/components/icon/NewPerson.js +0 -1
- package/dist/collection/components/icon/Notification.js +0 -1
- package/dist/collection/components/icon/OpinderLogo.js +0 -1
- package/dist/collection/components/icon/OpinderLogoNew.js +0 -1
- package/dist/collection/components/icon/Pdf.js +0 -1
- package/dist/collection/components/icon/People.js +0 -1
- package/dist/collection/components/icon/PermissionAll.js +0 -1
- package/dist/collection/components/icon/PermissionGroup.js +0 -1
- package/dist/collection/components/icon/PermissionPrivate.js +0 -1
- package/dist/collection/components/icon/Person.js +0 -1
- package/dist/collection/components/icon/PersonOutline.js +0 -1
- package/dist/collection/components/icon/Phone.js +0 -1
- package/dist/collection/components/icon/Play.js +0 -1
- package/dist/collection/components/icon/Plus.js +0 -1
- package/dist/collection/components/icon/Preview.js +0 -1
- package/dist/collection/components/icon/Profile.js +0 -1
- package/dist/collection/components/icon/Question.js +0 -1
- package/dist/collection/components/icon/Remove.js +0 -1
- package/dist/collection/components/icon/Retweet.js +0 -1
- package/dist/collection/components/icon/RotateLeft.js +0 -1
- package/dist/collection/components/icon/RotateRight.js +0 -1
- package/dist/collection/components/icon/Search.js +1 -2
- package/dist/collection/components/icon/Share.js +0 -1
- package/dist/collection/components/icon/SlimHamburgerMenu.js +1 -2
- package/dist/collection/components/icon/SocialMedia.js +0 -1
- package/dist/collection/components/icon/SomeFacebook.js +1 -2
- package/dist/collection/components/icon/SomeInstagram.js +1 -2
- package/dist/collection/components/icon/SomeLinkedin.js +1 -2
- package/dist/collection/components/icon/SomeTwitter.js +1 -2
- package/dist/collection/components/icon/SomeYoutube.js +1 -2
- package/dist/collection/components/icon/Spinner.js +0 -1
- package/dist/collection/components/icon/Square.js +0 -1
- package/dist/collection/components/icon/SquareChecked.js +0 -1
- package/dist/collection/components/icon/Time.js +0 -1
- package/dist/collection/components/icon/TodoList.js +0 -1
- package/dist/collection/components/icon/Tour.js +0 -1
- package/dist/collection/components/icon/Twitter.js +0 -1
- package/dist/collection/components/icon/TwitterLike.js +1 -2
- package/dist/collection/components/icon/UnitsAndFaculties.js +0 -1
- package/dist/collection/components/icon/Url.js +0 -1
- package/dist/collection/components/icon/Video.js +0 -1
- package/dist/collection/components/icon/Warning.js +0 -1
- package/dist/collection/components/icon/Wrench.js +0 -1
- package/dist/collection/components/icon/Youtube.js +0 -1
- package/dist/collection/components/icon/allIcons.js +114 -115
- package/dist/collection/components/icon/icon.js +134 -135
- package/dist/collection/components/icon/icons.js +132 -133
- package/dist/collection/components/image/image.js +10 -11
- package/dist/collection/components/ingress/ingress.js +7 -8
- package/dist/collection/components/link/link.js +7 -8
- package/dist/collection/components/link-box/link-box.js +23 -24
- package/dist/collection/components/link-box-list/link-box-list.js +12 -13
- package/dist/collection/components/navigation/hy-menu-main-group/hy-menu-main-group.js +45 -46
- package/dist/collection/components/navigation/menu-language/menu-language.js +15 -16
- package/dist/collection/components/navigation/menu-language-item/menu-language-item.js +4 -5
- package/dist/collection/components/pagination/hy-pager/hy-pager.js +2 -3
- package/dist/collection/components/pagination/hy-pager-item/hy-pager-item.js +12 -13
- package/dist/collection/components/paragraph-text/paragraph-text.js +10 -11
- package/dist/collection/components/person-profile/person-profile-listing/person-profile.listing.js +9 -10
- package/dist/collection/components/person-profile/person-profile.js +16 -17
- package/dist/collection/components/process/process.js +12 -13
- package/dist/collection/components/process-flow-box/process-flow-box.js +11 -12
- package/dist/collection/components/row/row.js +6 -7
- package/dist/collection/components/section-container/section-container.js +1 -2
- package/dist/collection/components/site-header/site-header.js +69 -70
- package/dist/collection/components/site-header/site-logo/site-logo.js +7 -8
- package/dist/collection/components/site-header/site-search/site-search.js +56 -57
- package/dist/collection/components/tiny-text/tiny-text.js +0 -1
- package/dist/collection/global/colors.js +21 -22
- package/dist/collection/global/globalScript.js +7 -8
- package/dist/collection/global/typography.js +0 -1
- package/dist/collection/index.js +1 -2
- package/dist/collection/utils/utils.js +0 -1
- package/dist/esm/{hy-accordion-container_83.entry.js → color-box_91.entry.js} +1171 -1003
- package/dist/esm/globalScript-3c6fab71.js +26 -0
- package/dist/esm/huds-lib.js +4 -6
- package/dist/esm/hy-event-item.entry.js +10 -12
- package/dist/esm/hy-events.entry.js +23 -25
- package/dist/esm/hy-hero-carousel.entry.js +4898 -0
- package/dist/esm/{index-3a66d87e.js → index-9920074a.js} +0 -2
- package/dist/esm/index.js +0 -2
- package/dist/esm/loader.js +4 -6
- 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 -2
- 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/index-9920074a.js +2 -0
- package/dist/huds-lib/index.esm.js +0 -2
- package/dist/huds-lib/utils-a4d55421.js +1 -0
- 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-hero-carousel/hy-hero-carousel.d.ts +30 -0
- 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 +39 -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 +11 -3
- package/dist/cjs/color-box_8.cjs.entry.js +0 -187
- package/dist/cjs/color-box_8.cjs.entry.js.map +0 -1
- package/dist/cjs/globalScript-45ad6d41.js.map +0 -1
- package/dist/cjs/huds-lib.cjs.js.map +0 -1
- package/dist/cjs/hy-accordion-container_83.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-event-item.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-events.cjs.entry.js.map +0 -1
- package/dist/cjs/index-25bd964b.js.map +0 -1
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/cjs/utils-14d5aa6f.js.map +0 -1
- package/dist/collection/components/accordion-container/accordion-container.js.map +0 -1
- package/dist/collection/components/accordion-item/accordion-item.js.map +0 -1
- package/dist/collection/components/adjacent-image-text/adjacent-image-text.js.map +0 -1
- package/dist/collection/components/baseline/baseline.js.map +0 -1
- package/dist/collection/components/button/button.js.map +0 -1
- package/dist/collection/components/color-box/color-box.js.map +0 -1
- package/dist/collection/components/courses/hy-content-list/hy-content-list.js.map +0 -1
- package/dist/collection/components/courses/hy-content-list-item/hy-content-list-item.js.map +0 -1
- package/dist/collection/components/cta-button/cta-button.js.map +0 -1
- package/dist/collection/components/cta-link/cta-link.js.map +0 -1
- package/dist/collection/components/docs-container/docs-container.js.map +0 -1
- package/dist/collection/components/footer/hy-footer/hy-footer.js.map +0 -1
- package/dist/collection/components/footer/hy-footer-action/hy-footer-action.js.map +0 -1
- package/dist/collection/components/footer/hy-footer-base/hy-footer-base.js.map +0 -1
- package/dist/collection/components/footer/hy-footer-info/hy-footer-info.js.map +0 -1
- package/dist/collection/components/footer/hy-footer-link-item/hy-footer-link-item.js.map +0 -1
- package/dist/collection/components/global-workers/globals.worker.js.map +0 -1
- package/dist/collection/components/grid-container/grid-container.js.map +0 -1
- package/dist/collection/components/grid-item/grid-item.js.map +0 -1
- package/dist/collection/components/grid-row/grid-row.js.map +0 -1
- package/dist/collection/components/heading/heading.js.map +0 -1
- package/dist/collection/components/hy-anchor-link-list/hy-anchor-link-list.js.map +0 -1
- package/dist/collection/components/hy-badge/hy-badge.js.map +0 -1
- package/dist/collection/components/hy-banner/hy-banner.js.map +0 -1
- package/dist/collection/components/hy-box/hy-box.js.map +0 -1
- package/dist/collection/components/hy-box-container/hy-box-container.js.map +0 -1
- package/dist/collection/components/hy-breadcrumbs/hy-breadcrumbs.js.map +0 -1
- package/dist/collection/components/hy-checkbox/hy-checkbox.js.map +0 -1
- package/dist/collection/components/hy-collaboration/hy-collaboration.js.map +0 -1
- package/dist/collection/components/hy-crisis-banner/hy-crisis-banner.js.map +0 -1
- package/dist/collection/components/hy-dropdown/hy-dropdown.js.map +0 -1
- package/dist/collection/components/hy-dropdown/hy-dropdown.panel.item.js.map +0 -1
- package/dist/collection/components/hy-dropdown/hy-dropdown.panel.js.map +0 -1
- package/dist/collection/components/hy-event-item/hy-event-item.js.map +0 -1
- package/dist/collection/components/hy-events/hy-events.js.map +0 -1
- package/dist/collection/components/hy-filter-group/hy-filter-group.item.js.map +0 -1
- package/dist/collection/components/hy-filter-group/hy-filter-group.js.map +0 -1
- package/dist/collection/components/hy-filter-list-type/hy-filter-list-type.js.map +0 -1
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.js.map +0 -1
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.js.map +0 -1
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.toggle.js.map +0 -1
- package/dist/collection/components/hy-general-list/hy-general-list.js.map +0 -1
- package/dist/collection/components/hy-general-list-item/hy-general-list-item.js.map +0 -1
- package/dist/collection/components/hy-hero/hy-hero.js.map +0 -1
- package/dist/collection/components/hy-introduction/hy-introduction.js.map +0 -1
- package/dist/collection/components/hy-key-figure/hy-key-figure.js.map +0 -1
- package/dist/collection/components/hy-key-figure-group/hy-key-figure-group.js.map +0 -1
- package/dist/collection/components/hy-key-highlight/hy-key-highlight.js.map +0 -1
- package/dist/collection/components/hy-key-highlight-group/hy-key-highlight-group.js.map +0 -1
- package/dist/collection/components/hy-large-process-flow/hy-large-process-flow.js.map +0 -1
- package/dist/collection/components/hy-large-process-flow-phase/hy-large-process-flow-phase.js.map +0 -1
- package/dist/collection/components/hy-link-list/hy-link-list.js.map +0 -1
- package/dist/collection/components/hy-list-item/hy-list-item.js.map +0 -1
- package/dist/collection/components/hy-logo-grid/hy-logo-grid.item.js.map +0 -1
- package/dist/collection/components/hy-logo-grid/hy-logo-grid.js.map +0 -1
- package/dist/collection/components/hy-main/hy-main.js.map +0 -1
- package/dist/collection/components/hy-main-content-wrapper/hy-main-content-wrapper.js.map +0 -1
- package/dist/collection/components/hy-opening-hours/hy-opening-hours.js.map +0 -1
- package/dist/collection/components/hy-opening-hours-content/hy-opening-hours-content.js.map +0 -1
- package/dist/collection/components/hy-person-card/hy-person-card.js.map +0 -1
- package/dist/collection/components/hy-prominent-image/hy-prominent-image.js.map +0 -1
- package/dist/collection/components/hy-quote/hy-quote.js.map +0 -1
- package/dist/collection/components/hy-search-field/hy-search-field.js.map +0 -1
- package/dist/collection/components/hy-shortcuts/hy-shortcuts.js.map +0 -1
- package/dist/collection/components/hy-table-container/hy-table-container.js.map +0 -1
- package/dist/collection/components/hy-tabs/hy-tabs.js.map +0 -1
- package/dist/collection/components/hy-tabs-item/hy-tabs-item.js.map +0 -1
- package/dist/collection/components/hy-tag/hy-tag.js.map +0 -1
- package/dist/collection/components/hy-twitter-feed/hy-twitter-feed.js.map +0 -1
- package/dist/collection/components/hy-two-columns/hy-two-columns.js.map +0 -1
- package/dist/collection/components/hy-user-login-form/hy-user-login-form.js.map +0 -1
- package/dist/collection/components/hy-video/hy-video.js.map +0 -1
- package/dist/collection/components/icon/AddToTodoList.js.map +0 -1
- package/dist/collection/components/icon/Alert.js.map +0 -1
- package/dist/collection/components/icon/Archive.js.map +0 -1
- package/dist/collection/components/icon/Arrow.js.map +0 -1
- package/dist/collection/components/icon/ArrowDown.js.map +0 -1
- package/dist/collection/components/icon/ArrowRight.js.map +0 -1
- package/dist/collection/components/icon/ArrowUp.js.map +0 -1
- package/dist/collection/components/icon/Avatar.js.map +0 -1
- package/dist/collection/components/icon/AvatarGroup.js.map +0 -1
- package/dist/collection/components/icon/Bachelor.js.map +0 -1
- package/dist/collection/components/icon/BulletList.js.map +0 -1
- package/dist/collection/components/icon/Camera.js.map +0 -1
- package/dist/collection/components/icon/CaretDown.js.map +0 -1
- package/dist/collection/components/icon/CaretLeft.js.map +0 -1
- package/dist/collection/components/icon/CaretRight.js.map +0 -1
- package/dist/collection/components/icon/CaretUp.js.map +0 -1
- package/dist/collection/components/icon/Chat.js.map +0 -1
- package/dist/collection/components/icon/CodeFork.js.map +0 -1
- package/dist/collection/components/icon/Cogs.js.map +0 -1
- package/dist/collection/components/icon/Contentlink.js.map +0 -1
- package/dist/collection/components/icon/Customlink.js.map +0 -1
- package/dist/collection/components/icon/Date.js.map +0 -1
- package/dist/collection/components/icon/Discover.js.map +0 -1
- package/dist/collection/components/icon/Done.js.map +0 -1
- package/dist/collection/components/icon/Dot.js.map +0 -1
- package/dist/collection/components/icon/DotArrowRight.js.map +0 -1
- package/dist/collection/components/icon/Download.js.map +0 -1
- package/dist/collection/components/icon/Drag.js.map +0 -1
- package/dist/collection/components/icon/Dragbutton.js.map +0 -1
- package/dist/collection/components/icon/DropDown.js.map +0 -1
- package/dist/collection/components/icon/Edit.js.map +0 -1
- package/dist/collection/components/icon/EditEvent.js.map +0 -1
- package/dist/collection/components/icon/Embed.js.map +0 -1
- package/dist/collection/components/icon/Euro.js.map +0 -1
- package/dist/collection/components/icon/Events.js.map +0 -1
- package/dist/collection/components/icon/ExternalLink.js.map +0 -1
- package/dist/collection/components/icon/EyeSlash.js.map +0 -1
- package/dist/collection/components/icon/Facebook.js.map +0 -1
- package/dist/collection/components/icon/Favorites.js.map +0 -1
- package/dist/collection/components/icon/Feed.js.map +0 -1
- package/dist/collection/components/icon/FileText.js.map +0 -1
- package/dist/collection/components/icon/FullScreen.js.map +0 -1
- package/dist/collection/components/icon/Globe.js.map +0 -1
- package/dist/collection/components/icon/GooglePlus.js.map +0 -1
- package/dist/collection/components/icon/Grid.js.map +0 -1
- package/dist/collection/components/icon/Hamburger.js.map +0 -1
- package/dist/collection/components/icon/Heart.js.map +0 -1
- package/dist/collection/components/icon/HeartSupport.js.map +0 -1
- package/dist/collection/components/icon/Helsinginyliopisto.js.map +0 -1
- package/dist/collection/components/icon/Home.js.map +0 -1
- package/dist/collection/components/icon/HorizontalResize.js.map +0 -1
- package/dist/collection/components/icon/HyLogo.js.map +0 -1
- package/dist/collection/components/icon/IdNumber.js.map +0 -1
- package/dist/collection/components/icon/Image.js.map +0 -1
- package/dist/collection/components/icon/ImageGallery.js.map +0 -1
- package/dist/collection/components/icon/Images.js.map +0 -1
- package/dist/collection/components/icon/Info.js.map +0 -1
- package/dist/collection/components/icon/InfoStroke.js.map +0 -1
- package/dist/collection/components/icon/Instagram.js.map +0 -1
- package/dist/collection/components/icon/LeikiList.js.map +0 -1
- package/dist/collection/components/icon/LinkArrow.js.map +0 -1
- package/dist/collection/components/icon/LinkArrow1.js.map +0 -1
- package/dist/collection/components/icon/LinkArrowDown.js.map +0 -1
- package/dist/collection/components/icon/LinkArrowLeft.js.map +0 -1
- package/dist/collection/components/icon/LinkArrowOffsite.js.map +0 -1
- package/dist/collection/components/icon/LinkArrowUp.js.map +0 -1
- package/dist/collection/components/icon/Linkedin.js.map +0 -1
- package/dist/collection/components/icon/List.js.map +0 -1
- package/dist/collection/components/icon/ListAsBlocks.js.map +0 -1
- package/dist/collection/components/icon/ListStyleGrid.js.map +0 -1
- package/dist/collection/components/icon/ListStyleList.js.map +0 -1
- package/dist/collection/components/icon/Listoflinks.js.map +0 -1
- package/dist/collection/components/icon/Location.js.map +0 -1
- package/dist/collection/components/icon/Log.js.map +0 -1
- package/dist/collection/components/icon/Login.js.map +0 -1
- package/dist/collection/components/icon/Logout.js.map +0 -1
- package/dist/collection/components/icon/MagnifyMinus.js.map +0 -1
- package/dist/collection/components/icon/MagnifyPlus.js.map +0 -1
- package/dist/collection/components/icon/Mail.js.map +0 -1
- package/dist/collection/components/icon/Master.js.map +0 -1
- package/dist/collection/components/icon/Minus.js.map +0 -1
- package/dist/collection/components/icon/Mobile.js.map +0 -1
- package/dist/collection/components/icon/Modify.js.map +0 -1
- package/dist/collection/components/icon/NaviTriangle.js.map +0 -1
- package/dist/collection/components/icon/NewGroup.js.map +0 -1
- package/dist/collection/components/icon/NewPerson.js.map +0 -1
- package/dist/collection/components/icon/Notification.js.map +0 -1
- package/dist/collection/components/icon/OpinderLogo.js.map +0 -1
- package/dist/collection/components/icon/OpinderLogoNew.js.map +0 -1
- package/dist/collection/components/icon/Pdf.js.map +0 -1
- package/dist/collection/components/icon/People.js.map +0 -1
- package/dist/collection/components/icon/PermissionAll.js.map +0 -1
- package/dist/collection/components/icon/PermissionGroup.js.map +0 -1
- package/dist/collection/components/icon/PermissionPrivate.js.map +0 -1
- package/dist/collection/components/icon/Person.js.map +0 -1
- package/dist/collection/components/icon/PersonOutline.js.map +0 -1
- package/dist/collection/components/icon/Phone.js.map +0 -1
- package/dist/collection/components/icon/Play.js.map +0 -1
- package/dist/collection/components/icon/Plus.js.map +0 -1
- package/dist/collection/components/icon/Preview.js.map +0 -1
- package/dist/collection/components/icon/Profile.js.map +0 -1
- package/dist/collection/components/icon/Question.js.map +0 -1
- package/dist/collection/components/icon/Remove.js.map +0 -1
- package/dist/collection/components/icon/Retweet.js.map +0 -1
- package/dist/collection/components/icon/RotateLeft.js.map +0 -1
- package/dist/collection/components/icon/RotateRight.js.map +0 -1
- package/dist/collection/components/icon/Search.js.map +0 -1
- package/dist/collection/components/icon/Share.js.map +0 -1
- package/dist/collection/components/icon/SlimHamburgerMenu.js.map +0 -1
- package/dist/collection/components/icon/SocialMedia.js.map +0 -1
- package/dist/collection/components/icon/SomeFacebook.js.map +0 -1
- package/dist/collection/components/icon/SomeInstagram.js.map +0 -1
- package/dist/collection/components/icon/SomeLinkedin.js.map +0 -1
- package/dist/collection/components/icon/SomeTwitter.js.map +0 -1
- package/dist/collection/components/icon/SomeYoutube.js.map +0 -1
- package/dist/collection/components/icon/Spinner.js.map +0 -1
- package/dist/collection/components/icon/Square.js.map +0 -1
- package/dist/collection/components/icon/SquareChecked.js.map +0 -1
- package/dist/collection/components/icon/Time.js.map +0 -1
- package/dist/collection/components/icon/TodoList.js.map +0 -1
- package/dist/collection/components/icon/Tour.js.map +0 -1
- package/dist/collection/components/icon/Twitter.js.map +0 -1
- package/dist/collection/components/icon/TwitterLike.js.map +0 -1
- package/dist/collection/components/icon/UnitsAndFaculties.js.map +0 -1
- package/dist/collection/components/icon/Url.js.map +0 -1
- package/dist/collection/components/icon/Video.js.map +0 -1
- package/dist/collection/components/icon/Warning.js.map +0 -1
- package/dist/collection/components/icon/Wrench.js.map +0 -1
- package/dist/collection/components/icon/Youtube.js.map +0 -1
- package/dist/collection/components/icon/allIcons.js.map +0 -1
- package/dist/collection/components/icon/icon.js.map +0 -1
- package/dist/collection/components/icon/icons.js.map +0 -1
- package/dist/collection/components/image/image.js.map +0 -1
- package/dist/collection/components/ingress/ingress.js.map +0 -1
- package/dist/collection/components/link/link.js.map +0 -1
- package/dist/collection/components/link-box/link-box.js.map +0 -1
- package/dist/collection/components/link-box-list/link-box-list.js.map +0 -1
- package/dist/collection/components/navigation/hy-menu-main-group/hy-menu-main-group.js.map +0 -1
- package/dist/collection/components/navigation/menu-language/menu-language.js.map +0 -1
- package/dist/collection/components/navigation/menu-language-item/menu-language-item.js.map +0 -1
- package/dist/collection/components/pagination/hy-pager/hy-pager.js.map +0 -1
- package/dist/collection/components/pagination/hy-pager-item/hy-pager-item.js.map +0 -1
- package/dist/collection/components/paragraph-text/paragraph-text.js.map +0 -1
- package/dist/collection/components/person-profile/person-profile-listing/person-profile.listing.js.map +0 -1
- package/dist/collection/components/person-profile/person-profile.js.map +0 -1
- package/dist/collection/components/process/process.js.map +0 -1
- package/dist/collection/components/process-flow-box/process-flow-box.js.map +0 -1
- package/dist/collection/components/row/row.js.map +0 -1
- package/dist/collection/components/section-container/section-container.js.map +0 -1
- package/dist/collection/components/site-header/site-header.js.map +0 -1
- package/dist/collection/components/site-header/site-logo/site-logo.js.map +0 -1
- package/dist/collection/components/site-header/site-search/site-search.js.map +0 -1
- package/dist/collection/components/tiny-text/tiny-text.js.map +0 -1
- package/dist/collection/global/colors.js.map +0 -1
- package/dist/collection/global/globalScript.js.map +0 -1
- package/dist/collection/global/typography.js.map +0 -1
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/utils/utils.js.map +0 -1
- package/dist/esm/color-box_8.entry.js +0 -176
- package/dist/esm/color-box_8.entry.js.map +0 -1
- package/dist/esm/globalScript-4ad40215.js.map +0 -1
- package/dist/esm/huds-lib.js.map +0 -1
- package/dist/esm/hy-accordion-container_83.entry.js.map +0 -1
- package/dist/esm/hy-event-item.entry.js.map +0 -1
- package/dist/esm/hy-events.entry.js.map +0 -1
- package/dist/esm/index-3a66d87e.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/loader.js.map +0 -1
- package/dist/esm/utils-43c56d92.js.map +0 -1
- package/dist/huds-lib/huds-lib.esm.js.map +0 -1
- package/dist/huds-lib/index.esm.js.map +0 -1
- package/dist/huds-lib/p-1aeae669.entry.js +0 -2
- package/dist/huds-lib/p-1aeae669.entry.js.map +0 -1
- package/dist/huds-lib/p-30e3190a.entry.js +0 -88
- package/dist/huds-lib/p-30e3190a.entry.js.map +0 -1
- package/dist/huds-lib/p-63584350.js +0 -2
- package/dist/huds-lib/p-63584350.js.map +0 -1
- package/dist/huds-lib/p-7b75f0ea.entry.js +0 -2
- package/dist/huds-lib/p-7b75f0ea.entry.js.map +0 -1
- package/dist/huds-lib/p-b02e49ad.js +0 -2
- package/dist/huds-lib/p-b02e49ad.js.map +0 -1
- package/dist/huds-lib/p-c8ed784d.entry.js +0 -2
- package/dist/huds-lib/p-c8ed784d.entry.js.map +0 -1
- package/dist/huds-lib/p-ff975a68.js +0 -3
- package/dist/huds-lib/p-ff975a68.js.map +0 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface HyHero extends Components.HyHero, HTMLElement {}
|
|
4
|
+
export const HyHero: {
|
|
5
|
+
prototype: HyHero;
|
|
6
|
+
new (): HyHero;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { j as jsonParserWorker } from './globalScript.js';
|
|
3
|
+
import { m as HeroTypeVariant, n as HeroGroupTypeVariant, o as HeroColorVariant, p as HeroSizeVariant, a as CtaLinkButtonVariants } from './utils.js';
|
|
4
|
+
import { d as defineCustomElement$4 } from './hy-box2.js';
|
|
5
|
+
import { d as defineCustomElement$3 } from './cta-button.js';
|
|
6
|
+
import { d as defineCustomElement$2 } from './icon.js';
|
|
7
|
+
|
|
8
|
+
const hyHeroCss = ":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-hero{position:relative;padding-bottom:0}@media (min-width: 60rem){.hy-hero{margin-top:32px}}@media (min-width: 60rem){.hy-hero:not(.has-shortcuts){margin-bottom:32px}}@media (min-width: 75.0625rem){.without-sidebar .hy-hero{max-width:1216px;margin-right:auto;margin-left:auto}}@media (min-width: 75.0625rem){.with-sidebar .hy-hero{padding-left:32px;padding-right:32px}}@media (min-width: 1601px){.with-sidebar .hy-hero{padding-right:0;padding-left:0;max-width:1216px;margin-right:auto;margin-left:auto}}@media (min-width: 60rem){.hy-hero--white{margin-top:0}}@media (min-width: 60rem){.hy-hero--white:not(.has-shortcuts){padding-bottom:48px}}.hy-hero--white:not(.has-shortcuts):after{width:100%;background-color:var(--grayscale-medium-dark);height:1px;content:\"\";margin:0 auto;display:block}@media (min-width: 60rem){.hy-hero--white:not(.has-shortcuts):after{position:absolute;left:0;right:0;bottom:0}}.hy-hero--white:not(.hy-hero--front_page):after{max-width:1216px}.hy-hero__container{position:relative}@media (min-width: 60rem){.hy-hero__container{display:grid;position:relative}}@media (min-width: 60rem){.hy-hero--small .hy-hero__container{grid-template-columns:60% 1fr}}@media (min-width: 60rem){.hy-hero--large .hy-hero__container{grid-template-columns:repeat(2, 1fr)}}.hy-hero__content-container{padding:24px 1rem 40px;margin:0 auto;width:100%}@media (min-width: 30rem){.hy-hero__content-container{padding:40px 2rem}}@media (min-width: 75.0625rem){.hy-hero__content-container{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;padding:40px 24px}}@media (min-width: 1601px){.hy-hero__content-container{max-width:1216px}}.hy-hero--black .hy-hero__content-container{background-color:var(--grayscale-black)}.hy-hero--blue .hy-hero__content-container{background-color:var(--brand-main)}.hy-hero--white .hy-hero__content-container{background-color:var(--grayscale-white)}@media (min-width: 75.0625rem){.hy-hero--white .hy-hero__content-container{padding:40px 24px 40px 0}}.hy-hero__content{position:relative}h2.hy-hero__title{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:0;flex-shrink:0;max-width:100%;width:auto}.hy-hero--blue h2.hy-hero__title{color:var(--grayscale-white) !important}.hy-hero--black h2.hy-hero__title{color:var(--grayscale-white) !important}.hy-hero--white h2.hy-hero__title{color:var(--grayscale-black) !important}h2.hy-hero__title.hy-heading__hero{font-size:2.25rem;line-height:33px;font-weight:700;color:var(--grayscale-black);font-family:var(--main-font-family);letter-spacing:-0.8px;margin-bottom:0;text-transform:none}@media (min-width: 1024px){h2.hy-hero__title.hy-heading__hero{font-size:2.25rem;line-height:40px;letter-spacing:-1.15px}}@media (min-width: 1601px){h2.hy-hero__title.hy-heading__hero{font-size:2.375rem;line-height:48px;letter-spacing:-1.3px}}.hy-hero__description{font-size:1rem;line-height:24px;font-family:var(--main-font-family);margin:16px 0 0 0;padding:0;position:relative}@media (min-width: 1601px){.hy-hero__description{font-size:1.0625rem;line-height:26px}}.hy-hero--black .hy-hero__description{color:var(--grayscale-white)}.hy-hero--blue .hy-hero__description{color:var(--grayscale-white)}.hy-hero--white .hy-hero__description{color:var(--grayscale-black)}.hy-hero__actions{margin-top:24px}.hy-hero__image-container{margin:0;padding:0;position:relative}.hy-hero__image-container figure{margin:0}@media (min-width: 60rem){.hy-hero__image-container{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2;padding:8px 0}}@media (min-width: 60rem){.hy-hero--front_page .hy-hero__image-container{padding:0}}.hy-image__image{display:block;height:100%;min-height:205px;-o-object-fit:contain;object-fit:contain;width:100%}.has-cover .hy-image__image{-o-object-fit:cover;object-fit:cover}.hy-hero.hy-hero--group_landing.hy-hero--generic_site_group h2.hy-hero__title.hy-heading__hero,.hy-hero.hy-hero--research_group h2.hy-hero__title.hy-heading__hero{font-size:2rem;line-height:38px;font-weight:700;color:var(--grayscale-black);font-family:var(--main-font-family);letter-spacing:-0.8px;margin-bottom:0;text-transform:uppercase}@media (min-width: 1024px){.hy-hero.hy-hero--group_landing.hy-hero--generic_site_group h2.hy-hero__title.hy-heading__hero,.hy-hero.hy-hero--research_group h2.hy-hero__title.hy-heading__hero{font-size:2.875rem;line-height:54px;letter-spacing:-1.15px}}@media (min-width: 1601px){.hy-hero.hy-hero--group_landing.hy-hero--generic_site_group h2.hy-hero__title.hy-heading__hero,.hy-hero.hy-hero--research_group h2.hy-hero__title.hy-heading__hero{font-size:3.25rem;line-height:60px;letter-spacing:-1.3px}}@media (min-width: 60rem){.hy-hero.hy-hero--front_page.hy-hero--white{padding-top:40px;margin-top:0}}.hy-hero.hy-hero--front_page h2.hy-hero__title.hy-heading__hero{font-size:2rem;line-height:38px;font-weight:700;color:var(--grayscale-black);font-family:var(--main-font-family);letter-spacing:-0.8px;margin-bottom:0;text-transform:uppercase}@media (min-width: 1024px){.hy-hero.hy-hero--front_page h2.hy-hero__title.hy-heading__hero{font-size:2.875rem;line-height:54px;letter-spacing:-1.15px}}@media (min-width: 1601px){.hy-hero.hy-hero--front_page h2.hy-hero__title.hy-heading__hero{font-size:3.25rem;line-height:60px;letter-spacing:-1.3px}}@media (min-width: 75.0625rem){.hy-hero.hy-hero--front_page{margin-left:-32px;margin-right:-32px;max-width:none}}.hy-hero.hy-hero--front_page .hy-hero__container{position:relative}@media (min-width: 60rem){.hy-hero.hy-hero--front_page .hy-hero__container{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative}}.hy-hero.hy-hero--front_page .hy-hero__content-container{padding:24px 1rem 40px;margin:0 auto;width:100%}.hy-hero--black .hy-hero.hy-hero--front_page .hy-hero__content-container{background-color:var(--grayscale-black)}.hy-hero--blue .hy-hero.hy-hero--front_page .hy-hero__content-container{background-color:var(--brand-main)}.hy-hero--white .hy-hero.hy-hero--front_page .hy-hero__content-container{background-color:var(--grayscale-white)}@media (min-width: 30rem){.hy-hero.hy-hero--front_page .hy-hero__content-container{padding:24px 2rem 40px}}@media (min-width: 60rem){.hy-hero.hy-hero--front_page .hy-hero__content-container{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;min-height:330px;padding:56px 2rem}}@media (min-width: 1060px){.hy-hero.hy-hero--front_page .hy-hero__content-container{min-height:373px}}@media (min-width: 1160px){.hy-hero.hy-hero--front_page .hy-hero__content-container{min-height:480px}}@media (min-width: 75.0625rem){.hy-hero.hy-hero--front_page .hy-hero__content-container{padding-left:32px;padding-right:8px}}@media (min-width: 1260px){.hy-hero.hy-hero--front_page .hy-hero__content-container{min-height:443px}}@media (min-width: 1280px){.hy-hero.hy-hero--front_page .hy-hero__content-container{max-width:1216px;padding-left:0}}@media (min-width: 1360px){.hy-hero.hy-hero--front_page .hy-hero__content-container{min-height:478px}}@media (min-width: 1460px){.hy-hero.hy-hero--front_page .hy-hero__content-container{min-height:513px}}@media (min-width: 1560px){.hy-hero.hy-hero--front_page .hy-hero__content-container{min-height:548px}}@media (min-width: 1601px){.hy-hero.hy-hero--front_page .hy-hero__content-container{padding-left:0}}@media (min-width: 1660px){.hy-hero.hy-hero--front_page .hy-hero__content-container{min-height:583px}}@media (min-width: 1760px){.hy-hero.hy-hero--front_page .hy-hero__content-container{min-height:619px}}@media (min-width: 1860px){.hy-hero.hy-hero--front_page .hy-hero__content-container{min-height:654px}}@media (min-width: 1920px){.hy-hero.hy-hero--front_page .hy-hero__content-container{min-height:675px}}@media (min-width: 60rem){.hy-hero.hy-hero--front_page.hy-hero--small .hy-hero__image-container{width:40%}}@media (min-width: 60rem){.hy-hero.hy-hero--front_page.hy-hero--small .hy-hero__content{max-width:60%}}@media (min-width: 60rem){.hy-hero.hy-hero--front_page.hy-hero--large .hy-hero__image-container{width:50%}}@media (min-width: 60rem){.hy-hero.hy-hero--front_page.hy-hero--large .hy-hero__content{max-width:50%}}.hy-hero.hy-hero--front_page .hy-hero__image-container{background-position:50% 50%;background-size:cover;background:transparent;margin:0;padding:0;position:relative}.hy-hero.hy-hero--front_page .hy-hero__image-container figure{margin:0}@media (min-width: 60rem){.hy-hero.hy-hero--front_page .hy-hero__image-container{background-color:var(--grayscale-white);bottom:0;-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2;padding:8px 0;position:absolute;right:0;top:0}}.hy-hero.hy-hero--front_page .hy-hero__content{position:relative}@media (min-width: 60rem){.hy-hero.hy-hero--front_page .hy-hero__content{padding-right:24px}}.hy-hero.hy-hero--front_page .hy-image__image{display:block;height:100%;min-height:205px;-o-object-fit:cover;object-fit:cover;width:100%}.hy-hero__spacer-box{display:none}@media (min-width: 60rem){.hy-hero__spacer-box{display:block;-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1;position:absolute;inset:0}}@media (min-width: 60rem){.hy-hero--small .hy-hero__spacer-box{width:60%}}@media (min-width: 60rem){.hy-hero--large .hy-hero__spacer-box{width:50%}}.hy-hero--black .hy-hero__spacer-box{background-color:var(--grayscale-black)}.hy-hero--blue .hy-hero__spacer-box{background-color:var(--brand-main)}.hy-hero--white .hy-hero__spacer-box{background-color:var(--grayscale-white)}";
|
|
9
|
+
|
|
10
|
+
let timeout = null;
|
|
11
|
+
let delay = 250;
|
|
12
|
+
const HyHero$1 = /*@__PURE__*/ proxyCustomElement(class HyHero extends HTMLElement {
|
|
13
|
+
constructor() {
|
|
14
|
+
super();
|
|
15
|
+
this.__registerHost();
|
|
16
|
+
this.heroType = HeroTypeVariant.landing;
|
|
17
|
+
this.heroGroupType = HeroGroupTypeVariant.default;
|
|
18
|
+
this.colorVariant = HeroColorVariant.blue;
|
|
19
|
+
this.sizeVariant = HeroSizeVariant.large;
|
|
20
|
+
this.image = undefined;
|
|
21
|
+
this.imageAltText = "";
|
|
22
|
+
this.disableLazy = false;
|
|
23
|
+
this.hasShortcuts = false;
|
|
24
|
+
this.heading = undefined;
|
|
25
|
+
this.description = undefined;
|
|
26
|
+
this.url = undefined;
|
|
27
|
+
this.urlTitle = undefined;
|
|
28
|
+
this.scLabel = undefined;
|
|
29
|
+
this.isExternal = false;
|
|
30
|
+
this.sourceSet = undefined;
|
|
31
|
+
}
|
|
32
|
+
async componentWillLoad() {
|
|
33
|
+
this._sourceSet = await jsonParserWorker(this.sourceSet);
|
|
34
|
+
}
|
|
35
|
+
handleHeroImageObjectFitValue(heroSizeVariant, heroElement) {
|
|
36
|
+
const heroContentContainerElement = heroElement.getElementsByClassName("hy-hero__content-container")[0];
|
|
37
|
+
if (heroSizeVariant === "small") {
|
|
38
|
+
if (heroContentContainerElement.offsetHeight >= 300) {
|
|
39
|
+
heroElement.classList.add("has-cover");
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
heroElement.classList.remove("has-cover");
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
if (heroSizeVariant === "large") {
|
|
46
|
+
if (heroContentContainerElement.offsetHeight >= 344) {
|
|
47
|
+
heroElement.classList.add("has-cover");
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
heroElement.classList.remove("has-cover");
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
render() {
|
|
55
|
+
let variant = CtaLinkButtonVariants.heroWhite;
|
|
56
|
+
let colorVariantValue = this.colorVariant;
|
|
57
|
+
let heroTypeValue = this.heroType;
|
|
58
|
+
if (this.heroType === "minor_landing") {
|
|
59
|
+
colorVariantValue = HeroColorVariant.white;
|
|
60
|
+
heroTypeValue = HeroTypeVariant.landing;
|
|
61
|
+
}
|
|
62
|
+
if (colorVariantValue === HeroColorVariant.blue) {
|
|
63
|
+
variant = CtaLinkButtonVariants.heroBlue;
|
|
64
|
+
}
|
|
65
|
+
if (colorVariantValue === HeroColorVariant.black) {
|
|
66
|
+
variant = CtaLinkButtonVariants.heroBlack;
|
|
67
|
+
}
|
|
68
|
+
if (!colorVariantValue || colorVariantValue === "fp_white") {
|
|
69
|
+
colorVariantValue = HeroColorVariant.white;
|
|
70
|
+
}
|
|
71
|
+
const hyHeroClasses = [
|
|
72
|
+
"hy-hero",
|
|
73
|
+
`hy-hero--${heroTypeValue}`,
|
|
74
|
+
`hy-hero--${this.heroGroupType}`,
|
|
75
|
+
`hy-hero--${colorVariantValue}`,
|
|
76
|
+
`hy-hero--${this.sizeVariant}`,
|
|
77
|
+
];
|
|
78
|
+
const heroTitleClasses = ["hy-hero__title", "hy-heading__hero"].join(" ");
|
|
79
|
+
// If there is a Shortcuts block after hero, add the class 'shortcuts' to remove underline.
|
|
80
|
+
if (this.hasShortcuts) {
|
|
81
|
+
hyHeroClasses.push("has-shortcuts");
|
|
82
|
+
}
|
|
83
|
+
const aspectRatioWidth = 16;
|
|
84
|
+
const aspectRatioHeight = 10;
|
|
85
|
+
const aspect = (aspectRatioHeight / aspectRatioWidth) * 100;
|
|
86
|
+
const aspectRatio = {
|
|
87
|
+
"--aspectRatio": `${aspect}%`,
|
|
88
|
+
};
|
|
89
|
+
window.onload = () => {
|
|
90
|
+
const heroElement = document.getElementsByClassName("hy-hero")[0];
|
|
91
|
+
this.handleHeroImageObjectFitValue(this.sizeVariant, heroElement);
|
|
92
|
+
window.addEventListener("resize", () => {
|
|
93
|
+
clearTimeout(timeout);
|
|
94
|
+
timeout = setTimeout(() => this.handleHeroImageObjectFitValue(this.sizeVariant, heroElement), delay);
|
|
95
|
+
});
|
|
96
|
+
};
|
|
97
|
+
if (heroTypeValue === "front_page") {
|
|
98
|
+
return (h(Host, null, h("div", { class: hyHeroClasses.join(" ") }, h("div", { class: `hy-hero__container` }, h("div", { class: `hy-hero__image-container`, style: aspectRatio }, this.image &&
|
|
99
|
+
(this._sourceSet ? (h("picture", null, this._sourceSet.map((item) => (h("source", { srcSet: item.src, media: item.media, type: item.type, sizes: item.sizes ? item.sizes : "" }))), h("img", { loading: this.disableLazy ? "eager" : "lazy", alt: this.imageAltText, class: `hy-image__image`, src: this.image }))) : (h("img", { loading: this.disableLazy ? "eager" : "lazy", alt: this.imageAltText, class: `hy-image__image`, src: this.image })))), h("div", { class: `hy-hero__spacer-box` }), h("div", { class: `hy-hero__content-container` }, h("div", { class: `hy-hero__content` }, h("div", { class: `hy-hero__title-container` }, h("h2", { innerHTML: this.heading, class: heroTitleClasses })), this.description && h("p", { class: `hy-hero__description` }, this.description), this.url && (h("div", { class: `hy-hero__actions` }, h("hy-cta-button", { "link-content": this.urlTitle, "sc-label": this.scLabel, url: this.url, "is-external": this.isExternal, variant: variant }))))))), h("hy-box", { mb: "2, 2, 1, 1" })));
|
|
100
|
+
}
|
|
101
|
+
return (h(Host, null, h("div", { class: hyHeroClasses.join(" ") }, h("div", { class: `hy-hero__container` }, h("div", { class: `hy-hero__image-container`, style: aspectRatio }, this.image &&
|
|
102
|
+
(this._sourceSet ? (h("picture", null, this._sourceSet.map((item) => (h("source", { srcSet: item.src, media: item.media, type: item.type, sizes: item.sizes ? item.sizes : "" }))), h("img", { loading: this.disableLazy ? "eager" : "lazy", alt: this.imageAltText, class: `hy-image__image`, src: this.image }))) : (h("img", { loading: this.disableLazy ? "eager" : "lazy", alt: this.imageAltText, class: `hy-image__image`, src: this.image })))), h("div", { class: `hy-hero__content-container` }, h("div", { class: `hy-hero__content` }, h("div", { class: `hy-hero__title-container` }, h("h2", { innerHTML: this.heading, class: heroTitleClasses })), this.description && h("p", { class: `hy-hero__description` }, this.description), this.url && (h("div", { class: `hy-hero__actions` }, h("hy-cta-button", { "link-content": this.urlTitle, "sc-label": this.scLabel, url: this.url, "is-external": this.isExternal, variant: variant }))))))), h("hy-box", { mb: "2, 2, 1, 1" })));
|
|
103
|
+
}
|
|
104
|
+
get el() { return this; }
|
|
105
|
+
static get style() { return hyHeroCss; }
|
|
106
|
+
}, [0, "hy-hero", {
|
|
107
|
+
"heroType": [1, "hero-type"],
|
|
108
|
+
"heroGroupType": [1, "hero-group-type"],
|
|
109
|
+
"colorVariant": [1, "color-variant"],
|
|
110
|
+
"sizeVariant": [1, "size-variant"],
|
|
111
|
+
"image": [1],
|
|
112
|
+
"imageAltText": [1, "image-alt-text"],
|
|
113
|
+
"disableLazy": [4, "disable-lazy"],
|
|
114
|
+
"hasShortcuts": [4, "has-shortcuts"],
|
|
115
|
+
"heading": [1],
|
|
116
|
+
"description": [1],
|
|
117
|
+
"url": [1],
|
|
118
|
+
"urlTitle": [1, "url-title"],
|
|
119
|
+
"scLabel": [1, "sc-label"],
|
|
120
|
+
"isExternal": [4, "is-external"],
|
|
121
|
+
"sourceSet": [1, "source-set"]
|
|
122
|
+
}]);
|
|
123
|
+
function defineCustomElement$1() {
|
|
124
|
+
if (typeof customElements === "undefined") {
|
|
125
|
+
return;
|
|
126
|
+
}
|
|
127
|
+
const components = ["hy-hero", "hy-box", "hy-cta-button", "hy-icon"];
|
|
128
|
+
components.forEach(tagName => { switch (tagName) {
|
|
129
|
+
case "hy-hero":
|
|
130
|
+
if (!customElements.get(tagName)) {
|
|
131
|
+
customElements.define(tagName, HyHero$1);
|
|
132
|
+
}
|
|
133
|
+
break;
|
|
134
|
+
case "hy-box":
|
|
135
|
+
if (!customElements.get(tagName)) {
|
|
136
|
+
defineCustomElement$4();
|
|
137
|
+
}
|
|
138
|
+
break;
|
|
139
|
+
case "hy-cta-button":
|
|
140
|
+
if (!customElements.get(tagName)) {
|
|
141
|
+
defineCustomElement$3();
|
|
142
|
+
}
|
|
143
|
+
break;
|
|
144
|
+
case "hy-icon":
|
|
145
|
+
if (!customElements.get(tagName)) {
|
|
146
|
+
defineCustomElement$2();
|
|
147
|
+
}
|
|
148
|
+
break;
|
|
149
|
+
} });
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
const HyHero = HyHero$1;
|
|
153
|
+
const defineCustomElement = defineCustomElement$1;
|
|
154
|
+
|
|
155
|
+
export { HyHero, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface HyIcon extends Components.HyIcon, HTMLElement {}
|
|
4
|
+
export const HyIcon: {
|
|
5
|
+
prototype: HyIcon;
|
|
6
|
+
new (): HyIcon;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface HyImage extends Components.HyImage, HTMLElement {}
|
|
4
|
+
export const HyImage: {
|
|
5
|
+
prototype: HyImage;
|
|
6
|
+
new (): HyImage;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface HyIngress extends Components.HyIngress, HTMLElement {}
|
|
4
|
+
export const HyIngress: {
|
|
5
|
+
prototype: HyIngress;
|
|
6
|
+
new (): HyIngress;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
|
|
3
|
+
const ingressCss = ":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}p.hy-ingress{font-size:1rem;line-height:24px;color:var(--grayscale-black);font-family:var(--main-font-family);margin:0 0 2rem}@media (min-width: 30rem){p.hy-ingress{font-size:1.125rem;line-height:28px}}@media (min-width: 60rem){p.hy-ingress{margin:0 0 2.25rem}}@media (min-width: 1601px){p.hy-ingress{font-size:1.125rem;line-height:32px;margin:0 0 3rem}}@media (min-width: 75.0625rem){p.hy-ingress__large{font-size:1.125rem;line-height:32px;margin:0 0 3rem}}";
|
|
4
|
+
|
|
5
|
+
const Ingress = /*@__PURE__*/ proxyCustomElement(class Ingress extends HTMLElement {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.__registerHost();
|
|
9
|
+
this.headerstyle = "common";
|
|
10
|
+
}
|
|
11
|
+
componentDidLoad() {
|
|
12
|
+
let hyMainDiv = this.el.closest(".hy-main");
|
|
13
|
+
if (hyMainDiv) {
|
|
14
|
+
if (!hyMainDiv.classList.contains("with-sidebar")) {
|
|
15
|
+
this.headerstyle = "large";
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
render() {
|
|
20
|
+
const classAttributes = ["hy-ingress", `hy-ingress__${this.headerstyle}`].join(" ");
|
|
21
|
+
return (h(Host, null, h("p", { class: classAttributes }, h("slot", null))));
|
|
22
|
+
}
|
|
23
|
+
get el() { return this; }
|
|
24
|
+
static get style() { return ingressCss; }
|
|
25
|
+
}, [4, "hy-ingress", {
|
|
26
|
+
"headerstyle": [1]
|
|
27
|
+
}]);
|
|
28
|
+
function defineCustomElement$1() {
|
|
29
|
+
if (typeof customElements === "undefined") {
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
const components = ["hy-ingress"];
|
|
33
|
+
components.forEach(tagName => { switch (tagName) {
|
|
34
|
+
case "hy-ingress":
|
|
35
|
+
if (!customElements.get(tagName)) {
|
|
36
|
+
customElements.define(tagName, Ingress);
|
|
37
|
+
}
|
|
38
|
+
break;
|
|
39
|
+
} });
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
const HyIngress = Ingress;
|
|
43
|
+
const defineCustomElement = defineCustomElement$1;
|
|
44
|
+
|
|
45
|
+
export { HyIngress, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface HyIntroduction extends Components.HyIntroduction, HTMLElement {}
|
|
4
|
+
export const HyIntroduction: {
|
|
5
|
+
prototype: HyIntroduction;
|
|
6
|
+
new (): HyIntroduction;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { H as HeadingVarians, h as HeadingSectionVariants } from './utils.js';
|
|
3
|
+
import { d as defineCustomElement$6 } from './hy-box2.js';
|
|
4
|
+
import { d as defineCustomElement$5 } from './heading.js';
|
|
5
|
+
import { d as defineCustomElement$4 } from './icon.js';
|
|
6
|
+
import { d as defineCustomElement$3 } from './image.js';
|
|
7
|
+
import { d as defineCustomElement$2 } from './hy-main-content-wrapper2.js';
|
|
8
|
+
|
|
9
|
+
const hyIntroductionCss = ":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-introduction__content{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}@media (min-width: 60rem){.hy-introduction__content.hy-introduction__content--without-image.hy-introduction__content--limit-width{width:calc(50% - 16px)}}.hy-introduction--reversed .hy-introduction__outer-content{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}@media (min-width: 60rem){.hy-introduction--reversed .hy-introduction__outer-content{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}}.hy-introduction--with-bg{width:auto}@media (min-width: 60rem){.hy-introduction--with-bg{padding:0}}.hy-introduction--with-bg__white{background:var(--grayscale-white)}.hy-introduction--with-bg__white .hy-introduction__content--with-image{background:var(--grayscale-white)}.hy-introduction--with-bg__white .hy-introduction__title h2,.hy-introduction--with-bg__white .hy-introduction__description{color:var(--grayscale-black)}.hy-introduction--with-bg__white .hy-introduction__link{background:var(--brand-main-light);color:var(--grayscale-white)}.hy-introduction--with-bg__white .hy-introduction__link__icon svg{fill:var(--grayscale-white)}.hy-introduction--with-bg__white .hy-introduction__link:hover{background:var(--brand-main-active)}.hy-introduction__outer-content{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;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}@media (min-width: 60rem){.hy-introduction__outer-content{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding-bottom:0}@supports (gap: 32px){.hy-introduction__outer-content{gap:32px}}}@media (min-width: 1601px){@supports (gap: 48px){.hy-introduction__outer-content{gap:48px}}}.hy-introduction__content--without-image{width:100%}@media (min-width: 60rem){.hy-introduction__content--without-image{width:91.46%}}@media (min-width: 75.0625rem){.hy-introduction__content--without-image{width:82.89%}}@media (min-width: 1601px){.hy-introduction__content--without-image{width:74.2%}}@media (min-width: 60rem){.hy-introduction__content--with-image{margin:0;padding:0;width:50%}}@media (min-width: 60rem){.hy-introduction__title .hy-heading__container{padding-top:0}}.hy-introduction__image{width:100%}@media (min-width: 60rem){.hy-introduction__image{width:50%}@supports not (gap: 32px){.hy-introduction__image{width:calc(50% - 32px)}}}.hy-introduction__image img,.hy-introduction__image .hy-image,.hy-introduction__image .hy-image .hy-image__image-container{height:100% !important}.hy-introduction__description{font-size:0.9375rem;line-height:22px;font-weight:400;color:var(--grayscale-black);font-family:var(--main-font-family);margin-bottom:24px;margin-top:0}@media (min-width: 30rem){.hy-introduction__description{font-size:1rem;line-height:24px}}@media (min-width: 60rem){.hy-introduction__description{margin-bottom:28px}}@media (min-width: 1601px){.hy-introduction__description{font-size:1.0625rem;line-height:26px}}@media (min-width: 75.0625rem){.hy-introduction__description__large{font-size:1.0625rem;line-height:26px;margin-bottom:28px}}.hy-introduction__link{font-size:1rem;line-height:20px;letter-spacing:-0.5px;background-color:var(--brand-main-light);-webkit-box-shadow:0 2px 8px 0 rgba(0, 0, 0, 0.1);box-shadow:0 2px 8px 0 rgba(0, 0, 0, 0.1);-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--grayscale-white);cursor:pointer;display:inline-block;font-family:var(--main-font-family);font-weight:700;height:100%;padding:12px 60px 12px 12px;position:relative;text-decoration:none}@media (min-width: 30rem){.hy-introduction__link{font-size:1rem;line-height:20px;letter-spacing:-0.6px;padding:15px 62px 15px 16px}}@media (min-width: 60rem){.hy-introduction__link{font-size:1.125rem;line-height:20px}}@media (min-width: 75.0625rem){.hy-introduction__link{font-size:1.25rem;line-height:20px;letter-spacing:-0.7px;padding:16px 70px 16px 18px}}.hy-introduction__link__icon{position:absolute;right:16px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.hy-introduction__link__icon svg{fill:var(--grayscale-white)}";
|
|
10
|
+
|
|
11
|
+
const HyIntroduction$1 = /*@__PURE__*/ proxyCustomElement(class HyIntroduction extends HTMLElement {
|
|
12
|
+
constructor() {
|
|
13
|
+
super();
|
|
14
|
+
this.__registerHost();
|
|
15
|
+
this.variant = null;
|
|
16
|
+
this.reversed = false;
|
|
17
|
+
this.limitContentWidth = false;
|
|
18
|
+
this.textTitle = undefined;
|
|
19
|
+
this.textDescription = null;
|
|
20
|
+
this.url = undefined;
|
|
21
|
+
this.scLabel = undefined;
|
|
22
|
+
this.urlTitle = undefined;
|
|
23
|
+
this.imageUrl = undefined;
|
|
24
|
+
this.imageAlt = "";
|
|
25
|
+
this.isExternal = false;
|
|
26
|
+
this.headerstyle = "common";
|
|
27
|
+
this.sourceSet = undefined;
|
|
28
|
+
}
|
|
29
|
+
componentDidLoad() {
|
|
30
|
+
let hyMainDiv = this.el.closest(".hy-main");
|
|
31
|
+
if (hyMainDiv) {
|
|
32
|
+
if (!hyMainDiv.classList.contains("with-sidebar")) {
|
|
33
|
+
this.headerstyle = "large";
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
render() {
|
|
38
|
+
const classAttributes = [
|
|
39
|
+
"hy-introduction",
|
|
40
|
+
`hy-introduction__${this.headerstyle}`,
|
|
41
|
+
this.headerstyle,
|
|
42
|
+
this.reversed ? "hy-introduction--reversed" : "",
|
|
43
|
+
this.variant
|
|
44
|
+
? `hy-introduction--with-bg hy-introduction--with-bg__${this.variant}`
|
|
45
|
+
: "hy-introduction--without-bg",
|
|
46
|
+
].join(" ");
|
|
47
|
+
const classTitle = ["hy-introduction__title", `hy-introduction__title__${this.headerstyle}`].join(" ");
|
|
48
|
+
const classDescription = ["hy-introduction__description", `hy-introduction__description__${this.headerstyle}`].join(" ");
|
|
49
|
+
const contentWrapperClasses = [
|
|
50
|
+
"hy-introduction__content",
|
|
51
|
+
this.reversed ? "hy-introduction__content--reversed" : "",
|
|
52
|
+
this.imageUrl ? "hy-introduction__content--with-image" : "hy-introduction__content--without-image",
|
|
53
|
+
this.limitContentWidth ? "hy-introduction__content--limit-width" : "",
|
|
54
|
+
].join(" ");
|
|
55
|
+
const target = this.isExternal ? "_blank" : "_self";
|
|
56
|
+
return (h(Host, null, h("hy-box", { pt: "1.25, 1.25, 1.5, 2.5" }), h("div", { class: classAttributes }, h("hy-main-content-wrapper", null, h("div", { class: "hy-introduction__outer-content" }, h("div", { class: contentWrapperClasses }, h("hy-heading", { class: classTitle, heading: HeadingVarians.h2, section: HeadingSectionVariants.introduction }, this.textTitle), h("p", { class: classDescription }, this.textDescription), this.url && (h("div", { class: "hy-introduction__link__container" }, h("a", { class: "hy-introduction__link", href: this.url, "aria-label": this.scLabel, target: target }, this.urlTitle, h("span", { class: "hy-introduction__link__icon" }, h("hy-icon", { icon: "hy-icon-arrow-right", size: 24 })))))), this.imageUrl &&
|
|
57
|
+
(this.sourceSet ? (h("div", { class: "hy-introduction__image" }, h("hy-image", { "source-set": this.sourceSet, "image-url": this.imageUrl, aspectRatioWidth: 16, aspectRatioHeight: 10, "image-alt": this.imageAlt }))) : (h("div", { class: "hy-introduction__image" }, h("hy-image", { "image-url": this.imageUrl, aspectRatioWidth: 16, aspectRatioHeight: 10, "image-alt": this.imageAlt }))))))), h("hy-box", { mb: "1.75, 1.75, 2, 2.5" })));
|
|
58
|
+
}
|
|
59
|
+
get el() { return this; }
|
|
60
|
+
static get style() { return hyIntroductionCss; }
|
|
61
|
+
}, [0, "hy-introduction", {
|
|
62
|
+
"variant": [1],
|
|
63
|
+
"reversed": [4],
|
|
64
|
+
"limitContentWidth": [4, "limit-content-width"],
|
|
65
|
+
"textTitle": [1, "text-title"],
|
|
66
|
+
"textDescription": [1, "text-description"],
|
|
67
|
+
"url": [1],
|
|
68
|
+
"scLabel": [1, "sc-label"],
|
|
69
|
+
"urlTitle": [1, "url-title"],
|
|
70
|
+
"imageUrl": [1, "image-url"],
|
|
71
|
+
"imageAlt": [1, "image-alt"],
|
|
72
|
+
"isExternal": [4, "is-external"],
|
|
73
|
+
"headerstyle": [1],
|
|
74
|
+
"sourceSet": [1, "source-set"]
|
|
75
|
+
}]);
|
|
76
|
+
function defineCustomElement$1() {
|
|
77
|
+
if (typeof customElements === "undefined") {
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
const components = ["hy-introduction", "hy-box", "hy-heading", "hy-icon", "hy-image", "hy-main-content-wrapper"];
|
|
81
|
+
components.forEach(tagName => { switch (tagName) {
|
|
82
|
+
case "hy-introduction":
|
|
83
|
+
if (!customElements.get(tagName)) {
|
|
84
|
+
customElements.define(tagName, HyIntroduction$1);
|
|
85
|
+
}
|
|
86
|
+
break;
|
|
87
|
+
case "hy-box":
|
|
88
|
+
if (!customElements.get(tagName)) {
|
|
89
|
+
defineCustomElement$6();
|
|
90
|
+
}
|
|
91
|
+
break;
|
|
92
|
+
case "hy-heading":
|
|
93
|
+
if (!customElements.get(tagName)) {
|
|
94
|
+
defineCustomElement$5();
|
|
95
|
+
}
|
|
96
|
+
break;
|
|
97
|
+
case "hy-icon":
|
|
98
|
+
if (!customElements.get(tagName)) {
|
|
99
|
+
defineCustomElement$4();
|
|
100
|
+
}
|
|
101
|
+
break;
|
|
102
|
+
case "hy-image":
|
|
103
|
+
if (!customElements.get(tagName)) {
|
|
104
|
+
defineCustomElement$3();
|
|
105
|
+
}
|
|
106
|
+
break;
|
|
107
|
+
case "hy-main-content-wrapper":
|
|
108
|
+
if (!customElements.get(tagName)) {
|
|
109
|
+
defineCustomElement$2();
|
|
110
|
+
}
|
|
111
|
+
break;
|
|
112
|
+
} });
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
const HyIntroduction = HyIntroduction$1;
|
|
116
|
+
const defineCustomElement = defineCustomElement$1;
|
|
117
|
+
|
|
118
|
+
export { HyIntroduction, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface HyKeyFigureGroup extends Components.HyKeyFigureGroup, HTMLElement {}
|
|
4
|
+
export const HyKeyFigureGroup: {
|
|
5
|
+
prototype: HyKeyFigureGroup;
|
|
6
|
+
new (): HyKeyFigureGroup;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { K as KeyHighlightVariants } from './utils.js';
|
|
3
|
+
import { j as jsonParserWorker } from './globalScript.js';
|
|
4
|
+
import { d as defineCustomElement$3 } from './hy-box2.js';
|
|
5
|
+
import { d as defineCustomElement$2 } from './hy-key-figure2.js';
|
|
6
|
+
|
|
7
|
+
const hyKeyFigureGroupCss = ":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-key-figure-group-container{margin:20px 0 28px 0}@media (min-width: 60rem){.hy-key-figure-group-container{margin:24px 0 32px 0}}@media (min-width: 1601px){.hy-key-figure-group-container{margin:40px 0}}@media (min-width: 75.0625rem){.hy-key-figure-group-container__large{margin:40px 0}}.hy-key-figure-group{display:block;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;max-width:30rem;margin-right:auto;margin-left:auto;width:100%}@media (min-width: 30rem){.hy-key-figure-group{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;max-width:100%}}@media (min-width: 60rem){.hy-key-figure-group{-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left}}@media (min-width: 60rem){.hy-key-figure-group.hy-key-figure-group-centered{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}}@media (min-width: 30rem){.hy-key-figure-group .box-2,.hy-key-figure-group .box-3{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-width:33%;width:33%}}@media (min-width: 30rem){.hy-key-figure-group .box-4{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-width:49%;width:49%}}@media (min-width: 60rem){.hy-key-figure-group .box-4{max-width:25%;width:25%}}";
|
|
8
|
+
|
|
9
|
+
const HyKeyFigureGroup$1 = /*@__PURE__*/ proxyCustomElement(class HyKeyFigureGroup extends HTMLElement {
|
|
10
|
+
constructor() {
|
|
11
|
+
super();
|
|
12
|
+
this.__registerHost();
|
|
13
|
+
this.dataItems = undefined;
|
|
14
|
+
this.headerstyle = "common";
|
|
15
|
+
}
|
|
16
|
+
async componentWillLoad() {
|
|
17
|
+
this._dataItems = await jsonParserWorker(this.dataItems);
|
|
18
|
+
}
|
|
19
|
+
componentDidLoad() {
|
|
20
|
+
let hyMainDiv = this.el.closest(".hy-main");
|
|
21
|
+
if (hyMainDiv) {
|
|
22
|
+
if (!hyMainDiv.classList.contains("with-sidebar")) {
|
|
23
|
+
this.headerstyle = "large";
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
getBoxClassName(count) {
|
|
28
|
+
let className = "box";
|
|
29
|
+
if (count % 3 == 0) {
|
|
30
|
+
className = "box-3";
|
|
31
|
+
}
|
|
32
|
+
else if (count % 4 == 0) {
|
|
33
|
+
className = "box-4";
|
|
34
|
+
}
|
|
35
|
+
else if (count % 5 == 0) {
|
|
36
|
+
className = "box-5";
|
|
37
|
+
}
|
|
38
|
+
return className;
|
|
39
|
+
}
|
|
40
|
+
render() {
|
|
41
|
+
/*
|
|
42
|
+
- Logic:
|
|
43
|
+
- 3 items: big
|
|
44
|
+
- 4 items: small
|
|
45
|
+
- 5 items: big
|
|
46
|
+
- 6 items: big
|
|
47
|
+
* */
|
|
48
|
+
const keyFiguresVariant = this._dataItems.length == 4 ? KeyHighlightVariants.small : KeyHighlightVariants.default;
|
|
49
|
+
const classAttributes = [
|
|
50
|
+
keyFiguresVariant,
|
|
51
|
+
"hy-key-figure-group-container",
|
|
52
|
+
`hy-key-figure-group-container__${this.headerstyle}`,
|
|
53
|
+
].join(" ");
|
|
54
|
+
const classRowAttributes = ["hy-key-figure-group"].join(" ");
|
|
55
|
+
const classRowCenteredAttributes = ["hy-key-figure-group", "hy-key-figure-group-centered"].join(" ");
|
|
56
|
+
if (this._dataItems.length % 5 == 0) {
|
|
57
|
+
return (h(Host, null, h("div", { class: classAttributes }, h("div", { class: classRowAttributes }, this._dataItems.map((x, index) => {
|
|
58
|
+
if (index < 3) {
|
|
59
|
+
return (h("hy-key-figure", { class: "box-3", variant: keyFiguresVariant, heading: x.heading, description: x.description }));
|
|
60
|
+
}
|
|
61
|
+
})), h("div", { class: classRowCenteredAttributes }, this._dataItems.map((x, index) => {
|
|
62
|
+
if (index >= 3) {
|
|
63
|
+
return (h("hy-key-figure", { class: "box-2", variant: keyFiguresVariant, heading: x.heading, description: x.description }));
|
|
64
|
+
}
|
|
65
|
+
}))), h("hy-box", { mb: "1.75, 1.75, 2, 2.5" })));
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
return (h(Host, null, h("div", { class: classAttributes }, h("div", { class: classRowAttributes }, this._dataItems.map((x) => {
|
|
69
|
+
return (h("hy-key-figure", { class: this.getBoxClassName(this._dataItems.length), variant: keyFiguresVariant, heading: x.heading, description: x.description }));
|
|
70
|
+
}))), h("hy-box", { mb: "1.75, 1.75, 2, 2.5" })));
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
get el() { return this; }
|
|
74
|
+
static get style() { return hyKeyFigureGroupCss; }
|
|
75
|
+
}, [0, "hy-key-figure-group", {
|
|
76
|
+
"dataItems": [1, "data-items"],
|
|
77
|
+
"headerstyle": [1]
|
|
78
|
+
}]);
|
|
79
|
+
function defineCustomElement$1() {
|
|
80
|
+
if (typeof customElements === "undefined") {
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
const components = ["hy-key-figure-group", "hy-box", "hy-key-figure"];
|
|
84
|
+
components.forEach(tagName => { switch (tagName) {
|
|
85
|
+
case "hy-key-figure-group":
|
|
86
|
+
if (!customElements.get(tagName)) {
|
|
87
|
+
customElements.define(tagName, HyKeyFigureGroup$1);
|
|
88
|
+
}
|
|
89
|
+
break;
|
|
90
|
+
case "hy-box":
|
|
91
|
+
if (!customElements.get(tagName)) {
|
|
92
|
+
defineCustomElement$3();
|
|
93
|
+
}
|
|
94
|
+
break;
|
|
95
|
+
case "hy-key-figure":
|
|
96
|
+
if (!customElements.get(tagName)) {
|
|
97
|
+
defineCustomElement$2();
|
|
98
|
+
}
|
|
99
|
+
break;
|
|
100
|
+
} });
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
const HyKeyFigureGroup = HyKeyFigureGroup$1;
|
|
104
|
+
const defineCustomElement = defineCustomElement$1;
|
|
105
|
+
|
|
106
|
+
export { HyKeyFigureGroup, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface HyKeyFigure extends Components.HyKeyFigure, HTMLElement {}
|
|
4
|
+
export const HyKeyFigure: {
|
|
5
|
+
prototype: HyKeyFigure;
|
|
6
|
+
new (): HyKeyFigure;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { K as KeyHighlightVariants } from './utils.js';
|
|
3
|
+
|
|
4
|
+
const hyKeyFigureCss = ":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-key-figure{display:block;margin-bottom:32px;text-align:center;width:100%}@media (min-width: 30rem){.hy-key-figure{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:100%}}@media (min-width: 60rem){.hy-key-figure{text-align:left}}.hy-key-figure__title{font-size:2.5rem;line-height:60px;font-weight:700;-webkit-box-decoration-break:clone;box-decoration-break:clone;color:var(--brand-main-light);display:inline;font-family:var(--main-font-family);letter-spacing:-2px;position:relative;z-index:1}@media (min-width: 30rem){.hy-key-figure__title{font-size:2.5rem;line-height:30px}}@media (min-width: 75.0625rem){.hy-key-figure__title{font-size:5rem;line-height:70px}}.hy-key-figure__description{color:var(--grayscale-dark);font-family:var(--main-font-family);font-size:0.875rem;line-height:20px;letter-spacing:0;line-height:20px;margin-top:8px}@media (min-width: 75.0625rem){.hy-key-figure__description{font-size:1.25rem;line-height:20px}}";
|
|
5
|
+
|
|
6
|
+
const HyKeyFigure = /*@__PURE__*/ proxyCustomElement(class HyKeyFigure extends HTMLElement {
|
|
7
|
+
constructor() {
|
|
8
|
+
super();
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
this.__attachShadow();
|
|
11
|
+
this.variant = KeyHighlightVariants.default;
|
|
12
|
+
this.heading = undefined;
|
|
13
|
+
this.description = undefined;
|
|
14
|
+
}
|
|
15
|
+
render() {
|
|
16
|
+
const classVariant = [this.variant, "hy-key-figure"].join(" ");
|
|
17
|
+
return (h("div", { class: classVariant }, h("div", { class: "hy-key-figure__title" }, this.heading), h("div", { class: "hy-key-figure__description" }, this.description)));
|
|
18
|
+
}
|
|
19
|
+
static get style() { return hyKeyFigureCss; }
|
|
20
|
+
}, [1, "hy-key-figure", {
|
|
21
|
+
"variant": [1],
|
|
22
|
+
"heading": [1],
|
|
23
|
+
"description": [1]
|
|
24
|
+
}]);
|
|
25
|
+
function defineCustomElement() {
|
|
26
|
+
if (typeof customElements === "undefined") {
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
const components = ["hy-key-figure"];
|
|
30
|
+
components.forEach(tagName => { switch (tagName) {
|
|
31
|
+
case "hy-key-figure":
|
|
32
|
+
if (!customElements.get(tagName)) {
|
|
33
|
+
customElements.define(tagName, HyKeyFigure);
|
|
34
|
+
}
|
|
35
|
+
break;
|
|
36
|
+
} });
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { HyKeyFigure as H, defineCustomElement as d };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface HyKeyHighlightGroup extends Components.HyKeyHighlightGroup, HTMLElement {}
|
|
4
|
+
export const HyKeyHighlightGroup: {
|
|
5
|
+
prototype: HyKeyHighlightGroup;
|
|
6
|
+
new (): HyKeyHighlightGroup;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|