@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,192 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { e as ColorVariant, S as SiteLogoSize } from './utils.js';
|
|
3
|
+
import { j as jsonParserWorker } from './globalScript.js';
|
|
4
|
+
import { d as defineCustomElement$2 } from './icon.js';
|
|
5
|
+
import { d as defineCustomElement$1 } from './site-logo.js';
|
|
6
|
+
|
|
7
|
+
const hyMenuMainGroupCss = ":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}:host(.menu--main-group){-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row;flex-flow:row;margin-left:28px}@media (min-width: 75.0625rem){:host(.menu--main-group){margin-right:auto}}.menu--main-group__toggle{font-size:0.875rem;line-height:16px;font-weight:600;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:var(--grayscale-black);border:0 none;color:var(--grayscale-white);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row;flex-flow:row;font-family:var(--main-font-family);letter-spacing:-0.44px;margin:0 -4px;padding:0;position:relative}.menu--main-group__toggle:focus{outline:none}.menu--main-group__toggle:hover{cursor:pointer}.menu--main-group__toggle:hover span{color:var(--grayscale-medium)}.menu--main-group__toggle:hover svg{fill:var(--grayscale-medium)}@media (min-width: 60rem){.menu--main-group__toggle .toggle__caret svg{height:15.27px;width:3px}}@media (min-width: 75.0625rem){.menu--main-group__toggle .toggle__caret svg{height:14px;width:3px}}@media (min-width: 60rem){.menu--main-group__toggle span{margin-left:17px}}.menu--main-group__toggle.is-open:after{border-bottom:3px solid white;bottom:-10px;content:\" \";position:absolute;width:100%}@media (min-width: 60rem){.menu--main-group__toggle.is-open .toggle__close{height:15px;width:15px}.menu--main-group__toggle.is-open .toggle__close svg{height:15px;width:15px}}@media (min-width: 60rem){.menu--main-group__toggle.is-open span{margin-left:10px}}.menu--main-group__dropdown{display:none;visibility:hidden}.menu--main-group__dropdown.is-open{background-color:var(--grayscale-black);border-radius:0 0 5px 5px;-webkit-box-shadow:0 10px 10px rgba(0, 0, 0, 0.2);box-shadow:0 10px 10px rgba(0, 0, 0, 0.2);color:var(--grayscale-white);display:-webkit-box;display:-ms-flexbox;display:flex;font-family:var(--main-font-family);left:0;margin:0;padding:6px 0 20px;position:absolute;top:0;visibility:visible;width:100%;z-index:511}.menu--main-group__dropdown.is-open .list{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column;flex-flow:column;justify-items:center;padding-top:14px;position:relative}.menu--main-group__dropdown.is-open .panel-toggle{background-color:transparent;border:none;position:absolute;right:0;top:0}@media (min-width: 60rem){.menu--main-group__dropdown.is-open .panel-toggle{padding:26px 32px}}.menu--main-group__dropdown.is-open .panel-toggle__label{font-size:1rem;line-height:20px;font-weight:700;color:var(--grayscale-white);display:-webkit-box;display:-ms-flexbox;display:flex;font-family:var(--main-font-family);letter-spacing:-0.5px;text-transform:uppercase}.menu--main-group__dropdown.is-open .panel-toggle__label__title{padding-right:12px}.menu--main-group__dropdown.is-open .panel-toggle__label:hover{cursor:pointer}.menu--main-group__dropdown.is-open .panel-toggle__label:hover span{color:var(--grayscale-medium)}.menu--main-group__dropdown.is-open .panel-toggle__label:hover svg{fill:var(--grayscale-medium)}.menu--main-group__dropdown.is-open .menu-main-link{font-size:1rem;line-height:20px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;font-family:var(--main-font-family);-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;margin-bottom:20px;text-decoration:none}@media (min-width: 75.0625rem){.menu--main-group__dropdown.is-open .menu-main-link{font-size:0.875rem;line-height:18px}}.menu--main-group__dropdown.is-open .menu-main-link:hover span{color:var(--grayscale-medium)}.menu--main-group__dropdown.is-open .menu-main-link:hover svg{fill:var(--grayscale-medium)}.menu--main-group__dropdown.is-open .menu--main-group__label{color:var(--grayscale-white);margin-left:12px}:host(.menu--main-group--mobile){-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row;flex-flow:row;position:relative}.menu--main-group__mobile-toggle{border:none;background:transparent;padding:15px 12px}.menu--main-group__mobile-toggle:hover{cursor:pointer}.menu--main-group__dropdown__top{display:-webkit-box;display:-ms-flexbox;display:flex;-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;margin-bottom:23px}.menu--main-group__dropdown__close{border:none;background-color:transparent;padding:0;margin:0}.menu--main-group__dropdown__close:hover{cursor:pointer}.menu--main-group__logo-container .hy-site-logo__label.group{max-width:250px}.menu--main-group__dropdown__items{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.menu--main-group__dropdown__items .menu-main-link{font-size:0.9375rem;line-height:20px;background-color:var(--grayscale-dark-text);color:var(--grayscale-white);font-family:var(--main-font-family);letter-spacing:-0.5px;margin-bottom:8px;padding:14px 20px;text-decoration:none;width:100%}.menu--main-group__dropdown__items .menu-main-link:hover{text-decoration:underline}.menu--main-group__dropdown__donate{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background-color:var(--grayscale-dark-text);position:fixed;bottom:0;margin-left:-20px;width:100%}.menu--main-group__dropdown__donate .hy-link__donate.group{font-size:1rem;line-height:16px;font-weight:600;display:-webkit-box;display:-ms-flexbox;display:flex;color:var(--grayscale-white);font-family:var(--main-font-family);margin:20px auto 16px auto;text-decoration:none}.menu--main-group__dropdown__donate .hy-link__donate.group .hy-link__donate__label{margin-left:6px}.menu--main-group__dropdown--mobile{-webkit-box-direction:normal;-webkit-box-orient:vertical;background-color:var(--grayscale-black);bottom:0px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;justify-items:space-between;max-width:400px;overflow:hidden;padding:0px;place-items:stretch;position:fixed;right:0px;top:0px;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-transition:all 0.3s ease 0s;transition:all 0.3s ease 0s;visibility:hidden;width:0px}.menu--main-group__dropdown--mobile.is-open{padding:50px 20px 20px;-webkit-transform:translateX(0px);transform:translateX(0px);-webkit-transition:-webkit-transform 0.3s cubic-bezier(0, 0, 0.3, 1);transition:-webkit-transform 0.3s cubic-bezier(0, 0, 0.3, 1);transition:transform 0.3s cubic-bezier(0, 0, 0.3, 1);transition:transform 0.3s cubic-bezier(0, 0, 0.3, 1), -webkit-transform 0.3s cubic-bezier(0, 0, 0.3, 1);visibility:visible;width:90%;z-index:101}.menu--main-group__dropdown--mobile.is-open::after{opacity:1;visibility:visible}";
|
|
8
|
+
|
|
9
|
+
let keys = {
|
|
10
|
+
enter: "Enter",
|
|
11
|
+
};
|
|
12
|
+
const HyMenuMainGroup = /*@__PURE__*/ proxyCustomElement(class HyMenuMainGroup extends HTMLElement {
|
|
13
|
+
constructor() {
|
|
14
|
+
super();
|
|
15
|
+
this.__registerHost();
|
|
16
|
+
this.__attachShadow();
|
|
17
|
+
this.universityMainMenuToggled = createEvent(this, "universityMainMenuToggled", 7);
|
|
18
|
+
this.mobileMenuTopToggle = createEvent(this, "mobileMenuTopToggle", 7);
|
|
19
|
+
this.menuLabel = "University main menu";
|
|
20
|
+
this.menuLabelClose = "Close";
|
|
21
|
+
this.dataMainMenu = undefined;
|
|
22
|
+
this.isMobile = false;
|
|
23
|
+
this.logoUrl = undefined;
|
|
24
|
+
this.logoLabel = undefined;
|
|
25
|
+
this.siteLabel = undefined;
|
|
26
|
+
this.siteUrl = undefined;
|
|
27
|
+
this.donate = undefined;
|
|
28
|
+
this.isMenuOpen = false;
|
|
29
|
+
}
|
|
30
|
+
handleComponentClick(event) {
|
|
31
|
+
event.stopPropagation();
|
|
32
|
+
this.emitEvent();
|
|
33
|
+
this.isMenuOpen = !this.isMenuOpen;
|
|
34
|
+
if (this.isMenuOpen) {
|
|
35
|
+
this.adjustMainMenuPosition(event.target);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
handleComponentKeyDown(event) {
|
|
39
|
+
event.stopPropagation();
|
|
40
|
+
const key = event.code;
|
|
41
|
+
let target = event.target;
|
|
42
|
+
if (key === "Escape" && this.isMenuOpen) {
|
|
43
|
+
this.isMenuOpen = false;
|
|
44
|
+
this.emitEvent();
|
|
45
|
+
}
|
|
46
|
+
if (target && [keys.enter].includes(key)) {
|
|
47
|
+
this.isMenuOpen = !this.isMenuOpen;
|
|
48
|
+
if (this.isMenuOpen) {
|
|
49
|
+
this.emitEvent();
|
|
50
|
+
this.adjustMainMenuPosition(target);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
emitEvent() {
|
|
55
|
+
// Close other panels if they are open (lang menu, search, main menu, ..).
|
|
56
|
+
this.universityMainMenuToggled.emit();
|
|
57
|
+
this.mobileMenuTopToggle.emit();
|
|
58
|
+
}
|
|
59
|
+
adjustMainMenuPosition(target) {
|
|
60
|
+
let hyTopHeader = this.el.closest(".hy-site-header__content-top");
|
|
61
|
+
if (hyTopHeader && !hyTopHeader.hasAttribute("is-mobile")) {
|
|
62
|
+
let mainMenuToggle = target.shadowRoot.querySelector(".menu--main-group__toggle");
|
|
63
|
+
let mainMenuDropdown = target.shadowRoot.querySelector(".menu--main-group__dropdown");
|
|
64
|
+
let mainMenuList = target.shadowRoot.querySelector(".list");
|
|
65
|
+
if (mainMenuDropdown && mainMenuList && mainMenuToggle) {
|
|
66
|
+
let rectHeader = hyTopHeader.getBoundingClientRect();
|
|
67
|
+
let rectMenuToggle = mainMenuToggle.getBoundingClientRect();
|
|
68
|
+
mainMenuDropdown.style.top = `${rectHeader.height}px`;
|
|
69
|
+
mainMenuList.style.left = `${rectMenuToggle.left}px`;
|
|
70
|
+
}
|
|
71
|
+
let headerHeight = hyTopHeader.offsetHeight + 270;
|
|
72
|
+
this.showBackdropShadow("open", headerHeight);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
showBackdropShadow(state = "close", top = 0) {
|
|
76
|
+
let hyHeader = this.el.closest(".hy-site-header");
|
|
77
|
+
let hyBackdropDiv = hyHeader.children[0];
|
|
78
|
+
if (hyBackdropDiv) {
|
|
79
|
+
if (state === "open") {
|
|
80
|
+
let me = window.outerHeight - top;
|
|
81
|
+
hyBackdropDiv.style.height = `${me}px`;
|
|
82
|
+
hyBackdropDiv.style.top = `${top}px`;
|
|
83
|
+
hyBackdropDiv.style.position = "absolute";
|
|
84
|
+
hyBackdropDiv.classList.add("is-active");
|
|
85
|
+
}
|
|
86
|
+
else {
|
|
87
|
+
hyBackdropDiv.removeAttribute("style");
|
|
88
|
+
hyBackdropDiv.classList.remove("is-active");
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
async componentWillLoad() {
|
|
93
|
+
this._dataMainMenu = await jsonParserWorker(this.dataMainMenu);
|
|
94
|
+
}
|
|
95
|
+
handleTopMenuClose(event) {
|
|
96
|
+
this.isMenuOpen = false;
|
|
97
|
+
this.mobileMenuTopToggle.emit();
|
|
98
|
+
this.showBackdropShadow();
|
|
99
|
+
event.stopPropagation();
|
|
100
|
+
}
|
|
101
|
+
// Close the University main menu if user clicks anywhere outside the component.
|
|
102
|
+
handleOutsideMenuClick(event) {
|
|
103
|
+
if (this.isMenuOpen) {
|
|
104
|
+
this.isMenuOpen = false;
|
|
105
|
+
this.handleTopMenuClose(event);
|
|
106
|
+
}
|
|
107
|
+
event.stopPropagation();
|
|
108
|
+
}
|
|
109
|
+
// CLose the University main menu if user opens the desktop menu panel.
|
|
110
|
+
desktopMenuToggled() {
|
|
111
|
+
this.isMenuOpen = false;
|
|
112
|
+
}
|
|
113
|
+
// CLose the University main menu if user opens the search panel
|
|
114
|
+
searchPanelToggled() {
|
|
115
|
+
this.isMenuOpen = false;
|
|
116
|
+
}
|
|
117
|
+
// CLose the University main menu if user opens the language menu panel.
|
|
118
|
+
languageMenuToggled() {
|
|
119
|
+
this.isMenuOpen = false;
|
|
120
|
+
}
|
|
121
|
+
render() {
|
|
122
|
+
const white = "var(--grayscale-white)";
|
|
123
|
+
const logoSizeGroup = this.isMobile ? SiteLogoSize.small : SiteLogoSize.small;
|
|
124
|
+
const logoColorGroup = ColorVariant.white;
|
|
125
|
+
return this.isMobile ? (h(Host, { class: {
|
|
126
|
+
"menu--main-group--mobile": true,
|
|
127
|
+
"menu--main-group--mobile__is-open": this.isMenuOpen,
|
|
128
|
+
} }, h("button", { "aria-label": this.menuLabel, class: {
|
|
129
|
+
"menu--main-group__mobile-toggle": true,
|
|
130
|
+
"is-open": this.isMenuOpen,
|
|
131
|
+
} }, h("hy-icon", { icon: "hy-icon-slim-hamburger-menu", size: 20, fill: white })), h("nav", { role: "navigation", "aria-hidden": this.isMenuOpen ? "false" : "true", class: {
|
|
132
|
+
"menu--main-group__dropdown--mobile": true,
|
|
133
|
+
"is-open": this.isMenuOpen,
|
|
134
|
+
} }, h("div", { class: "menu--main-group__dropdown__top" }, h("div", { class: "menu--main-group__logo-container", id: "menu-logo" }, h("hy-site-logo", { "is-group": true, size: logoSizeGroup, color: logoColorGroup, url: this.siteUrl, label: this.siteLabel })), h("button", { "aria-label": `Close ${this.menuLabel}`, class: "menu--main-group__dropdown__close", onClick: (e) => this.handleTopMenuClose(e) }, h("hy-icon", { icon: "hy-icon-remove", size: 20, fill: white }))), h("div", { class: "menu--main-group__dropdown__items" }, this._dataMainMenu.map((item) => {
|
|
135
|
+
return (h("a", { href: item.url, class: { "menu-main-link": true } }, h("span", { class: "menu--main-group__label" }, item.label)));
|
|
136
|
+
})), h("div", { class: "menu--main-group__dropdown__donate" }, this.donate &&
|
|
137
|
+
this.donate.map((i) => {
|
|
138
|
+
return (h("a", { class: "menu--secondary__item hy-link__donate group", href: i.url }, h("hy-icon", { icon: "hy-icon-heart-support", size: 14, fill: logoColorGroup }), h("span", { class: "hy-link__donate__label group" }, i.label)));
|
|
139
|
+
}))))) : (h(Host, { class: {
|
|
140
|
+
"menu--main-group": true,
|
|
141
|
+
"menu--main-group__is-open": this.isMenuOpen,
|
|
142
|
+
} }, h("button", { class: {
|
|
143
|
+
"menu--main-group__toggle": true,
|
|
144
|
+
"is-open": this.isMenuOpen,
|
|
145
|
+
}, "aria-expanded": this.isMenuOpen ? "true" : "false", "aria-haspopup": "menu" }, this.isMenuOpen ? (h("hy-icon", { class: "toggle__close", icon: "hy-icon-remove", size: 8, fill: white })) : (h("hy-icon", { class: "toggle__caret", icon: "hy-icon-slim-hamburger-menu", size: 8, fill: white })), h("span", null, this.menuLabel)), h("div", { class: {
|
|
146
|
+
"menu--main-group__dropdown": true,
|
|
147
|
+
"is-open": this.isMenuOpen,
|
|
148
|
+
} }, h("div", { class: "list" }, this._dataMainMenu.map((item) => {
|
|
149
|
+
return (h("a", { href: item.url, class: { "menu-main-link": true } }, h("span", { class: "heading-icon" }, h("hy-icon", { icon: "hy-icon-caret-right", size: 10, fill: white })), h("span", { class: "menu--main-group__label" }, item.label)));
|
|
150
|
+
})), h("button", { onClick: (e) => this.handleComponentClick(e), class: {
|
|
151
|
+
"panel-toggle": true,
|
|
152
|
+
}, "aria-label": "Close menu" }, h("span", { class: "panel-toggle__label" }, h("span", { class: "panel-toggle__label__title" }, this.menuLabelClose), h("hy-icon", { icon: "hy-icon-remove", size: 20, fill: ColorVariant.white }))))));
|
|
153
|
+
}
|
|
154
|
+
get el() { return this; }
|
|
155
|
+
static get style() { return hyMenuMainGroupCss; }
|
|
156
|
+
}, [1, "hy-menu-main-group", {
|
|
157
|
+
"menuLabel": [1, "menu-label"],
|
|
158
|
+
"menuLabelClose": [1, "menu-label-close"],
|
|
159
|
+
"dataMainMenu": [1, "data-main-menu"],
|
|
160
|
+
"isMobile": [4, "is-mobile"],
|
|
161
|
+
"logoUrl": [1, "logo-url"],
|
|
162
|
+
"logoLabel": [1, "logo-label"],
|
|
163
|
+
"siteLabel": [1, "site-label"],
|
|
164
|
+
"siteUrl": [1, "site-url"],
|
|
165
|
+
"donate": [16],
|
|
166
|
+
"isMenuOpen": [32]
|
|
167
|
+
}, [[2, "click", "handleComponentClick"], [0, "keydown", "handleComponentKeyDown"], [8, "click", "handleOutsideMenuClick"], [8, "headerScrollDown", "handleOutsideMenuClick"], [8, "headerScrollUp", "handleOutsideMenuClick"], [4, "menuDesktopToggled", "desktopMenuToggled"], [4, "searchPanelToggled", "searchPanelToggled"], [4, "menuLanguageToggled", "languageMenuToggled"]]]);
|
|
168
|
+
function defineCustomElement() {
|
|
169
|
+
if (typeof customElements === "undefined") {
|
|
170
|
+
return;
|
|
171
|
+
}
|
|
172
|
+
const components = ["hy-menu-main-group", "hy-icon", "hy-site-logo"];
|
|
173
|
+
components.forEach(tagName => { switch (tagName) {
|
|
174
|
+
case "hy-menu-main-group":
|
|
175
|
+
if (!customElements.get(tagName)) {
|
|
176
|
+
customElements.define(tagName, HyMenuMainGroup);
|
|
177
|
+
}
|
|
178
|
+
break;
|
|
179
|
+
case "hy-icon":
|
|
180
|
+
if (!customElements.get(tagName)) {
|
|
181
|
+
defineCustomElement$2();
|
|
182
|
+
}
|
|
183
|
+
break;
|
|
184
|
+
case "hy-site-logo":
|
|
185
|
+
if (!customElements.get(tagName)) {
|
|
186
|
+
defineCustomElement$1();
|
|
187
|
+
}
|
|
188
|
+
break;
|
|
189
|
+
} });
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
export { HyMenuMainGroup as H, defineCustomElement as d };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface HyOpeningHoursContent extends Components.HyOpeningHoursContent, HTMLElement {}
|
|
4
|
+
export const HyOpeningHoursContent: {
|
|
5
|
+
prototype: HyOpeningHoursContent;
|
|
6
|
+
new (): HyOpeningHoursContent;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
|
|
3
|
+
const hyOpeningHoursContentCss = ":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}.open-hours__list-item{border-top:1px solid var(--grayscale-medium);color:var(--grayscale-dark-text);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;font-size:0.875rem;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:0.5rem 0;font-family:var(--main-font-family);text-align:start}.open-hours__list-item--today{background-color:var(--grayscale-light)}.open-hours__list-item--today span:first-child{margin-left:4px;padding-left:4px;margin-right:-8px;font-weight:bold;border-left:2px solid var(--grayscale-black)}.open-hours__list-item>span:not(.luomus){text-align:left;width:33.3333333333vw}.open-hours__list-item>span.luomus{width:50vw}.open-hours__list-item--date{margin-right:1rem}.open-hours__list-item--hours{margin-right:0.2rem}.open-hours__list-item--hours.luomus{text-align:center}";
|
|
4
|
+
|
|
5
|
+
const HyOpeningHoursContent$1 = /*@__PURE__*/ proxyCustomElement(class HyOpeningHoursContent extends HTMLElement {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.__registerHost();
|
|
9
|
+
this.multiple = false;
|
|
10
|
+
this.selfServiceLabel = null;
|
|
11
|
+
this.venueType = "libraries";
|
|
12
|
+
this.dataItems = undefined;
|
|
13
|
+
}
|
|
14
|
+
dataItemsWatcher(data) {
|
|
15
|
+
this._dataItems = typeof data === "string" ? JSON.parse(data) : data;
|
|
16
|
+
}
|
|
17
|
+
componentWillLoad() {
|
|
18
|
+
this.dataItemsWatcher(this.dataItems);
|
|
19
|
+
}
|
|
20
|
+
render() {
|
|
21
|
+
return (h(Host, null, this._dataItems.map((item) => {
|
|
22
|
+
if (!item.service)
|
|
23
|
+
return;
|
|
24
|
+
const itemClasses = ["open-hours__list-item", item.today ? "open-hours__list-item--today" : ""].join(" ");
|
|
25
|
+
return (h("div", { class: itemClasses }, h("span", { class: "open-hours__list-item--office" }, item.today ? item.today : item.dateLibrary), h("span", { class: "open-hours__list-item--hours" }, item.building), h("span", { class: "open-hours__list-item--service" }, item.service)));
|
|
26
|
+
}), this.selfServiceLabel && (h("div", { class: "open-hours__content__top" }, h("span", { class: "open-hours__content__top-label" }, this.selfServiceLabel))), this._dataItems.map((item) => {
|
|
27
|
+
if (item.service)
|
|
28
|
+
return;
|
|
29
|
+
const itemClasses = ["open-hours__list-item", item.today ? "open-hours__list-item--today" : ""].join(" ");
|
|
30
|
+
const hoursClasses = ["open-hours__list-item--hours", this.venueType].join(" ");
|
|
31
|
+
const officeClasses = ["open-hours__list-item--office", this.venueType].join(" ");
|
|
32
|
+
return (h("div", { class: itemClasses }, h("span", { class: officeClasses }, item.today ? item.today : item.dateLibrary), h("span", { class: hoursClasses }, item.building), this.venueType !== "luomus" && h("span", { class: "open-hours__list-item--service" }, "-")));
|
|
33
|
+
})));
|
|
34
|
+
}
|
|
35
|
+
static get watchers() { return {
|
|
36
|
+
"dataItems": ["dataItemsWatcher"]
|
|
37
|
+
}; }
|
|
38
|
+
static get style() { return hyOpeningHoursContentCss; }
|
|
39
|
+
}, [0, "hy-opening-hours-content", {
|
|
40
|
+
"multiple": [4],
|
|
41
|
+
"selfServiceLabel": [1, "self-service-label"],
|
|
42
|
+
"venueType": [1, "venue-type"],
|
|
43
|
+
"dataItems": [1, "data-items"]
|
|
44
|
+
}]);
|
|
45
|
+
function defineCustomElement$1() {
|
|
46
|
+
if (typeof customElements === "undefined") {
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
const components = ["hy-opening-hours-content"];
|
|
50
|
+
components.forEach(tagName => { switch (tagName) {
|
|
51
|
+
case "hy-opening-hours-content":
|
|
52
|
+
if (!customElements.get(tagName)) {
|
|
53
|
+
customElements.define(tagName, HyOpeningHoursContent$1);
|
|
54
|
+
}
|
|
55
|
+
break;
|
|
56
|
+
} });
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
const HyOpeningHoursContent = HyOpeningHoursContent$1;
|
|
60
|
+
const defineCustomElement = defineCustomElement$1;
|
|
61
|
+
|
|
62
|
+
export { HyOpeningHoursContent, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface HyOpeningHours extends Components.HyOpeningHours, HTMLElement {}
|
|
4
|
+
export const HyOpeningHours: {
|
|
5
|
+
prototype: HyOpeningHours;
|
|
6
|
+
new (): HyOpeningHours;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { C as CtaLinkVariants } from './utils.js';
|
|
3
|
+
import { d as defineCustomElement$4 } from './hy-box2.js';
|
|
4
|
+
import { d as defineCustomElement$3 } from './cta-link.js';
|
|
5
|
+
import { d as defineCustomElement$2 } from './icon.js';
|
|
6
|
+
|
|
7
|
+
const hyOpeningHoursCss = ":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-open-hours--container{font-family:var(--main-font-family);max-width:50rem;overflow:hidden}.hy-open-hours--container--exceptional{max-width:100%}.open-hours__title{text-transform:uppercase}.open-hours__date-change{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--grayscale-background-box);color:var(--brand-main);display:-webkit-box;display:-ms-flexbox;display:flex;-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}.open-hours__date-change--title{font-size:1.25rem;line-height:24px;font-weight:700;color:var(--grayscale-black);font-family:var(--main-font-family);letter-spacing:-0.5px;text-align:center;text-transform:uppercase}.open-hours__date-change .open-hours__prev-date,.open-hours__date-change .open-hours__next-date{background:none;border:0;color:var(--brand-main);display:-webkit-box;display:-ms-flexbox;display:flex;height:44px;outline:5px solid var(--grayscale-white);position:relative;width:44px}.open-hours__date-change .open-hours__prev-date:hover,.open-hours__date-change .open-hours__next-date:hover{background-color:var(--hover-gray);color:var(--brand-main-active);cursor:pointer}.open-hours__date-change .open-hours__prev-date:focus,.open-hours__date-change .open-hours__next-date:focus{background-color:var(--hover-gray);color:var(--brand-main-active)}.open-hours__date-change .open-hours__prev-date:disabled,.open-hours__date-change .open-hours__next-date:disabled{cursor:none}.open-hours__date-change .open-hours__prev-date hy-icon,.open-hours__date-change .open-hours__next-date hy-icon{color:var(--link-blue);left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.open-hours__date-change .open-hours__prev-date svg,.open-hours__date-change .open-hours__next-date svg{fill:currentColor;height:20px;width:20px}.open-hours__date-change .open-hours__prev-date{border-right:1px solid var(--link-blue)}.open-hours__date-change .open-hours__next-date{border-left:1px solid var(--link-blue)}.open-hours__content__top{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;font-size:0.9rem;font-weight:700;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:0.5rem 0}.open-hours__content__top-label{margin:0.5rem 0 0.5rem 0;text-align:left;width:33.3333333333vw;word-break:break-word}.open-hours__content__top-label:first-child(){margin-right:1rem}.open-hours__content__top-label.luomus{width:50vw}.open-hours__content__top-label.building.luomus{text-align:center}.open-hours__content{position:relative}.open-hours__content.open-hours__loading:after{-webkit-animation-duration:1s;animation-duration:1s;font-size:3.2rem;position:absolute;left:45%;top:35%;z-index:2}.open-hours__content.slide-left{-webkit-animation:slide-left 0.2s ease-in-out both;animation:slide-left 0.2s ease-in-out both}.open-hours__content.slide-left-reverse{-webkit-animation:slide-left-reverse 0.2s ease-in-out reverse both;animation:slide-left-reverse 0.2s ease-in-out reverse both}.open-hours__content.slide-right{-webkit-animation:slide-right 0.2s ease-in-out both;animation:slide-right 0.2s ease-in-out both}.open-hours__content.slide-right-reverse{-webkit-animation:slide-right-reverse 0.2s ease-in-out reverse both;animation:slide-right-reverse 0.2s ease-in-out reverse both}.open-hours__links{margin:1.5rem 0 1rem 0}.open-hours__links .open-hours__link .hy-cta-link{width:100% !important;-webkit-box-pack:start !important;-ms-flex-pack:start !important;justify-content:flex-start !important}.open-hours__links .open-hours__link .hy-cta-link .text{width:100% !important}@-webkit-keyframes slide-right{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}100%{-webkit-transform:translateX(200px);transform:translateX(200px);opacity:0}}@keyframes slide-right{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}100%{-webkit-transform:translateX(200px);transform:translateX(200px);opacity:0}}@-webkit-keyframes slide-right-reverse{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}100%{-webkit-transform:translateX(200px);transform:translateX(200px);opacity:0}}@keyframes slide-right-reverse{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}100%{-webkit-transform:translateX(200px);transform:translateX(200px);opacity:0}}@-webkit-keyframes slide-left{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}100%{-webkit-transform:translateX(-200px);transform:translateX(-200px);opacity:0}}@keyframes slide-left{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}100%{-webkit-transform:translateX(-200px);transform:translateX(-200px);opacity:0}}@-webkit-keyframes slide-left-reverse{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}100%{-webkit-transform:translateX(-200px);transform:translateX(-200px);opacity:0}}@keyframes slide-left-reverse{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}100%{-webkit-transform:translateX(-200px);transform:translateX(-200px);opacity:0}}";
|
|
8
|
+
|
|
9
|
+
const HyOpeningHours$1 = /*@__PURE__*/ proxyCustomElement(class HyOpeningHours extends HTMLElement {
|
|
10
|
+
constructor() {
|
|
11
|
+
super();
|
|
12
|
+
this.__registerHost();
|
|
13
|
+
this.blockTitle = null;
|
|
14
|
+
this.language = undefined;
|
|
15
|
+
this.venueType = "libraries";
|
|
16
|
+
this.blockId = undefined;
|
|
17
|
+
this.nextLabel = undefined;
|
|
18
|
+
this.prevLabel = undefined;
|
|
19
|
+
this.listLabel = undefined;
|
|
20
|
+
this.buildingLabel = undefined;
|
|
21
|
+
this.customerServiceLabel = undefined;
|
|
22
|
+
this.date = null;
|
|
23
|
+
this.dateTitle = null;
|
|
24
|
+
this.dateType = "day";
|
|
25
|
+
this.multiple = false;
|
|
26
|
+
this.customLinkTitle = null;
|
|
27
|
+
this.customLink = null;
|
|
28
|
+
this.exceptional = false;
|
|
29
|
+
}
|
|
30
|
+
render() {
|
|
31
|
+
const containerClasses = [
|
|
32
|
+
"hy-open-hours--container",
|
|
33
|
+
this.exceptional ? "hy-open-hours--container--exceptional" : "",
|
|
34
|
+
].join(" ");
|
|
35
|
+
const listClasses = ["open-hours__content__top-label", this.venueType].join(" ");
|
|
36
|
+
const buildingClasses = ["open-hours__content__top-label building", this.venueType].join(" ");
|
|
37
|
+
return (h(Host, null, h("div", { class: containerClasses, "data-lang": this.language, "data-id": this.blockId, "data-date": this.date, "data-type": this.dateType, "data-multiple": this.multiple }, this.blockTitle && h("h3", { class: "open-hours__title" }, this.blockTitle), !this.exceptional && (h("div", { class: "open-hours__date-change" }, h("button", { "aria-label": this.prevLabel, class: "icon--arrow-left open-hours__prev-date" }, h("hy-icon", { icon: "hy-icon-caret-left", size: 18 })), h("span", { class: "open-hours__date-change--title" }, this.dateTitle), h("button", { "aria-label": this.nextLabel, class: "icon--arrow-right open-hours__next-date" }, h("hy-icon", { icon: "hy-icon-caret-right", size: 18 })))), h("div", { class: "open-hours__content__top" }, h("span", { class: listClasses }, this.listLabel), h("span", { class: buildingClasses }, this.buildingLabel), this.customerServiceLabel && h("span", { class: listClasses }, this.customerServiceLabel)), h("div", { class: "open-hours__content" }, h("slot", null)), this.customLink && (h("div", { class: "open-hours__links" }, h("hy-cta-link", { "full-width": true, "link-content": this.customLinkTitle, "sc-label": this.customLinkTitle, url: this.customLink, variant: CtaLinkVariants.linkList }, this.customLinkTitle)))), h("hy-box", { mb: "1.75, 1.75, 2, 2.5" })));
|
|
38
|
+
}
|
|
39
|
+
static get style() { return hyOpeningHoursCss; }
|
|
40
|
+
}, [4, "hy-opening-hours", {
|
|
41
|
+
"blockTitle": [1, "block-title"],
|
|
42
|
+
"language": [1],
|
|
43
|
+
"venueType": [1, "venue-type"],
|
|
44
|
+
"blockId": [1, "block-id"],
|
|
45
|
+
"nextLabel": [1, "next-label"],
|
|
46
|
+
"prevLabel": [1, "prev-label"],
|
|
47
|
+
"listLabel": [1, "list-label"],
|
|
48
|
+
"buildingLabel": [1, "building-label"],
|
|
49
|
+
"customerServiceLabel": [1, "customer-service-label"],
|
|
50
|
+
"date": [1],
|
|
51
|
+
"dateTitle": [1, "date-title"],
|
|
52
|
+
"dateType": [1, "date-type"],
|
|
53
|
+
"multiple": [4],
|
|
54
|
+
"customLinkTitle": [1, "custom-link-title"],
|
|
55
|
+
"customLink": [1, "custom-link"],
|
|
56
|
+
"exceptional": [4]
|
|
57
|
+
}]);
|
|
58
|
+
function defineCustomElement$1() {
|
|
59
|
+
if (typeof customElements === "undefined") {
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
const components = ["hy-opening-hours", "hy-box", "hy-cta-link", "hy-icon"];
|
|
63
|
+
components.forEach(tagName => { switch (tagName) {
|
|
64
|
+
case "hy-opening-hours":
|
|
65
|
+
if (!customElements.get(tagName)) {
|
|
66
|
+
customElements.define(tagName, HyOpeningHours$1);
|
|
67
|
+
}
|
|
68
|
+
break;
|
|
69
|
+
case "hy-box":
|
|
70
|
+
if (!customElements.get(tagName)) {
|
|
71
|
+
defineCustomElement$4();
|
|
72
|
+
}
|
|
73
|
+
break;
|
|
74
|
+
case "hy-cta-link":
|
|
75
|
+
if (!customElements.get(tagName)) {
|
|
76
|
+
defineCustomElement$3();
|
|
77
|
+
}
|
|
78
|
+
break;
|
|
79
|
+
case "hy-icon":
|
|
80
|
+
if (!customElements.get(tagName)) {
|
|
81
|
+
defineCustomElement$2();
|
|
82
|
+
}
|
|
83
|
+
break;
|
|
84
|
+
} });
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
const HyOpeningHours = HyOpeningHours$1;
|
|
88
|
+
const defineCustomElement = defineCustomElement$1;
|
|
89
|
+
|
|
90
|
+
export { HyOpeningHours, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface HyPagerItem extends Components.HyPagerItem, HTMLElement {}
|
|
4
|
+
export const HyPagerItem: {
|
|
5
|
+
prototype: HyPagerItem;
|
|
6
|
+
new (): HyPagerItem;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { P as PaginationItemVariants } from './utils.js';
|
|
3
|
+
import { d as defineCustomElement$2 } from './icon.js';
|
|
4
|
+
|
|
5
|
+
const hyPagerItemCss = ":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-pager__item{font-size:0.875rem;line-height:24px;font-weight:700;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--brand-main-light);color:var(--grayscale-white);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;font-family:var(--main-font-family);-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;letter-spacing:-0.4px;margin-bottom:4px;margin-right:4px;min-height:36px;min-width:36px;text-align:center}@media (min-width: 60rem){.hy-pager__item{margin-right:6px;min-height:40px;min-width:40px}}.hy-pager__item a{font-size:0.875rem;line-height:24px;font-weight:700;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--grayscale-white);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;letter-spacing:-0.4px;min-height:36px;min-width:36px;text-decoration:none}@media (min-width: 60rem){.hy-pager__item a{font-size:1rem;line-height:24px;letter-spacing:-0.5px;min-height:40px;min-width:40px}}.hy-pager__item a:not([aria-current=true]):hover{background-color:var(--brand-main);cursor:pointer}.hy-pager__item__current{background-color:var(--grayscale-white);-webkit-box-sizing:border-box;box-sizing:border-box;border:2px solid var(--grayscale-black)}.hy-pager__item__current a{color:var(--brand-main-nearly-black)}.hy-pager__item__current a:hover{background-color:var(--grayscale-white)}.hy-pager__item__ellipsis{background-color:var(--grayscale-white);color:var(--brand-main-nearly-black);min-width:auto;min-height:auto}.hy-pager__item__next a,.hy-pager__item__previous a{padding:7px 12px 5px 12px}@media (min-width: 60rem){.hy-pager__item__next a,.hy-pager__item__previous a{padding:8px 12px}}.hy-pager__item__next .hy-icon-wrapper,.hy-pager__item__previous .hy-icon-wrapper{margin:0 4px}@media (min-width: 60rem){.hy-pager__item__next .hy-icon-wrapper,.hy-pager__item__previous .hy-icon-wrapper{margin:0 6px}}.hy-pager__item__next .hy-icon-wrapper svg,.hy-pager__item__previous .hy-icon-wrapper svg{fill:var(--grayscale-white)}";
|
|
6
|
+
|
|
7
|
+
const HyPagerItem$1 = /*@__PURE__*/ proxyCustomElement(class HyPagerItem extends HTMLElement {
|
|
8
|
+
constructor() {
|
|
9
|
+
super();
|
|
10
|
+
this.__registerHost();
|
|
11
|
+
this.__attachShadow();
|
|
12
|
+
this.variant = PaginationItemVariants.default;
|
|
13
|
+
this.itemLabel = undefined;
|
|
14
|
+
this.itemUrl = undefined;
|
|
15
|
+
this.scAriaLabel = undefined;
|
|
16
|
+
}
|
|
17
|
+
render() {
|
|
18
|
+
let classAttributes = ["hy-pager__item"].join(" ");
|
|
19
|
+
switch (this.variant) {
|
|
20
|
+
case PaginationItemVariants.current: {
|
|
21
|
+
classAttributes = ["hy-pager__item", "hy-pager__item__current"].join(" ");
|
|
22
|
+
return (h("li", { class: classAttributes }, h("a", { href: this.itemUrl, "aria-current": "true" }, this.itemLabel)));
|
|
23
|
+
}
|
|
24
|
+
case PaginationItemVariants.next: {
|
|
25
|
+
classAttributes = ["hy-pager__item", "hy-pager__item__next"].join(" ");
|
|
26
|
+
const iconClassAttributes = ["link-icon"].join(" ");
|
|
27
|
+
return (h("li", { class: classAttributes }, h("a", { href: this.itemUrl, "aria-label": this.scAriaLabel }, this.itemLabel, h("span", { class: "hy-icon-wrapper" }, h("div", { class: iconClassAttributes }, h("hy-icon", { icon: "hy-icon-arrow-to-right", size: 12 }))))));
|
|
28
|
+
}
|
|
29
|
+
case PaginationItemVariants.previous: {
|
|
30
|
+
classAttributes = ["hy-pager__item", "hy-pager__item__previous"].join(" ");
|
|
31
|
+
const iconClassAttributes = ["link-icon"].join(" ");
|
|
32
|
+
return (h("li", { class: classAttributes }, h("a", { href: this.itemUrl, "aria-label": this.scAriaLabel }, h("span", { class: "hy-icon-wrapper" }, h("div", { class: iconClassAttributes }, h("hy-icon", { icon: "hy-icon-arrow-left", size: 12 }))), this.itemLabel)));
|
|
33
|
+
}
|
|
34
|
+
case PaginationItemVariants.ellipsis: {
|
|
35
|
+
classAttributes = ["hy-pager__item", "hy-pager__item__ellipsis"].join(" ");
|
|
36
|
+
return h("li", { class: classAttributes }, "...");
|
|
37
|
+
}
|
|
38
|
+
default: {
|
|
39
|
+
classAttributes = ["hy-pager__item"].join(" ");
|
|
40
|
+
return (h("li", { class: classAttributes }, h("a", { href: this.itemUrl, "aria-label": this.scAriaLabel }, this.itemLabel)));
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
static get style() { return hyPagerItemCss; }
|
|
45
|
+
}, [1, "hy-pager-item", {
|
|
46
|
+
"variant": [1],
|
|
47
|
+
"itemLabel": [1, "item-label"],
|
|
48
|
+
"itemUrl": [1, "item-url"],
|
|
49
|
+
"scAriaLabel": [1, "sc-aria-label"]
|
|
50
|
+
}]);
|
|
51
|
+
function defineCustomElement$1() {
|
|
52
|
+
if (typeof customElements === "undefined") {
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
const components = ["hy-pager-item", "hy-icon"];
|
|
56
|
+
components.forEach(tagName => { switch (tagName) {
|
|
57
|
+
case "hy-pager-item":
|
|
58
|
+
if (!customElements.get(tagName)) {
|
|
59
|
+
customElements.define(tagName, HyPagerItem$1);
|
|
60
|
+
}
|
|
61
|
+
break;
|
|
62
|
+
case "hy-icon":
|
|
63
|
+
if (!customElements.get(tagName)) {
|
|
64
|
+
defineCustomElement$2();
|
|
65
|
+
}
|
|
66
|
+
break;
|
|
67
|
+
} });
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
const HyPagerItem = HyPagerItem$1;
|
|
71
|
+
const defineCustomElement = defineCustomElement$1;
|
|
72
|
+
|
|
73
|
+
export { HyPagerItem, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface HyPager extends Components.HyPager, HTMLElement {}
|
|
4
|
+
export const HyPager: {
|
|
5
|
+
prototype: HyPager;
|
|
6
|
+
new (): HyPager;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
|
|
3
|
+
const hyPagerCss = ":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-pager{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;font-family:var(--main-font-family);list-style:none;padding:0}";
|
|
4
|
+
|
|
5
|
+
const HyPager$1 = /*@__PURE__*/ proxyCustomElement(class HyPager extends HTMLElement {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.__registerHost();
|
|
9
|
+
this.__attachShadow();
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
const classAttributes = ["hy-pager"].join(" ");
|
|
13
|
+
return (h("ul", { class: classAttributes }, h("slot", null)));
|
|
14
|
+
}
|
|
15
|
+
static get style() { return hyPagerCss; }
|
|
16
|
+
}, [1, "hy-pager"]);
|
|
17
|
+
function defineCustomElement$1() {
|
|
18
|
+
if (typeof customElements === "undefined") {
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
const components = ["hy-pager"];
|
|
22
|
+
components.forEach(tagName => { switch (tagName) {
|
|
23
|
+
case "hy-pager":
|
|
24
|
+
if (!customElements.get(tagName)) {
|
|
25
|
+
customElements.define(tagName, HyPager$1);
|
|
26
|
+
}
|
|
27
|
+
break;
|
|
28
|
+
} });
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
const HyPager = HyPager$1;
|
|
32
|
+
const defineCustomElement = defineCustomElement$1;
|
|
33
|
+
|
|
34
|
+
export { HyPager, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface HyParagraphText extends Components.HyParagraphText, HTMLElement {}
|
|
4
|
+
export const HyParagraphText: {
|
|
5
|
+
prototype: HyParagraphText;
|
|
6
|
+
new (): HyParagraphText;
|
|
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 HyPersonCard extends Components.HyPersonCard, HTMLElement {}
|
|
4
|
+
export const HyPersonCard: {
|
|
5
|
+
prototype: HyPersonCard;
|
|
6
|
+
new (): HyPersonCard;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|