@itcenteratunihelsinki/huds-lib 0.8.42 → 0.8.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/accordion-container.js +48 -0
- package/components/accordion-item.js +239 -0
- package/components/color-box.d.ts +11 -0
- package/components/color-box.js +33 -0
- package/components/cta-button.js +57 -0
- package/components/cta-link.js +50 -0
- package/components/custom-elements.d.ts +2 -0
- package/components/emotion.esm.js +1395 -0
- package/{dist/esm/globalScript-4ad40215.js → components/globalScript.js} +7 -9
- package/components/heading.js +80 -0
- package/components/hy-accordion-container.d.ts +11 -0
- package/components/hy-accordion-container.js +6 -0
- package/components/hy-accordion-item.d.ts +11 -0
- package/components/hy-accordion-item.js +6 -0
- package/components/hy-adjacent-image-text.d.ts +11 -0
- package/components/hy-adjacent-image-text.js +106 -0
- package/components/hy-anchor-link-list.d.ts +11 -0
- package/components/hy-anchor-link-list.js +76 -0
- package/components/hy-badge.d.ts +11 -0
- package/components/hy-badge.js +37 -0
- package/components/hy-banner.d.ts +11 -0
- package/components/hy-banner.js +94 -0
- package/components/hy-baseline.d.ts +11 -0
- package/components/hy-baseline.js +44 -0
- package/components/hy-box-container.d.ts +11 -0
- package/components/hy-box-container.js +43 -0
- package/components/hy-box.d.ts +11 -0
- package/components/hy-box.js +6 -0
- package/components/hy-box2.js +195 -0
- package/components/hy-breadcrumbs.d.ts +11 -0
- package/components/hy-breadcrumbs.js +69 -0
- package/components/hy-button.d.ts +11 -0
- package/components/hy-button.js +111 -0
- package/components/hy-checkbox.d.ts +11 -0
- package/components/hy-checkbox.js +55 -0
- package/components/hy-collaboration.d.ts +11 -0
- package/components/hy-collaboration.js +49 -0
- package/components/hy-content-list-item.d.ts +11 -0
- package/components/hy-content-list-item.js +6 -0
- package/components/hy-content-list-item2.js +109 -0
- package/components/hy-content-list.d.ts +11 -0
- package/components/hy-content-list.js +155 -0
- package/components/hy-crisis-banner.d.ts +11 -0
- package/components/hy-crisis-banner.js +47 -0
- package/components/hy-cta-button.d.ts +11 -0
- package/components/hy-cta-button.js +6 -0
- package/components/hy-cta-link.d.ts +11 -0
- package/components/hy-cta-link.js +6 -0
- package/components/hy-docs-container.d.ts +11 -0
- package/components/hy-docs-container.js +32 -0
- package/components/hy-dropdown-panel-item.d.ts +11 -0
- package/components/hy-dropdown-panel-item.js +6 -0
- package/components/hy-dropdown-panel.d.ts +11 -0
- package/components/hy-dropdown-panel.js +6 -0
- package/components/hy-dropdown.d.ts +11 -0
- package/components/hy-dropdown.js +155 -0
- package/components/hy-dropdown.panel.item.js +41 -0
- package/components/hy-dropdown.panel.js +29 -0
- package/components/hy-event-item.d.ts +11 -0
- package/components/hy-event-item.js +73 -0
- package/components/hy-events.d.ts +11 -0
- package/components/hy-events.js +131 -0
- package/components/hy-filter-group-item.d.ts +11 -0
- package/components/hy-filter-group-item.js +6 -0
- package/components/hy-filter-group.d.ts +11 -0
- package/components/hy-filter-group.item.js +38 -0
- package/components/hy-filter-group.js +67 -0
- package/components/hy-filter-list-type.d.ts +11 -0
- package/components/hy-filter-list-type.js +52 -0
- package/components/hy-filter-visibility-tool-reset.d.ts +11 -0
- package/components/hy-filter-visibility-tool-reset.js +6 -0
- package/components/hy-filter-visibility-tool-toggle.d.ts +11 -0
- package/components/hy-filter-visibility-tool-toggle.js +6 -0
- package/components/hy-filter-visibility-tool.d.ts +11 -0
- package/components/hy-filter-visibility-tool.js +58 -0
- package/components/hy-filter-visibility-tool.reset.js +32 -0
- package/components/hy-filter-visibility-tool.reset.toggle.js +32 -0
- package/components/hy-footer-action.d.ts +11 -0
- package/components/hy-footer-action.js +55 -0
- package/components/hy-footer-base.d.ts +11 -0
- package/components/hy-footer-base.js +89 -0
- package/components/hy-footer-info.d.ts +11 -0
- package/components/hy-footer-info.js +167 -0
- package/components/hy-footer-link-item.d.ts +11 -0
- package/components/hy-footer-link-item.js +6 -0
- package/components/hy-footer-link-item2.js +99 -0
- package/components/hy-footer.d.ts +11 -0
- package/components/hy-footer.js +33 -0
- package/components/hy-general-list-item.d.ts +11 -0
- package/components/hy-general-list-item.js +6 -0
- package/components/hy-general-list-item2.js +74 -0
- package/components/hy-general-list.d.ts +11 -0
- package/components/hy-general-list.js +90 -0
- package/components/hy-grid-container.d.ts +11 -0
- package/components/hy-grid-container.js +33 -0
- package/components/hy-grid-item.d.ts +11 -0
- package/components/hy-grid-item.js +49 -0
- package/components/hy-grid-row.d.ts +11 -0
- package/components/hy-grid-row.js +33 -0
- package/components/hy-heading.d.ts +11 -0
- package/components/hy-heading.js +6 -0
- package/components/hy-hero-carousel.d.ts +11 -0
- package/components/hy-hero-carousel.js +4935 -0
- package/components/hy-hero.d.ts +11 -0
- package/components/hy-hero.js +155 -0
- package/components/hy-icon.d.ts +11 -0
- package/components/hy-icon.js +6 -0
- package/components/hy-image.d.ts +11 -0
- package/components/hy-image.js +6 -0
- package/components/hy-ingress.d.ts +11 -0
- package/components/hy-ingress.js +45 -0
- package/components/hy-introduction.d.ts +11 -0
- package/components/hy-introduction.js +118 -0
- package/components/hy-key-figure-group.d.ts +11 -0
- package/components/hy-key-figure-group.js +106 -0
- package/components/hy-key-figure.d.ts +11 -0
- package/components/hy-key-figure.js +6 -0
- package/components/hy-key-figure2.js +39 -0
- package/components/hy-key-highlight-group.d.ts +11 -0
- package/components/hy-key-highlight-group.js +69 -0
- package/components/hy-key-highlight.d.ts +11 -0
- package/components/hy-key-highlight.js +6 -0
- package/components/hy-key-highlight2.js +39 -0
- package/components/hy-large-process-flow-phase.d.ts +11 -0
- package/components/hy-large-process-flow-phase.js +6 -0
- package/components/hy-large-process-flow-phase2.js +63 -0
- package/components/hy-large-process-flow.d.ts +11 -0
- package/components/hy-large-process-flow.js +86 -0
- package/components/hy-link-box-list.d.ts +11 -0
- package/components/hy-link-box-list.js +92 -0
- package/components/hy-link-box.d.ts +11 -0
- package/components/hy-link-box.js +6 -0
- package/components/hy-link-list.d.ts +11 -0
- package/components/hy-link-list.js +77 -0
- package/components/hy-link.d.ts +11 -0
- package/components/hy-link.js +46 -0
- package/components/hy-list-item.d.ts +11 -0
- package/components/hy-list-item.js +293 -0
- package/components/hy-logo-grid-item.d.ts +11 -0
- package/components/hy-logo-grid-item.js +48 -0
- package/components/hy-logo-grid.d.ts +11 -0
- package/components/hy-logo-grid.js +38 -0
- package/components/hy-main-content-wrapper.d.ts +11 -0
- package/components/hy-main-content-wrapper.js +6 -0
- package/components/hy-main-content-wrapper2.js +30 -0
- package/components/hy-main.d.ts +11 -0
- package/components/hy-main.js +40 -0
- package/components/hy-menu-language-item.d.ts +11 -0
- package/components/hy-menu-language-item.js +6 -0
- package/components/hy-menu-language.d.ts +11 -0
- package/components/hy-menu-language.js +6 -0
- package/components/hy-menu-main-group.d.ts +11 -0
- package/components/hy-menu-main-group.js +6 -0
- package/components/hy-menu-main-group2.js +192 -0
- package/components/hy-opening-hours-content.d.ts +11 -0
- package/components/hy-opening-hours-content.js +62 -0
- package/components/hy-opening-hours.d.ts +11 -0
- package/components/hy-opening-hours.js +90 -0
- package/components/hy-pager-item.d.ts +11 -0
- package/components/hy-pager-item.js +73 -0
- package/components/hy-pager.d.ts +11 -0
- package/components/hy-pager.js +34 -0
- package/components/hy-paragraph-text.d.ts +11 -0
- package/components/hy-paragraph-text.js +6 -0
- package/components/hy-person-card.d.ts +11 -0
- package/components/hy-person-card.js +137 -0
- package/components/hy-person-profile-listing.d.ts +11 -0
- package/components/hy-person-profile-listing.js +6 -0
- package/components/hy-person-profile.d.ts +11 -0
- package/components/hy-person-profile.js +142 -0
- package/components/hy-process-flow-box.d.ts +11 -0
- package/components/hy-process-flow-box.js +6 -0
- package/components/hy-process.d.ts +11 -0
- package/components/hy-process.js +89 -0
- package/components/hy-prominent-image.d.ts +11 -0
- package/components/hy-prominent-image.js +71 -0
- package/components/hy-quote.d.ts +11 -0
- package/components/hy-quote.js +54 -0
- package/components/hy-row.d.ts +11 -0
- package/components/hy-row.js +50 -0
- package/components/hy-search-field.d.ts +11 -0
- package/components/hy-search-field.js +6 -0
- package/components/hy-search-field2.js +81 -0
- package/components/hy-section-container.d.ts +11 -0
- package/components/hy-section-container.js +32 -0
- package/components/hy-shortcuts.d.ts +11 -0
- package/components/hy-shortcuts.js +96 -0
- package/components/hy-site-header.d.ts +11 -0
- package/components/hy-site-header.js +369 -0
- package/components/hy-site-logo.d.ts +11 -0
- package/components/hy-site-logo.js +6 -0
- package/components/hy-site-search.d.ts +11 -0
- package/components/hy-site-search.js +6 -0
- package/components/hy-table-container.d.ts +11 -0
- package/components/hy-table-container.js +39 -0
- package/components/hy-tabs-item.d.ts +11 -0
- package/components/hy-tabs-item.js +6 -0
- package/components/hy-tabs-item2.js +33 -0
- package/components/hy-tabs.d.ts +11 -0
- package/components/hy-tabs.js +6 -0
- package/components/hy-tabs2.js +346 -0
- package/components/hy-tag.d.ts +11 -0
- package/components/hy-tag.js +6 -0
- package/components/hy-tag2.js +31 -0
- package/components/hy-tiny-text.d.ts +11 -0
- package/components/hy-tiny-text.js +34 -0
- package/components/hy-twitter-feed.d.ts +11 -0
- package/components/hy-twitter-feed.js +57 -0
- package/components/hy-two-columns.d.ts +11 -0
- package/components/hy-two-columns.js +36 -0
- package/components/hy-user-login-form.d.ts +11 -0
- package/components/hy-user-login-form.js +53 -0
- package/components/hy-video.d.ts +11 -0
- package/components/hy-video.js +156 -0
- package/components/icon.js +830 -0
- package/components/image.js +75 -0
- package/components/index.d.ts +27 -0
- package/components/index.js +2 -0
- package/components/index2.js +965 -0
- package/components/link-box.js +116 -0
- package/components/menu-language-item.js +47 -0
- package/components/menu-language.js +121 -0
- package/components/package.json +8 -0
- package/components/paragraph-text.js +60 -0
- package/components/person-profile.listing.js +57 -0
- package/components/process-flow-box.js +57 -0
- package/components/site-logo.js +59 -0
- package/components/site-search.js +249 -0
- package/{dist/esm/utils-43c56d92.js → components/utils.js} +1 -3
- package/dist/cjs/{hy-accordion-container_83.cjs.entry.js → color-box_91.cjs.entry.js} +1177 -1001
- package/dist/cjs/{globalScript-45ad6d41.js → globalScript-d341436f.js} +7 -9
- package/dist/cjs/huds-lib.cjs.js +3 -5
- package/dist/cjs/hy-event-item.cjs.entry.js +10 -12
- package/dist/cjs/hy-events.cjs.entry.js +22 -24
- package/dist/cjs/hy-hero-carousel.cjs.entry.js +4902 -0
- package/dist/cjs/{index-25bd964b.js → index-ca4e37f2.js} +0 -2
- package/dist/cjs/index.cjs.js +0 -2
- package/dist/cjs/loader.cjs.js +3 -5
- package/dist/cjs/utils-14d5aa6f.js +0 -2
- package/dist/collection/collection-manifest.json +8 -11
- package/dist/collection/components/accordion-container/accordion-container.js +4 -5
- package/dist/collection/components/accordion-item/accordion-item.js +78 -79
- package/dist/collection/components/adjacent-image-text/adjacent-image-text.js +17 -18
- package/dist/collection/components/baseline/baseline.js +2 -3
- package/dist/collection/components/button/button.js +28 -29
- package/dist/collection/components/color-box/color-box.js +1 -2
- package/dist/collection/components/courses/hy-content-list/hy-content-list.js +42 -43
- package/dist/collection/components/courses/hy-content-list-item/hy-content-list-item.js +15 -16
- package/dist/collection/components/cta-button/cta-button.js +12 -13
- package/dist/collection/components/cta-link/cta-link.js +7 -8
- package/dist/collection/components/docs-container/docs-container.js +0 -1
- package/dist/collection/components/footer/hy-footer/hy-footer.js +3 -4
- package/dist/collection/components/footer/hy-footer-action/hy-footer-action.js +5 -6
- package/dist/collection/components/footer/hy-footer-base/hy-footer-base.js +6 -7
- package/dist/collection/components/footer/hy-footer-info/hy-footer-info.js +19 -20
- package/dist/collection/components/footer/hy-footer-link-item/hy-footer-link-item.js +22 -23
- package/dist/collection/components/global-workers/globals.worker.js +0 -1
- package/dist/collection/components/grid-container/grid-container.js +1 -2
- package/dist/collection/components/grid-item/grid-item.js +5 -6
- package/dist/collection/components/grid-row/grid-row.js +3 -4
- package/dist/collection/components/heading/heading.js +17 -18
- package/dist/collection/components/hy-anchor-link-list/hy-anchor-link-list.js +13 -14
- package/dist/collection/components/hy-badge/hy-badge.js +6 -7
- package/dist/collection/components/hy-banner/hy-banner.js +13 -14
- package/dist/collection/components/hy-box/hy-box.js +26 -27
- package/dist/collection/components/hy-box-container/hy-box-container.js +5 -6
- package/dist/collection/components/hy-breadcrumbs/hy-breadcrumbs.js +10 -11
- package/dist/collection/components/hy-checkbox/hy-checkbox.js +5 -6
- package/dist/collection/components/hy-collaboration/hy-collaboration.js +2 -3
- package/dist/collection/components/hy-crisis-banner/hy-crisis-banner.js +2 -3
- package/dist/collection/components/hy-dropdown/hy-dropdown.js +16 -17
- package/dist/collection/components/hy-dropdown/hy-dropdown.panel.item.js +2 -3
- package/dist/collection/components/hy-dropdown/hy-dropdown.panel.js +2 -3
- package/dist/collection/components/hy-event-item/hy-event-item.js +15 -16
- package/dist/collection/components/hy-events/hy-events.js +25 -26
- package/dist/collection/components/hy-filter-group/hy-filter-group.item.js +3 -4
- package/dist/collection/components/hy-filter-group/hy-filter-group.js +3 -4
- package/dist/collection/components/hy-filter-list-type/hy-filter-list-type.js +10 -11
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.js +4 -5
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.js +2 -3
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.toggle.js +2 -3
- package/dist/collection/components/hy-general-list/hy-general-list.js +11 -12
- package/dist/collection/components/hy-general-list-item/hy-general-list-item.js +18 -19
- package/dist/collection/components/hy-hero/hy-hero.js +26 -27
- package/dist/collection/components/hy-hero-carousel/hy-hero-carousel.css +1306 -0
- package/dist/collection/components/hy-hero-carousel/hy-hero-carousel.js +211 -0
- package/dist/collection/components/hy-introduction/hy-introduction.js +23 -24
- package/dist/collection/components/hy-key-figure/hy-key-figure.js +3 -4
- package/dist/collection/components/hy-key-figure-group/hy-key-figure-group.js +17 -18
- package/dist/collection/components/hy-key-highlight/hy-key-highlight.js +3 -4
- package/dist/collection/components/hy-key-highlight-group/hy-key-highlight-group.js +12 -13
- package/dist/collection/components/hy-large-process-flow/hy-large-process-flow.js +11 -12
- package/dist/collection/components/hy-large-process-flow-phase/hy-large-process-flow-phase.js +5 -6
- package/dist/collection/components/hy-link-list/hy-link-list.js +16 -17
- package/dist/collection/components/hy-list-item/hy-list-item.js +71 -72
- package/dist/collection/components/hy-logo-grid/hy-logo-grid.item.js +3 -4
- package/dist/collection/components/hy-logo-grid/hy-logo-grid.js +1 -2
- package/dist/collection/components/hy-main/hy-main.js +5 -6
- package/dist/collection/components/hy-main-content-wrapper/hy-main-content-wrapper.js +2 -3
- package/dist/collection/components/hy-opening-hours/hy-opening-hours.js +12 -13
- package/dist/collection/components/hy-opening-hours-content/hy-opening-hours-content.js +10 -11
- package/dist/collection/components/hy-person-card/hy-person-card.js +17 -18
- package/dist/collection/components/hy-prominent-image/hy-prominent-image.js +12 -13
- package/dist/collection/components/hy-quote/hy-quote.js +8 -9
- package/dist/collection/components/hy-search-field/hy-search-field.js +15 -16
- package/dist/collection/components/hy-shortcuts/hy-shortcuts.js +21 -22
- package/dist/collection/components/hy-table-container/hy-table-container.js +2 -3
- package/dist/collection/components/hy-tabs/hy-tabs.js +52 -53
- package/dist/collection/components/hy-tabs-item/hy-tabs-item.js +2 -3
- package/dist/collection/components/hy-tag/hy-tag.js +2 -3
- package/dist/collection/components/hy-twitter-feed/hy-twitter-feed.js +4 -5
- package/dist/collection/components/hy-two-columns/hy-two-columns.js +2 -3
- package/dist/collection/components/hy-user-login-form/hy-user-login-form.js +4 -5
- package/dist/collection/components/hy-video/hy-video.js +26 -27
- package/dist/collection/components/icon/AddToTodoList.js +0 -1
- package/dist/collection/components/icon/Alert.js +1 -2
- package/dist/collection/components/icon/Archive.js +1 -2
- package/dist/collection/components/icon/Arrow.js +0 -1
- package/dist/collection/components/icon/ArrowDown.js +0 -1
- package/dist/collection/components/icon/ArrowRight.js +1 -2
- package/dist/collection/components/icon/ArrowUp.js +0 -1
- package/dist/collection/components/icon/Avatar.js +0 -1
- package/dist/collection/components/icon/AvatarGroup.js +0 -1
- package/dist/collection/components/icon/Bachelor.js +0 -1
- package/dist/collection/components/icon/BulletList.js +0 -1
- package/dist/collection/components/icon/Camera.js +0 -1
- package/dist/collection/components/icon/CaretDown.js +0 -1
- package/dist/collection/components/icon/CaretLeft.js +0 -1
- package/dist/collection/components/icon/CaretRight.js +1 -2
- package/dist/collection/components/icon/CaretUp.js +0 -1
- package/dist/collection/components/icon/Chat.js +0 -1
- package/dist/collection/components/icon/CodeFork.js +0 -1
- package/dist/collection/components/icon/Cogs.js +0 -1
- package/dist/collection/components/icon/Contentlink.js +0 -1
- package/dist/collection/components/icon/Customlink.js +0 -1
- package/dist/collection/components/icon/Date.js +0 -1
- package/dist/collection/components/icon/Discover.js +0 -1
- package/dist/collection/components/icon/Done.js +0 -1
- package/dist/collection/components/icon/Dot.js +0 -1
- package/dist/collection/components/icon/DotArrowRight.js +1 -2
- package/dist/collection/components/icon/Download.js +0 -1
- package/dist/collection/components/icon/Drag.js +0 -1
- package/dist/collection/components/icon/Dragbutton.js +0 -1
- package/dist/collection/components/icon/DropDown.js +0 -1
- package/dist/collection/components/icon/Edit.js +0 -1
- package/dist/collection/components/icon/EditEvent.js +0 -1
- package/dist/collection/components/icon/Embed.js +0 -1
- package/dist/collection/components/icon/Euro.js +1 -2
- package/dist/collection/components/icon/Events.js +0 -1
- package/dist/collection/components/icon/ExternalLink.js +0 -1
- package/dist/collection/components/icon/EyeSlash.js +0 -1
- package/dist/collection/components/icon/Facebook.js +0 -1
- package/dist/collection/components/icon/Favorites.js +0 -1
- package/dist/collection/components/icon/Feed.js +0 -1
- package/dist/collection/components/icon/FileText.js +0 -1
- package/dist/collection/components/icon/FullScreen.js +0 -1
- package/dist/collection/components/icon/Globe.js +1 -2
- package/dist/collection/components/icon/GooglePlus.js +0 -1
- package/dist/collection/components/icon/Grid.js +0 -1
- package/dist/collection/components/icon/Hamburger.js +0 -1
- package/dist/collection/components/icon/Heart.js +0 -1
- package/dist/collection/components/icon/HeartSupport.js +1 -2
- package/dist/collection/components/icon/Helsinginyliopisto.js +0 -1
- package/dist/collection/components/icon/Home.js +1 -2
- package/dist/collection/components/icon/HorizontalResize.js +0 -1
- package/dist/collection/components/icon/HyLogo.js +0 -1
- package/dist/collection/components/icon/IdNumber.js +0 -1
- package/dist/collection/components/icon/Image.js +0 -1
- package/dist/collection/components/icon/ImageGallery.js +0 -1
- package/dist/collection/components/icon/Images.js +0 -1
- package/dist/collection/components/icon/Info.js +1 -2
- package/dist/collection/components/icon/InfoStroke.js +0 -1
- package/dist/collection/components/icon/Instagram.js +0 -1
- package/dist/collection/components/icon/LeikiList.js +0 -1
- package/dist/collection/components/icon/LinkArrow.js +0 -1
- package/dist/collection/components/icon/LinkArrow1.js +0 -1
- package/dist/collection/components/icon/LinkArrowDown.js +0 -1
- package/dist/collection/components/icon/LinkArrowLeft.js +0 -1
- package/dist/collection/components/icon/LinkArrowOffsite.js +0 -1
- package/dist/collection/components/icon/LinkArrowUp.js +0 -1
- package/dist/collection/components/icon/Linkedin.js +0 -1
- package/dist/collection/components/icon/List.js +0 -1
- package/dist/collection/components/icon/ListAsBlocks.js +0 -1
- package/dist/collection/components/icon/ListStyleGrid.js +1 -2
- package/dist/collection/components/icon/ListStyleList.js +1 -2
- package/dist/collection/components/icon/Listoflinks.js +0 -1
- package/dist/collection/components/icon/Location.js +0 -1
- package/dist/collection/components/icon/Log.js +0 -1
- package/dist/collection/components/icon/Login.js +0 -1
- package/dist/collection/components/icon/Logout.js +0 -1
- package/dist/collection/components/icon/MagnifyMinus.js +0 -1
- package/dist/collection/components/icon/MagnifyPlus.js +0 -1
- package/dist/collection/components/icon/Mail.js +0 -1
- package/dist/collection/components/icon/Master.js +0 -1
- package/dist/collection/components/icon/Minus.js +0 -1
- package/dist/collection/components/icon/Mobile.js +0 -1
- package/dist/collection/components/icon/Modify.js +0 -1
- package/dist/collection/components/icon/NaviTriangle.js +0 -1
- package/dist/collection/components/icon/NewGroup.js +0 -1
- package/dist/collection/components/icon/NewPerson.js +0 -1
- package/dist/collection/components/icon/Notification.js +0 -1
- package/dist/collection/components/icon/OpinderLogo.js +0 -1
- package/dist/collection/components/icon/OpinderLogoNew.js +0 -1
- package/dist/collection/components/icon/Pdf.js +0 -1
- package/dist/collection/components/icon/People.js +0 -1
- package/dist/collection/components/icon/PermissionAll.js +0 -1
- package/dist/collection/components/icon/PermissionGroup.js +0 -1
- package/dist/collection/components/icon/PermissionPrivate.js +0 -1
- package/dist/collection/components/icon/Person.js +0 -1
- package/dist/collection/components/icon/PersonOutline.js +0 -1
- package/dist/collection/components/icon/Phone.js +0 -1
- package/dist/collection/components/icon/Play.js +0 -1
- package/dist/collection/components/icon/Plus.js +0 -1
- package/dist/collection/components/icon/Preview.js +0 -1
- package/dist/collection/components/icon/Profile.js +0 -1
- package/dist/collection/components/icon/Question.js +0 -1
- package/dist/collection/components/icon/Remove.js +0 -1
- package/dist/collection/components/icon/Retweet.js +0 -1
- package/dist/collection/components/icon/RotateLeft.js +0 -1
- package/dist/collection/components/icon/RotateRight.js +0 -1
- package/dist/collection/components/icon/Search.js +1 -2
- package/dist/collection/components/icon/Share.js +0 -1
- package/dist/collection/components/icon/SlimHamburgerMenu.js +1 -2
- package/dist/collection/components/icon/SocialMedia.js +0 -1
- package/dist/collection/components/icon/SomeFacebook.js +1 -2
- package/dist/collection/components/icon/SomeInstagram.js +1 -2
- package/dist/collection/components/icon/SomeLinkedin.js +1 -2
- package/dist/collection/components/icon/SomeTwitter.js +1 -2
- package/dist/collection/components/icon/SomeYoutube.js +1 -2
- package/dist/collection/components/icon/Spinner.js +0 -1
- package/dist/collection/components/icon/Square.js +0 -1
- package/dist/collection/components/icon/SquareChecked.js +0 -1
- package/dist/collection/components/icon/Time.js +0 -1
- package/dist/collection/components/icon/TodoList.js +0 -1
- package/dist/collection/components/icon/Tour.js +0 -1
- package/dist/collection/components/icon/Twitter.js +0 -1
- package/dist/collection/components/icon/TwitterLike.js +1 -2
- package/dist/collection/components/icon/UnitsAndFaculties.js +0 -1
- package/dist/collection/components/icon/Url.js +0 -1
- package/dist/collection/components/icon/Video.js +0 -1
- package/dist/collection/components/icon/Warning.js +0 -1
- package/dist/collection/components/icon/Wrench.js +0 -1
- package/dist/collection/components/icon/Youtube.js +0 -1
- package/dist/collection/components/icon/allIcons.js +114 -115
- package/dist/collection/components/icon/icon.js +134 -135
- package/dist/collection/components/icon/icons.js +132 -133
- package/dist/collection/components/image/image.js +10 -11
- package/dist/collection/components/ingress/ingress.js +7 -8
- package/dist/collection/components/link/link.js +7 -8
- package/dist/collection/components/link-box/link-box.js +23 -24
- package/dist/collection/components/link-box-list/link-box-list.js +12 -13
- package/dist/collection/components/navigation/hy-menu-main-group/hy-menu-main-group.js +45 -46
- package/dist/collection/components/navigation/menu-language/menu-language.js +15 -16
- package/dist/collection/components/navigation/menu-language-item/menu-language-item.js +4 -5
- package/dist/collection/components/pagination/hy-pager/hy-pager.js +2 -3
- package/dist/collection/components/pagination/hy-pager-item/hy-pager-item.js +12 -13
- package/dist/collection/components/paragraph-text/paragraph-text.js +10 -11
- package/dist/collection/components/person-profile/person-profile-listing/person-profile.listing.js +9 -10
- package/dist/collection/components/person-profile/person-profile.js +16 -17
- package/dist/collection/components/process/process.js +12 -13
- package/dist/collection/components/process-flow-box/process-flow-box.js +11 -12
- package/dist/collection/components/row/row.js +6 -7
- package/dist/collection/components/section-container/section-container.js +1 -2
- package/dist/collection/components/site-header/site-header.js +69 -70
- package/dist/collection/components/site-header/site-logo/site-logo.js +7 -8
- package/dist/collection/components/site-header/site-search/site-search.js +56 -57
- package/dist/collection/components/tiny-text/tiny-text.js +0 -1
- package/dist/collection/global/colors.js +21 -22
- package/dist/collection/global/globalScript.js +7 -8
- package/dist/collection/global/typography.js +0 -1
- package/dist/collection/index.js +1 -2
- package/dist/collection/utils/utils.js +0 -1
- package/dist/esm/{hy-accordion-container_83.entry.js → color-box_91.entry.js} +1171 -1003
- package/dist/esm/globalScript-3c6fab71.js +26 -0
- package/dist/esm/huds-lib.js +4 -6
- package/dist/esm/hy-event-item.entry.js +10 -12
- package/dist/esm/hy-events.entry.js +23 -25
- package/dist/esm/hy-hero-carousel.entry.js +4898 -0
- package/dist/esm/{index-3a66d87e.js → index-9920074a.js} +0 -2
- package/dist/esm/index.js +0 -2
- package/dist/esm/loader.js +4 -6
- package/dist/esm/utils-a4d55421.js +239 -0
- package/dist/fonts/fonts.css +20 -20
- package/dist/huds-lib/color-box_91.entry.js +87 -0
- package/dist/huds-lib/globalScript-3c6fab71.js +1 -0
- package/dist/huds-lib/huds-lib.esm.js +1 -2
- package/dist/huds-lib/hy-event-item.entry.js +1 -0
- package/dist/huds-lib/hy-events.entry.js +1 -0
- package/dist/huds-lib/hy-hero-carousel.entry.js +1 -0
- package/dist/huds-lib/index-9920074a.js +2 -0
- package/dist/huds-lib/index.esm.js +0 -2
- package/dist/huds-lib/utils-a4d55421.js +1 -0
- package/dist/loader/cdn.js +3 -0
- package/dist/loader/index.cjs.js +3 -0
- package/dist/loader/index.d.ts +21 -0
- package/dist/loader/index.es2017.js +3 -0
- package/dist/loader/index.js +4 -0
- package/dist/loader/package.json +11 -0
- package/dist/types/components/accordion-item/accordion-item.d.ts +1 -1
- package/dist/types/components/adjacent-image-text/adjacent-image-text.d.ts +1 -1
- package/dist/types/components/button/button.d.ts +3 -3
- package/dist/types/components/color-box/color-box.d.ts +1 -1
- package/dist/types/components/courses/hy-content-list/hy-content-list.d.ts +2 -2
- package/dist/types/components/courses/hy-content-list-item/hy-content-list-item.d.ts +1 -1
- package/dist/types/components/cta-button/cta-button.d.ts +2 -2
- package/dist/types/components/cta-link/cta-link.d.ts +2 -2
- package/dist/types/components/footer/hy-footer-base/hy-footer-base.d.ts +2 -2
- package/dist/types/components/footer/hy-footer-info/hy-footer-info.d.ts +1 -1
- package/dist/types/components/footer/hy-footer-link-item/hy-footer-link-item.d.ts +1 -1
- package/dist/types/components/grid-item/grid-item.d.ts +1 -1
- package/dist/types/components/heading/heading.d.ts +1 -1
- package/dist/types/components/hy-badge/hy-badge.d.ts +2 -2
- package/dist/types/components/hy-breadcrumbs/hy-breadcrumbs.d.ts +1 -1
- package/dist/types/components/hy-checkbox/hy-checkbox.d.ts +1 -1
- package/dist/types/components/hy-filter-visibility-tool/hy-filter-visibility-tool.d.ts +1 -1
- package/dist/types/components/hy-general-list/hy-general-list.d.ts +1 -1
- package/dist/types/components/hy-hero/hy-hero.d.ts +1 -1
- package/dist/types/components/hy-hero-carousel/hy-hero-carousel.d.ts +30 -0
- package/dist/types/components/hy-introduction/hy-introduction.d.ts +1 -1
- package/dist/types/components/hy-key-figure/hy-key-figure.d.ts +2 -2
- package/dist/types/components/hy-key-figure-group/hy-key-figure-group.d.ts +1 -1
- package/dist/types/components/hy-key-highlight/hy-key-highlight.d.ts +2 -2
- package/dist/types/components/hy-key-highlight-group/hy-key-highlight-group.d.ts +2 -2
- package/dist/types/components/hy-large-process-flow/hy-large-process-flow.d.ts +1 -1
- package/dist/types/components/hy-large-process-flow-phase/hy-large-process-flow-phase.d.ts +1 -1
- package/dist/types/components/hy-link-list/hy-link-list.d.ts +1 -1
- package/dist/types/components/hy-list-item/hy-list-item.d.ts +1 -1
- package/dist/types/components/hy-person-card/hy-person-card.d.ts +1 -1
- package/dist/types/components/hy-shortcuts/hy-shortcuts.d.ts +1 -1
- package/dist/types/components/hy-tabs/hy-tabs.d.ts +1 -1
- package/dist/types/components/icon/allIcons.d.ts +114 -114
- package/dist/types/components/icon/icons.d.ts +130 -130
- package/dist/types/components/image/image.d.ts +1 -1
- package/dist/types/components/link/link.d.ts +1 -1
- package/dist/types/components/link-box/link-box.d.ts +2 -2
- package/dist/types/components/link-box-list/link-box-list.d.ts +2 -2
- package/dist/types/components/navigation/hy-menu-main-group/hy-menu-main-group.d.ts +1 -1
- package/dist/types/components/navigation/menu-language/menu-language.d.ts +2 -2
- package/dist/types/components/pagination/hy-pager-item/hy-pager-item.d.ts +1 -1
- package/dist/types/components/person-profile/person-profile-listing/person-profile.listing.d.ts +1 -1
- package/dist/types/components/process/process.d.ts +1 -1
- package/dist/types/components/process-flow-box/process-flow-box.d.ts +3 -3
- package/dist/types/components/site-header/site-header.d.ts +2 -2
- package/dist/types/components/site-header/site-logo/site-logo.d.ts +1 -1
- package/dist/types/components/site-header/site-search/site-search.d.ts +3 -3
- package/dist/types/components.d.ts +39 -10
- package/dist/types/index.d.ts +1 -1
- package/dist/types/utils/utils.d.ts +4 -4
- package/loader/cdn.js +4 -3
- package/loader/index.cjs.js +4 -3
- package/loader/index.d.ts +13 -3
- package/loader/index.es2017.js +2 -3
- package/loader/index.js +13 -4
- package/loader/package.json +1 -1
- package/package.json +11 -3
- package/dist/cjs/color-box_8.cjs.entry.js +0 -187
- package/dist/cjs/color-box_8.cjs.entry.js.map +0 -1
- package/dist/cjs/globalScript-45ad6d41.js.map +0 -1
- package/dist/cjs/huds-lib.cjs.js.map +0 -1
- package/dist/cjs/hy-accordion-container_83.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-event-item.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-events.cjs.entry.js.map +0 -1
- package/dist/cjs/index-25bd964b.js.map +0 -1
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/cjs/utils-14d5aa6f.js.map +0 -1
- package/dist/collection/components/accordion-container/accordion-container.js.map +0 -1
- package/dist/collection/components/accordion-item/accordion-item.js.map +0 -1
- package/dist/collection/components/adjacent-image-text/adjacent-image-text.js.map +0 -1
- package/dist/collection/components/baseline/baseline.js.map +0 -1
- package/dist/collection/components/button/button.js.map +0 -1
- package/dist/collection/components/color-box/color-box.js.map +0 -1
- package/dist/collection/components/courses/hy-content-list/hy-content-list.js.map +0 -1
- package/dist/collection/components/courses/hy-content-list-item/hy-content-list-item.js.map +0 -1
- package/dist/collection/components/cta-button/cta-button.js.map +0 -1
- package/dist/collection/components/cta-link/cta-link.js.map +0 -1
- package/dist/collection/components/docs-container/docs-container.js.map +0 -1
- package/dist/collection/components/footer/hy-footer/hy-footer.js.map +0 -1
- package/dist/collection/components/footer/hy-footer-action/hy-footer-action.js.map +0 -1
- package/dist/collection/components/footer/hy-footer-base/hy-footer-base.js.map +0 -1
- package/dist/collection/components/footer/hy-footer-info/hy-footer-info.js.map +0 -1
- package/dist/collection/components/footer/hy-footer-link-item/hy-footer-link-item.js.map +0 -1
- package/dist/collection/components/global-workers/globals.worker.js.map +0 -1
- package/dist/collection/components/grid-container/grid-container.js.map +0 -1
- package/dist/collection/components/grid-item/grid-item.js.map +0 -1
- package/dist/collection/components/grid-row/grid-row.js.map +0 -1
- package/dist/collection/components/heading/heading.js.map +0 -1
- package/dist/collection/components/hy-anchor-link-list/hy-anchor-link-list.js.map +0 -1
- package/dist/collection/components/hy-badge/hy-badge.js.map +0 -1
- package/dist/collection/components/hy-banner/hy-banner.js.map +0 -1
- package/dist/collection/components/hy-box/hy-box.js.map +0 -1
- package/dist/collection/components/hy-box-container/hy-box-container.js.map +0 -1
- package/dist/collection/components/hy-breadcrumbs/hy-breadcrumbs.js.map +0 -1
- package/dist/collection/components/hy-checkbox/hy-checkbox.js.map +0 -1
- package/dist/collection/components/hy-collaboration/hy-collaboration.js.map +0 -1
- package/dist/collection/components/hy-crisis-banner/hy-crisis-banner.js.map +0 -1
- package/dist/collection/components/hy-dropdown/hy-dropdown.js.map +0 -1
- package/dist/collection/components/hy-dropdown/hy-dropdown.panel.item.js.map +0 -1
- package/dist/collection/components/hy-dropdown/hy-dropdown.panel.js.map +0 -1
- package/dist/collection/components/hy-event-item/hy-event-item.js.map +0 -1
- package/dist/collection/components/hy-events/hy-events.js.map +0 -1
- package/dist/collection/components/hy-filter-group/hy-filter-group.item.js.map +0 -1
- package/dist/collection/components/hy-filter-group/hy-filter-group.js.map +0 -1
- package/dist/collection/components/hy-filter-list-type/hy-filter-list-type.js.map +0 -1
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.js.map +0 -1
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.js.map +0 -1
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.toggle.js.map +0 -1
- package/dist/collection/components/hy-general-list/hy-general-list.js.map +0 -1
- package/dist/collection/components/hy-general-list-item/hy-general-list-item.js.map +0 -1
- package/dist/collection/components/hy-hero/hy-hero.js.map +0 -1
- package/dist/collection/components/hy-introduction/hy-introduction.js.map +0 -1
- package/dist/collection/components/hy-key-figure/hy-key-figure.js.map +0 -1
- package/dist/collection/components/hy-key-figure-group/hy-key-figure-group.js.map +0 -1
- package/dist/collection/components/hy-key-highlight/hy-key-highlight.js.map +0 -1
- package/dist/collection/components/hy-key-highlight-group/hy-key-highlight-group.js.map +0 -1
- package/dist/collection/components/hy-large-process-flow/hy-large-process-flow.js.map +0 -1
- package/dist/collection/components/hy-large-process-flow-phase/hy-large-process-flow-phase.js.map +0 -1
- package/dist/collection/components/hy-link-list/hy-link-list.js.map +0 -1
- package/dist/collection/components/hy-list-item/hy-list-item.js.map +0 -1
- package/dist/collection/components/hy-logo-grid/hy-logo-grid.item.js.map +0 -1
- package/dist/collection/components/hy-logo-grid/hy-logo-grid.js.map +0 -1
- package/dist/collection/components/hy-main/hy-main.js.map +0 -1
- package/dist/collection/components/hy-main-content-wrapper/hy-main-content-wrapper.js.map +0 -1
- package/dist/collection/components/hy-opening-hours/hy-opening-hours.js.map +0 -1
- package/dist/collection/components/hy-opening-hours-content/hy-opening-hours-content.js.map +0 -1
- package/dist/collection/components/hy-person-card/hy-person-card.js.map +0 -1
- package/dist/collection/components/hy-prominent-image/hy-prominent-image.js.map +0 -1
- package/dist/collection/components/hy-quote/hy-quote.js.map +0 -1
- package/dist/collection/components/hy-search-field/hy-search-field.js.map +0 -1
- package/dist/collection/components/hy-shortcuts/hy-shortcuts.js.map +0 -1
- package/dist/collection/components/hy-table-container/hy-table-container.js.map +0 -1
- package/dist/collection/components/hy-tabs/hy-tabs.js.map +0 -1
- package/dist/collection/components/hy-tabs-item/hy-tabs-item.js.map +0 -1
- package/dist/collection/components/hy-tag/hy-tag.js.map +0 -1
- package/dist/collection/components/hy-twitter-feed/hy-twitter-feed.js.map +0 -1
- package/dist/collection/components/hy-two-columns/hy-two-columns.js.map +0 -1
- package/dist/collection/components/hy-user-login-form/hy-user-login-form.js.map +0 -1
- package/dist/collection/components/hy-video/hy-video.js.map +0 -1
- package/dist/collection/components/icon/AddToTodoList.js.map +0 -1
- package/dist/collection/components/icon/Alert.js.map +0 -1
- package/dist/collection/components/icon/Archive.js.map +0 -1
- package/dist/collection/components/icon/Arrow.js.map +0 -1
- package/dist/collection/components/icon/ArrowDown.js.map +0 -1
- package/dist/collection/components/icon/ArrowRight.js.map +0 -1
- package/dist/collection/components/icon/ArrowUp.js.map +0 -1
- package/dist/collection/components/icon/Avatar.js.map +0 -1
- package/dist/collection/components/icon/AvatarGroup.js.map +0 -1
- package/dist/collection/components/icon/Bachelor.js.map +0 -1
- package/dist/collection/components/icon/BulletList.js.map +0 -1
- package/dist/collection/components/icon/Camera.js.map +0 -1
- package/dist/collection/components/icon/CaretDown.js.map +0 -1
- package/dist/collection/components/icon/CaretLeft.js.map +0 -1
- package/dist/collection/components/icon/CaretRight.js.map +0 -1
- package/dist/collection/components/icon/CaretUp.js.map +0 -1
- package/dist/collection/components/icon/Chat.js.map +0 -1
- package/dist/collection/components/icon/CodeFork.js.map +0 -1
- package/dist/collection/components/icon/Cogs.js.map +0 -1
- package/dist/collection/components/icon/Contentlink.js.map +0 -1
- package/dist/collection/components/icon/Customlink.js.map +0 -1
- package/dist/collection/components/icon/Date.js.map +0 -1
- package/dist/collection/components/icon/Discover.js.map +0 -1
- package/dist/collection/components/icon/Done.js.map +0 -1
- package/dist/collection/components/icon/Dot.js.map +0 -1
- package/dist/collection/components/icon/DotArrowRight.js.map +0 -1
- package/dist/collection/components/icon/Download.js.map +0 -1
- package/dist/collection/components/icon/Drag.js.map +0 -1
- package/dist/collection/components/icon/Dragbutton.js.map +0 -1
- package/dist/collection/components/icon/DropDown.js.map +0 -1
- package/dist/collection/components/icon/Edit.js.map +0 -1
- package/dist/collection/components/icon/EditEvent.js.map +0 -1
- package/dist/collection/components/icon/Embed.js.map +0 -1
- package/dist/collection/components/icon/Euro.js.map +0 -1
- package/dist/collection/components/icon/Events.js.map +0 -1
- package/dist/collection/components/icon/ExternalLink.js.map +0 -1
- package/dist/collection/components/icon/EyeSlash.js.map +0 -1
- package/dist/collection/components/icon/Facebook.js.map +0 -1
- package/dist/collection/components/icon/Favorites.js.map +0 -1
- package/dist/collection/components/icon/Feed.js.map +0 -1
- package/dist/collection/components/icon/FileText.js.map +0 -1
- package/dist/collection/components/icon/FullScreen.js.map +0 -1
- package/dist/collection/components/icon/Globe.js.map +0 -1
- package/dist/collection/components/icon/GooglePlus.js.map +0 -1
- package/dist/collection/components/icon/Grid.js.map +0 -1
- package/dist/collection/components/icon/Hamburger.js.map +0 -1
- package/dist/collection/components/icon/Heart.js.map +0 -1
- package/dist/collection/components/icon/HeartSupport.js.map +0 -1
- package/dist/collection/components/icon/Helsinginyliopisto.js.map +0 -1
- package/dist/collection/components/icon/Home.js.map +0 -1
- package/dist/collection/components/icon/HorizontalResize.js.map +0 -1
- package/dist/collection/components/icon/HyLogo.js.map +0 -1
- package/dist/collection/components/icon/IdNumber.js.map +0 -1
- package/dist/collection/components/icon/Image.js.map +0 -1
- package/dist/collection/components/icon/ImageGallery.js.map +0 -1
- package/dist/collection/components/icon/Images.js.map +0 -1
- package/dist/collection/components/icon/Info.js.map +0 -1
- package/dist/collection/components/icon/InfoStroke.js.map +0 -1
- package/dist/collection/components/icon/Instagram.js.map +0 -1
- package/dist/collection/components/icon/LeikiList.js.map +0 -1
- package/dist/collection/components/icon/LinkArrow.js.map +0 -1
- package/dist/collection/components/icon/LinkArrow1.js.map +0 -1
- package/dist/collection/components/icon/LinkArrowDown.js.map +0 -1
- package/dist/collection/components/icon/LinkArrowLeft.js.map +0 -1
- package/dist/collection/components/icon/LinkArrowOffsite.js.map +0 -1
- package/dist/collection/components/icon/LinkArrowUp.js.map +0 -1
- package/dist/collection/components/icon/Linkedin.js.map +0 -1
- package/dist/collection/components/icon/List.js.map +0 -1
- package/dist/collection/components/icon/ListAsBlocks.js.map +0 -1
- package/dist/collection/components/icon/ListStyleGrid.js.map +0 -1
- package/dist/collection/components/icon/ListStyleList.js.map +0 -1
- package/dist/collection/components/icon/Listoflinks.js.map +0 -1
- package/dist/collection/components/icon/Location.js.map +0 -1
- package/dist/collection/components/icon/Log.js.map +0 -1
- package/dist/collection/components/icon/Login.js.map +0 -1
- package/dist/collection/components/icon/Logout.js.map +0 -1
- package/dist/collection/components/icon/MagnifyMinus.js.map +0 -1
- package/dist/collection/components/icon/MagnifyPlus.js.map +0 -1
- package/dist/collection/components/icon/Mail.js.map +0 -1
- package/dist/collection/components/icon/Master.js.map +0 -1
- package/dist/collection/components/icon/Minus.js.map +0 -1
- package/dist/collection/components/icon/Mobile.js.map +0 -1
- package/dist/collection/components/icon/Modify.js.map +0 -1
- package/dist/collection/components/icon/NaviTriangle.js.map +0 -1
- package/dist/collection/components/icon/NewGroup.js.map +0 -1
- package/dist/collection/components/icon/NewPerson.js.map +0 -1
- package/dist/collection/components/icon/Notification.js.map +0 -1
- package/dist/collection/components/icon/OpinderLogo.js.map +0 -1
- package/dist/collection/components/icon/OpinderLogoNew.js.map +0 -1
- package/dist/collection/components/icon/Pdf.js.map +0 -1
- package/dist/collection/components/icon/People.js.map +0 -1
- package/dist/collection/components/icon/PermissionAll.js.map +0 -1
- package/dist/collection/components/icon/PermissionGroup.js.map +0 -1
- package/dist/collection/components/icon/PermissionPrivate.js.map +0 -1
- package/dist/collection/components/icon/Person.js.map +0 -1
- package/dist/collection/components/icon/PersonOutline.js.map +0 -1
- package/dist/collection/components/icon/Phone.js.map +0 -1
- package/dist/collection/components/icon/Play.js.map +0 -1
- package/dist/collection/components/icon/Plus.js.map +0 -1
- package/dist/collection/components/icon/Preview.js.map +0 -1
- package/dist/collection/components/icon/Profile.js.map +0 -1
- package/dist/collection/components/icon/Question.js.map +0 -1
- package/dist/collection/components/icon/Remove.js.map +0 -1
- package/dist/collection/components/icon/Retweet.js.map +0 -1
- package/dist/collection/components/icon/RotateLeft.js.map +0 -1
- package/dist/collection/components/icon/RotateRight.js.map +0 -1
- package/dist/collection/components/icon/Search.js.map +0 -1
- package/dist/collection/components/icon/Share.js.map +0 -1
- package/dist/collection/components/icon/SlimHamburgerMenu.js.map +0 -1
- package/dist/collection/components/icon/SocialMedia.js.map +0 -1
- package/dist/collection/components/icon/SomeFacebook.js.map +0 -1
- package/dist/collection/components/icon/SomeInstagram.js.map +0 -1
- package/dist/collection/components/icon/SomeLinkedin.js.map +0 -1
- package/dist/collection/components/icon/SomeTwitter.js.map +0 -1
- package/dist/collection/components/icon/SomeYoutube.js.map +0 -1
- package/dist/collection/components/icon/Spinner.js.map +0 -1
- package/dist/collection/components/icon/Square.js.map +0 -1
- package/dist/collection/components/icon/SquareChecked.js.map +0 -1
- package/dist/collection/components/icon/Time.js.map +0 -1
- package/dist/collection/components/icon/TodoList.js.map +0 -1
- package/dist/collection/components/icon/Tour.js.map +0 -1
- package/dist/collection/components/icon/Twitter.js.map +0 -1
- package/dist/collection/components/icon/TwitterLike.js.map +0 -1
- package/dist/collection/components/icon/UnitsAndFaculties.js.map +0 -1
- package/dist/collection/components/icon/Url.js.map +0 -1
- package/dist/collection/components/icon/Video.js.map +0 -1
- package/dist/collection/components/icon/Warning.js.map +0 -1
- package/dist/collection/components/icon/Wrench.js.map +0 -1
- package/dist/collection/components/icon/Youtube.js.map +0 -1
- package/dist/collection/components/icon/allIcons.js.map +0 -1
- package/dist/collection/components/icon/icon.js.map +0 -1
- package/dist/collection/components/icon/icons.js.map +0 -1
- package/dist/collection/components/image/image.js.map +0 -1
- package/dist/collection/components/ingress/ingress.js.map +0 -1
- package/dist/collection/components/link/link.js.map +0 -1
- package/dist/collection/components/link-box/link-box.js.map +0 -1
- package/dist/collection/components/link-box-list/link-box-list.js.map +0 -1
- package/dist/collection/components/navigation/hy-menu-main-group/hy-menu-main-group.js.map +0 -1
- package/dist/collection/components/navigation/menu-language/menu-language.js.map +0 -1
- package/dist/collection/components/navigation/menu-language-item/menu-language-item.js.map +0 -1
- package/dist/collection/components/pagination/hy-pager/hy-pager.js.map +0 -1
- package/dist/collection/components/pagination/hy-pager-item/hy-pager-item.js.map +0 -1
- package/dist/collection/components/paragraph-text/paragraph-text.js.map +0 -1
- package/dist/collection/components/person-profile/person-profile-listing/person-profile.listing.js.map +0 -1
- package/dist/collection/components/person-profile/person-profile.js.map +0 -1
- package/dist/collection/components/process/process.js.map +0 -1
- package/dist/collection/components/process-flow-box/process-flow-box.js.map +0 -1
- package/dist/collection/components/row/row.js.map +0 -1
- package/dist/collection/components/section-container/section-container.js.map +0 -1
- package/dist/collection/components/site-header/site-header.js.map +0 -1
- package/dist/collection/components/site-header/site-logo/site-logo.js.map +0 -1
- package/dist/collection/components/site-header/site-search/site-search.js.map +0 -1
- package/dist/collection/components/tiny-text/tiny-text.js.map +0 -1
- package/dist/collection/global/colors.js.map +0 -1
- package/dist/collection/global/globalScript.js.map +0 -1
- package/dist/collection/global/typography.js.map +0 -1
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/utils/utils.js.map +0 -1
- package/dist/esm/color-box_8.entry.js +0 -176
- package/dist/esm/color-box_8.entry.js.map +0 -1
- package/dist/esm/globalScript-4ad40215.js.map +0 -1
- package/dist/esm/huds-lib.js.map +0 -1
- package/dist/esm/hy-accordion-container_83.entry.js.map +0 -1
- package/dist/esm/hy-event-item.entry.js.map +0 -1
- package/dist/esm/hy-events.entry.js.map +0 -1
- package/dist/esm/index-3a66d87e.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/loader.js.map +0 -1
- package/dist/esm/utils-43c56d92.js.map +0 -1
- package/dist/huds-lib/huds-lib.esm.js.map +0 -1
- package/dist/huds-lib/index.esm.js.map +0 -1
- package/dist/huds-lib/p-1aeae669.entry.js +0 -2
- package/dist/huds-lib/p-1aeae669.entry.js.map +0 -1
- package/dist/huds-lib/p-30e3190a.entry.js +0 -88
- package/dist/huds-lib/p-30e3190a.entry.js.map +0 -1
- package/dist/huds-lib/p-63584350.js +0 -2
- package/dist/huds-lib/p-63584350.js.map +0 -1
- package/dist/huds-lib/p-7b75f0ea.entry.js +0 -2
- package/dist/huds-lib/p-7b75f0ea.entry.js.map +0 -1
- package/dist/huds-lib/p-b02e49ad.js +0 -2
- package/dist/huds-lib/p-b02e49ad.js.map +0 -1
- package/dist/huds-lib/p-c8ed784d.entry.js +0 -2
- package/dist/huds-lib/p-c8ed784d.entry.js.map +0 -1
- package/dist/huds-lib/p-ff975a68.js +0 -3
- package/dist/huds-lib/p-ff975a68.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h } from
|
|
2
|
-
import { CtaLinkVariants } from
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { CtaLinkVariants } from "../../utils/utils";
|
|
3
3
|
let scrollTimeout = null;
|
|
4
4
|
let checkTimeout = null;
|
|
5
5
|
let itemWidth = 280 + 24;
|
|
@@ -9,48 +9,48 @@ export class HyEvents {
|
|
|
9
9
|
this.showMore = false;
|
|
10
10
|
this.viewAllUrl = undefined;
|
|
11
11
|
this.viewAllLabel = undefined;
|
|
12
|
-
this.scrollLeftLabel =
|
|
13
|
-
this.scrollRightLabel =
|
|
12
|
+
this.scrollLeftLabel = "Scroll list to left";
|
|
13
|
+
this.scrollRightLabel = "Scroll list to right";
|
|
14
14
|
this.scrollable = true;
|
|
15
15
|
}
|
|
16
16
|
componentDidLoad() {
|
|
17
17
|
const itemList = this.el;
|
|
18
|
-
const content = document.querySelector(
|
|
19
|
-
const scrollLeft = itemList.querySelector(
|
|
20
|
-
const scrollRight = itemList.querySelector(
|
|
18
|
+
const content = document.querySelector(".hy-events");
|
|
19
|
+
const scrollLeft = itemList.querySelector(".hy-events__scroll-left");
|
|
20
|
+
const scrollRight = itemList.querySelector(".hy-events__scroll-right");
|
|
21
21
|
//this.checkScrollHidden(content, scrollLeft, scrollRight);
|
|
22
22
|
if (this.styleGrid) {
|
|
23
|
-
content.addEventListener(
|
|
23
|
+
content.addEventListener("scroll", () => {
|
|
24
24
|
scrollTimeout = setTimeout(() => {
|
|
25
25
|
window.clearTimeout(scrollTimeout);
|
|
26
26
|
}, 250);
|
|
27
27
|
}, false);
|
|
28
|
-
scrollLeft.addEventListener(
|
|
28
|
+
scrollLeft.addEventListener("click", (e) => {
|
|
29
29
|
e.preventDefault();
|
|
30
|
-
scrollLeft.classList.add(
|
|
30
|
+
scrollLeft.classList.add("is-disabled");
|
|
31
31
|
content.scrollBy({
|
|
32
32
|
top: 0,
|
|
33
33
|
left: -itemWidth,
|
|
34
|
-
behavior:
|
|
34
|
+
behavior: "smooth",
|
|
35
35
|
});
|
|
36
36
|
checkTimeout = window.setTimeout(() => {
|
|
37
37
|
window.clearTimeout(checkTimeout);
|
|
38
38
|
//this.checkScrollHidden(content, scrollLeft, scrollRight);
|
|
39
|
-
scrollLeft.classList.remove(
|
|
39
|
+
scrollLeft.classList.remove("is-disabled");
|
|
40
40
|
}, 250);
|
|
41
41
|
});
|
|
42
|
-
scrollRight.addEventListener(
|
|
42
|
+
scrollRight.addEventListener("click", (e) => {
|
|
43
43
|
e.preventDefault();
|
|
44
|
-
scrollRight.classList.add(
|
|
44
|
+
scrollRight.classList.add("is-disabled");
|
|
45
45
|
content.scrollBy({
|
|
46
46
|
top: 0,
|
|
47
47
|
left: +itemWidth,
|
|
48
|
-
behavior:
|
|
48
|
+
behavior: "smooth",
|
|
49
49
|
});
|
|
50
50
|
checkTimeout = window.setTimeout(() => {
|
|
51
51
|
window.clearTimeout(checkTimeout);
|
|
52
52
|
//this.checkScrollHidden(content, scrollLeft, scrollRight);
|
|
53
|
-
scrollRight.classList.remove(
|
|
53
|
+
scrollRight.classList.remove("is-disabled");
|
|
54
54
|
}, 250);
|
|
55
55
|
});
|
|
56
56
|
}
|
|
@@ -61,23 +61,23 @@ export class HyEvents {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
checkScrollHidden(list, leftButton, rightButton) {
|
|
64
|
-
const itemList = list.querySelector(
|
|
64
|
+
const itemList = list.querySelector(".hy-events__content");
|
|
65
65
|
if (list.scrollLeft === 0) {
|
|
66
|
-
leftButton.classList.add(
|
|
66
|
+
leftButton.classList.add("is-hidden");
|
|
67
67
|
}
|
|
68
68
|
else {
|
|
69
|
-
leftButton.classList.remove(
|
|
69
|
+
leftButton.classList.remove("is-hidden");
|
|
70
70
|
}
|
|
71
71
|
if (list.scrollLeft + list.clientWidth >= itemList.scrollWidth - 1) {
|
|
72
|
-
rightButton.classList.add(
|
|
72
|
+
rightButton.classList.add("is-hidden");
|
|
73
73
|
}
|
|
74
74
|
else {
|
|
75
|
-
rightButton.classList.remove(
|
|
75
|
+
rightButton.classList.remove("is-hidden");
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
render() {
|
|
79
|
-
const classAttributes = [
|
|
80
|
-
const footerClasses = [
|
|
79
|
+
const classAttributes = ["hy-events", this.styleGrid ? "hy-events--grid" : ""].join(" ");
|
|
80
|
+
const footerClasses = ["hy-events__footer", this.styleGrid ? "hy-events__footer--grid" : ""].join(" ");
|
|
81
81
|
return (h("div", { class: "hy-events--wrapper" }, h("div", { class: classAttributes }, h("slot", null)), h("div", { class: footerClasses }, this.scrollable && this.styleGrid && (h("div", { class: "hy-events__scroll-buttons" }, h("button", { type: "button", class: "hy-events__scroll-left", "aria-label": this.scrollLeftLabel }, h("hy-icon", { icon: "hy-icon-caret-left", size: 16 })), h("button", { type: "button", class: "hy-events__scroll-right", "aria-label": this.scrollRightLabel }, h("hy-icon", { icon: "hy-icon-caret-right", size: 16 })))), this.showMore && this.viewAllLabel && this.viewAllUrl && (h("hy-cta-link", { "link-content": this.viewAllLabel, "sc-label": this.viewAllLabel, url: this.viewAllUrl, variant: CtaLinkVariants.linkList })))));
|
|
82
82
|
}
|
|
83
83
|
static get is() { return "hy-events"; }
|
|
@@ -179,7 +179,7 @@ export class HyEvents {
|
|
|
179
179
|
},
|
|
180
180
|
"attribute": "scroll-left-label",
|
|
181
181
|
"reflect": false,
|
|
182
|
-
"defaultValue": "
|
|
182
|
+
"defaultValue": "\"Scroll list to left\""
|
|
183
183
|
},
|
|
184
184
|
"scrollRightLabel": {
|
|
185
185
|
"type": "string",
|
|
@@ -197,7 +197,7 @@ export class HyEvents {
|
|
|
197
197
|
},
|
|
198
198
|
"attribute": "scroll-right-label",
|
|
199
199
|
"reflect": false,
|
|
200
|
-
"defaultValue": "
|
|
200
|
+
"defaultValue": "\"Scroll list to right\""
|
|
201
201
|
}
|
|
202
202
|
};
|
|
203
203
|
}
|
|
@@ -214,4 +214,3 @@ export class HyEvents {
|
|
|
214
214
|
}];
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
|
-
//# sourceMappingURL=hy-events.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { h } from
|
|
2
|
-
import { ColorVariant } from
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { ColorVariant } from "../../utils/utils";
|
|
3
3
|
export class HyFilterGroupItem {
|
|
4
4
|
constructor() {
|
|
5
5
|
this.filterGroupItemId = undefined;
|
|
6
6
|
this.filterGroupItemLabel = undefined;
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h("li", { class: "hy-filter-group__filter" }, h("button", { type: "button", class: "hy-filter-group__button", "aria-label": `Deselect ${this.filterGroupItemLabel}` }, this.filterGroupItemLabel, h("hy-icon", { class: "hy-filter-group__button-icon", icon:
|
|
9
|
+
return (h("li", { class: "hy-filter-group__filter" }, h("button", { type: "button", class: "hy-filter-group__button", "aria-label": `Deselect ${this.filterGroupItemLabel}` }, this.filterGroupItemLabel, h("hy-icon", { class: "hy-filter-group__button-icon", icon: "hy-icon-remove", size: 10, "aria-hidden": "true", fill: ColorVariant.grey_dark })), h("slot", null)));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "hy-filter-group-item"; }
|
|
12
12
|
static get properties() {
|
|
@@ -48,4 +48,3 @@ export class HyFilterGroupItem {
|
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
//# sourceMappingURL=hy-filter-group.item.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Host, h } from
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
2
|
export class HyFilterGroup {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.filterGroupLabel = undefined;
|
|
5
5
|
this.filterGroupFilters = undefined;
|
|
6
6
|
}
|
|
7
7
|
arrayDataWatcher(newValue) {
|
|
8
|
-
if (typeof newValue ===
|
|
8
|
+
if (typeof newValue === "string") {
|
|
9
9
|
this._filterGroupFilters = JSON.parse(newValue);
|
|
10
10
|
}
|
|
11
11
|
else {
|
|
@@ -61,7 +61,7 @@ export class HyFilterGroup {
|
|
|
61
61
|
"references": {
|
|
62
62
|
"IFilterGroupFilter": {
|
|
63
63
|
"location": "local",
|
|
64
|
-
"path": "/
|
|
64
|
+
"path": "/Users/tuukkaturu/hy/hy-ds/design-system-lib/core/src/components/hy-filter-group/hy-filter-group.tsx"
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
},
|
|
@@ -83,4 +83,3 @@ export class HyFilterGroup {
|
|
|
83
83
|
}];
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
-
//# sourceMappingURL=hy-filter-group.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h } from
|
|
2
|
-
import { ListStyleVariants } from
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { ListStyleVariants } from "../../utils/utils";
|
|
3
3
|
export class HyFilterListType {
|
|
4
4
|
constructor() {
|
|
5
5
|
this.filterLabel = undefined;
|
|
@@ -7,14 +7,14 @@ export class HyFilterListType {
|
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
9
|
return (h("div", { class: "hy-filter__list-type" }, h("span", null, this.filterLabel), h("button", { type: "button", class: {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}, "aria-label": `${this.filterLabel}--list` }, h("hy-icon", { class: "hy-filter-group__button-icon", icon:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}, "aria-label": `${this.filterLabel}--grid` }, h("hy-icon", { class: "hy-filter-group__button-icon", icon:
|
|
10
|
+
"hy-filter-item": true,
|
|
11
|
+
"hy-filter__list-type__list": true,
|
|
12
|
+
"is-active": this.filterValue == ListStyleVariants.list,
|
|
13
|
+
}, "aria-label": `${this.filterLabel}--list` }, h("hy-icon", { class: "hy-filter-group__button-icon", icon: "hy-icon-list-style-list", size: 16, "aria-hidden": "true" })), h("button", { type: "button", class: {
|
|
14
|
+
"hy-filter-item": true,
|
|
15
|
+
"hy-filter__list-type__grid": true,
|
|
16
|
+
"is-active": this.filterValue == ListStyleVariants.grid,
|
|
17
|
+
}, "aria-label": `${this.filterLabel}--grid` }, h("hy-icon", { class: "hy-filter-group__button-icon", icon: "hy-icon-list-style-grid", size: 16, "aria-hidden": "true" }))));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "hy-filter-list-type"; }
|
|
20
20
|
static get originalStyleUrls() {
|
|
@@ -66,4 +66,3 @@ export class HyFilterListType {
|
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
//# sourceMappingURL=hy-filter-list-type.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Host, h } from
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
2
|
export class HyFilterVisibilityTool {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.filterVisibilityToolType = undefined;
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
7
|
switch (this.filterVisibilityToolType) {
|
|
8
|
-
case
|
|
8
|
+
case "toggle":
|
|
9
9
|
return (h(Host, null, h("hy-filter-visibility-tool-toggle", null)));
|
|
10
|
-
case
|
|
10
|
+
case "reset":
|
|
11
11
|
return (h(Host, null, h("hy-filter-visibility-tool-reset", null)));
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -28,7 +28,7 @@ export class HyFilterVisibilityTool {
|
|
|
28
28
|
"type": "string",
|
|
29
29
|
"mutable": false,
|
|
30
30
|
"complexType": {
|
|
31
|
-
"original": "
|
|
31
|
+
"original": "\"toggle\" | \"reset\"",
|
|
32
32
|
"resolved": "\"reset\" | \"toggle\"",
|
|
33
33
|
"references": {}
|
|
34
34
|
},
|
|
@@ -44,4 +44,3 @@ export class HyFilterVisibilityTool {
|
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
//# sourceMappingURL=hy-filter-visibility-tool.js.map
|
package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { h } from
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
export class HyFilterVisibilityToolReset {
|
|
3
3
|
render() {
|
|
4
|
-
return (h("button", { class: "hy-filter-visibility-tool hy-filter-visibility-tool--reset", type: "button" }, h("hy-icon", { class: "hy-filter-visibility-tool__icon", icon:
|
|
4
|
+
return (h("button", { class: "hy-filter-visibility-tool hy-filter-visibility-tool--reset", type: "button" }, h("hy-icon", { class: "hy-filter-visibility-tool__icon", icon: "hy-icon-remove", size: 14, "aria-hidden": "true" }), "Reset filters"));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "hy-filter-visibility-tool-reset"; }
|
|
7
7
|
}
|
|
8
|
-
//# sourceMappingURL=hy-filter-visibility-tool.reset.js.map
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { h, Host } from
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class HyFilterVisibilityToolToggle {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, null, h("button", { class: "hy-filter-visibility-tool hy-filter-visibility-tool--show-more", type: "button" }, h("hy-icon", { class: "hy-filter-visibility-tool__icon", icon:
|
|
4
|
+
return (h(Host, null, h("button", { class: "hy-filter-visibility-tool hy-filter-visibility-tool--show-more", type: "button" }, h("hy-icon", { class: "hy-filter-visibility-tool__icon", icon: "hy-icon-plus", size: 12, "aria-hidden": "true" }), "Show more filters"), h("button", { class: "hy-filter-visibility-tool hy-filter-visibility-tool--show-less", type: "button" }, h("hy-icon", { class: "hy-filter-visibility-tool__icon", icon: "hy-icon-minus", size: 12, "aria-hidden": "true" }), "Show less filters")));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "hy-filter-visibility-tool-toggle"; }
|
|
7
7
|
}
|
|
8
|
-
//# sourceMappingURL=hy-filter-visibility-tool.reset.toggle.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { h, Host } from
|
|
2
|
-
import { GeneralListTypes } from
|
|
3
|
-
import { jsonParserWorker } from
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
|
+
import { GeneralListTypes } from "../../utils/utils";
|
|
3
|
+
import { jsonParserWorker } from "../../global/globalScript";
|
|
4
4
|
export class HyGeneralList {
|
|
5
5
|
constructor() {
|
|
6
6
|
this.type = GeneralListTypes.list;
|
|
@@ -12,9 +12,9 @@ export class HyGeneralList {
|
|
|
12
12
|
}
|
|
13
13
|
async componentWillLoad() {
|
|
14
14
|
this._dataItems = await jsonParserWorker(this.dataItems);
|
|
15
|
-
const hyMainDiv = this.el.closest(
|
|
15
|
+
const hyMainDiv = this.el.closest(".hy-main");
|
|
16
16
|
if (hyMainDiv) {
|
|
17
|
-
if (hyMainDiv.classList.contains(
|
|
17
|
+
if (hyMainDiv.classList.contains("with-sidebar")) {
|
|
18
18
|
this.hasSidebar = true;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -26,16 +26,16 @@ export class HyGeneralList {
|
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
28
|
const classAttributes = [
|
|
29
|
-
|
|
30
|
-
this.hasSidebar ?
|
|
29
|
+
"hy-general-list",
|
|
30
|
+
this.hasSidebar ? "hy-general-list--with-sidebar" : "",
|
|
31
31
|
`hy-general-list--style-${this.type}`,
|
|
32
|
-
].join(
|
|
32
|
+
].join(" ");
|
|
33
33
|
let listData = this._dataItems;
|
|
34
|
-
if (typeof this._dataItems ===
|
|
34
|
+
if (typeof this._dataItems === "object") {
|
|
35
35
|
listData = Object.values(this._dataItems);
|
|
36
36
|
}
|
|
37
37
|
function truncate(str, n) {
|
|
38
|
-
return str.length > n ? str.substr(0, n - 1) +
|
|
38
|
+
return str.length > n ? str.substr(0, n - 1) + "..." : str;
|
|
39
39
|
}
|
|
40
40
|
return (h(Host, null, h("ul", { class: classAttributes }, listData &&
|
|
41
41
|
listData.map((item) => (h("li", null, h("hy-general-list-item", { "has-sidebar": this.hasSidebar, target: this.blank, "data-location": item.url, description: this.truncateDescription ? truncate(item.description, this.truncateLimit) : item.description, id: item.id, imageAlt: item.imageAlt, imageUrl: item.imageUrl, "item-title": item.title, label: item.label, "sub-label": item.subLabel, tag: item.tag, date: item.date, type: item.type, url: item.url, "list-style": this.type }))))), h("hy-box", { mb: "1.75, 1.75, 2, 2.5" })));
|
|
@@ -103,7 +103,7 @@ export class HyGeneralList {
|
|
|
103
103
|
"references": {
|
|
104
104
|
"ListItemValue": {
|
|
105
105
|
"location": "local",
|
|
106
|
-
"path": "/
|
|
106
|
+
"path": "/Users/tuukkaturu/hy/hy-ds/design-system-lib/core/src/components/hy-general-list/hy-general-list.tsx"
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
},
|
|
@@ -167,4 +167,3 @@ export class HyGeneralList {
|
|
|
167
167
|
}];
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
|
-
//# sourceMappingURL=hy-general-list.js.map
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { h } from
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
export class HyGeneralListItem {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.hasSidebar = true;
|
|
5
5
|
this.description = undefined;
|
|
6
|
-
this.imageAlt =
|
|
6
|
+
this.imageAlt = "";
|
|
7
7
|
this.imageUrl = null;
|
|
8
8
|
this.disableLazy = false;
|
|
9
9
|
this.itemTitle = undefined;
|
|
10
10
|
this.label = undefined;
|
|
11
|
-
this.subLabel =
|
|
12
|
-
this.date =
|
|
13
|
-
this.tag =
|
|
11
|
+
this.subLabel = "";
|
|
12
|
+
this.date = "";
|
|
13
|
+
this.tag = "";
|
|
14
14
|
this.type = undefined;
|
|
15
15
|
this.url = undefined;
|
|
16
16
|
this.listStyle = undefined;
|
|
17
17
|
this.target = true;
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
const classAttributes = [
|
|
21
|
-
const contentClassAttributes = [
|
|
22
|
-
const imageClassAttributes = [
|
|
23
|
-
const sidebarClass = this.hasSidebar ?
|
|
24
|
-
const titleClassAttributes = [
|
|
20
|
+
const classAttributes = ["hy-general-list-item", `hy-general-list-item--style-${this.listStyle}`].join(" ");
|
|
21
|
+
const contentClassAttributes = ["hy-general-list-item__text-container"].join(" ");
|
|
22
|
+
const imageClassAttributes = ["hy-general-list-item__image-container"].join(" ");
|
|
23
|
+
const sidebarClass = this.hasSidebar ? "common" : "large";
|
|
24
|
+
const titleClassAttributes = ["hy-general-list-item__title", `hy-general-list-item__title__${sidebarClass}`].join(" ");
|
|
25
25
|
const descriptionClassAttributes = [
|
|
26
|
-
|
|
26
|
+
"hy-general-list-item__description",
|
|
27
27
|
`hy-general-list-item__description__${sidebarClass}`,
|
|
28
|
-
].join(
|
|
28
|
+
].join(" ");
|
|
29
29
|
const aspectRatioWidth = 16;
|
|
30
30
|
const aspectRatioHeight = 10;
|
|
31
31
|
const aspect = (aspectRatioHeight / aspectRatioWidth) * 100;
|
|
32
32
|
const aspectRatio = {
|
|
33
|
-
|
|
33
|
+
"--aspectRatio": `${aspect}%`,
|
|
34
34
|
};
|
|
35
|
-
return (h("article", { class: classAttributes }, h("a", { class: "hy-general-list-item__link", href: this.url, target: this.target ?
|
|
35
|
+
return (h("article", { class: classAttributes }, h("a", { class: "hy-general-list-item__link", href: this.url, target: this.target ? "_blank" : "_self" }, this.type && (h("div", { class: "hy-general-list-item__type" }, h("span", { class: "hy-general-list-item__type__major" }, this.label), h("span", { class: "hy-general-list-item__type__sub" }, this.subLabel))), this.imageUrl && (h("figure", { class: imageClassAttributes, style: aspectRatio }, h("img", { loading: this.disableLazy ? "eager" : "lazy", alt: this.imageAlt, class: "hy-general-list-item__image", src: this.imageUrl }))), h("div", { class: contentClassAttributes }, (this.tag || this.date) && (h("span", { class: "hy-genenral-list-item__meta" }, this.tag, h("span", { class: "hy-genenral-list-item__meta__date" }, this.tag && "|", " ", this.date))), h("h3", { class: titleClassAttributes }, this.itemTitle), h("p", { class: descriptionClassAttributes }, this.description)))));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "hy-general-list-item"; }
|
|
38
38
|
static get originalStyleUrls() {
|
|
@@ -98,7 +98,7 @@ export class HyGeneralListItem {
|
|
|
98
98
|
},
|
|
99
99
|
"attribute": "image-alt",
|
|
100
100
|
"reflect": false,
|
|
101
|
-
"defaultValue": "
|
|
101
|
+
"defaultValue": "\"\""
|
|
102
102
|
},
|
|
103
103
|
"imageUrl": {
|
|
104
104
|
"type": "string",
|
|
@@ -186,7 +186,7 @@ export class HyGeneralListItem {
|
|
|
186
186
|
},
|
|
187
187
|
"attribute": "sub-label",
|
|
188
188
|
"reflect": false,
|
|
189
|
-
"defaultValue": "
|
|
189
|
+
"defaultValue": "\"\""
|
|
190
190
|
},
|
|
191
191
|
"date": {
|
|
192
192
|
"type": "string",
|
|
@@ -204,7 +204,7 @@ export class HyGeneralListItem {
|
|
|
204
204
|
},
|
|
205
205
|
"attribute": "date",
|
|
206
206
|
"reflect": false,
|
|
207
|
-
"defaultValue": "
|
|
207
|
+
"defaultValue": "\"\""
|
|
208
208
|
},
|
|
209
209
|
"tag": {
|
|
210
210
|
"type": "string",
|
|
@@ -222,7 +222,7 @@ export class HyGeneralListItem {
|
|
|
222
222
|
},
|
|
223
223
|
"attribute": "tag",
|
|
224
224
|
"reflect": false,
|
|
225
|
-
"defaultValue": "
|
|
225
|
+
"defaultValue": "\"\""
|
|
226
226
|
},
|
|
227
227
|
"type": {
|
|
228
228
|
"type": "string",
|
|
@@ -297,4 +297,3 @@ export class HyGeneralListItem {
|
|
|
297
297
|
}
|
|
298
298
|
static get elementRef() { return "el"; }
|
|
299
299
|
}
|
|
300
|
-
//# sourceMappingURL=hy-general-list-item.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
let timeout = null;
|
|
2
2
|
let delay = 250;
|
|
3
|
-
import { h, Host } from
|
|
4
|
-
import { jsonParserWorker } from
|
|
5
|
-
import { CtaLinkButtonVariants, HeroColorVariant, HeroSizeVariant, HeroGroupTypeVariant, HeroTypeVariant, } from
|
|
3
|
+
import { h, Host } from "@stencil/core";
|
|
4
|
+
import { jsonParserWorker } from "../../global/globalScript";
|
|
5
|
+
import { CtaLinkButtonVariants, HeroColorVariant, HeroSizeVariant, HeroGroupTypeVariant, HeroTypeVariant, } from "../../utils/utils";
|
|
6
6
|
export class HyHero {
|
|
7
7
|
constructor() {
|
|
8
8
|
this.heroType = HeroTypeVariant.landing;
|
|
@@ -10,7 +10,7 @@ export class HyHero {
|
|
|
10
10
|
this.colorVariant = HeroColorVariant.blue;
|
|
11
11
|
this.sizeVariant = HeroSizeVariant.large;
|
|
12
12
|
this.image = undefined;
|
|
13
|
-
this.imageAltText =
|
|
13
|
+
this.imageAltText = "";
|
|
14
14
|
this.disableLazy = false;
|
|
15
15
|
this.hasShortcuts = false;
|
|
16
16
|
this.heading = undefined;
|
|
@@ -25,21 +25,21 @@ export class HyHero {
|
|
|
25
25
|
this._sourceSet = await jsonParserWorker(this.sourceSet);
|
|
26
26
|
}
|
|
27
27
|
handleHeroImageObjectFitValue(heroSizeVariant, heroElement) {
|
|
28
|
-
const heroContentContainerElement = heroElement.getElementsByClassName(
|
|
29
|
-
if (heroSizeVariant ===
|
|
28
|
+
const heroContentContainerElement = heroElement.getElementsByClassName("hy-hero__content-container")[0];
|
|
29
|
+
if (heroSizeVariant === "small") {
|
|
30
30
|
if (heroContentContainerElement.offsetHeight >= 300) {
|
|
31
|
-
heroElement.classList.add(
|
|
31
|
+
heroElement.classList.add("has-cover");
|
|
32
32
|
}
|
|
33
33
|
else {
|
|
34
|
-
heroElement.classList.remove(
|
|
34
|
+
heroElement.classList.remove("has-cover");
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
if (heroSizeVariant ===
|
|
37
|
+
if (heroSizeVariant === "large") {
|
|
38
38
|
if (heroContentContainerElement.offsetHeight >= 344) {
|
|
39
|
-
heroElement.classList.add(
|
|
39
|
+
heroElement.classList.add("has-cover");
|
|
40
40
|
}
|
|
41
41
|
else {
|
|
42
|
-
heroElement.classList.remove(
|
|
42
|
+
heroElement.classList.remove("has-cover");
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
}
|
|
@@ -47,7 +47,7 @@ export class HyHero {
|
|
|
47
47
|
let variant = CtaLinkButtonVariants.heroWhite;
|
|
48
48
|
let colorVariantValue = this.colorVariant;
|
|
49
49
|
let heroTypeValue = this.heroType;
|
|
50
|
-
if (this.heroType ===
|
|
50
|
+
if (this.heroType === "minor_landing") {
|
|
51
51
|
colorVariantValue = HeroColorVariant.white;
|
|
52
52
|
heroTypeValue = HeroTypeVariant.landing;
|
|
53
53
|
}
|
|
@@ -57,41 +57,41 @@ export class HyHero {
|
|
|
57
57
|
if (colorVariantValue === HeroColorVariant.black) {
|
|
58
58
|
variant = CtaLinkButtonVariants.heroBlack;
|
|
59
59
|
}
|
|
60
|
-
if (!colorVariantValue || colorVariantValue ===
|
|
60
|
+
if (!colorVariantValue || colorVariantValue === "fp_white") {
|
|
61
61
|
colorVariantValue = HeroColorVariant.white;
|
|
62
62
|
}
|
|
63
63
|
const hyHeroClasses = [
|
|
64
|
-
|
|
64
|
+
"hy-hero",
|
|
65
65
|
`hy-hero--${heroTypeValue}`,
|
|
66
66
|
`hy-hero--${this.heroGroupType}`,
|
|
67
67
|
`hy-hero--${colorVariantValue}`,
|
|
68
68
|
`hy-hero--${this.sizeVariant}`,
|
|
69
69
|
];
|
|
70
|
-
const heroTitleClasses = [
|
|
70
|
+
const heroTitleClasses = ["hy-hero__title", "hy-heading__hero"].join(" ");
|
|
71
71
|
// If there is a Shortcuts block after hero, add the class 'shortcuts' to remove underline.
|
|
72
72
|
if (this.hasShortcuts) {
|
|
73
|
-
hyHeroClasses.push(
|
|
73
|
+
hyHeroClasses.push("has-shortcuts");
|
|
74
74
|
}
|
|
75
75
|
const aspectRatioWidth = 16;
|
|
76
76
|
const aspectRatioHeight = 10;
|
|
77
77
|
const aspect = (aspectRatioHeight / aspectRatioWidth) * 100;
|
|
78
78
|
const aspectRatio = {
|
|
79
|
-
|
|
79
|
+
"--aspectRatio": `${aspect}%`,
|
|
80
80
|
};
|
|
81
81
|
window.onload = () => {
|
|
82
|
-
const heroElement = document.getElementsByClassName(
|
|
82
|
+
const heroElement = document.getElementsByClassName("hy-hero")[0];
|
|
83
83
|
this.handleHeroImageObjectFitValue(this.sizeVariant, heroElement);
|
|
84
|
-
window.addEventListener(
|
|
84
|
+
window.addEventListener("resize", () => {
|
|
85
85
|
clearTimeout(timeout);
|
|
86
86
|
timeout = setTimeout(() => this.handleHeroImageObjectFitValue(this.sizeVariant, heroElement), delay);
|
|
87
87
|
});
|
|
88
88
|
};
|
|
89
|
-
if (heroTypeValue ===
|
|
90
|
-
return (h(Host, null, h("div", { class: hyHeroClasses.join(
|
|
91
|
-
(this._sourceSet ? (h("picture", null, this._sourceSet.map((item) => (h("source", { srcSet: item.src, media: item.media, type: item.type, sizes: item.sizes ? item.sizes :
|
|
89
|
+
if (heroTypeValue === "front_page") {
|
|
90
|
+
return (h(Host, null, h("div", { class: hyHeroClasses.join(" ") }, h("div", { class: `hy-hero__container` }, h("div", { class: `hy-hero__image-container`, style: aspectRatio }, this.image &&
|
|
91
|
+
(this._sourceSet ? (h("picture", null, this._sourceSet.map((item) => (h("source", { srcSet: item.src, media: item.media, type: item.type, sizes: item.sizes ? item.sizes : "" }))), h("img", { loading: this.disableLazy ? "eager" : "lazy", alt: this.imageAltText, class: `hy-image__image`, src: this.image }))) : (h("img", { loading: this.disableLazy ? "eager" : "lazy", alt: this.imageAltText, class: `hy-image__image`, src: this.image })))), h("div", { class: `hy-hero__spacer-box` }), h("div", { class: `hy-hero__content-container` }, h("div", { class: `hy-hero__content` }, h("div", { class: `hy-hero__title-container` }, h("h2", { innerHTML: this.heading, class: heroTitleClasses })), this.description && h("p", { class: `hy-hero__description` }, this.description), this.url && (h("div", { class: `hy-hero__actions` }, h("hy-cta-button", { "link-content": this.urlTitle, "sc-label": this.scLabel, url: this.url, "is-external": this.isExternal, variant: variant }))))))), h("hy-box", { mb: "2, 2, 1, 1" })));
|
|
92
92
|
}
|
|
93
|
-
return (h(Host, null, h("div", { class: hyHeroClasses.join(
|
|
94
|
-
(this._sourceSet ? (h("picture", null, this._sourceSet.map((item) => (h("source", { srcSet: item.src, media: item.media, type: item.type, sizes: item.sizes ? item.sizes :
|
|
93
|
+
return (h(Host, null, h("div", { class: hyHeroClasses.join(" ") }, h("div", { class: `hy-hero__container` }, h("div", { class: `hy-hero__image-container`, style: aspectRatio }, this.image &&
|
|
94
|
+
(this._sourceSet ? (h("picture", null, this._sourceSet.map((item) => (h("source", { srcSet: item.src, media: item.media, type: item.type, sizes: item.sizes ? item.sizes : "" }))), h("img", { loading: this.disableLazy ? "eager" : "lazy", alt: this.imageAltText, class: `hy-image__image`, src: this.image }))) : (h("img", { loading: this.disableLazy ? "eager" : "lazy", alt: this.imageAltText, class: `hy-image__image`, src: this.image })))), h("div", { class: `hy-hero__content-container` }, h("div", { class: `hy-hero__content` }, h("div", { class: `hy-hero__title-container` }, h("h2", { innerHTML: this.heading, class: heroTitleClasses })), this.description && h("p", { class: `hy-hero__description` }, this.description), this.url && (h("div", { class: `hy-hero__actions` }, h("hy-cta-button", { "link-content": this.urlTitle, "sc-label": this.scLabel, url: this.url, "is-external": this.isExternal, variant: variant }))))))), h("hy-box", { mb: "2, 2, 1, 1" })));
|
|
95
95
|
}
|
|
96
96
|
static get is() { return "hy-hero"; }
|
|
97
97
|
static get originalStyleUrls() {
|
|
@@ -231,7 +231,7 @@ export class HyHero {
|
|
|
231
231
|
},
|
|
232
232
|
"attribute": "image-alt-text",
|
|
233
233
|
"reflect": false,
|
|
234
|
-
"defaultValue": "
|
|
234
|
+
"defaultValue": "\"\""
|
|
235
235
|
},
|
|
236
236
|
"disableLazy": {
|
|
237
237
|
"type": "boolean",
|
|
@@ -381,7 +381,7 @@ export class HyHero {
|
|
|
381
381
|
"references": {
|
|
382
382
|
"ImageSrcSet": {
|
|
383
383
|
"location": "local",
|
|
384
|
-
"path": "/
|
|
384
|
+
"path": "/Users/tuukkaturu/hy/hy-ds/design-system-lib/core/src/components/hy-hero/hy-hero.tsx"
|
|
385
385
|
}
|
|
386
386
|
}
|
|
387
387
|
},
|
|
@@ -398,4 +398,3 @@ export class HyHero {
|
|
|
398
398
|
}
|
|
399
399
|
static get elementRef() { return "el"; }
|
|
400
400
|
}
|
|
401
|
-
//# sourceMappingURL=hy-hero.js.map
|