@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
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface HyBoxContainer extends Components.HyBoxContainer, HTMLElement {}
|
|
4
|
+
export const HyBoxContainer: {
|
|
5
|
+
prototype: HyBoxContainer;
|
|
6
|
+
new (): HyBoxContainer;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { c as css } from './emotion.esm.js';
|
|
3
|
+
|
|
4
|
+
const hyBoxContainerCss = ":host{display:block}";
|
|
5
|
+
|
|
6
|
+
const HyBoxContainer$1 = /*@__PURE__*/ proxyCustomElement(class HyBoxContainer extends HTMLElement {
|
|
7
|
+
constructor() {
|
|
8
|
+
super();
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
this.wrap = true;
|
|
11
|
+
this.maxWidth = true;
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
return (h(Host, { style: { width: "100%", display: "flex", flex: "1", justifyContent: "center" } }, h("div", { class: css `
|
|
15
|
+
display: flex;
|
|
16
|
+
width: 100%;
|
|
17
|
+
flex-wrap: ${this.wrap ? "wrap" : "no-wrap"};
|
|
18
|
+
max-width: ${this.maxWidth ? "90rem" : "100%"};
|
|
19
|
+
` }, h("slot", null))));
|
|
20
|
+
}
|
|
21
|
+
static get style() { return hyBoxContainerCss; }
|
|
22
|
+
}, [4, "hy-box-container", {
|
|
23
|
+
"wrap": [4],
|
|
24
|
+
"maxWidth": [4, "max-width"]
|
|
25
|
+
}]);
|
|
26
|
+
function defineCustomElement$1() {
|
|
27
|
+
if (typeof customElements === "undefined") {
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
const components = ["hy-box-container"];
|
|
31
|
+
components.forEach(tagName => { switch (tagName) {
|
|
32
|
+
case "hy-box-container":
|
|
33
|
+
if (!customElements.get(tagName)) {
|
|
34
|
+
customElements.define(tagName, HyBoxContainer$1);
|
|
35
|
+
}
|
|
36
|
+
break;
|
|
37
|
+
} });
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
const HyBoxContainer = HyBoxContainer$1;
|
|
41
|
+
const defineCustomElement = defineCustomElement$1;
|
|
42
|
+
|
|
43
|
+
export { HyBoxContainer, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface HyBox extends Components.HyBox, HTMLElement {}
|
|
4
|
+
export const HyBox: {
|
|
5
|
+
prototype: HyBox;
|
|
6
|
+
new (): HyBox;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { c as css } from './emotion.esm.js';
|
|
3
|
+
|
|
4
|
+
const hyBoxCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}";
|
|
5
|
+
|
|
6
|
+
/*
|
|
7
|
+
Example of using hy-box:
|
|
8
|
+
<hy-box mb="1.75, 1.75, 2, 2.5" />
|
|
9
|
+
Where mb = margin-bottom,
|
|
10
|
+
mobile up to 30rem: 1.75rem (mb[0])
|
|
11
|
+
tablet, 30rem - 60rem: 1.75rem (mb[1])
|
|
12
|
+
wide, 60rem to 75rem or 60rem to 100.0625rem (depending on hasSidebar) (mb[2])
|
|
13
|
+
xlarge, > 100.0625: 2.5rem (mb[3])
|
|
14
|
+
* */
|
|
15
|
+
const toRemValue = (val) => {
|
|
16
|
+
return typeof val === "number" ? `${val}rem` : undefined;
|
|
17
|
+
};
|
|
18
|
+
const breakpoints = ["30rem", "60rem", "75.0625rem", "100.0625rem"];
|
|
19
|
+
/*
|
|
20
|
+
Default - mobile
|
|
21
|
+
mq[0] - tablet
|
|
22
|
+
mq[1] - wide, >960px
|
|
23
|
+
mq[2] - extrawide, > 1200px
|
|
24
|
+
mq[3] - xlarge, >1600px
|
|
25
|
+
* */
|
|
26
|
+
const mq = breakpoints.map((b) => `@media (min-width: ${b})`);
|
|
27
|
+
const createCssClass = ({ hasSidebar, pt, pb, pl, pr, mt, mb, ml, mr, h, bg, width, justify, align, direction }) => {
|
|
28
|
+
const last = width[width.length - 1];
|
|
29
|
+
return css `
|
|
30
|
+
padding-top: ${toRemValue(pt[0])};
|
|
31
|
+
padding-right: ${toRemValue(pr[0])};
|
|
32
|
+
padding-bottom: ${toRemValue(pb[0])};
|
|
33
|
+
padding-left: ${toRemValue(pl[0])};
|
|
34
|
+
margin-top: ${toRemValue(mt[0])};
|
|
35
|
+
margin-right: ${toRemValue(mr[0])};
|
|
36
|
+
margin-bottom: ${toRemValue(mb[0])};
|
|
37
|
+
margin-left: ${toRemValue(ml[0])};
|
|
38
|
+
height: ${toRemValue(h)};
|
|
39
|
+
background-color: ${!!bg ? `var(--${bg})` : "transparent"};
|
|
40
|
+
width: ${width[0]};
|
|
41
|
+
display: flex;
|
|
42
|
+
flex-flow: ${direction || "row"};
|
|
43
|
+
justify-content: ${justify || "flex-start"};
|
|
44
|
+
align-items: ${align || "flex-start"};
|
|
45
|
+
|
|
46
|
+
${mq[0]} {
|
|
47
|
+
width: ${width[1]};
|
|
48
|
+
|
|
49
|
+
padding-top: ${toRemValue(pt[1])};
|
|
50
|
+
padding-right: ${toRemValue(pr[1])};
|
|
51
|
+
padding-bottom: ${toRemValue(pb[1])};
|
|
52
|
+
padding-left: ${toRemValue(pl[1])};
|
|
53
|
+
|
|
54
|
+
margin-top: ${toRemValue(mt[1])};
|
|
55
|
+
margin-right: ${toRemValue(mr[1])};
|
|
56
|
+
margin-bottom: ${toRemValue(mb[1])};
|
|
57
|
+
margin-left: ${toRemValue(ml[1])};
|
|
58
|
+
}
|
|
59
|
+
${mq[1]} {
|
|
60
|
+
width: ${width[2] || last};
|
|
61
|
+
|
|
62
|
+
padding-top: ${toRemValue(pt[2])};
|
|
63
|
+
padding-right: ${toRemValue(pr[2])};
|
|
64
|
+
padding-bottom: ${toRemValue(pb[2])};
|
|
65
|
+
padding-left: ${toRemValue(pl[2])};
|
|
66
|
+
|
|
67
|
+
margin-top: ${toRemValue(mt[2])};
|
|
68
|
+
margin-right: ${toRemValue(mr[2])};
|
|
69
|
+
margin-bottom: ${toRemValue(mb[2])};
|
|
70
|
+
margin-left: ${toRemValue(ml[2])};
|
|
71
|
+
}
|
|
72
|
+
${mq[2]} {
|
|
73
|
+
width: ${width[3] || last};
|
|
74
|
+
|
|
75
|
+
padding-top: ${hasSidebar ? `${toRemValue(pt[2])}` : `${toRemValue(pt[3])}`};
|
|
76
|
+
padding-right: ${hasSidebar ? `${toRemValue(pr[2])}` : `${toRemValue(pr[3])}`};
|
|
77
|
+
padding-bottom: ${hasSidebar ? `${toRemValue(pb[2])}` : `${toRemValue(pb[3])}`};
|
|
78
|
+
padding-left: ${hasSidebar ? `${toRemValue(pl[2])}` : `${toRemValue(pl[3])}`};
|
|
79
|
+
|
|
80
|
+
margin-top: ${hasSidebar ? `${toRemValue(mt[2])}` : `${toRemValue(mt[3])}`};
|
|
81
|
+
margin-right: ${hasSidebar ? `${toRemValue(mr[2])}` : `${toRemValue(mr[3])}`};
|
|
82
|
+
margin-bottom: ${hasSidebar ? `${toRemValue(mb[2])}` : `${toRemValue(mb[3])}`};
|
|
83
|
+
margin-left: ${hasSidebar ? `${toRemValue(ml[2])}` : `${toRemValue(ml[3])}`};
|
|
84
|
+
}
|
|
85
|
+
${mq[3]} {
|
|
86
|
+
width: ${width[4] || last};
|
|
87
|
+
|
|
88
|
+
padding-top: ${toRemValue(pt[3])};
|
|
89
|
+
padding-right: ${toRemValue(pr[3])};
|
|
90
|
+
padding-bottom: ${toRemValue(pb[3])};
|
|
91
|
+
padding-left: ${toRemValue(pl[3])};
|
|
92
|
+
|
|
93
|
+
margin-top: ${toRemValue(mt[3])};
|
|
94
|
+
margin-right: ${toRemValue(mr[3])};
|
|
95
|
+
margin-bottom: ${toRemValue(mb[3])};
|
|
96
|
+
margin-left: ${toRemValue(ml[3])};
|
|
97
|
+
}
|
|
98
|
+
`;
|
|
99
|
+
};
|
|
100
|
+
const toNumArray = (value) => value === null || value === void 0 ? void 0 : value.split(",").map((v) => `${v.trim()}`).map((v) => parseFloat(v));
|
|
101
|
+
const HyBox = /*@__PURE__*/ proxyCustomElement(class HyBox extends HTMLElement {
|
|
102
|
+
constructor() {
|
|
103
|
+
super();
|
|
104
|
+
this.__registerHost();
|
|
105
|
+
this.headerstyle = "common";
|
|
106
|
+
this.p = undefined;
|
|
107
|
+
this.pl = undefined;
|
|
108
|
+
this.pr = undefined;
|
|
109
|
+
this.pb = undefined;
|
|
110
|
+
this.pt = undefined;
|
|
111
|
+
this.m = undefined;
|
|
112
|
+
this.ml = undefined;
|
|
113
|
+
this.mr = undefined;
|
|
114
|
+
this.mb = undefined;
|
|
115
|
+
this.mt = undefined;
|
|
116
|
+
this.justify = "flex-start";
|
|
117
|
+
this.align = "baseline";
|
|
118
|
+
this.h = undefined;
|
|
119
|
+
this.bg = "transparent";
|
|
120
|
+
this.width = "100";
|
|
121
|
+
this.direction = "row";
|
|
122
|
+
}
|
|
123
|
+
componentWillLoad() {
|
|
124
|
+
let hyMainDiv = this.el.closest(".hy-main");
|
|
125
|
+
if (hyMainDiv) {
|
|
126
|
+
if (!hyMainDiv.classList.contains("with-sidebar")) {
|
|
127
|
+
this.headerstyle = "large";
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
render() {
|
|
132
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
133
|
+
const pt = (_b = (_a = toNumArray(this.pt)) !== null && _a !== void 0 ? _a : toNumArray(this.p)) !== null && _b !== void 0 ? _b : [0];
|
|
134
|
+
const pb = (_d = (_c = toNumArray(this.pb)) !== null && _c !== void 0 ? _c : toNumArray(this.p)) !== null && _d !== void 0 ? _d : [0];
|
|
135
|
+
const pr = (_f = (_e = toNumArray(this.pr)) !== null && _e !== void 0 ? _e : toNumArray(this.p)) !== null && _f !== void 0 ? _f : [0];
|
|
136
|
+
const pl = (_h = (_g = toNumArray(this.pl)) !== null && _g !== void 0 ? _g : toNumArray(this.p)) !== null && _h !== void 0 ? _h : [0];
|
|
137
|
+
const mt = (_k = (_j = toNumArray(this.mt)) !== null && _j !== void 0 ? _j : toNumArray(this.m)) !== null && _k !== void 0 ? _k : [0];
|
|
138
|
+
const mb = (_m = (_l = toNumArray(this.mb)) !== null && _l !== void 0 ? _l : toNumArray(this.m)) !== null && _m !== void 0 ? _m : [0];
|
|
139
|
+
const mr = (_p = (_o = toNumArray(this.mr)) !== null && _o !== void 0 ? _o : toNumArray(this.m)) !== null && _p !== void 0 ? _p : [0];
|
|
140
|
+
const ml = (_r = (_q = toNumArray(this.ml)) !== null && _q !== void 0 ? _q : toNumArray(this.m)) !== null && _r !== void 0 ? _r : [0];
|
|
141
|
+
const hasSidebar = this.headerstyle == "common";
|
|
142
|
+
return (h(Host, { class: createCssClass({
|
|
143
|
+
hasSidebar,
|
|
144
|
+
pt,
|
|
145
|
+
pl,
|
|
146
|
+
pr,
|
|
147
|
+
pb,
|
|
148
|
+
mt,
|
|
149
|
+
ml,
|
|
150
|
+
mr,
|
|
151
|
+
mb,
|
|
152
|
+
h: this.h,
|
|
153
|
+
bg: this.bg,
|
|
154
|
+
width: this.width.split(",").map((v) => `${v.trim()}%`),
|
|
155
|
+
justify: this.justify,
|
|
156
|
+
align: this.align,
|
|
157
|
+
direction: this.direction,
|
|
158
|
+
}) }, h("slot", null)));
|
|
159
|
+
}
|
|
160
|
+
get el() { return this; }
|
|
161
|
+
static get style() { return hyBoxCss; }
|
|
162
|
+
}, [4, "hy-box", {
|
|
163
|
+
"headerstyle": [1],
|
|
164
|
+
"p": [1],
|
|
165
|
+
"pl": [1],
|
|
166
|
+
"pr": [1],
|
|
167
|
+
"pb": [1],
|
|
168
|
+
"pt": [1],
|
|
169
|
+
"m": [1],
|
|
170
|
+
"ml": [1],
|
|
171
|
+
"mr": [1],
|
|
172
|
+
"mb": [1],
|
|
173
|
+
"mt": [1],
|
|
174
|
+
"justify": [1],
|
|
175
|
+
"align": [1],
|
|
176
|
+
"h": [2],
|
|
177
|
+
"bg": [1],
|
|
178
|
+
"width": [1],
|
|
179
|
+
"direction": [1]
|
|
180
|
+
}]);
|
|
181
|
+
function defineCustomElement() {
|
|
182
|
+
if (typeof customElements === "undefined") {
|
|
183
|
+
return;
|
|
184
|
+
}
|
|
185
|
+
const components = ["hy-box"];
|
|
186
|
+
components.forEach(tagName => { switch (tagName) {
|
|
187
|
+
case "hy-box":
|
|
188
|
+
if (!customElements.get(tagName)) {
|
|
189
|
+
customElements.define(tagName, HyBox);
|
|
190
|
+
}
|
|
191
|
+
break;
|
|
192
|
+
} });
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export { HyBox as H, defineCustomElement as d };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface HyBreadcrumbs extends Components.HyBreadcrumbs, HTMLElement {}
|
|
4
|
+
export const HyBreadcrumbs: {
|
|
5
|
+
prototype: HyBreadcrumbs;
|
|
6
|
+
new (): HyBreadcrumbs;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { B as BreadcrumbVariants } from './utils.js';
|
|
3
|
+
import { j as jsonParserWorker } from './globalScript.js';
|
|
4
|
+
import { d as defineCustomElement$2 } from './icon.js';
|
|
5
|
+
|
|
6
|
+
const hyBreadcrumbsCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-breadcrumbs{display:inline-block;position:relative;width:auto}.hy-breadcrumbs.is-condensed{width:100%}.hy-breadcrumbs ol{margin:0;padding:0}.hy-breadcrumbs .breadcrumb-container{display:-webkit-box;display:-ms-flexbox;display:flex;font-family:var(--main-font-family);-ms-flex-wrap:wrap;flex-wrap:wrap;list-style-type:none;margin:0;padding:20px 0 16px}@media (min-width: 30rem){.hy-breadcrumbs .breadcrumb-container{padding:24px 0 16px}}@media (min-width: 75.0625rem){.hy-breadcrumbs .breadcrumb-container{padding:32px 0 16px}}.hy-breadcrumbs .breadcrumb-item{font-size:0.9375rem;line-height:20px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;font-weight:600;font-family:var(--main-font-family);margin-bottom:0.75rem;letter-spacing:-0.5px}@media (min-width: 30rem){.hy-breadcrumbs .breadcrumb-item{margin-bottom:1rem}}.hy-breadcrumbs .breadcrumb-item .breadcrumb-item__link{color:var(--brand-main-light);text-decoration:none}.hy-breadcrumbs .breadcrumb-item .breadcrumb-item__icon{margin:0 21px}.hy-breadcrumbs .breadcrumb-item:hover .breadcrumb-item__link{color:var(--brand-main-active)}.hy-breadcrumbs .breadcrumb-item--current a{font-size:0.9375rem;line-height:20px;color:var(--grayscale-dark);display:block;font-family:var(--main-font-family);font-weight:600;letter-spacing:-0.5px;text-decoration:none}";
|
|
7
|
+
|
|
8
|
+
const HyBreadcrumbs$1 = /*@__PURE__*/ proxyCustomElement(class HyBreadcrumbs extends HTMLElement {
|
|
9
|
+
constructor() {
|
|
10
|
+
super();
|
|
11
|
+
this.__registerHost();
|
|
12
|
+
this.dataItems = undefined;
|
|
13
|
+
this.variant = BreadcrumbVariants.default;
|
|
14
|
+
this.headerstyle = "with-sidebar";
|
|
15
|
+
this.menuOpen = false;
|
|
16
|
+
}
|
|
17
|
+
async componentWillLoad() {
|
|
18
|
+
this._dataItems = await jsonParserWorker(this.dataItems);
|
|
19
|
+
}
|
|
20
|
+
componentDidLoad() {
|
|
21
|
+
let hyMainDiv = this.el.closest(".hy-main");
|
|
22
|
+
if (hyMainDiv) {
|
|
23
|
+
if (!hyMainDiv.classList.contains("with-sidebar")) {
|
|
24
|
+
this.headerstyle = "without-sidebar";
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
render() {
|
|
29
|
+
const breadcrumbsClass = ["hy-breadcrumbs", this.variant, this.headerstyle].join(" ");
|
|
30
|
+
return (h("nav", { "aria-label": "Breadcrumb", role: "navigation", "aria-labelledby": "system-breadcrumb", class: breadcrumbsClass }, h("ol", { class: "breadcrumb-container" }, this._dataItems.map((item) => {
|
|
31
|
+
if (item.url.length > 0) {
|
|
32
|
+
return (h("li", { class: "breadcrumb-item" }, h("a", { class: "breadcrumb-item__link", href: item.url }, item.text), h("hy-icon", { class: "breadcrumb-item__icon", icon: "hy-icon-caret-right", size: 12 })));
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
return (h("li", { class: "breadcrumb-item breadcrumb-item--current" }, h("a", { href: item.url, "aria-current": "page" }, item.text)));
|
|
36
|
+
}
|
|
37
|
+
}))));
|
|
38
|
+
}
|
|
39
|
+
get el() { return this; }
|
|
40
|
+
static get style() { return hyBreadcrumbsCss; }
|
|
41
|
+
}, [0, "hy-breadcrumbs", {
|
|
42
|
+
"dataItems": [1, "data-items"],
|
|
43
|
+
"variant": [1],
|
|
44
|
+
"headerstyle": [1],
|
|
45
|
+
"menuOpen": [32]
|
|
46
|
+
}]);
|
|
47
|
+
function defineCustomElement$1() {
|
|
48
|
+
if (typeof customElements === "undefined") {
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
const components = ["hy-breadcrumbs", "hy-icon"];
|
|
52
|
+
components.forEach(tagName => { switch (tagName) {
|
|
53
|
+
case "hy-breadcrumbs":
|
|
54
|
+
if (!customElements.get(tagName)) {
|
|
55
|
+
customElements.define(tagName, HyBreadcrumbs$1);
|
|
56
|
+
}
|
|
57
|
+
break;
|
|
58
|
+
case "hy-icon":
|
|
59
|
+
if (!customElements.get(tagName)) {
|
|
60
|
+
defineCustomElement$2();
|
|
61
|
+
}
|
|
62
|
+
break;
|
|
63
|
+
} });
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
const HyBreadcrumbs = HyBreadcrumbs$1;
|
|
67
|
+
const defineCustomElement = defineCustomElement$1;
|
|
68
|
+
|
|
69
|
+
export { HyBreadcrumbs, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface HyButton extends Components.HyButton, HTMLElement {}
|
|
4
|
+
export const HyButton: {
|
|
5
|
+
prototype: HyButton;
|
|
6
|
+
new (): HyButton;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { d as defineCustomElement$2 } from './icon.js';
|
|
3
|
+
|
|
4
|
+
const colors = {
|
|
5
|
+
brandMain: "#0e688b",
|
|
6
|
+
brandMainLight: "#107eab",
|
|
7
|
+
brandMainActive: "#005379",
|
|
8
|
+
brandMainDark: "#003146",
|
|
9
|
+
brandMainNearlyBlack: "#000222",
|
|
10
|
+
grayscaleWhite: "#fff",
|
|
11
|
+
grayscaleLight: "#f8f8f8",
|
|
12
|
+
grayscaleMedium: "#d2d2d2",
|
|
13
|
+
grayscaleBackgroundBox: "#f5f5f5",
|
|
14
|
+
grayscaleBackgroundArrow: "#dfdfdf",
|
|
15
|
+
grayscaleMediumDark: "#979797",
|
|
16
|
+
grayscaleDark: "#555555",
|
|
17
|
+
grayscaleBlack: "#000000",
|
|
18
|
+
additionalRedLight: "#E5053A",
|
|
19
|
+
additionalRedDark: "#A31621",
|
|
20
|
+
additionalPurpleLight: "#420039",
|
|
21
|
+
additionalYellow: "#F9A21A",
|
|
22
|
+
additionalSkyblue: "#48C5F8",
|
|
23
|
+
additionalOrange: "#D14600",
|
|
24
|
+
additionalGreenLight: "#96BA3C",
|
|
25
|
+
additionalGreenDark: "#006400",
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
const buttonCss = "@charset \"UTF-8\";:root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block;-webkit-box-sizing:border-box;box-sizing:border-box}.hy-button__icon{-ms-flex-line-pack:center;align-content:center;display:-webkit-box;display:-ms-flexbox;display:flex}.hy-button{display:block;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--brand-main);color:var(--grayscale-white);font-family:var(--main-font-family);border:none;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;font-size:0.9375rem;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;line-height:0.9375rem;margin:0;padding:0;-webkit-transition-duration:0.1s;transition-duration:0.1s;-webkit-transition-property:all;transition-property:all;min-height:44px;position:relative;text-decoration:none}.hy-button.size-large{min-height:48px}.hy-button.primary{background-color:var(--brand-main);color:var(--grayscale-white)}.hy-button.primary .hy-button__icon{padding:8px 13px}.hy-button.primary svg{fill:var(--grayscale-white)}.hy-button.primary:hover{background-color:var(--brand-main-active)}.hy-button.primary:active{background-color:var(--brand-main-dark)}.hy-button.primary:disabled{background-color:var(--grayscale-medium);color:var(--grayscale-dark)}.hy-button.primary:disabled svg{fill:var(--grayscale-dark)}.hy-button.primary:focus{outline:solid 2px var(--additional-yellow);outline-offset:2px}.hy-button.secondary{background-color:transparent;border:solid 2px var(--brand-main);color:var(--brand-main)}.hy-button.secondary svg{fill:var(--brand-main)}.hy-button.secondary:hover{border:solid 2px var(--brand-main-active);color:var(--brand-main-active)}.hy-button.secondary:hover svg{fill:var(--brand-main-active)}.hy-button.secondary:active{border:solid 2px var(--brand-main-dark);color:var(--brand-main-dark)}.hy-button.secondary:active svg{fill:var(--brand-main-dark)}.hy-button.secondary:disabled{border:solid 2px var(--grayscale-medium-dark);color:var(--grayscale-medium-dark)}.hy-button.secondary:disabled svg{fill:var(--grayscale-medium-dark)}.hy-button::after{content:\"\";display:block;border-bottom:2px solid var(--additional-skyblue);position:absolute;bottom:-3.5px;left:3px;right:3px;z-index:0}.hy-button.primary::after{bottom:-2px}.hy-button:disabled{cursor:not-allowed}.hy-button:disabled::after{border-bottom:2px solid var(--grayscale-medium-dark);bottom:-3.5px}.hy-button:disabled.primary::after{bottom:-2px}.hy-button .hy-button__text{margin:12px 24px}.hy-button .hy-button__icon-right{padding-right:12px}hy-button[icon-right=hy-icon-arrow-right] .primary .hy-button__text{margin:12px 0 12px 16px;padding-right:16px}hy-button[icon-right=hy-icon-arrow-right] .primary:not(disabled) .hy-button__text{border-right:solid 1px var(--additional-skyblue)}hy-button[icon-right=hy-icon-arrow-right] .primary:disabled .hy-button__text{border-right:solid 1px var(--grayscale-dark)}hy-button[icon-right=hy-icon-arrow-right] .secondary .hy-button__text{margin:12px 16px}hy-button[icon-right=hy-icon-arrow-right] .secondary .hy-button__icon{padding-right:1rem;padding-left:0}hy-button[icon=hy-icon-arrow-left] .primary .hy-button__text{margin:12px 16px 12px 0;padding-left:16px}hy-button[icon=hy-icon-arrow-left] .primary:not(disabled) .hy-button__text{border-left:solid 1px var(--additional-skyblue)}hy-button[icon=hy-icon-arrow-left] .primary:disabled .hy-button__text{border-left:solid 1px var(--grayscale-dark)}hy-button[icon=hy-icon-arrow-left] .secondary .hy-button__text{margin:12px 16px}hy-button[icon=hy-icon-arrow-left] .secondary .hy-button__icon{padding-left:1rem;padding-right:0}";
|
|
29
|
+
|
|
30
|
+
const fillcolors = {
|
|
31
|
+
primary: colors.brandMain,
|
|
32
|
+
secondary: "white",
|
|
33
|
+
};
|
|
34
|
+
const Button = /*@__PURE__*/ proxyCustomElement(class Button extends HTMLElement {
|
|
35
|
+
constructor() {
|
|
36
|
+
super();
|
|
37
|
+
this.__registerHost();
|
|
38
|
+
this.buttonType = "submit";
|
|
39
|
+
this.buttonClasses = "";
|
|
40
|
+
this.variant = "primary";
|
|
41
|
+
this.state = "enabled";
|
|
42
|
+
this.size = "normal";
|
|
43
|
+
this.disabled = false;
|
|
44
|
+
this.url = "";
|
|
45
|
+
this.ariaLabel = "";
|
|
46
|
+
this.isExternal = false;
|
|
47
|
+
this.icon = undefined;
|
|
48
|
+
this.iconRight = undefined;
|
|
49
|
+
this.attrs = "";
|
|
50
|
+
}
|
|
51
|
+
render() {
|
|
52
|
+
const classAttributes = ["hy-button", this.variant, this.state, "size-" + this.size, this.buttonClasses];
|
|
53
|
+
const iconFillColor = fillcolors[this.variant];
|
|
54
|
+
const target = this.isExternal ? "_blank" : "_self";
|
|
55
|
+
let props = {};
|
|
56
|
+
if (this.attrs && this.attrs.length > 2) {
|
|
57
|
+
let attrString = JSON.parse(this.attrs);
|
|
58
|
+
let attrArray = attrString.split('" ');
|
|
59
|
+
attrArray.map((item) => {
|
|
60
|
+
let parts = item.split("=");
|
|
61
|
+
let key = parts[0];
|
|
62
|
+
let value = parts[1];
|
|
63
|
+
key = key.replaceAll('"', " ");
|
|
64
|
+
key = key.trim();
|
|
65
|
+
if (key !== "class") {
|
|
66
|
+
value = value.replaceAll('"', " ");
|
|
67
|
+
value = value.trim();
|
|
68
|
+
props[key] = value;
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
return this.url ? (h(Host, { "icon-right": "hy-icon-arrow-right", "aria-label": this.ariaLabel }, h("div", { style: { display: "flex" } }, h("a", { class: classAttributes.join(" "), href: this.url, target: target }, h("span", { class: "hy-button__text" }, h("slot", null)), h("span", { class: "hy-button__icon" }, h("hy-icon", { icon: "hy-icon-arrow-right", fill: iconFillColor, size: 13 })))))) : (h(Host, { "aria-label": this.ariaLabel }, h("button", Object.assign({ type: this.buttonType, class: classAttributes.join(" "), disabled: this.disabled }, props), !!this.icon && (h("span", { class: "hy-button__icon hy-button__icon--left" }, h("hy-icon", { icon: this.icon, fill: iconFillColor, size: 13 }))), h("span", { class: "hy-button__text" }, h("slot", null)), !!this.iconRight && (h("span", { class: "hy-button__icon hy-button__icon--right" }, h("hy-icon", { icon: this.iconRight, fill: iconFillColor, size: 13 }))))));
|
|
73
|
+
}
|
|
74
|
+
static get style() { return buttonCss; }
|
|
75
|
+
}, [4, "hy-button", {
|
|
76
|
+
"buttonType": [1, "button-type"],
|
|
77
|
+
"buttonClasses": [1, "button-classes"],
|
|
78
|
+
"variant": [1],
|
|
79
|
+
"state": [1],
|
|
80
|
+
"size": [1],
|
|
81
|
+
"disabled": [4],
|
|
82
|
+
"url": [1],
|
|
83
|
+
"ariaLabel": [1, "aria-label"],
|
|
84
|
+
"isExternal": [4, "is-external"],
|
|
85
|
+
"icon": [1],
|
|
86
|
+
"iconRight": [1, "icon-right"],
|
|
87
|
+
"attrs": [1]
|
|
88
|
+
}]);
|
|
89
|
+
function defineCustomElement$1() {
|
|
90
|
+
if (typeof customElements === "undefined") {
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
const components = ["hy-button", "hy-icon"];
|
|
94
|
+
components.forEach(tagName => { switch (tagName) {
|
|
95
|
+
case "hy-button":
|
|
96
|
+
if (!customElements.get(tagName)) {
|
|
97
|
+
customElements.define(tagName, Button);
|
|
98
|
+
}
|
|
99
|
+
break;
|
|
100
|
+
case "hy-icon":
|
|
101
|
+
if (!customElements.get(tagName)) {
|
|
102
|
+
defineCustomElement$2();
|
|
103
|
+
}
|
|
104
|
+
break;
|
|
105
|
+
} });
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
const HyButton = Button;
|
|
109
|
+
const defineCustomElement = defineCustomElement$1;
|
|
110
|
+
|
|
111
|
+
export { HyButton, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface HyCheckbox extends Components.HyCheckbox, HTMLElement {}
|
|
4
|
+
export const HyCheckbox: {
|
|
5
|
+
prototype: HyCheckbox;
|
|
6
|
+
new (): HyCheckbox;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { b as CheckboxVariants } from './utils.js';
|
|
3
|
+
import { d as defineCustomElement$2 } from './icon.js';
|
|
4
|
+
|
|
5
|
+
const hyCheckboxCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}.hy-checkbox{display:inline-block;position:relative;margin-right:1rem}.hy-checkbox__checkmark{border-color:var(--link-blue);border-style:solid inset solid solid;border-width:2px;height:20px;margin-right:6px;min-width:20px;min-height:20px;position:relative;width:20px}.hy-checkbox__checkmark svg{bottom:0;left:0;position:absolute;visibility:hidden}.hy-checkbox__checkmark::before{background-color:var(--grayscale-white);content:\"\";height:10px;position:absolute;right:0;-webkit-transform:rotate(40deg) translate(6%, -55%);transform:rotate(40deg) translate(6%, -55%);visibility:hidden;width:8px}.hy-checkbox__label{font-size:0.875rem;line-height:20px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--grayscale-black);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-family:var(--main-font-family);letter-spacing:-0.4px;text-align:left}@media (min-width: 30rem){.hy-checkbox__label{font-size:1rem;line-height:20px}}.hy-checkbox__checkbox{height:100%;margin:0;opacity:0;position:absolute;width:100%;z-index:10}.hy-checkbox__checkbox:checked+label{color:var(--grayscale-black)}.hy-checkbox__checkbox:checked+label .hy-checkbox__checkmark svg,.hy-checkbox__checkbox:checked+label .hy-checkbox__checkmark::before{visibility:visible}.hy-checkbox__checkbox:hover{cursor:pointer}.hy-checkbox__checkbox:hover+label{color:var(--brand-main)}.hy-checkbox__checkbox:focus+label{outline-offset:1px;outline:2px solid var(--link-blue)}.hy-checkbox--button{display:inline-block;margin-right:4px;position:relative}.hy-checkbox--button__label{font-size:0.75rem;line-height:14px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:0.5px solid var(--grayscale-medium-dark);color:var(--link-blue);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-family:var(--main-font-family);font-weight:600;letter-spacing:-0.3px;padding:12px 15px 12px 13px;z-index:1}@media (min-width: 60rem){.hy-checkbox--button__label{font-size:0.875rem;line-height:18px;letter-spacing:-0.4px;padding:9px 8px 9px 8px}}.hy-checkbox--button__checkmark{position:absolute;right:12px;top:0;bottom:0}@media (min-width: 60rem){.hy-checkbox--button__checkmark{right:10px;bottom:calc(50% + 10px)}}.hy-checkbox--button__checkmark svg{bottom:0;left:0;position:absolute;visibility:hidden}.hy-checkbox--button__label-icon{height:13px;position:absolute;width:12px}@media (min-width: 60rem){.hy-checkbox--button__label-icon{padding:10px;right:-6px;top:calc(50% + 5px)}}.hy-checkbox--button__label-icon svg{background:var(--grayscale-white);height:12px;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);width:12px}.hy-checkbox--button__checkbox{height:100%;margin:0;opacity:0;position:absolute;width:100%;z-index:10}.hy-checkbox--button__checkbox:checked+label{border:1px solid var(--grayscale-black);color:var(--grayscale-black);padding:12px 15px 12px 13px}@media (min-width: 60rem){.hy-checkbox--button__checkbox:checked+label{border:2px solid var(--grayscale-black);padding:8px 26px 8px 7px}}.hy-checkbox--button__checkbox:checked+label .hy-checkbox--button__checkmark .hy-checkbox--button__label-icon{background:var(--grayscale-white)}.hy-checkbox--button__checkbox:checked+label .hy-checkbox--button__checkmark svg{visibility:visible}.hy-checkbox--button__checkbox:hover{cursor:pointer}.hy-checkbox--button__checkbox:focus+label{outline-offset:1px;outline:1px solid var(--link-blue)}";
|
|
6
|
+
|
|
7
|
+
const HyCheckbox$1 = /*@__PURE__*/ proxyCustomElement(class HyCheckbox extends HTMLElement {
|
|
8
|
+
constructor() {
|
|
9
|
+
super();
|
|
10
|
+
this.__registerHost();
|
|
11
|
+
this.checkboxId = undefined;
|
|
12
|
+
this.checkboxValue = undefined;
|
|
13
|
+
this.checkboxLabel = undefined;
|
|
14
|
+
this.checkboxChecked = false;
|
|
15
|
+
this.variant = CheckboxVariants.default;
|
|
16
|
+
}
|
|
17
|
+
render() {
|
|
18
|
+
switch (this.variant) {
|
|
19
|
+
case "button":
|
|
20
|
+
return (h(Host, { class: "hy-checkbox--button" }, h("input", { type: "checkbox", class: "hy-checkbox--button__checkbox", checked: this.checkboxChecked, id: `${this.checkboxId}`, value: `${this.checkboxValue}` }), h("label", { class: "hy-checkbox--button__label", htmlFor: `${this.checkboxId}` }, this.checkboxLabel, h("span", { class: "hy-checkbox--button__checkmark" }, h("hy-icon", { class: "hy-checkbox--button__label-icon", icon: "hy-icon-done", size: 14, "aria-hidden": "true" })))));
|
|
21
|
+
default:
|
|
22
|
+
return (h(Host, { class: "hy-checkbox" }, h("input", { type: "checkbox", class: "hy-checkbox__checkbox", checked: this.checkboxChecked, id: `${this.checkboxId}`, value: `${this.checkboxValue}` }), h("label", { class: "hy-checkbox__label", htmlFor: `${this.checkboxId}` }, h("span", { class: "hy-checkbox__checkmark" }, h("hy-icon", { class: "hy-checkbox__label-icon", icon: "hy-icon-done", size: 23, "aria-hidden": "true" })), this.checkboxLabel)));
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
static get style() { return hyCheckboxCss; }
|
|
26
|
+
}, [0, "hy-checkbox", {
|
|
27
|
+
"checkboxId": [8, "checkbox-id"],
|
|
28
|
+
"checkboxValue": [8, "checkbox-value"],
|
|
29
|
+
"checkboxLabel": [1, "checkbox-label"],
|
|
30
|
+
"checkboxChecked": [4, "checkbox-checked"],
|
|
31
|
+
"variant": [1]
|
|
32
|
+
}]);
|
|
33
|
+
function defineCustomElement$1() {
|
|
34
|
+
if (typeof customElements === "undefined") {
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
const components = ["hy-checkbox", "hy-icon"];
|
|
38
|
+
components.forEach(tagName => { switch (tagName) {
|
|
39
|
+
case "hy-checkbox":
|
|
40
|
+
if (!customElements.get(tagName)) {
|
|
41
|
+
customElements.define(tagName, HyCheckbox$1);
|
|
42
|
+
}
|
|
43
|
+
break;
|
|
44
|
+
case "hy-icon":
|
|
45
|
+
if (!customElements.get(tagName)) {
|
|
46
|
+
defineCustomElement$2();
|
|
47
|
+
}
|
|
48
|
+
break;
|
|
49
|
+
} });
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
const HyCheckbox = HyCheckbox$1;
|
|
53
|
+
const defineCustomElement = defineCustomElement$1;
|
|
54
|
+
|
|
55
|
+
export { HyCheckbox, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface HyCollaboration extends Components.HyCollaboration, HTMLElement {}
|
|
4
|
+
export const HyCollaboration: {
|
|
5
|
+
prototype: HyCollaboration;
|
|
6
|
+
new (): HyCollaboration;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { d as defineCustomElement$2 } from './icon.js';
|
|
3
|
+
|
|
4
|
+
const hyCollaborationCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}.hy-collaboration{border-bottom:1px solid var(--grayscale-dark);padding:32px 0}@media (min-width: 60rem){.hy-collaboration{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;display:grid;grid-template-columns:fit-content(calc(43.75% - 60px)) 1fr;gap:60px}}@media (min-width: 75.0625rem){.hy-collaboration{grid-template-columns:fit-content(calc(43% - 60px)) 1fr;padding:40px 0}}@media (min-width: 87.5rem){.hy-collaboration{grid-template-columns:fit-content(calc(42.5% - 60px)) 1fr}}@media (min-width: 1601px){.hy-collaboration{grid-template-columns:fit-content(calc(41.85% - 60px)) 1fr}}@media (min-width: 1750px){.hy-collaboration{grid-template-columns:fit-content(calc(41% - 60px)) 1fr}}@media (min-width: 120.0625rem){.hy-collaboration{grid-template-columns:fit-content(428px) 1fr}}.hy-collaboration__logo{margin:0 0 32px;padding:0}@media (min-width: 60rem){.hy-collaboration__logo{margin:0}}.hy-collaboration__logo img{max-width:75%;max-height:200px}@media (min-width: 30rem){.hy-collaboration__logo img{max-width:50%}}@media (min-width: 60rem){.hy-collaboration__logo img{max-width:100%;max-height:260px}}.hy-collaboration__description{font-size:0.9375rem;line-height:22px;font-family:var(--main-font-family);margin:0 0 12px}@media (min-width: 30rem){.hy-collaboration__description{font-size:1rem;line-height:24px}}@media (min-width: 75.0625rem){.hy-collaboration__description{font-size:1.0625rem;line-height:26px}}.hy-collaboration__link{font-size:0.9375rem;line-height:22px;font-weight:600;font-family:var(--main-font-family);color:var(--link-blue);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}@media (min-width: 30rem){.hy-collaboration__link{font-size:1rem;line-height:24px}}@media (min-width: 75.0625rem){.hy-collaboration__link{font-size:1.0625rem;line-height:26px}}.hy-collaboration__link span{margin-left:4px}.hy-collaboration__link span svg{fill:var(--link-blue)}";
|
|
5
|
+
|
|
6
|
+
const HyCollaboration$1 = /*@__PURE__*/ proxyCustomElement(class HyCollaboration extends HTMLElement {
|
|
7
|
+
constructor() {
|
|
8
|
+
super();
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
this.textDescription = undefined;
|
|
11
|
+
this.linkUrl = undefined;
|
|
12
|
+
this.linkTitle = undefined;
|
|
13
|
+
this.imageUrl = undefined;
|
|
14
|
+
this.imageAltText = undefined;
|
|
15
|
+
}
|
|
16
|
+
render() {
|
|
17
|
+
return (h("div", { class: "hy-collaboration" }, h("figure", { class: "hy-collaboration__logo", role: "complementary" }, h("img", { src: this.imageUrl, alt: this.imageAltText })), h("div", { class: "hy-collaboration__content" }, h("p", { class: "hy-collaboration__description" }, this.textDescription), this.linkUrl && (h("a", { href: this.linkUrl, class: "hy-collaboration__link" }, this.linkTitle, h("span", { "aria-hidden": "true" }, h("hy-icon", { icon: "hy-icon-arrow-right", size: 10 })))))));
|
|
18
|
+
}
|
|
19
|
+
static get style() { return hyCollaborationCss; }
|
|
20
|
+
}, [0, "hy-collaboration", {
|
|
21
|
+
"textDescription": [1, "text-description"],
|
|
22
|
+
"linkUrl": [1, "link-url"],
|
|
23
|
+
"linkTitle": [1, "link-title"],
|
|
24
|
+
"imageUrl": [1, "image-url"],
|
|
25
|
+
"imageAltText": [1, "image-alt-text"]
|
|
26
|
+
}]);
|
|
27
|
+
function defineCustomElement$1() {
|
|
28
|
+
if (typeof customElements === "undefined") {
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
const components = ["hy-collaboration", "hy-icon"];
|
|
32
|
+
components.forEach(tagName => { switch (tagName) {
|
|
33
|
+
case "hy-collaboration":
|
|
34
|
+
if (!customElements.get(tagName)) {
|
|
35
|
+
customElements.define(tagName, HyCollaboration$1);
|
|
36
|
+
}
|
|
37
|
+
break;
|
|
38
|
+
case "hy-icon":
|
|
39
|
+
if (!customElements.get(tagName)) {
|
|
40
|
+
defineCustomElement$2();
|
|
41
|
+
}
|
|
42
|
+
break;
|
|
43
|
+
} });
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
const HyCollaboration = HyCollaboration$1;
|
|
47
|
+
const defineCustomElement = defineCustomElement$1;
|
|
48
|
+
|
|
49
|
+
export { HyCollaboration, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface HyContentListItem extends Components.HyContentListItem, HTMLElement {}
|
|
4
|
+
export const HyContentListItem: {
|
|
5
|
+
prototype: HyContentListItem;
|
|
6
|
+
new (): HyContentListItem;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|