@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 @@
|
|
|
1
|
+
{"version":3,"file":"accordion-container.js","sourceRoot":"","sources":["../../../src/components/hy-accordion-container/accordion-container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AAOvD,MAAM,OAAO,kBAAkB;;;;EAG7B;;;;;;;IAOE;EAEF,MAAM;IACJ,MAAM,eAAe,GAAG,CAAC,wBAAwB,EAAE,iBAAiB,CAAC,CAAC;IACtE,MAAM,EAAE,GAAG,IAAI,CAAC,WAAW,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IAC9D,OAAO,CACL,EAAC,IAAI;MACH,WAAK,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,eAAe,CAAC,IAAI,CAAC,GAAG,CAAC,yBAAsB,MAAM,uBAAmB,MAAM;QAChG,eAAa,CACT;MACN,cAAQ,EAAE,EAAC,oBAAoB,GAAG,CAC7B,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Prop, h, Host} from \"@stencil/core\";\n\n@Component({\n tag: \"hy-accordion-container\",\n styleUrl: \"accordion-container.scss\",\n shadow: false,\n})\nexport class AccordionContainer {\n @Prop() accordionid?: string;\n\n /*\n * data-allow-toggle\n Allow for each toggle to both open and close individually\n\n data-allow-multiple\n Allow for multiple accordion sections to be expanded at the same time.\n Assumes data-allow-toggle otherwise you would not be able to close any of the accordions\n */\n\n render() {\n const classAttributes = [\"hy-accordion-container\", \"js-hy-accordion\"];\n const id = this.accordionid.toLowerCase().replace(/\\W/g, \"-\");\n return (\n <Host>\n <div id={id} class={classAttributes.join(\" \")} data-allow-multiple=\"true\" data-allow-toggle=\"true\">\n <slot></slot>\n </div>\n <hy-box mb=\"1.75, 1.75, 2, 2.5\" />\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accordion-container.spec.js","sourceRoot":"","sources":["../../../src/components/hy-accordion-container/accordion-container.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kBAAkB,EAAC,MAAM,uBAAuB,CAAC;AAEzD,QAAQ,CAAC,wBAAwB,EAAE,GAAG,EAAE;EACtC,EAAE,CAAC,QAAQ,EAAE,GAAG,EAAE;IAChB,MAAM,CAAC,IAAI,kBAAkB,EAAE,CAAC,CAAC,UAAU,EAAE,CAAC;EAChD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import {AccordionContainer} from \"./accordion-container\";\n\ndescribe(\"hy-accordion-container\", () => {\n it(\"builds\", () => {\n expect(new AccordionContainer()).toBeTruthy();\n });\n});\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accordion-item.js","sourceRoot":"","sources":["../../../src/components/hy-accordion-item/accordion-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,MAAM,EAAE,IA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AAW,EAC3B,IAAI,EAAC,QAAQ,iBACA,UAAU,oBACP,aAAa,EAC7B,KAAK,EAAE,EAAC,OAAO,EAAE,MAAM,EAAC;UAExB,WAAK,KAAK,EAAE,wBAAwB;YAClC,eAAa,CACT,CACF,CACF,CACF,CACP,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Listen, Prop, State, Element, h} from \"@stencil/core\";\nimport {AccordionVariants} from \"../../utils/utils\";\n\nlet keys = {\n enter: \"Enter\", //13\n tab: \"Tab\", //9\n pageUp: \"PageUp\", //33\n pageDown: \"PageDown\", //34\n arrowUp: \"ArrowUp\", // 38\n arrowDown: \"ArrowDown\", //40\n home: \"Home\", //36\n end: \"End\", //35\n};\n\n@Component({\n tag: \"hy-accordion-item\",\n styleUrl: \"accordion-item.scss\",\n shadow: false,\n})\nexport class AccordionItem {\n @Element() el: HTMLElement;\n @Prop() accordiontitle?: string;\n @Prop() variant: AccordionVariants = AccordionVariants.default;\n @Prop() headerstyle: string = \"common\";\n @Prop() showOpen: boolean = false;\n @State() ready: boolean = false;\n\n componentDidLoad() {\n this.ready = true;\n\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 componentDidRender() {\n if (window.location.hash) {\n this.expandPanelByAnchor(window.location.hash);\n }\n\n document.querySelectorAll(\".hy-accordion__content\").forEach(function (accordion) {\n let showOpen = accordion.classList.contains(\"open\");\n let element = accordion as HTMLElement;\n if (showOpen) {\n element.style.display = \"block\";\n element.style.height = element.scrollHeight + \"px\";\n } else {\n element.style.height = 0 + \"px\";\n element.style.display = \"none\";\n }\n });\n }\n\n @Listen(\"hashchange\", {target: \"window\"})\n onHashChange() {\n if (window.location.hash) {\n this.expandPanelByAnchor(window.location.hash);\n }\n }\n\n @Listen(\"keydown\")\n handleKeyDown(event: KeyboardEvent) {\n const containerId = this.el.parentElement.id;\n let accordion = document.querySelectorAll(`#${containerId}`)[0];\n\n const triggers = Array.prototype.slice.call(accordion.querySelectorAll(\".hy-accordion__button\"));\n let target = event.target as HTMLButtonElement;\n const key = event.code;\n\n const ctrlModifier = event.ctrlKey && [keys.pageDown, keys.pageUp].includes(key); //key.match(/33|34/);\n\n if (target.classList.contains(\"hy-accordion__button\")) {\n // Up/ Down arrow and Control + Page Up/ Page Down keyboard operations\n if ([keys.arrowDown, keys.arrowUp].includes(key) || ctrlModifier) {\n const index = triggers.indexOf(target);\n const direction = [keys.arrowDown, keys.pageDown].includes(key) ? 1 : -1;\n const length = triggers.length;\n const newIndex = (index + length + direction) % length;\n triggers[newIndex].focus();\n\n event.preventDefault();\n } else if ([keys.home, keys.end].includes(key)) {\n switch (key) {\n // Go to first accordion\n case keys.home:\n triggers[0].focus();\n break;\n // Go to last accordion\n case keys.end:\n triggers[triggers.length - 1].focus();\n break;\n }\n event.preventDefault();\n }\n }\n }\n\n @Listen(\"click\")\n handleClick(event) {\n const target = event.target as HTMLTextAreaElement;\n const accordionContainer = this.el.parentElement;\n const allowMultiple = accordionContainer.hasAttribute(\"data-allow-multiple\");\n const allowToggle = allowMultiple ? allowMultiple : accordionContainer.hasAttribute(\"data-allow-toggle\");\n\n if (target && target.tagName.toLowerCase() === \"button\") {\n let targetParent = target.closest(\".hy-accordion__item\");\n let targetContent = targetParent.getElementsByClassName(\"hy-accordion__content\")[0];\n const isExpanded = target.getAttribute(\"aria-expanded\") === \"true\";\n const activeButtonElement = accordionContainer.querySelector('[aria-expanded=\"true\"]');\n\n if (!allowMultiple && activeButtonElement && activeButtonElement !== target) {\n activeButtonElement.setAttribute(\"aria-expanded\", \"false\");\n this.collapseSection(targetContent);\n if (targetParent.classList.contains(\"hy-accordion__item__is-open\")) {\n targetParent.classList.remove(\"hy-accordion__item__is-open\");\n }\n\n accordionContainer\n .querySelector(`#${activeButtonElement.getAttribute(\"aria-controls\")}`)\n .setAttribute(\"aria-hidden\", \"true\");\n\n if (!allowToggle) {\n activeButtonElement.removeAttribute(\"aria-disabled\");\n }\n }\n\n if (!isExpanded) {\n this.expandSection(targetContent);\n target.setAttribute(\"aria-expanded\", \"true\");\n targetParent.classList.add(\"hy-accordion__item__is-open\");\n\n accordionContainer\n .querySelector(`#${target.getAttribute(\"aria-controls\")}`)\n .setAttribute(\"aria-hidden\", \"false\");\n\n if (!allowToggle) {\n target.setAttribute(\"aria-disabled\", \"true\");\n }\n } else if (allowToggle && isExpanded) {\n target.setAttribute(\"aria-expanded\", \"false\");\n\n this.collapseSection(targetContent);\n\n if (targetParent.classList.contains(\"hy-accordion__item__is-open\")) {\n targetParent.classList.remove(\"hy-accordion__item__is-open\");\n }\n\n accordionContainer\n .querySelector(`#${target.getAttribute(\"aria-controls\")}`)\n .setAttribute(\"aria-hidden\", \"true\");\n }\n\n event.preventDefault();\n event.stopImmediatePropagation();\n }\n }\n\n expandPanelByAnchor(anchor) {\n setTimeout(() => {\n if (anchor.length > 0) {\n anchor = anchor.substr(1);\n let target = document.querySelectorAll(`[id=${anchor}]`)[0];\n if (target && target.classList.contains(\"hy-accordion__button\")) {\n let targetParent = target.closest(\".hy-accordion__item\");\n\n let targetContent = targetParent.querySelectorAll(\".hy-accordion__content\")[0];\n\n this.expandSection(targetContent);\n target.setAttribute(\"aria-expanded\", \"true\");\n targetParent.classList.add(\"hy-accordion__item__is-open\");\n\n const targetElementRect = target.getBoundingClientRect();\n window.scrollTo({top: window.scrollY + targetElementRect.top - 200, behavior: \"smooth\"});\n\n const containerId = targetParent.parentElement.parentElement.id;\n\n if (containerId.length > 0) {\n let accordion = document.querySelectorAll(`#${containerId}`)[0];\n accordion.querySelector(`#${target.getAttribute(\"aria-controls\")}`).setAttribute(\"aria-hidden\", \"false\");\n }\n }\n }\n }, 200);\n }\n\n collapseSection(element) {\n element.style.height = 0 + \"px\";\n element.setAttribute(\"data-collapsed\", \"true\");\n setTimeout(() => {\n element.style.display = \"none\";\n }, 250);\n }\n\n expandSection(element) {\n element.style.display = \"block\";\n element.style.height = element.scrollHeight + \"px\";\n element.setAttribute(\"data-collapsed\", \"false\");\n }\n\n render() {\n const containerId = this.el.parentElement.id;\n\n if (this.ready && containerId.length > 0) {\n document.querySelectorAll(`#${containerId}`).forEach(function (accordion) {\n if (accordion) {\n accordion.querySelectorAll(\".hy-accordion__button\").forEach(function (trigger) {\n trigger.addEventListener(\"focus\", function () {\n trigger.classList.add(\"focus\");\n });\n trigger.addEventListener(\"blur\", function () {\n trigger.classList.remove(\"focus\");\n });\n });\n }\n });\n }\n\n const classIsOpen = this.showOpen ? \"hy-accordion__item__is-open\" : \"\";\n const classContentIsOpen = this.showOpen ? \"open\" : \"\";\n const classAttributes = [\"hy-accordion__item\", this.variant, classIsOpen].join(\" \");\n const classInnerWrapper = [\"hy-accordion__item--container\", this.variant].join(\" \");\n const classHeadingAttributes = [\"hy-accordion--heading\", this.variant].join(\" \");\n const classContentAttributes = [\n \"hy-accordion__content\",\n `hy-accordion__content--${this.variant}`,\n this.variant,\n classContentIsOpen,\n ].join(\" \");\n const classContentInnerWrapper = [\n \"hy-accordion__content--inner-wrapper\",\n `hy-accordion__content--inner-wrapper--${this.headerstyle}`,\n `hy-accordion__content--inner-wrapper--${this.variant}`,\n ].join(\" \");\n\n const titleAsId = this.accordiontitle.toLowerCase().replace(/\\W/g, \"-\");\n const accordionItemHref = \"#\" + titleAsId + \"--title\";\n\n const ariaExpanded = this.showOpen ? \"true\" : \"false\";\n const ariaHidden = this.showOpen ? \"false\" : \"true\";\n const dataCollapsed = this.showOpen ? \"false\" : \"true\";\n\n return (\n <div class={classAttributes}>\n <div class={classInnerWrapper}>\n <h3 class={classHeadingAttributes}>\n <a href={accordionItemHref} class=\"hy-accordion__link\" tabindex=\"-1\">\n <button\n aria-expanded={ariaExpanded}\n aria-controls={`${titleAsId}--content`}\n class={`hy-accordion__button hy-accordion__button--${this.headerstyle}`}\n id={`${titleAsId}--title`}\n >\n <span class=\"hy-accordion--heading__icon\">\n <hy-icon icon={\"hy-icon-caret-down\"} size={16} />\n </span>\n <span>{this.accordiontitle}</span>\n </button>\n </a>\n </h3>\n <div\n aria-labelledBy={`${titleAsId}--title`}\n class={classContentAttributes}\n id={`${titleAsId}--content`}\n role=\"region\"\n aria-hidden={ariaHidden}\n data-collapsed={dataCollapsed}\n style={{display: \"none\"}}\n >\n <div class={classContentInnerWrapper}>\n <slot></slot>\n </div>\n </div>\n </div>\n </div>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accordion-item.spec.js","sourceRoot":"","sources":["../../../src/components/hy-accordion-item/accordion-item.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAE/C,QAAQ,CAAC,mBAAmB,EAAE,GAAG,EAAE;EACjC,EAAE,CAAC,QAAQ,EAAE,GAAG,EAAE;IAChB,MAAM,CAAC,IAAI,aAAa,EAAE,CAAC,CAAC,UAAU,EAAE,CAAC;EAC3C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import {AccordionItem} from \"./accordion-item\";\n\ndescribe(\"hy-accordion-item\", () => {\n it(\"builds\", () => {\n expect(new AccordionItem()).toBeTruthy();\n });\n});\n"]}
|
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
|
+
import { jsonParserWorker } from "../../global/globalScript";
|
|
3
|
+
export class AdjacentImageText {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.headerstyle = "default";
|
|
6
|
+
this.imageUrl = null;
|
|
7
|
+
this.imageAlt = "";
|
|
8
|
+
this.disableLazy = false;
|
|
9
|
+
this.textTitle = undefined;
|
|
10
|
+
this.textDescription = null;
|
|
11
|
+
this.mainUrl = undefined;
|
|
12
|
+
this.mainUrlTitle = undefined;
|
|
13
|
+
this.mainUrlAriaLabel = undefined;
|
|
14
|
+
this.mainUrlIsExternal = false;
|
|
15
|
+
this.mainUrl2 = undefined;
|
|
16
|
+
this.mainUrlTitle2 = undefined;
|
|
17
|
+
this.mainUrlAriaLabel2 = undefined;
|
|
18
|
+
this.mainUrlIsExternal2 = false;
|
|
19
|
+
this.sourceSet = undefined;
|
|
20
|
+
}
|
|
21
|
+
async componentWillLoad() {
|
|
22
|
+
this._sourceSet = await jsonParserWorker(this.sourceSet);
|
|
23
|
+
}
|
|
24
|
+
componentDidLoad() {
|
|
25
|
+
let hyMainDiv = this.el.closest(".hy-main");
|
|
26
|
+
if (hyMainDiv) {
|
|
27
|
+
if (!hyMainDiv.classList.contains("with-sidebar")) {
|
|
28
|
+
this.headerstyle = "large";
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
render() {
|
|
33
|
+
const classAttributes = ["hy-adjacent-image-text", `hy-adjacent-image-text__${this.headerstyle}`].join(" ");
|
|
34
|
+
const contentClassAttributes = [
|
|
35
|
+
"hy-adjacent-image-text__text-container",
|
|
36
|
+
"hy-adjacent-image-text__text-container--left",
|
|
37
|
+
].join(" ");
|
|
38
|
+
const imageLeftClassAttributes = ["hy-adjacent-image-text__image-container"].join(" ");
|
|
39
|
+
const aspectRatioWidth = 6;
|
|
40
|
+
const aspectRatioHeight = 4;
|
|
41
|
+
const aspect = (aspectRatioHeight / aspectRatioWidth) * 100;
|
|
42
|
+
const aspectRatio = {
|
|
43
|
+
"--aspectRatio": `${aspect}%`,
|
|
44
|
+
};
|
|
45
|
+
return (h(Host, null, h("div", { class: classAttributes }, h("div", { class: imageLeftClassAttributes, style: aspectRatio }, this._sourceSet ? (h("picture", null, this._sourceSet.map((item) => (h("source", { srcSet: item.src, media: item.media, type: item.type, sizes: item.sizes ? item.sizes : "" }))), h("img", { loading: this.disableLazy ? "eager" : "lazy", alt: this.imageAlt, class: "hy-image__image", src: this.imageUrl }))) : (h("img", { loading: this.disableLazy ? "eager" : "lazy", alt: this.imageAlt, class: "hy-image__image", src: this.imageUrl }))), h("div", { class: contentClassAttributes }, h("div", { class: "hy-adjacent-image-text__text-container__info-wrapper" }, h("div", { class: "hy-adjacent-image-text__text-container__title" }, this.textTitle), h("p", { class: `hy-adjacent-image-text__text-container__description hy-adjacent-image-text__text-container__description__${this.headerstyle}` }, this.textDescription)), h("div", { class: "hy-adjacent-image-text__text-container__links-wrapper" }, this.mainUrl && (h("div", { class: "hy-adjacent-image-text__text-container__link" }, h("hy-cta-link", { "link-content": this.mainUrlTitle, "sc-label": this.mainUrlAriaLabel, url: this.mainUrl, "is-external": this.mainUrlIsExternal }))), this.mainUrl2 && (h("div", { class: "hy-adjacent-image-text__text-container__link" }, h("hy-cta-link", { "link-content": this.mainUrlTitle2, "sc-label": this.mainUrlAriaLabel2, url: this.mainUrl2, "is-external": this.mainUrlIsExternal2 })))))), h("hy-box", { mb: "1.75, 1.75, 2, 2.5" })));
|
|
46
|
+
}
|
|
47
|
+
static get is() { return "hy-adjacent-image-text"; }
|
|
48
|
+
static get originalStyleUrls() {
|
|
49
|
+
return {
|
|
50
|
+
"$": ["adjacent-image-text.scss"]
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
static get styleUrls() {
|
|
54
|
+
return {
|
|
55
|
+
"$": ["adjacent-image-text.css"]
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
static get properties() {
|
|
59
|
+
return {
|
|
60
|
+
"headerstyle": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"mutable": false,
|
|
63
|
+
"complexType": {
|
|
64
|
+
"original": "string",
|
|
65
|
+
"resolved": "string",
|
|
66
|
+
"references": {}
|
|
67
|
+
},
|
|
68
|
+
"required": false,
|
|
69
|
+
"optional": false,
|
|
70
|
+
"docs": {
|
|
71
|
+
"tags": [],
|
|
72
|
+
"text": ""
|
|
73
|
+
},
|
|
74
|
+
"attribute": "headerstyle",
|
|
75
|
+
"reflect": false,
|
|
76
|
+
"defaultValue": "\"default\""
|
|
77
|
+
},
|
|
78
|
+
"imageUrl": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"mutable": false,
|
|
81
|
+
"complexType": {
|
|
82
|
+
"original": "string",
|
|
83
|
+
"resolved": "string",
|
|
84
|
+
"references": {}
|
|
85
|
+
},
|
|
86
|
+
"required": false,
|
|
87
|
+
"optional": false,
|
|
88
|
+
"docs": {
|
|
89
|
+
"tags": [],
|
|
90
|
+
"text": ""
|
|
91
|
+
},
|
|
92
|
+
"attribute": "image-url",
|
|
93
|
+
"reflect": false,
|
|
94
|
+
"defaultValue": "null"
|
|
95
|
+
},
|
|
96
|
+
"imageAlt": {
|
|
97
|
+
"type": "string",
|
|
98
|
+
"mutable": false,
|
|
99
|
+
"complexType": {
|
|
100
|
+
"original": "string",
|
|
101
|
+
"resolved": "string",
|
|
102
|
+
"references": {}
|
|
103
|
+
},
|
|
104
|
+
"required": false,
|
|
105
|
+
"optional": false,
|
|
106
|
+
"docs": {
|
|
107
|
+
"tags": [],
|
|
108
|
+
"text": ""
|
|
109
|
+
},
|
|
110
|
+
"attribute": "image-alt",
|
|
111
|
+
"reflect": false,
|
|
112
|
+
"defaultValue": "\"\""
|
|
113
|
+
},
|
|
114
|
+
"disableLazy": {
|
|
115
|
+
"type": "boolean",
|
|
116
|
+
"mutable": false,
|
|
117
|
+
"complexType": {
|
|
118
|
+
"original": "boolean",
|
|
119
|
+
"resolved": "boolean",
|
|
120
|
+
"references": {}
|
|
121
|
+
},
|
|
122
|
+
"required": false,
|
|
123
|
+
"optional": false,
|
|
124
|
+
"docs": {
|
|
125
|
+
"tags": [],
|
|
126
|
+
"text": ""
|
|
127
|
+
},
|
|
128
|
+
"attribute": "disable-lazy",
|
|
129
|
+
"reflect": false,
|
|
130
|
+
"defaultValue": "false"
|
|
131
|
+
},
|
|
132
|
+
"textTitle": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"mutable": false,
|
|
135
|
+
"complexType": {
|
|
136
|
+
"original": "string",
|
|
137
|
+
"resolved": "string",
|
|
138
|
+
"references": {}
|
|
139
|
+
},
|
|
140
|
+
"required": false,
|
|
141
|
+
"optional": true,
|
|
142
|
+
"docs": {
|
|
143
|
+
"tags": [],
|
|
144
|
+
"text": ""
|
|
145
|
+
},
|
|
146
|
+
"attribute": "text-title",
|
|
147
|
+
"reflect": false
|
|
148
|
+
},
|
|
149
|
+
"textDescription": {
|
|
150
|
+
"type": "string",
|
|
151
|
+
"mutable": false,
|
|
152
|
+
"complexType": {
|
|
153
|
+
"original": "string",
|
|
154
|
+
"resolved": "string",
|
|
155
|
+
"references": {}
|
|
156
|
+
},
|
|
157
|
+
"required": false,
|
|
158
|
+
"optional": false,
|
|
159
|
+
"docs": {
|
|
160
|
+
"tags": [],
|
|
161
|
+
"text": ""
|
|
162
|
+
},
|
|
163
|
+
"attribute": "text-description",
|
|
164
|
+
"reflect": false,
|
|
165
|
+
"defaultValue": "null"
|
|
166
|
+
},
|
|
167
|
+
"mainUrl": {
|
|
168
|
+
"type": "string",
|
|
169
|
+
"mutable": false,
|
|
170
|
+
"complexType": {
|
|
171
|
+
"original": "string",
|
|
172
|
+
"resolved": "string",
|
|
173
|
+
"references": {}
|
|
174
|
+
},
|
|
175
|
+
"required": false,
|
|
176
|
+
"optional": true,
|
|
177
|
+
"docs": {
|
|
178
|
+
"tags": [],
|
|
179
|
+
"text": ""
|
|
180
|
+
},
|
|
181
|
+
"attribute": "main-url",
|
|
182
|
+
"reflect": false
|
|
183
|
+
},
|
|
184
|
+
"mainUrlTitle": {
|
|
185
|
+
"type": "string",
|
|
186
|
+
"mutable": false,
|
|
187
|
+
"complexType": {
|
|
188
|
+
"original": "string",
|
|
189
|
+
"resolved": "string",
|
|
190
|
+
"references": {}
|
|
191
|
+
},
|
|
192
|
+
"required": false,
|
|
193
|
+
"optional": true,
|
|
194
|
+
"docs": {
|
|
195
|
+
"tags": [],
|
|
196
|
+
"text": ""
|
|
197
|
+
},
|
|
198
|
+
"attribute": "main-url-title",
|
|
199
|
+
"reflect": false
|
|
200
|
+
},
|
|
201
|
+
"mainUrlAriaLabel": {
|
|
202
|
+
"type": "string",
|
|
203
|
+
"mutable": false,
|
|
204
|
+
"complexType": {
|
|
205
|
+
"original": "string",
|
|
206
|
+
"resolved": "string",
|
|
207
|
+
"references": {}
|
|
208
|
+
},
|
|
209
|
+
"required": false,
|
|
210
|
+
"optional": true,
|
|
211
|
+
"docs": {
|
|
212
|
+
"tags": [],
|
|
213
|
+
"text": ""
|
|
214
|
+
},
|
|
215
|
+
"attribute": "main-url-aria-label",
|
|
216
|
+
"reflect": false
|
|
217
|
+
},
|
|
218
|
+
"mainUrlIsExternal": {
|
|
219
|
+
"type": "boolean",
|
|
220
|
+
"mutable": false,
|
|
221
|
+
"complexType": {
|
|
222
|
+
"original": "boolean",
|
|
223
|
+
"resolved": "boolean",
|
|
224
|
+
"references": {}
|
|
225
|
+
},
|
|
226
|
+
"required": false,
|
|
227
|
+
"optional": false,
|
|
228
|
+
"docs": {
|
|
229
|
+
"tags": [],
|
|
230
|
+
"text": ""
|
|
231
|
+
},
|
|
232
|
+
"attribute": "main-url-is-external",
|
|
233
|
+
"reflect": false,
|
|
234
|
+
"defaultValue": "false"
|
|
235
|
+
},
|
|
236
|
+
"mainUrl2": {
|
|
237
|
+
"type": "string",
|
|
238
|
+
"mutable": false,
|
|
239
|
+
"complexType": {
|
|
240
|
+
"original": "string",
|
|
241
|
+
"resolved": "string",
|
|
242
|
+
"references": {}
|
|
243
|
+
},
|
|
244
|
+
"required": false,
|
|
245
|
+
"optional": true,
|
|
246
|
+
"docs": {
|
|
247
|
+
"tags": [],
|
|
248
|
+
"text": ""
|
|
249
|
+
},
|
|
250
|
+
"attribute": "main-url-2",
|
|
251
|
+
"reflect": false
|
|
252
|
+
},
|
|
253
|
+
"mainUrlTitle2": {
|
|
254
|
+
"type": "string",
|
|
255
|
+
"mutable": false,
|
|
256
|
+
"complexType": {
|
|
257
|
+
"original": "string",
|
|
258
|
+
"resolved": "string",
|
|
259
|
+
"references": {}
|
|
260
|
+
},
|
|
261
|
+
"required": false,
|
|
262
|
+
"optional": true,
|
|
263
|
+
"docs": {
|
|
264
|
+
"tags": [],
|
|
265
|
+
"text": ""
|
|
266
|
+
},
|
|
267
|
+
"attribute": "main-url-title-2",
|
|
268
|
+
"reflect": false
|
|
269
|
+
},
|
|
270
|
+
"mainUrlAriaLabel2": {
|
|
271
|
+
"type": "string",
|
|
272
|
+
"mutable": false,
|
|
273
|
+
"complexType": {
|
|
274
|
+
"original": "string",
|
|
275
|
+
"resolved": "string",
|
|
276
|
+
"references": {}
|
|
277
|
+
},
|
|
278
|
+
"required": false,
|
|
279
|
+
"optional": true,
|
|
280
|
+
"docs": {
|
|
281
|
+
"tags": [],
|
|
282
|
+
"text": ""
|
|
283
|
+
},
|
|
284
|
+
"attribute": "main-url-aria-label-2",
|
|
285
|
+
"reflect": false
|
|
286
|
+
},
|
|
287
|
+
"mainUrlIsExternal2": {
|
|
288
|
+
"type": "boolean",
|
|
289
|
+
"mutable": false,
|
|
290
|
+
"complexType": {
|
|
291
|
+
"original": "boolean",
|
|
292
|
+
"resolved": "boolean",
|
|
293
|
+
"references": {}
|
|
294
|
+
},
|
|
295
|
+
"required": false,
|
|
296
|
+
"optional": false,
|
|
297
|
+
"docs": {
|
|
298
|
+
"tags": [],
|
|
299
|
+
"text": ""
|
|
300
|
+
},
|
|
301
|
+
"attribute": "main-url-is-external-2",
|
|
302
|
+
"reflect": false,
|
|
303
|
+
"defaultValue": "false"
|
|
304
|
+
},
|
|
305
|
+
"sourceSet": {
|
|
306
|
+
"type": "string",
|
|
307
|
+
"mutable": false,
|
|
308
|
+
"complexType": {
|
|
309
|
+
"original": "ImageSrcSet[] | string",
|
|
310
|
+
"resolved": "ImageSrcSet[] | string",
|
|
311
|
+
"references": {
|
|
312
|
+
"ImageSrcSet": {
|
|
313
|
+
"location": "local",
|
|
314
|
+
"path": "/Users/tuukkaturu/hy/hy-ds/design-system-lib/core/src/components/hy-adjacent-image-text/adjacent-image-text.tsx"
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
"required": false,
|
|
319
|
+
"optional": false,
|
|
320
|
+
"docs": {
|
|
321
|
+
"tags": [],
|
|
322
|
+
"text": ""
|
|
323
|
+
},
|
|
324
|
+
"attribute": "source-set",
|
|
325
|
+
"reflect": false
|
|
326
|
+
}
|
|
327
|
+
};
|
|
328
|
+
}
|
|
329
|
+
static get elementRef() { return "el"; }
|
|
330
|
+
}
|
|
331
|
+
//# sourceMappingURL=adjacent-image-text.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"adjacent-image-text.js","sourceRoot":"","sources":["../../../src/components/hy-adjacent-image-text/adjacent-image-text.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAC,SAAS,EAAsB,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAC,MAAM,eAAe,CAAC;AACpF,OAAO,EAAC,gBAAgB,EAAC,MAAM,2BAA2B,CAAC;AAO3D,MAAM,OAAO,iBAAiB;;uBAEE,SAAS;oBACZ,IAAI;oBACJ,EAAE;uBACE,KAAK;;2BAEF,IAAI;;;;6BAKD,KAAK;;;;8BAKJ,KAAK;;;EAK3C,KAAK,CAAC,iBAAiB;IACrB,IAAI,CAAC,UAAU,GAAG,MAAM,gBAAgB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;EAC3D,CAAC;EAED,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;EACH,CAAC;EAED,MAAM;IACJ,MAAM,eAAe,GAAG,CAAC,wBAAw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ACF","sourcesContent":["export interface ImageSrcSet {\n src: any;\n media: string;\n type: string;\n sizes: string | null;\n}\n\nimport {Component, ComponentInterface, Prop, h, Host, Element} from \"@stencil/core\";\nimport {jsonParserWorker} from \"../../global/globalScript\";\n\n@Component({\n tag: \"hy-adjacent-image-text\",\n styleUrl: \"adjacent-image-text.scss\",\n shadow: false,\n})\nexport class AdjacentImageText implements ComponentInterface {\n @Element() el: HTMLElement;\n @Prop() headerstyle: string = \"default\";\n @Prop() imageUrl: string = null;\n @Prop() imageAlt: string = \"\";\n @Prop() disableLazy: boolean = false;\n @Prop() textTitle?: string;\n @Prop() textDescription: string = null;\n\n @Prop() mainUrl?: string;\n @Prop() mainUrlTitle?: string;\n @Prop() mainUrlAriaLabel?: string;\n @Prop() mainUrlIsExternal: boolean = false;\n\n @Prop() mainUrl2?: string;\n @Prop() mainUrlTitle2?: string;\n @Prop() mainUrlAriaLabel2?: string;\n @Prop() mainUrlIsExternal2: boolean = false;\n\n private _sourceSet: ImageSrcSet[];\n @Prop() sourceSet: ImageSrcSet[] | string;\n\n async componentWillLoad() {\n this._sourceSet = await jsonParserWorker(this.sourceSet);\n }\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 = [\"hy-adjacent-image-text\", `hy-adjacent-image-text__${this.headerstyle}`].join(\" \");\n const contentClassAttributes = [\n \"hy-adjacent-image-text__text-container\",\n \"hy-adjacent-image-text__text-container--left\",\n ].join(\" \");\n\n const imageLeftClassAttributes = [\"hy-adjacent-image-text__image-container\"].join(\" \");\n\n const aspectRatioWidth = 6;\n const aspectRatioHeight = 4;\n const aspect = (aspectRatioHeight / aspectRatioWidth) * 100;\n const aspectRatio = {\n \"--aspectRatio\": `${aspect}%` as \"aspectRatio\",\n };\n\n return (\n <Host>\n <div class={classAttributes}>\n <div class={imageLeftClassAttributes} style={aspectRatio}>\n {this._sourceSet ? (\n <picture>\n {this._sourceSet.map((item) => (\n <source srcSet={item.src} media={item.media} type={item.type} sizes={item.sizes ? item.sizes : \"\"} />\n ))}\n <img\n loading={this.disableLazy ? \"eager\" : \"lazy\"}\n alt={this.imageAlt}\n class=\"hy-image__image\"\n src={this.imageUrl}\n />\n </picture>\n ) : (\n <img\n loading={this.disableLazy ? \"eager\" : \"lazy\"}\n alt={this.imageAlt}\n class=\"hy-image__image\"\n src={this.imageUrl}\n />\n )}\n </div>\n <div class={contentClassAttributes}>\n <div class=\"hy-adjacent-image-text__text-container__info-wrapper\">\n <div class=\"hy-adjacent-image-text__text-container__title\">{this.textTitle}</div>\n <p\n class={`hy-adjacent-image-text__text-container__description hy-adjacent-image-text__text-container__description__${this.headerstyle}`}\n >\n {this.textDescription}\n </p>\n </div>\n <div class=\"hy-adjacent-image-text__text-container__links-wrapper\">\n {this.mainUrl && (\n <div class=\"hy-adjacent-image-text__text-container__link\">\n <hy-cta-link\n link-content={this.mainUrlTitle}\n sc-label={this.mainUrlAriaLabel}\n url={this.mainUrl}\n is-external={this.mainUrlIsExternal}\n />\n </div>\n )}\n {this.mainUrl2 && (\n <div class=\"hy-adjacent-image-text__text-container__link\">\n <hy-cta-link\n link-content={this.mainUrlTitle2}\n sc-label={this.mainUrlAriaLabel2}\n url={this.mainUrl2}\n is-external={this.mainUrlIsExternal2}\n />\n </div>\n )}\n </div>\n </div>\n </div>\n <hy-box mb=\"1.75, 1.75, 2, 2.5\" />\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"adjacent-image-text.spec.js","sourceRoot":"","sources":["../../../src/components/hy-adjacent-image-text/adjacent-image-text.spec.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,uBAAuB,CAAC;AAExD,QAAQ,CAAC,wBAAwB,EAAE,GAAG,EAAE;EACtC,EAAE,CAAC,QAAQ,EAAE,GAAG,EAAE;IAChB,MAAM,CAAC,IAAI,iBAAiB,EAAE,CAAC,CAAC,UAAU,EAAE,CAAC;EAC/C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import {AdjacentImageText} from \"./adjacent-image-text\";\n\ndescribe(\"hy-adjacent-image-text\", () => {\n it(\"builds\", () => {\n expect(new AdjacentImageText()).toBeTruthy();\n });\n});\n"]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { newSpecPage } from "@stencil/core/testing";
|
|
2
|
+
import { HyBadge } from "./hy-badge";
|
|
3
|
+
describe("hy-badge", () => {
|
|
4
|
+
it("renders", async () => {
|
|
5
|
+
const page = await newSpecPage({
|
|
6
|
+
components: [HyBadge],
|
|
7
|
+
html: `<hy-badge></hy-badge>`,
|
|
8
|
+
});
|
|
9
|
+
expect(page.root).toEqualHtml(`
|
|
10
|
+
<hy-badge>
|
|
11
|
+
<mock:shadow-root>
|
|
12
|
+
<span class="hy-badge primary">
|
|
13
|
+
<slot></slot>
|
|
14
|
+
</span>
|
|
15
|
+
</mock:shadow-root>
|
|
16
|
+
</hy-badge>
|
|
17
|
+
`);
|
|
18
|
+
});
|
|
19
|
+
});
|
|
20
|
+
//# sourceMappingURL=hy-badge.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hy-badge.spec.js","sourceRoot":"","sources":["../../../src/components/hy-badge/hy-badge.spec.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAC,OAAO,EAAC,MAAM,YAAY,CAAC;AAEnC,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE;EACxB,EAAE,CAAC,SAAS,EAAE,KAAK,IAAI,EAAE;IACvB,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,OAAO,CAAC;MACrB,IAAI,EAAE,uBAAuB;KAC9B,CAAC,CAAC;IACH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;;;KAQ7B,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import {newSpecPage} from \"@stencil/core/testing\";\nimport {HyBadge} from \"./hy-badge\";\n\ndescribe(\"hy-badge\", () => {\n it(\"renders\", async () => {\n const page = await newSpecPage({\n components: [HyBadge],\n html: `<hy-badge></hy-badge>`,\n });\n expect(page.root).toEqualHtml(`\n <hy-badge>\n <mock:shadow-root>\n <span class=\"hy-badge primary\">\n <slot></slot>\n </span>\n </mock:shadow-root>\n </hy-badge>\n `);\n });\n});\n"]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { newSpecPage } from "@stencil/core/testing";
|
|
2
|
+
import { HyBox } from "../hy-box";
|
|
3
|
+
const toRemValue = (val) => {
|
|
4
|
+
return typeof val === "number" ? `${val}rem` : undefined;
|
|
5
|
+
};
|
|
6
|
+
describe("hy-box helpers", () => {
|
|
7
|
+
it("toRemValue works", async () => {
|
|
8
|
+
const val = toRemValue(1);
|
|
9
|
+
expect(val).toBe("1rem");
|
|
10
|
+
const undef = toRemValue(undefined);
|
|
11
|
+
expect(undef).toBe(undefined);
|
|
12
|
+
});
|
|
13
|
+
it("renders correctly", async () => {
|
|
14
|
+
const page = await newSpecPage({
|
|
15
|
+
components: [HyBox],
|
|
16
|
+
html: `<hy-box p='1,2,3'>Foo</hy-box>`,
|
|
17
|
+
});
|
|
18
|
+
expect(page.root).toMatchInlineSnapshot(`
|
|
19
|
+
<hy-box class="css-1llp67b" p="1,2,3">
|
|
20
|
+
<!---->
|
|
21
|
+
Foo
|
|
22
|
+
</hy-box>
|
|
23
|
+
`);
|
|
24
|
+
});
|
|
25
|
+
});
|
|
26
|
+
//# sourceMappingURL=hy-box.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hy-box.spec.js","sourceRoot":"","sources":["../../../../src/components/hy-box/test/hy-box.spec.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAC,KAAK,EAAC,MAAM,WAAW,CAAC;AAChC,MAAM,UAAU,GAAG,CAAC,GAAY,EAAE,EAAE;EAClC,OAAO,OAAO,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;AAC3D,CAAC,CAAC;AACF,QAAQ,CAAC,gBAAgB,EAAE,GAAG,EAAE;EAC9B,EAAE,CAAC,kBAAkB,EAAE,KAAK,IAAI,EAAE;IAChC,MAAM,GAAG,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC;IAC1B,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACzB,MAAM,KAAK,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC;IACpC,MAAM,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;EAChC,CAAC,CAAC,CAAC;EACH,EAAE,CAAC,mBAAmB,EAAE,KAAK,IAAI,EAAE;IACjC,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,KAAK,CAAC;MACnB,IAAI,EAAE,gCAAgC;KACvC,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,qBAAqB,CAAC;;;;;KAKvC,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import {newSpecPage} from \"@stencil/core/testing\";\nimport {HyBox} from \"../hy-box\";\nconst toRemValue = (val?: number) => {\n return typeof val === \"number\" ? `${val}rem` : undefined;\n};\ndescribe(\"hy-box helpers\", () => {\n it(\"toRemValue works\", async () => {\n const val = toRemValue(1);\n expect(val).toBe(\"1rem\");\n const undef = toRemValue(undefined);\n expect(undef).toBe(undefined);\n });\n it(\"renders correctly\", async () => {\n const page = await newSpecPage({\n components: [HyBox],\n html: `<hy-box p='1,2,3'>Foo</hy-box>`,\n });\n\n expect(page.root).toMatchInlineSnapshot(`\n <hy-box class=\"css-1llp67b\" p=\"1,2,3\">\n <!---->\n Foo\n </hy-box>\n `);\n });\n});\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hy-content-list.js","sourceRoot":"","sources":["../../../../src/components/hy-content-lists/hy-content-list/hy-content-list.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAE,cAAc,EAAC,MAAM,sBAAsB,CAAC;AACzE,OAAO,EAAC,SAAS,EAAsB,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAC,MAAM,eAAe,CAAC;AAOlG,MAAM,OAAO,aAAa;;IAShB,YAAO,GAAmB,cAAc,CAAC,OAAO,CAAC;qBAR7B,mBAAmB;yBACf,oCAAoC;wBACrC,IAAI;0BACF,WAAW;;uBAEd,QAAQ;8BACY,mBAAmB,CAAC,OAAO;8BAGhC,EAAE;;EAE/C;;KAEG;EAEiB,WAAW,CAAC,IAAiB;IAC/C,IAAI,CAAC,UAAU,GAAG,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;EACvE,CAAC;EAED,iBAAiB;IACf,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;EACnC,CAAC;EAED,eAAe,CAAC,CAAC,EAAE,EAAE;IACnB,CAAC,CAAC,cAAc,EAAE,CAAC;IACnB,IAAI,IAAI,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,IAAI,EAAE,EAAE,CAAgB,CAAC;IAE1D,IAAI,IAAI,EAAE;MACR,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAA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IAAI;QACH,WAAK,KAAK,EAAE,eAAe;UACzB,WAAK,KAAK,EAAC,4BAA4B;YACrC,YAAM,KAAK,EAAE,oBAAoB;cAC/B,eAAS,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,EAAE,GAAI,CACtC;YACP,YAAM,KAAK,EAAE,yBAAyB,IAAG,IAAI,CAAC,aAAa,CAAQ,CAC/D,CACF,CACD,CACR,CAAC;KACH;EACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {CourseStateVariants, CourseVariants} from \"../../../utils/utils\";\nimport {Component, ComponentInterface, Element, h, Host, Prop, State, Watch} from \"@stencil/core\";\n\n@Component({\n tag: \"hy-content-list\",\n styleUrl: \"hy-content-list.scss\",\n shadow: false,\n})\nexport class HyContentList implements ComponentInterface {\n @Prop() linkLabel: string = \"Go to course page\";\n @Prop() noResultLabel: string = \"No courses scheduled at the moment\";\n @Prop() creditsLabel: string = \"cr\";\n @Prop() cancelledLabel: string = \"Cancelled\";\n @Prop() dataItems: string;\n @Prop() headerstyle: string = \"common\";\n @Prop() courseStateVariant: CourseStateVariants = CourseStateVariants.default;\n private _dataItems: [];\n private variant: CourseVariants = CourseVariants.default;\n @State() courseRealisations: Array<object> = [];\n @Element() el: HTMLElement;\n /**\n * Data for links to be displayed.\n */\n\n @Watch(\"dataItems\") dataWatcher(data: [] | string) {\n this._dataItems = typeof data === \"string\" ? JSON.parse(data) : data;\n }\n\n componentWillLoad() {\n this.dataWatcher(this.dataItems);\n }\n\n handleCardClick(e, id) {\n e.preventDefault();\n let card = this.el.querySelector(`#${id}`) as HTMLElement;\n\n if (card) {\n window.open(card.dataset.location, \"_blank\");\n }\n }\n\n async 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 renderItems() {\n let courseRealisations = [];\n if (this._dataItems && this._dataItems.length > 0) {\n this._dataItems.forEach((item) => {\n const courseObject = JSON.parse(JSON.stringify(item));\n\n const courseListType = courseObject[\"courseListType\"];\n this.variant = courseListType == \"list\" ? CourseVariants.row : CourseVariants.grid;\n\n for (const courseProperty in courseObject) {\n if (courseProperty == \"courseListType\") continue;\n\n const courseItem = courseObject[courseProperty];\n const courseCode = courseItem[\"code\"];\n const courseCredits = courseItem[\"credits\"];\n\n // Course realisations.\n if (courseItem[\"realisations\"]) {\n const realisations = JSON.parse(JSON.stringify(courseItem[\"realisations\"]));\n for (const realisationProperty in realisations) {\n const realizationItem = realisations[realisationProperty];\n const courseRealisationName = realizationItem[\"name\"];\n const courseRealisationFullName = courseRealisationName + \", \" + courseCredits + \" \" + this.creditsLabel;\n const courseStudyFormat = realizationItem[\"studyFormat\"];\n const courseCancelled = realizationItem[\"cancelled\"];\n const courseStartDate = realizationItem[\"startDate\"];\n const courseEndDate = realizationItem[\"endDate\"];\n const formattedTimeRange = realizationItem[\"formattedTimeRange\"];\n const courseEnrollmentLink = realizationItem[\"enrolmentLink\"];\n const courseTeachingLanguage = realizationItem[\"teachingLanguage\"];\n const courseOrganisation = realizationItem[\"organisation\"];\n\n let courseTags = [];\n if (realizationItem[\"tags\"]) {\n let tags = JSON.parse(JSON.stringify(realizationItem[\"tags\"]));\n for (let z in tags) {\n let tagItem = {name: tags[z]};\n courseTags.push(tagItem);\n }\n }\n const courseTagsJSON = JSON.stringify(courseTags);\n\n const contentListItemClassAttributes = [\"item\", this.variant].join(\" \");\n\n courseRealisations.push(\n <hy-content-list-item\n id={realisationProperty}\n class={contentListItemClassAttributes}\n variant={this.variant}\n state-variant={this.courseStateVariant}\n course-code={courseCode}\n course-name={courseRealisationFullName}\n is-cancelled={courseCancelled}\n cancelled-label={this.cancelledLabel}\n course-credits={courseCredits}\n course-tags={courseTagsJSON}\n course-start-date={courseStartDate}\n course-end-date={courseEndDate}\n formatted-time-range={formattedTimeRange}\n course-study-format={courseStudyFormat}\n course-organisation={courseOrganisation}\n course-enrollment-link={courseEnrollmentLink}\n course-teaching-language={courseTeachingLanguage}\n course-link-label={this.linkLabel}\n data-location={courseEnrollmentLink}\n onClick={(e) => this.handleCardClick(e, realisationProperty)}\n //onKeyDown={() => this.handleKeyDown(window.event, realisationProperty)}\n ></hy-content-list-item>\n );\n }\n }\n }\n });\n }\n\n return courseRealisations;\n }\n\n render() {\n const classAttributes = [this.variant, \"hy-content-list\"].join(\" \");\n const classAlertAttributes = [\"hy-content-list--alert\", `hy-content-list--alert--${this.headerstyle}`].join(\" \");\n const classAlertLabelAttributes = [\n \"hy-content-list--alert-label\",\n `hy-content-list--alert-label--${this.headerstyle}`,\n ].join(\" \");\n\n this.courseRealisations = this.renderItems();\n if (this.courseRealisations && this.courseRealisations.length > 0) {\n return (\n <Host>\n <div class={classAttributes}>{this.courseRealisations}</div>\n </Host>\n );\n } else {\n return (\n <Host>\n <div class={classAttributes}>\n <div class=\"hy-content-list--no-result\">\n <span class={classAlertAttributes}>\n <hy-icon icon={\"hy-icon-info\"} size={16} />\n </span>\n <span class={classAlertLabelAttributes}>{this.noResultLabel}</span>\n </div>\n </div>\n </Host>\n );\n }\n }\n}\n"]}
|