@itcenteratunihelsinki/huds-lib 0.8.43 → 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/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 +9 -2
- 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,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
|
},
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
@font-face {
|
|
14
14
|
font-family: swiper-icons;
|
|
15
|
-
src: url(
|
|
15
|
+
src: url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA");
|
|
16
16
|
font-weight: 400;
|
|
17
17
|
font-style: normal;
|
|
18
18
|
}
|
|
@@ -203,7 +203,7 @@ swiper-slide {
|
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
.swiper-centered > .swiper-wrapper::before {
|
|
206
|
-
content:
|
|
206
|
+
content: "";
|
|
207
207
|
-ms-flex-negative: 0;
|
|
208
208
|
flex-shrink: 0;
|
|
209
209
|
-webkit-box-ordinal-group: 10000;
|
|
@@ -300,7 +300,7 @@ swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader {
|
|
|
300
300
|
}
|
|
301
301
|
|
|
302
302
|
.swiper-virtual.swiper-css-mode .swiper-wrapper::after {
|
|
303
|
-
content:
|
|
303
|
+
content: "";
|
|
304
304
|
position: absolute;
|
|
305
305
|
left: 0;
|
|
306
306
|
top: 0;
|
|
@@ -379,7 +379,7 @@ swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader {
|
|
|
379
379
|
|
|
380
380
|
.swiper-button-prev:after,
|
|
381
381
|
.swiper-rtl .swiper-button-next:after {
|
|
382
|
-
content:
|
|
382
|
+
content: "prev";
|
|
383
383
|
}
|
|
384
384
|
|
|
385
385
|
.swiper-button-next,
|
|
@@ -390,7 +390,7 @@ swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader {
|
|
|
390
390
|
|
|
391
391
|
.swiper-button-next:after,
|
|
392
392
|
.swiper-rtl .swiper-button-prev:after {
|
|
393
|
-
content:
|
|
393
|
+
content: "next";
|
|
394
394
|
}
|
|
395
395
|
|
|
396
396
|
.swiper-button-lock {
|
|
@@ -802,7 +802,7 @@ swiper-container .swiper-notification {
|
|
|
802
802
|
}
|
|
803
803
|
|
|
804
804
|
.swiper-cube .swiper-cube-shadow:before {
|
|
805
|
-
content:
|
|
805
|
+
content: "";
|
|
806
806
|
background: #000;
|
|
807
807
|
position: absolute;
|
|
808
808
|
left: 0;
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { h } from
|
|
2
|
-
import { jsonParserWorker } from
|
|
3
|
-
import Swiper, { Navigation, Pagination, A11y } from
|
|
4
|
-
import { CtaLinkButtonVariants } from
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { jsonParserWorker } from "../../global/globalScript";
|
|
3
|
+
import Swiper, { Navigation, Pagination, A11y } from "swiper";
|
|
4
|
+
import { CtaLinkButtonVariants } from "../../utils/utils";
|
|
5
5
|
export class HyHeroCarousel {
|
|
6
6
|
constructor() {
|
|
7
7
|
this.itemCount = undefined;
|
|
8
|
-
this.ariaLabelNext =
|
|
9
|
-
this.ariaLabelPrev =
|
|
10
|
-
this.ariaLabelFirstSlide =
|
|
11
|
-
this.ariaLabelLastSlide =
|
|
12
|
-
this.ariaLabelBulletMessage =
|
|
8
|
+
this.ariaLabelNext = "Next slide";
|
|
9
|
+
this.ariaLabelPrev = "Previous slide";
|
|
10
|
+
this.ariaLabelFirstSlide = "This is the first slide";
|
|
11
|
+
this.ariaLabelLastSlide = "This is the first slide";
|
|
12
|
+
this.ariaLabelBulletMessage = "Go to slide";
|
|
13
13
|
this.data = undefined;
|
|
14
14
|
}
|
|
15
15
|
async componentWillLoad() {
|
|
16
16
|
this._data = await jsonParserWorker(this.data);
|
|
17
17
|
}
|
|
18
18
|
componentDidLoad() {
|
|
19
|
-
new Swiper(
|
|
19
|
+
new Swiper(".swiper", {
|
|
20
20
|
modules: [Navigation, Pagination, A11y],
|
|
21
21
|
enabled: true,
|
|
22
|
-
direction:
|
|
22
|
+
direction: "horizontal",
|
|
23
23
|
loop: true,
|
|
24
24
|
spaceBetween: 50,
|
|
25
25
|
navigation: {
|
|
26
|
-
nextEl:
|
|
27
|
-
prevEl:
|
|
26
|
+
nextEl: ".swiper-button-next",
|
|
27
|
+
prevEl: ".swiper-button-prev",
|
|
28
28
|
},
|
|
29
29
|
pagination: {
|
|
30
|
-
el:
|
|
31
|
-
bulletClass:
|
|
32
|
-
bulletActiveClass:
|
|
30
|
+
el: ".swiper-pagination",
|
|
31
|
+
bulletClass: "hero-carousel--pagination__bullet",
|
|
32
|
+
bulletActiveClass: "hero-carousel--pagination__bullet--active",
|
|
33
33
|
clickable: true,
|
|
34
34
|
renderBullet: function (index, className) {
|
|
35
35
|
return `<span aria-label="${this.ariaLabelBulletMessage} ${index}" data-index="${index}" class="${className}"></span>`;
|
|
@@ -46,22 +46,22 @@ export class HyHeroCarousel {
|
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
48
|
handleSlideChangeFromButtons(index) {
|
|
49
|
-
const swiperEl = document.querySelector(
|
|
49
|
+
const swiperEl = document.querySelector(".swiper");
|
|
50
50
|
swiperEl.swiper.slideTo(index, 300, null);
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
|
-
const carouselContentClasses = [
|
|
54
|
-
return (h("div", { class: "hero-carousel-container" }, h("div", { class: "swiper" }, h("div", { class: "swiper-wrapper" }, this._data[
|
|
55
|
-
this._data[
|
|
53
|
+
const carouselContentClasses = ["hero-carousel--item__content", this.itemCount > 1 ? "has-pagination" : ""].join(" ");
|
|
54
|
+
return (h("div", { class: "hero-carousel-container" }, h("div", { class: "swiper" }, h("div", { class: "swiper-wrapper" }, this._data["items"] &&
|
|
55
|
+
this._data["items"].map((i, index) => {
|
|
56
56
|
const currentIndex = index;
|
|
57
57
|
const srcSet = JSON.parse(i.image_sources);
|
|
58
|
-
return (h("div", { class: "swiper-slide", "data-title": i.title, "data-desc": i.desc }, h("div", { class: "swiper-slide hero-carousel--item" }, h("div", { class: carouselContentClasses }, h("h2", { class: "hero-carousel--item__title" }, i.title), h("div", { class: "hero-carousel--item__desc" }, i.desc), i.uri && (h("hy-cta-button", { "link-content": i.uri_title, "sc-label": i.uri_title, url: i.uri, "is-external": "false", variant: CtaLinkButtonVariants.heroBlue })), this.itemCount > 1 ? (h("div", { class: "hero-carousel--item__pagination" }, h("ul", null, this._data[
|
|
58
|
+
return (h("div", { class: "swiper-slide", "data-title": i.title, "data-desc": i.desc }, h("div", { class: "swiper-slide hero-carousel--item" }, h("div", { class: carouselContentClasses }, h("h2", { class: "hero-carousel--item__title" }, i.title), h("div", { class: "hero-carousel--item__desc" }, i.desc), i.uri && (h("hy-cta-button", { "link-content": i.uri_title, "sc-label": i.uri_title, url: i.uri, "is-external": "false", variant: CtaLinkButtonVariants.heroBlue })), this.itemCount > 1 ? (h("div", { class: "hero-carousel--item__pagination" }, h("ul", null, this._data["items"].map((i, index) => {
|
|
59
59
|
const paginationButtonClasses = [
|
|
60
|
-
|
|
61
|
-
index === currentIndex ?
|
|
62
|
-
].join(
|
|
63
|
-
return (h("li", { class: paginationButtonClasses }, h("button", { "aria-label": `${this.ariaLabelBulletMessage} ${index}`, onClick: () => this.handleSlideChangeFromButtons(index), "data-index": index, "aria-current": index === currentIndex ?
|
|
64
|
-
})))) : null), h("div", { class: "hero-carousel--item__image" }, srcSet.length > 0 ? (h("picture", null, srcSet.map((item) => (h("source", { srcSet: item.src, media: item.media, type: item.type, sizes: item.sizes ? item.sizes :
|
|
60
|
+
"hero-carousel--item__pagination__button",
|
|
61
|
+
index === currentIndex ? "is-current" : "",
|
|
62
|
+
].join(" ");
|
|
63
|
+
return (h("li", { class: paginationButtonClasses }, h("button", { "aria-label": `${this.ariaLabelBulletMessage} ${index}`, onClick: () => this.handleSlideChangeFromButtons(index), "data-index": index, "aria-current": index === currentIndex ? "true" : "false" }, h("span", { class: "hero-carousel--item__pagination__button__theme" }, i.theme_text), i.title)));
|
|
64
|
+
})))) : null), h("div", { class: "hero-carousel--item__image" }, srcSet.length > 0 ? (h("picture", null, srcSet.map((item) => (h("source", { srcSet: item.src, media: item.media, type: item.type, sizes: item.sizes ? item.sizes : "" }))), h("img", { "aria-hidden": "true", loading: "eager", alt: i.image_alt, class: `hy-image__image`, src: i.image_fallback }))) : (h("img", { "aria-hidden": "true", loading: "eager", alt: i.image_alt, class: `hy-image__image`, src: i.image_fallback }))))));
|
|
65
65
|
})), this.itemCount > 1 ? (h("div", { class: "hero-carousel--controls" }, h("div", { class: "swiper-pagination hero-carousel--pagination--mobile" }), h("div", { class: "hero-carousel--controls__buttons" }, h("div", { class: "swiper-button-prev" }, h("hy-icon", { class: "arrow", icon: "hy-icon-arrow-left" }), h("hy-icon", { class: "caret", icon: "hy-icon-caret-left" })), h("div", { class: "swiper-button-next" }, h("hy-icon", { class: "arrow", icon: "hy-icon-arrow-right" }), h("hy-icon", { class: "caret", icon: "hy-icon-caret-right" }))))) : null)));
|
|
66
66
|
}
|
|
67
67
|
static get is() { return "hy-hero-carousel"; }
|
|
@@ -110,7 +110,7 @@ export class HyHeroCarousel {
|
|
|
110
110
|
},
|
|
111
111
|
"attribute": "aria-label-next",
|
|
112
112
|
"reflect": false,
|
|
113
|
-
"defaultValue": "
|
|
113
|
+
"defaultValue": "\"Next slide\""
|
|
114
114
|
},
|
|
115
115
|
"ariaLabelPrev": {
|
|
116
116
|
"type": "string",
|
|
@@ -128,7 +128,7 @@ export class HyHeroCarousel {
|
|
|
128
128
|
},
|
|
129
129
|
"attribute": "aria-label-prev",
|
|
130
130
|
"reflect": false,
|
|
131
|
-
"defaultValue": "
|
|
131
|
+
"defaultValue": "\"Previous slide\""
|
|
132
132
|
},
|
|
133
133
|
"ariaLabelFirstSlide": {
|
|
134
134
|
"type": "string",
|
|
@@ -146,7 +146,7 @@ export class HyHeroCarousel {
|
|
|
146
146
|
},
|
|
147
147
|
"attribute": "aria-label-first-slide",
|
|
148
148
|
"reflect": false,
|
|
149
|
-
"defaultValue": "
|
|
149
|
+
"defaultValue": "\"This is the first slide\""
|
|
150
150
|
},
|
|
151
151
|
"ariaLabelLastSlide": {
|
|
152
152
|
"type": "string",
|
|
@@ -164,7 +164,7 @@ export class HyHeroCarousel {
|
|
|
164
164
|
},
|
|
165
165
|
"attribute": "aria-label-last-slide",
|
|
166
166
|
"reflect": false,
|
|
167
|
-
"defaultValue": "
|
|
167
|
+
"defaultValue": "\"This is the first slide\""
|
|
168
168
|
},
|
|
169
169
|
"ariaLabelBulletMessage": {
|
|
170
170
|
"type": "string",
|
|
@@ -182,7 +182,7 @@ export class HyHeroCarousel {
|
|
|
182
182
|
},
|
|
183
183
|
"attribute": "aria-label-bullet-message",
|
|
184
184
|
"reflect": false,
|
|
185
|
-
"defaultValue": "
|
|
185
|
+
"defaultValue": "\"Go to slide\""
|
|
186
186
|
},
|
|
187
187
|
"data": {
|
|
188
188
|
"type": "string",
|
|
@@ -193,7 +193,7 @@ export class HyHeroCarousel {
|
|
|
193
193
|
"references": {
|
|
194
194
|
"CarouselItem": {
|
|
195
195
|
"location": "local",
|
|
196
|
-
"path": "/
|
|
196
|
+
"path": "/Users/tuukkaturu/hy/hy-ds/design-system-lib/core/src/components/hy-hero-carousel/hy-hero-carousel.tsx"
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Host, h } from
|
|
2
|
-
import { HeadingVarians, HeadingSectionVariants } from
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
import { HeadingVarians, HeadingSectionVariants } from "../../utils/utils";
|
|
3
3
|
export class HyIntroduction {
|
|
4
4
|
constructor() {
|
|
5
5
|
this.variant = null;
|
|
@@ -11,39 +11,39 @@ export class HyIntroduction {
|
|
|
11
11
|
this.scLabel = undefined;
|
|
12
12
|
this.urlTitle = undefined;
|
|
13
13
|
this.imageUrl = undefined;
|
|
14
|
-
this.imageAlt =
|
|
14
|
+
this.imageAlt = "";
|
|
15
15
|
this.isExternal = false;
|
|
16
|
-
this.headerstyle =
|
|
16
|
+
this.headerstyle = "common";
|
|
17
17
|
this.sourceSet = undefined;
|
|
18
18
|
}
|
|
19
19
|
componentDidLoad() {
|
|
20
|
-
let hyMainDiv = this.el.closest(
|
|
20
|
+
let hyMainDiv = this.el.closest(".hy-main");
|
|
21
21
|
if (hyMainDiv) {
|
|
22
|
-
if (!hyMainDiv.classList.contains(
|
|
23
|
-
this.headerstyle =
|
|
22
|
+
if (!hyMainDiv.classList.contains("with-sidebar")) {
|
|
23
|
+
this.headerstyle = "large";
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
28
|
const classAttributes = [
|
|
29
|
-
|
|
29
|
+
"hy-introduction",
|
|
30
30
|
`hy-introduction__${this.headerstyle}`,
|
|
31
31
|
this.headerstyle,
|
|
32
|
-
this.reversed ?
|
|
32
|
+
this.reversed ? "hy-introduction--reversed" : "",
|
|
33
33
|
this.variant
|
|
34
34
|
? `hy-introduction--with-bg hy-introduction--with-bg__${this.variant}`
|
|
35
|
-
:
|
|
36
|
-
].join(
|
|
37
|
-
const classTitle = [
|
|
38
|
-
const classDescription = [
|
|
35
|
+
: "hy-introduction--without-bg",
|
|
36
|
+
].join(" ");
|
|
37
|
+
const classTitle = ["hy-introduction__title", `hy-introduction__title__${this.headerstyle}`].join(" ");
|
|
38
|
+
const classDescription = ["hy-introduction__description", `hy-introduction__description__${this.headerstyle}`].join(" ");
|
|
39
39
|
const contentWrapperClasses = [
|
|
40
|
-
|
|
41
|
-
this.reversed ?
|
|
42
|
-
this.imageUrl ?
|
|
43
|
-
this.limitContentWidth ?
|
|
44
|
-
].join(
|
|
45
|
-
const target = this.isExternal ?
|
|
46
|
-
return (h(Host, null, h("hy-box", { pt: "1.25, 1.25, 1.5, 2.5" }), h("div", { class: classAttributes }, h("hy-main-content-wrapper", null, h("div", { class: "hy-introduction__outer-content" }, h("div", { class: contentWrapperClasses }, h("hy-heading", { class: classTitle, heading: HeadingVarians.h2, section: HeadingSectionVariants.introduction }, this.textTitle), h("p", { class: classDescription }, this.textDescription), this.url && (h("div", { class: "hy-introduction__link__container" }, h("a", { class: "hy-introduction__link", href: this.url, "aria-label": this.scLabel, target: target }, this.urlTitle, h("span", { class: "hy-introduction__link__icon" }, h("hy-icon", { icon:
|
|
40
|
+
"hy-introduction__content",
|
|
41
|
+
this.reversed ? "hy-introduction__content--reversed" : "",
|
|
42
|
+
this.imageUrl ? "hy-introduction__content--with-image" : "hy-introduction__content--without-image",
|
|
43
|
+
this.limitContentWidth ? "hy-introduction__content--limit-width" : "",
|
|
44
|
+
].join(" ");
|
|
45
|
+
const target = this.isExternal ? "_blank" : "_self";
|
|
46
|
+
return (h(Host, null, h("hy-box", { pt: "1.25, 1.25, 1.5, 2.5" }), h("div", { class: classAttributes }, h("hy-main-content-wrapper", null, h("div", { class: "hy-introduction__outer-content" }, h("div", { class: contentWrapperClasses }, h("hy-heading", { class: classTitle, heading: HeadingVarians.h2, section: HeadingSectionVariants.introduction }, this.textTitle), h("p", { class: classDescription }, this.textDescription), this.url && (h("div", { class: "hy-introduction__link__container" }, h("a", { class: "hy-introduction__link", href: this.url, "aria-label": this.scLabel, target: target }, this.urlTitle, h("span", { class: "hy-introduction__link__icon" }, h("hy-icon", { icon: "hy-icon-arrow-right", size: 24 })))))), this.imageUrl &&
|
|
47
47
|
(this.sourceSet ? (h("div", { class: "hy-introduction__image" }, h("hy-image", { "source-set": this.sourceSet, "image-url": this.imageUrl, aspectRatioWidth: 16, aspectRatioHeight: 10, "image-alt": this.imageAlt }))) : (h("div", { class: "hy-introduction__image" }, h("hy-image", { "image-url": this.imageUrl, aspectRatioWidth: 16, aspectRatioHeight: 10, "image-alt": this.imageAlt }))))))), h("hy-box", { mb: "1.75, 1.75, 2, 2.5" })));
|
|
48
48
|
}
|
|
49
49
|
static get is() { return "hy-introduction"; }
|
|
@@ -237,7 +237,7 @@ export class HyIntroduction {
|
|
|
237
237
|
},
|
|
238
238
|
"attribute": "image-alt",
|
|
239
239
|
"reflect": false,
|
|
240
|
-
"defaultValue": "
|
|
240
|
+
"defaultValue": "\"\""
|
|
241
241
|
},
|
|
242
242
|
"isExternal": {
|
|
243
243
|
"type": "boolean",
|
|
@@ -273,7 +273,7 @@ export class HyIntroduction {
|
|
|
273
273
|
},
|
|
274
274
|
"attribute": "headerstyle",
|
|
275
275
|
"reflect": false,
|
|
276
|
-
"defaultValue": "
|
|
276
|
+
"defaultValue": "\"common\""
|
|
277
277
|
},
|
|
278
278
|
"sourceSet": {
|
|
279
279
|
"type": "string",
|
|
@@ -284,7 +284,7 @@ export class HyIntroduction {
|
|
|
284
284
|
"references": {
|
|
285
285
|
"ImageSrcSet": {
|
|
286
286
|
"location": "local",
|
|
287
|
-
"path": "/
|
|
287
|
+
"path": "/Users/tuukkaturu/hy/hy-ds/design-system-lib/core/src/components/hy-introduction/hy-introduction.tsx"
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
290
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h } from
|
|
2
|
-
import { KeyHighlightVariants } from
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { KeyHighlightVariants } from "../../utils/utils";
|
|
3
3
|
export class HyKeyFigure {
|
|
4
4
|
constructor() {
|
|
5
5
|
this.variant = KeyHighlightVariants.default;
|
|
@@ -7,7 +7,7 @@ export class HyKeyFigure {
|
|
|
7
7
|
this.description = undefined;
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
const classVariant = [this.variant,
|
|
10
|
+
const classVariant = [this.variant, "hy-key-figure"].join(" ");
|
|
11
11
|
return (h("div", { class: classVariant }, h("div", { class: "hy-key-figure__title" }, this.heading), h("div", { class: "hy-key-figure__description" }, this.description)));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "hy-key-figure"; }
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { h, Host } from
|
|
2
|
-
import { KeyHighlightVariants } from
|
|
3
|
-
import { jsonParserWorker } from
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
|
+
import { KeyHighlightVariants } from "../../utils/utils";
|
|
3
|
+
import { jsonParserWorker } from "../../global/globalScript";
|
|
4
4
|
export class HyKeyFigureGroup {
|
|
5
5
|
constructor() {
|
|
6
6
|
this.dataItems = undefined;
|
|
7
|
-
this.headerstyle =
|
|
7
|
+
this.headerstyle = "common";
|
|
8
8
|
}
|
|
9
9
|
async componentWillLoad() {
|
|
10
10
|
this._dataItems = await jsonParserWorker(this.dataItems);
|
|
11
11
|
}
|
|
12
12
|
componentDidLoad() {
|
|
13
|
-
let hyMainDiv = this.el.closest(
|
|
13
|
+
let hyMainDiv = this.el.closest(".hy-main");
|
|
14
14
|
if (hyMainDiv) {
|
|
15
|
-
if (!hyMainDiv.classList.contains(
|
|
16
|
-
this.headerstyle =
|
|
15
|
+
if (!hyMainDiv.classList.contains("with-sidebar")) {
|
|
16
|
+
this.headerstyle = "large";
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
getBoxClassName(count) {
|
|
21
|
-
let className =
|
|
21
|
+
let className = "box";
|
|
22
22
|
if (count % 3 == 0) {
|
|
23
|
-
className =
|
|
23
|
+
className = "box-3";
|
|
24
24
|
}
|
|
25
25
|
else if (count % 4 == 0) {
|
|
26
|
-
className =
|
|
26
|
+
className = "box-4";
|
|
27
27
|
}
|
|
28
28
|
else if (count % 5 == 0) {
|
|
29
|
-
className =
|
|
29
|
+
className = "box-5";
|
|
30
30
|
}
|
|
31
31
|
return className;
|
|
32
32
|
}
|
|
@@ -41,11 +41,11 @@ export class HyKeyFigureGroup {
|
|
|
41
41
|
const keyFiguresVariant = this._dataItems.length == 4 ? KeyHighlightVariants.small : KeyHighlightVariants.default;
|
|
42
42
|
const classAttributes = [
|
|
43
43
|
keyFiguresVariant,
|
|
44
|
-
|
|
44
|
+
"hy-key-figure-group-container",
|
|
45
45
|
`hy-key-figure-group-container__${this.headerstyle}`,
|
|
46
|
-
].join(
|
|
47
|
-
const classRowAttributes = [
|
|
48
|
-
const classRowCenteredAttributes = [
|
|
46
|
+
].join(" ");
|
|
47
|
+
const classRowAttributes = ["hy-key-figure-group"].join(" ");
|
|
48
|
+
const classRowCenteredAttributes = ["hy-key-figure-group", "hy-key-figure-group-centered"].join(" ");
|
|
49
49
|
if (this._dataItems.length % 5 == 0) {
|
|
50
50
|
return (h(Host, null, h("div", { class: classAttributes }, h("div", { class: classRowAttributes }, this._dataItems.map((x, index) => {
|
|
51
51
|
if (index < 3) {
|
|
@@ -85,7 +85,7 @@ export class HyKeyFigureGroup {
|
|
|
85
85
|
"references": {
|
|
86
86
|
"KeyFigureValue": {
|
|
87
87
|
"location": "local",
|
|
88
|
-
"path": "/
|
|
88
|
+
"path": "/Users/tuukkaturu/hy/hy-ds/design-system-lib/core/src/components/hy-key-figure-group/hy-key-figure-group.tsx"
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
},
|
|
@@ -114,7 +114,7 @@ export class HyKeyFigureGroup {
|
|
|
114
114
|
},
|
|
115
115
|
"attribute": "headerstyle",
|
|
116
116
|
"reflect": false,
|
|
117
|
-
"defaultValue": "
|
|
117
|
+
"defaultValue": "\"common\""
|
|
118
118
|
}
|
|
119
119
|
};
|
|
120
120
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h } from
|
|
2
|
-
import { KeyHighlightVariants } from
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { KeyHighlightVariants } from "../../utils/utils";
|
|
3
3
|
export class HyKeyHighlight {
|
|
4
4
|
constructor() {
|
|
5
5
|
this.variant = KeyHighlightVariants.default;
|
|
@@ -7,7 +7,7 @@ export class HyKeyHighlight {
|
|
|
7
7
|
this.description = undefined;
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
const classVariant = [this.variant,
|
|
10
|
+
const classVariant = [this.variant, "hy-key-highlight"].join(" ");
|
|
11
11
|
return (h("div", { class: classVariant }, h("div", { class: "hy-key-highlight__title__container" }, h("div", { class: "hy-key-highlight__title", innerHTML: this.heading })), h("div", { class: "hy-key-highlight__description" }, this.description)));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "hy-key-highlight"; }
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { h, Host } from
|
|
2
|
-
import { KeyHighlightVariants } from
|
|
3
|
-
import { jsonParserWorker } from
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
|
+
import { KeyHighlightVariants } from "../../utils/utils";
|
|
3
|
+
import { jsonParserWorker } from "../../global/globalScript";
|
|
4
4
|
export class HyKeyHighlightGroup {
|
|
5
5
|
constructor() {
|
|
6
6
|
this.variant = KeyHighlightVariants.default;
|
|
7
7
|
this.dataItems = undefined;
|
|
8
|
-
this.headerstyle =
|
|
8
|
+
this.headerstyle = "common";
|
|
9
9
|
}
|
|
10
10
|
async componentWillLoad() {
|
|
11
11
|
this._dataItems = await jsonParserWorker(this.dataItems);
|
|
12
12
|
}
|
|
13
13
|
componentDidLoad() {
|
|
14
|
-
let hyMainDiv = this.el.closest(
|
|
14
|
+
let hyMainDiv = this.el.closest(".hy-main");
|
|
15
15
|
if (hyMainDiv) {
|
|
16
|
-
if (!hyMainDiv.classList.contains(
|
|
17
|
-
this.headerstyle =
|
|
16
|
+
if (!hyMainDiv.classList.contains("with-sidebar")) {
|
|
17
|
+
this.headerstyle = "large";
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
22
|
const classAttributes = [
|
|
23
23
|
this.variant,
|
|
24
|
-
|
|
24
|
+
"hy-key-highlight-group",
|
|
25
25
|
`hy-key-highlight-group__${this.headerstyle}`,
|
|
26
|
-
].join(
|
|
26
|
+
].join(" ");
|
|
27
27
|
const dataItemCount = this._dataItems.length;
|
|
28
|
-
const classItem = dataItemCount % 4 == 0 ?
|
|
28
|
+
const classItem = dataItemCount % 4 == 0 ? "box-4" : "box";
|
|
29
29
|
return (h(Host, null, h("div", { class: classAttributes }, this._dataItems.map((x) => {
|
|
30
30
|
return (h("hy-key-highlight", { class: classItem, variant: this.variant, heading: x.heading, description: x.description }));
|
|
31
31
|
}))));
|
|
@@ -76,7 +76,7 @@ export class HyKeyHighlightGroup {
|
|
|
76
76
|
"references": {
|
|
77
77
|
"KeyHighlightValue": {
|
|
78
78
|
"location": "local",
|
|
79
|
-
"path": "/
|
|
79
|
+
"path": "/Users/tuukkaturu/hy/hy-ds/design-system-lib/core/src/components/hy-key-highlight-group/hy-key-highlight-group.tsx"
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
},
|
|
@@ -105,7 +105,7 @@ export class HyKeyHighlightGroup {
|
|
|
105
105
|
},
|
|
106
106
|
"attribute": "headerstyle",
|
|
107
107
|
"reflect": false,
|
|
108
|
-
"defaultValue": "
|
|
108
|
+
"defaultValue": "\"common\""
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
111
|
}
|