@itcenteratunihelsinki/huds-lib 0.8.43 → 0.8.45
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/components/globalScript.js +26 -0
- 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 -1
- package/dist/cjs/{hy-accordion-container_83.cjs.entry.js → color-box_91.cjs.entry.js} +1177 -999
- package/dist/cjs/{globalScript-45ad6d41.js → globalScript-d341436f.js} +7 -7
- package/dist/cjs/huds-lib.cjs.js +3 -3
- package/dist/cjs/hy-event-item.cjs.entry.js +10 -10
- package/dist/cjs/hy-events.cjs.entry.js +22 -22
- package/dist/cjs/hy-hero-carousel.cjs.entry.js +25 -25
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +7 -11
- package/dist/collection/components/accordion-container/accordion-container.js +4 -4
- package/dist/collection/components/accordion-item/accordion-item.js +78 -78
- package/dist/collection/components/adjacent-image-text/adjacent-image-text.js +17 -17
- package/dist/collection/components/baseline/baseline.js +2 -2
- package/dist/collection/components/button/button.js +28 -28
- package/dist/collection/components/color-box/color-box.js +1 -1
- package/dist/collection/components/courses/hy-content-list/hy-content-list.js +42 -42
- package/dist/collection/components/courses/hy-content-list-item/hy-content-list-item.js +15 -15
- package/dist/collection/components/cta-button/cta-button.js +12 -12
- package/dist/collection/components/cta-link/cta-link.js +7 -7
- package/dist/collection/components/footer/hy-footer/hy-footer.js +3 -3
- package/dist/collection/components/footer/hy-footer-action/hy-footer-action.js +5 -5
- package/dist/collection/components/footer/hy-footer-base/hy-footer-base.js +6 -6
- package/dist/collection/components/footer/hy-footer-info/hy-footer-info.js +19 -19
- package/dist/collection/components/footer/hy-footer-link-item/hy-footer-link-item.js +22 -22
- package/dist/collection/components/grid-container/grid-container.js +1 -1
- package/dist/collection/components/grid-item/grid-item.js +5 -5
- package/dist/collection/components/grid-row/grid-row.js +3 -3
- package/dist/collection/components/heading/heading.js +17 -17
- package/dist/collection/components/hy-anchor-link-list/hy-anchor-link-list.js +13 -13
- package/dist/collection/components/hy-badge/hy-badge.js +6 -6
- package/dist/collection/components/hy-banner/hy-banner.js +13 -13
- package/dist/collection/components/hy-box/hy-box.js +26 -26
- package/dist/collection/components/hy-box-container/hy-box-container.js +5 -5
- package/dist/collection/components/hy-breadcrumbs/hy-breadcrumbs.js +10 -10
- package/dist/collection/components/hy-checkbox/hy-checkbox.js +5 -5
- package/dist/collection/components/hy-collaboration/hy-collaboration.js +2 -2
- package/dist/collection/components/hy-crisis-banner/hy-crisis-banner.js +2 -2
- package/dist/collection/components/hy-dropdown/hy-dropdown.js +16 -16
- package/dist/collection/components/hy-dropdown/hy-dropdown.panel.item.js +2 -2
- package/dist/collection/components/hy-dropdown/hy-dropdown.panel.js +2 -2
- package/dist/collection/components/hy-event-item/hy-event-item.js +15 -15
- package/dist/collection/components/hy-events/hy-events.js +25 -25
- package/dist/collection/components/hy-filter-group/hy-filter-group.item.js +3 -3
- package/dist/collection/components/hy-filter-group/hy-filter-group.js +3 -3
- package/dist/collection/components/hy-filter-list-type/hy-filter-list-type.js +10 -10
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.js +4 -4
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.js +2 -2
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.toggle.js +2 -2
- package/dist/collection/components/hy-general-list/hy-general-list.js +11 -11
- package/dist/collection/components/hy-general-list-item/hy-general-list-item.js +18 -18
- package/dist/collection/components/hy-hero/hy-hero.js +26 -26
- package/dist/collection/components/hy-hero-carousel/hy-hero-carousel.css +6 -6
- package/dist/collection/components/hy-hero-carousel/hy-hero-carousel.js +32 -32
- package/dist/collection/components/hy-introduction/hy-introduction.js +23 -23
- package/dist/collection/components/hy-key-figure/hy-key-figure.js +3 -3
- package/dist/collection/components/hy-key-figure-group/hy-key-figure-group.js +17 -17
- package/dist/collection/components/hy-key-highlight/hy-key-highlight.js +3 -3
- package/dist/collection/components/hy-key-highlight-group/hy-key-highlight-group.js +12 -12
- package/dist/collection/components/hy-large-process-flow/hy-large-process-flow.js +11 -11
- package/dist/collection/components/hy-large-process-flow-phase/hy-large-process-flow-phase.js +5 -5
- package/dist/collection/components/hy-link-list/hy-link-list.js +16 -16
- package/dist/collection/components/hy-list-item/hy-list-item.js +71 -71
- package/dist/collection/components/hy-logo-grid/hy-logo-grid.item.js +3 -3
- package/dist/collection/components/hy-logo-grid/hy-logo-grid.js +1 -1
- package/dist/collection/components/hy-main/hy-main.js +5 -5
- package/dist/collection/components/hy-main-content-wrapper/hy-main-content-wrapper.js +2 -2
- package/dist/collection/components/hy-opening-hours/hy-opening-hours.js +12 -12
- package/dist/collection/components/hy-opening-hours-content/hy-opening-hours-content.js +10 -10
- package/dist/collection/components/hy-person-card/hy-person-card.js +17 -17
- package/dist/collection/components/hy-prominent-image/hy-prominent-image.js +12 -12
- package/dist/collection/components/hy-quote/hy-quote.js +8 -8
- package/dist/collection/components/hy-search-field/hy-search-field.js +15 -15
- package/dist/collection/components/hy-shortcuts/hy-shortcuts.js +21 -21
- package/dist/collection/components/hy-table-container/hy-table-container.js +2 -2
- package/dist/collection/components/hy-tabs/hy-tabs.js +52 -52
- package/dist/collection/components/hy-tabs-item/hy-tabs-item.js +2 -2
- package/dist/collection/components/hy-tag/hy-tag.js +2 -2
- package/dist/collection/components/hy-twitter-feed/hy-twitter-feed.js +4 -4
- package/dist/collection/components/hy-two-columns/hy-two-columns.js +2 -2
- package/dist/collection/components/hy-user-login-form/hy-user-login-form.js +4 -4
- package/dist/collection/components/hy-video/hy-video.js +26 -26
- package/dist/collection/components/icon/Alert.js +1 -1
- package/dist/collection/components/icon/Archive.js +1 -1
- package/dist/collection/components/icon/ArrowRight.js +1 -1
- package/dist/collection/components/icon/CaretRight.js +1 -1
- package/dist/collection/components/icon/DotArrowRight.js +1 -1
- package/dist/collection/components/icon/Euro.js +1 -1
- package/dist/collection/components/icon/Globe.js +1 -1
- package/dist/collection/components/icon/HeartSupport.js +1 -1
- package/dist/collection/components/icon/Home.js +1 -1
- package/dist/collection/components/icon/Info.js +1 -1
- package/dist/collection/components/icon/ListStyleGrid.js +1 -1
- package/dist/collection/components/icon/ListStyleList.js +1 -1
- package/dist/collection/components/icon/Search.js +1 -1
- package/dist/collection/components/icon/SlimHamburgerMenu.js +1 -1
- package/dist/collection/components/icon/SomeFacebook.js +1 -1
- package/dist/collection/components/icon/SomeInstagram.js +1 -1
- package/dist/collection/components/icon/SomeLinkedin.js +1 -1
- package/dist/collection/components/icon/SomeTwitter.js +1 -1
- package/dist/collection/components/icon/SomeYoutube.js +1 -1
- package/dist/collection/components/icon/TwitterLike.js +1 -1
- package/dist/collection/components/icon/allIcons.js +114 -114
- package/dist/collection/components/icon/icon.js +134 -134
- package/dist/collection/components/icon/icons.js +132 -132
- package/dist/collection/components/image/image.js +10 -10
- package/dist/collection/components/ingress/ingress.js +7 -7
- package/dist/collection/components/link/link.js +7 -7
- package/dist/collection/components/link-box/link-box.js +23 -23
- package/dist/collection/components/link-box-list/link-box-list.js +12 -12
- package/dist/collection/components/navigation/hy-menu-main-group/hy-menu-main-group.js +45 -45
- package/dist/collection/components/navigation/menu-language/menu-language.js +15 -15
- package/dist/collection/components/navigation/menu-language-item/menu-language-item.js +4 -4
- package/dist/collection/components/pagination/hy-pager/hy-pager.js +2 -2
- package/dist/collection/components/pagination/hy-pager-item/hy-pager-item.js +12 -12
- package/dist/collection/components/paragraph-text/paragraph-text.js +10 -10
- package/dist/collection/components/person-profile/person-profile-listing/person-profile.listing.js +9 -9
- package/dist/collection/components/person-profile/person-profile.js +16 -16
- package/dist/collection/components/process/process.js +12 -12
- package/dist/collection/components/process-flow-box/process-flow-box.js +11 -11
- package/dist/collection/components/row/row.js +6 -6
- package/dist/collection/components/section-container/section-container.js +1 -1
- package/dist/collection/components/site-header/site-header.js +69 -69
- package/dist/collection/components/site-header/site-logo/site-logo.js +7 -7
- package/dist/collection/components/site-header/site-search/site-search.js +56 -56
- package/dist/collection/global/colors.js +21 -21
- package/dist/collection/global/globalScript.js +7 -7
- package/dist/collection/index.js +1 -1
- package/dist/esm/{hy-accordion-container_83.entry.js → color-box_91.entry.js} +1171 -1001
- package/dist/esm/{globalScript-4ad40215.js → globalScript-3c6fab71.js} +7 -7
- package/dist/esm/huds-lib.js +4 -4
- package/dist/esm/hy-event-item.entry.js +10 -10
- package/dist/esm/hy-events.entry.js +23 -23
- package/dist/esm/hy-hero-carousel.entry.js +26 -26
- package/dist/esm/loader.js +4 -4
- 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 -1
- 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/{p-63584350.js → utils-a4d55421.js} +1 -1
- 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-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 +10 -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 +10 -3
- package/dist/cjs/color-box_8.cjs.entry.js +0 -185
- package/dist/esm/color-box_8.entry.js +0 -174
- package/dist/huds-lib/p-7c7ea6b3.entry.js +0 -1
- package/dist/huds-lib/p-8d5c2e5b.entry.js +0 -1
- package/dist/huds-lib/p-91f6109f.entry.js +0 -1
- package/dist/huds-lib/p-9a15a75b.entry.js +0 -1
- package/dist/huds-lib/p-b02e49ad.js +0 -1
- package/dist/huds-lib/p-ffd1d29a.entry.js +0 -87
- /package/dist/cjs/{index-25bd964b.js → index-ca4e37f2.js} +0 -0
- /package/dist/esm/{index-3a66d87e.js → index-9920074a.js} +0 -0
- /package/dist/huds-lib/{p-ff975a68.js → index-9920074a.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h } from
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
// For easy reference
|
|
3
3
|
let keys = {
|
|
4
4
|
end: 35,
|
|
@@ -22,76 +22,76 @@ let scrollTimeout;
|
|
|
22
22
|
export class HyTabs {
|
|
23
23
|
constructor() {
|
|
24
24
|
this.tabId = undefined;
|
|
25
|
-
this.tabListLabel =
|
|
25
|
+
this.tabListLabel = "";
|
|
26
26
|
this.focusTimeoutCleared = true;
|
|
27
27
|
this.tabButtonTitles = undefined;
|
|
28
28
|
this.tabPanelsState = undefined;
|
|
29
29
|
this.tabButtons = undefined;
|
|
30
30
|
this.tabList = undefined;
|
|
31
|
-
this.headerstyle =
|
|
31
|
+
this.headerstyle = "common";
|
|
32
32
|
}
|
|
33
33
|
componentWillLoad() {
|
|
34
|
-
const tabItems = this.el.querySelectorAll(
|
|
34
|
+
const tabItems = this.el.querySelectorAll("hy-tabs-item");
|
|
35
35
|
if (tabItems) {
|
|
36
36
|
this.tabButtonTitles = Array.from(tabItems).map((panel) => {
|
|
37
37
|
return {
|
|
38
|
-
title: panel.getAttribute(
|
|
39
|
-
id: panel.getAttribute(
|
|
38
|
+
title: panel.getAttribute("tab-title"),
|
|
39
|
+
id: panel.getAttribute("tab-title").toLowerCase().replace(/\W/g, "-"),
|
|
40
40
|
};
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
componentDidLoad() {
|
|
45
|
-
let hyMainDiv = this.el.closest(
|
|
45
|
+
let hyMainDiv = this.el.closest(".hy-main");
|
|
46
46
|
if (hyMainDiv) {
|
|
47
|
-
if (!hyMainDiv.classList.contains(
|
|
48
|
-
this.headerstyle =
|
|
47
|
+
if (!hyMainDiv.classList.contains("with-sidebar")) {
|
|
48
|
+
this.headerstyle = "large";
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
const tabContainer = this.el.querySelector(
|
|
51
|
+
const tabContainer = this.el.querySelector(".hy-tabs__container");
|
|
52
52
|
if (tabContainer) {
|
|
53
53
|
this.generateArrays(tabContainer);
|
|
54
|
-
const leftButton = this.el.querySelectorAll(
|
|
55
|
-
const rightButton = this.el.querySelectorAll(
|
|
54
|
+
const leftButton = this.el.querySelectorAll(".hy-tab-scroll__left")[0];
|
|
55
|
+
const rightButton = this.el.querySelectorAll(".hy-tab-scroll__right")[0];
|
|
56
56
|
const tabList = this.tabList;
|
|
57
57
|
this.checkScrollHidden(tabList, leftButton, rightButton);
|
|
58
|
-
tabList.addEventListener(
|
|
58
|
+
tabList.addEventListener("scroll", () => {
|
|
59
59
|
scrollTimeout = setTimeout(() => {
|
|
60
60
|
window.clearTimeout(scrollTimeout);
|
|
61
61
|
this.checkScrollHidden(tabList, leftButton, rightButton);
|
|
62
62
|
}, 250);
|
|
63
63
|
}, false);
|
|
64
64
|
if (tabList.offSetWidth <= document.body.scrollWidth) {
|
|
65
|
-
leftButton.classList.add(
|
|
66
|
-
rightButton.classList.add(
|
|
65
|
+
leftButton.classList.add("is-hidden");
|
|
66
|
+
rightButton.classList.add("is-hidden");
|
|
67
67
|
}
|
|
68
68
|
const oneTabWidth = 250;
|
|
69
|
-
rightButton.addEventListener(
|
|
69
|
+
rightButton.addEventListener("click", (e) => {
|
|
70
70
|
e.preventDefault();
|
|
71
|
-
rightButton.classList.add(
|
|
71
|
+
rightButton.classList.add("is-disabled");
|
|
72
72
|
tabList.scrollBy({
|
|
73
73
|
top: 0,
|
|
74
74
|
left: +oneTabWidth,
|
|
75
|
-
behavior:
|
|
75
|
+
behavior: "smooth",
|
|
76
76
|
});
|
|
77
77
|
checkTimeout = window.setTimeout(() => {
|
|
78
78
|
window.clearTimeout(checkTimeout);
|
|
79
79
|
this.checkScrollHidden(tabList, leftButton, rightButton);
|
|
80
|
-
rightButton.classList.remove(
|
|
80
|
+
rightButton.classList.remove("is-disabled");
|
|
81
81
|
}, 250);
|
|
82
82
|
});
|
|
83
|
-
leftButton.addEventListener(
|
|
83
|
+
leftButton.addEventListener("click", (e) => {
|
|
84
84
|
e.preventDefault();
|
|
85
|
-
leftButton.classList.add(
|
|
85
|
+
leftButton.classList.add("is-disabled");
|
|
86
86
|
tabList.scrollBy({
|
|
87
87
|
top: 0,
|
|
88
88
|
left: -oneTabWidth,
|
|
89
|
-
behavior:
|
|
89
|
+
behavior: "smooth",
|
|
90
90
|
});
|
|
91
91
|
checkTimeout = window.setTimeout(() => {
|
|
92
92
|
window.clearTimeout(checkTimeout);
|
|
93
93
|
this.checkScrollHidden(tabList, leftButton, rightButton);
|
|
94
|
-
leftButton.classList.remove(
|
|
94
|
+
leftButton.classList.remove("is-disabled");
|
|
95
95
|
}, 250);
|
|
96
96
|
});
|
|
97
97
|
}
|
|
@@ -108,8 +108,8 @@ export class HyTabs {
|
|
|
108
108
|
addListeners(tabs, index) {
|
|
109
109
|
if (tabs.length > 1) {
|
|
110
110
|
for (let i = 0; i < tabs.length; ++i) {
|
|
111
|
-
tabs[index].addEventListener(
|
|
112
|
-
tabs[index].addEventListener(
|
|
111
|
+
tabs[index].addEventListener("click", this.clickEventListener);
|
|
112
|
+
tabs[index].addEventListener("keydown", this.keydownEventListener);
|
|
113
113
|
//tabs[index].addEventListener('keyup', this.keyupEventListener);
|
|
114
114
|
tabs[index].index = index;
|
|
115
115
|
}
|
|
@@ -117,16 +117,16 @@ export class HyTabs {
|
|
|
117
117
|
}
|
|
118
118
|
checkScrollHidden(tablist, leftButton, rightButton) {
|
|
119
119
|
if (tablist.scrollLeft === 0) {
|
|
120
|
-
leftButton.classList.add(
|
|
120
|
+
leftButton.classList.add("is-hidden");
|
|
121
121
|
}
|
|
122
122
|
else {
|
|
123
|
-
leftButton.classList.remove(
|
|
123
|
+
leftButton.classList.remove("is-hidden");
|
|
124
124
|
}
|
|
125
125
|
if (tablist.scrollLeft + tablist.clientWidth >= tablist.scrollWidth - 1) {
|
|
126
|
-
rightButton.classList.add(
|
|
126
|
+
rightButton.classList.add("is-hidden");
|
|
127
127
|
}
|
|
128
128
|
else {
|
|
129
|
-
rightButton.classList.remove(
|
|
129
|
+
rightButton.classList.remove("is-hidden");
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
// When a tab is clicked, activateTab is fired to activate it
|
|
@@ -175,7 +175,7 @@ export class HyTabs {
|
|
|
175
175
|
switch (key) {
|
|
176
176
|
case keys.left:
|
|
177
177
|
case keys.right:
|
|
178
|
-
if (event.target.role ===
|
|
178
|
+
if (event.target.role === "tab") {
|
|
179
179
|
event.preventDefault();
|
|
180
180
|
if (this.focusTimeoutCleared) {
|
|
181
181
|
this.determineOrientation(event);
|
|
@@ -187,12 +187,12 @@ export class HyTabs {
|
|
|
187
187
|
event.stopImmediatePropagation();
|
|
188
188
|
}
|
|
189
189
|
determineOrientation(event) {
|
|
190
|
-
const leftButton = this.el.querySelectorAll(
|
|
191
|
-
const rightButton = this.el.querySelectorAll(
|
|
190
|
+
const leftButton = this.el.querySelectorAll(".hy-tab-scroll__left")[0];
|
|
191
|
+
const rightButton = this.el.querySelectorAll(".hy-tab-scroll__right")[0];
|
|
192
192
|
const tabList = this.tabList;
|
|
193
193
|
this.checkScrollHidden(tabList, leftButton, rightButton);
|
|
194
194
|
const key = event.keyCode;
|
|
195
|
-
const vertical = tabList.getAttribute(
|
|
195
|
+
const vertical = tabList.getAttribute("aria-orientation") == "vertical";
|
|
196
196
|
let proceed = false;
|
|
197
197
|
if (vertical) {
|
|
198
198
|
if (key === keys.up || key === keys.down) {
|
|
@@ -240,10 +240,10 @@ export class HyTabs {
|
|
|
240
240
|
// Deactivate all other tabs
|
|
241
241
|
this.deactivateTabs(this.tabButtons);
|
|
242
242
|
// Remove tabindex attribute
|
|
243
|
-
tab.removeAttribute(
|
|
244
|
-
tab.setAttribute(
|
|
245
|
-
const controls = tab.getAttribute(
|
|
246
|
-
this.el.querySelector(`#${controls}`).removeAttribute(
|
|
243
|
+
tab.removeAttribute("tabindex");
|
|
244
|
+
tab.setAttribute("aria-selected", "true");
|
|
245
|
+
const controls = tab.getAttribute("aria-controls");
|
|
246
|
+
this.el.querySelector(`#${controls}`).removeAttribute("hidden");
|
|
247
247
|
if (setFocus) {
|
|
248
248
|
tab.focus();
|
|
249
249
|
}
|
|
@@ -251,13 +251,13 @@ export class HyTabs {
|
|
|
251
251
|
// Deactivate all tabs and tab panels
|
|
252
252
|
deactivateTabs(tabs) {
|
|
253
253
|
for (let t = 0; t < tabs.length; t++) {
|
|
254
|
-
tabs[t].setAttribute(
|
|
255
|
-
tabs[t].setAttribute(
|
|
256
|
-
tabs[t].removeEventListener(
|
|
254
|
+
tabs[t].setAttribute("tabindex", "-1");
|
|
255
|
+
tabs[t].setAttribute("aria-selected", "false");
|
|
256
|
+
tabs[t].removeEventListener("focus", this.focusEventHandler);
|
|
257
257
|
}
|
|
258
258
|
const panels = this.tabPanelsState[0];
|
|
259
259
|
for (let p = 0; p < panels.length; p++) {
|
|
260
|
-
panels[p].setAttribute(
|
|
260
|
+
panels[p].setAttribute("hidden", "hidden");
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
263
|
focusEventHandler(tab) {
|
|
@@ -273,30 +273,30 @@ export class HyTabs {
|
|
|
273
273
|
}, 250);
|
|
274
274
|
}
|
|
275
275
|
render() {
|
|
276
|
-
const classComponentAttributes = [
|
|
277
|
-
const id = this.tabId.toLowerCase().replace(/\W/g,
|
|
276
|
+
const classComponentAttributes = ["hy-tabs__container", `hy-tabs__container__${this.headerstyle}`].join(" ");
|
|
277
|
+
const id = this.tabId.toLowerCase().replace(/\W/g, "-");
|
|
278
278
|
if (window.location.hash) {
|
|
279
279
|
const tabHash = window.location.hash.substring(1);
|
|
280
|
-
const isUrlHashed = this.tabButtonTitles.some((tab) => tab[
|
|
280
|
+
const isUrlHashed = this.tabButtonTitles.some((tab) => tab["id"] === tabHash);
|
|
281
281
|
if (isUrlHashed) {
|
|
282
282
|
const hashElement = document.getElementById(tabHash);
|
|
283
283
|
if (hashElement) {
|
|
284
284
|
this.activateTab(hashElement, true);
|
|
285
285
|
const hashElementRect = hashElement.getBoundingClientRect();
|
|
286
|
-
window.scrollTo({ top: window.scrollY + hashElementRect.top - 200, behavior:
|
|
286
|
+
window.scrollTo({ top: window.scrollY + hashElementRect.top - 200, behavior: "smooth" });
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
290
|
return [
|
|
291
291
|
h("hy-box", { pt: "1.25, 1.25, 1.5, 2.5" }),
|
|
292
|
-
h("div", { id: id, class: classComponentAttributes }, h("div", { class: "hy-tablist-container" }, h("button", { tabindex: "-1", class: "hy-tab-scroll hy-tab-scroll__left is-hidden", "aria-hidden": "true" }, h("span", null, h("hy-icon", { icon:
|
|
292
|
+
h("div", { id: id, class: classComponentAttributes }, h("div", { class: "hy-tablist-container" }, h("button", { tabindex: "-1", class: "hy-tab-scroll hy-tab-scroll__left is-hidden", "aria-hidden": "true" }, h("span", null, h("hy-icon", { icon: "hy-icon-caret-left", size: 16 }))), h("div", { role: "tablist", "aria-label": this.tabListLabel }, this.tabButtonTitles &&
|
|
293
293
|
this.tabButtonTitles.map((item) => {
|
|
294
294
|
const title = Object.values(item)[0];
|
|
295
|
-
const id = title.toLowerCase().replace(/\W/g,
|
|
296
|
-
const titleAsId = title.toLowerCase().replace(/\W/g,
|
|
297
|
-
const tabItemHref =
|
|
295
|
+
const id = title.toLowerCase().replace(/\W/g, "-");
|
|
296
|
+
const titleAsId = title.toLowerCase().replace(/\W/g, "-");
|
|
297
|
+
const tabItemHref = "#" + titleAsId;
|
|
298
298
|
return (h("a", { href: tabItemHref, tabindex: "-1" }, h("button", { "aria-selected": "false", "aria-controls": `${id}-tab`, class: this.headerstyle, role: "tab", id: id }, h("span", null, title))));
|
|
299
|
-
})), h("button", { tabindex: "-1", class: "hy-tab-scroll hy-tab-scroll__right", "aria-hidden": "true" }, h("span", null, h("hy-icon", { icon:
|
|
299
|
+
})), h("button", { tabindex: "-1", class: "hy-tab-scroll hy-tab-scroll__right", "aria-hidden": "true" }, h("span", null, h("hy-icon", { icon: "hy-icon-caret-right", size: 16 })))), h("slot", null)),
|
|
300
300
|
h("hy-box", { mb: "1.75, 1.75, 2, 2.5" }),
|
|
301
301
|
];
|
|
302
302
|
}
|
|
@@ -346,7 +346,7 @@ export class HyTabs {
|
|
|
346
346
|
},
|
|
347
347
|
"attribute": "tab-list-label",
|
|
348
348
|
"reflect": false,
|
|
349
|
-
"defaultValue": "
|
|
349
|
+
"defaultValue": "\"\""
|
|
350
350
|
},
|
|
351
351
|
"headerstyle": {
|
|
352
352
|
"type": "string",
|
|
@@ -364,7 +364,7 @@ export class HyTabs {
|
|
|
364
364
|
},
|
|
365
365
|
"attribute": "headerstyle",
|
|
366
366
|
"reflect": false,
|
|
367
|
-
"defaultValue": "
|
|
367
|
+
"defaultValue": "\"common\""
|
|
368
368
|
}
|
|
369
369
|
};
|
|
370
370
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { h } from
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
export class HyTabsItem {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.tabTitle = undefined;
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
const id = this.tabTitle.toLowerCase().replace(/\W/g,
|
|
7
|
+
const id = this.tabTitle.toLowerCase().replace(/\W/g, "-");
|
|
8
8
|
return (h("div", { tabindex: "0", role: "tabpanel", id: `${id}-tab`, "aria-labelledby": id, hidden: true }, h("slot", null)));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "hy-tabs-item"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Host, h } from
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
2
|
export class HyTag {
|
|
3
3
|
render() {
|
|
4
|
-
const classAttributes = [
|
|
4
|
+
const classAttributes = ["hy-tag"].join(" ");
|
|
5
5
|
return (h(Host, null, h("div", { class: classAttributes }, h("span", null, h("slot", null)))));
|
|
6
6
|
}
|
|
7
7
|
static get is() { return "hy-tag"; }
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h } from
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
export class HyTwitterFeed {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.headingVariant = undefined;
|
|
@@ -10,11 +10,11 @@ export class HyTwitterFeed {
|
|
|
10
10
|
render() {
|
|
11
11
|
const parsedTweets = JSON.parse(this.tweets);
|
|
12
12
|
const HeadingVariant = this.headingVariant.toLowerCase();
|
|
13
|
-
if (this.tweetType ===
|
|
13
|
+
if (this.tweetType === "Hashtag" && this.twitterFeedKeyword.charAt(0) === "#") {
|
|
14
14
|
this.twitterFeedKeyword = this.twitterFeedKeyword.substring(1);
|
|
15
15
|
}
|
|
16
|
-
return (h("section", { class: "hy-twitter-feed" }, h("div", { class: "hy-twitter-feed__header" }, h(HeadingVariant, { class: "hy-twitter-feed__title" }, this.paragraphTitle ||
|
|
17
|
-
const dateFormatted = new Intl.DateTimeFormat(
|
|
16
|
+
return (h("section", { class: "hy-twitter-feed" }, h("div", { class: "hy-twitter-feed__header" }, h(HeadingVariant, { class: "hy-twitter-feed__title" }, this.paragraphTitle || "Twitter"), h("p", { class: "hy-twitter-feed__keyword" }, h("hy-icon", { icon: `hy-icon-some-twitter`, size: 20 }), this.tweetType === "Hashtag" ? `#${this.twitterFeedKeyword}` : `@${this.twitterFeedKeyword}`), this.tweetType === "Username" && (h("a", { href: `https://twitter.com/${this.twitterFeedKeyword}`, target: "_blank" }, h("hy-icon", { icon: `hy-icon-plus`, size: 12 }), "Follow"))), h("ul", { class: "hy-twitter-feed__tweets" }, parsedTweets.map(({ tweet_text, tweet_created, tweet_absolute_url, tweet_like_count, tweet_retweet_count, user_name, user_username, user_profile_image_url, }) => {
|
|
17
|
+
const dateFormatted = new Intl.DateTimeFormat("fi-FI").format(new Date(tweet_created));
|
|
18
18
|
return (h("li", { class: "hy-twitter-feed__item" }, h("article", { class: "hy-twitter-tweet" }, h("header", { class: "hy-twitter-tweet__header" }, h("figure", { class: "hy-twitter-tweet__profile-image", role: "complementary" }, h("img", { src: user_profile_image_url, alt: "" })), h("div", { class: "hy-twitter-tweet__header-content" }, h("time", { dateTime: tweet_created }, dateFormatted), h("p", null, user_name), h("a", { class: "hy-twitter-tweet__user-link", href: `https://twitter.com/${user_username}`, target: "_blank" }, "@", user_username))), h("div", { class: "hy-twitter-tweet__content-wrapper" }, h("div", { class: "hy-twitter-tweet__content" }, h("p", null, tweet_text.length > 113 ? `${tweet_text.substr(0, 113)}...` : tweet_text), h("a", { class: "hy-twitter-tweet__tweet-link", href: tweet_absolute_url, target: "_blank" }, h("span", { "aria-hidden": "true" }), `${tweet_absolute_url.substr(0, 24)}...`)), h("div", { class: "hy-twitter-tweet__statistics", role: "complementary" }, h("p", null, h("span", { class: "visually-hidden" }, "Tweet like count: "), h("hy-icon", { icon: `hy-icon-some-twitter-like`, size: 16 }), tweet_like_count), h("p", null, h("span", { class: "visually-hidden" }, "Tweet retweet count: "), h("hy-icon", { icon: `hy-icon-some-twitter-retweet`, size: 16 }), tweet_retweet_count))))));
|
|
19
19
|
}))));
|
|
20
20
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Host, h } from
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
2
|
export class HyTwoColumns {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.reversed = false;
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
const classAttributes = [
|
|
7
|
+
const classAttributes = ["hy-two-columns", this.reversed ? "hy-two-columns--reversed" : ""].join(" ");
|
|
8
8
|
return (h(Host, null, h("div", { class: classAttributes }, h("div", { class: "hy-two-columns__item hy-two-columns__item--main" }, h("slot", { name: "main" })), h("div", { class: "hy-two-columns__item hy-two-columns__item--side" }, h("slot", { name: "side" })))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "hy-two-columns"; }
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { h } from
|
|
2
|
-
import { ColorVariant, SiteLogoSize } from
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { ColorVariant, SiteLogoSize } from "../../utils/utils";
|
|
3
3
|
export class HyUserLoginForm {
|
|
4
4
|
constructor() {
|
|
5
5
|
this.logoUrl = undefined;
|
|
6
6
|
this.logoLabel = undefined;
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
const classAttributes =
|
|
9
|
+
const classAttributes = "hy-user-login-form";
|
|
10
10
|
const logoSize = SiteLogoSize.large;
|
|
11
11
|
const logoColor = ColorVariant.black;
|
|
12
|
-
return (h("div", { class: classAttributes }, h("div", { class:
|
|
12
|
+
return (h("div", { class: classAttributes }, h("div", { class: "hy-site-header__logo-container" }, h("hy-site-logo", { size: logoSize, color: logoColor, url: this.logoUrl, label: this.logoLabel })), h("slot", null)));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "hy-user-login-form"; }
|
|
15
15
|
static get originalStyleUrls() {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { h } from
|
|
2
|
-
import { HeadingVarians } from
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { HeadingVarians } from "../../utils/utils";
|
|
3
3
|
export class HyVideo {
|
|
4
4
|
constructor() {
|
|
5
5
|
this.renderPreviewWithLink = () => {
|
|
6
|
-
return this.linkToVideo ? (h("a", { title: this.videoTitle, href: this.linkToVideo, class: "hy-video__link-to-video" }, h("img", { loading: this.disableLazy ?
|
|
6
|
+
return this.linkToVideo ? (h("a", { title: this.videoTitle, href: this.linkToVideo, class: "hy-video__link-to-video" }, h("img", { loading: this.disableLazy ? "eager" : "lazy", class: "hy-video__preview-image", src: this.previewImageUrl, alt: this.videoTitle }))) : (h("img", { loading: this.disableLazy ? "eager" : "lazy", class: "hy-video__preview-image", src: this.previewImageUrl, alt: this.videoTitle }));
|
|
7
7
|
};
|
|
8
8
|
this.renderPlayButton = () => {
|
|
9
9
|
if (this.simplePlayButton) {
|
|
10
|
-
return (h("span", { class: "hy-video__play__simple" }, h("button", { type: "button" }, h("hy-icon", { icon:
|
|
10
|
+
return (h("span", { class: "hy-video__play__simple" }, h("button", { type: "button" }, h("hy-icon", { icon: "hy-icon-video", class: "hy-video__play-icon", size: 20 }))));
|
|
11
11
|
}
|
|
12
12
|
else {
|
|
13
|
-
return (h("span", { class: "hy-video__play" }, h("button", { type: "button" }, h("hy-icon", { icon:
|
|
13
|
+
return (h("span", { class: "hy-video__play" }, h("button", { type: "button" }, h("hy-icon", { icon: "hy-icon-video", class: "hy-video__play-icon", size: 20 }), h("span", { class: "hy-video__button-label" }, this.playButtonLabel))));
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
this.truncate = (str, n) => {
|
|
17
|
-
return str.length > n ? str.substr(0, n - 1) +
|
|
17
|
+
return str.length > n ? str.substr(0, n - 1) + "..." : str;
|
|
18
18
|
};
|
|
19
19
|
this.videoTitle = undefined;
|
|
20
20
|
this.videoDescription = undefined;
|
|
@@ -24,7 +24,7 @@ export class HyVideo {
|
|
|
24
24
|
this.linkToVideo = undefined;
|
|
25
25
|
this.playButtonLabel = undefined;
|
|
26
26
|
this.playButtonVisible = false;
|
|
27
|
-
this.seriesLabel =
|
|
27
|
+
this.seriesLabel = "In this series";
|
|
28
28
|
this.seriesCount = null;
|
|
29
29
|
this.views = undefined;
|
|
30
30
|
this.viewsLabel = undefined;
|
|
@@ -34,18 +34,18 @@ export class HyVideo {
|
|
|
34
34
|
this.dateAddedLabel = undefined;
|
|
35
35
|
this.horizontal = false;
|
|
36
36
|
this.disableLazy = false;
|
|
37
|
-
this.headerstyle =
|
|
38
|
-
this.showMoreLabel =
|
|
39
|
-
this.showLessLabel =
|
|
37
|
+
this.headerstyle = "default";
|
|
38
|
+
this.showMoreLabel = "Show more";
|
|
39
|
+
this.showLessLabel = "Show less";
|
|
40
40
|
this.simplePlayButton = false;
|
|
41
41
|
this.styleList = false;
|
|
42
42
|
this.descCollapsed = false;
|
|
43
43
|
}
|
|
44
44
|
componentDidLoad() {
|
|
45
|
-
let hyMainDiv = this.el.closest(
|
|
45
|
+
let hyMainDiv = this.el.closest(".hy-main");
|
|
46
46
|
if (hyMainDiv) {
|
|
47
|
-
if (!hyMainDiv.classList.contains(
|
|
48
|
-
this.headerstyle =
|
|
47
|
+
if (!hyMainDiv.classList.contains("with-sidebar")) {
|
|
48
|
+
this.headerstyle = "large";
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
if (this.videoDescription && this.videoDescription.match(/\S/g).length > 255) {
|
|
@@ -54,18 +54,18 @@ export class HyVideo {
|
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
56
|
const classAttributes = [
|
|
57
|
-
|
|
58
|
-
this.horizontal ?
|
|
59
|
-
!this.styleList ? `hy-video__${this.headerstyle}` :
|
|
60
|
-
this.styleList ?
|
|
61
|
-
].join(
|
|
57
|
+
"hy-video",
|
|
58
|
+
this.horizontal ? "hy-video--horizontal" : "",
|
|
59
|
+
!this.styleList ? `hy-video__${this.headerstyle}` : "",
|
|
60
|
+
this.styleList ? "hy-video--list" : "",
|
|
61
|
+
].join(" ");
|
|
62
62
|
const maxChars = 255;
|
|
63
63
|
const charCount = this.videoDescription ? this.videoDescription.match(/\S/g).length : 0;
|
|
64
64
|
if (this.linkToVideo && this.styleList) {
|
|
65
65
|
return [
|
|
66
66
|
h("a", { href: this.linkToVideo, class: classAttributes }, this.videoTitle && !this.horizontal && !this.styleList && (h("hy-heading", { class: "hy-video__meta__title", heading: HeadingVarians.h2 }, this.videoTitle)), h("div", { class: "hy-video__video-container" }, this.previewImageUrl ? (h("div", null, this.renderPreviewWithLink(), h("slot", { name: "video" }))) : (h("slot", { name: "video" })), this.playButtonVisible && this.renderPlayButton()), h("div", { class: "hy-video__meta" }, (this.videoTitle && this.horizontal) ||
|
|
67
|
-
(this.styleList && (h("hy-heading", { class: "hy-video__meta__title", heading: HeadingVarians.h3 }, this.videoTitle))), this.contextLabelVisible && h("span", { class: "hy-video__label" }, this.contextLabel), (this.duration || this.views || this.dateAdded || this.seriesCount) && (h("div", { class: "hy-video__meta__details" }, this.duration && (h("div", { class: "hy-video__meta__details--item" }, h("span", { class: "hy-video__meta__label" }, this.durationLabel), h("span", { class: "hy-video__meta__content" }, this.duration))), this.views && (h("div", { class: "hy-video__meta__details--item" }, h("span", { class: "hy-video__meta__label" }, this.viewsLabel), h("span", { class: "hy-video__meta__content" }, this.views))), this.dateAdded && (h("div", { class: "hy-video__meta__details--item" }, h("span", { class: "hy-video__meta__label" }, this.dateAddedLabel), h("span", { class: "hy-video__meta__content" }, this.dateAdded))), !this.views && this.seriesCount && (h("div", { class: "hy-video__meta__details--item" }, h("span", { class: "hy-video__meta__label" }, this.seriesLabel), h("span", { class: "hy-video__meta__content" }, this.seriesCount))))), this.videoDescription && (h("div", { class: "hy-video__meta__description", "aria-expanded": this.descCollapsed ?
|
|
68
|
-
if (e.key !=
|
|
67
|
+
(this.styleList && (h("hy-heading", { class: "hy-video__meta__title", heading: HeadingVarians.h3 }, this.videoTitle))), this.contextLabelVisible && h("span", { class: "hy-video__label" }, this.contextLabel), (this.duration || this.views || this.dateAdded || this.seriesCount) && (h("div", { class: "hy-video__meta__details" }, this.duration && (h("div", { class: "hy-video__meta__details--item" }, h("span", { class: "hy-video__meta__label" }, this.durationLabel), h("span", { class: "hy-video__meta__content" }, this.duration))), this.views && (h("div", { class: "hy-video__meta__details--item" }, h("span", { class: "hy-video__meta__label" }, this.viewsLabel), h("span", { class: "hy-video__meta__content" }, this.views))), this.dateAdded && (h("div", { class: "hy-video__meta__details--item" }, h("span", { class: "hy-video__meta__label" }, this.dateAddedLabel), h("span", { class: "hy-video__meta__content" }, this.dateAdded))), !this.views && this.seriesCount && (h("div", { class: "hy-video__meta__details--item" }, h("span", { class: "hy-video__meta__label" }, this.seriesLabel), h("span", { class: "hy-video__meta__content" }, this.seriesCount))))), this.videoDescription && (h("div", { class: "hy-video__meta__description", "aria-expanded": this.descCollapsed ? "false" : "true" }, h("div", { class: "hy-video__meta__description__content" }, this.descCollapsed ? this.truncate(this.videoDescription, 255) : this.videoDescription), charCount > maxChars && (h("span", { class: "hy-video__meta__description__more-button", role: "button", tabindex: "0", "aria-expanded": this.descCollapsed ? "false" : "true", onClick: () => (this.descCollapsed = !this.descCollapsed), onKeyDown: (e) => {
|
|
68
|
+
if (e.key != " ")
|
|
69
69
|
return;
|
|
70
70
|
e.preventDefault();
|
|
71
71
|
this.descCollapsed = !this.descCollapsed;
|
|
@@ -75,8 +75,8 @@ export class HyVideo {
|
|
|
75
75
|
else {
|
|
76
76
|
return [
|
|
77
77
|
h("div", { class: classAttributes }, this.videoTitle && !this.horizontal && !this.styleList && (h("hy-heading", { class: "hy-video__meta__title", heading: HeadingVarians.h2 }, this.videoTitle)), h("div", { class: "hy-video__video-container" }, this.previewImageUrl ? (h("div", null, this.renderPreviewWithLink(), h("slot", { name: "video" }))) : (h("slot", { name: "video" })), this.playButtonVisible && this.renderPlayButton()), h("div", { class: "hy-video__meta" }, (this.videoTitle && this.horizontal) ||
|
|
78
|
-
(this.styleList && (h("hy-heading", { class: "hy-video__meta__title", heading: HeadingVarians.h2 }, this.videoTitle))), this.contextLabelVisible && h("span", { class: "hy-video__label" }, this.contextLabel), (this.duration || this.views || this.dateAdded) && (h("div", { class: "hy-video__meta__details" }, this.duration && (h("div", { class: "hy-video__meta__details--item" }, h("span", { class: "hy-video__meta__label" }, this.durationLabel), h("span", { class: "hy-video__meta__content" }, this.duration))), this.views && (h("div", { class: "hy-video__meta__details--item" }, h("span", { class: "hy-video__meta__label" }, this.viewsLabel), h("span", { class: "hy-video__meta__content" }, this.views))), this.dateAdded && (h("div", { class: "hy-video__meta__details--item" }, h("span", { class: "hy-video__meta__label" }, this.dateAddedLabel), h("span", { class: "hy-video__meta__content" }, this.dateAdded))))), this.videoDescription && (h("div", { class: "hy-video__meta__description", "aria-expanded": this.descCollapsed ?
|
|
79
|
-
if (e.key !=
|
|
78
|
+
(this.styleList && (h("hy-heading", { class: "hy-video__meta__title", heading: HeadingVarians.h2 }, this.videoTitle))), this.contextLabelVisible && h("span", { class: "hy-video__label" }, this.contextLabel), (this.duration || this.views || this.dateAdded) && (h("div", { class: "hy-video__meta__details" }, this.duration && (h("div", { class: "hy-video__meta__details--item" }, h("span", { class: "hy-video__meta__label" }, this.durationLabel), h("span", { class: "hy-video__meta__content" }, this.duration))), this.views && (h("div", { class: "hy-video__meta__details--item" }, h("span", { class: "hy-video__meta__label" }, this.viewsLabel), h("span", { class: "hy-video__meta__content" }, this.views))), this.dateAdded && (h("div", { class: "hy-video__meta__details--item" }, h("span", { class: "hy-video__meta__label" }, this.dateAddedLabel), h("span", { class: "hy-video__meta__content" }, this.dateAdded))))), this.videoDescription && (h("div", { class: "hy-video__meta__description", "aria-expanded": this.descCollapsed ? "false" : "true" }, h("div", { class: "hy-video__meta__description__content" }, this.descCollapsed ? this.truncate(this.videoDescription, 255) : this.videoDescription), charCount > maxChars && (h("span", { class: "hy-video__meta__description__more-button", role: "button", tabindex: "0", "aria-expanded": this.descCollapsed ? "false" : "true", onClick: () => (this.descCollapsed = !this.descCollapsed), onKeyDown: (e) => {
|
|
79
|
+
if (e.key != " ")
|
|
80
80
|
return;
|
|
81
81
|
e.preventDefault();
|
|
82
82
|
this.descCollapsed = !this.descCollapsed;
|
|
@@ -252,7 +252,7 @@ export class HyVideo {
|
|
|
252
252
|
},
|
|
253
253
|
"attribute": "series-label",
|
|
254
254
|
"reflect": false,
|
|
255
|
-
"defaultValue": "
|
|
255
|
+
"defaultValue": "\"In this series\""
|
|
256
256
|
},
|
|
257
257
|
"seriesCount": {
|
|
258
258
|
"type": "string",
|
|
@@ -426,7 +426,7 @@ export class HyVideo {
|
|
|
426
426
|
},
|
|
427
427
|
"attribute": "headerstyle",
|
|
428
428
|
"reflect": false,
|
|
429
|
-
"defaultValue": "
|
|
429
|
+
"defaultValue": "\"default\""
|
|
430
430
|
},
|
|
431
431
|
"showMoreLabel": {
|
|
432
432
|
"type": "string",
|
|
@@ -444,7 +444,7 @@ export class HyVideo {
|
|
|
444
444
|
},
|
|
445
445
|
"attribute": "show-more-label",
|
|
446
446
|
"reflect": false,
|
|
447
|
-
"defaultValue": "
|
|
447
|
+
"defaultValue": "\"Show more\""
|
|
448
448
|
},
|
|
449
449
|
"showLessLabel": {
|
|
450
450
|
"type": "string",
|
|
@@ -462,7 +462,7 @@ export class HyVideo {
|
|
|
462
462
|
},
|
|
463
463
|
"attribute": "show-less-label",
|
|
464
464
|
"reflect": false,
|
|
465
|
-
"defaultValue": "
|
|
465
|
+
"defaultValue": "\"Show less\""
|
|
466
466
|
},
|
|
467
467
|
"simplePlayButton": {
|
|
468
468
|
"type": "boolean",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h } from
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
function SvgAlert(props) {
|
|
3
3
|
return (h("svg", Object.assign({ viewBox: "0 0 32 32" }, props), h("circle", { cx: "16", cy: "16", r: "16" }), h("path", { d: "M17.6,18.79H15l-.55-10.5h3.72Zm-3.21,3.67a1.8,1.8,0,0,1,.48-1.36,2,2,0,0,1,1.41-.46,1.94,1.94,0,0,1,1.38.47,1.83,1.83,0,0,1,.49,1.35,1.79,1.79,0,0,1-.5,1.34,1.84,1.84,0,0,1-1.37.49,1.93,1.93,0,0,1-1.4-.48A1.79,1.79,0,0,1,14.39,22.46Z" })));
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h } from
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
function SvgArchive(props) {
|
|
3
3
|
return (h("svg", Object.assign({ viewBox: "0 0 28 34" }, props), h("path", { id: "Shape", d: "M28,8.9H0V34H28ZM24.71,30.76H3.29V12.14H24.71Z" }), h("polygon", { id: "Shape-2", points: "20.3 15.66 17.01 15.66 17.01 17.53 10.99 17.53 10.99 15.66 7.7 15.66 7.7 20.76 20.3 20.76 20.3 15.66" }), h("rect", { x: "3.71", y: "4.45", width: "20.59", height: "3.24" }), h("rect", { x: "5.76", width: "16.47", height: "3.24" })));
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h } from
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
function SvgArrowRight(props) {
|
|
3
3
|
return (h("svg", Object.assign({ width: "109px", height: "111px", viewBox: "0 0 109 111", version: "1.1" }, props), h("g", { id: "Page-1", stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd", "stroke-linejoin": "round" }, h("g", { filter: "url(#filter-1)", id: "Icon/arrow/to_right" }, h("g", { transform: "translate(10.000000, 9.000000)" }, h("g", { id: "Path" }, h("use", { fill: "#FFFFFF", "fill-opacity": "1", filter: "url(#filter-3)" }), h("use", { stroke: "#000222", "stroke-width": "4", fill: "#FFFFFF", "fill-rule": "evenodd" })))))));
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h } from
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
function SvgArrowDown(props) {
|
|
3
3
|
return (h("svg", Object.assign({ viewBox: "0 0 26 18" }, props), h("circle", { id: "Oval", fill: "#107EAB", cx: "8.5", cy: "9", r: "2" }), h("g", { id: "Icon/arrow/to_right", transform: "translate(10.000000, 0.000000)" }, h("g", { transform: "translate(9.000000, 9.000000) rotate(270.000000) translate(-9.000000, -9.000000) " }, h("path", { d: "M15.3739539,2.58885408 L9.05563628,10.0114192 L2.62512723,2.58778423 C2.5650068,2.51838293 2.45894051,2.51196471 2.39075562,2.57360208 L0.0533953737,4.68651506 C-0.0121083665,4.74572874 -0.0181566661,4.84589323 0.039753545,4.91243423 L8.93312424,15.1312497 C8.99867166,15.2065661 9.11651053,15.2061936 9.18157232,15.1304643 L17.9609254,4.91164883 C18.018144,4.84504869 18.011809,4.74545823 17.9466045,4.68651506 L15.6092442,2.57360208 C15.5406475,2.51159238 15.4338255,2.5185168 15.3739539,2.58885408 Z", id: "Path", transform: "translate(9.000000, 8.859375) rotate(-360.000000) translate(-9.000000, -8.859375) " }))), h("circle", { id: "Oval-Copy", fill: "#107EAB", cx: "2", cy: "9", r: "2" })));
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h } from
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
function SvgEuro(props) {
|
|
3
3
|
return (h("svg", Object.assign({ viewBox: "0 0 1000 1000" }, props), h("path", { d: "M825.1,752.3c-9.5-8.4-24.2-8.4-32.7,1.1c-49.5,49.5-112.7,75.9-176,75.9 c-92.7,0-181.2-56.9-231.8-150.7h240.2c13.7,0,24.2-10.5,24.2-24.2v-82.2c0-13.7-10.5-24.2-24.2-24.2H342.5 c-2.1-15.8-2.1-31.6-2.1-46.3s1.1-30.5,3.2-47.4h281.3c13.7,0,24.2-10.5,24.2-24.2v-82.2c0-13.7-10.5-24.2-24.2-24.2l-240.2,0 c50.6-92.7,138.1-150.7,231.8-150.7c64.3,0,126.4,27.4,176,76.9c9.5,9.5,24.2,9.5,32.7,1.1l91.7-84.3c5.3-4.2,7.4-10.5,8.4-17.9 c0-6.3-2.1-12.6-6.3-17.9C835.6,46.3,729.2,0,617.5,0C433.1,0,265.6,129.6,199.2,322.4H98c-13.7,0-24.2,10.5-24.2,24.2v82.2 c0,13.7,10.5,24.2,24.2,24.2h73.8c-1.1,16.9-2.1,32.7-2.1,47.4c0,14.7,1.1,30.5,2.1,46.3H98c-13.7,0-24.2,10.5-24.2,24.2v82.2 c0,13.7,10.5,24.2,24.2,24.2h101.2C265.6,870.4,433.1,1000,617.5,1000c111.7,0,219.2-46.3,301.4-130.6c4.2-4.2,7.4-10.5,7.4-17.9 c0-6.3-3.2-12.6-8.4-17.9L825.1,752.3z" })));
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h } from
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
function SvgGlobe(props) {
|
|
3
3
|
return (h("svg", Object.assign({ viewBox: "0 0 1000 1000" }, props), h("path", { d: "M500,0C223.9,0,0,223.9,0,500s223.9,500,500,500s500-223.9,500-500S776.1,0,500,0z M833.3,291.7H684.1 C670.4,227.7,650,171.2,625,125C712.9,158,786.1,217,833.3,291.7L833.3,291.7z M875,497c0,36-4.5,70.8-12.2,104.2H708.3 c2.8-33.6,4.2-68.5,4.2-104.2c0-35.7-1.4-70.5-4.2-104.2h154.4C870.5,426.2,875,461,875,497L875,497z M392.9,708.3h208.3 C571.6,844,518.9,916.7,497,916.7C475.1,916.7,422.5,844,392.9,708.3z M380.1,601.2c-3.2-32.4-5.1-67-5.1-104.2 c0-37.2,1.9-71.7,5.1-104.2h239.8c3.2,32.4,5.1,67,5.1,104.2c0,37.2-1.9,71.7-5.1,104.2H380.1z M137.2,392.9h154.4 c-2.8,33.6-4.2,68.5-4.2,104.2c0,35.7,1.4,70.5,4.2,104.2H137.2C129.5,567.8,125,533.1,125,497C125,461,129.5,426.2,137.2,392.9z M601.2,291.7l-208.3,0C422.5,156,475.1,83.3,497,83.3C518.9,83.3,571.6,156,601.2,291.7z M375,125c-25,46.2-45.4,102.7-59.1,166.7 H166.7C213.9,217.1,287.1,158,375,125L375,125z M315.9,708.3c13.7,63.9,34,120.5,59.1,166.7c-87.9-33-161.1-92-208.3-166.7H315.9z M625,875c25-46.2,45.4-102.7,59.1-166.7h149.3C786.1,782.9,712.9,842,625,875L625,875z" })));
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h } from
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
function SvgHeartSupport(props) {
|
|
3
3
|
return (h("svg", Object.assign({ viewBox: "0 0 16 16" }, props), h("path", { d: "M1.26234059,1.47444321 C-0.421989103,3.44260781 -0.419570856,6.56432454 1.26234059,8.53342384 L7.39772074,15.7174761 C7.55302345,15.8974257 7.76996687,16 7.99652384,16 C8.22388007,16 8.44082554,15.897419 8.59532694,15.7174761 C10.641492,13.3259819 12.6907721,10.931817 14.7370601,8.5403228 C16.4213898,6.57215821 16.4205701,3.44955129 14.7370601,1.48134218 C13.0535502,-0.486866922 10.2157575,-0.486822413 8.53138685,1.48134218 L7.99982331,2.10029098 L7.46825978,1.47437645 C6.62609494,0.490294152 5.49814655,0 4.36859966,0 C3.23880685,0 2.10442346,0.490360916 1.26234059,1.47444321 Z M6.35964437,3.16815532 L7.43710533,4.37841446 C7.58389377,4.54236759 7.78894356,4.63582365 8.00307984,4.63582365 C8.21797156,4.63582365 8.42302328,4.5423615 8.56905435,4.37841446 L9.64045249,3.18084837 C10.6672219,2.02367291 12.2031147,2.02367291 13.2299229,3.18084837 C14.2566924,4.33802382 14.2566924,6.24360205 13.2299229,7.40077751 C11.4835935,9.3682191 9.74020842,11.3325787 7.99399527,13.3 L2.77007709,7.39449182 C1.74330764,6.23492374 1.74330764,4.32524968 2.77007709,3.16807422 C3.28382985,2.58908096 3.92699415,2.3 4.56785341,2.3 C5.20879014,2.3 5.84589161,2.58918234 6.35964437,3.16815532 Z" })));
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h } from
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
function SvgHome(props) {
|
|
3
3
|
return (h("svg", Object.assign({ viewBox: "0 0 56 65" }, props, { stroke: "black", "stroke-width": "1" }), h("path", { d: "M29.3106262,0.81816473 L55.3106262,23.6051927 C55.7484916,23.9889485 56,24.5457471 56,25.1313539 L56,62.3034274 C56,63.4192907 55.1045695,64.3238767 54,64.3238767 L2,64.3238767 C0.8954305,64.3238767 0,63.4192907 0,62.3034274 L0,25.1313539 C0,24.5457471 0.251508395,23.9889485 0.6893738,23.6051927 L26.6893738,0.81816473 C27.4413507,0.159114007 28.5586493,0.159114007 29.3106262,0.81816473 Z M28,10.3657587 L8,27.8911356 L8,56.2420796 L48,56.2420796 L48,27.8951765 L28,10.3657587 Z" })));
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h } from
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
function SvgInfo(props) {
|
|
3
3
|
return (h("svg", Object.assign({ viewBox: "0 0 1000 1000" }, props), h("path", { d: "M500 65q-119 0-220 59-99 57-156 156-59 101-59 220t59 220q57 99 156 156 101 59 220 59t220-59q99-57 156-156 59-101 59-220t-59-220q-57-99-156-156-101-59-220-59zm48 612h-96V419h96v258zm0-290h-96v-97h96v97z" })));
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h } from
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
function SvgListStyleGrid(props) {
|
|
3
3
|
return (h("svg", Object.assign({ viewBox: "0 0 64 64" }, props), h("rect", { x: "-1.77365678e-11", y: "-2.74269496e-13", width: "15.2380952", height: "15.2380952" }), h("rect", { x: "-1.77365678e-11", y: "24.3809524", width: "15.2380952", height: "15.2380952" }), h("rect", { x: "-1.77365678e-11", y: "48.7619048", width: "15.2380952", height: "15.2380952" }), h("rect", { x: "24.3809524", y: "-2.74269496e-13", width: "15.2380952", height: "15.2380952" }), h("rect", { x: "24.3809524", y: "24.3809524", width: "15.2380952", height: "15.2380952" }), h("rect", { x: "24.3809524", y: "48.7619048", width: "15.2380952", height: "15.2380952" }), h("rect", { x: "48.7619048", y: "-2.74269496e-13", width: "15.2380952", height: "15.2380952" }), h("rect", { x: "48.7619048", y: "24.3809524", width: "15.2380952", height: "15.2380952" }), h("rect", { x: "48.7619048", y: "48.7619048", width: "15.2380952", height: "15.2380952" })));
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h } from
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
function SvgListStyleList(props) {
|
|
3
3
|
return (h("svg", Object.assign({ viewBox: "0 0 64 64" }, props), h("rect", { x: "0", y: "0", width: "64", height: "9.14285714" }), h("rect", { x: "0", y: "18.2857143", width: "64", height: "9.14285714" }), h("rect", { x: "0", y: "36.5714286", width: "64", height: "9.14285714" }), h("rect", { x: "0", y: "54.8571429", width: "64", height: "9.14285714" })));
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h } from
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
function SvgSearch(props) {
|
|
3
3
|
return (h("svg", Object.assign({ viewBox: "0 0 1000 1000" }, props), h("path", { d: "M964.9,864.4l19.5,23.4L871.6,1000L636.9,766.6c-31.4,17.7-64.9,31.3-100.5,40.8s-71.4,14.3-107.6,14.3 c-74.5,0-143.9-18.7-208.1-56.1c-62.2-36-111.7-84.9-148.6-146.8c-37.6-63.9-56.4-133-56.4-207.4S34.4,267.8,72,203.9 C108.9,142,158.5,92.8,220.7,56.1C284.9,18.7,354.4,0,429.3,0s144.4,18.7,208.6,56.1c62.2,36.7,111.4,86,147.6,147.8 c37.6,63.9,56.4,132.9,56.4,206.9c0,44.2-7,87.2-21,129c-14,41.8-34.3,81-61,117.7L964.9,864.4z M421.9,656.2 c44.8,0,86.4-11.2,125-33.6s69-52.9,91.4-91.4s33.6-80.2,33.6-125s-11.2-86.3-33.6-124.5s-52.9-68.7-91.4-91.4s-80.2-34.1-125-34.1 s-86.3,11.4-124.5,34.1s-68.7,53.2-91.4,91.4s-34.1,79.7-34.1,124.5s11.4,86.4,34.1,125s53.2,69,91.4,91.4S377.1,656.2,421.9,656.2 z" })));
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h } from
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
function SvgSlimHamburgerMenu(props) {
|
|
3
3
|
return (h("svg", Object.assign({ viewBox: "0 0 13 64" }, props), h("path", { d: "M12.8,38.4 L12.8,25.6 L0,25.6 L0,38.4 L12.32608,38.4 L12.8,38.4 Z M0,64 L12.8,64 L12.8,51.2 L0,51.2 L0,61.44 L0,64 Z M12.8,12.8 L12.8,0 L0,0 L0,12.8 L12.32608,12.8 L12.8,12.8 Z" })));
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h } from
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
function SomeFacebook(props) {
|
|
3
3
|
return (h("svg", Object.assign({}, props, { "data-name": "Layer 1", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 56 56" }), h("path", { class: "cls-1", d: "M56,28A28,28,0,1,0,23.62,55.66V36.09h-7.1V28h7.1V21.83c0-7,4.19-10.89,10.58-10.89a43.71,43.71,0,0,1,6.27.54v6.9H36.94c-3.48,0-4.56,2.15-4.56,4.37V28h7.76L38.9,36.09H32.38V55.66A28,28,0,0,0,56,28Z" })));
|
|
4
4
|
}
|