@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,967 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A collection of shims that provided minimal
|
|
3
|
+
* support of WeakMap and Map classes.
|
|
4
|
+
*
|
|
5
|
+
* These implementations are not meant to be used outside of
|
|
6
|
+
* ResizeObserver modules as they cover only a limited range
|
|
7
|
+
* of use cases.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/* eslint-disable require-jsdoc */
|
|
11
|
+
const hasNativeCollections =
|
|
12
|
+
typeof window.WeakMap === 'function' &&
|
|
13
|
+
typeof window.Map === 'function';
|
|
14
|
+
|
|
15
|
+
const WeakMap = (() => {
|
|
16
|
+
if (hasNativeCollections) {
|
|
17
|
+
return window.WeakMap;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
function getIndex(arr, key) {
|
|
21
|
+
let result = -1;
|
|
22
|
+
|
|
23
|
+
arr.some((entry, index) => {
|
|
24
|
+
let matches = entry[0] === key;
|
|
25
|
+
|
|
26
|
+
if (matches) {
|
|
27
|
+
result = index;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
return matches;
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
return result;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
return class {
|
|
37
|
+
constructor() {
|
|
38
|
+
this.__entries__ = [];
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
get(key) {
|
|
42
|
+
let index = getIndex(this.__entries__, key);
|
|
43
|
+
|
|
44
|
+
return this.__entries__[index][1];
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
set(key, value) {
|
|
48
|
+
let index = getIndex(this.__entries__, key);
|
|
49
|
+
|
|
50
|
+
if (~index) {
|
|
51
|
+
this.__entries__[index][1] = value;
|
|
52
|
+
} else {
|
|
53
|
+
this.__entries__.push([key, value]);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
delete(key) {
|
|
58
|
+
let entries = this.__entries__,
|
|
59
|
+
index = getIndex(entries, key);
|
|
60
|
+
|
|
61
|
+
if (~index) {
|
|
62
|
+
entries.splice(index, 1);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
has(key) {
|
|
67
|
+
return !!~getIndex(this.__entries__, key);
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
})();
|
|
71
|
+
|
|
72
|
+
const Map = (() => {
|
|
73
|
+
if (hasNativeCollections) {
|
|
74
|
+
return window.Map;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return class extends WeakMap {
|
|
78
|
+
get size() {
|
|
79
|
+
return this.__entries__.length;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
clear() {
|
|
83
|
+
this.__entries__.splice(0, this.__entries__.length);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
entries() {
|
|
87
|
+
return this.__entries__.slice();
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
keys() {
|
|
91
|
+
return this.__entries__.map(entry => entry[0]);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
values() {
|
|
95
|
+
return this.__entries__.map(entry => entry[1]);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
forEach(callback, ctx = null) {
|
|
99
|
+
for (const entry of this.__entries__) {
|
|
100
|
+
callback.call(ctx, entry[1], entry[0]);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
})();
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* A shim for performance.now method which falls back
|
|
108
|
+
* to Date.now if the first one is not supported.
|
|
109
|
+
*
|
|
110
|
+
* @returns {Timestamp}
|
|
111
|
+
*/
|
|
112
|
+
const now = (() => {
|
|
113
|
+
if (
|
|
114
|
+
window.performance &&
|
|
115
|
+
typeof window.performance.now === 'function'
|
|
116
|
+
) {
|
|
117
|
+
return () => window.performance.now();
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
return () => Date.now();
|
|
121
|
+
})();
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* A shim for requestAnimationFrame which falls back
|
|
125
|
+
* to setTimeout if the first one is not supported.
|
|
126
|
+
*
|
|
127
|
+
* @returns {Number} Requests' identifier.
|
|
128
|
+
*/
|
|
129
|
+
const requestAnimFrame = (() => {
|
|
130
|
+
if (
|
|
131
|
+
window.requestAnimationFrame &&
|
|
132
|
+
typeof window.requestAnimationFrame === 'function'
|
|
133
|
+
) {
|
|
134
|
+
return window.requestAnimationFrame;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
return callback => {
|
|
138
|
+
return setTimeout(() => callback(Date.now()), 1000 / 60);
|
|
139
|
+
};
|
|
140
|
+
})();
|
|
141
|
+
|
|
142
|
+
const mutationsSupported = typeof window.MutationObserver === 'function';
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Creates a wrapper function which ensures that
|
|
146
|
+
* provided callback will be invoked only once
|
|
147
|
+
* during the specified delay.
|
|
148
|
+
*
|
|
149
|
+
* @param {Function} callback - Function to be invoked.
|
|
150
|
+
* @param {Number} [delay = 0] - Delay after which to invoke callback.
|
|
151
|
+
* @returns {Function}
|
|
152
|
+
*/
|
|
153
|
+
function debounce(callback, delay = 0) {
|
|
154
|
+
let timeoutID = false;
|
|
155
|
+
|
|
156
|
+
return function (...args) {
|
|
157
|
+
if (timeoutID !== false) {
|
|
158
|
+
clearTimeout(timeoutID);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
timeoutID = setTimeout(() => {
|
|
162
|
+
timeoutID = false;
|
|
163
|
+
|
|
164
|
+
/* eslint-disable no-invalid-this */
|
|
165
|
+
callback.apply(this, args);
|
|
166
|
+
|
|
167
|
+
/* eslint-enable no-invalid-this */
|
|
168
|
+
}, delay);
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Controller class which handles updates of ResizeObserver instances.
|
|
174
|
+
* It's meant to decide when and for how long it's necessary to run updates by listening to the windows
|
|
175
|
+
* "resize" event along with a tracking of DOM mutations (nodes removal, changes of attributes, etc.).
|
|
176
|
+
*
|
|
177
|
+
* Transitions and animations are handled by running a repeatable update cycle either until the dimensions
|
|
178
|
+
* of observed elements are changing or the timeout is reached (default timeout is 50 milliseconds).
|
|
179
|
+
* Timeout value can be manually increased if transitions have a delay.
|
|
180
|
+
*
|
|
181
|
+
* Continuous update cycle will be used automatically in case if MutationObserver is not supported.
|
|
182
|
+
*/
|
|
183
|
+
class ResizeObserverController {
|
|
184
|
+
/**
|
|
185
|
+
* Creates a new instance of ResizeObserverController.
|
|
186
|
+
*
|
|
187
|
+
* @param {Number} [idleTimeout = 0] - Idle timeout value.
|
|
188
|
+
* @param {Boolean} [continuousUpdates = false] - Whether to use a continuous update cycle.
|
|
189
|
+
*/
|
|
190
|
+
constructor(idleTimeout = 50, continuousUpdates = false) {
|
|
191
|
+
this._idleTimeout = idleTimeout;
|
|
192
|
+
this._isCycleContinuous = continuousUpdates;
|
|
193
|
+
|
|
194
|
+
this._cycleStartTime = 0;
|
|
195
|
+
|
|
196
|
+
// Indicates whether the update cycle is currently running.
|
|
197
|
+
this._isCycleActive = false;
|
|
198
|
+
|
|
199
|
+
// Indicates whether the update of observers is scheduled.
|
|
200
|
+
this._isUpdateScheduled = false;
|
|
201
|
+
|
|
202
|
+
// Indicates whether DOM listeners have been added.
|
|
203
|
+
this._listenersEnabled = false;
|
|
204
|
+
|
|
205
|
+
// Keeps reference to the instance of MutationObserver.
|
|
206
|
+
this._mutationsObserver = null;
|
|
207
|
+
|
|
208
|
+
// A list of connected observers.
|
|
209
|
+
this._observers = [];
|
|
210
|
+
|
|
211
|
+
// Fix value of "this" binding for the following methods.
|
|
212
|
+
this.runUpdates = this.runUpdates.bind(this);
|
|
213
|
+
this._resolveScheduled = this._resolveScheduled.bind(this);
|
|
214
|
+
this._onMutation = this._onMutation.bind(this);
|
|
215
|
+
|
|
216
|
+
// Function that will be invoked to re-run the
|
|
217
|
+
// update cycle if continuous cycles are enabled.
|
|
218
|
+
this._continuousCycleHandler = debounce(this.runUpdates, 200);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* Returns current idle timeout value.
|
|
223
|
+
*
|
|
224
|
+
* @returns {Number}
|
|
225
|
+
*/
|
|
226
|
+
get idleTimeout() {
|
|
227
|
+
return this._idleTimeout;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Sets up new idle timeout value.
|
|
232
|
+
*
|
|
233
|
+
* @param {Number} value - New timeout value.
|
|
234
|
+
*/
|
|
235
|
+
set idleTimeout(value) {
|
|
236
|
+
this._idleTimeout = value;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Tells whether continuous updates are enabled.
|
|
241
|
+
*
|
|
242
|
+
* @returns {Boolean}
|
|
243
|
+
*/
|
|
244
|
+
get continuousUpdates() {
|
|
245
|
+
return this._isCycleContinuous;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* Enables or disables continuous updates.
|
|
250
|
+
*
|
|
251
|
+
* @param {Boolean} value - Whether to enable or disable
|
|
252
|
+
* continuous updates. Note that the value won't be applied
|
|
253
|
+
* if MutationObserver is not supported.
|
|
254
|
+
*/
|
|
255
|
+
set continuousUpdates(value) {
|
|
256
|
+
if (mutationsSupported) {
|
|
257
|
+
this._isCycleContinuous = value;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* Adds observer to observers list.
|
|
263
|
+
*
|
|
264
|
+
* @param {ResizeObserver} observer - Observer to be added.
|
|
265
|
+
*/
|
|
266
|
+
connect(observer) {
|
|
267
|
+
if (!this.isConnected(observer)) {
|
|
268
|
+
this._observers.push(observer);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
// Add listeners if they haven't been added yet.
|
|
272
|
+
if (!this._listenersEnabled) {
|
|
273
|
+
this._addListeners();
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* Removes observer from observers list.
|
|
279
|
+
*
|
|
280
|
+
* @param {ResizeObserver} observer - Observer to be removed.
|
|
281
|
+
*/
|
|
282
|
+
disconnect(observer) {
|
|
283
|
+
let observers = this._observers,
|
|
284
|
+
index = observers.indexOf(observer);
|
|
285
|
+
|
|
286
|
+
if (~index) {
|
|
287
|
+
observers.splice(index, 1);
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
// Remove listeners if controller
|
|
291
|
+
// has no connected observers.
|
|
292
|
+
if (!observers.length && this._listenersEnabled) {
|
|
293
|
+
this._removeListeners();
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* Tells whether provided observer is connected to controller.
|
|
299
|
+
*
|
|
300
|
+
* @param {ResizeObserver} observer - Observer to be checked.
|
|
301
|
+
* @returns {Boolean}
|
|
302
|
+
*/
|
|
303
|
+
isConnected(observer) {
|
|
304
|
+
return !!~this._observers.indexOf(observer);
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* Updates every observer from observers list and
|
|
309
|
+
* notifies them of queued entries.
|
|
310
|
+
*
|
|
311
|
+
* @private
|
|
312
|
+
* @returns {Boolean} Returns "true" if any observer
|
|
313
|
+
* has detected changes in dimensions of its' elements.
|
|
314
|
+
*/
|
|
315
|
+
_updateObservers() {
|
|
316
|
+
let hasChanges = false;
|
|
317
|
+
|
|
318
|
+
for (const observer of this._observers) {
|
|
319
|
+
observer.gatherActive();
|
|
320
|
+
|
|
321
|
+
if (observer.hasActive()) {
|
|
322
|
+
hasChanges = true;
|
|
323
|
+
|
|
324
|
+
observer.broadcastActive();
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
return hasChanges;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* Starts the update cycle which will run either
|
|
333
|
+
* until it detects changes in the dimensions of
|
|
334
|
+
* elements or the idle timeout is reached.
|
|
335
|
+
*/
|
|
336
|
+
runUpdates() {
|
|
337
|
+
this._cycleStartTime = now();
|
|
338
|
+
this._isCycleActive = true;
|
|
339
|
+
|
|
340
|
+
this.scheduleUpdate();
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* Schedules the update of observers.
|
|
345
|
+
*
|
|
346
|
+
* @private
|
|
347
|
+
*/
|
|
348
|
+
scheduleUpdate() {
|
|
349
|
+
if (!this._isUpdateScheduled) {
|
|
350
|
+
this._isUpdateScheduled = true;
|
|
351
|
+
|
|
352
|
+
requestAnimFrame(this._resolveScheduled);
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* Invokes the update of observers. It may re-run the
|
|
358
|
+
* cycle if changes in observers have been detected.
|
|
359
|
+
*
|
|
360
|
+
* @private
|
|
361
|
+
*/
|
|
362
|
+
_resolveScheduled() {
|
|
363
|
+
const hasChanges = this._updateObservers();
|
|
364
|
+
|
|
365
|
+
this._isUpdateScheduled = false;
|
|
366
|
+
|
|
367
|
+
// Do nothing if cycle wasn't started.
|
|
368
|
+
if (!this._isCycleActive) {
|
|
369
|
+
return;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
// Re-start cycle if changes have been detected.
|
|
373
|
+
if (hasChanges) {
|
|
374
|
+
this.runUpdates();
|
|
375
|
+
} else if (this._hasRemainingTime()) {
|
|
376
|
+
this.scheduleUpdate();
|
|
377
|
+
} else {
|
|
378
|
+
this._endUpdates();
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* Tells whether the update cycle has time remaining.
|
|
384
|
+
*
|
|
385
|
+
* @private
|
|
386
|
+
* @returns {Boolean}
|
|
387
|
+
*/
|
|
388
|
+
_hasRemainingTime() {
|
|
389
|
+
const timePassed = now() - this._cycleStartTime;
|
|
390
|
+
|
|
391
|
+
return this._idleTimeout - timePassed > 0;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* Callback which is invoked when update cycle
|
|
396
|
+
* is finished. It may start a new cycle if continuous
|
|
397
|
+
* updates are enabled.
|
|
398
|
+
*
|
|
399
|
+
* @private
|
|
400
|
+
*/
|
|
401
|
+
_endUpdates() {
|
|
402
|
+
this._isCycleActive = false;
|
|
403
|
+
|
|
404
|
+
if (this._isCycleContinuous && this._listenersEnabled) {
|
|
405
|
+
this._continuousCycleHandler();
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* Initializes DOM listeners.
|
|
411
|
+
*
|
|
412
|
+
* @private
|
|
413
|
+
*/
|
|
414
|
+
_addListeners() {
|
|
415
|
+
// Do nothing if listeners have been already added.
|
|
416
|
+
if (this._listenersEnabled) {
|
|
417
|
+
return;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
this._listenersEnabled = true;
|
|
421
|
+
|
|
422
|
+
// Repeatable cycle is used here because the resize event may
|
|
423
|
+
// lead to continuous changes, e.g. when width or height of an element
|
|
424
|
+
// are controlled by CSS transitions.
|
|
425
|
+
window.addEventListener('resize', this.runUpdates);
|
|
426
|
+
|
|
427
|
+
// Fall back to an infinite cycle.
|
|
428
|
+
if (!mutationsSupported) {
|
|
429
|
+
this._isCycleContinuous = true;
|
|
430
|
+
|
|
431
|
+
this.runUpdates();
|
|
432
|
+
} else {
|
|
433
|
+
// Subscribe to DOM mutations as they may lead to
|
|
434
|
+
// changes in dimensions of elements.
|
|
435
|
+
this._mutationsObserver = new MutationObserver(this._onMutation);
|
|
436
|
+
|
|
437
|
+
this._mutationsObserver.observe(document, {
|
|
438
|
+
attributes: true,
|
|
439
|
+
childList: true,
|
|
440
|
+
characterData: true,
|
|
441
|
+
subtree: true
|
|
442
|
+
});
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* Removes DOM listeners.
|
|
448
|
+
*
|
|
449
|
+
* @private
|
|
450
|
+
*/
|
|
451
|
+
_removeListeners() {
|
|
452
|
+
// Do nothing if listeners have been already removed.
|
|
453
|
+
if (!this._listenersEnabled) {
|
|
454
|
+
return;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
window.removeEventListener('resize', this.runUpdates);
|
|
458
|
+
|
|
459
|
+
if (this._mutationsObserver) {
|
|
460
|
+
this._mutationsObserver.disconnect();
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
this._mutationsObserver = null;
|
|
464
|
+
this._listenersEnabled = false;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
* DOM mutations handler.
|
|
469
|
+
*
|
|
470
|
+
* @private
|
|
471
|
+
* @param {Array<MutationRecord>} entries - An array of mutation records.
|
|
472
|
+
*/
|
|
473
|
+
_onMutation(entries) {
|
|
474
|
+
// Check if at least one entry
|
|
475
|
+
// contains attributes changes.
|
|
476
|
+
const attrsChanged = entries.some(entry => {
|
|
477
|
+
return entry.type === 'attributes';
|
|
478
|
+
});
|
|
479
|
+
|
|
480
|
+
// It's expected that animations may start only
|
|
481
|
+
// after some attribute changes its' value.
|
|
482
|
+
attrsChanged ?
|
|
483
|
+
this.runUpdates() :
|
|
484
|
+
this.scheduleUpdate();
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
// Placeholder of a content rectangle.
|
|
489
|
+
const emptyRect = {
|
|
490
|
+
width: 0,
|
|
491
|
+
height: 0,
|
|
492
|
+
top: 0,
|
|
493
|
+
right: 0,
|
|
494
|
+
bottom: 0,
|
|
495
|
+
left: 0
|
|
496
|
+
};
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* Extracts paddings data from the provided element.
|
|
500
|
+
*
|
|
501
|
+
* @param {Element} target - Element whose paddings to be extracted.
|
|
502
|
+
* @returns {Object} Object that contains
|
|
503
|
+
* left, top, right and bottom padding values.
|
|
504
|
+
*/
|
|
505
|
+
function getPaddings(target) {
|
|
506
|
+
const styles = window.getComputedStyle(target);
|
|
507
|
+
const keys = ['top', 'right', 'bottom', 'left'];
|
|
508
|
+
|
|
509
|
+
const paddings = {};
|
|
510
|
+
|
|
511
|
+
for (const key of keys) {
|
|
512
|
+
const value = styles['padding-' + key].replace('px', '');
|
|
513
|
+
|
|
514
|
+
paddings[key] = parseFloat(value);
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
return paddings;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* Subtracts paddings from provided
|
|
522
|
+
* dimensions and creates a content rectangle.
|
|
523
|
+
*
|
|
524
|
+
* @param {Number} clientWidth - Width including paddings.
|
|
525
|
+
* @param {Number} clientHeight - Height including paddings.
|
|
526
|
+
* @param {Object} paddings - Paddings data.
|
|
527
|
+
* @returns {ClientRect}
|
|
528
|
+
*/
|
|
529
|
+
function createContentRect(clientWidth, clientHeight, paddings) {
|
|
530
|
+
const top = paddings.top;
|
|
531
|
+
const left = paddings.left;
|
|
532
|
+
|
|
533
|
+
const width = clientWidth - (left + paddings.right);
|
|
534
|
+
const height = clientHeight - (top + paddings.bottom);
|
|
535
|
+
|
|
536
|
+
return {
|
|
537
|
+
width,
|
|
538
|
+
height,
|
|
539
|
+
top,
|
|
540
|
+
right: width + left,
|
|
541
|
+
bottom: height + top,
|
|
542
|
+
left
|
|
543
|
+
};
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
/**
|
|
547
|
+
* Calculates content rectangle of provided SVG element.
|
|
548
|
+
*
|
|
549
|
+
* @param {SVGElement} target - Element whose content
|
|
550
|
+
* rectangle needs to be calculated.
|
|
551
|
+
* @returns {ClientRect}
|
|
552
|
+
*/
|
|
553
|
+
function getSVGContentRect(target) {
|
|
554
|
+
const bbox = target.getBBox();
|
|
555
|
+
|
|
556
|
+
return createContentRect(bbox.width, bbox.height, emptyRect);
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* Calculates content rectangle of provided HTMLElement.
|
|
561
|
+
*
|
|
562
|
+
* @param {HTMLElement} target - Element whose content
|
|
563
|
+
* rectangle needs to be calculated.
|
|
564
|
+
* @returns {ClientRect}
|
|
565
|
+
*/
|
|
566
|
+
function getHTMLElementContentRect(target) {
|
|
567
|
+
const width = target.clientWidth;
|
|
568
|
+
const height = target.clientHeight;
|
|
569
|
+
|
|
570
|
+
// It's not necessary to proceed with calculations
|
|
571
|
+
// as it's already known that the rectangle is empty.
|
|
572
|
+
if (!width && !height) {
|
|
573
|
+
return emptyRect;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
return createContentRect(width, height, getPaddings(target));
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
/**
|
|
580
|
+
* Checks whether provided element
|
|
581
|
+
* is an instance of SVGElement.
|
|
582
|
+
*
|
|
583
|
+
* @param {Element} target - Element to be checked.
|
|
584
|
+
* @returns {Boolean}
|
|
585
|
+
*/
|
|
586
|
+
function isSVGElement(target) {
|
|
587
|
+
return target instanceof window.SVGElement;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* Calculates an appropriate content rectangle
|
|
592
|
+
* for provided html or svg element.
|
|
593
|
+
*
|
|
594
|
+
* @param {Element} target - Element whose content rectangle
|
|
595
|
+
* needs to be calculated.
|
|
596
|
+
* @returns {ClientRect}
|
|
597
|
+
*/
|
|
598
|
+
function getContentRect(target) {
|
|
599
|
+
return isSVGElement(target) ?
|
|
600
|
+
getSVGContentRect(target) :
|
|
601
|
+
getHTMLElementContentRect(target);
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* Class that is responsible for computations of the
|
|
606
|
+
* content rectangle of provided DOM element and
|
|
607
|
+
* for keeping track of its' changes.
|
|
608
|
+
*/
|
|
609
|
+
class ResizeObservation {
|
|
610
|
+
/**
|
|
611
|
+
* Creates an instance of ResizeObservation.
|
|
612
|
+
*
|
|
613
|
+
* @param {Element} target - Element whose content
|
|
614
|
+
* rectangle needs to be observed.
|
|
615
|
+
*/
|
|
616
|
+
constructor(target) {
|
|
617
|
+
this.target = target;
|
|
618
|
+
|
|
619
|
+
// Keeps reference to the last observed content rectangle.
|
|
620
|
+
this._contentRect = emptyRect;
|
|
621
|
+
|
|
622
|
+
// Broadcasted width of content rectangle.
|
|
623
|
+
this.broadcastWidth = 0;
|
|
624
|
+
|
|
625
|
+
// Broadcasted height of content rectangle.
|
|
626
|
+
this.broadcastHeight = 0;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
/**
|
|
630
|
+
* Updates 'broadcastWidth' and 'broadcastHeight'
|
|
631
|
+
* properties with a data from the corresponding
|
|
632
|
+
* properties of the last observed content rectangle.
|
|
633
|
+
*
|
|
634
|
+
* @returns {ClientRect} Last observed content rectangle.
|
|
635
|
+
*/
|
|
636
|
+
broadcastRect() {
|
|
637
|
+
const rect = this._contentRect;
|
|
638
|
+
|
|
639
|
+
this.broadcastWidth = rect.width;
|
|
640
|
+
this.broadcastHeight = rect.height;
|
|
641
|
+
|
|
642
|
+
return rect;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* Updates content rectangle and tells whether its'
|
|
647
|
+
* width or height properties have changed since
|
|
648
|
+
* the last broadcast.
|
|
649
|
+
*
|
|
650
|
+
* @returns {Boolean}
|
|
651
|
+
*/
|
|
652
|
+
isActive() {
|
|
653
|
+
const rect = getContentRect(this.target);
|
|
654
|
+
|
|
655
|
+
this._contentRect = rect;
|
|
656
|
+
|
|
657
|
+
return (
|
|
658
|
+
rect.width !== this.broadcastWidth ||
|
|
659
|
+
rect.height !== this.broadcastHeight
|
|
660
|
+
);
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
class ResizeObserverEntry {
|
|
665
|
+
/**
|
|
666
|
+
* Creates an instance of ResizeObserverEntry.
|
|
667
|
+
*
|
|
668
|
+
* @param {Element} target - Element that is being observed.
|
|
669
|
+
* @param {ClientRect} rectData - Data of the elements' content rectangle.
|
|
670
|
+
*/
|
|
671
|
+
constructor(target, rectData) {
|
|
672
|
+
const contentRect = {};
|
|
673
|
+
|
|
674
|
+
// According to the specification following properties
|
|
675
|
+
// are not writable and in native implementation
|
|
676
|
+
// they are also not enumerable.
|
|
677
|
+
Object.defineProperties(contentRect, {
|
|
678
|
+
width: {value: rectData.width},
|
|
679
|
+
height: {value: rectData.height},
|
|
680
|
+
top: {value: rectData.top},
|
|
681
|
+
right: {value: rectData.right},
|
|
682
|
+
bottom: {value: rectData.bottom},
|
|
683
|
+
left: {value: rectData.left}
|
|
684
|
+
});
|
|
685
|
+
|
|
686
|
+
Object.defineProperties(this, {
|
|
687
|
+
target: {value: target},
|
|
688
|
+
contentRect: {value: contentRect}
|
|
689
|
+
});
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
class ResizeObserver$3 {
|
|
694
|
+
/**
|
|
695
|
+
* Creates a new instance of ResizeObserver.
|
|
696
|
+
*
|
|
697
|
+
* @param {Function} callback - Callback function which will be invoked
|
|
698
|
+
* when one of the observed elements changes its' content rectangle.
|
|
699
|
+
* @param {ResizeObsreverController} controller - Controller instance
|
|
700
|
+
* which is responsible for the updates of observer.
|
|
701
|
+
* @param {ResizeObserver} publicObserver - Reference
|
|
702
|
+
* to the public ResizeObserver instance which will be passed
|
|
703
|
+
* to callback function.
|
|
704
|
+
*/
|
|
705
|
+
constructor(callback, controller, publicObserver) {
|
|
706
|
+
if (typeof callback !== 'function') {
|
|
707
|
+
throw new TypeError('The callback provided as parameter 1 is not a function.');
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
// Reference to the callback function.
|
|
711
|
+
this._callback = callback;
|
|
712
|
+
|
|
713
|
+
// A registry of ResizeObservation instances.
|
|
714
|
+
this._targets = new Map();
|
|
715
|
+
|
|
716
|
+
// A collection of resize observations that have detected
|
|
717
|
+
// changes in dimensions of elements.
|
|
718
|
+
this._activeTargets = [];
|
|
719
|
+
|
|
720
|
+
// Reference to associated ResizeObserverController.
|
|
721
|
+
this._controller = controller;
|
|
722
|
+
|
|
723
|
+
// Public ResizeObserver instance which will be passed
|
|
724
|
+
// to callback function.
|
|
725
|
+
this._publicObserver = publicObserver;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* Starts observing provided element.
|
|
730
|
+
*
|
|
731
|
+
* @param {Element} target - Element to be observed.
|
|
732
|
+
*/
|
|
733
|
+
observe(target) {
|
|
734
|
+
if (!arguments.length) {
|
|
735
|
+
throw new TypeError('1 argument required, but only 0 present.');
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
if (!(target instanceof Element)) {
|
|
739
|
+
throw new TypeError('parameter 1 is not of type "Element".');
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
const targets = this._targets;
|
|
743
|
+
|
|
744
|
+
// Do nothing if element is already being observed.
|
|
745
|
+
if (targets.has(target)) {
|
|
746
|
+
return;
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
targets.set(target, new ResizeObservation(target));
|
|
750
|
+
|
|
751
|
+
// Add observer to controller
|
|
752
|
+
// if it hasn't been connected yet.
|
|
753
|
+
if (!this._controller.isConnected(this)) {
|
|
754
|
+
this._controller.connect(this);
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
// Update observations.
|
|
758
|
+
this._controller.runUpdates();
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
/**
|
|
762
|
+
* Stops observing provided element.
|
|
763
|
+
*
|
|
764
|
+
* @param {Element} target - Element to stop observing.
|
|
765
|
+
*/
|
|
766
|
+
unobserve(target) {
|
|
767
|
+
if (!arguments.length) {
|
|
768
|
+
throw new TypeError('1 argument required, but only 0 present.');
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
if (!(target instanceof Element)) {
|
|
772
|
+
throw new TypeError('parameter 1 is not of type "Element".');
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
const targets = this._targets;
|
|
776
|
+
|
|
777
|
+
// Do nothing if element is not being observed.
|
|
778
|
+
if (!targets.has(target)) {
|
|
779
|
+
return;
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
// Remove element and an associated with
|
|
783
|
+
// it ResizeObsrvation instance from registry.
|
|
784
|
+
targets.delete(target);
|
|
785
|
+
|
|
786
|
+
if (!targets.size) {
|
|
787
|
+
this.disconnect();
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
/**
|
|
792
|
+
* Stops observing all elements and
|
|
793
|
+
* clears the observations list.
|
|
794
|
+
*/
|
|
795
|
+
disconnect() {
|
|
796
|
+
this.clearActive();
|
|
797
|
+
this._targets.clear();
|
|
798
|
+
|
|
799
|
+
this._controller.disconnect(this);
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
/**
|
|
803
|
+
* Invokes initial callback function with a list
|
|
804
|
+
* of ResizeObserverEntry instances collected from
|
|
805
|
+
* active resize observations.
|
|
806
|
+
*/
|
|
807
|
+
broadcastActive() {
|
|
808
|
+
if (!this.hasActive()) {
|
|
809
|
+
return;
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
const publicObserver = this._publicObserver;
|
|
813
|
+
|
|
814
|
+
const entries = this._activeTargets.map(observation => {
|
|
815
|
+
return new ResizeObserverEntry(
|
|
816
|
+
observation.target,
|
|
817
|
+
observation.broadcastRect()
|
|
818
|
+
);
|
|
819
|
+
});
|
|
820
|
+
|
|
821
|
+
this.clearActive();
|
|
822
|
+
|
|
823
|
+
this._callback.call(publicObserver, entries, publicObserver);
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
/**
|
|
827
|
+
* Clears the collection of pending/active observations.
|
|
828
|
+
*/
|
|
829
|
+
clearActive() {
|
|
830
|
+
this._activeTargets.splice(0);
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
/**
|
|
834
|
+
* Tells whether the observer has
|
|
835
|
+
* pending observations.
|
|
836
|
+
*
|
|
837
|
+
* @returns {Boolean}
|
|
838
|
+
*/
|
|
839
|
+
hasActive() {
|
|
840
|
+
return !!this._activeTargets.length;
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
/**
|
|
844
|
+
* Clears an array of previously collected active observations
|
|
845
|
+
* and collects observation instances whose associated element
|
|
846
|
+
* has changes in its' content rectangle.
|
|
847
|
+
*/
|
|
848
|
+
gatherActive() {
|
|
849
|
+
this.clearActive();
|
|
850
|
+
|
|
851
|
+
const activeTargets = this._activeTargets;
|
|
852
|
+
|
|
853
|
+
this._targets.forEach(observation => {
|
|
854
|
+
if (observation.isActive()) {
|
|
855
|
+
activeTargets.push(observation);
|
|
856
|
+
}
|
|
857
|
+
});
|
|
858
|
+
}
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
// Controller which will be assigned to all instances of ResizeObserver.
|
|
862
|
+
const controller = new ResizeObserverController();
|
|
863
|
+
|
|
864
|
+
// Registry of internal observers.
|
|
865
|
+
const observers = new WeakMap();
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* ResizeObservers' "Proxy" class which is meant to hide private
|
|
869
|
+
* properties and methods from public instances.
|
|
870
|
+
*
|
|
871
|
+
* Additionally it implements "idleTimeout" and "continuousUpdates" static property
|
|
872
|
+
* accessors to give a control over the behavior of ResizeObserverController
|
|
873
|
+
* instance. Changes made to these properties will affect all future and
|
|
874
|
+
* existing observers.
|
|
875
|
+
*/
|
|
876
|
+
class ResizeObserver$2 {
|
|
877
|
+
/**
|
|
878
|
+
* Creates a new instance of ResizeObserver.
|
|
879
|
+
*
|
|
880
|
+
* @param {Function} callback - Callback which will
|
|
881
|
+
* be invoked when dimensions of one of the
|
|
882
|
+
* observed elements have been changed.
|
|
883
|
+
*/
|
|
884
|
+
constructor(callback) {
|
|
885
|
+
if (!arguments.length) {
|
|
886
|
+
throw new TypeError('1 argument required, but only 0 present.');
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
const observer = new ResizeObserver$3(callback, controller, this);
|
|
890
|
+
|
|
891
|
+
// Register an internal observer.
|
|
892
|
+
observers.set(this, observer);
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
/**
|
|
896
|
+
* Extracts controllers' idle timeout value.
|
|
897
|
+
*
|
|
898
|
+
* @returns {Number}
|
|
899
|
+
*/
|
|
900
|
+
static get idleTimeout() {
|
|
901
|
+
return controller.idleTimeout;
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
/**
|
|
905
|
+
* Sets up new idle timeout.
|
|
906
|
+
*
|
|
907
|
+
* @param {Number} value - New timeout value.
|
|
908
|
+
*/
|
|
909
|
+
static set idleTimeout(value) {
|
|
910
|
+
if (typeof value !== 'number') {
|
|
911
|
+
throw new TypeError('type of "idleTimeout" value must be a number.');
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
if (typeof value < 0) {
|
|
915
|
+
throw new TypeError('"idleTimeout" value must be greater than 0.');
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
controller.idleTimeout = value;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
/**
|
|
922
|
+
* Tells whether continuous updates are enabled.
|
|
923
|
+
*
|
|
924
|
+
* @returns {Boolean}
|
|
925
|
+
*/
|
|
926
|
+
static get continuousUpdates() {
|
|
927
|
+
return controller.continuousUpdates;
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
/**
|
|
931
|
+
* Enables or disables continuous updates.
|
|
932
|
+
*
|
|
933
|
+
* @param {Boolean} value - Whether to enable or disable
|
|
934
|
+
* continuous updates.
|
|
935
|
+
*/
|
|
936
|
+
static set continuousUpdates(value) {
|
|
937
|
+
if (typeof value !== 'boolean') {
|
|
938
|
+
throw new TypeError('type of "continuousUpdates" value must be a boolean.');
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
controller.continuousUpdates = value;
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
// Expose public methods of ResizeObserver.
|
|
946
|
+
[
|
|
947
|
+
'observe',
|
|
948
|
+
'unobserve',
|
|
949
|
+
'disconnect'
|
|
950
|
+
].forEach(method => {
|
|
951
|
+
ResizeObserver$2.prototype[method] = function () {
|
|
952
|
+
return observers.get(this)[method](...arguments);
|
|
953
|
+
};
|
|
954
|
+
});
|
|
955
|
+
|
|
956
|
+
let ResizeObserver = ResizeObserver$2;
|
|
957
|
+
|
|
958
|
+
// Export existing implementation if it's available.
|
|
959
|
+
if (typeof window.ResizeObserver === 'function') {
|
|
960
|
+
ResizeObserver = window.ResizeObserver;
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
const ResizeObserver$1 = ResizeObserver;
|
|
964
|
+
|
|
965
|
+
export { ResizeObserver$1 as R };
|
|
966
|
+
|
|
967
|
+
//# sourceMappingURL=index-ecc819ad.js.map
|