@itcenteratunihelsinki/huds-lib 0.8.57 → 0.8.59
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.map +1 -1
- package/components/accordion-item.js.map +1 -1
- package/components/cta-button.js.map +1 -1
- package/components/cta-link.js.map +1 -1
- package/components/emotion.esm.js.map +1 -1
- package/components/heading.js.map +1 -1
- package/components/hy-adjacent-image-text.js.map +1 -1
- package/components/hy-content-list-item2.js.map +1 -1
- package/components/hy-content-list.js.map +1 -1
- package/components/hy-footer-action.js +3 -3
- package/components/hy-footer-action.js.map +1 -1
- package/components/hy-footer-base.js +1 -1
- package/components/hy-footer-base.js.map +1 -1
- package/components/hy-footer-info.js +1 -1
- package/components/hy-footer-info.js.map +1 -1
- package/components/hy-footer-link-item2.js +1 -1
- package/components/hy-footer-link-item2.js.map +1 -1
- package/components/hy-hero-carousel.js +48 -18
- package/components/hy-hero-carousel.js.map +1 -1
- package/components/hy-hero.js +2 -2
- package/components/hy-hero.js.map +1 -1
- package/components/hy-ingress.js.map +1 -1
- package/components/hy-key-highlight2.js +1 -1
- package/components/hy-key-highlight2.js.map +1 -1
- package/components/hy-link-box-list.js +1 -1
- package/components/hy-link-box-list.js.map +1 -1
- package/components/hy-link.js +1 -1
- package/components/hy-link.js.map +1 -1
- package/components/hy-list-item.js +1 -1
- package/components/hy-menu-main-group2.js.map +1 -1
- package/components/hy-pager-item.js.map +1 -1
- package/components/hy-pager.js.map +1 -1
- package/components/hy-person-card.js +1 -1
- package/components/hy-person-profile.js.map +1 -1
- package/components/hy-process.js +1 -1
- package/components/hy-process.js.map +1 -1
- package/components/hy-row.js.map +1 -1
- package/components/hy-section-container.js.map +1 -1
- package/components/hy-shortcuts.js +1 -1
- package/components/hy-shortcuts.js.map +1 -1
- package/components/hy-site-header.js.map +1 -1
- package/components/hy-tabs2.js +1 -1
- package/components/hy-tabs2.js.map +1 -1
- package/components/hy-tiny-text.js.map +1 -1
- package/components/hy-video.js +1 -1
- package/components/hy-video.js.map +1 -1
- package/components/icon.js.map +1 -1
- package/components/image.js +13 -6
- package/components/image.js.map +1 -1
- package/components/index2.js.map +1 -1
- package/components/link-box.js +2 -2
- package/components/link-box.js.map +1 -1
- package/components/menu-language-item.js.map +1 -1
- package/components/menu-language.js.map +1 -1
- package/components/paragraph-text.js.map +1 -1
- package/components/person-profile.listing.js.map +1 -1
- package/components/process-flow-box.js +2 -2
- package/components/process-flow-box.js.map +1 -1
- package/components/site-logo.js.map +1 -1
- package/components/site-search.js.map +1 -1
- package/components/utils.js +1 -55
- package/components/utils.js.map +1 -1
- package/dist/cjs/emotion.esm-aef96835.js +1399 -0
- package/dist/cjs/emotion.esm-aef96835.js.map +1 -0
- package/dist/cjs/globalScript-9994473d.js +30 -0
- package/dist/cjs/globalScript-9994473d.js.map +1 -0
- package/dist/cjs/huds-lib.cjs.js +4 -4
- package/dist/cjs/huds-lib.cjs.js.map +1 -1
- package/dist/cjs/hy-accordion-container_2.cjs.entry.js +243 -0
- package/dist/cjs/hy-accordion-container_2.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-adjacent-image-text.cjs.entry.js +61 -0
- package/dist/cjs/hy-adjacent-image-text.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-anchor-link-list.cjs.entry.js +53 -0
- package/dist/cjs/hy-anchor-link-list.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-badge.cjs.entry.js +23 -0
- package/dist/cjs/hy-badge.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-banner.cjs.entry.js +51 -0
- package/dist/cjs/hy-banner.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-box.cjs.entry.js +169 -0
- package/dist/cjs/hy-box.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-breadcrumbs_15.cjs.entry.js +1008 -0
- package/dist/cjs/hy-breadcrumbs_15.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-checkbox.cjs.entry.js +32 -0
- package/dist/cjs/hy-checkbox.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-collaboration.cjs.entry.js +26 -0
- package/dist/cjs/hy-collaboration.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-content-list_2.cjs.entry.js +180 -0
- package/dist/cjs/hy-content-list_2.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-crisis-banner.cjs.entry.js +25 -0
- package/dist/cjs/hy-crisis-banner.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-cta-button.cjs.entry.js +35 -0
- package/dist/cjs/hy-cta-button.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-cta-link.cjs.entry.js +30 -0
- package/dist/cjs/hy-cta-link.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-dropdown_3.cjs.entry.js +141 -0
- package/dist/cjs/hy-dropdown_3.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-event-item.cjs.entry.js +1 -1
- package/dist/cjs/hy-events.cjs.entry.js +2 -2
- package/dist/cjs/hy-filter-group_6.cjs.entry.js +116 -0
- package/dist/cjs/hy-filter-group_6.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-general-list_2.cjs.entry.js +103 -0
- package/dist/cjs/hy-general-list_2.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-hero-carousel.cjs.entry.js +51 -21
- package/dist/cjs/hy-hero-carousel.cjs.entry.js.map +1 -1
- package/dist/cjs/hy-hero.cjs.entry.js +112 -0
- package/dist/cjs/hy-hero.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-icon.cjs.entry.js +818 -0
- package/dist/cjs/hy-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-image.cjs.entry.js +59 -0
- package/dist/cjs/hy-image.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-introduction.cjs.entry.js +63 -0
- package/dist/cjs/hy-introduction.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-key-figure_2.cjs.entry.js +97 -0
- package/dist/cjs/hy-key-figure_2.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-key-highlight_2.cjs.entry.js +64 -0
- package/dist/cjs/hy-key-highlight_2.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-large-process-flow_2.cjs.entry.js +78 -0
- package/dist/cjs/hy-large-process-flow_2.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-link-box_2.cjs.entry.js +135 -0
- package/dist/cjs/hy-link-box_2.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-link-list.cjs.entry.js +48 -0
- package/dist/cjs/hy-link-list.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-link.cjs.entry.js +29 -0
- package/dist/cjs/hy-link.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-list-item.cjs.entry.js +253 -0
- package/dist/cjs/hy-list-item.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-logo-grid_2.cjs.entry.js +50 -0
- package/dist/cjs/hy-logo-grid_2.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-main.cjs.entry.js +27 -0
- package/dist/cjs/hy-main.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-menu-main-group.cjs.entry.js +160 -0
- package/dist/cjs/hy-menu-main-group.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-opening-hours_2.cjs.entry.js +82 -0
- package/dist/cjs/hy-opening-hours_2.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-pager_2.cjs.entry.js +64 -0
- package/dist/cjs/hy-pager_2.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-paragraph-text.cjs.entry.js +48 -0
- package/dist/cjs/hy-paragraph-text.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-person-card.cjs.entry.js +97 -0
- package/dist/cjs/hy-person-card.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-person-profile-listing.cjs.entry.js +36 -0
- package/dist/cjs/hy-person-profile-listing.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-person-profile.cjs.entry.js +74 -0
- package/dist/cjs/hy-person-profile.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-process_2.cjs.entry.js +86 -0
- package/dist/cjs/hy-process_2.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-prominent-image.cjs.entry.js +41 -0
- package/dist/cjs/hy-prominent-image.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-quote.cjs.entry.js +33 -0
- package/dist/cjs/hy-quote.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-row.cjs.entry.js +35 -0
- package/dist/cjs/hy-row.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-section-container.cjs.entry.js +21 -0
- package/dist/cjs/hy-section-container.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-shortcuts.cjs.entry.js +63 -0
- package/dist/cjs/hy-shortcuts.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-table-container.cjs.entry.js +22 -0
- package/dist/cjs/hy-table-container.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-tabs_2.cjs.entry.js +332 -0
- package/dist/cjs/hy-tabs_2.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-tag.cjs.entry.js +22 -0
- package/dist/cjs/hy-tag.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-tiny-text.cjs.entry.js +22 -0
- package/dist/cjs/hy-tiny-text.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-twitter-feed.cjs.entry.js +34 -0
- package/dist/cjs/hy-twitter-feed.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-two-columns.cjs.entry.js +23 -0
- package/dist/cjs/hy-two-columns.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-user-login-form.cjs.entry.js +27 -0
- package/dist/cjs/hy-user-login-form.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-video.cjs.entry.js +102 -0
- package/dist/cjs/hy-video.cjs.entry.js.map +1 -0
- package/dist/cjs/index-32830401.js +2243 -0
- package/dist/cjs/index-32830401.js.map +1 -0
- package/dist/cjs/index-dacd8ca5.js +969 -0
- package/dist/cjs/index-dacd8ca5.js.map +1 -0
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/utils-bfc1127a.js +187 -0
- package/dist/cjs/utils-bfc1127a.js.map +1 -0
- package/dist/collection/collection-manifest.json +290 -110
- package/dist/collection/components/footer/hy-footer-action/hy-footer-action.css +4 -0
- package/dist/collection/components/footer/hy-footer-action/hy-footer-action.js +2 -2
- package/dist/collection/components/footer/hy-footer-action/hy-footer-action.js.map +1 -1
- package/dist/collection/components/footer/hy-footer-base/hy-footer-base.js +1 -1
- package/dist/collection/components/footer/hy-footer-base/hy-footer-base.js.map +1 -1
- package/dist/collection/components/footer/hy-footer-info/hy-footer-info.js +1 -1
- package/dist/collection/components/footer/hy-footer-info/hy-footer-info.js.map +1 -1
- package/dist/collection/components/footer/hy-footer-link-item/hy-footer-link-item.css +0 -1
- package/dist/collection/components/hy-accordion-container/accordion-container.js.map +1 -0
- package/dist/collection/components/hy-accordion-container/accordion-container.spec.js +7 -0
- package/dist/collection/components/hy-accordion-container/accordion-container.spec.js.map +1 -0
- package/dist/collection/components/hy-accordion-item/accordion-item.js.map +1 -0
- package/dist/collection/components/hy-accordion-item/accordion-item.spec.js +7 -0
- package/dist/collection/components/hy-accordion-item/accordion-item.spec.js.map +1 -0
- package/dist/collection/components/hy-adjacent-image-text/adjacent-image-text.js +331 -0
- package/dist/collection/components/hy-adjacent-image-text/adjacent-image-text.js.map +1 -0
- package/dist/collection/components/hy-adjacent-image-text/adjacent-image-text.spec.js +7 -0
- package/dist/collection/components/hy-adjacent-image-text/adjacent-image-text.spec.js.map +1 -0
- package/dist/collection/components/hy-badge/hy-badge.spec.js +20 -0
- package/dist/collection/components/hy-badge/hy-badge.spec.js.map +1 -0
- package/dist/collection/components/hy-box/test/hy-box.spec.js +26 -0
- package/dist/collection/components/hy-box/test/hy-box.spec.js.map +1 -0
- package/dist/collection/components/hy-content-lists/hy-content-list/hy-content-list.js.map +1 -0
- package/dist/collection/components/hy-content-lists/hy-content-list-item/hy-content-list-item.js +374 -0
- package/dist/collection/components/hy-content-lists/hy-content-list-item/hy-content-list-item.js.map +1 -0
- package/dist/collection/components/hy-cta-button/cta-button.e2e.js +15 -0
- package/dist/collection/components/hy-cta-button/cta-button.e2e.js.map +1 -0
- package/dist/collection/components/hy-cta-button/cta-button.js.map +1 -0
- package/dist/collection/components/hy-cta-button/cta-button.spec.js +7 -0
- package/dist/collection/components/hy-cta-button/cta-button.spec.js.map +1 -0
- package/dist/collection/components/hy-cta-link/cta-link.e2e.js +15 -0
- package/dist/collection/components/hy-cta-link/cta-link.e2e.js.map +1 -0
- package/dist/collection/components/hy-cta-link/cta-link.js.map +1 -0
- package/dist/collection/components/hy-cta-link/cta-link.spec.js +7 -0
- package/dist/collection/components/hy-cta-link/cta-link.spec.js.map +1 -0
- package/dist/collection/components/hy-heading/heading.js.map +1 -0
- package/dist/collection/components/hy-heading/heading.spec.js +7 -0
- package/dist/collection/components/hy-heading/heading.spec.js.map +1 -0
- package/dist/collection/components/hy-hero/hy-hero.css +0 -1
- package/dist/collection/components/hy-hero-carousel/hy-hero-carousel.css +0 -1
- package/dist/collection/components/hy-hero-carousel/hy-hero-carousel.js +3 -0
- package/dist/collection/components/hy-hero-carousel/hy-hero-carousel.js.map +1 -1
- package/dist/collection/components/hy-icon/AddToTodoList.js.map +1 -0
- package/dist/collection/components/hy-icon/Alert.js.map +1 -0
- package/dist/collection/components/hy-icon/Archive.js.map +1 -0
- package/dist/collection/components/hy-icon/Arrow.js.map +1 -0
- package/dist/collection/components/hy-icon/ArrowDown.js.map +1 -0
- package/dist/collection/components/hy-icon/ArrowRight.js.map +1 -0
- package/dist/collection/components/hy-icon/ArrowUp.js.map +1 -0
- package/dist/collection/components/hy-icon/Avatar.js.map +1 -0
- package/dist/collection/components/hy-icon/AvatarGroup.js.map +1 -0
- package/dist/collection/components/hy-icon/Bachelor.js.map +1 -0
- package/dist/collection/components/hy-icon/BulletList.js.map +1 -0
- package/dist/collection/components/hy-icon/Camera.js.map +1 -0
- package/dist/collection/components/hy-icon/CaretDown.js.map +1 -0
- package/dist/collection/components/hy-icon/CaretLeft.js.map +1 -0
- package/dist/collection/components/hy-icon/CaretRight.js.map +1 -0
- package/dist/collection/components/hy-icon/CaretUp.js.map +1 -0
- package/dist/collection/components/hy-icon/Chat.js.map +1 -0
- package/dist/collection/components/hy-icon/CodeFork.js.map +1 -0
- package/dist/collection/components/hy-icon/Cogs.js.map +1 -0
- package/dist/collection/components/hy-icon/Contentlink.js.map +1 -0
- package/dist/collection/components/hy-icon/Customlink.js.map +1 -0
- package/dist/collection/components/hy-icon/Date.js.map +1 -0
- package/dist/collection/components/hy-icon/Discover.js.map +1 -0
- package/dist/collection/components/hy-icon/Done.js.map +1 -0
- package/dist/collection/components/hy-icon/Dot.js.map +1 -0
- package/dist/collection/components/hy-icon/DotArrowRight.js.map +1 -0
- package/dist/collection/components/hy-icon/Download.js.map +1 -0
- package/dist/collection/components/hy-icon/Drag.js.map +1 -0
- package/dist/collection/components/hy-icon/Dragbutton.js.map +1 -0
- package/dist/collection/components/hy-icon/DropDown.js.map +1 -0
- package/dist/collection/components/hy-icon/Edit.js.map +1 -0
- package/dist/collection/components/hy-icon/EditEvent.js.map +1 -0
- package/dist/collection/components/hy-icon/Embed.js.map +1 -0
- package/dist/collection/components/hy-icon/Euro.js.map +1 -0
- package/dist/collection/components/hy-icon/Events.js.map +1 -0
- package/dist/collection/components/hy-icon/ExternalLink.js.map +1 -0
- package/dist/collection/components/hy-icon/EyeSlash.js.map +1 -0
- package/dist/collection/components/hy-icon/Facebook.js.map +1 -0
- package/dist/collection/components/hy-icon/Favorites.js.map +1 -0
- package/dist/collection/components/hy-icon/Feed.js.map +1 -0
- package/dist/collection/components/hy-icon/FileText.js.map +1 -0
- package/dist/collection/components/hy-icon/FullScreen.js.map +1 -0
- package/dist/collection/components/hy-icon/Globe.js.map +1 -0
- package/dist/collection/components/hy-icon/GooglePlus.js.map +1 -0
- package/dist/collection/components/hy-icon/Grid.js.map +1 -0
- package/dist/collection/components/hy-icon/Hamburger.js.map +1 -0
- package/dist/collection/components/hy-icon/Heart.js.map +1 -0
- package/dist/collection/components/hy-icon/HeartSupport.js.map +1 -0
- package/dist/collection/components/hy-icon/Helsinginyliopisto.js.map +1 -0
- package/dist/collection/components/hy-icon/Home.js.map +1 -0
- package/dist/collection/components/hy-icon/HorizontalResize.js.map +1 -0
- package/dist/collection/components/hy-icon/HyLogo.js.map +1 -0
- package/dist/collection/components/hy-icon/IdNumber.js.map +1 -0
- package/dist/collection/components/hy-icon/Image.js.map +1 -0
- package/dist/collection/components/hy-icon/ImageGallery.js.map +1 -0
- package/dist/collection/components/hy-icon/Images.js.map +1 -0
- package/dist/collection/components/hy-icon/Info.js.map +1 -0
- package/dist/collection/components/hy-icon/InfoStroke.js.map +1 -0
- package/dist/collection/components/hy-icon/Instagram.js.map +1 -0
- package/dist/collection/components/hy-icon/LeikiList.js.map +1 -0
- package/dist/collection/components/hy-icon/LinkArrow.js.map +1 -0
- package/dist/collection/components/hy-icon/LinkArrow1.js.map +1 -0
- package/dist/collection/components/hy-icon/LinkArrowDown.js.map +1 -0
- package/dist/collection/components/hy-icon/LinkArrowLeft.js.map +1 -0
- package/dist/collection/components/hy-icon/LinkArrowOffsite.js.map +1 -0
- package/dist/collection/components/hy-icon/LinkArrowUp.js.map +1 -0
- package/dist/collection/components/hy-icon/Linkedin.js.map +1 -0
- package/dist/collection/components/hy-icon/List.js.map +1 -0
- package/dist/collection/components/hy-icon/ListAsBlocks.js.map +1 -0
- package/dist/collection/components/hy-icon/ListStyleGrid.js.map +1 -0
- package/dist/collection/components/hy-icon/ListStyleList.js.map +1 -0
- package/dist/collection/components/hy-icon/Listoflinks.js.map +1 -0
- package/dist/collection/components/hy-icon/Location.js.map +1 -0
- package/dist/collection/components/hy-icon/Log.js.map +1 -0
- package/dist/collection/components/hy-icon/Login.js.map +1 -0
- package/dist/collection/components/hy-icon/Logout.js.map +1 -0
- package/dist/collection/components/hy-icon/MagnifyMinus.js.map +1 -0
- package/dist/collection/components/hy-icon/MagnifyPlus.js.map +1 -0
- package/dist/collection/components/hy-icon/Mail.js.map +1 -0
- package/dist/collection/components/hy-icon/Master.js.map +1 -0
- package/dist/collection/components/hy-icon/Minus.js.map +1 -0
- package/dist/collection/components/hy-icon/Mobile.js.map +1 -0
- package/dist/collection/components/hy-icon/Modify.js.map +1 -0
- package/dist/collection/components/hy-icon/NaviTriangle.js.map +1 -0
- package/dist/collection/components/hy-icon/NewGroup.js.map +1 -0
- package/dist/collection/components/hy-icon/NewPerson.js.map +1 -0
- package/dist/collection/components/hy-icon/Notification.js.map +1 -0
- package/dist/collection/components/hy-icon/OpinderLogo.js.map +1 -0
- package/dist/collection/components/hy-icon/OpinderLogoNew.js.map +1 -0
- package/dist/collection/components/hy-icon/Pdf.js.map +1 -0
- package/dist/collection/components/hy-icon/People.js.map +1 -0
- package/dist/collection/components/hy-icon/PermissionAll.js.map +1 -0
- package/dist/collection/components/hy-icon/PermissionGroup.js.map +1 -0
- package/dist/collection/components/hy-icon/PermissionPrivate.js.map +1 -0
- package/dist/collection/components/hy-icon/Person.js.map +1 -0
- package/dist/collection/components/hy-icon/PersonOutline.js.map +1 -0
- package/dist/collection/components/hy-icon/Phone.js.map +1 -0
- package/dist/collection/components/hy-icon/Play.js.map +1 -0
- package/dist/collection/components/hy-icon/Plus.js.map +1 -0
- package/dist/collection/components/hy-icon/Preview.js.map +1 -0
- package/dist/collection/components/hy-icon/Profile.js.map +1 -0
- package/dist/collection/components/hy-icon/Question.js.map +1 -0
- package/dist/collection/components/hy-icon/Remove.js.map +1 -0
- package/dist/collection/components/hy-icon/Retweet.js.map +1 -0
- package/dist/collection/components/hy-icon/RotateLeft.js.map +1 -0
- package/dist/collection/components/hy-icon/RotateRight.js.map +1 -0
- package/dist/collection/components/hy-icon/Search.js.map +1 -0
- package/dist/collection/components/hy-icon/Share.js.map +1 -0
- package/dist/collection/components/hy-icon/SlimHamburgerMenu.js.map +1 -0
- package/dist/collection/components/hy-icon/SocialMedia.js.map +1 -0
- package/dist/collection/components/hy-icon/SomeFacebook.js.map +1 -0
- package/dist/collection/components/hy-icon/SomeInstagram.js.map +1 -0
- package/dist/collection/components/hy-icon/SomeLinkedin.js.map +1 -0
- package/dist/collection/components/hy-icon/SomeTwitter.js.map +1 -0
- package/dist/collection/components/hy-icon/SomeYoutube.js.map +1 -0
- package/dist/collection/components/hy-icon/Spinner.js.map +1 -0
- package/dist/collection/components/hy-icon/Square.js.map +1 -0
- package/dist/collection/components/hy-icon/SquareChecked.js.map +1 -0
- package/dist/collection/components/hy-icon/Time.js.map +1 -0
- package/dist/collection/components/hy-icon/TodoList.js.map +1 -0
- package/dist/collection/components/hy-icon/Tour.js.map +1 -0
- package/dist/collection/components/hy-icon/Twitter.js.map +1 -0
- package/dist/collection/components/hy-icon/TwitterLike.js.map +1 -0
- package/dist/collection/components/hy-icon/UnitsAndFaculties.js.map +1 -0
- package/dist/collection/components/hy-icon/Url.js.map +1 -0
- package/dist/collection/components/hy-icon/Video.js.map +1 -0
- package/dist/collection/components/hy-icon/Warning.js.map +1 -0
- package/dist/collection/components/hy-icon/Wrench.js.map +1 -0
- package/dist/collection/components/hy-icon/Youtube.js.map +1 -0
- package/dist/collection/components/hy-icon/allIcons.js.map +1 -0
- package/dist/collection/components/hy-icon/icon.js.map +1 -0
- package/dist/collection/components/hy-icon/icon.spec.js +7 -0
- package/dist/collection/components/hy-icon/icon.spec.js.map +1 -0
- package/dist/collection/components/hy-icon/icons.js.map +1 -0
- package/dist/collection/components/hy-image/image.js +218 -0
- package/dist/collection/components/hy-image/image.js.map +1 -0
- package/dist/collection/components/hy-image/image.spec.js +21 -0
- package/dist/collection/components/hy-image/image.spec.js.map +1 -0
- package/dist/collection/components/hy-ingress/ingress.js.map +1 -0
- package/dist/collection/components/hy-ingress/ingress.spec.js +7 -0
- package/dist/collection/components/hy-ingress/ingress.spec.js.map +1 -0
- package/dist/collection/components/hy-key-figure/test/hy-key-figure.spec.js +21 -0
- package/dist/collection/components/hy-key-figure/test/hy-key-figure.spec.js.map +1 -0
- package/dist/collection/components/hy-key-highlight/hy-key-highlight.css +0 -1
- package/dist/collection/components/hy-key-highlight/test/hy-key-highlight.spec.js +23 -0
- package/dist/collection/components/hy-key-highlight/test/hy-key-highlight.spec.js.map +1 -0
- package/dist/collection/components/hy-link/link.e2e.js +17 -0
- package/dist/collection/components/hy-link/link.e2e.js.map +1 -0
- package/dist/collection/components/hy-link/link.js.map +1 -0
- package/dist/collection/components/hy-link/link.spec.js +7 -0
- package/dist/collection/components/hy-link/link.spec.js.map +1 -0
- package/dist/collection/components/hy-link-box/link-box.css +234 -0
- package/dist/collection/components/hy-link-box/link-box.js +349 -0
- package/dist/collection/components/hy-link-box/link-box.js.map +1 -0
- package/dist/collection/components/hy-link-box/link-box.spec.js +7 -0
- package/dist/collection/components/hy-link-box/link-box.spec.js.map +1 -0
- package/dist/collection/components/hy-link-box-list/link-box-list.js +141 -0
- package/dist/collection/components/hy-link-box-list/link-box-list.js.map +1 -0
- package/dist/collection/components/hy-navigation/hy-menu-main-group/hy-menu-main-group.js +415 -0
- package/dist/collection/components/hy-navigation/hy-menu-main-group/hy-menu-main-group.js.map +1 -0
- package/dist/collection/components/hy-navigation/menu-language/menu-language.js +222 -0
- package/dist/collection/components/hy-navigation/menu-language/menu-language.js.map +1 -0
- package/dist/collection/components/hy-navigation/menu-language-item/menu-language-item.js.map +1 -0
- package/dist/collection/components/hy-pagination/hy-pager/hy-pager.js.map +1 -0
- package/dist/collection/components/hy-pagination/hy-pager-item/hy-pager-item.js.map +1 -0
- package/dist/collection/components/hy-paragraph-text/paragraph-text.js.map +1 -0
- package/dist/collection/components/hy-paragraph-text/paragraph-text.spec.js +7 -0
- package/dist/collection/components/hy-paragraph-text/paragraph-text.spec.js.map +1 -0
- package/dist/collection/components/hy-person-profile/person-profile-listing/person-profile.listing.js +146 -0
- package/dist/collection/components/hy-person-profile/person-profile-listing/person-profile.listing.js.map +1 -0
- package/dist/collection/components/hy-person-profile/person-profile.js.map +1 -0
- package/dist/collection/components/hy-process/process.js +122 -0
- package/dist/collection/components/hy-process/process.js.map +1 -0
- package/dist/collection/components/hy-process/process.spec.js +7 -0
- package/dist/collection/components/hy-process/process.spec.js.map +1 -0
- package/dist/collection/components/hy-process-flow-box/process-flow-box.css +282 -0
- package/dist/collection/components/hy-process-flow-box/process-flow-box.js.map +1 -0
- package/dist/collection/components/hy-process-flow-box/process-flow-box.spec.js +7 -0
- package/dist/collection/components/hy-process-flow-box/process-flow-box.spec.js.map +1 -0
- package/dist/collection/components/hy-row/row.js.map +1 -0
- package/dist/collection/components/hy-row/row.spec.js +7 -0
- package/dist/collection/components/hy-row/row.spec.js.map +1 -0
- package/dist/collection/components/hy-section-container/section-container.e2e.js +10 -0
- package/dist/collection/components/hy-section-container/section-container.e2e.js.map +1 -0
- package/dist/collection/components/hy-section-container/section-container.js.map +1 -0
- package/dist/collection/components/hy-section-container/section-container.spec.js +17 -0
- package/dist/collection/components/hy-section-container/section-container.spec.js.map +1 -0
- package/dist/collection/components/hy-shortcuts/hy-shortcuts.css +0 -1
- package/dist/collection/components/hy-site-header/site-header.js +780 -0
- package/dist/collection/components/hy-site-header/site-header.js.map +1 -0
- package/dist/collection/components/hy-site-header/site-logo/site-logo.js.map +1 -0
- package/dist/collection/components/hy-site-header/site-search/site-search.js.map +1 -0
- package/dist/collection/components/hy-tabs/hy-tabs.css +0 -1
- package/dist/collection/components/hy-tiny-text/tiny-text.js.map +1 -0
- package/dist/collection/components/hy-tiny-text/tiny-text.spec.js +7 -0
- package/dist/collection/components/hy-tiny-text/tiny-text.spec.js.map +1 -0
- package/dist/collection/components/hy-two-columns/test/hy-two-columns.spec.js +27 -0
- package/dist/collection/components/hy-two-columns/test/hy-two-columns.spec.js.map +1 -0
- package/dist/collection/components/hy-video/hy-video.css +0 -1
- package/dist/collection/utils/utils.js +0 -54
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/esm/emotion.esm-e0a633a4.js +1397 -0
- package/dist/esm/emotion.esm-e0a633a4.js.map +1 -0
- package/dist/esm/globalScript-5a4b7abf.js +28 -0
- package/dist/esm/globalScript-5a4b7abf.js.map +1 -0
- package/dist/esm/huds-lib.js +5 -5
- package/dist/esm/huds-lib.js.map +1 -1
- package/dist/esm/hy-accordion-container_2.entry.js +238 -0
- package/dist/esm/hy-accordion-container_2.entry.js.map +1 -0
- package/dist/esm/hy-adjacent-image-text.entry.js +57 -0
- package/dist/esm/hy-adjacent-image-text.entry.js.map +1 -0
- package/dist/esm/hy-anchor-link-list.entry.js +49 -0
- package/dist/esm/hy-anchor-link-list.entry.js.map +1 -0
- package/dist/esm/hy-badge.entry.js +19 -0
- package/dist/esm/hy-badge.entry.js.map +1 -0
- package/dist/esm/hy-banner.entry.js +47 -0
- package/dist/esm/hy-banner.entry.js.map +1 -0
- package/dist/esm/hy-box.entry.js +165 -0
- package/dist/esm/hy-box.entry.js.map +1 -0
- package/dist/esm/hy-breadcrumbs_15.entry.js +990 -0
- package/dist/esm/hy-breadcrumbs_15.entry.js.map +1 -0
- package/dist/esm/hy-checkbox.entry.js +28 -0
- package/dist/esm/hy-checkbox.entry.js.map +1 -0
- package/dist/esm/hy-collaboration.entry.js +22 -0
- package/dist/esm/hy-collaboration.entry.js.map +1 -0
- package/dist/esm/hy-content-list_2.entry.js +175 -0
- package/dist/esm/hy-content-list_2.entry.js.map +1 -0
- package/dist/esm/hy-crisis-banner.entry.js +21 -0
- package/dist/esm/hy-crisis-banner.entry.js.map +1 -0
- package/dist/esm/hy-cta-button.entry.js +31 -0
- package/dist/esm/hy-cta-button.entry.js.map +1 -0
- package/dist/esm/hy-cta-link.entry.js +26 -0
- package/dist/esm/hy-cta-link.entry.js.map +1 -0
- package/dist/esm/hy-dropdown_3.entry.js +135 -0
- package/dist/esm/hy-dropdown_3.entry.js.map +1 -0
- package/dist/esm/hy-event-item.entry.js +1 -1
- package/dist/esm/hy-events.entry.js +2 -2
- package/dist/esm/hy-filter-group_6.entry.js +107 -0
- package/dist/esm/hy-filter-group_6.entry.js.map +1 -0
- package/dist/esm/hy-general-list_2.entry.js +98 -0
- package/dist/esm/hy-general-list_2.entry.js.map +1 -0
- package/dist/esm/hy-hero-carousel.entry.js +51 -21
- package/dist/esm/hy-hero-carousel.entry.js.map +1 -1
- package/dist/esm/hy-hero.entry.js +108 -0
- package/dist/esm/hy-hero.entry.js.map +1 -0
- package/dist/esm/hy-icon.entry.js +814 -0
- package/dist/esm/hy-icon.entry.js.map +1 -0
- package/dist/esm/hy-image.entry.js +55 -0
- package/dist/esm/hy-image.entry.js.map +1 -0
- package/dist/esm/hy-introduction.entry.js +59 -0
- package/dist/esm/hy-introduction.entry.js.map +1 -0
- package/dist/esm/hy-key-figure_2.entry.js +92 -0
- package/dist/esm/hy-key-figure_2.entry.js.map +1 -0
- package/dist/esm/hy-key-highlight_2.entry.js +59 -0
- package/dist/esm/hy-key-highlight_2.entry.js.map +1 -0
- package/dist/esm/hy-large-process-flow_2.entry.js +73 -0
- package/dist/esm/hy-large-process-flow_2.entry.js.map +1 -0
- package/dist/esm/hy-link-box_2.entry.js +130 -0
- package/dist/esm/hy-link-box_2.entry.js.map +1 -0
- package/dist/esm/hy-link-list.entry.js +44 -0
- package/dist/esm/hy-link-list.entry.js.map +1 -0
- package/dist/esm/hy-link.entry.js +25 -0
- package/dist/esm/hy-link.entry.js.map +1 -0
- package/dist/esm/hy-list-item.entry.js +249 -0
- package/dist/esm/hy-list-item.entry.js.map +1 -0
- package/dist/esm/hy-logo-grid_2.entry.js +45 -0
- package/dist/esm/hy-logo-grid_2.entry.js.map +1 -0
- package/dist/esm/hy-main.entry.js +23 -0
- package/dist/esm/hy-main.entry.js.map +1 -0
- package/dist/esm/hy-menu-main-group.entry.js +156 -0
- package/dist/esm/hy-menu-main-group.entry.js.map +1 -0
- package/dist/esm/hy-opening-hours_2.entry.js +77 -0
- package/dist/esm/hy-opening-hours_2.entry.js.map +1 -0
- package/dist/esm/hy-pager_2.entry.js +59 -0
- package/dist/esm/hy-pager_2.entry.js.map +1 -0
- package/dist/esm/hy-paragraph-text.entry.js +44 -0
- package/dist/esm/hy-paragraph-text.entry.js.map +1 -0
- package/dist/esm/hy-person-card.entry.js +93 -0
- package/dist/esm/hy-person-card.entry.js.map +1 -0
- package/dist/esm/hy-person-profile-listing.entry.js +32 -0
- package/dist/esm/hy-person-profile-listing.entry.js.map +1 -0
- package/dist/esm/hy-person-profile.entry.js +70 -0
- package/dist/esm/hy-person-profile.entry.js.map +1 -0
- package/dist/esm/hy-process_2.entry.js +81 -0
- package/dist/esm/hy-process_2.entry.js.map +1 -0
- package/dist/esm/hy-prominent-image.entry.js +37 -0
- package/dist/esm/hy-prominent-image.entry.js.map +1 -0
- package/dist/esm/hy-quote.entry.js +29 -0
- package/dist/esm/hy-quote.entry.js.map +1 -0
- package/dist/esm/hy-row.entry.js +31 -0
- package/dist/esm/hy-row.entry.js.map +1 -0
- package/dist/esm/hy-section-container.entry.js +17 -0
- package/dist/esm/hy-section-container.entry.js.map +1 -0
- package/dist/esm/hy-shortcuts.entry.js +59 -0
- package/dist/esm/hy-shortcuts.entry.js.map +1 -0
- package/dist/esm/hy-table-container.entry.js +18 -0
- package/dist/esm/hy-table-container.entry.js.map +1 -0
- package/dist/esm/hy-tabs_2.entry.js +327 -0
- package/dist/esm/hy-tabs_2.entry.js.map +1 -0
- package/dist/esm/hy-tag.entry.js +18 -0
- package/dist/esm/hy-tag.entry.js.map +1 -0
- package/dist/esm/hy-tiny-text.entry.js +18 -0
- package/dist/esm/hy-tiny-text.entry.js.map +1 -0
- package/dist/esm/hy-twitter-feed.entry.js +30 -0
- package/dist/esm/hy-twitter-feed.entry.js.map +1 -0
- package/dist/esm/hy-two-columns.entry.js +19 -0
- package/dist/esm/hy-two-columns.entry.js.map +1 -0
- package/dist/esm/hy-user-login-form.entry.js +23 -0
- package/dist/esm/hy-user-login-form.entry.js.map +1 -0
- package/dist/esm/hy-video.entry.js +98 -0
- package/dist/esm/hy-video.entry.js.map +1 -0
- package/dist/esm/index-ecc819ad.js +967 -0
- package/dist/esm/index-ecc819ad.js.map +1 -0
- package/dist/esm/index-f84f2a7d.js +2212 -0
- package/dist/esm/index-f84f2a7d.js.map +1 -0
- package/dist/esm/loader.js +5 -5
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/utils-7438924c.js +187 -0
- package/dist/esm/utils-7438924c.js.map +1 -0
- package/dist/huds-lib/emotion.esm-e0a633a4.js +2 -0
- package/dist/huds-lib/emotion.esm-e0a633a4.js.map +1 -0
- package/dist/huds-lib/globalScript-5a4b7abf.js +2 -0
- package/dist/huds-lib/huds-lib.esm.js +1 -1
- package/dist/huds-lib/huds-lib.esm.js.map +1 -1
- package/dist/huds-lib/hy-accordion-container_2.entry.js +2 -0
- package/dist/huds-lib/hy-accordion-container_2.entry.js.map +1 -0
- package/dist/huds-lib/hy-adjacent-image-text.entry.js +2 -0
- package/dist/huds-lib/hy-adjacent-image-text.entry.js.map +1 -0
- package/dist/huds-lib/hy-anchor-link-list.entry.js +2 -0
- package/dist/huds-lib/hy-anchor-link-list.entry.js.map +1 -0
- package/dist/huds-lib/hy-badge.entry.js +2 -0
- package/dist/huds-lib/hy-badge.entry.js.map +1 -0
- package/dist/huds-lib/hy-banner.entry.js +2 -0
- package/dist/huds-lib/hy-banner.entry.js.map +1 -0
- package/dist/huds-lib/hy-box.entry.js +71 -0
- package/dist/huds-lib/hy-box.entry.js.map +1 -0
- package/dist/huds-lib/hy-breadcrumbs_15.entry.js +2 -0
- package/dist/huds-lib/hy-breadcrumbs_15.entry.js.map +1 -0
- package/dist/huds-lib/hy-checkbox.entry.js +2 -0
- package/dist/huds-lib/hy-checkbox.entry.js.map +1 -0
- package/dist/huds-lib/hy-collaboration.entry.js +2 -0
- package/dist/huds-lib/hy-collaboration.entry.js.map +1 -0
- package/dist/huds-lib/hy-content-list_2.entry.js +2 -0
- package/dist/huds-lib/hy-content-list_2.entry.js.map +1 -0
- package/dist/huds-lib/hy-crisis-banner.entry.js +2 -0
- package/dist/huds-lib/hy-crisis-banner.entry.js.map +1 -0
- package/dist/huds-lib/hy-cta-button.entry.js +2 -0
- package/dist/huds-lib/hy-cta-button.entry.js.map +1 -0
- package/dist/huds-lib/hy-cta-link.entry.js +2 -0
- package/dist/huds-lib/hy-cta-link.entry.js.map +1 -0
- package/dist/huds-lib/hy-dropdown_3.entry.js +2 -0
- package/dist/huds-lib/hy-dropdown_3.entry.js.map +1 -0
- package/dist/huds-lib/hy-event-item.entry.js +1 -1
- package/dist/huds-lib/hy-events.entry.js +1 -1
- package/dist/huds-lib/hy-filter-group_6.entry.js +2 -0
- package/dist/huds-lib/hy-filter-group_6.entry.js.map +1 -0
- package/dist/huds-lib/hy-general-list_2.entry.js +2 -0
- package/dist/huds-lib/hy-general-list_2.entry.js.map +1 -0
- package/dist/huds-lib/hy-hero-carousel.entry.js +1 -1
- package/dist/huds-lib/hy-hero-carousel.entry.js.map +1 -1
- package/dist/huds-lib/hy-hero.entry.js +2 -0
- package/dist/huds-lib/hy-hero.entry.js.map +1 -0
- package/dist/huds-lib/hy-icon.entry.js +2 -0
- package/dist/huds-lib/hy-icon.entry.js.map +1 -0
- package/dist/huds-lib/hy-image.entry.js +2 -0
- package/dist/huds-lib/hy-image.entry.js.map +1 -0
- package/dist/huds-lib/hy-introduction.entry.js +2 -0
- package/dist/huds-lib/hy-introduction.entry.js.map +1 -0
- package/dist/huds-lib/hy-key-figure_2.entry.js +2 -0
- package/dist/huds-lib/hy-key-figure_2.entry.js.map +1 -0
- package/dist/huds-lib/hy-key-highlight_2.entry.js +2 -0
- package/dist/huds-lib/hy-key-highlight_2.entry.js.map +1 -0
- package/dist/huds-lib/hy-large-process-flow_2.entry.js +2 -0
- package/dist/huds-lib/hy-large-process-flow_2.entry.js.map +1 -0
- package/dist/huds-lib/hy-link-box_2.entry.js +2 -0
- package/dist/huds-lib/hy-link-box_2.entry.js.map +1 -0
- package/dist/huds-lib/hy-link-list.entry.js +2 -0
- package/dist/huds-lib/hy-link-list.entry.js.map +1 -0
- package/dist/huds-lib/hy-link.entry.js +2 -0
- package/dist/huds-lib/hy-link.entry.js.map +1 -0
- package/dist/huds-lib/hy-list-item.entry.js +2 -0
- package/dist/huds-lib/hy-list-item.entry.js.map +1 -0
- package/dist/huds-lib/hy-logo-grid_2.entry.js +2 -0
- package/dist/huds-lib/hy-logo-grid_2.entry.js.map +1 -0
- package/dist/huds-lib/hy-main.entry.js +2 -0
- package/dist/huds-lib/hy-main.entry.js.map +1 -0
- package/dist/huds-lib/hy-menu-main-group.entry.js +2 -0
- package/dist/huds-lib/hy-menu-main-group.entry.js.map +1 -0
- package/dist/huds-lib/hy-opening-hours_2.entry.js +2 -0
- package/dist/huds-lib/hy-opening-hours_2.entry.js.map +1 -0
- package/dist/huds-lib/hy-pager_2.entry.js +2 -0
- package/dist/huds-lib/hy-pager_2.entry.js.map +1 -0
- package/dist/huds-lib/hy-paragraph-text.entry.js +2 -0
- package/dist/huds-lib/hy-paragraph-text.entry.js.map +1 -0
- package/dist/huds-lib/hy-person-card.entry.js +2 -0
- package/dist/huds-lib/hy-person-card.entry.js.map +1 -0
- package/dist/huds-lib/hy-person-profile-listing.entry.js +2 -0
- package/dist/huds-lib/hy-person-profile-listing.entry.js.map +1 -0
- package/dist/huds-lib/hy-person-profile.entry.js +2 -0
- package/dist/huds-lib/hy-person-profile.entry.js.map +1 -0
- package/dist/huds-lib/hy-process_2.entry.js +2 -0
- package/dist/huds-lib/hy-process_2.entry.js.map +1 -0
- package/dist/huds-lib/hy-prominent-image.entry.js +2 -0
- package/dist/huds-lib/hy-prominent-image.entry.js.map +1 -0
- package/dist/huds-lib/hy-quote.entry.js +2 -0
- package/dist/huds-lib/hy-quote.entry.js.map +1 -0
- package/dist/huds-lib/hy-row.entry.js +9 -0
- package/dist/huds-lib/hy-row.entry.js.map +1 -0
- package/dist/huds-lib/hy-section-container.entry.js +2 -0
- package/dist/huds-lib/hy-section-container.entry.js.map +1 -0
- package/dist/huds-lib/hy-shortcuts.entry.js +2 -0
- package/dist/huds-lib/hy-shortcuts.entry.js.map +1 -0
- package/dist/huds-lib/hy-table-container.entry.js +2 -0
- package/dist/huds-lib/hy-table-container.entry.js.map +1 -0
- package/dist/huds-lib/hy-tabs_2.entry.js +2 -0
- package/dist/huds-lib/hy-tabs_2.entry.js.map +1 -0
- package/dist/huds-lib/hy-tag.entry.js +2 -0
- package/dist/huds-lib/hy-tag.entry.js.map +1 -0
- package/dist/huds-lib/hy-tiny-text.entry.js +2 -0
- package/dist/huds-lib/hy-tiny-text.entry.js.map +1 -0
- package/dist/huds-lib/hy-twitter-feed.entry.js +2 -0
- package/dist/huds-lib/hy-twitter-feed.entry.js.map +1 -0
- package/dist/huds-lib/hy-two-columns.entry.js +2 -0
- package/dist/huds-lib/hy-two-columns.entry.js.map +1 -0
- package/dist/huds-lib/hy-user-login-form.entry.js +2 -0
- package/dist/huds-lib/hy-user-login-form.entry.js.map +1 -0
- package/dist/huds-lib/hy-video.entry.js +2 -0
- package/dist/huds-lib/hy-video.entry.js.map +1 -0
- package/dist/huds-lib/index-ecc819ad.js +2 -0
- package/dist/huds-lib/index-ecc819ad.js.map +1 -0
- package/dist/huds-lib/index-f84f2a7d.js +3 -0
- package/dist/huds-lib/index-f84f2a7d.js.map +1 -0
- package/dist/huds-lib/utils-7438924c.js +2 -0
- package/dist/huds-lib/utils-7438924c.js.map +1 -0
- package/dist/types/components/hy-image/image.d.ts +22 -0
- package/dist/types/components/hy-navigation/menu-language/menu-language.d.ts +29 -0
- package/dist/types/components.d.ts +26 -250
- package/dist/types/stencil-public-runtime.d.ts +3 -0
- package/dist/types/utils/utils.d.ts +1 -50
- package/package.json +3 -3
- package/readme.md +4 -57
- package/components/color-box.d.ts +0 -11
- package/components/color-box.js +0 -35
- package/components/color-box.js.map +0 -1
- package/components/hy-baseline.d.ts +0 -11
- package/components/hy-baseline.js +0 -46
- package/components/hy-baseline.js.map +0 -1
- package/components/hy-box-container.d.ts +0 -11
- package/components/hy-box-container.js +0 -45
- package/components/hy-box-container.js.map +0 -1
- package/components/hy-button.d.ts +0 -11
- package/components/hy-button.js +0 -113
- package/components/hy-button.js.map +0 -1
- package/components/hy-docs-container.d.ts +0 -11
- package/components/hy-docs-container.js +0 -34
- package/components/hy-docs-container.js.map +0 -1
- package/components/hy-grid-container.d.ts +0 -11
- package/components/hy-grid-container.js +0 -35
- package/components/hy-grid-container.js.map +0 -1
- package/components/hy-grid-item.d.ts +0 -11
- package/components/hy-grid-item.js +0 -51
- package/components/hy-grid-item.js.map +0 -1
- package/components/hy-grid-row.d.ts +0 -11
- package/components/hy-grid-row.js +0 -35
- package/components/hy-grid-row.js.map +0 -1
- package/dist/cjs/color-box_91.cjs.entry.js +0 -7663
- package/dist/cjs/color-box_91.cjs.entry.js.map +0 -1
- package/dist/cjs/globalScript-42d6be40.js +0 -30
- package/dist/cjs/globalScript-42d6be40.js.map +0 -1
- package/dist/cjs/index-8fc99295.js +0 -2177
- package/dist/cjs/index-8fc99295.js.map +0 -1
- package/dist/cjs/utils-14d5aa6f.js +0 -241
- 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 +0 -331
- package/dist/collection/components/adjacent-image-text/adjacent-image-text.js.map +0 -1
- package/dist/collection/components/baseline/baseline.css +0 -3
- package/dist/collection/components/baseline/baseline.js +0 -52
- package/dist/collection/components/baseline/baseline.js.map +0 -1
- package/dist/collection/components/button/button.css +0 -217
- package/dist/collection/components/button/button.js +0 -280
- package/dist/collection/components/button/button.js.map +0 -1
- package/dist/collection/components/color-box/color-box.css +0 -3
- package/dist/collection/components/color-box/color-box.js +0 -19
- 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 +0 -374
- 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.css +0 -4
- package/dist/collection/components/docs-container/docs-container.js +0 -18
- package/dist/collection/components/docs-container/docs-container.js.map +0 -1
- package/dist/collection/components/grid-container/grid-container.css +0 -96
- package/dist/collection/components/grid-container/grid-container.js +0 -19
- package/dist/collection/components/grid-container/grid-container.js.map +0 -1
- package/dist/collection/components/grid-item/grid-item.css +0 -228
- package/dist/collection/components/grid-item/grid-item.js +0 -128
- package/dist/collection/components/grid-item/grid-item.js.map +0 -1
- package/dist/collection/components/grid-row/grid-row.css +0 -96
- package/dist/collection/components/grid-row/grid-row.js +0 -19
- 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-box-container/hy-box-container.css +0 -3
- package/dist/collection/components/hy-box-container/hy-box-container.js +0 -68
- package/dist/collection/components/hy-box-container/hy-box-container.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 +0 -189
- 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.css +0 -235
- package/dist/collection/components/link-box/link-box.js +0 -349
- package/dist/collection/components/link-box/link-box.js.map +0 -1
- package/dist/collection/components/link-box-list/link-box-list.js +0 -141
- 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 +0 -415
- 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 +0 -222
- 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 +0 -146
- 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 +0 -122
- package/dist/collection/components/process/process.js.map +0 -1
- package/dist/collection/components/process-flow-box/process-flow-box.css +0 -284
- 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 +0 -780
- 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/esm/color-box_91.entry.js +0 -7569
- package/dist/esm/color-box_91.entry.js.map +0 -1
- package/dist/esm/globalScript-784ce932.js +0 -28
- package/dist/esm/globalScript-784ce932.js.map +0 -1
- package/dist/esm/index-f9deccc3.js +0 -2146
- package/dist/esm/index-f9deccc3.js.map +0 -1
- package/dist/esm/utils-a4d55421.js +0 -241
- package/dist/esm/utils-a4d55421.js.map +0 -1
- package/dist/huds-lib/color-box_91.entry.js +0 -88
- package/dist/huds-lib/color-box_91.entry.js.map +0 -1
- package/dist/huds-lib/globalScript-784ce932.js +0 -2
- package/dist/huds-lib/index-f9deccc3.js +0 -3
- package/dist/huds-lib/index-f9deccc3.js.map +0 -1
- package/dist/huds-lib/utils-a4d55421.js +0 -2
- package/dist/huds-lib/utils-a4d55421.js.map +0 -1
- package/dist/types/components/baseline/baseline.d.ts +0 -7
- package/dist/types/components/button/button.d.ts +0 -49
- package/dist/types/components/color-box/color-box.d.ts +0 -4
- package/dist/types/components/docs-container/docs-container.d.ts +0 -3
- package/dist/types/components/grid-container/grid-container.d.ts +0 -3
- package/dist/types/components/grid-item/grid-item.d.ts +0 -8
- package/dist/types/components/grid-row/grid-row.d.ts +0 -3
- package/dist/types/components/hy-box-container/hy-box-container.d.ts +0 -11
- package/dist/types/components/image/image.d.ts +0 -20
- package/dist/types/components/navigation/menu-language/menu-language.d.ts +0 -29
- /package/dist/collection/components/{accordion-container → hy-accordion-container}/accordion-container.css +0 -0
- /package/dist/collection/components/{accordion-container → hy-accordion-container}/accordion-container.js +0 -0
- /package/dist/collection/components/{accordion-item → hy-accordion-item}/accordion-item.css +0 -0
- /package/dist/collection/components/{accordion-item → hy-accordion-item}/accordion-item.js +0 -0
- /package/dist/collection/components/{adjacent-image-text → hy-adjacent-image-text}/adjacent-image-text.css +0 -0
- /package/dist/collection/components/{courses → hy-content-lists}/hy-content-list/hy-content-list.css +0 -0
- /package/dist/collection/components/{courses → hy-content-lists}/hy-content-list/hy-content-list.js +0 -0
- /package/dist/collection/components/{courses → hy-content-lists}/hy-content-list-item/hy-content-list-item.css +0 -0
- /package/dist/collection/components/{cta-button → hy-cta-button}/cta-button.css +0 -0
- /package/dist/collection/components/{cta-button → hy-cta-button}/cta-button.js +0 -0
- /package/dist/collection/components/{cta-link → hy-cta-link}/cta-link.css +0 -0
- /package/dist/collection/components/{cta-link → hy-cta-link}/cta-link.js +0 -0
- /package/dist/collection/components/{heading → hy-heading}/heading-fw.css +0 -0
- /package/dist/collection/components/{heading → hy-heading}/heading.css +0 -0
- /package/dist/collection/components/{heading → hy-heading}/heading.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/AddToTodoList.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Alert.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Archive.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Arrow.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/ArrowDown.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/ArrowRight.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/ArrowUp.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Avatar.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/AvatarGroup.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Bachelor.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/BulletList.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Camera.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/CaretDown.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/CaretLeft.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/CaretRight.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/CaretUp.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Chat.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/CodeFork.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Cogs.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Contentlink.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Customlink.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Date.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Discover.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Done.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Dot.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/DotArrowRight.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Download.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Drag.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Dragbutton.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/DropDown.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Edit.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/EditEvent.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Embed.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Euro.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Events.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/ExternalLink.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/EyeSlash.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Facebook.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Favorites.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Feed.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/FileText.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/FullScreen.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Globe.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/GooglePlus.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Grid.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Hamburger.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Heart.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/HeartSupport.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Helsinginyliopisto.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Home.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/HorizontalResize.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/HyLogo.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/IdNumber.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Image.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/ImageGallery.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Images.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Info.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/InfoStroke.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Instagram.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/LeikiList.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/LinkArrow.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/LinkArrow1.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/LinkArrowDown.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/LinkArrowLeft.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/LinkArrowOffsite.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/LinkArrowUp.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Linkedin.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/List.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/ListAsBlocks.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/ListStyleGrid.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/ListStyleList.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Listoflinks.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Location.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Log.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Login.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Logout.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/MagnifyMinus.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/MagnifyPlus.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Mail.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Master.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Minus.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Mobile.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Modify.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/NaviTriangle.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/NewGroup.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/NewPerson.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Notification.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/OpinderLogo.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/OpinderLogoNew.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Pdf.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/People.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/PermissionAll.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/PermissionGroup.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/PermissionPrivate.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Person.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/PersonOutline.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Phone.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Play.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Plus.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Preview.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Profile.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Question.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Remove.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Retweet.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/RotateLeft.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/RotateRight.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Search.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Share.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/SlimHamburgerMenu.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/SocialMedia.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/SomeFacebook.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/SomeInstagram.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/SomeLinkedin.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/SomeTwitter.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/SomeYoutube.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Spinner.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Square.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/SquareChecked.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Time.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/TodoList.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Tour.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Twitter.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/TwitterLike.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/UnitsAndFaculties.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Url.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Video.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Warning.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Wrench.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Youtube.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/allIcons.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/icon.css +0 -0
- /package/dist/collection/components/{icon → hy-icon}/icon.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/icons.js +0 -0
- /package/dist/collection/components/{image → hy-image}/image.css +0 -0
- /package/dist/collection/components/{ingress → hy-ingress}/ingress.css +0 -0
- /package/dist/collection/components/{ingress → hy-ingress}/ingress.js +0 -0
- /package/dist/collection/components/{link → hy-link}/link.css +0 -0
- /package/dist/collection/components/{link → hy-link}/link.js +0 -0
- /package/dist/collection/components/{link-box-list → hy-link-box-list}/link-box-list.css +0 -0
- /package/dist/collection/components/{navigation → hy-navigation}/hy-menu-main-group/hy-menu-main-group.css +0 -0
- /package/dist/collection/components/{navigation → hy-navigation}/menu-language/menu-language.css +0 -0
- /package/dist/collection/components/{navigation → hy-navigation}/menu-language-item/menu-language-item.css +0 -0
- /package/dist/collection/components/{navigation → hy-navigation}/menu-language-item/menu-language-item.js +0 -0
- /package/dist/collection/components/{pagination → hy-pagination}/hy-pager/hy-pager.css +0 -0
- /package/dist/collection/components/{pagination → hy-pagination}/hy-pager/hy-pager.js +0 -0
- /package/dist/collection/components/{pagination → hy-pagination}/hy-pager-item/hy-pager-item.css +0 -0
- /package/dist/collection/components/{pagination → hy-pagination}/hy-pager-item/hy-pager-item.js +0 -0
- /package/dist/collection/components/{paragraph-text → hy-paragraph-text}/paragraph-text-content.css +0 -0
- /package/dist/collection/components/{paragraph-text → hy-paragraph-text}/paragraph-text-landing.css +0 -0
- /package/dist/collection/components/{paragraph-text → hy-paragraph-text}/paragraph-text.css +0 -0
- /package/dist/collection/components/{paragraph-text → hy-paragraph-text}/paragraph-text.js +0 -0
- /package/dist/collection/components/{person-profile → hy-person-profile}/person-profile-listing/person-profile-listing.css +0 -0
- /package/dist/collection/components/{person-profile → hy-person-profile}/person-profile.css +0 -0
- /package/dist/collection/components/{person-profile → hy-person-profile}/person-profile.js +0 -0
- /package/dist/collection/components/{process → hy-process}/process.css +0 -0
- /package/dist/collection/components/{process-flow-box → hy-process-flow-box}/process-flow-box.js +0 -0
- /package/dist/collection/components/{row → hy-row}/row.css +0 -0
- /package/dist/collection/components/{row → hy-row}/row.js +0 -0
- /package/dist/collection/components/{section-container → hy-section-container}/section-container.css +0 -0
- /package/dist/collection/components/{section-container → hy-section-container}/section-container.js +0 -0
- /package/dist/collection/components/{site-header → hy-site-header}/site-header.css +0 -0
- /package/dist/collection/components/{site-header → hy-site-header}/site-logo/site-logo.css +0 -0
- /package/dist/collection/components/{site-header → hy-site-header}/site-logo/site-logo.js +0 -0
- /package/dist/collection/components/{site-header → hy-site-header}/site-search/site-search.css +0 -0
- /package/dist/collection/components/{site-header → hy-site-header}/site-search/site-search.js +0 -0
- /package/dist/collection/components/{tiny-text → hy-tiny-text}/tiny-text.css +0 -0
- /package/dist/collection/components/{tiny-text → hy-tiny-text}/tiny-text.js +0 -0
- /package/dist/huds-lib/{globalScript-784ce932.js.map → globalScript-5a4b7abf.js.map} +0 -0
- /package/dist/types/components/{accordion-container → hy-accordion-container}/accordion-container.d.ts +0 -0
- /package/dist/types/components/{accordion-item → hy-accordion-item}/accordion-item.d.ts +0 -0
- /package/dist/types/components/{adjacent-image-text → hy-adjacent-image-text}/adjacent-image-text.d.ts +0 -0
- /package/dist/types/components/{courses → hy-content-lists}/hy-content-list/hy-content-list.d.ts +0 -0
- /package/dist/types/components/{courses → hy-content-lists}/hy-content-list-item/hy-content-list-item.d.ts +0 -0
- /package/dist/types/components/{cta-button → hy-cta-button}/cta-button.d.ts +0 -0
- /package/dist/types/components/{cta-link → hy-cta-link}/cta-link.d.ts +0 -0
- /package/dist/types/components/{heading → hy-heading}/heading.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/AddToTodoList.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Alert.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Archive.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Arrow.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/ArrowDown.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/ArrowRight.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/ArrowUp.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Avatar.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/AvatarGroup.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Bachelor.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/BulletList.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Camera.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/CaretDown.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/CaretLeft.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/CaretRight.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/CaretUp.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Chat.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/CodeFork.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Cogs.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Contentlink.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Customlink.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Date.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Discover.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Done.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Dot.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/DotArrowRight.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Download.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Drag.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Dragbutton.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/DropDown.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Edit.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/EditEvent.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Embed.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Euro.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Events.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/ExternalLink.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/EyeSlash.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Facebook.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Favorites.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Feed.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/FileText.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/FullScreen.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Globe.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/GooglePlus.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Grid.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Hamburger.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Heart.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/HeartSupport.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Helsinginyliopisto.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Home.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/HorizontalResize.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/HyLogo.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/IdNumber.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Image.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/ImageGallery.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Images.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Info.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/InfoStroke.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Instagram.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/LeikiList.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/LinkArrow.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/LinkArrow1.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/LinkArrowDown.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/LinkArrowLeft.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/LinkArrowOffsite.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/LinkArrowUp.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Linkedin.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/List.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/ListAsBlocks.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/ListStyleGrid.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/ListStyleList.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Listoflinks.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Location.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Log.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Login.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Logout.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/MagnifyMinus.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/MagnifyPlus.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Mail.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Master.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Minus.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Mobile.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Modify.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/NaviTriangle.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/NewGroup.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/NewPerson.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Notification.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/OpinderLogo.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/OpinderLogoNew.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Pdf.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/People.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/PermissionAll.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/PermissionGroup.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/PermissionPrivate.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Person.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/PersonOutline.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Phone.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Play.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Plus.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Preview.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Profile.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Question.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Remove.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Retweet.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/RotateLeft.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/RotateRight.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Search.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Share.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/SlimHamburgerMenu.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/SocialMedia.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/SomeFacebook.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/SomeInstagram.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/SomeLinkedin.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/SomeTwitter.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/SomeYoutube.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Spinner.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Square.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/SquareChecked.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Time.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/TodoList.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Tour.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Twitter.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/TwitterLike.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/UnitsAndFaculties.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Url.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Video.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Warning.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Wrench.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Youtube.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/allIcons.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/icon.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/icons.d.ts +0 -0
- /package/dist/types/components/{ingress → hy-ingress}/ingress.d.ts +0 -0
- /package/dist/types/components/{link → hy-link}/link.d.ts +0 -0
- /package/dist/types/components/{link-box → hy-link-box}/link-box.d.ts +0 -0
- /package/dist/types/components/{link-box-list → hy-link-box-list}/link-box-list.d.ts +0 -0
- /package/dist/types/components/{navigation → hy-navigation}/hy-menu-main-group/hy-menu-main-group.d.ts +0 -0
- /package/dist/types/components/{navigation → hy-navigation}/menu-language-item/menu-language-item.d.ts +0 -0
- /package/dist/types/components/{pagination → hy-pagination}/hy-pager/hy-pager.d.ts +0 -0
- /package/dist/types/components/{pagination → hy-pagination}/hy-pager-item/hy-pager-item.d.ts +0 -0
- /package/dist/types/components/{paragraph-text → hy-paragraph-text}/paragraph-text.d.ts +0 -0
- /package/dist/types/components/{person-profile → hy-person-profile}/person-profile-listing/person-profile.listing.d.ts +0 -0
- /package/dist/types/components/{person-profile → hy-person-profile}/person-profile.d.ts +0 -0
- /package/dist/types/components/{process → hy-process}/process.d.ts +0 -0
- /package/dist/types/components/{process-flow-box → hy-process-flow-box}/process-flow-box.d.ts +0 -0
- /package/dist/types/components/{row → hy-row}/row.d.ts +0 -0
- /package/dist/types/components/{section-container → hy-section-container}/section-container.d.ts +0 -0
- /package/dist/types/components/{site-header → hy-site-header}/site-header.d.ts +0 -0
- /package/dist/types/components/{site-header → hy-site-header}/site-logo/site-logo.d.ts +0 -0
- /package/dist/types/components/{site-header → hy-site-header}/site-search/site-search.d.ts +0 -0
- /package/dist/types/components/{tiny-text → hy-tiny-text}/tiny-text.d.ts +0 -0
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-32830401.js');
|
|
6
|
+
const utils = require('./utils-bfc1127a.js');
|
|
7
|
+
const globalScript = require('./globalScript-9994473d.js');
|
|
8
|
+
|
|
9
|
+
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}";
|
|
10
|
+
|
|
11
|
+
let keys = {
|
|
12
|
+
enter: "Enter",
|
|
13
|
+
};
|
|
14
|
+
const HyMenuMainGroup = class {
|
|
15
|
+
constructor(hostRef) {
|
|
16
|
+
index.registerInstance(this, hostRef);
|
|
17
|
+
this.universityMainMenuToggled = index.createEvent(this, "universityMainMenuToggled", 7);
|
|
18
|
+
this.mobileMenuTopToggle = index.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 globalScript.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 ? utils.SiteLogoSize.small : utils.SiteLogoSize.small;
|
|
124
|
+
const logoColorGroup = utils.ColorVariant.white;
|
|
125
|
+
return this.isMobile ? (index.h(index.Host, { class: {
|
|
126
|
+
"menu--main-group--mobile": true,
|
|
127
|
+
"menu--main-group--mobile__is-open": this.isMenuOpen,
|
|
128
|
+
} }, index.h("button", { "aria-label": this.menuLabel, class: {
|
|
129
|
+
"menu--main-group__mobile-toggle": true,
|
|
130
|
+
"is-open": this.isMenuOpen,
|
|
131
|
+
} }, index.h("hy-icon", { icon: "hy-icon-slim-hamburger-menu", size: 20, fill: white })), index.h("nav", { role: "navigation", "aria-hidden": this.isMenuOpen ? "false" : "true", class: {
|
|
132
|
+
"menu--main-group__dropdown--mobile": true,
|
|
133
|
+
"is-open": this.isMenuOpen,
|
|
134
|
+
} }, index.h("div", { class: "menu--main-group__dropdown__top" }, index.h("div", { class: "menu--main-group__logo-container", id: "menu-logo" }, index.h("hy-site-logo", { "is-group": true, size: logoSizeGroup, color: logoColorGroup, url: this.siteUrl, label: this.siteLabel })), index.h("button", { "aria-label": `Close ${this.menuLabel}`, class: "menu--main-group__dropdown__close", onClick: (e) => this.handleTopMenuClose(e) }, index.h("hy-icon", { icon: "hy-icon-remove", size: 20, fill: white }))), index.h("div", { class: "menu--main-group__dropdown__items" }, this._dataMainMenu.map((item) => {
|
|
135
|
+
return (index.h("a", { href: item.url, class: { "menu-main-link": true } }, index.h("span", { class: "menu--main-group__label" }, item.label)));
|
|
136
|
+
})), index.h("div", { class: "menu--main-group__dropdown__donate" }, this.donate &&
|
|
137
|
+
this.donate.map((i) => {
|
|
138
|
+
return (index.h("a", { class: "menu--secondary__item hy-link__donate group", href: i.url }, index.h("hy-icon", { icon: "hy-icon-heart-support", size: 14, fill: logoColorGroup }), index.h("span", { class: "hy-link__donate__label group" }, i.label)));
|
|
139
|
+
}))))) : (index.h(index.Host, { class: {
|
|
140
|
+
"menu--main-group": true,
|
|
141
|
+
"menu--main-group__is-open": this.isMenuOpen,
|
|
142
|
+
} }, index.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 ? (index.h("hy-icon", { class: "toggle__close", icon: "hy-icon-remove", size: 8, fill: white })) : (index.h("hy-icon", { class: "toggle__caret", icon: "hy-icon-slim-hamburger-menu", size: 8, fill: white })), index.h("span", null, this.menuLabel)), index.h("div", { class: {
|
|
146
|
+
"menu--main-group__dropdown": true,
|
|
147
|
+
"is-open": this.isMenuOpen,
|
|
148
|
+
} }, index.h("div", { class: "list" }, this._dataMainMenu.map((item) => {
|
|
149
|
+
return (index.h("a", { href: item.url, class: { "menu-main-link": true } }, index.h("span", { class: "heading-icon" }, index.h("hy-icon", { icon: "hy-icon-caret-right", size: 10, fill: white })), index.h("span", { class: "menu--main-group__label" }, item.label)));
|
|
150
|
+
})), index.h("button", { onClick: (e) => this.handleComponentClick(e), class: {
|
|
151
|
+
"panel-toggle": true,
|
|
152
|
+
}, "aria-label": "Close menu" }, index.h("span", { class: "panel-toggle__label" }, index.h("span", { class: "panel-toggle__label__title" }, this.menuLabelClose), index.h("hy-icon", { icon: "hy-icon-remove", size: 20, fill: utils.ColorVariant.white }))))));
|
|
153
|
+
}
|
|
154
|
+
get el() { return index.getElement(this); }
|
|
155
|
+
};
|
|
156
|
+
HyMenuMainGroup.style = hyMenuMainGroupCss;
|
|
157
|
+
|
|
158
|
+
exports.hy_menu_main_group = HyMenuMainGroup;
|
|
159
|
+
|
|
160
|
+
//# sourceMappingURL=hy-menu-main-group.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"hy-menu-main-group.entry.cjs.js","mappings":"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","names":["jsonParserWorker","SiteLogoSize","ColorVariant","h","Host"],"sources":["./src/components/hy-navigation/hy-menu-main-group/hy-menu-main-group.scss?tag=hy-menu-main-group&encapsulation=shadow","./src/components/hy-navigation/hy-menu-main-group/hy-menu-main-group.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n:host(.menu--main-group) {\n align-items: center;\n display: flex;\n flex-flow: row;\n margin-left: 28px;\n\n @include breakpoint($extrawide) {\n margin-right: auto;\n }\n}\n\n.menu--main-group__toggle {\n @include font-size(14px, 16px);\n @include font-weight($semibold);\n align-items: center;\n background: var(--grayscale-black);\n border: 0 none;\n color: var(--grayscale-white);\n display: flex;\n flex-flow: row;\n font-family: var(--main-font-family);\n letter-spacing: -0.44px;\n margin: 0 -4px;\n padding: 0;\n position: relative;\n\n &:focus {\n outline: none;\n }\n\n &:hover {\n cursor: pointer;\n\n span {\n color: var(--grayscale-medium);\n }\n\n svg {\n fill: var(--grayscale-medium);\n }\n }\n\n .toggle__caret {\n svg {\n @include breakpoint($wide) {\n height: 15.27px;\n width: 3px;\n }\n @include breakpoint($extrawide) {\n height: 14px;\n width: 3px;\n }\n }\n }\n\n span {\n @include breakpoint($wide) {\n margin-left: 17px;\n }\n }\n\n &.is-open {\n &:after {\n border-bottom: 3px solid white;\n bottom: -10px;\n content: \" \";\n position: absolute;\n width: 100%;\n }\n\n .toggle__close {\n @include breakpoint($wide) {\n height: 15px;\n width: 15px;\n\n svg {\n height: 15px;\n width: 15px;\n }\n }\n }\n\n span {\n @include breakpoint($wide) {\n margin-left: 10px;\n }\n }\n }\n}\n\n.menu--main-group__dropdown {\n display: none;\n visibility: hidden;\n\n &.is-open {\n background-color: var(--grayscale-black);\n border-radius: 0 0 5px 5px;\n box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);\n color: var(--grayscale-white);\n display: flex;\n font-family: var(--main-font-family);\n left: 0;\n margin: 0;\n padding: 6px 0 20px;\n position: absolute;\n top: 0;\n visibility: visible;\n width: 100%;\n z-index: 511;\n\n .list {\n display: flex;\n flex-flow: column;\n justify-items: center;\n padding-top: 14px;\n position: relative;\n }\n\n .panel-toggle {\n background-color: transparent;\n border: none;\n position: absolute;\n right: 0;\n top: 0;\n\n @include breakpoint($wide) {\n padding: 26px 32px;\n }\n\n &__label {\n @include font-size(16px, 20px);\n @include font-weight($bold);\n color: var(--grayscale-white);\n display: flex;\n font-family: var(--main-font-family);\n letter-spacing: -0.5px;\n text-transform: uppercase;\n\n &__title {\n padding-right: 12px;\n }\n\n &:hover {\n cursor: pointer;\n span {\n color: var(--grayscale-medium);\n }\n svg {\n fill: var(--grayscale-medium);\n }\n }\n }\n }\n\n .menu-main-link {\n @include font-size(16px, 20px);\n align-items: center;\n display: flex;\n font-family: var(--main-font-family);\n flex-direction: row;\n margin-bottom: 20px;\n text-decoration: none;\n\n @include breakpoint($extrawide) {\n @include font-size(14px, 18px);\n }\n\n &:hover {\n span {\n color: var(--grayscale-medium);\n }\n svg {\n fill: var(--grayscale-medium);\n }\n }\n }\n .menu--main-group__label {\n color: var(--grayscale-white);\n margin-left: 12px;\n }\n }\n}\n\n:host(.menu--main-group--mobile) {\n align-items: center;\n display: flex;\n flex-flow: row;\n position: relative;\n}\n\n.menu--main-group__mobile-toggle {\n border: none;\n background: transparent;\n padding: 15px 12px;\n\n &:hover {\n cursor: pointer;\n }\n}\n\n.menu--main-group__dropdown__top {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n margin-bottom: 23px;\n}\n\n.menu--main-group__dropdown__close {\n border: none;\n background-color: transparent;\n padding: 0;\n margin: 0;\n\n &:hover {\n cursor: pointer;\n }\n}\n\n.menu--main-group__logo-container .hy-site-logo__label.group {\n max-width: 250px;\n}\n\n.menu--main-group__dropdown__items {\n display: flex;\n flex-direction: column;\n\n .menu-main-link {\n @include font-size(15px, 20px);\n\n background-color: var(--grayscale-dark-text);\n color: var(--grayscale-white);\n font-family: var(--main-font-family);\n letter-spacing: -0.5px;\n margin-bottom: 8px;\n padding: 14px 20px;\n text-decoration: none;\n width: 100%;\n\n &:hover {\n text-decoration: underline;\n }\n }\n}\n\n.menu--main-group__dropdown__donate {\n display: flex;\n flex-direction: row;\n justify-content: center;\n background-color: var(--grayscale-dark-text);\n position: fixed;\n bottom: 0;\n margin-left: -20px;\n width: 100%;\n\n .hy-link__donate.group {\n @include font-size(16px, 16px);\n @include font-weight($semibold);\n\n display: flex;\n color: var(--grayscale-white);\n font-family: var(--main-font-family);\n margin: 20px auto 16px auto;\n text-decoration: none;\n\n .hy-link__donate__label {\n margin-left: 6px;\n }\n }\n}\n\n.menu--main-group__dropdown--mobile {\n -webkit-box-direction: normal;\n -webkit-box-orient: vertical;\n background-color: var(--grayscale-black);\n bottom: 0px;\n display: flex;\n flex-direction: column;\n justify-items: space-between;\n max-width: 400px;\n overflow: hidden;\n padding: 0px;\n place-items: stretch;\n position: fixed;\n right: 0px;\n top: 0px;\n transform: translateX(100%);\n transition: all 0.3s ease 0s;\n visibility: hidden;\n width: 0px;\n\n &.is-open {\n padding: 50px 20px 20px;\n transform: translateX(0px);\n transition: transform 0.3s cubic-bezier(0, 0, 0.3, 1);\n visibility: visible;\n width: 90%;\n z-index: 101;\n\n &::after {\n opacity: 1;\n visibility: visible;\n }\n }\n}\n","export interface MainMenu {\n label: string;\n url: string;\n menuLinkId: string;\n}\n\nexport interface DonateLink {\n url: string;\n label: string;\n}\n\nimport {Component, Host, h, Element, Prop, State, Listen, Event, EventEmitter} from \"@stencil/core\";\nimport {ColorVariant, SiteLogoSize} from \"../../../utils/utils\";\nimport {jsonParserWorker} from \"../../../global/globalScript\";\n\nlet keys = {\n enter: \"Enter\",\n};\n\n@Component({\n tag: \"hy-menu-main-group\",\n styleUrl: \"hy-menu-main-group.scss\",\n shadow: true,\n})\nexport class HyMenuMainGroup {\n @Element() el: HTMLElement;\n @Prop() menuLabel: string = \"University main menu\";\n @Prop() menuLabelClose: string = \"Close\";\n @Prop() dataMainMenu: MainMenu[] | string;\n @Prop() isMobile: boolean = false;\n @Prop() logoUrl?: string;\n @Prop() logoLabel?: string;\n @Prop() siteLabel?: string;\n @Prop() siteUrl?: string;\n @Prop() donate: DonateLink[];\n @State() isMenuOpen: boolean = false;\n\n @Event() universityMainMenuToggled: EventEmitter;\n @Event() mobileMenuTopToggle: EventEmitter;\n\n private _dataMainMenu: MainMenu[];\n\n @Listen(\"click\", {capture: true})\n handleComponentClick(event) {\n event.stopPropagation();\n this.emitEvent();\n\n this.isMenuOpen = !this.isMenuOpen;\n if (this.isMenuOpen) {\n this.adjustMainMenuPosition(event.target);\n }\n }\n\n @Listen(\"keydown\")\n handleComponentKeyDown(event: KeyboardEvent) {\n event.stopPropagation();\n const key = event.code;\n let target = event.target as HTMLButtonElement;\n\n if (key === \"Escape\" && this.isMenuOpen) {\n this.isMenuOpen = false;\n this.emitEvent();\n }\n\n if (target && [keys.enter].includes(key)) {\n this.isMenuOpen = !this.isMenuOpen;\n\n if (this.isMenuOpen) {\n this.emitEvent();\n this.adjustMainMenuPosition(target);\n }\n }\n }\n\n emitEvent() {\n // Close other panels if they are open (lang menu, search, main menu, ..).\n this.universityMainMenuToggled.emit();\n this.mobileMenuTopToggle.emit();\n }\n\n adjustMainMenuPosition(target) {\n let hyTopHeader = this.el.closest(\".hy-site-header__content-top\") as HTMLElement;\n\n if (hyTopHeader && !hyTopHeader.hasAttribute(\"is-mobile\")) {\n let mainMenuToggle = target.shadowRoot.querySelector(\".menu--main-group__toggle\") as HTMLElement;\n let mainMenuDropdown = target.shadowRoot.querySelector(\".menu--main-group__dropdown\") as HTMLElement;\n let mainMenuList = target.shadowRoot.querySelector(\".list\") as HTMLElement;\n if (mainMenuDropdown && mainMenuList && mainMenuToggle) {\n let rectHeader = hyTopHeader.getBoundingClientRect();\n let rectMenuToggle = mainMenuToggle.getBoundingClientRect();\n mainMenuDropdown.style.top = `${rectHeader.height}px`;\n\n mainMenuList.style.left = `${rectMenuToggle.left}px`;\n }\n let headerHeight = hyTopHeader.offsetHeight + 270;\n\n this.showBackdropShadow(\"open\", headerHeight);\n }\n }\n\n showBackdropShadow(state = \"close\", top = 0) {\n let hyHeader = this.el.closest(\".hy-site-header\") as HTMLElement;\n let hyBackdropDiv = hyHeader.children[0] as HTMLElement;\n\n if (hyBackdropDiv) {\n if (state === \"open\") {\n let me = window.outerHeight - top;\n hyBackdropDiv.style.height = `${me}px`;\n hyBackdropDiv.style.top = `${top}px`;\n hyBackdropDiv.style.position = \"absolute\";\n hyBackdropDiv.classList.add(\"is-active\");\n } else {\n hyBackdropDiv.removeAttribute(\"style\");\n hyBackdropDiv.classList.remove(\"is-active\");\n }\n }\n }\n\n async componentWillLoad() {\n this._dataMainMenu = await jsonParserWorker(this.dataMainMenu);\n }\n\n handleTopMenuClose(event) {\n this.isMenuOpen = false;\n this.mobileMenuTopToggle.emit();\n this.showBackdropShadow();\n event.stopPropagation();\n }\n\n // Close the University main menu if user clicks anywhere outside the component.\n @Listen(\"click\", {target: \"window\"})\n @Listen(\"headerScrollDown\", {target: \"window\"})\n @Listen(\"headerScrollUp\", {target: \"window\"})\n handleOutsideMenuClick(event) {\n if (this.isMenuOpen) {\n this.isMenuOpen = false;\n this.handleTopMenuClose(event);\n }\n event.stopPropagation();\n }\n\n // CLose the University main menu if user opens the desktop menu panel.\n @Listen(\"menuDesktopToggled\", {target: \"document\"})\n desktopMenuToggled() {\n this.isMenuOpen = false;\n }\n\n // CLose the University main menu if user opens the search panel\n @Listen(\"searchPanelToggled\", {target: \"document\"})\n searchPanelToggled() {\n this.isMenuOpen = false;\n }\n\n // CLose the University main menu if user opens the language menu panel.\n @Listen(\"menuLanguageToggled\", {target: \"document\"})\n languageMenuToggled() {\n this.isMenuOpen = false;\n }\n\n render() {\n const white = \"var(--grayscale-white)\";\n const logoSizeGroup = this.isMobile ? SiteLogoSize.small : SiteLogoSize.small;\n const logoColorGroup = ColorVariant.white;\n\n return this.isMobile ? (\n <Host\n class={{\n \"menu--main-group--mobile\": true,\n \"menu--main-group--mobile__is-open\": this.isMenuOpen,\n }}\n >\n <button\n aria-label={this.menuLabel}\n class={{\n \"menu--main-group__mobile-toggle\": true,\n \"is-open\": this.isMenuOpen,\n }}\n >\n <hy-icon icon={\"hy-icon-slim-hamburger-menu\"} size={20} fill={white} />\n </button>\n <nav\n role=\"navigation\"\n aria-hidden={this.isMenuOpen ? \"false\" : \"true\"}\n class={{\n \"menu--main-group__dropdown--mobile\": true,\n \"is-open\": this.isMenuOpen,\n }}\n >\n <div class=\"menu--main-group__dropdown__top\">\n <div class={\"menu--main-group__logo-container\"} id={\"menu-logo\"}>\n <hy-site-logo\n is-group={true}\n size={logoSizeGroup}\n color={logoColorGroup}\n url={this.siteUrl}\n label={this.siteLabel}\n />\n </div>\n <button\n aria-label={`Close ${this.menuLabel}`}\n class=\"menu--main-group__dropdown__close\"\n onClick={(e) => this.handleTopMenuClose(e)}\n >\n <hy-icon icon={\"hy-icon-remove\"} size={20} fill={white} />\n </button>\n </div>\n <div class=\"menu--main-group__dropdown__items\">\n {this._dataMainMenu.map((item) => {\n return (\n <a href={item.url} class={{\"menu-main-link\": true}}>\n <span class={\"menu--main-group__label\"}>{item.label}</span>\n </a>\n );\n })}\n </div>\n <div class=\"menu--main-group__dropdown__donate\">\n {this.donate &&\n this.donate.map((i) => {\n return (\n <a class={\"menu--secondary__item hy-link__donate group\"} href={i.url}>\n <hy-icon icon={\"hy-icon-heart-support\"} size={14} fill={logoColorGroup} />\n <span class={\"hy-link__donate__label group\"}>{i.label}</span>\n </a>\n );\n })}\n </div>\n </nav>\n </Host>\n ) : (\n <Host\n class={{\n \"menu--main-group\": true,\n \"menu--main-group__is-open\": this.isMenuOpen,\n }}\n >\n <button\n class={{\n \"menu--main-group__toggle\": true,\n \"is-open\": this.isMenuOpen,\n }}\n aria-expanded={this.isMenuOpen ? \"true\" : \"false\"}\n aria-haspopup=\"menu\"\n //aria-label={this.isMenuOpen ? this._labels['close'] : this._labels['open']}\n >\n {this.isMenuOpen ? (\n <hy-icon class={\"toggle__close\"} icon={\"hy-icon-remove\"} size={8} fill={white} />\n ) : (\n <hy-icon class={\"toggle__caret\"} icon={\"hy-icon-slim-hamburger-menu\"} size={8} fill={white} />\n )}\n <span>{this.menuLabel}</span>\n </button>\n <div\n class={{\n \"menu--main-group__dropdown\": true,\n \"is-open\": this.isMenuOpen,\n }}\n >\n <div class=\"list\">\n {this._dataMainMenu.map((item) => {\n return (\n <a href={item.url} class={{\"menu-main-link\": true}}>\n <span class=\"heading-icon\">\n <hy-icon icon={\"hy-icon-caret-right\"} size={10} fill={white} />\n </span>\n <span class={\"menu--main-group__label\"}>{item.label}</span>\n </a>\n );\n })}\n </div>\n <button\n onClick={(e) => this.handleComponentClick(e)}\n class={{\n \"panel-toggle\": true,\n }}\n aria-label=\"Close menu\"\n >\n <span class=\"panel-toggle__label\">\n <span class=\"panel-toggle__label__title\">{this.menuLabelClose}</span>\n <hy-icon icon={\"hy-icon-remove\"} size={20} fill={ColorVariant.white} />\n </span>\n </button>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-32830401.js');
|
|
6
|
+
const utils = require('./utils-bfc1127a.js');
|
|
7
|
+
|
|
8
|
+
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;margin-bottom:0.75rem}.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}}";
|
|
9
|
+
|
|
10
|
+
const HyOpeningHours = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
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 (index.h(index.Host, null, index.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 && index.h("h3", { class: "open-hours__title" }, this.blockTitle), !this.exceptional && (index.h("div", { class: "open-hours__date-change" }, index.h("button", { "aria-label": this.prevLabel, class: "icon--arrow-left open-hours__prev-date" }, index.h("hy-icon", { icon: "hy-icon-caret-left", size: 18 })), index.h("span", { class: "open-hours__date-change--title" }, this.dateTitle), index.h("button", { "aria-label": this.nextLabel, class: "icon--arrow-right open-hours__next-date" }, index.h("hy-icon", { icon: "hy-icon-caret-right", size: 18 })))), index.h("div", { class: "open-hours__content__top" }, index.h("span", { class: listClasses }, this.listLabel), index.h("span", { class: buildingClasses }, this.buildingLabel), this.customerServiceLabel && index.h("span", { class: listClasses }, this.customerServiceLabel)), index.h("div", { class: "open-hours__content" }, index.h("slot", null)), this.customLink && (index.h("div", { class: "open-hours__links" }, index.h("hy-cta-link", { "full-width": true, "link-content": this.customLinkTitle, "sc-label": this.customLinkTitle, url: this.customLink, variant: utils.CtaLinkVariants.linkList })))), index.h("hy-box", { mb: "1.75, 1.75, 2, 2.5" })));
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
HyOpeningHours.style = hyOpeningHoursCss;
|
|
41
|
+
|
|
42
|
+
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}";
|
|
43
|
+
|
|
44
|
+
const HyOpeningHoursContent = class {
|
|
45
|
+
constructor(hostRef) {
|
|
46
|
+
index.registerInstance(this, hostRef);
|
|
47
|
+
this.multiple = false;
|
|
48
|
+
this.selfServiceLabel = null;
|
|
49
|
+
this.venueType = "libraries";
|
|
50
|
+
this.dataItems = undefined;
|
|
51
|
+
}
|
|
52
|
+
dataItemsWatcher(data) {
|
|
53
|
+
this._dataItems = typeof data === "string" ? JSON.parse(data) : data;
|
|
54
|
+
}
|
|
55
|
+
componentWillLoad() {
|
|
56
|
+
this.dataItemsWatcher(this.dataItems);
|
|
57
|
+
}
|
|
58
|
+
render() {
|
|
59
|
+
return (index.h(index.Host, null, this._dataItems.map((item) => {
|
|
60
|
+
if (!item.service)
|
|
61
|
+
return;
|
|
62
|
+
const itemClasses = ["open-hours__list-item", item.today ? "open-hours__list-item--today" : ""].join(" ");
|
|
63
|
+
return (index.h("div", { class: itemClasses }, index.h("span", { class: "open-hours__list-item--office" }, item.today ? item.today : item.dateLibrary), index.h("span", { class: "open-hours__list-item--hours" }, item.building), index.h("span", { class: "open-hours__list-item--service" }, item.service)));
|
|
64
|
+
}), this.selfServiceLabel && (index.h("div", { class: "open-hours__content__top" }, index.h("span", { class: "open-hours__content__top-label" }, this.selfServiceLabel))), this._dataItems.map((item) => {
|
|
65
|
+
if (item.service)
|
|
66
|
+
return;
|
|
67
|
+
const itemClasses = ["open-hours__list-item", item.today ? "open-hours__list-item--today" : ""].join(" ");
|
|
68
|
+
const hoursClasses = ["open-hours__list-item--hours", this.venueType].join(" ");
|
|
69
|
+
const officeClasses = ["open-hours__list-item--office", this.venueType].join(" ");
|
|
70
|
+
return (index.h("div", { class: itemClasses }, index.h("span", { class: officeClasses }, item.today ? item.today : item.dateLibrary), index.h("span", { class: hoursClasses }, item.building), this.venueType !== "luomus" && index.h("span", { class: "open-hours__list-item--service" }, "-")));
|
|
71
|
+
})));
|
|
72
|
+
}
|
|
73
|
+
static get watchers() { return {
|
|
74
|
+
"dataItems": ["dataItemsWatcher"]
|
|
75
|
+
}; }
|
|
76
|
+
};
|
|
77
|
+
HyOpeningHoursContent.style = hyOpeningHoursContentCss;
|
|
78
|
+
|
|
79
|
+
exports.hy_opening_hours = HyOpeningHours;
|
|
80
|
+
exports.hy_opening_hours_content = HyOpeningHoursContent;
|
|
81
|
+
|
|
82
|
+
//# sourceMappingURL=hy-opening-hours_2.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"hy-opening-hours.hy-opening-hours-content.entry.cjs.js","mappings":"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","names":["h","Host","CtaLinkVariants"],"sources":["./src/components/hy-opening-hours/hy-opening-hours.scss?tag=hy-opening-hours","./src/components/hy-opening-hours/hy-opening-hours.tsx","./src/components/hy-opening-hours-content/hy-opening-hours-content.scss?tag=hy-opening-hours-content","./src/components/hy-opening-hours-content/hy-opening-hours-content.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n.hy-open-hours--container {\n font-family: var(--main-font-family);\n max-width: 50rem;\n overflow: hidden;\n\n &--exceptional {\n max-width: 100%;\n }\n}\n\n.open-hours__title {\n text-transform: uppercase;\n margin-bottom: .75rem;\n}\n\n.open-hours__date-change {\n align-items: center;\n background-color: var(--grayscale-background-box);\n color: var(--brand-main);\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n\n &--title {\n @include font-size(20px, 24px);\n @include font-weight($bold);\n\n color: var(--grayscale-black);\n font-family: var(--main-font-family);\n letter-spacing: -0.5px;\n text-align: center;\n text-transform: uppercase;\n }\n\n .open-hours__prev-date,\n .open-hours__next-date {\n background: none;\n border: 0;\n color: var(--brand-main);\n display: flex;\n height: 44px;\n outline: 5px solid var(--grayscale-white);\n position: relative;\n width: 44px;\n\n &:hover {\n background-color: var(--hover-gray);\n color: var(--brand-main-active);\n cursor: pointer;\n }\n\n &:focus {\n background-color: var(--hover-gray);\n color: var(--brand-main-active);\n }\n\n &:disabled {\n cursor: none;\n }\n\n hy-icon {\n color: var(--link-blue);\n left: 50%;\n position: absolute;\n top: 50%;\n transform: translate(-50%, -50%);\n }\n\n svg {\n fill: currentColor;\n height: 20px;\n width: 20px;\n }\n }\n .open-hours__prev-date {\n border-right: 1px solid var(--link-blue);\n }\n .open-hours__next-date {\n border-left: 1px solid var(--link-blue);\n }\n}\n\n.open-hours__content__top {\n display: flex;\n flex-direction: row;\n font-size: 0.9rem;\n font-weight: 700;\n justify-content: space-between;\n padding: 0.5rem 0;\n}\n\n.open-hours__content__top-label {\n margin: 0.5rem 0 0.5rem 0;\n text-align: left;\n width: calc(100vw / 3);\n word-break: break-word;\n\n &:first-child() {\n margin-right: 1rem;\n }\n}\n\n.open-hours__content__top-label.luomus {\n width: calc(100vw / 2);\n}\n.open-hours__content__top-label.building.luomus {\n text-align: center;\n}\n\n.open-hours__content {\n position: relative;\n\n &.open-hours__loading {\n &:after {\n animation-duration: 1s;\n font-size: 3.2rem;\n position: absolute;\n left: 45%;\n top: 35%;\n z-index: 2;\n }\n }\n\n $animation-duraction: 0.2s;\n\n &.slide-left {\n -webkit-animation: slide-left $animation-duraction ease-in-out both;\n animation: slide-left $animation-duraction ease-in-out both;\n }\n\n &.slide-left-reverse {\n -webkit-animation: slide-left-reverse $animation-duraction ease-in-out reverse both;\n animation: slide-left-reverse $animation-duraction ease-in-out reverse both;\n }\n\n &.slide-right {\n -webkit-animation: slide-right $animation-duraction ease-in-out both;\n animation: slide-right $animation-duraction ease-in-out both;\n }\n\n &.slide-right-reverse {\n -webkit-animation: slide-right-reverse $animation-duraction ease-in-out reverse both;\n animation: slide-right-reverse $animation-duraction ease-in-out reverse both;\n }\n}\n\n.open-hours__links {\n margin: 1.5rem 0 1rem 0;\n\n .open-hours__link .hy-cta-link {\n width: 100% !important;\n justify-content: flex-start !important;\n\n .text {\n width: 100% !important;\n }\n }\n}\n\n@-webkit-keyframes slide-right {\n 0% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n opacity: 1;\n }\n 100% {\n -webkit-transform: translateX(200px);\n transform: translateX(200px);\n opacity: 0;\n }\n}\n@keyframes slide-right {\n 0% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n opacity: 1;\n }\n 100% {\n -webkit-transform: translateX(200px);\n transform: translateX(200px);\n opacity: 0;\n }\n}\n\n@-webkit-keyframes slide-right-reverse {\n 0% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n opacity: 1;\n }\n 100% {\n -webkit-transform: translateX(200px);\n transform: translateX(200px);\n opacity: 0;\n }\n}\n@keyframes slide-right-reverse {\n 0% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n opacity: 1;\n }\n 100% {\n -webkit-transform: translateX(200px);\n transform: translateX(200px);\n opacity: 0;\n }\n}\n\n@-webkit-keyframes slide-left {\n 0% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n opacity: 1;\n }\n 100% {\n -webkit-transform: translateX(-200px);\n transform: translateX(-200px);\n opacity: 0;\n }\n}\n@keyframes slide-left {\n 0% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n opacity: 1;\n }\n 100% {\n -webkit-transform: translateX(-200px);\n transform: translateX(-200px);\n opacity: 0;\n }\n}\n\n@-webkit-keyframes slide-left-reverse {\n 0% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n opacity: 1;\n }\n 100% {\n -webkit-transform: translateX(-200px);\n transform: translateX(-200px);\n opacity: 0;\n }\n}\n@keyframes slide-left-reverse {\n 0% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n opacity: 1;\n }\n 100% {\n -webkit-transform: translateX(-200px);\n transform: translateX(-200px);\n opacity: 0;\n }\n}\n","import {Component, Host, h, Prop} from \"@stencil/core\";\nimport {CtaLinkVariants} from \"../../utils/utils\";\n\n@Component({\n tag: \"hy-opening-hours\",\n styleUrl: \"hy-opening-hours.scss\",\n shadow: false,\n})\nexport class HyOpeningHours {\n @Prop() blockTitle: string = null;\n @Prop() language?: string;\n @Prop() venueType: string = \"libraries\";\n @Prop() blockId?: string;\n @Prop() nextLabel?: string;\n @Prop() prevLabel?: string;\n @Prop() listLabel?: string;\n @Prop() buildingLabel?: string;\n @Prop() customerServiceLabel?: string;\n @Prop() date: string = null;\n @Prop() dateTitle: string = null;\n @Prop() dateType: string = \"day\";\n @Prop() multiple: boolean = false;\n @Prop() customLinkTitle: string = null;\n @Prop() customLink: string = null;\n @Prop() exceptional: boolean = false;\n\n render() {\n const containerClasses = [\n \"hy-open-hours--container\",\n this.exceptional ? \"hy-open-hours--container--exceptional\" : \"\",\n ].join(\" \");\n\n const listClasses = [\"open-hours__content__top-label\", this.venueType].join(\" \");\n const buildingClasses = [\"open-hours__content__top-label building\", this.venueType].join(\" \");\n return (\n <Host>\n <div\n class={containerClasses}\n data-lang={this.language}\n data-id={this.blockId}\n data-date={this.date}\n data-type={this.dateType}\n data-multiple={this.multiple}\n >\n {this.blockTitle && <h3 class=\"open-hours__title\">{this.blockTitle}</h3>}\n {!this.exceptional && (\n <div class=\"open-hours__date-change\">\n <button aria-label={this.prevLabel} class=\"icon--arrow-left open-hours__prev-date\">\n <hy-icon icon={\"hy-icon-caret-left\"} size={18} />\n </button>\n <span class=\"open-hours__date-change--title\">{this.dateTitle}</span>\n <button aria-label={this.nextLabel} class=\"icon--arrow-right open-hours__next-date\">\n <hy-icon icon={\"hy-icon-caret-right\"} size={18} />\n </button>\n </div>\n )}\n <div class=\"open-hours__content__top\">\n <span class={listClasses}>{this.listLabel}</span>\n <span class={buildingClasses}>{this.buildingLabel}</span>\n {this.customerServiceLabel && <span class={listClasses}>{this.customerServiceLabel}</span>}\n </div>\n <div class=\"open-hours__content\">\n <slot />\n </div>\n {this.customLink && (\n <div class=\"open-hours__links\">\n <hy-cta-link\n full-width\n link-content={this.customLinkTitle}\n sc-label={this.customLinkTitle}\n url={this.customLink}\n variant={CtaLinkVariants.linkList}\n >\n </hy-cta-link>\n </div>\n )}\n </div>\n <hy-box mb=\"1.75, 1.75, 2, 2.5\" />\n </Host>\n );\n }\n}\n",":host {\n display: block;\n}\n\n.open-hours__list-item {\n border-top: 1px solid var(--grayscale-medium);\n color: var(--grayscale-dark-text);\n display: flex;\n flex-direction: row;\n font-size: 0.875rem;\n justify-content: space-between;\n padding: 0.5rem 0;\n font-family: var(--main-font-family);\n text-align: start;\n\n &--today {\n background-color: var(--grayscale-light);\n\n span:first-child {\n margin-left: 4px;\n padding-left: 4px;\n margin-right: -8px;\n font-weight: bold;\n border-left: 2px solid var(--grayscale-black);\n }\n }\n\n & > span:not(.luomus) {\n text-align: left;\n width: calc(100vw / 3);\n }\n & > span.luomus {\n width: calc(100vw / 2);\n }\n\n &--date {\n margin-right: 1rem;\n }\n\n &--hours {\n margin-right: 0.2rem;\n }\n\n &--hours.luomus {\n text-align: center;\n }\n}\n","export interface items {\n dateLibrary: string;\n building: string;\n service: string;\n today: string;\n}\n\nimport {Component, Host, h, Prop, Watch} from \"@stencil/core\";\n\n@Component({\n tag: \"hy-opening-hours-content\",\n styleUrl: \"hy-opening-hours-content.scss\",\n shadow: false,\n})\nexport class HyOpeningHoursContent {\n @Prop() multiple: boolean = false;\n @Prop() selfServiceLabel: string = null;\n @Prop() venueType: string = \"libraries\";\n\n private _dataItems: items[];\n\n @Prop() dataItems: items[] | string;\n\n @Watch(\"dataItems\") dataItemsWatcher(data: items[] | string) {\n this._dataItems = typeof data === \"string\" ? JSON.parse(data) : data;\n }\n\n componentWillLoad() {\n this.dataItemsWatcher(this.dataItems);\n }\n\n render() {\n return (\n <Host>\n {this._dataItems.map((item) => {\n if (!item.service) return;\n const itemClasses = [\"open-hours__list-item\", item.today ? \"open-hours__list-item--today\" : \"\"].join(\" \");\n return (\n <div class={itemClasses}>\n <span class=\"open-hours__list-item--office\">{item.today ? item.today : item.dateLibrary}</span>\n <span class=\"open-hours__list-item--hours\">{item.building}</span>\n <span class=\"open-hours__list-item--service\">{item.service}</span>\n </div>\n );\n })}\n {this.selfServiceLabel && (\n <div class=\"open-hours__content__top\">\n <span class=\"open-hours__content__top-label\">{this.selfServiceLabel}</span>\n </div>\n )}\n {this._dataItems.map((item) => {\n if (item.service) return;\n const itemClasses = [\"open-hours__list-item\", item.today ? \"open-hours__list-item--today\" : \"\"].join(\" \");\n\n const hoursClasses = [\"open-hours__list-item--hours\", this.venueType].join(\" \");\n const officeClasses = [\"open-hours__list-item--office\", this.venueType].join(\" \");\n return (\n <div class={itemClasses}>\n <span class={officeClasses}>{item.today ? item.today : item.dateLibrary}</span>\n <span class={hoursClasses}>{item.building}</span>\n {this.venueType !== \"luomus\" && <span class=\"open-hours__list-item--service\">-</span>}\n </div>\n );\n })}\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-32830401.js');
|
|
6
|
+
const utils = require('./utils-bfc1127a.js');
|
|
7
|
+
|
|
8
|
+
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}";
|
|
9
|
+
|
|
10
|
+
const HyPager = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
}
|
|
14
|
+
render() {
|
|
15
|
+
const classAttributes = ["hy-pager"].join(" ");
|
|
16
|
+
return (index.h("ul", { class: classAttributes }, index.h("slot", null)));
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
HyPager.style = hyPagerCss;
|
|
20
|
+
|
|
21
|
+
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)}";
|
|
22
|
+
|
|
23
|
+
const HyPagerItem = class {
|
|
24
|
+
constructor(hostRef) {
|
|
25
|
+
index.registerInstance(this, hostRef);
|
|
26
|
+
this.variant = utils.PaginationItemVariants.default;
|
|
27
|
+
this.itemLabel = undefined;
|
|
28
|
+
this.itemUrl = undefined;
|
|
29
|
+
this.scAriaLabel = undefined;
|
|
30
|
+
}
|
|
31
|
+
render() {
|
|
32
|
+
let classAttributes = ["hy-pager__item"].join(" ");
|
|
33
|
+
switch (this.variant) {
|
|
34
|
+
case utils.PaginationItemVariants.current: {
|
|
35
|
+
classAttributes = ["hy-pager__item", "hy-pager__item__current"].join(" ");
|
|
36
|
+
return (index.h("li", { class: classAttributes }, index.h("a", { href: this.itemUrl, "aria-current": "true" }, this.itemLabel)));
|
|
37
|
+
}
|
|
38
|
+
case utils.PaginationItemVariants.next: {
|
|
39
|
+
classAttributes = ["hy-pager__item", "hy-pager__item__next"].join(" ");
|
|
40
|
+
const iconClassAttributes = ["link-icon"].join(" ");
|
|
41
|
+
return (index.h("li", { class: classAttributes }, index.h("a", { href: this.itemUrl, "aria-label": this.scAriaLabel }, this.itemLabel, index.h("span", { class: "hy-icon-wrapper" }, index.h("div", { class: iconClassAttributes }, index.h("hy-icon", { icon: "hy-icon-arrow-to-right", size: 12 }))))));
|
|
42
|
+
}
|
|
43
|
+
case utils.PaginationItemVariants.previous: {
|
|
44
|
+
classAttributes = ["hy-pager__item", "hy-pager__item__previous"].join(" ");
|
|
45
|
+
const iconClassAttributes = ["link-icon"].join(" ");
|
|
46
|
+
return (index.h("li", { class: classAttributes }, index.h("a", { href: this.itemUrl, "aria-label": this.scAriaLabel }, index.h("span", { class: "hy-icon-wrapper" }, index.h("div", { class: iconClassAttributes }, index.h("hy-icon", { icon: "hy-icon-arrow-left", size: 12 }))), this.itemLabel)));
|
|
47
|
+
}
|
|
48
|
+
case utils.PaginationItemVariants.ellipsis: {
|
|
49
|
+
classAttributes = ["hy-pager__item", "hy-pager__item__ellipsis"].join(" ");
|
|
50
|
+
return index.h("li", { class: classAttributes }, "...");
|
|
51
|
+
}
|
|
52
|
+
default: {
|
|
53
|
+
classAttributes = ["hy-pager__item"].join(" ");
|
|
54
|
+
return (index.h("li", { class: classAttributes }, index.h("a", { href: this.itemUrl, "aria-label": this.scAriaLabel }, this.itemLabel)));
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
HyPagerItem.style = hyPagerItemCss;
|
|
60
|
+
|
|
61
|
+
exports.hy_pager = HyPager;
|
|
62
|
+
exports.hy_pager_item = HyPagerItem;
|
|
63
|
+
|
|
64
|
+
//# sourceMappingURL=hy-pager_2.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"hy-pager.hy-pager-item.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,UAAU,GAAG,+jDAA+jD;;MCOrkD,OAAO;;;;EAClB,MAAM;IACJ,MAAM,eAAe,GAAG,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAE/C,QACEA,gBAAI,KAAK,EAAE,eAAe,IACxBA,qBAAa,CACV,EACL;GACH;;;;AChBH,MAAM,cAAc,GAAG,m6GAAm6G;;MCQ76G,WAAW;;;mBACoBC,4BAAsB,CAAC,OAAO;;;;;EAKxE,MAAM;IACJ,IAAI,eAAe,GAAG,CAAC,gBAAgB,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACnD,QAAQ,IAAI,CAAC,OAAO;MAClB,KAAKA,4BAAsB,CAAC,OAAO,EAAE;QACnC,eAAe,GAAG,CAAC,gBAAgB,EAAE,yBAAyB,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC1E,QACED,gBAAI,KAAK,EAAE,eAAe,IACxBA,eAAG,IAAI,EAAE,IAAI,CAAC,OAAO,kBAAe,MAAM,IACvC,IAAI,CAAC,SAAS,CACb,CACD,EACL;OACH;MACD,KAAKC,4BAAsB,CAAC,IAAI,EAAE;QAChC,eAAe,GAAG,CAAC,gBAAgB,EAAE,sBAAsB,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACvE,MAAM,mBAAmB,GAAG,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACpD,QACED,gBAAI,KAAK,EAAE,eAAe,IACxBA,eAAG,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAc,IAAI,CAAC,WAAW,IAChD,IAAI,CAAC,SAAS,EACfA,kBAAM,KAAK,EAAE,iBAAiB,IAC5BA,iBAAK,KAAK,EAAE,mBAAmB,IAC7BA,qBAAS,IAAI,EAAE,wBAAwB,EAAE,IAAI,EAAE,EAAE,GAAI,CACjD,CACD,CACL,CACD,EACL;OACH;MACD,KAAKC,4BAAsB,CAAC,QAAQ,EAAE;QACpC,eAAe,GAAG,CAAC,gBAAgB,EAAE,0BAA0B,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC3E,MAAM,mBAAmB,GAAG,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACpD,QACED,gBAAI,KAAK,EAAE,eAAe,IACxBA,eAAG,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAc,IAAI,CAAC,WAAW,IACjDA,kBAAM,KAAK,EAAE,iBAAiB,IAC5BA,iBAAK,KAAK,EAAE,mBAAmB,IAC7BA,qBAAS,IAAI,EAAE,oBAAoB,EAAE,IAAI,EAAE,EAAE,GAAI,CAC7C,CACD,EACN,IAAI,CAAC,SAAS,CACb,CACD,EACL;OACH;MACD,KAAKC,4BAAsB,CAAC,QAAQ,EAAE;QACpC,eAAe,GAAG,CAAC,gBAAgB,EAAE,0BAA0B,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC3E,OAAOD,gBAAI,KAAK,EAAE,eAAe,UAAU,CAAC;OAC7C;MACD,SAAS;QACP,eAAe,GAAG,CAAC,gBAAgB,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC/C,QACEA,gBAAI,KAAK,EAAE,eAAe,IACxBA,eAAG,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAc,IAAI,CAAC,WAAW,IAChD,IAAI,CAAC,SAAS,CACb,CACD,EACL;OACH;KACF;GACF;;;;;;;","names":["h","PaginationItemVariants"],"sources":["./src/components/hy-pagination/hy-pager/hy-pager.scss?tag=hy-pager&encapsulation=shadow","./src/components/hy-pagination/hy-pager/hy-pager.tsx","./src/components/hy-pagination/hy-pager-item/hy-pager-item.scss?tag=hy-pager-item&encapsulation=shadow","./src/components/hy-pagination/hy-pager-item/hy-pager-item.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n.hy-pager {\n align-items: center;\n display: flex;\n justify-content: center;\n flex-direction: row;\n flex-wrap: wrap;\n font-family: var(--main-font-family);\n list-style: none;\n padding: 0;\n}\n","import {Component, h} from \"@stencil/core\";\n\n@Component({\n tag: \"hy-pager\",\n styleUrl: \"hy-pager.scss\",\n shadow: true,\n})\nexport class HyPager {\n render() {\n const classAttributes = [\"hy-pager\"].join(\" \");\n\n return (\n <ul class={classAttributes}>\n <slot></slot>\n </ul>\n );\n }\n}\n",":host {\n display: block;\n}\n\n.hy-pager__item {\n @include font-size(14px, 24px);\n @include font-weight($bold);\n align-items: center;\n background-color: var(--brand-main-light);\n color: var(--grayscale-white);\n display: flex;\n flex-direction: row;\n font-family: var(--main-font-family);\n justify-content: center;\n letter-spacing: -0.4px;\n margin-bottom: 4px;\n margin-right: 4px;\n min-height: 36px;\n min-width: 36px;\n text-align: center;\n\n @include breakpoint($wide) {\n margin-right: 6px;\n min-height: 40px;\n min-width: 40px;\n }\n\n a {\n @include font-size(14px, 24px);\n @include font-weight($bold);\n align-items: center;\n color: var(--grayscale-white);\n display: flex;\n flex-direction: row;\n justify-content: center;\n letter-spacing: -0.4px;\n min-height: 36px;\n min-width: 36px;\n text-decoration: none;\n\n @include breakpoint($wide) {\n @include font-size(16px, 24px);\n letter-spacing: -0.5px;\n min-height: 40px;\n min-width: 40px;\n }\n\n &:not([aria-current=\"true\"]):hover {\n background-color: var(--brand-main);\n cursor: pointer;\n }\n }\n\n &__current {\n background-color: var(--grayscale-white);\n box-sizing: border-box;\n border: 2px solid var(--grayscale-black);\n a {\n color: var(--brand-main-nearly-black);\n &:hover {\n background-color: var(--grayscale-white);\n }\n }\n }\n\n &__ellipsis {\n background-color: var(--grayscale-white);\n color: var(--brand-main-nearly-black);\n min-width: auto;\n min-height: auto;\n }\n\n &__next,\n &__previous {\n a {\n padding: 7px 12px 5px 12px;\n\n @include breakpoint($wide) {\n padding: 8px 12px;\n }\n }\n\n .hy-icon-wrapper {\n margin: 0 4px;\n @include breakpoint($wide) {\n margin: 0 6px;\n }\n\n svg {\n fill: var(--grayscale-white);\n }\n }\n }\n}\n","import {Component, h, Prop} from \"@stencil/core\";\nimport {PaginationItemVariants} from \"../../../utils/utils\";\n\n@Component({\n tag: \"hy-pager-item\",\n styleUrl: \"hy-pager-item.scss\",\n shadow: true,\n})\nexport class HyPagerItem {\n @Prop() variant: PaginationItemVariants = PaginationItemVariants.default;\n @Prop() itemLabel?: string;\n @Prop() itemUrl?: string;\n @Prop() scAriaLabel?: string;\n\n render() {\n let classAttributes = [\"hy-pager__item\"].join(\" \");\n switch (this.variant) {\n case PaginationItemVariants.current: {\n classAttributes = [\"hy-pager__item\", \"hy-pager__item__current\"].join(\" \");\n return (\n <li class={classAttributes}>\n <a href={this.itemUrl} aria-current=\"true\">\n {this.itemLabel}\n </a>\n </li>\n );\n }\n case PaginationItemVariants.next: {\n classAttributes = [\"hy-pager__item\", \"hy-pager__item__next\"].join(\" \");\n const iconClassAttributes = [\"link-icon\"].join(\" \");\n return (\n <li class={classAttributes}>\n <a href={this.itemUrl} aria-label={this.scAriaLabel}>\n {this.itemLabel}\n <span class={\"hy-icon-wrapper\"}>\n <div class={iconClassAttributes}>\n <hy-icon icon={\"hy-icon-arrow-to-right\"} size={12} />\n </div>\n </span>\n </a>\n </li>\n );\n }\n case PaginationItemVariants.previous: {\n classAttributes = [\"hy-pager__item\", \"hy-pager__item__previous\"].join(\" \");\n const iconClassAttributes = [\"link-icon\"].join(\" \");\n return (\n <li class={classAttributes}>\n <a href={this.itemUrl} aria-label={this.scAriaLabel}>\n <span class={\"hy-icon-wrapper\"}>\n <div class={iconClassAttributes}>\n <hy-icon icon={\"hy-icon-arrow-left\"} size={12} />\n </div>\n </span>\n {this.itemLabel}\n </a>\n </li>\n );\n }\n case PaginationItemVariants.ellipsis: {\n classAttributes = [\"hy-pager__item\", \"hy-pager__item__ellipsis\"].join(\" \");\n return <li class={classAttributes}>...</li>;\n }\n default: {\n classAttributes = [\"hy-pager__item\"].join(\" \");\n return (\n <li class={classAttributes}>\n <a href={this.itemUrl} aria-label={this.scAriaLabel}>\n {this.itemLabel}\n </a>\n </li>\n );\n }\n }\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-32830401.js');
|
|
6
|
+
|
|
7
|
+
const paragraphTextContentCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}.hy-paragraph-text.content_page.external,.hy-paragraph-text.field_of_science.external{margin-top:24px}@media (min-width: 30rem){.hy-paragraph-text.content_page.external,.hy-paragraph-text.field_of_science.external{margin-top:16px}}@media (min-width: 60rem){.hy-paragraph-text.content_page.external,.hy-paragraph-text.field_of_science.external{margin-top:32px}}@media (min-width: 75.0625rem){.hy-paragraph-text.content_page.external.default,.hy-paragraph-text.field_of_science.external.default{margin-top:32px}}@media (min-width: 1601px){.hy-paragraph-text.content_page.external.default,.hy-paragraph-text.field_of_science.external.default{margin-top:40px}}@media (min-width: 75.0625rem){.hy-paragraph-text.content_page.external.large,.hy-paragraph-text.field_of_science.external.large{margin-top:40px}}@media (min-width: 1601px){.hy-paragraph-text.content_page.external.large,.hy-paragraph-text.field_of_science.external.large{margin-top:40px}}.hy-paragraph-text.content_page h3,.hy-paragraph-text.field_of_science h3{font-size:1.375rem;line-height:28px;letter-spacing:-0.7px;padding-bottom:12px;padding-top:24px}@media (min-width: 30rem){.hy-paragraph-text.content_page h3,.hy-paragraph-text.field_of_science h3{font-size:1.625rem;line-height:32px;letter-spacing:-0.8px;padding-bottom:12px;padding-top:28px}}@media (min-width: 60rem){.hy-paragraph-text.content_page h3,.hy-paragraph-text.field_of_science h3{padding-bottom:16px;padding-top:32px}}.hy-paragraph-text.content_page h4,.hy-paragraph-text.field_of_science h4{font-size:1.125rem;line-height:24px;letter-spacing:-0.56px;padding-bottom:12px;padding-top:24px}@media (min-width: 30rem){.hy-paragraph-text.content_page h4,.hy-paragraph-text.field_of_science h4{font-size:1.375rem;line-height:28px;letter-spacing:-0.69px;padding-bottom:12px;padding-top:28px}}@media (min-width: 60rem){.hy-paragraph-text.content_page h4,.hy-paragraph-text.field_of_science h4{padding-bottom:16px;padding-top:32px}}.hy-paragraph-text.content_page h5,.hy-paragraph-text.field_of_science h5{font-size:1rem;line-height:20px;letter-spacing:-0.5px;padding-bottom:12px;padding-top:24px}@media (min-width: 30rem){.hy-paragraph-text.content_page h5,.hy-paragraph-text.field_of_science h5{font-size:1.125rem;line-height:24px;letter-spacing:-0.56px;padding-bottom:12px;padding-top:28px}}@media (min-width: 60rem){.hy-paragraph-text.content_page h5,.hy-paragraph-text.field_of_science h5{padding-bottom:16px;padding-top:32px}}.hy-paragraph-text.content_page h6,.hy-paragraph-text.field_of_science h6{font-size:0.875rem;line-height:16px;letter-spacing:-0.44px;padding-bottom:12px;padding-top:24px}@media (min-width: 30rem){.hy-paragraph-text.content_page h6,.hy-paragraph-text.field_of_science h6{font-size:1rem;line-height:20px;letter-spacing:-0.5px;padding-bottom:12px;padding-top:28px}}@media (min-width: 60rem){.hy-paragraph-text.content_page h6,.hy-paragraph-text.field_of_science h6{padding-bottom:16px;padding-top:32px}}";
|
|
8
|
+
|
|
9
|
+
const defaultParagraphTextCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}.hy-paragraph-text.content_page.external,.hy-paragraph-text.field_of_science.external{margin-top:24px}@media (min-width: 30rem){.hy-paragraph-text.content_page.external,.hy-paragraph-text.field_of_science.external{margin-top:16px}}@media (min-width: 60rem){.hy-paragraph-text.content_page.external,.hy-paragraph-text.field_of_science.external{margin-top:32px}}@media (min-width: 75.0625rem){.hy-paragraph-text.content_page.external.default,.hy-paragraph-text.field_of_science.external.default{margin-top:32px}}@media (min-width: 1601px){.hy-paragraph-text.content_page.external.default,.hy-paragraph-text.field_of_science.external.default{margin-top:40px}}@media (min-width: 75.0625rem){.hy-paragraph-text.content_page.external.large,.hy-paragraph-text.field_of_science.external.large{margin-top:40px}}@media (min-width: 1601px){.hy-paragraph-text.content_page.external.large,.hy-paragraph-text.field_of_science.external.large{margin-top:40px}}.hy-paragraph-text.content_page h3,.hy-paragraph-text.field_of_science h3{font-size:1.375rem;line-height:28px;letter-spacing:-0.7px;padding-bottom:12px;padding-top:24px}@media (min-width: 30rem){.hy-paragraph-text.content_page h3,.hy-paragraph-text.field_of_science h3{font-size:1.625rem;line-height:32px;letter-spacing:-0.8px;padding-bottom:12px;padding-top:28px}}@media (min-width: 60rem){.hy-paragraph-text.content_page h3,.hy-paragraph-text.field_of_science h3{padding-bottom:16px;padding-top:32px}}.hy-paragraph-text.content_page h4,.hy-paragraph-text.field_of_science h4{font-size:1.125rem;line-height:24px;letter-spacing:-0.56px;padding-bottom:12px;padding-top:24px}@media (min-width: 30rem){.hy-paragraph-text.content_page h4,.hy-paragraph-text.field_of_science h4{font-size:1.375rem;line-height:28px;letter-spacing:-0.69px;padding-bottom:12px;padding-top:28px}}@media (min-width: 60rem){.hy-paragraph-text.content_page h4,.hy-paragraph-text.field_of_science h4{padding-bottom:16px;padding-top:32px}}.hy-paragraph-text.content_page h5,.hy-paragraph-text.field_of_science h5{font-size:1rem;line-height:20px;letter-spacing:-0.5px;padding-bottom:12px;padding-top:24px}@media (min-width: 30rem){.hy-paragraph-text.content_page h5,.hy-paragraph-text.field_of_science h5{font-size:1.125rem;line-height:24px;letter-spacing:-0.56px;padding-bottom:12px;padding-top:28px}}@media (min-width: 60rem){.hy-paragraph-text.content_page h5,.hy-paragraph-text.field_of_science h5{padding-bottom:16px;padding-top:32px}}.hy-paragraph-text.content_page h6,.hy-paragraph-text.field_of_science h6{font-size:0.875rem;line-height:16px;letter-spacing:-0.44px;padding-bottom:12px;padding-top:24px}@media (min-width: 30rem){.hy-paragraph-text.content_page h6,.hy-paragraph-text.field_of_science h6{font-size:1rem;line-height:20px;letter-spacing:-0.5px;padding-bottom:12px;padding-top:28px}}@media (min-width: 60rem){.hy-paragraph-text.content_page h6,.hy-paragraph-text.field_of_science h6{padding-bottom:16px;padding-top:32px}}.hy-paragraph-text.landing_page h3,.hy-paragraph-text.main_front_page h3{font-size:1.375rem;line-height:28px;letter-spacing:-0.7px;padding-bottom:12px;padding-top:32px}@media (min-width: 30rem){.hy-paragraph-text.landing_page h3,.hy-paragraph-text.main_front_page h3{font-size:1.625rem;line-height:32px;letter-spacing:-0.8px;padding-bottom:16px;padding-top:40px}}@media (min-width: 60rem){.hy-paragraph-text.landing_page h3,.hy-paragraph-text.main_front_page h3{padding-bottom:16px;padding-top:48px}}.hy-paragraph-text.landing_page h4,.hy-paragraph-text.main_front_page h4{font-size:1.125rem;line-height:24px;letter-spacing:-0.56px;padding-bottom:12px;padding-top:24px}@media (min-width: 30rem){.hy-paragraph-text.landing_page h4,.hy-paragraph-text.main_front_page h4{font-size:1.375rem;line-height:28px;letter-spacing:-0.69px;padding-bottom:16px;padding-top:32px}}@media (min-width: 60rem){.hy-paragraph-text.landing_page h4,.hy-paragraph-text.main_front_page h4{padding-bottom:16px;padding-top:40px}}.hy-paragraph-text.landing_page h5,.hy-paragraph-text.main_front_page h5{font-size:1rem;line-height:20px;letter-spacing:-0.5px;padding-bottom:12px;padding-top:24px}@media (min-width: 30rem){.hy-paragraph-text.landing_page h5,.hy-paragraph-text.main_front_page h5{font-size:1.125rem;line-height:24px;letter-spacing:-0.56px;padding-bottom:16px;padding-top:32px}}@media (min-width: 60rem){.hy-paragraph-text.landing_page h5,.hy-paragraph-text.main_front_page h5{padding-bottom:16px;padding-top:40px}}.hy-paragraph-text.landing_page h6,.hy-paragraph-text.main_front_page h6{font-size:0.875rem;line-height:16px;letter-spacing:-0.44px;padding-bottom:12px;padding-top:24px}@media (min-width: 30rem){.hy-paragraph-text.landing_page h6,.hy-paragraph-text.main_front_page h6{font-size:1rem;line-height:20px;letter-spacing:-0.5px;padding-bottom:16px;padding-top:32px}}@media (min-width: 60rem){.hy-paragraph-text.landing_page h6,.hy-paragraph-text.main_front_page h6{padding-bottom:16px;padding-top:40px}}:host{display:block}.hy-paragraph-text{font-size:0.9375rem;line-height:22px;color:var(--grayscale-dark-text);font-family:var(--main-font-family);letter-spacing:0;width:100%}@media (min-width: 30rem){.hy-paragraph-text{font-size:1rem;line-height:24px}}@media (min-width: 60rem){.hy-paragraph-text{width:91.46%}}@media (min-width: 1601px){.hy-paragraph-text{font-size:1.0625rem;line-height:26px;width:82.89%}}@media (min-width: 75.0625rem){.hy-paragraph-text__large{font-size:1.0625rem;line-height:26px;width:82.89%}}@media (min-width: 1601px){.hy-paragraph-text__large{width:74.17%}}@media (min-width: 60rem){.hy-paragraph-text.degree_programme_group{width:91.46%}}@media (min-width: 60rem){.hy-paragraph-text.main_front_page,.hy-paragraph-text.landing_page,.hy-paragraph-text.faculty,.hy-paragraph-text.generic_site_group,.hy-paragraph-text.degree_programme_group,.hy-paragraph-text.research_group{width:100%}}.hy-paragraph-text h1,.hy-paragraph-text h2,.hy-paragraph-text h3,.hy-paragraph-text h4,.hy-paragraph-text h5,.hy-paragraph-text h6{color:var(--grayscale-black);font-family:var(--main-font-family);font-weight:700;margin:0;width:100%}.hy-paragraph-text h1.negative,.hy-paragraph-text h2.negative,.hy-paragraph-text h3.negative,.hy-paragraph-text h4.negative,.hy-paragraph-text h5.negative,.hy-paragraph-text h6.negative{color:var(--grayscale-white)}.hy-paragraph-text a{font-size:0.875rem;line-height:20px;color:var(--link-blue);font-family:var(--main-font-family);font-weight:600}@media (min-width: 30rem){.hy-paragraph-text a{font-size:1rem;line-height:24px;letter-spacing:-0.1px}}@media (min-width: 1601px){.hy-paragraph-text a{font-size:1.0625rem;line-height:26px}}.hy-paragraph-text a:hover{color:var(--brand-main)}.hy-paragraph-text a[target=_blank]:after{display:inline-block;vertical-align:middle;width:12px;height:12px;margin-left:3px;background-size:contain;content:\"\";background-image:url(\"data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 30 29' fill='rgb(4,121,165)'> <polygon points='29.207 13.783 14.756 .717 14.055 0 11.402 3.118 10.732 3.835 19.665 11.974 0 11.974 0 17.026 19.756 17.026 11.494 24.447 10.823 25.071 11.402 25.882 13.476 28.189 14.055 29 30 14.594' /> </svg>\");-webkit-transform:rotate(315deg);transform:rotate(315deg)}.hy-paragraph-text a[target=_blank]:after:hover{background-image:url(\"data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 30 29' fill='pink'> <polygon points='29.207 13.783 14.756 .717 14.055 0 11.402 3.118 10.732 3.835 19.665 11.974 0 11.974 0 17.026 19.756 17.026 11.494 24.447 10.823 25.071 11.402 25.882 13.476 28.189 14.055 29 30 14.594' /> </svg>\")}.hy-paragraph-text a[target=_blank]:hover:after{background-image:url(\"data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 30 29' fill='rgb(14,104,139)'> <polygon points='29.207 13.783 14.756 .717 14.055 0 11.402 3.118 10.732 3.835 19.665 11.974 0 11.974 0 17.026 19.756 17.026 11.494 24.447 10.823 25.071 11.402 25.882 13.476 28.189 14.055 29 30 14.594' /> </svg>\")}.hy-paragraph-text p{margin-top:0;padding-top:0}.hy-paragraph-text p:last-of-type{margin-bottom:0}.hy-paragraph-text:first-child{margin-top:0 !important}hy-paragraph-text+hy-link-list{display:block;margin-top:32px}";
|
|
10
|
+
|
|
11
|
+
const paragraphTextLandingCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}.hy-paragraph-text.landing_page h3,.hy-paragraph-text.main_front_page h3{font-size:1.375rem;line-height:28px;letter-spacing:-0.7px;padding-bottom:12px;padding-top:32px}@media (min-width: 30rem){.hy-paragraph-text.landing_page h3,.hy-paragraph-text.main_front_page h3{font-size:1.625rem;line-height:32px;letter-spacing:-0.8px;padding-bottom:16px;padding-top:40px}}@media (min-width: 60rem){.hy-paragraph-text.landing_page h3,.hy-paragraph-text.main_front_page h3{padding-bottom:16px;padding-top:48px}}.hy-paragraph-text.landing_page h4,.hy-paragraph-text.main_front_page h4{font-size:1.125rem;line-height:24px;letter-spacing:-0.56px;padding-bottom:12px;padding-top:24px}@media (min-width: 30rem){.hy-paragraph-text.landing_page h4,.hy-paragraph-text.main_front_page h4{font-size:1.375rem;line-height:28px;letter-spacing:-0.69px;padding-bottom:16px;padding-top:32px}}@media (min-width: 60rem){.hy-paragraph-text.landing_page h4,.hy-paragraph-text.main_front_page h4{padding-bottom:16px;padding-top:40px}}.hy-paragraph-text.landing_page h5,.hy-paragraph-text.main_front_page h5{font-size:1rem;line-height:20px;letter-spacing:-0.5px;padding-bottom:12px;padding-top:24px}@media (min-width: 30rem){.hy-paragraph-text.landing_page h5,.hy-paragraph-text.main_front_page h5{font-size:1.125rem;line-height:24px;letter-spacing:-0.56px;padding-bottom:16px;padding-top:32px}}@media (min-width: 60rem){.hy-paragraph-text.landing_page h5,.hy-paragraph-text.main_front_page h5{padding-bottom:16px;padding-top:40px}}.hy-paragraph-text.landing_page h6,.hy-paragraph-text.main_front_page h6{font-size:0.875rem;line-height:16px;letter-spacing:-0.44px;padding-bottom:12px;padding-top:24px}@media (min-width: 30rem){.hy-paragraph-text.landing_page h6,.hy-paragraph-text.main_front_page h6{font-size:1rem;line-height:20px;letter-spacing:-0.5px;padding-bottom:16px;padding-top:32px}}@media (min-width: 60rem){.hy-paragraph-text.landing_page h6,.hy-paragraph-text.main_front_page h6{padding-bottom:16px;padding-top:40px}}";
|
|
12
|
+
|
|
13
|
+
const ParagraphText = class {
|
|
14
|
+
constructor(hostRef) {
|
|
15
|
+
index.registerInstance(this, hostRef);
|
|
16
|
+
this.variant = undefined;
|
|
17
|
+
this.placement = "internal";
|
|
18
|
+
this.headerstyle = "default";
|
|
19
|
+
}
|
|
20
|
+
componentDidLoad() {
|
|
21
|
+
let hyMainDiv = this.el.closest(".hy-main");
|
|
22
|
+
if (hyMainDiv) {
|
|
23
|
+
if (!hyMainDiv.classList.contains("with-sidebar")) {
|
|
24
|
+
this.headerstyle = "large";
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
render() {
|
|
29
|
+
const classAttributes = [
|
|
30
|
+
"hy-paragraph-text",
|
|
31
|
+
`hy-paragraph-text__${this.headerstyle}`,
|
|
32
|
+
`${this.variant}`,
|
|
33
|
+
`${this.placement}`,
|
|
34
|
+
`${this.headerstyle}`,
|
|
35
|
+
].join(" ");
|
|
36
|
+
return (index.h(index.Host, null, index.h("div", { class: classAttributes }, index.h("slot", null))));
|
|
37
|
+
}
|
|
38
|
+
get el() { return index.getElement(this); }
|
|
39
|
+
};
|
|
40
|
+
ParagraphText.style = {
|
|
41
|
+
content: paragraphTextContentCss,
|
|
42
|
+
default: defaultParagraphTextCss,
|
|
43
|
+
landing: paragraphTextLandingCss
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
exports.hy_paragraph_text = ParagraphText;
|
|
47
|
+
|
|
48
|
+
//# sourceMappingURL=hy-paragraph-text.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"hy-paragraph-text.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,uBAAuB,GAAG,yiIAAyiI;;ACAzkI,MAAM,uBAAuB,GAAG,8wSAA8wS;;ACA9yS,MAAM,uBAAuB,GAAG,6mGAA6mG;;MCWhoG,aAAa;;;;qBAEI,UAAU;uBACR,SAAS;;EAGvC,gBAAgB;IACd,IAAI,SAAS,GAAG,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IAC5C,IAAI,SAAS,EAAE;MACb,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE;QACjD,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC;OAC5B;KACF;GACF;EAED,MAAM;IACJ,MAAM,eAAe,GAAG;MACtB,mBAAmB;MACnB,sBAAsB,IAAI,CAAC,WAAW,EAAE;MACxC,GAAG,IAAI,CAAC,OAAO,EAAE;MACjB,GAAG,IAAI,CAAC,SAAS,EAAE;MACnB,GAAG,IAAI,CAAC,WAAW,EAAE;KACtB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAEZ,QACEA,QAACC,UAAI,QACHD,iBAAK,KAAK,EAAE,eAAe,IACzBA,qBAAa,CACT,CACD,EACP;GACH;;;;;;;;;;;","names":["h","Host"],"sources":["./src/components/hy-paragraph-text/paragraph-text-content.scss?tag=hy-paragraph-text&mode=content","./src/components/hy-paragraph-text/paragraph-text.scss?tag=hy-paragraph-text&mode=default","./src/components/hy-paragraph-text/paragraph-text-landing.scss?tag=hy-paragraph-text&mode=landing","./src/components/hy-paragraph-text/paragraph-text.tsx"],"sourcesContent":["//overrides for Content pages\n\n/*\n* Common styles for text plus mobile & tablet & small desktop\n* in Content Pages and Field of science pages.\n*/\n.hy-paragraph-text.content_page.external,\n.hy-paragraph-text.field_of_science.external {\n margin-top: 24px; //total gap between heading h2 and paragraph content is 48px\n\n @include breakpoint($narrow) {\n margin-top: 16px; //total gap 40px\n }\n @include breakpoint($wide) {\n margin-top: 32px; //total gap 56px\n }\n}\n\n// There is a sidebar on the Content page\n.hy-paragraph-text.content_page.external.default,\n.hy-paragraph-text.field_of_science.external.default {\n @include breakpoint($extrawide) {\n margin-top: 32px; //total gap 56px\n }\n @include breakpoint($xlarge) {\n margin-top: 40px; //total gap 64px\n }\n}\n\n// No sidebar on the Content page\n.hy-paragraph-text.content_page.external.large,\n.hy-paragraph-text.field_of_science.external.large {\n @include breakpoint($extrawide) {\n margin-top: 40px; //total gap 64px\n }\n @include breakpoint($xlarge) {\n margin-top: 40px; //total gap 64px\n }\n}\n\n.hy-paragraph-text.content_page,\n.hy-paragraph-text.field_of_science {\n h3 {\n // text H3 small\n @include font-size(22px, 28px);\n letter-spacing: -0.7px;\n\n padding-bottom: 12px;\n padding-top: 24px;\n\n @include breakpoint($narrow) {\n // text H3 Medium size\n @include font-size(26px, 32px);\n letter-spacing: -0.8px;\n\n padding-bottom: 12px;\n padding-top: 28px;\n }\n\n @include breakpoint($wide) {\n padding-bottom: 16px;\n padding-top: 32px;\n }\n }\n\n h4 {\n // text H4 small\n @include font-size(18px, 24px);\n letter-spacing: -0.56px;\n\n padding-bottom: 12px;\n padding-top: 24px;\n\n @include breakpoint($narrow) {\n // text H4 Medium size\n @include font-size(22px, 28px);\n letter-spacing: -0.69px;\n\n padding-bottom: 12px;\n padding-top: 28px;\n }\n\n @include breakpoint($wide) {\n padding-bottom: 16px;\n padding-top: 32px;\n }\n }\n\n h5 {\n // text H5 small\n @include font-size(16px, 20px);\n letter-spacing: -0.5px;\n\n padding-bottom: 12px;\n padding-top: 24px;\n\n @include breakpoint($narrow) {\n // text H5 Medium size\n @include font-size(18px, 24px);\n letter-spacing: -0.56px;\n\n padding-bottom: 12px;\n padding-top: 28px;\n }\n\n @include breakpoint($wide) {\n padding-bottom: 16px;\n padding-top: 32px;\n }\n }\n\n h6 {\n // text H6 small\n @include font-size(14px, 16px);\n letter-spacing: -0.44px;\n\n padding-bottom: 12px;\n padding-top: 24px;\n\n @include breakpoint($narrow) {\n // text H6 Medium size\n @include font-size(16px, 20px);\n letter-spacing: -0.5px;\n\n padding-bottom: 12px;\n padding-top: 28px;\n }\n\n @include breakpoint($wide) {\n padding-bottom: 16px;\n padding-top: 32px;\n }\n }\n}\n","@import \"./paragraph-text-content.scss\";\n@import \"./paragraph-text-landing.scss\";\n\n:host {\n display: block;\n}\n\n// General styles for text paragraph\n.hy-paragraph-text {\n @include font-size(15px, 22px); // Paragraph Small size\n color: var(--grayscale-dark-text);\n font-family: var(--main-font-family);\n letter-spacing: 0;\n width: 100%;\n\n @include breakpoint($narrow) {\n @include font-size(16px, 24px); // Paragraph Medium size\n }\n @include breakpoint($wide) {\n width: 91.46%; // 11 col\n }\n @include breakpoint($xlarge) {\n @include font-size(17px, 26px); // Paragraph Large size\n width: 82.89%; // 10 col\n }\n\n &__large {\n @include breakpoint($extrawide) {\n @include font-size(17px, 26px); // Paragraph Large size\n width: 82.89%; // 10 col\n }\n @include breakpoint($xlarge) {\n width: 74.17%; // 9 col\n }\n }\n\n &.degree_programme_group {\n @include breakpoint($wide) {\n width: 91.46%; // 11 col\n }\n }\n\n &.main_front_page,\n &.landing_page,\n &.faculty,\n &.generic_site_group,\n &.degree_programme_group,\n &.research_group {\n @include breakpoint($wide) {\n width: 100%;\n }\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n color: var(--grayscale-black);\n font-family: var(--main-font-family);\n font-weight: 700;\n margin: 0;\n width: 100%;\n\n &.negative {\n color: var(--grayscale-white);\n }\n }\n\n // link within paragraph (Open sans semibold)\n a {\n @include font-size(14px, 20px); // Paragraph Small size\n color: var(--link-blue);\n font-family: var(--main-font-family);\n font-weight: 600;\n\n @include breakpoint($narrow) {\n @include font-size(16px, 24px);\n letter-spacing: -0.1px;\n }\n\n @include breakpoint($xlarge) {\n @include font-size(17px, 26px); // Paragraph Large size\n }\n\n &:hover {\n color: var(--brand-main);\n }\n }\n\n a[target=\"_blank\"]:after {\n display: inline-block;\n vertical-align: middle;\n width: 12px;\n height: 12px;\n margin-left: 3px;\n background-size: contain;\n content: \"\";\n background-image: url(\"data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 30 29' fill='rgb(4,121,165)'> <polygon points='29.207 13.783 14.756 .717 14.055 0 11.402 3.118 10.732 3.835 19.665 11.974 0 11.974 0 17.026 19.756 17.026 11.494 24.447 10.823 25.071 11.402 25.882 13.476 28.189 14.055 29 30 14.594' /> </svg>\");\n transform: rotate(315deg);\n\n &:hover {\n background-image: url(\"data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 30 29' fill='pink'> <polygon points='29.207 13.783 14.756 .717 14.055 0 11.402 3.118 10.732 3.835 19.665 11.974 0 11.974 0 17.026 19.756 17.026 11.494 24.447 10.823 25.071 11.402 25.882 13.476 28.189 14.055 29 30 14.594' /> </svg>\");\n }\n }\n\n a[target=\"_blank\"]:hover {\n &:after {\n background-image: url(\"data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 30 29' fill='rgb(14,104,139)'> <polygon points='29.207 13.783 14.756 .717 14.055 0 11.402 3.118 10.732 3.835 19.665 11.974 0 11.974 0 17.026 19.756 17.026 11.494 24.447 10.823 25.071 11.402 25.882 13.476 28.189 14.055 29 30 14.594' /> </svg>\");\n }\n }\n\n p {\n margin-top: 0;\n padding-top: 0;\n\n &:last-of-type {\n margin-bottom: 0;\n }\n }\n\n // When hy-paragraph-text is the first child it will not add spacing to top. Will fix heading + text spacing issue.\n &:first-child {\n margin-top: 0 !important;\n }\n}\n\nhy-paragraph-text + hy-link-list {\n display: block;\n margin-top: 32px;\n}\n","//overrides for Landing pages and Front page\n\n// Common styles for text plus mobile & tablet & small desktop in Landing Pages\n.hy-paragraph-text.landing_page,\n.hy-paragraph-text.main_front_page {\n h3 {\n // text H3 small\n @include font-size(22px, 28px);\n letter-spacing: -0.7px;\n\n padding-bottom: 12px;\n padding-top: 32px;\n\n @include breakpoint($narrow) {\n // text H3 Medium size\n @include font-size(26px, 32px);\n letter-spacing: -0.8px;\n\n padding-bottom: 16px;\n padding-top: 40px;\n }\n\n @include breakpoint($wide) {\n padding-bottom: 16px;\n padding-top: 48px;\n }\n }\n\n h4 {\n // text H4 small\n @include font-size(18px, 24px);\n letter-spacing: -0.56px;\n\n padding-bottom: 12px;\n padding-top: 24px;\n\n @include breakpoint($narrow) {\n // text H4 Medium size\n @include font-size(22px, 28px);\n letter-spacing: -0.69px;\n\n padding-bottom: 16px;\n padding-top: 32px;\n }\n\n @include breakpoint($wide) {\n padding-bottom: 16px;\n padding-top: 40px;\n }\n }\n\n h5 {\n // text H5 small\n @include font-size(16px, 20px);\n letter-spacing: -0.5px;\n\n padding-bottom: 12px;\n padding-top: 24px;\n\n @include breakpoint($narrow) {\n // text H5 Medium size\n @include font-size(18px, 24px);\n letter-spacing: -0.56px;\n\n padding-bottom: 16px;\n padding-top: 32px;\n }\n\n @include breakpoint($wide) {\n padding-bottom: 16px;\n padding-top: 40px;\n }\n }\n\n h6 {\n // text H6 small\n @include font-size(14px, 16px);\n letter-spacing: -0.44px;\n\n padding-bottom: 12px;\n padding-top: 24px;\n\n @include breakpoint($narrow) {\n // text H6 Medium size\n @include font-size(16px, 20px);\n letter-spacing: -0.5px;\n\n padding-bottom: 16px;\n padding-top: 32px;\n }\n\n @include breakpoint($wide) {\n padding-bottom: 16px;\n padding-top: 40px;\n }\n }\n}\n","import {Component, Element, h, Host, Prop} from \"@stencil/core\";\n\n@Component({\n tag: \"hy-paragraph-text\",\n styleUrls: {\n default: \"paragraph-text.scss\",\n content: \"paragraph-text-content.scss\",\n landing: \"paragraph-text-landing.scss\",\n },\n shadow: false,\n})\nexport class ParagraphText {\n @Prop() variant: string;\n @Prop() placement: string = \"internal\";\n @Prop() headerstyle: string = \"default\";\n @Element() el: HTMLElement;\n\n componentDidLoad() {\n let hyMainDiv = this.el.closest(\".hy-main\");\n if (hyMainDiv) {\n if (!hyMainDiv.classList.contains(\"with-sidebar\")) {\n this.headerstyle = \"large\";\n }\n }\n }\n\n render() {\n const classAttributes = [\n \"hy-paragraph-text\",\n `hy-paragraph-text__${this.headerstyle}`,\n `${this.variant}`,\n `${this.placement}`,\n `${this.headerstyle}`,\n ].join(\" \");\n\n return (\n <Host>\n <div class={classAttributes}>\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|