@itcenteratunihelsinki/huds-lib 0.8.73 → 0.8.74
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/ResizeObserver.es.js +928 -0
- package/components/accordion-container.js +40 -41
- package/components/accordion-item.js +217 -218
- package/components/cta-button.js +48 -49
- package/components/cta-link.js +41 -42
- package/components/globalScript.js +2 -18
- package/components/heading.js +69 -69
- package/components/hy-accordion-container.d.ts +2 -2
- package/components/hy-accordion-container.js +0 -2
- package/components/hy-accordion-item.d.ts +2 -2
- package/components/hy-accordion-item.js +0 -2
- package/components/hy-adjacent-image-text.d.ts +2 -2
- package/components/hy-adjacent-image-text.js +91 -92
- package/components/hy-anchor-link-list.d.ts +2 -2
- package/components/hy-anchor-link-list.js +63 -64
- package/components/hy-badge.d.ts +2 -2
- package/components/hy-badge.js +27 -28
- package/components/hy-banner.d.ts +2 -2
- package/components/hy-banner.js +78 -79
- package/components/hy-box.d.ts +2 -2
- package/components/hy-box.js +0 -2
- package/components/hy-box2.js +95 -96
- package/components/hy-breadcrumbs.d.ts +2 -2
- package/components/hy-breadcrumbs.js +55 -56
- package/components/hy-checkbox.d.ts +2 -2
- package/components/hy-checkbox.js +42 -43
- package/components/hy-collaboration.d.ts +2 -2
- package/components/hy-collaboration.js +38 -39
- package/components/hy-content-list-item.d.ts +2 -2
- package/components/hy-content-list-item.js +0 -2
- package/components/hy-content-list-item2.js +95 -96
- package/components/hy-content-list.d.ts +2 -2
- package/components/hy-content-list.js +131 -130
- package/components/hy-crisis-banner.d.ts +2 -2
- package/components/hy-crisis-banner.js +36 -37
- package/components/hy-cta-button.d.ts +2 -2
- package/components/hy-cta-button.js +0 -2
- package/components/hy-cta-link.d.ts +2 -2
- package/components/hy-cta-link.js +0 -2
- package/components/hy-dropdown.d.ts +2 -2
- package/components/hy-dropdown.js +231 -230
- package/components/hy-event-item.d.ts +2 -2
- package/components/hy-event-item.js +61 -62
- package/components/hy-events.d.ts +2 -2
- package/components/hy-events.js +112 -111
- package/components/hy-filter-group-item.d.ts +2 -2
- package/components/hy-filter-group-item.js +0 -2
- package/components/hy-filter-group.d.ts +2 -2
- package/components/hy-filter-group.item.js +30 -32
- package/components/hy-filter-group.js +55 -54
- package/components/hy-filter-list-type.d.ts +2 -2
- package/components/hy-filter-list-type.js +40 -41
- package/components/hy-filter-visibility-tool-reset.d.ts +2 -2
- package/components/hy-filter-visibility-tool-reset.js +0 -2
- package/components/hy-filter-visibility-tool-toggle.d.ts +2 -2
- package/components/hy-filter-visibility-tool-toggle.js +0 -2
- package/components/hy-filter-visibility-tool.d.ts +2 -2
- package/components/hy-filter-visibility-tool.js +44 -45
- package/components/hy-filter-visibility-tool.reset.js +25 -27
- package/components/hy-filter-visibility-tool.reset.toggle.js +25 -27
- package/components/hy-footer-action.d.ts +2 -2
- package/components/hy-footer-action.js +43 -44
- package/components/hy-footer-base.d.ts +2 -2
- package/components/hy-footer-base.js +79 -80
- package/components/hy-footer-info.d.ts +2 -2
- package/components/hy-footer-info.js +147 -148
- package/components/hy-footer-link-item.d.ts +2 -2
- package/components/hy-footer-link-item.js +0 -2
- package/components/hy-footer-link-item2.js +87 -88
- package/components/hy-footer.d.ts +2 -2
- package/components/hy-footer.js +23 -24
- package/components/hy-general-list-item.d.ts +2 -2
- package/components/hy-general-list-item.js +0 -2
- package/components/hy-general-list-item2.js +67 -68
- package/components/hy-general-list.d.ts +2 -2
- package/components/hy-general-list.js +74 -73
- package/components/hy-heading.d.ts +2 -2
- package/components/hy-heading.js +0 -2
- package/components/hy-hero-carousel.d.ts +2 -2
- package/components/hy-hero-carousel.js +1116 -588
- package/components/hy-hero.d.ts +2 -2
- package/components/hy-hero.js +112 -113
- package/components/hy-icon.d.ts +2 -2
- package/components/hy-icon.js +0 -2
- package/components/hy-image.d.ts +2 -2
- package/components/hy-image.js +0 -2
- package/components/hy-ingress.d.ts +2 -2
- package/components/hy-ingress.js +34 -35
- package/components/hy-introduction.d.ts +2 -2
- package/components/hy-introduction.js +101 -102
- package/components/hy-key-figure-group.d.ts +2 -2
- package/components/hy-key-figure-group.js +85 -86
- package/components/hy-key-figure.d.ts +2 -2
- package/components/hy-key-figure.js +0 -2
- package/components/hy-key-figure2.js +31 -32
- package/components/hy-key-highlight-group.d.ts +2 -2
- package/components/hy-key-highlight-group.js +55 -56
- package/components/hy-key-highlight.d.ts +2 -2
- package/components/hy-key-highlight.js +0 -2
- package/components/hy-key-highlight2.js +31 -32
- package/components/hy-large-process-flow-phase.d.ts +2 -2
- package/components/hy-large-process-flow-phase.js +0 -2
- package/components/hy-large-process-flow-phase2.js +53 -54
- package/components/hy-large-process-flow.d.ts +2 -2
- package/components/hy-large-process-flow.js +67 -68
- package/components/hy-link-box-list.d.ts +2 -2
- package/components/hy-link-box-list.js +76 -77
- package/components/hy-link-box.d.ts +2 -2
- package/components/hy-link-box.js +0 -2
- package/components/hy-link-list.d.ts +2 -2
- package/components/hy-link-list.js +61 -62
- package/components/hy-link.d.ts +2 -2
- package/components/hy-link.js +35 -36
- package/components/hy-list-item.d.ts +2 -2
- package/components/hy-list-item.js +268 -265
- package/components/hy-logo-grid-item.d.ts +2 -2
- package/components/hy-logo-grid-item.js +38 -39
- package/components/hy-logo-grid.d.ts +2 -2
- package/components/hy-logo-grid.js +28 -29
- package/components/hy-main-content-wrapper.d.ts +2 -2
- package/components/hy-main-content-wrapper.js +0 -2
- package/components/hy-main-content-wrapper2.js +23 -24
- package/components/hy-main.d.ts +2 -2
- package/components/hy-main.js +30 -31
- package/components/hy-menu-language-item.d.ts +2 -2
- package/components/hy-menu-language-item.js +0 -2
- package/components/hy-menu-language.d.ts +2 -2
- package/components/hy-menu-language.js +0 -2
- package/components/hy-menu-main-group.d.ts +2 -2
- package/components/hy-menu-main-group.js +0 -2
- package/components/hy-menu-main-group2.js +165 -166
- package/components/hy-opening-hours-content.d.ts +2 -2
- package/components/hy-opening-hours-content.js +54 -53
- package/components/hy-opening-hours.d.ts +2 -2
- package/components/hy-opening-hours.js +76 -77
- package/components/hy-pager-item.d.ts +2 -2
- package/components/hy-pager-item.js +60 -61
- package/components/hy-pager.d.ts +2 -2
- package/components/hy-pager.js +24 -25
- package/components/hy-paragraph-text.d.ts +2 -2
- package/components/hy-paragraph-text.js +0 -2
- package/components/hy-person-card.d.ts +2 -2
- package/components/hy-person-card.js +123 -124
- package/components/hy-person-profile-listing.d.ts +2 -2
- package/components/hy-person-profile-listing.js +0 -2
- package/components/hy-person-profile.d.ts +2 -2
- package/components/hy-person-profile.js +120 -121
- package/components/hy-process-flow-box.d.ts +2 -2
- package/components/hy-process-flow-box.js +0 -2
- package/components/hy-process.d.ts +2 -2
- package/components/hy-process.js +74 -75
- package/components/hy-prominent-image.d.ts +2 -2
- package/components/hy-prominent-image.js +58 -59
- package/components/hy-quote.d.ts +2 -2
- package/components/hy-quote.js +42 -43
- package/components/hy-row.d.ts +2 -2
- package/components/hy-row.js +31 -32
- package/components/hy-search-field.d.ts +2 -2
- package/components/hy-search-field.js +0 -2
- package/components/hy-search-field2.js +73 -74
- package/components/hy-section-container.d.ts +2 -2
- package/components/hy-section-container.js +22 -23
- package/components/hy-shortcuts.d.ts +2 -2
- package/components/hy-shortcuts.js +81 -80
- package/components/hy-site-header.d.ts +2 -2
- package/components/hy-site-header.js +331 -332
- package/components/hy-site-logo.d.ts +2 -2
- package/components/hy-site-logo.js +0 -2
- package/components/hy-site-search.d.ts +2 -2
- package/components/hy-site-search.js +0 -2
- package/components/hy-table-container.d.ts +2 -2
- package/components/hy-table-container.js +28 -29
- package/components/hy-tabs-item.d.ts +2 -2
- package/components/hy-tabs-item.js +0 -2
- package/components/hy-tabs-item2.js +26 -27
- package/components/hy-tabs.d.ts +2 -2
- package/components/hy-tabs.js +0 -2
- package/components/hy-tabs2.js +306 -307
- package/components/hy-tag.d.ts +2 -2
- package/components/hy-tag.js +0 -2
- package/components/hy-tag2.js +24 -25
- package/components/hy-tiny-text.d.ts +2 -2
- package/components/hy-tiny-text.js +24 -25
- package/components/hy-twitter-feed.d.ts +2 -2
- package/components/hy-twitter-feed.js +45 -46
- package/components/hy-two-columns.d.ts +2 -2
- package/components/hy-two-columns.js +26 -27
- package/components/hy-user-login-form.d.ts +2 -2
- package/components/hy-user-login-form.js +40 -41
- package/components/hy-video.d.ts +2 -2
- package/components/hy-video.js +139 -140
- package/components/icon.js +440 -440
- package/components/image.js +73 -72
- package/components/index.d.ts +6 -0
- package/components/{emotion.esm.js → index.esm.js} +496 -657
- package/components/index.js +2 -4
- package/components/index2.js +168 -963
- package/components/index3.js +1545 -0
- package/components/link-box.js +107 -106
- package/components/menu-language-item.js +40 -41
- package/components/menu-language.js +110 -111
- package/components/paragraph-text.js +50 -49
- package/components/person-profile.listing.js +48 -49
- package/components/process-flow-box.js +48 -49
- package/components/site-logo.js +50 -51
- package/components/site-search.js +164 -165
- package/components/utils.js +101 -103
- package/dist/cjs/ResizeObserver.es-c9ba881e.js +930 -0
- package/dist/cjs/app-globals-696184cf.js +7 -0
- package/dist/cjs/{globalScript-9994473d.js → globalScript-eba122a0.js} +12 -12
- package/dist/cjs/huds-lib.cjs.js +14 -17
- package/dist/cjs/hy-accordion-container_2.cjs.entry.js +213 -213
- package/dist/cjs/hy-adjacent-image-text.cjs.entry.js +48 -49
- package/dist/cjs/hy-anchor-link-list.cjs.entry.js +40 -41
- package/dist/cjs/hy-badge.cjs.entry.js +11 -12
- package/dist/cjs/hy-banner.cjs.entry.js +38 -39
- package/dist/cjs/hy-box.cjs.entry.js +64 -65
- package/dist/cjs/hy-breadcrumbs_15.cjs.entry.js +853 -839
- package/dist/cjs/hy-checkbox.cjs.entry.js +19 -20
- package/dist/cjs/hy-collaboration.cjs.entry.js +14 -15
- package/dist/cjs/hy-content-list_2.cjs.entry.js +148 -148
- package/dist/cjs/hy-crisis-banner.cjs.entry.js +13 -14
- package/dist/cjs/hy-cta-button.cjs.entry.js +23 -24
- package/dist/cjs/hy-cta-link.cjs.entry.js +18 -19
- package/dist/cjs/hy-dropdown.cjs.entry.js +199 -200
- package/dist/cjs/hy-event-item.cjs.entry.js +32 -33
- package/dist/cjs/hy-events.cjs.entry.js +80 -81
- package/dist/cjs/hy-filter-group_6.cjs.entry.js +79 -78
- package/dist/cjs/hy-general-list_2.cjs.entry.js +82 -82
- package/dist/cjs/hy-hero-carousel.cjs.entry.js +1086 -558
- package/dist/cjs/hy-hero.cjs.entry.js +66 -67
- package/dist/cjs/hy-icon.cjs.entry.js +422 -423
- package/dist/cjs/hy-image.cjs.entry.js +44 -45
- package/dist/cjs/hy-introduction.cjs.entry.js +50 -51
- package/dist/cjs/hy-key-figure_2.cjs.entry.js +73 -73
- package/dist/cjs/hy-key-highlight_2.cjs.entry.js +46 -46
- package/dist/cjs/hy-large-process-flow_2.cjs.entry.js +58 -58
- package/dist/cjs/hy-link-box_2.cjs.entry.js +116 -116
- package/dist/cjs/hy-link-list.cjs.entry.js +34 -35
- package/dist/cjs/hy-link.cjs.entry.js +17 -18
- package/dist/cjs/hy-list-item.cjs.entry.js +224 -225
- package/dist/cjs/hy-logo-grid_2.cjs.entry.js +33 -33
- package/dist/cjs/hy-main.cjs.entry.js +15 -16
- package/dist/cjs/hy-menu-main-group.cjs.entry.js +132 -133
- package/dist/cjs/hy-opening-hours_2.cjs.entry.js +65 -65
- package/dist/cjs/hy-pager_2.cjs.entry.js +46 -46
- package/dist/cjs/hy-paragraph-text.cjs.entry.js +31 -30
- package/dist/cjs/hy-person-card.cjs.entry.js +83 -84
- package/dist/cjs/hy-person-profile-listing.cjs.entry.js +23 -24
- package/dist/cjs/hy-person-profile.cjs.entry.js +59 -60
- package/dist/cjs/hy-process_2.cjs.entry.js +68 -68
- package/dist/cjs/hy-prominent-image.cjs.entry.js +28 -29
- package/dist/cjs/hy-quote.cjs.entry.js +20 -21
- package/dist/cjs/hy-row.cjs.entry.js +14 -15
- package/dist/cjs/hy-section-container.cjs.entry.js +9 -10
- package/dist/cjs/hy-shortcuts.cjs.entry.js +48 -49
- package/dist/cjs/hy-table-container.cjs.entry.js +10 -11
- package/dist/cjs/hy-tabs_2.cjs.entry.js +284 -284
- package/dist/cjs/hy-tag.cjs.entry.js +10 -11
- package/dist/cjs/hy-tiny-text.cjs.entry.js +10 -11
- package/dist/cjs/hy-twitter-feed.cjs.entry.js +21 -22
- package/dist/cjs/hy-two-columns.cjs.entry.js +11 -12
- package/dist/cjs/hy-user-login-form.cjs.entry.js +15 -16
- package/dist/cjs/hy-video.cjs.entry.js +87 -88
- package/dist/cjs/index-579f8aa3.js +1740 -0
- package/dist/cjs/index.cjs.js +0 -2
- package/dist/cjs/{emotion.esm-aef96835.js → index.esm-2f7250e0.js} +496 -657
- package/dist/cjs/loader.cjs.js +7 -16
- package/dist/cjs/utils-8e26d681.js +193 -0
- package/dist/collection/collection-manifest.json +87 -87
- package/dist/collection/components/footer/hy-footer/hy-footer.js +15 -16
- package/dist/collection/components/footer/hy-footer-action/hy-footer-action.js +76 -77
- package/dist/collection/components/footer/hy-footer-base/hy-footer-base.js +231 -227
- package/dist/collection/components/footer/hy-footer-info/hy-footer-info.js +327 -326
- package/dist/collection/components/footer/hy-footer-link-item/hy-footer-link-item.js +236 -234
- package/dist/collection/components/global-workers/globals.worker.js +0 -1
- package/dist/collection/components/hy-accordion-container/accordion-container.js +48 -49
- package/dist/collection/components/hy-accordion-item/accordion-item.js +306 -306
- package/dist/collection/components/hy-adjacent-image-text/adjacent-image-text.js +325 -325
- package/dist/collection/components/hy-anchor-link-list/hy-anchor-link-list.js +137 -137
- package/dist/collection/components/hy-badge/hy-badge.js +41 -42
- package/dist/collection/components/hy-banner/hy-banner.js +170 -171
- package/dist/collection/components/hy-box/hy-box.js +369 -370
- package/dist/collection/components/hy-breadcrumbs/hy-breadcrumbs.js +111 -110
- package/dist/collection/components/hy-checkbox/hy-checkbox.js +121 -121
- package/dist/collection/components/hy-collaboration/hy-collaboration.js +110 -111
- package/dist/collection/components/hy-content-lists/hy-content-list/hy-content-list.js +241 -241
- package/dist/collection/components/hy-content-lists/hy-content-list-item/hy-content-list-item.js +367 -365
- package/dist/collection/components/hy-crisis-banner/hy-crisis-banner.js +92 -93
- package/dist/collection/components/hy-cta-button/cta-button.js +162 -162
- package/dist/collection/components/hy-cta-link/cta-link.js +121 -121
- package/dist/collection/components/hy-dropdown/hy-dropdown.js +432 -432
- package/dist/collection/components/hy-event-item/hy-event-item.js +207 -208
- package/dist/collection/components/hy-events/hy-events.js +203 -204
- package/dist/collection/components/hy-filter-group/hy-filter-group.item.js +46 -47
- package/dist/collection/components/hy-filter-group/hy-filter-group.js +80 -80
- package/dist/collection/components/hy-filter-list-type/hy-filter-list-type.js +64 -65
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.js +42 -43
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.js +4 -5
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.toggle.js +4 -5
- package/dist/collection/components/hy-general-list/hy-general-list.js +161 -160
- package/dist/collection/components/hy-general-list-item/hy-general-list-item.js +296 -297
- package/dist/collection/components/hy-heading/heading.js +186 -185
- package/dist/collection/components/hy-hero/hy-hero.js +442 -437
- package/dist/collection/components/hy-hero-carousel/hy-hero-carousel.js +213 -212
- package/dist/collection/components/hy-icon/AddToTodoList.js +1 -2
- package/dist/collection/components/hy-icon/Alert.js +1 -2
- package/dist/collection/components/hy-icon/Archive.js +1 -2
- package/dist/collection/components/hy-icon/Arrow.js +1 -2
- package/dist/collection/components/hy-icon/ArrowDown.js +1 -2
- package/dist/collection/components/hy-icon/ArrowRight.js +1 -2
- package/dist/collection/components/hy-icon/ArrowUp.js +1 -2
- package/dist/collection/components/hy-icon/Avatar.js +1 -2
- package/dist/collection/components/hy-icon/AvatarGroup.js +1 -2
- package/dist/collection/components/hy-icon/Bachelor.js +1 -2
- package/dist/collection/components/hy-icon/BulletList.js +1 -2
- package/dist/collection/components/hy-icon/Camera.js +1 -2
- package/dist/collection/components/hy-icon/CaretDown.js +1 -2
- package/dist/collection/components/hy-icon/CaretLeft.js +1 -2
- package/dist/collection/components/hy-icon/CaretRight.js +1 -2
- package/dist/collection/components/hy-icon/CaretUp.js +1 -2
- package/dist/collection/components/hy-icon/Chat.js +1 -2
- package/dist/collection/components/hy-icon/CodeFork.js +1 -2
- package/dist/collection/components/hy-icon/Cogs.js +1 -2
- package/dist/collection/components/hy-icon/Contentlink.js +1 -2
- package/dist/collection/components/hy-icon/Customlink.js +1 -2
- package/dist/collection/components/hy-icon/Date.js +1 -2
- package/dist/collection/components/hy-icon/Discover.js +1 -2
- package/dist/collection/components/hy-icon/Done.js +1 -2
- package/dist/collection/components/hy-icon/Dot.js +1 -2
- package/dist/collection/components/hy-icon/DotArrowRight.js +1 -2
- package/dist/collection/components/hy-icon/Download.js +1 -2
- package/dist/collection/components/hy-icon/Drag.js +1 -2
- package/dist/collection/components/hy-icon/Dragbutton.js +1 -2
- package/dist/collection/components/hy-icon/DropDown.js +1 -2
- package/dist/collection/components/hy-icon/Edit.js +1 -2
- package/dist/collection/components/hy-icon/EditEvent.js +1 -2
- package/dist/collection/components/hy-icon/Embed.js +1 -2
- package/dist/collection/components/hy-icon/Euro.js +1 -2
- package/dist/collection/components/hy-icon/Events.js +1 -2
- package/dist/collection/components/hy-icon/ExternalLink.js +1 -2
- package/dist/collection/components/hy-icon/EyeSlash.js +1 -2
- package/dist/collection/components/hy-icon/Facebook.js +1 -2
- package/dist/collection/components/hy-icon/Favorites.js +1 -2
- package/dist/collection/components/hy-icon/Feed.js +1 -2
- package/dist/collection/components/hy-icon/FileText.js +1 -2
- package/dist/collection/components/hy-icon/FullScreen.js +1 -2
- package/dist/collection/components/hy-icon/Globe.js +1 -2
- package/dist/collection/components/hy-icon/GooglePlus.js +1 -2
- package/dist/collection/components/hy-icon/Grid.js +1 -2
- package/dist/collection/components/hy-icon/Hamburger.js +1 -2
- package/dist/collection/components/hy-icon/Heart.js +1 -2
- package/dist/collection/components/hy-icon/HeartSupport.js +1 -2
- package/dist/collection/components/hy-icon/Helsinginyliopisto.js +1 -2
- package/dist/collection/components/hy-icon/Home.js +1 -2
- package/dist/collection/components/hy-icon/HorizontalResize.js +1 -2
- package/dist/collection/components/hy-icon/HyLogo.js +1 -2
- package/dist/collection/components/hy-icon/IdNumber.js +1 -2
- package/dist/collection/components/hy-icon/Image.js +1 -2
- package/dist/collection/components/hy-icon/ImageGallery.js +1 -2
- package/dist/collection/components/hy-icon/Images.js +1 -2
- package/dist/collection/components/hy-icon/Info.js +1 -2
- package/dist/collection/components/hy-icon/InfoStroke.js +1 -2
- package/dist/collection/components/hy-icon/Instagram.js +1 -2
- package/dist/collection/components/hy-icon/LeikiList.js +1 -2
- package/dist/collection/components/hy-icon/LinkArrow.js +1 -2
- package/dist/collection/components/hy-icon/LinkArrow1.js +1 -2
- package/dist/collection/components/hy-icon/LinkArrowDown.js +1 -2
- package/dist/collection/components/hy-icon/LinkArrowLeft.js +1 -2
- package/dist/collection/components/hy-icon/LinkArrowOffsite.js +1 -2
- package/dist/collection/components/hy-icon/LinkArrowUp.js +1 -2
- package/dist/collection/components/hy-icon/Linkedin.js +1 -2
- package/dist/collection/components/hy-icon/List.js +1 -2
- package/dist/collection/components/hy-icon/ListAsBlocks.js +1 -2
- package/dist/collection/components/hy-icon/ListStyleGrid.js +1 -2
- package/dist/collection/components/hy-icon/ListStyleList.js +1 -2
- package/dist/collection/components/hy-icon/Listoflinks.js +1 -2
- package/dist/collection/components/hy-icon/Location.js +1 -2
- package/dist/collection/components/hy-icon/Log.js +1 -2
- package/dist/collection/components/hy-icon/Login.js +1 -2
- package/dist/collection/components/hy-icon/Logout.js +1 -2
- package/dist/collection/components/hy-icon/MagnifyMinus.js +1 -2
- package/dist/collection/components/hy-icon/MagnifyPlus.js +1 -2
- package/dist/collection/components/hy-icon/Mail.js +1 -2
- package/dist/collection/components/hy-icon/Master.js +1 -2
- package/dist/collection/components/hy-icon/Minus.js +1 -2
- package/dist/collection/components/hy-icon/Mobile.js +1 -2
- package/dist/collection/components/hy-icon/Modify.js +1 -2
- package/dist/collection/components/hy-icon/NaviTriangle.js +1 -2
- package/dist/collection/components/hy-icon/NewGroup.js +1 -2
- package/dist/collection/components/hy-icon/NewPerson.js +1 -2
- package/dist/collection/components/hy-icon/Notification.js +1 -2
- package/dist/collection/components/hy-icon/OpinderLogo.js +1 -2
- package/dist/collection/components/hy-icon/OpinderLogoNew.js +1 -2
- package/dist/collection/components/hy-icon/Pdf.js +1 -2
- package/dist/collection/components/hy-icon/People.js +1 -2
- package/dist/collection/components/hy-icon/PermissionAll.js +1 -2
- package/dist/collection/components/hy-icon/PermissionGroup.js +1 -2
- package/dist/collection/components/hy-icon/PermissionPrivate.js +1 -2
- package/dist/collection/components/hy-icon/Person.js +1 -2
- package/dist/collection/components/hy-icon/PersonOutline.js +1 -2
- package/dist/collection/components/hy-icon/Phone.js +1 -2
- package/dist/collection/components/hy-icon/Play.js +1 -2
- package/dist/collection/components/hy-icon/Plus.js +1 -2
- package/dist/collection/components/hy-icon/Preview.js +1 -2
- package/dist/collection/components/hy-icon/Profile.js +1 -2
- package/dist/collection/components/hy-icon/Question.js +1 -2
- package/dist/collection/components/hy-icon/Remove.js +1 -2
- package/dist/collection/components/hy-icon/Retweet.js +1 -2
- package/dist/collection/components/hy-icon/RotateLeft.js +1 -2
- package/dist/collection/components/hy-icon/RotateRight.js +1 -2
- package/dist/collection/components/hy-icon/Search.js +1 -2
- package/dist/collection/components/hy-icon/Share.js +1 -2
- package/dist/collection/components/hy-icon/SlimHamburgerMenu.js +1 -2
- package/dist/collection/components/hy-icon/SocialMedia.js +1 -2
- package/dist/collection/components/hy-icon/SomeFacebook.js +1 -2
- package/dist/collection/components/hy-icon/SomeInstagram.js +1 -2
- package/dist/collection/components/hy-icon/SomeLinkedin.js +1 -2
- package/dist/collection/components/hy-icon/SomeTwitter.js +1 -2
- package/dist/collection/components/hy-icon/SomeYoutube.js +1 -2
- package/dist/collection/components/hy-icon/Spinner.js +1 -2
- package/dist/collection/components/hy-icon/Square.js +1 -2
- package/dist/collection/components/hy-icon/SquareChecked.js +1 -2
- package/dist/collection/components/hy-icon/Time.js +1 -2
- package/dist/collection/components/hy-icon/TodoList.js +1 -2
- package/dist/collection/components/hy-icon/Tour.js +1 -2
- package/dist/collection/components/hy-icon/Twitter.js +1 -2
- package/dist/collection/components/hy-icon/TwitterLike.js +1 -2
- package/dist/collection/components/hy-icon/UnitsAndFaculties.js +1 -2
- package/dist/collection/components/hy-icon/Url.js +1 -2
- package/dist/collection/components/hy-icon/Video.js +1 -2
- package/dist/collection/components/hy-icon/Warning.js +1 -2
- package/dist/collection/components/hy-icon/Wrench.js +1 -2
- package/dist/collection/components/hy-icon/Youtube.js +1 -2
- package/dist/collection/components/hy-icon/allIcons.js +0 -1
- package/dist/collection/components/hy-icon/icon.js +209 -210
- package/dist/collection/components/hy-icon/icons.js +4 -5
- package/dist/collection/components/hy-image/image.js +212 -211
- package/dist/collection/components/hy-ingress/ingress.js +48 -49
- package/dist/collection/components/hy-introduction/hy-introduction.js +298 -297
- package/dist/collection/components/hy-key-figure/hy-key-figure.js +82 -82
- package/dist/collection/components/hy-key-figure-group/hy-key-figure-group.js +109 -109
- package/dist/collection/components/hy-key-highlight/hy-key-highlight.js +82 -82
- package/dist/collection/components/hy-key-highlight-group/hy-key-highlight-group.js +107 -106
- package/dist/collection/components/hy-large-process-flow/hy-large-process-flow.js +82 -82
- package/dist/collection/components/hy-large-process-flow-phase/hy-large-process-flow-phase.js +61 -61
- package/dist/collection/components/hy-link/link.js +120 -120
- package/dist/collection/components/hy-link-box/link-box.js +343 -342
- package/dist/collection/components/hy-link-box-list/link-box-list.js +134 -133
- package/dist/collection/components/hy-link-list/hy-link-list.js +136 -136
- package/dist/collection/components/hy-list-item/hy-list-item.js +614 -611
- package/dist/collection/components/hy-logo-grid/hy-logo-grid.item.js +67 -68
- package/dist/collection/components/hy-logo-grid/hy-logo-grid.js +57 -58
- package/dist/collection/components/hy-main/hy-main.js +44 -45
- package/dist/collection/components/hy-main-content-wrapper/hy-main-content-wrapper.js +15 -16
- package/dist/collection/components/hy-navigation/hy-menu-main-group/hy-menu-main-group.js +392 -391
- package/dist/collection/components/hy-navigation/menu-language/menu-language.js +218 -217
- package/dist/collection/components/hy-navigation/menu-language-item/menu-language-item.js +135 -136
- package/dist/collection/components/hy-opening-hours/hy-opening-hours.js +323 -324
- package/dist/collection/components/hy-opening-hours-content/hy-opening-hours-content.js +124 -124
- package/dist/collection/components/hy-pagination/hy-pager/hy-pager.js +16 -17
- package/dist/collection/components/hy-pagination/hy-pager-item/hy-pager-item.js +122 -122
- package/dist/collection/components/hy-paragraph-text/paragraph-text.js +95 -96
- package/dist/collection/components/hy-person-card/hy-person-card.js +470 -470
- package/dist/collection/components/hy-person-profile/person-profile-listing/person-profile.listing.js +141 -141
- package/dist/collection/components/hy-person-profile/person-profile.js +177 -178
- package/dist/collection/components/hy-process/process.js +115 -115
- package/dist/collection/components/hy-process-flow-box/process-flow-box.js +166 -165
- package/dist/collection/components/hy-prominent-image/hy-prominent-image.js +132 -132
- package/dist/collection/components/hy-quote/hy-quote.js +67 -68
- package/dist/collection/components/hy-row/row.js +78 -79
- package/dist/collection/components/hy-search-field/hy-search-field.js +237 -238
- package/dist/collection/components/hy-section-container/section-container.js +14 -15
- package/dist/collection/components/hy-shortcuts/hy-shortcuts.js +119 -119
- package/dist/collection/components/hy-site-header/site-header.js +756 -754
- package/dist/collection/components/hy-site-header/site-logo/site-logo.js +176 -174
- package/dist/collection/components/hy-site-header/site-search/site-search.js +425 -424
- package/dist/collection/components/hy-table-container/hy-table-container.js +15 -16
- package/dist/collection/components/hy-tabs/hy-tabs.js +371 -372
- package/dist/collection/components/hy-tabs-item/hy-tabs-item.js +39 -40
- package/dist/collection/components/hy-tag/hy-tag.js +16 -17
- package/dist/collection/components/hy-tiny-text/tiny-text.js +16 -17
- package/dist/collection/components/hy-twitter-feed/hy-twitter-feed.js +117 -118
- package/dist/collection/components/hy-two-columns/hy-two-columns.js +40 -41
- package/dist/collection/components/hy-user-login-form/hy-user-login-form.js +59 -60
- package/dist/collection/components/hy-video/hy-video.js +503 -504
- package/dist/collection/global/colors.js +21 -22
- package/dist/collection/global/globalScript.js +9 -10
- package/dist/collection/global/typography.js +3 -4
- package/dist/collection/index.js +0 -1
- package/dist/collection/utils/utils.js +101 -102
- package/dist/esm/ResizeObserver.es-ccb10328.js +928 -0
- package/dist/esm/app-globals-31b59183.js +5 -0
- package/dist/esm/globalScript-0c14426d.js +27 -0
- package/dist/esm/huds-lib.js +15 -18
- package/dist/esm/hy-accordion-container_2.entry.js +213 -213
- package/dist/esm/hy-adjacent-image-text.entry.js +48 -49
- package/dist/esm/hy-anchor-link-list.entry.js +40 -41
- package/dist/esm/hy-badge.entry.js +11 -12
- package/dist/esm/hy-banner.entry.js +38 -39
- package/dist/esm/hy-box.entry.js +64 -65
- package/dist/esm/hy-breadcrumbs_15.entry.js +853 -839
- package/dist/esm/hy-checkbox.entry.js +19 -20
- package/dist/esm/hy-collaboration.entry.js +14 -15
- package/dist/esm/hy-content-list_2.entry.js +148 -148
- package/dist/esm/hy-crisis-banner.entry.js +13 -14
- package/dist/esm/hy-cta-button.entry.js +23 -24
- package/dist/esm/hy-cta-link.entry.js +18 -19
- package/dist/esm/hy-dropdown.entry.js +199 -200
- package/dist/esm/hy-event-item.entry.js +32 -33
- package/dist/esm/hy-events.entry.js +80 -81
- package/dist/esm/hy-filter-group_6.entry.js +79 -78
- package/dist/esm/hy-general-list_2.entry.js +82 -82
- package/dist/esm/hy-hero-carousel.entry.js +1086 -558
- package/dist/esm/hy-hero.entry.js +66 -67
- package/dist/esm/hy-icon.entry.js +422 -423
- package/dist/esm/hy-image.entry.js +44 -45
- package/dist/esm/hy-introduction.entry.js +50 -51
- package/dist/esm/hy-key-figure_2.entry.js +73 -73
- package/dist/esm/hy-key-highlight_2.entry.js +46 -46
- package/dist/esm/hy-large-process-flow_2.entry.js +58 -58
- package/dist/esm/hy-link-box_2.entry.js +116 -116
- package/dist/esm/hy-link-list.entry.js +34 -35
- package/dist/esm/hy-link.entry.js +17 -18
- package/dist/esm/hy-list-item.entry.js +224 -225
- package/dist/esm/hy-logo-grid_2.entry.js +33 -33
- package/dist/esm/hy-main.entry.js +15 -16
- package/dist/esm/hy-menu-main-group.entry.js +132 -133
- package/dist/esm/hy-opening-hours_2.entry.js +65 -65
- package/dist/esm/hy-pager_2.entry.js +46 -46
- package/dist/esm/hy-paragraph-text.entry.js +31 -30
- package/dist/esm/hy-person-card.entry.js +83 -84
- package/dist/esm/hy-person-profile-listing.entry.js +23 -24
- package/dist/esm/hy-person-profile.entry.js +59 -60
- package/dist/esm/hy-process_2.entry.js +68 -68
- package/dist/esm/hy-prominent-image.entry.js +28 -29
- package/dist/esm/hy-quote.entry.js +20 -21
- package/dist/esm/hy-row.entry.js +14 -15
- package/dist/esm/hy-section-container.entry.js +9 -10
- package/dist/esm/hy-shortcuts.entry.js +48 -49
- package/dist/esm/hy-table-container.entry.js +10 -11
- package/dist/esm/hy-tabs_2.entry.js +284 -284
- package/dist/esm/hy-tag.entry.js +10 -11
- package/dist/esm/hy-tiny-text.entry.js +10 -11
- package/dist/esm/hy-twitter-feed.entry.js +21 -22
- package/dist/esm/hy-two-columns.entry.js +11 -12
- package/dist/esm/hy-user-login-form.entry.js +15 -16
- package/dist/esm/hy-video.entry.js +87 -88
- package/dist/esm/index-e2e165ed.js +1709 -0
- package/dist/esm/{emotion.esm-e0a633a4.js → index.esm-aef0c42f.js} +496 -657
- package/dist/esm/index.js +0 -2
- package/dist/esm/loader.js +9 -18
- package/dist/esm/utils-1e7f5184.js +193 -0
- package/dist/huds-lib/ResizeObserver.es-ccb10328.js +1 -0
- package/dist/huds-lib/app-globals-31b59183.js +1 -0
- package/dist/huds-lib/globalScript-0c14426d.js +1 -0
- package/dist/huds-lib/huds-lib.esm.js +1 -2
- package/dist/huds-lib/hy-accordion-container_2.entry.js +1 -2
- package/dist/huds-lib/hy-adjacent-image-text.entry.js +1 -2
- package/dist/huds-lib/hy-anchor-link-list.entry.js +1 -2
- package/dist/huds-lib/hy-badge.entry.js +1 -2
- package/dist/huds-lib/hy-banner.entry.js +1 -2
- package/dist/huds-lib/hy-box.entry.js +54 -55
- package/dist/huds-lib/hy-breadcrumbs_15.entry.js +1 -2
- package/dist/huds-lib/hy-checkbox.entry.js +1 -2
- package/dist/huds-lib/hy-collaboration.entry.js +1 -2
- package/dist/huds-lib/hy-content-list_2.entry.js +1 -2
- package/dist/huds-lib/hy-crisis-banner.entry.js +1 -2
- package/dist/huds-lib/hy-cta-button.entry.js +1 -2
- package/dist/huds-lib/hy-cta-link.entry.js +1 -2
- package/dist/huds-lib/hy-dropdown.entry.js +1 -2
- package/dist/huds-lib/hy-event-item.entry.js +1 -2
- package/dist/huds-lib/hy-events.entry.js +1 -2
- package/dist/huds-lib/hy-filter-group_6.entry.js +1 -2
- package/dist/huds-lib/hy-general-list_2.entry.js +1 -2
- package/dist/huds-lib/hy-hero-carousel.entry.js +1 -2
- package/dist/huds-lib/hy-hero.entry.js +1 -2
- package/dist/huds-lib/hy-icon.entry.js +1 -2
- package/dist/huds-lib/hy-image.entry.js +1 -2
- package/dist/huds-lib/hy-introduction.entry.js +1 -2
- package/dist/huds-lib/hy-key-figure_2.entry.js +1 -2
- package/dist/huds-lib/hy-key-highlight_2.entry.js +1 -2
- package/dist/huds-lib/hy-large-process-flow_2.entry.js +1 -2
- package/dist/huds-lib/hy-link-box_2.entry.js +1 -2
- package/dist/huds-lib/hy-link-list.entry.js +1 -2
- package/dist/huds-lib/hy-link.entry.js +1 -2
- package/dist/huds-lib/hy-list-item.entry.js +1 -2
- package/dist/huds-lib/hy-logo-grid_2.entry.js +1 -2
- package/dist/huds-lib/hy-main.entry.js +1 -2
- package/dist/huds-lib/hy-menu-main-group.entry.js +1 -2
- package/dist/huds-lib/hy-opening-hours_2.entry.js +1 -2
- package/dist/huds-lib/hy-pager_2.entry.js +1 -2
- package/dist/huds-lib/hy-paragraph-text.entry.js +1 -2
- package/dist/huds-lib/hy-person-card.entry.js +1 -2
- package/dist/huds-lib/hy-person-profile-listing.entry.js +1 -2
- package/dist/huds-lib/hy-person-profile.entry.js +1 -2
- package/dist/huds-lib/hy-process_2.entry.js +1 -2
- package/dist/huds-lib/hy-prominent-image.entry.js +1 -2
- package/dist/huds-lib/hy-quote.entry.js +1 -2
- package/dist/huds-lib/hy-row.entry.js +4 -5
- package/dist/huds-lib/hy-section-container.entry.js +1 -2
- package/dist/huds-lib/hy-shortcuts.entry.js +1 -2
- package/dist/huds-lib/hy-table-container.entry.js +1 -2
- package/dist/huds-lib/hy-tabs_2.entry.js +1 -2
- package/dist/huds-lib/hy-tag.entry.js +1 -2
- package/dist/huds-lib/hy-tiny-text.entry.js +1 -2
- package/dist/huds-lib/hy-twitter-feed.entry.js +1 -2
- package/dist/huds-lib/hy-two-columns.entry.js +1 -2
- package/dist/huds-lib/hy-user-login-form.entry.js +1 -2
- package/dist/huds-lib/hy-video.entry.js +1 -2
- package/dist/huds-lib/index-e2e165ed.js +2 -0
- package/dist/huds-lib/index.esm-aef0c42f.js +1 -0
- package/dist/huds-lib/index.esm.js +0 -2
- package/dist/huds-lib/utils-1e7f5184.js +1 -0
- package/dist/loader/cdn.js +1 -3
- package/dist/loader/index.cjs.js +1 -3
- package/dist/loader/index.d.ts +4 -1
- package/dist/loader/index.es2017.js +1 -3
- package/dist/loader/index.js +1 -3
- package/dist/types/components/footer/hy-footer/hy-footer.d.ts +1 -1
- package/dist/types/components/footer/hy-footer-action/hy-footer-action.d.ts +11 -11
- package/dist/types/components/footer/hy-footer-base/hy-footer-base.d.ts +52 -52
- package/dist/types/components/footer/hy-footer-info/hy-footer-info.d.ts +56 -56
- package/dist/types/components/footer/hy-footer-link-item/hy-footer-link-item.d.ts +10 -10
- package/dist/types/components/hy-accordion-container/accordion-container.d.ts +2 -2
- package/dist/types/components/hy-accordion-item/accordion-item.d.ts +15 -15
- package/dist/types/components/hy-adjacent-image-text/adjacent-image-text.d.ts +24 -24
- package/dist/types/components/hy-anchor-link-list/hy-anchor-link-list.d.ts +23 -23
- package/dist/types/components/hy-badge/hy-badge.d.ts +2 -2
- package/dist/types/components/hy-banner/hy-banner.d.ts +10 -10
- package/dist/types/components/hy-box/hy-box.d.ts +65 -65
- package/dist/types/components/hy-breadcrumbs/hy-breadcrumbs.d.ts +11 -11
- package/dist/types/components/hy-checkbox/hy-checkbox.d.ts +21 -21
- package/dist/types/components/hy-collaboration/hy-collaboration.d.ts +6 -6
- package/dist/types/components/hy-content-lists/hy-content-list/hy-content-list.d.ts +20 -20
- package/dist/types/components/hy-content-lists/hy-content-list-item/hy-content-list-item.d.ts +22 -22
- package/dist/types/components/hy-crisis-banner/hy-crisis-banner.d.ts +5 -5
- package/dist/types/components/hy-cta-button/cta-button.d.ts +9 -9
- package/dist/types/components/hy-cta-link/cta-link.d.ts +7 -7
- package/dist/types/components/hy-dropdown/hy-dropdown.d.ts +37 -37
- package/dist/types/components/hy-event-item/hy-event-item.d.ts +13 -13
- package/dist/types/components/hy-events/hy-events.d.ts +12 -12
- package/dist/types/components/hy-filter-group/hy-filter-group.d.ts +9 -9
- package/dist/types/components/hy-filter-group/hy-filter-group.item.d.ts +3 -3
- package/dist/types/components/hy-filter-list-type/hy-filter-list-type.d.ts +3 -3
- package/dist/types/components/hy-filter-visibility-tool/hy-filter-visibility-tool.d.ts +2 -2
- package/dist/types/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.d.ts +1 -1
- package/dist/types/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.toggle.d.ts +1 -1
- package/dist/types/components/hy-general-list/hy-general-list.d.ts +23 -23
- package/dist/types/components/hy-general-list-item/hy-general-list-item.d.ts +16 -16
- package/dist/types/components/hy-heading/heading.d.ts +16 -16
- package/dist/types/components/hy-hero/hy-hero.d.ts +28 -28
- package/dist/types/components/hy-hero-carousel/hy-hero-carousel.d.ts +24 -24
- package/dist/types/components/hy-icon/icon.d.ts +4 -4
- package/dist/types/components/hy-image/image.d.ts +16 -16
- package/dist/types/components/hy-ingress/ingress.d.ts +4 -4
- package/dist/types/components/hy-introduction/hy-introduction.d.ts +20 -20
- package/dist/types/components/hy-key-figure/hy-key-figure.d.ts +4 -4
- package/dist/types/components/hy-key-figure-group/hy-key-figure-group.d.ts +10 -10
- package/dist/types/components/hy-key-highlight/hy-key-highlight.d.ts +4 -4
- package/dist/types/components/hy-key-highlight-group/hy-key-highlight-group.d.ts +10 -10
- package/dist/types/components/hy-large-process-flow/hy-large-process-flow.d.ts +9 -9
- package/dist/types/components/hy-large-process-flow-phase/hy-large-process-flow-phase.d.ts +11 -11
- package/dist/types/components/hy-link/link.d.ts +6 -6
- package/dist/types/components/hy-link-box/link-box.d.ts +24 -24
- package/dist/types/components/hy-link-box-list/link-box-list.d.ts +18 -18
- package/dist/types/components/hy-link-list/hy-link-list.d.ts +15 -15
- package/dist/types/components/hy-list-item/hy-list-item.d.ts +45 -45
- package/dist/types/components/hy-logo-grid/hy-logo-grid.d.ts +3 -3
- package/dist/types/components/hy-logo-grid/hy-logo-grid.item.d.ts +3 -3
- package/dist/types/components/hy-main/hy-main.d.ts +2 -2
- package/dist/types/components/hy-main-content-wrapper/hy-main-content-wrapper.d.ts +1 -1
- package/dist/types/components/hy-navigation/hy-menu-main-group/hy-menu-main-group.d.ts +28 -28
- package/dist/types/components/hy-navigation/menu-language/menu-language.d.ts +23 -23
- package/dist/types/components/hy-navigation/menu-language-item/menu-language-item.d.ts +7 -7
- package/dist/types/components/hy-opening-hours/hy-opening-hours.d.ts +17 -17
- package/dist/types/components/hy-opening-hours-content/hy-opening-hours-content.d.ts +12 -12
- package/dist/types/components/hy-pagination/hy-pager/hy-pager.d.ts +1 -1
- package/dist/types/components/hy-pagination/hy-pager-item/hy-pager-item.d.ts +5 -5
- package/dist/types/components/hy-paragraph-text/paragraph-text.d.ts +6 -6
- package/dist/types/components/hy-person-card/hy-person-card.d.ts +30 -30
- package/dist/types/components/hy-person-profile/person-profile-listing/person-profile.listing.d.ts +11 -11
- package/dist/types/components/hy-person-profile/person-profile.d.ts +12 -12
- package/dist/types/components/hy-process/process.d.ts +11 -11
- package/dist/types/components/hy-process-flow-box/process-flow-box.d.ts +8 -8
- package/dist/types/components/hy-prominent-image/hy-prominent-image.d.ts +12 -12
- package/dist/types/components/hy-quote/hy-quote.d.ts +5 -5
- package/dist/types/components/hy-row/row.d.ts +13 -13
- package/dist/types/components/hy-search-field/hy-search-field.d.ts +15 -15
- package/dist/types/components/hy-section-container/section-container.d.ts +1 -1
- package/dist/types/components/hy-shortcuts/hy-shortcuts.d.ts +13 -13
- package/dist/types/components/hy-site-header/site-header.d.ts +65 -65
- package/dist/types/components/hy-site-header/site-logo/site-logo.d.ts +8 -8
- package/dist/types/components/hy-site-header/site-search/site-search.d.ts +37 -37
- package/dist/types/components/hy-table-container/hy-table-container.d.ts +1 -1
- package/dist/types/components/hy-tabs/hy-tabs.d.ts +23 -23
- package/dist/types/components/hy-tabs-item/hy-tabs-item.d.ts +2 -2
- package/dist/types/components/hy-tag/hy-tag.d.ts +1 -1
- package/dist/types/components/hy-tiny-text/tiny-text.d.ts +1 -1
- package/dist/types/components/hy-twitter-feed/hy-twitter-feed.d.ts +6 -6
- package/dist/types/components/hy-two-columns/hy-two-columns.d.ts +2 -2
- package/dist/types/components/hy-user-login-form/hy-user-login-form.d.ts +3 -3
- package/dist/types/components/hy-video/hy-video.d.ts +47 -47
- package/dist/types/components.d.ts +62 -0
- package/dist/types/global/colors.d.ts +21 -21
- package/dist/types/global/typography.d.ts +3 -3
- package/dist/types/stencil-public-runtime.d.ts +49 -15
- package/dist/types/utils/utils.d.ts +102 -102
- package/package.json +25 -25
- package/components/accordion-container.js.map +0 -1
- package/components/accordion-item.js.map +0 -1
- package/components/cta-button.js.map +0 -1
- package/components/cta-link.js.map +0 -1
- package/components/emotion.esm.js.map +0 -1
- package/components/globalScript.js.map +0 -1
- package/components/heading.js.map +0 -1
- package/components/hy-accordion-container.js.map +0 -1
- package/components/hy-accordion-item.js.map +0 -1
- package/components/hy-adjacent-image-text.js.map +0 -1
- package/components/hy-anchor-link-list.js.map +0 -1
- package/components/hy-badge.js.map +0 -1
- package/components/hy-banner.js.map +0 -1
- package/components/hy-box.js.map +0 -1
- package/components/hy-box2.js.map +0 -1
- package/components/hy-breadcrumbs.js.map +0 -1
- package/components/hy-checkbox.js.map +0 -1
- package/components/hy-collaboration.js.map +0 -1
- package/components/hy-content-list-item.js.map +0 -1
- package/components/hy-content-list-item2.js.map +0 -1
- package/components/hy-content-list.js.map +0 -1
- package/components/hy-crisis-banner.js.map +0 -1
- package/components/hy-cta-button.js.map +0 -1
- package/components/hy-cta-link.js.map +0 -1
- package/components/hy-dropdown.js.map +0 -1
- package/components/hy-event-item.js.map +0 -1
- package/components/hy-events.js.map +0 -1
- package/components/hy-filter-group-item.js.map +0 -1
- package/components/hy-filter-group.item.js.map +0 -1
- package/components/hy-filter-group.js.map +0 -1
- package/components/hy-filter-list-type.js.map +0 -1
- package/components/hy-filter-visibility-tool-reset.js.map +0 -1
- package/components/hy-filter-visibility-tool-toggle.js.map +0 -1
- package/components/hy-filter-visibility-tool.js.map +0 -1
- package/components/hy-filter-visibility-tool.reset.js.map +0 -1
- package/components/hy-filter-visibility-tool.reset.toggle.js.map +0 -1
- package/components/hy-footer-action.js.map +0 -1
- package/components/hy-footer-base.js.map +0 -1
- package/components/hy-footer-info.js.map +0 -1
- package/components/hy-footer-link-item.js.map +0 -1
- package/components/hy-footer-link-item2.js.map +0 -1
- package/components/hy-footer.js.map +0 -1
- package/components/hy-general-list-item.js.map +0 -1
- package/components/hy-general-list-item2.js.map +0 -1
- package/components/hy-general-list.js.map +0 -1
- package/components/hy-heading.js.map +0 -1
- package/components/hy-hero-carousel.js.map +0 -1
- package/components/hy-hero.js.map +0 -1
- package/components/hy-icon.js.map +0 -1
- package/components/hy-image.js.map +0 -1
- package/components/hy-ingress.js.map +0 -1
- package/components/hy-introduction.js.map +0 -1
- package/components/hy-key-figure-group.js.map +0 -1
- package/components/hy-key-figure.js.map +0 -1
- package/components/hy-key-figure2.js.map +0 -1
- package/components/hy-key-highlight-group.js.map +0 -1
- package/components/hy-key-highlight.js.map +0 -1
- package/components/hy-key-highlight2.js.map +0 -1
- package/components/hy-large-process-flow-phase.js.map +0 -1
- package/components/hy-large-process-flow-phase2.js.map +0 -1
- package/components/hy-large-process-flow.js.map +0 -1
- package/components/hy-link-box-list.js.map +0 -1
- package/components/hy-link-box.js.map +0 -1
- package/components/hy-link-list.js.map +0 -1
- package/components/hy-link.js.map +0 -1
- package/components/hy-list-item.js.map +0 -1
- package/components/hy-logo-grid-item.js.map +0 -1
- package/components/hy-logo-grid.js.map +0 -1
- package/components/hy-main-content-wrapper.js.map +0 -1
- package/components/hy-main-content-wrapper2.js.map +0 -1
- package/components/hy-main.js.map +0 -1
- package/components/hy-menu-language-item.js.map +0 -1
- package/components/hy-menu-language.js.map +0 -1
- package/components/hy-menu-main-group.js.map +0 -1
- package/components/hy-menu-main-group2.js.map +0 -1
- package/components/hy-opening-hours-content.js.map +0 -1
- package/components/hy-opening-hours.js.map +0 -1
- package/components/hy-pager-item.js.map +0 -1
- package/components/hy-pager.js.map +0 -1
- package/components/hy-paragraph-text.js.map +0 -1
- package/components/hy-person-card.js.map +0 -1
- package/components/hy-person-profile-listing.js.map +0 -1
- package/components/hy-person-profile.js.map +0 -1
- package/components/hy-process-flow-box.js.map +0 -1
- package/components/hy-process.js.map +0 -1
- package/components/hy-prominent-image.js.map +0 -1
- package/components/hy-quote.js.map +0 -1
- package/components/hy-row.js.map +0 -1
- package/components/hy-search-field.js.map +0 -1
- package/components/hy-search-field2.js.map +0 -1
- package/components/hy-section-container.js.map +0 -1
- package/components/hy-shortcuts.js.map +0 -1
- package/components/hy-site-header.js.map +0 -1
- package/components/hy-site-logo.js.map +0 -1
- package/components/hy-site-search.js.map +0 -1
- package/components/hy-table-container.js.map +0 -1
- package/components/hy-tabs-item.js.map +0 -1
- package/components/hy-tabs-item2.js.map +0 -1
- package/components/hy-tabs.js.map +0 -1
- package/components/hy-tabs2.js.map +0 -1
- package/components/hy-tag.js.map +0 -1
- package/components/hy-tag2.js.map +0 -1
- package/components/hy-tiny-text.js.map +0 -1
- package/components/hy-twitter-feed.js.map +0 -1
- package/components/hy-two-columns.js.map +0 -1
- package/components/hy-user-login-form.js.map +0 -1
- package/components/hy-video.js.map +0 -1
- package/components/icon.js.map +0 -1
- package/components/image.js.map +0 -1
- package/components/index.js.map +0 -1
- package/components/index2.js.map +0 -1
- package/components/link-box.js.map +0 -1
- package/components/menu-language-item.js.map +0 -1
- package/components/menu-language.js.map +0 -1
- package/components/paragraph-text.js.map +0 -1
- package/components/person-profile.listing.js.map +0 -1
- package/components/process-flow-box.js.map +0 -1
- package/components/site-logo.js.map +0 -1
- package/components/site-search.js.map +0 -1
- package/components/utils.js.map +0 -1
- package/dist/cjs/emotion.esm-aef96835.js.map +0 -1
- package/dist/cjs/globalScript-9994473d.js.map +0 -1
- package/dist/cjs/huds-lib.cjs.js.map +0 -1
- package/dist/cjs/hy-accordion-container_2.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-adjacent-image-text.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-anchor-link-list.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-badge.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-banner.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-box.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-breadcrumbs_15.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-checkbox.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-collaboration.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-content-list_2.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-crisis-banner.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-cta-button.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-cta-link.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-dropdown.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-event-item.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-events.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-filter-group_6.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-general-list_2.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-hero-carousel.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-hero.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-icon.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-image.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-introduction.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-key-figure_2.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-key-highlight_2.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-large-process-flow_2.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-link-box_2.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-link-list.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-link.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-list-item.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-logo-grid_2.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-main.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-menu-main-group.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-opening-hours_2.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-pager_2.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-paragraph-text.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-person-card.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-person-profile-listing.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-person-profile.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-process_2.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-prominent-image.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-quote.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-row.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-section-container.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-shortcuts.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-table-container.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-tabs_2.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-tag.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-tiny-text.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-twitter-feed.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-two-columns.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-user-login-form.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-video.cjs.entry.js.map +0 -1
- package/dist/cjs/index-32830401.js +0 -2243
- package/dist/cjs/index-32830401.js.map +0 -1
- package/dist/cjs/index-dacd8ca5.js +0 -969
- package/dist/cjs/index-dacd8ca5.js.map +0 -1
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/cjs/utils-56f3464c.js +0 -195
- package/dist/cjs/utils-56f3464c.js.map +0 -1
- package/dist/collection/components/footer/hy-footer/hy-footer.js.map +0 -1
- package/dist/collection/components/footer/hy-footer-action/hy-footer-action.js.map +0 -1
- package/dist/collection/components/footer/hy-footer-base/hy-footer-base.js.map +0 -1
- package/dist/collection/components/footer/hy-footer-info/hy-footer-info.js.map +0 -1
- package/dist/collection/components/footer/hy-footer-link-item/hy-footer-link-item.js.map +0 -1
- package/dist/collection/components/global-workers/globals.worker.js.map +0 -1
- package/dist/collection/components/hy-accordion-container/accordion-container.js.map +0 -1
- package/dist/collection/components/hy-accordion-container/accordion-container.spec.js +0 -7
- package/dist/collection/components/hy-accordion-container/accordion-container.spec.js.map +0 -1
- package/dist/collection/components/hy-accordion-item/accordion-item.js.map +0 -1
- package/dist/collection/components/hy-accordion-item/accordion-item.spec.js +0 -7
- package/dist/collection/components/hy-accordion-item/accordion-item.spec.js.map +0 -1
- package/dist/collection/components/hy-adjacent-image-text/adjacent-image-text.js.map +0 -1
- package/dist/collection/components/hy-adjacent-image-text/adjacent-image-text.spec.js +0 -7
- package/dist/collection/components/hy-adjacent-image-text/adjacent-image-text.spec.js.map +0 -1
- package/dist/collection/components/hy-anchor-link-list/hy-anchor-link-list.js.map +0 -1
- package/dist/collection/components/hy-badge/hy-badge.js.map +0 -1
- package/dist/collection/components/hy-badge/hy-badge.spec.js +0 -20
- package/dist/collection/components/hy-badge/hy-badge.spec.js.map +0 -1
- package/dist/collection/components/hy-banner/hy-banner.js.map +0 -1
- package/dist/collection/components/hy-box/hy-box.js.map +0 -1
- package/dist/collection/components/hy-box/test/hy-box.spec.js +0 -26
- package/dist/collection/components/hy-box/test/hy-box.spec.js.map +0 -1
- package/dist/collection/components/hy-breadcrumbs/hy-breadcrumbs.js.map +0 -1
- package/dist/collection/components/hy-checkbox/hy-checkbox.js.map +0 -1
- package/dist/collection/components/hy-collaboration/hy-collaboration.js.map +0 -1
- package/dist/collection/components/hy-content-lists/hy-content-list/hy-content-list.js.map +0 -1
- package/dist/collection/components/hy-content-lists/hy-content-list-item/hy-content-list-item.js.map +0 -1
- package/dist/collection/components/hy-crisis-banner/hy-crisis-banner.js.map +0 -1
- package/dist/collection/components/hy-cta-button/cta-button.e2e.js +0 -15
- package/dist/collection/components/hy-cta-button/cta-button.e2e.js.map +0 -1
- package/dist/collection/components/hy-cta-button/cta-button.js.map +0 -1
- package/dist/collection/components/hy-cta-button/cta-button.spec.js +0 -7
- package/dist/collection/components/hy-cta-button/cta-button.spec.js.map +0 -1
- package/dist/collection/components/hy-cta-link/cta-link.e2e.js +0 -15
- package/dist/collection/components/hy-cta-link/cta-link.e2e.js.map +0 -1
- package/dist/collection/components/hy-cta-link/cta-link.js.map +0 -1
- package/dist/collection/components/hy-cta-link/cta-link.spec.js +0 -7
- package/dist/collection/components/hy-cta-link/cta-link.spec.js.map +0 -1
- package/dist/collection/components/hy-dropdown/hy-dropdown.js.map +0 -1
- package/dist/collection/components/hy-event-item/hy-event-item.js.map +0 -1
- package/dist/collection/components/hy-events/hy-events.js.map +0 -1
- package/dist/collection/components/hy-filter-group/hy-filter-group.item.js.map +0 -1
- package/dist/collection/components/hy-filter-group/hy-filter-group.js.map +0 -1
- package/dist/collection/components/hy-filter-list-type/hy-filter-list-type.js.map +0 -1
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.js.map +0 -1
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.js.map +0 -1
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.toggle.js.map +0 -1
- package/dist/collection/components/hy-general-list/hy-general-list.js.map +0 -1
- package/dist/collection/components/hy-general-list-item/hy-general-list-item.js.map +0 -1
- package/dist/collection/components/hy-heading/heading.js.map +0 -1
- package/dist/collection/components/hy-heading/heading.spec.js +0 -7
- package/dist/collection/components/hy-heading/heading.spec.js.map +0 -1
- package/dist/collection/components/hy-hero/hy-hero.js.map +0 -1
- package/dist/collection/components/hy-hero-carousel/hy-hero-carousel.js.map +0 -1
- package/dist/collection/components/hy-icon/AddToTodoList.js.map +0 -1
- package/dist/collection/components/hy-icon/Alert.js.map +0 -1
- package/dist/collection/components/hy-icon/Archive.js.map +0 -1
- package/dist/collection/components/hy-icon/Arrow.js.map +0 -1
- package/dist/collection/components/hy-icon/ArrowDown.js.map +0 -1
- package/dist/collection/components/hy-icon/ArrowRight.js.map +0 -1
- package/dist/collection/components/hy-icon/ArrowUp.js.map +0 -1
- package/dist/collection/components/hy-icon/Avatar.js.map +0 -1
- package/dist/collection/components/hy-icon/AvatarGroup.js.map +0 -1
- package/dist/collection/components/hy-icon/Bachelor.js.map +0 -1
- package/dist/collection/components/hy-icon/BulletList.js.map +0 -1
- package/dist/collection/components/hy-icon/Camera.js.map +0 -1
- package/dist/collection/components/hy-icon/CaretDown.js.map +0 -1
- package/dist/collection/components/hy-icon/CaretLeft.js.map +0 -1
- package/dist/collection/components/hy-icon/CaretRight.js.map +0 -1
- package/dist/collection/components/hy-icon/CaretUp.js.map +0 -1
- package/dist/collection/components/hy-icon/Chat.js.map +0 -1
- package/dist/collection/components/hy-icon/CodeFork.js.map +0 -1
- package/dist/collection/components/hy-icon/Cogs.js.map +0 -1
- package/dist/collection/components/hy-icon/Contentlink.js.map +0 -1
- package/dist/collection/components/hy-icon/Customlink.js.map +0 -1
- package/dist/collection/components/hy-icon/Date.js.map +0 -1
- package/dist/collection/components/hy-icon/Discover.js.map +0 -1
- package/dist/collection/components/hy-icon/Done.js.map +0 -1
- package/dist/collection/components/hy-icon/Dot.js.map +0 -1
- package/dist/collection/components/hy-icon/DotArrowRight.js.map +0 -1
- package/dist/collection/components/hy-icon/Download.js.map +0 -1
- package/dist/collection/components/hy-icon/Drag.js.map +0 -1
- package/dist/collection/components/hy-icon/Dragbutton.js.map +0 -1
- package/dist/collection/components/hy-icon/DropDown.js.map +0 -1
- package/dist/collection/components/hy-icon/Edit.js.map +0 -1
- package/dist/collection/components/hy-icon/EditEvent.js.map +0 -1
- package/dist/collection/components/hy-icon/Embed.js.map +0 -1
- package/dist/collection/components/hy-icon/Euro.js.map +0 -1
- package/dist/collection/components/hy-icon/Events.js.map +0 -1
- package/dist/collection/components/hy-icon/ExternalLink.js.map +0 -1
- package/dist/collection/components/hy-icon/EyeSlash.js.map +0 -1
- package/dist/collection/components/hy-icon/Facebook.js.map +0 -1
- package/dist/collection/components/hy-icon/Favorites.js.map +0 -1
- package/dist/collection/components/hy-icon/Feed.js.map +0 -1
- package/dist/collection/components/hy-icon/FileText.js.map +0 -1
- package/dist/collection/components/hy-icon/FullScreen.js.map +0 -1
- package/dist/collection/components/hy-icon/Globe.js.map +0 -1
- package/dist/collection/components/hy-icon/GooglePlus.js.map +0 -1
- package/dist/collection/components/hy-icon/Grid.js.map +0 -1
- package/dist/collection/components/hy-icon/Hamburger.js.map +0 -1
- package/dist/collection/components/hy-icon/Heart.js.map +0 -1
- package/dist/collection/components/hy-icon/HeartSupport.js.map +0 -1
- package/dist/collection/components/hy-icon/Helsinginyliopisto.js.map +0 -1
- package/dist/collection/components/hy-icon/Home.js.map +0 -1
- package/dist/collection/components/hy-icon/HorizontalResize.js.map +0 -1
- package/dist/collection/components/hy-icon/HyLogo.js.map +0 -1
- package/dist/collection/components/hy-icon/IdNumber.js.map +0 -1
- package/dist/collection/components/hy-icon/Image.js.map +0 -1
- package/dist/collection/components/hy-icon/ImageGallery.js.map +0 -1
- package/dist/collection/components/hy-icon/Images.js.map +0 -1
- package/dist/collection/components/hy-icon/Info.js.map +0 -1
- package/dist/collection/components/hy-icon/InfoStroke.js.map +0 -1
- package/dist/collection/components/hy-icon/Instagram.js.map +0 -1
- package/dist/collection/components/hy-icon/LeikiList.js.map +0 -1
- package/dist/collection/components/hy-icon/LinkArrow.js.map +0 -1
- package/dist/collection/components/hy-icon/LinkArrow1.js.map +0 -1
- package/dist/collection/components/hy-icon/LinkArrowDown.js.map +0 -1
- package/dist/collection/components/hy-icon/LinkArrowLeft.js.map +0 -1
- package/dist/collection/components/hy-icon/LinkArrowOffsite.js.map +0 -1
- package/dist/collection/components/hy-icon/LinkArrowUp.js.map +0 -1
- package/dist/collection/components/hy-icon/Linkedin.js.map +0 -1
- package/dist/collection/components/hy-icon/List.js.map +0 -1
- package/dist/collection/components/hy-icon/ListAsBlocks.js.map +0 -1
- package/dist/collection/components/hy-icon/ListStyleGrid.js.map +0 -1
- package/dist/collection/components/hy-icon/ListStyleList.js.map +0 -1
- package/dist/collection/components/hy-icon/Listoflinks.js.map +0 -1
- package/dist/collection/components/hy-icon/Location.js.map +0 -1
- package/dist/collection/components/hy-icon/Log.js.map +0 -1
- package/dist/collection/components/hy-icon/Login.js.map +0 -1
- package/dist/collection/components/hy-icon/Logout.js.map +0 -1
- package/dist/collection/components/hy-icon/MagnifyMinus.js.map +0 -1
- package/dist/collection/components/hy-icon/MagnifyPlus.js.map +0 -1
- package/dist/collection/components/hy-icon/Mail.js.map +0 -1
- package/dist/collection/components/hy-icon/Master.js.map +0 -1
- package/dist/collection/components/hy-icon/Minus.js.map +0 -1
- package/dist/collection/components/hy-icon/Mobile.js.map +0 -1
- package/dist/collection/components/hy-icon/Modify.js.map +0 -1
- package/dist/collection/components/hy-icon/NaviTriangle.js.map +0 -1
- package/dist/collection/components/hy-icon/NewGroup.js.map +0 -1
- package/dist/collection/components/hy-icon/NewPerson.js.map +0 -1
- package/dist/collection/components/hy-icon/Notification.js.map +0 -1
- package/dist/collection/components/hy-icon/OpinderLogo.js.map +0 -1
- package/dist/collection/components/hy-icon/OpinderLogoNew.js.map +0 -1
- package/dist/collection/components/hy-icon/Pdf.js.map +0 -1
- package/dist/collection/components/hy-icon/People.js.map +0 -1
- package/dist/collection/components/hy-icon/PermissionAll.js.map +0 -1
- package/dist/collection/components/hy-icon/PermissionGroup.js.map +0 -1
- package/dist/collection/components/hy-icon/PermissionPrivate.js.map +0 -1
- package/dist/collection/components/hy-icon/Person.js.map +0 -1
- package/dist/collection/components/hy-icon/PersonOutline.js.map +0 -1
- package/dist/collection/components/hy-icon/Phone.js.map +0 -1
- package/dist/collection/components/hy-icon/Play.js.map +0 -1
- package/dist/collection/components/hy-icon/Plus.js.map +0 -1
- package/dist/collection/components/hy-icon/Preview.js.map +0 -1
- package/dist/collection/components/hy-icon/Profile.js.map +0 -1
- package/dist/collection/components/hy-icon/Question.js.map +0 -1
- package/dist/collection/components/hy-icon/Remove.js.map +0 -1
- package/dist/collection/components/hy-icon/Retweet.js.map +0 -1
- package/dist/collection/components/hy-icon/RotateLeft.js.map +0 -1
- package/dist/collection/components/hy-icon/RotateRight.js.map +0 -1
- package/dist/collection/components/hy-icon/Search.js.map +0 -1
- package/dist/collection/components/hy-icon/Share.js.map +0 -1
- package/dist/collection/components/hy-icon/SlimHamburgerMenu.js.map +0 -1
- package/dist/collection/components/hy-icon/SocialMedia.js.map +0 -1
- package/dist/collection/components/hy-icon/SomeFacebook.js.map +0 -1
- package/dist/collection/components/hy-icon/SomeInstagram.js.map +0 -1
- package/dist/collection/components/hy-icon/SomeLinkedin.js.map +0 -1
- package/dist/collection/components/hy-icon/SomeTwitter.js.map +0 -1
- package/dist/collection/components/hy-icon/SomeYoutube.js.map +0 -1
- package/dist/collection/components/hy-icon/Spinner.js.map +0 -1
- package/dist/collection/components/hy-icon/Square.js.map +0 -1
- package/dist/collection/components/hy-icon/SquareChecked.js.map +0 -1
- package/dist/collection/components/hy-icon/Time.js.map +0 -1
- package/dist/collection/components/hy-icon/TodoList.js.map +0 -1
- package/dist/collection/components/hy-icon/Tour.js.map +0 -1
- package/dist/collection/components/hy-icon/Twitter.js.map +0 -1
- package/dist/collection/components/hy-icon/TwitterLike.js.map +0 -1
- package/dist/collection/components/hy-icon/UnitsAndFaculties.js.map +0 -1
- package/dist/collection/components/hy-icon/Url.js.map +0 -1
- package/dist/collection/components/hy-icon/Video.js.map +0 -1
- package/dist/collection/components/hy-icon/Warning.js.map +0 -1
- package/dist/collection/components/hy-icon/Wrench.js.map +0 -1
- package/dist/collection/components/hy-icon/Youtube.js.map +0 -1
- package/dist/collection/components/hy-icon/allIcons.js.map +0 -1
- package/dist/collection/components/hy-icon/icon.js.map +0 -1
- package/dist/collection/components/hy-icon/icon.spec.js +0 -7
- package/dist/collection/components/hy-icon/icon.spec.js.map +0 -1
- package/dist/collection/components/hy-icon/icons.js.map +0 -1
- package/dist/collection/components/hy-image/image.js.map +0 -1
- package/dist/collection/components/hy-image/image.spec.js +0 -21
- package/dist/collection/components/hy-image/image.spec.js.map +0 -1
- package/dist/collection/components/hy-ingress/ingress.js.map +0 -1
- package/dist/collection/components/hy-ingress/ingress.spec.js +0 -7
- package/dist/collection/components/hy-ingress/ingress.spec.js.map +0 -1
- package/dist/collection/components/hy-introduction/hy-introduction.js.map +0 -1
- package/dist/collection/components/hy-key-figure/hy-key-figure.js.map +0 -1
- package/dist/collection/components/hy-key-figure/test/hy-key-figure.spec.js +0 -21
- package/dist/collection/components/hy-key-figure/test/hy-key-figure.spec.js.map +0 -1
- package/dist/collection/components/hy-key-figure-group/hy-key-figure-group.js.map +0 -1
- package/dist/collection/components/hy-key-highlight/hy-key-highlight.js.map +0 -1
- package/dist/collection/components/hy-key-highlight/test/hy-key-highlight.spec.js +0 -23
- package/dist/collection/components/hy-key-highlight/test/hy-key-highlight.spec.js.map +0 -1
- package/dist/collection/components/hy-key-highlight-group/hy-key-highlight-group.js.map +0 -1
- package/dist/collection/components/hy-large-process-flow/hy-large-process-flow.js.map +0 -1
- package/dist/collection/components/hy-large-process-flow-phase/hy-large-process-flow-phase.js.map +0 -1
- package/dist/collection/components/hy-link/link.e2e.js +0 -17
- package/dist/collection/components/hy-link/link.e2e.js.map +0 -1
- package/dist/collection/components/hy-link/link.js.map +0 -1
- package/dist/collection/components/hy-link/link.spec.js +0 -7
- package/dist/collection/components/hy-link/link.spec.js.map +0 -1
- package/dist/collection/components/hy-link-box/link-box.js.map +0 -1
- package/dist/collection/components/hy-link-box/link-box.spec.js +0 -7
- package/dist/collection/components/hy-link-box/link-box.spec.js.map +0 -1
- package/dist/collection/components/hy-link-box-list/link-box-list.js.map +0 -1
- package/dist/collection/components/hy-link-list/hy-link-list.js.map +0 -1
- package/dist/collection/components/hy-list-item/hy-list-item.js.map +0 -1
- package/dist/collection/components/hy-logo-grid/hy-logo-grid.item.js.map +0 -1
- package/dist/collection/components/hy-logo-grid/hy-logo-grid.js.map +0 -1
- package/dist/collection/components/hy-main/hy-main.js.map +0 -1
- package/dist/collection/components/hy-main-content-wrapper/hy-main-content-wrapper.js.map +0 -1
- package/dist/collection/components/hy-navigation/hy-menu-main-group/hy-menu-main-group.js.map +0 -1
- package/dist/collection/components/hy-navigation/menu-language/menu-language.js.map +0 -1
- package/dist/collection/components/hy-navigation/menu-language-item/menu-language-item.js.map +0 -1
- package/dist/collection/components/hy-opening-hours/hy-opening-hours.js.map +0 -1
- package/dist/collection/components/hy-opening-hours-content/hy-opening-hours-content.js.map +0 -1
- package/dist/collection/components/hy-pagination/hy-pager/hy-pager.js.map +0 -1
- package/dist/collection/components/hy-pagination/hy-pager-item/hy-pager-item.js.map +0 -1
- package/dist/collection/components/hy-paragraph-text/paragraph-text.js.map +0 -1
- package/dist/collection/components/hy-paragraph-text/paragraph-text.spec.js +0 -7
- package/dist/collection/components/hy-paragraph-text/paragraph-text.spec.js.map +0 -1
- package/dist/collection/components/hy-person-card/hy-person-card.js.map +0 -1
- package/dist/collection/components/hy-person-profile/person-profile-listing/person-profile.listing.js.map +0 -1
- package/dist/collection/components/hy-person-profile/person-profile.js.map +0 -1
- package/dist/collection/components/hy-process/process.js.map +0 -1
- package/dist/collection/components/hy-process/process.spec.js +0 -7
- package/dist/collection/components/hy-process/process.spec.js.map +0 -1
- package/dist/collection/components/hy-process-flow-box/process-flow-box.js.map +0 -1
- package/dist/collection/components/hy-process-flow-box/process-flow-box.spec.js +0 -7
- package/dist/collection/components/hy-process-flow-box/process-flow-box.spec.js.map +0 -1
- package/dist/collection/components/hy-prominent-image/hy-prominent-image.js.map +0 -1
- package/dist/collection/components/hy-quote/hy-quote.js.map +0 -1
- package/dist/collection/components/hy-row/row.js.map +0 -1
- package/dist/collection/components/hy-row/row.spec.js +0 -7
- package/dist/collection/components/hy-row/row.spec.js.map +0 -1
- package/dist/collection/components/hy-search-field/hy-search-field.js.map +0 -1
- package/dist/collection/components/hy-section-container/section-container.e2e.js +0 -10
- package/dist/collection/components/hy-section-container/section-container.e2e.js.map +0 -1
- package/dist/collection/components/hy-section-container/section-container.js.map +0 -1
- package/dist/collection/components/hy-section-container/section-container.spec.js +0 -17
- package/dist/collection/components/hy-section-container/section-container.spec.js.map +0 -1
- package/dist/collection/components/hy-shortcuts/hy-shortcuts.js.map +0 -1
- package/dist/collection/components/hy-site-header/site-header.js.map +0 -1
- package/dist/collection/components/hy-site-header/site-logo/site-logo.js.map +0 -1
- package/dist/collection/components/hy-site-header/site-search/site-search.js.map +0 -1
- package/dist/collection/components/hy-table-container/hy-table-container.js.map +0 -1
- package/dist/collection/components/hy-tabs/hy-tabs.js.map +0 -1
- package/dist/collection/components/hy-tabs-item/hy-tabs-item.js.map +0 -1
- package/dist/collection/components/hy-tag/hy-tag.js.map +0 -1
- package/dist/collection/components/hy-tiny-text/tiny-text.js.map +0 -1
- package/dist/collection/components/hy-tiny-text/tiny-text.spec.js +0 -7
- package/dist/collection/components/hy-tiny-text/tiny-text.spec.js.map +0 -1
- package/dist/collection/components/hy-twitter-feed/hy-twitter-feed.js.map +0 -1
- package/dist/collection/components/hy-two-columns/hy-two-columns.js.map +0 -1
- package/dist/collection/components/hy-two-columns/test/hy-two-columns.spec.js +0 -27
- package/dist/collection/components/hy-two-columns/test/hy-two-columns.spec.js.map +0 -1
- package/dist/collection/components/hy-user-login-form/hy-user-login-form.js.map +0 -1
- package/dist/collection/components/hy-video/hy-video.js.map +0 -1
- package/dist/collection/global/colors.js.map +0 -1
- package/dist/collection/global/globalScript.js.map +0 -1
- package/dist/collection/global/typography.js.map +0 -1
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/utils/utils.js.map +0 -1
- package/dist/esm/emotion.esm-e0a633a4.js.map +0 -1
- package/dist/esm/globalScript-5a4b7abf.js +0 -28
- package/dist/esm/globalScript-5a4b7abf.js.map +0 -1
- package/dist/esm/huds-lib.js.map +0 -1
- package/dist/esm/hy-accordion-container_2.entry.js.map +0 -1
- package/dist/esm/hy-adjacent-image-text.entry.js.map +0 -1
- package/dist/esm/hy-anchor-link-list.entry.js.map +0 -1
- package/dist/esm/hy-badge.entry.js.map +0 -1
- package/dist/esm/hy-banner.entry.js.map +0 -1
- package/dist/esm/hy-box.entry.js.map +0 -1
- package/dist/esm/hy-breadcrumbs_15.entry.js.map +0 -1
- package/dist/esm/hy-checkbox.entry.js.map +0 -1
- package/dist/esm/hy-collaboration.entry.js.map +0 -1
- package/dist/esm/hy-content-list_2.entry.js.map +0 -1
- package/dist/esm/hy-crisis-banner.entry.js.map +0 -1
- package/dist/esm/hy-cta-button.entry.js.map +0 -1
- package/dist/esm/hy-cta-link.entry.js.map +0 -1
- package/dist/esm/hy-dropdown.entry.js.map +0 -1
- package/dist/esm/hy-event-item.entry.js.map +0 -1
- package/dist/esm/hy-events.entry.js.map +0 -1
- package/dist/esm/hy-filter-group_6.entry.js.map +0 -1
- package/dist/esm/hy-general-list_2.entry.js.map +0 -1
- package/dist/esm/hy-hero-carousel.entry.js.map +0 -1
- package/dist/esm/hy-hero.entry.js.map +0 -1
- package/dist/esm/hy-icon.entry.js.map +0 -1
- package/dist/esm/hy-image.entry.js.map +0 -1
- package/dist/esm/hy-introduction.entry.js.map +0 -1
- package/dist/esm/hy-key-figure_2.entry.js.map +0 -1
- package/dist/esm/hy-key-highlight_2.entry.js.map +0 -1
- package/dist/esm/hy-large-process-flow_2.entry.js.map +0 -1
- package/dist/esm/hy-link-box_2.entry.js.map +0 -1
- package/dist/esm/hy-link-list.entry.js.map +0 -1
- package/dist/esm/hy-link.entry.js.map +0 -1
- package/dist/esm/hy-list-item.entry.js.map +0 -1
- package/dist/esm/hy-logo-grid_2.entry.js.map +0 -1
- package/dist/esm/hy-main.entry.js.map +0 -1
- package/dist/esm/hy-menu-main-group.entry.js.map +0 -1
- package/dist/esm/hy-opening-hours_2.entry.js.map +0 -1
- package/dist/esm/hy-pager_2.entry.js.map +0 -1
- package/dist/esm/hy-paragraph-text.entry.js.map +0 -1
- package/dist/esm/hy-person-card.entry.js.map +0 -1
- package/dist/esm/hy-person-profile-listing.entry.js.map +0 -1
- package/dist/esm/hy-person-profile.entry.js.map +0 -1
- package/dist/esm/hy-process_2.entry.js.map +0 -1
- package/dist/esm/hy-prominent-image.entry.js.map +0 -1
- package/dist/esm/hy-quote.entry.js.map +0 -1
- package/dist/esm/hy-row.entry.js.map +0 -1
- package/dist/esm/hy-section-container.entry.js.map +0 -1
- package/dist/esm/hy-shortcuts.entry.js.map +0 -1
- package/dist/esm/hy-table-container.entry.js.map +0 -1
- package/dist/esm/hy-tabs_2.entry.js.map +0 -1
- package/dist/esm/hy-tag.entry.js.map +0 -1
- package/dist/esm/hy-tiny-text.entry.js.map +0 -1
- package/dist/esm/hy-twitter-feed.entry.js.map +0 -1
- package/dist/esm/hy-two-columns.entry.js.map +0 -1
- package/dist/esm/hy-user-login-form.entry.js.map +0 -1
- package/dist/esm/hy-video.entry.js.map +0 -1
- package/dist/esm/index-ecc819ad.js +0 -967
- package/dist/esm/index-ecc819ad.js.map +0 -1
- package/dist/esm/index-f84f2a7d.js +0 -2212
- package/dist/esm/index-f84f2a7d.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/loader.js.map +0 -1
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/utils-2819fd7e.js +0 -195
- package/dist/esm/utils-2819fd7e.js.map +0 -1
- package/dist/fonts/Open-Sans-700/LICENSE.txt +0 -202
- package/dist/fonts/Open-Sans-regular/LICENSE.txt +0 -202
- package/dist/huds-lib/emotion.esm-e0a633a4.js +0 -2
- package/dist/huds-lib/emotion.esm-e0a633a4.js.map +0 -1
- package/dist/huds-lib/globalScript-5a4b7abf.js +0 -2
- package/dist/huds-lib/globalScript-5a4b7abf.js.map +0 -1
- package/dist/huds-lib/huds-lib.esm.js.map +0 -1
- package/dist/huds-lib/hy-accordion-container_2.entry.js.map +0 -1
- package/dist/huds-lib/hy-adjacent-image-text.entry.js.map +0 -1
- package/dist/huds-lib/hy-anchor-link-list.entry.js.map +0 -1
- package/dist/huds-lib/hy-badge.entry.js.map +0 -1
- package/dist/huds-lib/hy-banner.entry.js.map +0 -1
- package/dist/huds-lib/hy-box.entry.js.map +0 -1
- package/dist/huds-lib/hy-breadcrumbs_15.entry.js.map +0 -1
- package/dist/huds-lib/hy-checkbox.entry.js.map +0 -1
- package/dist/huds-lib/hy-collaboration.entry.js.map +0 -1
- package/dist/huds-lib/hy-content-list_2.entry.js.map +0 -1
- package/dist/huds-lib/hy-crisis-banner.entry.js.map +0 -1
- package/dist/huds-lib/hy-cta-button.entry.js.map +0 -1
- package/dist/huds-lib/hy-cta-link.entry.js.map +0 -1
- package/dist/huds-lib/hy-dropdown.entry.js.map +0 -1
- package/dist/huds-lib/hy-event-item.entry.js.map +0 -1
- package/dist/huds-lib/hy-events.entry.js.map +0 -1
- package/dist/huds-lib/hy-filter-group_6.entry.js.map +0 -1
- package/dist/huds-lib/hy-general-list_2.entry.js.map +0 -1
- package/dist/huds-lib/hy-hero-carousel.entry.js.map +0 -1
- package/dist/huds-lib/hy-hero.entry.js.map +0 -1
- package/dist/huds-lib/hy-icon.entry.js.map +0 -1
- package/dist/huds-lib/hy-image.entry.js.map +0 -1
- package/dist/huds-lib/hy-introduction.entry.js.map +0 -1
- package/dist/huds-lib/hy-key-figure_2.entry.js.map +0 -1
- package/dist/huds-lib/hy-key-highlight_2.entry.js.map +0 -1
- package/dist/huds-lib/hy-large-process-flow_2.entry.js.map +0 -1
- package/dist/huds-lib/hy-link-box_2.entry.js.map +0 -1
- package/dist/huds-lib/hy-link-list.entry.js.map +0 -1
- package/dist/huds-lib/hy-link.entry.js.map +0 -1
- package/dist/huds-lib/hy-list-item.entry.js.map +0 -1
- package/dist/huds-lib/hy-logo-grid_2.entry.js.map +0 -1
- package/dist/huds-lib/hy-main.entry.js.map +0 -1
- package/dist/huds-lib/hy-menu-main-group.entry.js.map +0 -1
- package/dist/huds-lib/hy-opening-hours_2.entry.js.map +0 -1
- package/dist/huds-lib/hy-pager_2.entry.js.map +0 -1
- package/dist/huds-lib/hy-paragraph-text.entry.js.map +0 -1
- package/dist/huds-lib/hy-person-card.entry.js.map +0 -1
- package/dist/huds-lib/hy-person-profile-listing.entry.js.map +0 -1
- package/dist/huds-lib/hy-person-profile.entry.js.map +0 -1
- package/dist/huds-lib/hy-process_2.entry.js.map +0 -1
- package/dist/huds-lib/hy-prominent-image.entry.js.map +0 -1
- package/dist/huds-lib/hy-quote.entry.js.map +0 -1
- package/dist/huds-lib/hy-row.entry.js.map +0 -1
- package/dist/huds-lib/hy-section-container.entry.js.map +0 -1
- package/dist/huds-lib/hy-shortcuts.entry.js.map +0 -1
- package/dist/huds-lib/hy-table-container.entry.js.map +0 -1
- package/dist/huds-lib/hy-tabs_2.entry.js.map +0 -1
- package/dist/huds-lib/hy-tag.entry.js.map +0 -1
- package/dist/huds-lib/hy-tiny-text.entry.js.map +0 -1
- package/dist/huds-lib/hy-twitter-feed.entry.js.map +0 -1
- package/dist/huds-lib/hy-two-columns.entry.js.map +0 -1
- package/dist/huds-lib/hy-user-login-form.entry.js.map +0 -1
- package/dist/huds-lib/hy-video.entry.js.map +0 -1
- package/dist/huds-lib/index-ecc819ad.js +0 -2
- package/dist/huds-lib/index-ecc819ad.js.map +0 -1
- package/dist/huds-lib/index-f84f2a7d.js +0 -3
- package/dist/huds-lib/index-f84f2a7d.js.map +0 -1
- package/dist/huds-lib/index.esm.js.map +0 -1
- package/dist/huds-lib/utils-2819fd7e.js +0 -2
- package/dist/huds-lib/utils-2819fd7e.js.map +0 -1
- /package/dist/fonts/{Open-Sans-600/LICENSE.txt → LICENSE.txt} +0 -0
- /package/dist/fonts/{Open-Sans-600/Open-Sans-600.eot → Open-Sans-600.eot} +0 -0
- /package/dist/fonts/{Open-Sans-600/Open-Sans-600.svg → Open-Sans-600.svg} +0 -0
- /package/dist/fonts/{Open-Sans-600/Open-Sans-600.ttf → Open-Sans-600.ttf} +0 -0
- /package/dist/fonts/{Open-Sans-600/Open-Sans-600.woff → Open-Sans-600.woff} +0 -0
- /package/dist/fonts/{Open-Sans-600/Open-Sans-600.woff2 → Open-Sans-600.woff2} +0 -0
- /package/dist/fonts/{Open-Sans-700/Open-Sans-700.eot → Open-Sans-700.eot} +0 -0
- /package/dist/fonts/{Open-Sans-700/Open-Sans-700.svg → Open-Sans-700.svg} +0 -0
- /package/dist/fonts/{Open-Sans-700/Open-Sans-700.ttf → Open-Sans-700.ttf} +0 -0
- /package/dist/fonts/{Open-Sans-700/Open-Sans-700.woff → Open-Sans-700.woff} +0 -0
- /package/dist/fonts/{Open-Sans-700/Open-Sans-700.woff2 → Open-Sans-700.woff2} +0 -0
- /package/dist/fonts/{Open-Sans-regular/Open-Sans-regular.eot → Open-Sans-regular.eot} +0 -0
- /package/dist/fonts/{Open-Sans-regular/Open-Sans-regular.svg → Open-Sans-regular.svg} +0 -0
- /package/dist/fonts/{Open-Sans-regular/Open-Sans-regular.ttf → Open-Sans-regular.ttf} +0 -0
- /package/dist/fonts/{Open-Sans-regular/Open-Sans-regular.woff → Open-Sans-regular.woff} +0 -0
- /package/dist/fonts/{Open-Sans-regular/Open-Sans-regular.woff2 → Open-Sans-regular.woff2} +0 -0
|
@@ -1,967 +0,0 @@
|
|
|
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
|