@itcenteratunihelsinki/huds-lib 0.5.12 → 0.5.16
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/dist/cjs/color-box.cjs.entry.js +1 -1
- package/dist/cjs/{globalScript-1c4e262e.js → globalScript-92a1392d.js} +1 -1
- package/dist/cjs/huds-lib.cjs.js +3 -3
- package/dist/cjs/hy-accordion-container.cjs.entry.js +1 -1
- package/dist/cjs/hy-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/hy-adjacent-image-text.cjs.entry.js +2 -2
- package/dist/cjs/hy-anchor-link-list.cjs.entry.js +2 -2
- package/dist/cjs/hy-badge.cjs.entry.js +1 -1
- package/dist/cjs/hy-banner.cjs.entry.js +1 -1
- package/dist/cjs/hy-baseline.cjs.entry.js +1 -1
- package/dist/cjs/hy-box-container.cjs.entry.js +1 -1
- package/dist/cjs/hy-box.cjs.entry.js +1 -1
- package/dist/cjs/hy-breadcrumbs.cjs.entry.js +2 -2
- package/dist/cjs/hy-button.cjs.entry.js +1 -1
- package/dist/cjs/hy-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/hy-collaboration.cjs.entry.js +1 -1
- package/dist/cjs/hy-content-list-item.cjs.entry.js +2 -2
- package/dist/cjs/hy-content-list.cjs.entry.js +1 -1
- package/dist/cjs/hy-crisis-banner.cjs.entry.js +1 -1
- package/dist/cjs/hy-cta-button.cjs.entry.js +1 -1
- package/dist/cjs/hy-cta-link.cjs.entry.js +1 -1
- package/dist/cjs/hy-desktop-menu-links.cjs.entry.js +68 -102
- package/dist/cjs/hy-docs-container.cjs.entry.js +1 -1
- package/dist/cjs/hy-dropdown-panel_2.cjs.entry.js +1 -1
- package/dist/cjs/hy-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/hy-filter-group-item.cjs.entry.js +1 -1
- package/dist/cjs/hy-filter-group.cjs.entry.js +1 -1
- package/dist/cjs/hy-filter-list-type.cjs.entry.js +1 -1
- package/dist/cjs/hy-filter-visibility-tool-reset_2.cjs.entry.js +1 -1
- package/dist/cjs/hy-filter-visibility-tool.cjs.entry.js +1 -1
- package/dist/cjs/hy-footer_5.cjs.entry.js +2 -2
- package/dist/cjs/hy-general-list_2.cjs.entry.js +2 -2
- package/dist/cjs/hy-grid-container.cjs.entry.js +1 -1
- package/dist/cjs/hy-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/hy-grid-row.cjs.entry.js +1 -1
- package/dist/cjs/hy-heading.cjs.entry.js +9 -3
- package/dist/cjs/hy-hero.cjs.entry.js +5 -5
- package/dist/cjs/hy-icon.cjs.entry.js +1 -1
- package/dist/cjs/hy-image.cjs.entry.js +3 -3
- package/dist/cjs/hy-ingress.cjs.entry.js +1 -1
- package/dist/cjs/hy-introduction.cjs.entry.js +1 -1
- package/dist/cjs/hy-key-figure-group.cjs.entry.js +2 -2
- package/dist/cjs/hy-key-figure.cjs.entry.js +1 -1
- package/dist/cjs/hy-key-highlight-group.cjs.entry.js +2 -2
- package/dist/cjs/hy-key-highlight.cjs.entry.js +1 -1
- package/dist/cjs/hy-large-process-flow-phase.cjs.entry.js +2 -2
- package/dist/cjs/hy-large-process-flow.cjs.entry.js +2 -2
- package/dist/cjs/hy-link-box-list.cjs.entry.js +2 -2
- package/dist/cjs/hy-link-box.cjs.entry.js +1 -1
- package/dist/cjs/hy-link-list.cjs.entry.js +2 -2
- package/dist/cjs/hy-link.cjs.entry.js +1 -1
- package/dist/cjs/hy-list-item.cjs.entry.js +1 -1
- package/dist/cjs/hy-logo-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/hy-logo-grid.cjs.entry.js +1 -1
- package/dist/cjs/hy-main-content-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/hy-main.cjs.entry.js +1 -1
- package/dist/cjs/hy-menu-item-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/hy-menu-item.cjs.entry.js +5 -3
- package/dist/cjs/hy-menu-language-item.cjs.entry.js +5 -10
- package/dist/cjs/hy-menu-language_2.cjs.entry.js +19 -24
- package/dist/cjs/hy-menu-level-container.cjs.entry.js +3 -3
- package/dist/cjs/hy-menu-main-group.cjs.entry.js +3 -3
- package/dist/cjs/hy-menu-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/hy-menu.cjs.entry.js +7 -11
- package/dist/cjs/hy-mobile-menu-shortcuts.cjs.entry.js +26 -0
- package/dist/cjs/hy-opening-hours-content.cjs.entry.js +1 -1
- package/dist/cjs/hy-opening-hours.cjs.entry.js +1 -1
- package/dist/cjs/hy-pager-item.cjs.entry.js +1 -1
- package/dist/cjs/hy-pager.cjs.entry.js +1 -1
- package/dist/cjs/hy-paragraph-text.cjs.entry.js +1 -1
- package/dist/cjs/hy-person-card.cjs.entry.js +1 -1
- package/dist/cjs/hy-process-flow-box.cjs.entry.js +1 -1
- package/dist/cjs/hy-process.cjs.entry.js +2 -2
- package/dist/cjs/hy-prominent-image.cjs.entry.js +1 -1
- package/dist/cjs/hy-quote.cjs.entry.js +1 -1
- package/dist/cjs/hy-row.cjs.entry.js +1 -1
- package/dist/cjs/hy-search-field.cjs.entry.js +1 -1
- package/dist/cjs/hy-section-container.cjs.entry.js +1 -1
- package/dist/cjs/hy-shortcuts.cjs.entry.js +1 -1
- package/dist/cjs/hy-site-header_3.cjs.entry.js +43 -42
- package/dist/cjs/hy-table-container.cjs.entry.js +1 -1
- package/dist/cjs/hy-tabs-item.cjs.entry.js +1 -1
- package/dist/cjs/hy-tabs.cjs.entry.js +1 -1
- package/dist/cjs/hy-tag.cjs.entry.js +1 -1
- package/dist/cjs/hy-tiny-text.cjs.entry.js +1 -1
- package/dist/cjs/hy-twitter-feed.cjs.entry.js +1 -1
- package/dist/cjs/hy-two-columns.cjs.entry.js +1 -1
- package/dist/cjs/hy-user-login-form.cjs.entry.js +1 -1
- package/dist/cjs/hy-video.cjs.entry.js +1 -1
- package/dist/cjs/{index-52aea450.js → index-1b0fdf83.js} +2 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/heading/heading.js +32 -5
- package/dist/collection/components/hy-hero/hy-hero.css +6 -0
- package/dist/collection/components/hy-hero/hy-hero.js +2 -2
- package/dist/collection/components/image/image.css +7 -0
- package/dist/collection/components/image/image.js +1 -1
- package/dist/collection/components/navigation/hy-menu-main-group/hy-menu-main-group.css +3 -21
- package/dist/collection/components/navigation/menu/menu.css +51 -27
- package/dist/collection/components/navigation/menu/menu.js +10 -12
- package/dist/collection/components/navigation/menu-item/menu-item.css +69 -50
- package/dist/collection/components/navigation/menu-item/menu-item.js +25 -2
- package/dist/collection/components/navigation/menu-language/menu-language.css +79 -137
- package/dist/collection/components/navigation/menu-language/menu-language.js +18 -40
- package/dist/collection/components/navigation/menu-language-item/menu-language-item.css +15 -81
- package/dist/collection/components/navigation/menu-language-item/menu-language-item.js +4 -28
- package/dist/collection/components/navigation/menu-level-container/menu-level-container.css +1 -0
- package/dist/collection/components/navigation/menu-level-container/menu-level-container.js +2 -1
- package/dist/collection/components/navigation/menu-mobile-breadcrumb/menu-mobile-breadcrumb.css +13 -31
- package/dist/collection/components/navigation/menu-mobile-breadcrumb/menu-mobile-breadcrumb.js +2 -8
- package/dist/collection/components/navigation/mobile-menu-shortcuts/mobile-menu-shortcuts.css +140 -0
- package/dist/collection/components/navigation/mobile-menu-shortcuts/mobile-menu-shortcuts.js +68 -0
- package/dist/collection/components/site-header/hy-desktop-menu-links/hy-desktop-menu-links.css +236 -455
- package/dist/collection/components/site-header/hy-desktop-menu-links/hy-desktop-menu-links.js +132 -131
- package/dist/collection/components/site-header/site-header.css +189 -405
- package/dist/collection/components/site-header/site-header.js +83 -108
- package/dist/collection/components/site-header/site-logo/site-logo.css +2 -1
- package/dist/collection/components/site-header/site-search/site-search.css +58 -113
- package/dist/collection/components/site-header/site-search/site-search.js +3 -3
- package/dist/esm/color-box.entry.js +1 -1
- package/dist/esm/{globalScript-5c9d232b.js → globalScript-968b96dd.js} +1 -1
- package/dist/esm/huds-lib.js +3 -3
- package/dist/esm/hy-accordion-container.entry.js +1 -1
- package/dist/esm/hy-accordion-item.entry.js +1 -1
- package/dist/esm/hy-adjacent-image-text.entry.js +2 -2
- package/dist/esm/hy-anchor-link-list.entry.js +2 -2
- package/dist/esm/hy-badge.entry.js +1 -1
- package/dist/esm/hy-banner.entry.js +1 -1
- package/dist/esm/hy-baseline.entry.js +1 -1
- package/dist/esm/hy-box-container.entry.js +1 -1
- package/dist/esm/hy-box.entry.js +1 -1
- package/dist/esm/hy-breadcrumbs.entry.js +2 -2
- package/dist/esm/hy-button.entry.js +1 -1
- package/dist/esm/hy-checkbox.entry.js +1 -1
- package/dist/esm/hy-collaboration.entry.js +1 -1
- package/dist/esm/hy-content-list-item.entry.js +2 -2
- package/dist/esm/hy-content-list.entry.js +1 -1
- package/dist/esm/hy-crisis-banner.entry.js +1 -1
- package/dist/esm/hy-cta-button.entry.js +1 -1
- package/dist/esm/hy-cta-link.entry.js +1 -1
- package/dist/esm/hy-desktop-menu-links.entry.js +68 -102
- package/dist/esm/hy-docs-container.entry.js +1 -1
- package/dist/esm/hy-dropdown-panel_2.entry.js +1 -1
- package/dist/esm/hy-dropdown.entry.js +2 -2
- package/dist/esm/hy-filter-group-item.entry.js +1 -1
- package/dist/esm/hy-filter-group.entry.js +1 -1
- package/dist/esm/hy-filter-list-type.entry.js +1 -1
- package/dist/esm/hy-filter-visibility-tool-reset_2.entry.js +1 -1
- package/dist/esm/hy-filter-visibility-tool.entry.js +1 -1
- package/dist/esm/hy-footer_5.entry.js +2 -2
- package/dist/esm/hy-general-list_2.entry.js +2 -2
- package/dist/esm/hy-grid-container.entry.js +1 -1
- package/dist/esm/hy-grid-item.entry.js +1 -1
- package/dist/esm/hy-grid-row.entry.js +1 -1
- package/dist/esm/hy-heading.entry.js +9 -3
- package/dist/esm/hy-hero.entry.js +5 -5
- package/dist/esm/hy-icon.entry.js +1 -1
- package/dist/esm/hy-image.entry.js +3 -3
- package/dist/esm/hy-ingress.entry.js +1 -1
- package/dist/esm/hy-introduction.entry.js +1 -1
- package/dist/esm/hy-key-figure-group.entry.js +2 -2
- package/dist/esm/hy-key-figure.entry.js +1 -1
- package/dist/esm/hy-key-highlight-group.entry.js +2 -2
- package/dist/esm/hy-key-highlight.entry.js +1 -1
- package/dist/esm/hy-large-process-flow-phase.entry.js +2 -2
- package/dist/esm/hy-large-process-flow.entry.js +2 -2
- package/dist/esm/hy-link-box-list.entry.js +2 -2
- package/dist/esm/hy-link-box.entry.js +1 -1
- package/dist/esm/hy-link-list.entry.js +2 -2
- package/dist/esm/hy-link.entry.js +1 -1
- package/dist/esm/hy-list-item.entry.js +1 -1
- package/dist/esm/hy-logo-grid-item.entry.js +1 -1
- package/dist/esm/hy-logo-grid.entry.js +1 -1
- package/dist/esm/hy-main-content-wrapper.entry.js +1 -1
- package/dist/esm/hy-main.entry.js +1 -1
- package/dist/esm/hy-menu-item-sidebar.entry.js +1 -1
- package/dist/esm/hy-menu-item.entry.js +5 -3
- package/dist/esm/hy-menu-language-item.entry.js +5 -10
- package/dist/esm/hy-menu-language_2.entry.js +19 -24
- package/dist/esm/hy-menu-level-container.entry.js +3 -3
- package/dist/esm/hy-menu-main-group.entry.js +3 -3
- package/dist/esm/hy-menu-sidebar.entry.js +1 -1
- package/dist/esm/hy-menu.entry.js +8 -12
- package/dist/esm/hy-mobile-menu-shortcuts.entry.js +22 -0
- package/dist/esm/hy-opening-hours-content.entry.js +1 -1
- package/dist/esm/hy-opening-hours.entry.js +1 -1
- package/dist/esm/hy-pager-item.entry.js +1 -1
- package/dist/esm/hy-pager.entry.js +1 -1
- package/dist/esm/hy-paragraph-text.entry.js +1 -1
- package/dist/esm/hy-person-card.entry.js +1 -1
- package/dist/esm/hy-process-flow-box.entry.js +1 -1
- package/dist/esm/hy-process.entry.js +2 -2
- package/dist/esm/hy-prominent-image.entry.js +1 -1
- package/dist/esm/hy-quote.entry.js +1 -1
- package/dist/esm/hy-row.entry.js +1 -1
- package/dist/esm/hy-search-field.entry.js +1 -1
- package/dist/esm/hy-section-container.entry.js +1 -1
- package/dist/esm/hy-shortcuts.entry.js +1 -1
- package/dist/esm/hy-site-header_3.entry.js +43 -42
- package/dist/esm/hy-table-container.entry.js +1 -1
- package/dist/esm/hy-tabs-item.entry.js +1 -1
- package/dist/esm/hy-tabs.entry.js +1 -1
- package/dist/esm/hy-tag.entry.js +1 -1
- package/dist/esm/hy-tiny-text.entry.js +1 -1
- package/dist/esm/hy-twitter-feed.entry.js +1 -1
- package/dist/esm/hy-two-columns.entry.js +1 -1
- package/dist/esm/hy-user-login-form.entry.js +1 -1
- package/dist/esm/hy-video.entry.js +1 -1
- package/dist/esm/{index-fbbc09ec.js → index-a38b87db.js} +2 -1
- package/dist/esm/loader.js +3 -3
- package/dist/huds-lib/huds-lib.esm.js +1 -1
- package/dist/huds-lib/p-00e94feb.entry.js +1 -0
- package/dist/huds-lib/p-0116a0a5.entry.js +1 -0
- package/dist/huds-lib/{p-6d9e4ec4.entry.js → p-01712ca5.entry.js} +1 -1
- package/dist/huds-lib/{p-75c2d150.entry.js → p-0260d2ca.entry.js} +1 -1
- package/dist/huds-lib/{p-2d4098f9.entry.js → p-0977618c.entry.js} +1 -1
- package/dist/huds-lib/{p-9693b155.entry.js → p-0ecafe0e.entry.js} +1 -1
- package/dist/huds-lib/{p-f05bdce1.entry.js → p-11e56f3a.entry.js} +1 -1
- package/dist/huds-lib/{p-9b834399.entry.js → p-15a21c20.entry.js} +1 -1
- package/dist/huds-lib/{p-b4bf94bd.entry.js → p-15db4fae.entry.js} +1 -1
- package/dist/huds-lib/{p-afd2181e.entry.js → p-164c361b.entry.js} +1 -1
- package/dist/huds-lib/{p-3056d124.entry.js → p-17c1f514.entry.js} +1 -1
- package/dist/huds-lib/{p-f6117edb.entry.js → p-1b85cd45.entry.js} +1 -1
- package/dist/huds-lib/{p-0bd337a8.entry.js → p-1d255319.entry.js} +1 -1
- package/dist/huds-lib/{p-eadd8cb3.entry.js → p-229d3332.entry.js} +1 -1
- package/dist/huds-lib/{p-1c78eb02.entry.js → p-241216a3.entry.js} +1 -1
- package/dist/huds-lib/{p-69fdd152.entry.js → p-258c3b0e.entry.js} +1 -1
- package/dist/huds-lib/{p-8c0ec875.entry.js → p-26104af0.entry.js} +1 -1
- package/dist/huds-lib/{p-665bab39.entry.js → p-2716775c.entry.js} +1 -1
- package/dist/huds-lib/{p-57ab4e6e.entry.js → p-2884f04c.entry.js} +1 -1
- package/dist/huds-lib/{p-abebc2df.entry.js → p-2ed13bb3.entry.js} +1 -1
- package/dist/huds-lib/{p-7b2c2481.entry.js → p-31e8b291.entry.js} +1 -1
- package/dist/huds-lib/{p-a847e865.entry.js → p-3862113f.entry.js} +1 -1
- package/dist/huds-lib/{p-031d3bf8.entry.js → p-3a0cbfbc.entry.js} +1 -1
- package/dist/huds-lib/{p-fd339472.entry.js → p-3a2fd06e.entry.js} +1 -1
- package/dist/huds-lib/{p-485099a1.entry.js → p-3ca46ddb.entry.js} +1 -1
- package/dist/huds-lib/{p-a21ebe8a.entry.js → p-3ef36a18.entry.js} +1 -1
- package/dist/huds-lib/{p-7d0b0674.entry.js → p-3f15571f.entry.js} +1 -1
- package/dist/huds-lib/{p-9deb2733.entry.js → p-4404fbde.entry.js} +1 -1
- package/dist/huds-lib/{p-7f7f7bc1.entry.js → p-445be0e8.entry.js} +1 -1
- package/dist/huds-lib/{p-70fcc954.entry.js → p-535b56d4.entry.js} +1 -1
- package/dist/huds-lib/{p-35bc6516.entry.js → p-54229a0d.entry.js} +1 -1
- package/dist/huds-lib/{p-45454a42.js → p-5617bc3e.js} +1 -1
- package/dist/huds-lib/{p-34e39dd2.entry.js → p-5b3a4a8b.entry.js} +1 -1
- package/dist/huds-lib/p-5e1dc555.entry.js +1 -0
- package/dist/huds-lib/p-64023b5d.entry.js +1 -0
- package/dist/huds-lib/p-6b8b4259.entry.js +1 -0
- package/dist/huds-lib/{p-23820e91.entry.js → p-6fd29d10.entry.js} +1 -1
- package/dist/huds-lib/{p-8d22323b.entry.js → p-7e9f2a43.entry.js} +1 -1
- package/dist/huds-lib/{p-3aeb60c7.entry.js → p-7f005622.entry.js} +1 -1
- package/dist/huds-lib/{p-beab95eb.entry.js → p-81800bd1.entry.js} +1 -1
- package/dist/huds-lib/{p-c247af64.entry.js → p-83a380fc.entry.js} +1 -1
- package/dist/huds-lib/{p-44c98cd6.entry.js → p-891108e9.entry.js} +1 -1
- package/dist/huds-lib/{p-0c682a0e.entry.js → p-8b20a127.entry.js} +1 -1
- package/dist/huds-lib/{p-6ec67f50.entry.js → p-8cbbedb1.entry.js} +1 -1
- package/dist/huds-lib/{p-3663dfa6.entry.js → p-8fe61cc4.entry.js} +1 -1
- package/dist/huds-lib/{p-fe6eb2b6.entry.js → p-91e7dbdb.entry.js} +1 -1
- package/dist/huds-lib/{p-10808327.entry.js → p-943998ee.entry.js} +1 -1
- package/dist/huds-lib/p-9482c6bf.entry.js +1 -0
- package/dist/huds-lib/{p-c89d1618.entry.js → p-9739d43b.entry.js} +1 -1
- package/dist/huds-lib/p-97727091.entry.js +8 -0
- package/dist/huds-lib/p-9ab9c615.entry.js +1 -0
- package/dist/huds-lib/{p-ae673c56.entry.js → p-9caa985a.entry.js} +1 -1
- package/dist/huds-lib/{p-7d777e18.entry.js → p-9eb39b28.entry.js} +1 -1
- package/dist/huds-lib/p-a099a649.entry.js +1 -0
- package/dist/huds-lib/{p-7d3faaef.entry.js → p-a295071c.entry.js} +1 -1
- package/dist/huds-lib/{p-b6cc78ce.entry.js → p-a90b0293.entry.js} +1 -1
- package/dist/huds-lib/p-ac7fbdbf.entry.js +1 -0
- package/dist/huds-lib/{p-6e9878d1.entry.js → p-add4a25d.entry.js} +1 -1
- package/dist/huds-lib/{p-4539ca8d.entry.js → p-b1a3cbcc.entry.js} +1 -1
- package/dist/huds-lib/{p-ae4a5bed.entry.js → p-b5ca8a38.entry.js} +1 -1
- package/dist/huds-lib/{p-b3b6e7b9.entry.js → p-b71d0912.entry.js} +1 -1
- package/dist/huds-lib/{p-4622b82d.entry.js → p-b86b5336.entry.js} +1 -1
- package/dist/huds-lib/{p-89a197ec.entry.js → p-b8735152.entry.js} +1 -1
- package/dist/huds-lib/p-beeb1416.entry.js +1 -0
- package/dist/huds-lib/p-bffe53e9.entry.js +1 -0
- package/dist/huds-lib/{p-d8161ace.entry.js → p-c143d160.entry.js} +1 -1
- package/dist/huds-lib/{p-eb55e724.entry.js → p-c21d1933.entry.js} +1 -1
- package/dist/huds-lib/{p-e75ee214.entry.js → p-c3e38183.entry.js} +1 -1
- package/dist/huds-lib/{p-fb3c39b3.entry.js → p-c4960510.entry.js} +1 -1
- package/dist/huds-lib/{p-327a543d.entry.js → p-c8c24282.entry.js} +1 -1
- package/dist/huds-lib/{p-ea7f948e.entry.js → p-caf7a56b.entry.js} +1 -1
- package/dist/huds-lib/p-ce9d4716.entry.js +1 -0
- package/dist/huds-lib/{p-d38b0576.entry.js → p-d1249b2e.entry.js} +1 -1
- package/dist/huds-lib/{p-36dbfc06.js → p-d5584db1.js} +1 -1
- package/dist/huds-lib/{p-2c9cd456.entry.js → p-d60b07c4.entry.js} +1 -1
- package/dist/huds-lib/{p-70a0c53c.entry.js → p-d6588da7.entry.js} +1 -1
- package/dist/huds-lib/{p-21eda560.entry.js → p-d9de2cad.entry.js} +1 -1
- package/dist/huds-lib/p-db142402.entry.js +1 -0
- package/dist/huds-lib/{p-a19edd06.entry.js → p-dd2ab3e6.entry.js} +1 -1
- package/dist/huds-lib/{p-25b70e5e.entry.js → p-e1346358.entry.js} +1 -1
- package/dist/huds-lib/{p-98dd30e9.entry.js → p-e475714a.entry.js} +1 -1
- package/dist/huds-lib/{p-c0b247d8.entry.js → p-e6a97c32.entry.js} +1 -1
- package/dist/huds-lib/{p-c8b11427.entry.js → p-e6fa0f75.entry.js} +1 -1
- package/dist/huds-lib/{p-711691d9.entry.js → p-ea7dde9b.entry.js} +1 -1
- package/dist/huds-lib/{p-91397c3c.entry.js → p-efeeca30.entry.js} +1 -1
- package/dist/huds-lib/{p-566ac888.entry.js → p-f4a9ea9c.entry.js} +1 -1
- package/dist/huds-lib/{p-9f0c5752.entry.js → p-f5e78e68.entry.js} +1 -1
- package/dist/huds-lib/{p-2ee50dff.entry.js → p-f7d11cd4.entry.js} +1 -1
- package/dist/huds-lib/{p-d15f1223.entry.js → p-fb8f253d.entry.js} +1 -1
- package/dist/types/components/heading/heading.d.ts +3 -0
- package/dist/types/components/navigation/menu-item/menu-item.d.ts +1 -0
- package/dist/types/components/navigation/menu-language/menu-language.d.ts +0 -1
- package/dist/types/components/navigation/menu-language-item/menu-language-item.d.ts +0 -1
- package/dist/types/components/navigation/mobile-menu-shortcuts/mobile-menu-shortcuts.d.ts +13 -0
- package/dist/types/components/site-header/hy-desktop-menu-links/hy-desktop-menu-links.d.ts +2 -1
- package/dist/types/components/site-header/site-header.d.ts +1 -0
- package/dist/types/components.d.ts +26 -4
- package/package.json +1 -1
- package/dist/huds-lib/p-0746359d.entry.js +0 -1
- package/dist/huds-lib/p-1862b753.entry.js +0 -1
- package/dist/huds-lib/p-402d4c06.entry.js +0 -1
- package/dist/huds-lib/p-4b5ede51.entry.js +0 -1
- package/dist/huds-lib/p-57506f48.entry.js +0 -1
- package/dist/huds-lib/p-6dde95bc.entry.js +0 -8
- package/dist/huds-lib/p-9f108905.entry.js +0 -1
- package/dist/huds-lib/p-aaa6f401.entry.js +0 -1
- package/dist/huds-lib/p-b146defe.entry.js +0 -1
- package/dist/huds-lib/p-b542ab10.entry.js +0 -1
- package/dist/huds-lib/p-c1c66328.entry.js +0 -1
- package/dist/huds-lib/p-d56fd335.entry.js +0 -1
- package/dist/huds-lib/p-fa16383c.entry.js +0 -1
|
@@ -2,12 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const
|
|
7
|
-
const globalScript = require('./globalScript-1c4e262e.js');
|
|
5
|
+
const index = require('./index-1b0fdf83.js');
|
|
6
|
+
const globalScript = require('./globalScript-92a1392d.js');
|
|
8
7
|
const index$1 = require('./index-314ad166.js');
|
|
9
8
|
|
|
10
|
-
const hyDesktopMenuLinksCss = ":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:#f9a21a;--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{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row;flex-flow:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0 32px;padding:0;height:100%}.hy-site-header__menu-desktop{height:100%}.hy-site-header__menu-desktop-container{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-flow:row;flex-flow:row;height:100%;list-style:none;margin:0;padding:0;width:100%}.hy-site-header__menu-desktop-container li{display:-webkit-box;display:-ms-flexbox;display:flex;height:100%}.hy-site-header__menu-desktop-container .desktop-menu-link{background-color:transparent;border:none;color:var(--brand-main-nearly-black);cursor:pointer;font-family:var(--main-font-family)}.hy-site-header__menu-desktop-container .desktop-menu-link:hover{cursor:pointer}.hy-site-header__menu-desktop-container .desktop-menu-link:hover span{color:var(--brand-main)}.hy-site-header__menu-desktop-container .desktop-menu-link:hover svg{fill:var(--brand-main)}@media (min-width: 75.0625rem){.hy-site-header__menu-desktop-container .desktop-menu-link{font-size:0.875rem;line-height:14px;font-weight:700;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-top:0 none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;letter-spacing:-0.6px;padding:0 7px;position:relative;text-transform:uppercase}}@media (min-width: 1601px){.hy-site-header__menu-desktop-container .desktop-menu-link{font-size:1rem;line-height:16px;letter-spacing:-0.7px;padding:0 9px}}.hy-site-header__menu-desktop-container .desktop-menu-link.toggle{text-decoration:none}.hy-site-header__menu-desktop-container .desktop-menu-link__label{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%;position:relative;width:-webkit-min-content;width:-moz-min-content;width:min-content}@media (min-width: 87.5rem){.hy-site-header__menu-desktop-container .desktop-menu-link__label{width:100%}}.hy-site-header__menu-desktop-container .desktop-menu-link__label--is-active-trail{border-bottom:4px solid var(--brand-main-nearly-black);position:relative;margin-bottom:-4px}.hy-site-header__menu-desktop-container .desktop-menu-link__label--is-active-trail::after{background-color:var(--grayscale-white);content:\" \";position:absolute;bottom:-7px;left:-15px;height:8px;width:15px}@media (min-width: 75.0625rem){.hy-site-header__menu-desktop-container .desktop-menu-link__label--is-active-trail::after{bottom:-3px}}.hy-site-header__menu-desktop-container .desktop-menu-link__label--is-active-trail::before{background-color:var(--grayscale-white);content:\" \";position:absolute;bottom:-7px;right:-15px;height:8px;width:15px}@media (min-width: 75.0625rem){.hy-site-header__menu-desktop-container .desktop-menu-link__label--is-active-trail::before{bottom:-3px}}.hy-site-header__menu-desktop-container .desktop-menu-link__label--is-active-trail--disabled{border:none;margin-bottom:0}.hy-site-header__menu-desktop-container .desktop-menu-link__label--is-active-trail--disabled::after,.hy-site-header__menu-desktop-container .desktop-menu-link__label--is-active-trail--disabled::before{display:none}.hy-site-header__menu-desktop-container .desktop-menu-link hy-icon{display:-webkit-box;display:-ms-flexbox;display:flex;height:8px;margin-left:3px;width:10px}@media (min-width: 1601px){.hy-site-header__menu-desktop-container .desktop-menu-link hy-icon{height:8.44px;margin-left:4px;width:12px}}.hy-site-header__menu-desktop-container .desktop-menu-link hy-icon svg{height:8px;width:10px}@media (min-width: 1601px){.hy-site-header__menu-desktop-container .desktop-menu-link hy-icon svg{height:8.44px;width:12px}}.hy-site-header__menu-desktop-container .desktop-menu-link--is-active:hover,.hy-site-header__menu-desktop-container .desktop-menu-link--is-active:focus{color:var(--link-blue)}.hy-site-header__menu-desktop-container .desktop-menu-link--is-active:hover hy-icon svg,.hy-site-header__menu-desktop-container .desktop-menu-link--is-active:focus hy-icon svg{fill:var(--link-blue)}.hy-site-header__menu-desktop-container .desktop-menu-link--is-active hy-icon{-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.hy-site-header__menu-desktop-container .desktop-menu-link--is-active .desktop-menu-link__label--is-active-trail::after{border:none}.hy-site-header__menu-desktop-container .desktop-menu-link--is-active{border-bottom:4px solid var(--brand-main-nearly-black);position:relative;margin-bottom:0px}.hy-site-header__menu-desktop-container .desktop-menu-link--is-active .desktop-menu-link__label{margin-bottom:-4px}.hy-site-header__menu-desktop-container .desktop-menu-link--is-active::after{background-color:var(--grayscale-white);content:\" \";position:absolute;bottom:-7px;left:-15px;height:8px;width:15px}@media (min-width: 75.0625rem){.hy-site-header__menu-desktop-container .desktop-menu-link--is-active::after{bottom:-5px}}.hy-site-header__menu-desktop-container .desktop-menu-link--is-active::before{background-color:var(--grayscale-white);content:\" \";position:absolute;bottom:-7px;right:-15px;height:8px;width:15px}@media (min-width: 75.0625rem){.hy-site-header__menu-desktop-container .desktop-menu-link--is-active::before{bottom:-5px}}.hy-site-header__menu-desktop-container .desktop-menu-link:focus{outline:none;color:var(--link-blue);}.hy-site-header__menu-desktop-container .desktop-menu-link:focus span.external-icon svg{fill:var(--link-blue)}.hy-site-header__menu-desktop-container .hy-desktop-menu-panel{display:none;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;opacity:0;-webkit-transition:none;transition:none;position:absolute;left:0;top:0;z-index:510;width:100%}.hy-site-header__menu-desktop-container .hy-desktop-menu-panel--is-active{background:radial-gradient(circle, var(--grayscale-light) 0%, var(--grayscale-background-box) 100%);display:-webkit-box;display:-ms-flexbox;display:flex;padding-left:300px}.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__panel-toggle{background-color:transparent;border:none;position:absolute;right:10px;top:0}@media (min-width: 75.0625rem){.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__panel-toggle{padding:22px 32px 17px 32px}}@media (min-width: 1601px){.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__panel-toggle{padding:30px 32px 30px 32px}}.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__panel-toggle__label{font-size:1.125rem;line-height:22px;font-weight:700;color:var(--grayscale-black);display:-webkit-box;display:-ms-flexbox;display:flex;font-family:var(--main-font-family);letter-spacing:-0.56px;margin-bottom:18px;text-transform:uppercase}.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__panel-toggle__label__title{padding-right:5px}.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__panel-toggle__label:hover{cursor:pointer}.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__panel-toggle__label:hover span{color:var(--brand-main)}.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__panel-toggle__label:hover svg{fill:var(--brand-main)}.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__desktop-menu{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:-8px;margin-top:6px}.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__desktop-menu__menu-items{min-width:440px;max-width:540px}.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__desktop-menu__first-level-menu-item{font-weight:700;color:var(--brand-main-nearly-black);display:-webkit-box;display:-ms-flexbox;display:flex;font-family:var(--main-font-family);text-decoration:none;width:100%}.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__desktop-menu__first-level-menu-item:hover,.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__desktop-menu__first-level-menu-item:focus{-webkit-box-shadow:0 0 16px 0 rgba(0, 83, 121, 0.2);box-shadow:0 0 16px 0 rgba(0, 83, 121, 0.2);color:var(--link-blue)}@media (min-width: 75.0625rem){.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__desktop-menu__first-level-menu-item{font-size:1.5rem;line-height:32px;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;background-color:var(--grayscale-white);-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;letter-spacing:-0.75px;margin-bottom:4px;padding:17px 32px 12px;position:relative;text-transform:none}}@media (min-width: 1601px){.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__desktop-menu__first-level-menu-item{font-size:1.625rem;line-height:32px;letter-spacing:-0.81px;margin-bottom:6px;padding:25px 32px 16px}}.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__desktop-menu__first-level-menu-item .label{border:none;margin-left:14px}.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__desktop-menu__first-level-menu-item .label:hover,.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__desktop-menu__first-level-menu-item .label:focus{color:var(--link-blue)}.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__desktop-menu__first-level-menu-item .description{font-size:0.875rem;line-height:18px;font-weight:400;color:var(--grayscale-dark);letter-spacing:-0.2;margin-left:14px;margin-bottom:12px;margin-top:4px}@media (min-width: 1601px){.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__desktop-menu__first-level-menu-item .description{font-size:1rem;line-height:20px;letter-spacing:-0.25}}.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__desktop-menu__first-level-menu-item .description:hover{color:var(--grayscale-dark)}.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__desktop-menu__first-level-menu-item span.heading-icon{position:absolute;top:12px;left:-6px}@media (min-width: 1601px){.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__desktop-menu__first-level-menu-item span.heading-icon{top:20px}}.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__desktop-menu__first-level-menu-item span.heading-icon svg{background-color:var(--brand-main-light);fill:var(--grayscale-white);padding:8px}.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__desktop-menu__second-level-menu{background-color:var(--grayscale-white);list-style:none;margin:0;padding:12px 0}.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__desktop-menu__second-level-menu li a{font-weight:700;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--brand-main-nearly-black);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;font-family:var(--main-font-family);text-decoration:none;width:100%;}@media (min-width: 75.0625rem){.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__desktop-menu__second-level-menu li a{font-size:0.875rem;line-height:18px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;letter-spacing:-0.5px;padding-left:24px;padding-right:48px;text-transform:none}}@media (min-width: 1601px){.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__desktop-menu__second-level-menu li a{font-size:1rem;line-height:18px;letter-spacing:-0.5px}}.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__desktop-menu__second-level-menu li a:focus,.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__desktop-menu__second-level-menu li a:hover{color:var(--link-blue)}.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__desktop-menu__second-level-menu li a:focus span.external-icon svg,.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__desktop-menu__second-level-menu li a:hover span.external-icon svg{fill:var(--link-blue)}@media (min-width: 75.0625rem){.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__desktop-menu__second-level-menu li a .label{border:none;margin:0 5px 0 12px;padding-top:12px;padding-bottom:12px}}.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__desktop-menu__second-level-menu li a span.heading-icon svg{fill:var(--brand-main-light)}@media (min-width: 75.0625rem){.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__desktop-menu__second-level-menu li a span.heading-icon svg{padding:1px 0}}.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__desktop-menu__second-level-menu li a span.external-icon svg{fill:var(--brand-main-nearly-black);-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__desktop-menu__second-level-menu li a span.external-icon svg:hover,.hy-site-header__menu-desktop-container .hy-desktop-menu-panel__desktop-menu__second-level-menu li a span.external-icon svg:focus{fill:var(--link-blue)}.hy-site-header__menu-desktop-container .shortcuts-panel{background-color:var(--grayscale-white);position:absolute;left:0;list-style:none;min-width:350px;margin:6px 4px 0 4px;max-width:400px;padding:0 48px;top:0}.hy-site-header__menu-desktop-container .shortcuts-panel__title{font-size:1.125rem;line-height:22px;font-weight:700;color:var(--grayscale-black);font-family:var(--main-font-family);letter-spacing:-0.56px;margin-bottom:18px;text-transform:uppercase}.hy-site-header__menu-desktop-container .shortcuts-panel__shortcut-item{border-bottom:1px solid var(--grayscale-medium-dark)}.hy-site-header__menu-desktop-container .shortcuts-panel__shortcut-item__first{border-top:1px solid var(--grayscale-medium-dark)}.hy-site-header__menu-desktop-container .shortcuts-panel__shortcut-item a{font-size:1rem;line-height:22px;font-weight:600;color:var(--grayscale-black);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;font-family:var(--main-font-family);-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;letter-spacing:-0.5px;padding:19px 0;text-decoration:none}.hy-site-header__menu-desktop-container .shortcuts-panel__shortcut-item a .icon{padding-left:24px}.hy-site-header__menu-desktop-container .shortcuts-panel__shortcut-item a .icon svg{padding:4px}";
|
|
9
|
+
const hyDesktopMenuLinksCss = ":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:#f9a21a;--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{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row;flex-flow:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0}.hy-site-header__menu-desktop{height:100%;margin:0 32px}.hy-site-header__menu-desktop.is-group{margin:0}.hy-desktop-menu{display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;list-style:none;margin:0;padding:0;width:100%}.is-dropdown .hy-desktop-menu__item{position:relative}.hy-desktop-menu__button{font-size:0.875rem;line-height:16px;font-weight:700;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:transparent;border:none;color:var(--brand-main-nearly-black);cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;font-family:var(--main-font-family);height:100%;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;letter-spacing:-0.7px;padding:26px 10px;text-transform:uppercase;width:-webkit-min-content;width:-moz-min-content;width:min-content;text-decoration:none}.is-group .hy-desktop-menu__button{width:auto}@media (min-width: 1601px){.hy-desktop-menu__button{font-size:1rem;line-height:16px;width:auto}}.hy-desktop-menu__button:hover{cursor:pointer}.hy-desktop-menu__button:hover span{color:var(--brand-main)}.hy-desktop-menu__button:hover svg{fill:var(--brand-main)}.hy-desktop-menu__button:focus{outline:solid 2px var(--additional-yellow);outline-offset:2px;color:var(--link-blue)}.hy-desktop-menu__button span{pointer-events:none}.hy-desktop-menu__button hy-icon{pointer-events:none;margin-left:4px}.hy-desktop-menu__button hy-icon svg{height:10px;width:10px}.hy-desktop-menu__button[aria-expanded=true] hy-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.is-panel-open .hy-desktop-menu__button:not([aria-expanded=true]){-webkit-box-shadow:none;box-shadow:none}.is-panel-open .hy-desktop-menu__button:not([aria-expanded=true])::after,.is-panel-open .hy-desktop-menu__button:not([aria-expanded=true])::before{display:none}.hy-desktop-menu__button.is-active-trail,.hy-desktop-menu__button[aria-expanded=true]{-webkit-box-shadow:inset 0 -4px 0 0 var(--grayscale-black);box-shadow:inset 0 -4px 0 0 var(--grayscale-black);position:relative}.hy-desktop-menu__button.is-active-trail::after,.hy-desktop-menu__button.is-active-trail::before,.hy-desktop-menu__button[aria-expanded=true]::after,.hy-desktop-menu__button[aria-expanded=true]::before{background-color:var(--grayscale-white);content:\"\";height:5px;width:16px;position:absolute;bottom:-1px;z-index:1000}.hy-desktop-menu__button.is-active-trail::before,.hy-desktop-menu__button[aria-expanded=true]::before{left:-16px}.hy-desktop-menu__button.is-active-trail::after,.hy-desktop-menu__button[aria-expanded=true]::after{right:-16px}.hy-desktop-menu__panel{background-color:var(--grayscale-white);-webkit-transition:none;transition:none;position:absolute;top:0;z-index:100;display:-webkit-box;display:-ms-flexbox;display:flex}.hy-desktop-menu__panel[aria-hidden=true]{display:none;opacity:0}.hy-desktop-menu__panel:not(.is-dropdown){left:0;right:0;width:100%}.hy-desktop-menu__panel.is-dropdown{border:1px solid var(--grayscale-black);left:-17px;top:100%}.hy-desktop-menu__panel-container{margin:0 auto;padding:40px 24px;max-width:120.0625rem;width:100%;display:grid;grid-template-columns:1fr auto 1fr;justify-items:center;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.is-dropdown .hy-desktop-menu__panel-container{padding:24px 16px 40px}.hy-desktop-menu__panel-menu{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;grid-column-start:2}.hy-desktop-menu__panel-header{display:inline-grid;gap:8px 16px;grid-template-areas:\"icon link\" \"icon description\";grid-template-columns:auto;grid-template-rows:auto;margin-bottom:32px;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.is-dropdown .hy-desktop-menu__panel-header{margin-bottom:16px}.hy-desktop-menu__panel-header>hy-icon{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--grayscale-black);display:-webkit-box;display:-ms-flexbox;display:flex;grid-area:icon;height:40px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:40px}.hy-desktop-menu__panel-header>hy-icon svg{fill:var(--grayscale-white)}.hy-desktop-menu__panel-header a{font-size:1.5625rem;line-height:32px;font-weight:700;color:var(--brand-main);font-family:var(--main-font-family);grid-area:link;letter-spacing:-0.5px;margin-top:4px;text-decoration:none;width:-webkit-max-content;width:-moz-max-content;width:max-content}.hy-desktop-menu__panel-header a:hover{text-decoration:underline}.hy-desktop-menu__panel-header p{font-size:1.0625rem;line-height:26px;font-weight:400;color:var(--grayscale-black);font-family:var(--main-font-family);grid-area:description;margin:0;width:690px}.hy-desktop-menu__panel-content{padding-left:56px;display:inline-grid;grid-template-columns:400px}.hy-desktop-menu__panel-content.has-shortcuts{grid-template-columns:400px 496px}.is-dropdown .hy-desktop-menu__panel-content{grid-template-columns:310px}.hy-desktop-menu__panel-shortcuts{margin-left:48px;padding-left:48px;border-left:1px solid var(--grayscale-medium)}.hy-desktop-menu__panel-shortcuts>h2{font-size:1.125rem;line-height:24px;font-weight:700;color:var(--grayscale-black);font-family:var(--main-font-family);letter-spacing:-0.36px;margin:0 0 24px}.hy-desktop-menu__panel-links{list-style:none;margin:0;padding:0;display:inline-grid;gap:20px}.hy-desktop-menu__panel-link{font-size:1rem;line-height:24px;font-weight:600;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;color:var(--brand-main);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-family:var(--main-font-family);letter-spacing:-0.5px;overflow:hidden;text-decoration:none}.hy-desktop-menu__panel-link:hover{text-decoration:underline}.hy-desktop-menu__panel-link hy-icon{margin-right:12px;margin-top:12px;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.hy-desktop-menu__panel-link hy-icon svg{fill:var(--grayscale-black)}.hy-desktop-menu__panel-link span hy-icon{display:-webkit-inline-box !important;display:-ms-inline-flexbox !important;display:inline-flex !important;margin-left:6px;margin-right:0;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.hy-desktop-menu__panel-link span hy-icon svg{fill:var(--brand-main)}.hy-desktop-menu__panel-close-button{font-size:1rem;line-height:18px;font-weight:700;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:transparent;border:none;color:var(--brand-main);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-family:var(--main-font-family);letter-spacing:-0.3px;padding:16px;margin-left:auto;margin-right:-8px}.hy-desktop-menu__panel-close-button:hover{cursor:pointer}.hy-desktop-menu__panel-close-button hy-icon{margin-left:8px}.hy-desktop-menu__panel-close-button hy-icon svg{fill:var(--brand-main)}";
|
|
11
10
|
|
|
12
11
|
let keys = {
|
|
13
12
|
enter: 'Enter',
|
|
@@ -18,13 +17,18 @@ const HyDesktopMenuLinks = class {
|
|
|
18
17
|
constructor(hostRef) {
|
|
19
18
|
index.registerInstance(this, hostRef);
|
|
20
19
|
this.menuDesktopToggled = index.createEvent(this, "menuDesktopToggled", 7);
|
|
20
|
+
/*
|
|
21
|
+
First level menu links to be displayed on Desktop screens.
|
|
22
|
+
* */
|
|
23
|
+
this.isGroup = false;
|
|
24
|
+
this.isDropdown = false;
|
|
21
25
|
this.firstLevelLinksList = [];
|
|
22
26
|
this.menuLinkItems = [];
|
|
23
27
|
this.hasToolbar = false;
|
|
24
28
|
this.isDesktopMenuOpen = false;
|
|
25
29
|
this.currenOpenMenuId = 0;
|
|
26
30
|
this.isNewMenuIdOnHover = false;
|
|
27
|
-
|
|
31
|
+
// private _submenuLeftMargin: number = 32;
|
|
28
32
|
this._headerBorderOffset = 0;
|
|
29
33
|
this._hoverTimer = null;
|
|
30
34
|
this._fadeOutTimer = null;
|
|
@@ -45,7 +49,7 @@ const HyDesktopMenuLinks = class {
|
|
|
45
49
|
if (!hyHeader)
|
|
46
50
|
return;
|
|
47
51
|
let hyBackdropDiv = hyHeader.children[0];
|
|
48
|
-
if (hyBackdropDiv) {
|
|
52
|
+
if (hyBackdropDiv && !this.isDropdown) {
|
|
49
53
|
if (state === 'open') {
|
|
50
54
|
const windowHeight = window.outerHeight;
|
|
51
55
|
hyBackdropDiv.style.height = `${windowHeight}px`;
|
|
@@ -66,36 +70,26 @@ const HyDesktopMenuLinks = class {
|
|
|
66
70
|
clearTimeout(this._fadeOutTimer);
|
|
67
71
|
// Open desktop menu panel
|
|
68
72
|
this.isDesktopMenuOpen = true;
|
|
69
|
-
const menuItems = this.el.shadowRoot.querySelectorAll(`.desktop-
|
|
70
|
-
const menuPanelItems = this.el.shadowRoot.querySelectorAll('.hy-desktop-
|
|
71
|
-
const activeMenuItem = this.el.shadowRoot.querySelector(`.desktop-
|
|
73
|
+
const menuItems = this.el.shadowRoot.querySelectorAll(`.hy-desktop-menu__button`);
|
|
74
|
+
const menuPanelItems = this.el.shadowRoot.querySelectorAll('.hy-desktop-menu__panel'); // all panels
|
|
75
|
+
const activeMenuItem = this.el.shadowRoot.querySelector(`.hy-desktop-menu__button[link-id="${id}"]`);
|
|
72
76
|
const activeMenuItemSibling = activeMenuItem.nextElementSibling; // current panel
|
|
73
77
|
// Reset elements by removing the active classes.
|
|
74
78
|
menuItems.forEach((item) => {
|
|
75
|
-
item.classList.remove('desktop-menu-link--is-active');
|
|
76
79
|
item.setAttribute('aria-expanded', 'false');
|
|
77
80
|
});
|
|
78
81
|
menuPanelItems.forEach((item) => {
|
|
79
|
-
item.classList.remove('hy-desktop-menu-panel--is-active');
|
|
80
|
-
item.classList.remove('hy-desktop-menu-panel--overflow');
|
|
81
82
|
item.setAttribute('aria-hidden', 'true');
|
|
82
83
|
item.style.transition = 'none';
|
|
83
84
|
item.style.opacity = '0';
|
|
84
85
|
});
|
|
85
|
-
//
|
|
86
|
-
activeMenuItem.classList.add('desktop-menu-link--is-active');
|
|
86
|
+
// Set active attributes to currently active panel.
|
|
87
87
|
activeMenuItem.setAttribute('aria-expanded', 'true');
|
|
88
|
-
activeMenuItemSibling.classList.add('hy-desktop-menu-panel--is-active');
|
|
89
88
|
activeMenuItemSibling.style.opacity = '1';
|
|
90
89
|
if (this.hasToolbar) {
|
|
91
|
-
activeMenuItemSibling.classList.add('
|
|
90
|
+
activeMenuItemSibling.classList.add('has-toolbar');
|
|
92
91
|
}
|
|
93
92
|
activeMenuItemSibling.setAttribute('aria-hidden', 'false');
|
|
94
|
-
//Hide is-active-trail underlining
|
|
95
|
-
const activeTrailMenuItem = this.el.shadowRoot.querySelector(`.desktop-menu-link__label--is-active-trail`);
|
|
96
|
-
if (activeTrailMenuItem) {
|
|
97
|
-
activeTrailMenuItem.classList.add('desktop-menu-link__label--is-active-trail--disabled');
|
|
98
|
-
}
|
|
99
93
|
// Add panels top value automatically with the correct header height
|
|
100
94
|
let topOffset = window.pageYOffset;
|
|
101
95
|
const bodyElementClasses = document.body.classList;
|
|
@@ -108,11 +102,23 @@ const HyDesktopMenuLinks = class {
|
|
|
108
102
|
let rect = activeMenuItemSibling.getBoundingClientRect();
|
|
109
103
|
let backdropOffset = headerElementHeight + headerElementOffset + rect.height;
|
|
110
104
|
let backdropToolbarOffset = backdropOffset - 79;
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
105
|
+
if (!this.isDropdown) {
|
|
106
|
+
window.addEventListener('scroll', () => {
|
|
107
|
+
topOffset = window.pageYOffset;
|
|
108
|
+
if (topOffset === 0) {
|
|
109
|
+
activeMenuItemSibling.style.top = `${panelElementOffset}px`;
|
|
110
|
+
}
|
|
111
|
+
if (headerShadowRootElement.classList.contains('hy-site-header--sticky-active') && topOffset > 0) {
|
|
112
|
+
if (bodyElementClasses.contains('toolbar-horizontal')) {
|
|
113
|
+
activeMenuItemSibling.style.top = `${headerElementHeight}px`;
|
|
114
|
+
if (this.isDesktopMenuOpen) {
|
|
115
|
+
this.showBackdropShadow('open', backdropToolbarOffset);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
if (!this.isDropdown) {
|
|
116
122
|
if (headerShadowRootElement.classList.contains('hy-site-header--sticky-active') && topOffset > 0) {
|
|
117
123
|
if (bodyElementClasses.contains('toolbar-horizontal')) {
|
|
118
124
|
activeMenuItemSibling.style.top = `${headerElementHeight}px`;
|
|
@@ -120,13 +126,9 @@ const HyDesktopMenuLinks = class {
|
|
|
120
126
|
this.showBackdropShadow('open', backdropToolbarOffset);
|
|
121
127
|
}
|
|
122
128
|
}
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
if (bodyElementClasses.contains('toolbar-horizontal')) {
|
|
127
|
-
activeMenuItemSibling.style.top = `${headerElementHeight}px`;
|
|
128
|
-
if (this.isDesktopMenuOpen) {
|
|
129
|
-
this.showBackdropShadow('open', backdropToolbarOffset);
|
|
129
|
+
else {
|
|
130
|
+
activeMenuItemSibling.style.top = `${panelElementOffset}px`;
|
|
131
|
+
this.showBackdropShadow('open', backdropOffset);
|
|
130
132
|
}
|
|
131
133
|
}
|
|
132
134
|
else {
|
|
@@ -134,28 +136,24 @@ const HyDesktopMenuLinks = class {
|
|
|
134
136
|
this.showBackdropShadow('open', backdropOffset);
|
|
135
137
|
}
|
|
136
138
|
}
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
activeMenuItemSibling.style.paddingLeft = `${menuPanelLeftPosition}px`;
|
|
144
|
-
// Position shortcuts block.
|
|
145
|
-
let shortcutsDiv = activeMenuItemSibling.querySelectorAll('ul.shortcuts-panel')[0]; // shortcuts block
|
|
146
|
-
if (shortcutsDiv) {
|
|
147
|
-
let subMenuDiv = activeMenuItemSibling.querySelectorAll('.hy-desktop-menu-panel__desktop-menu__menu-items')[0]; // 2nd level menu block
|
|
148
|
-
let spaceLeftAfterSubmenu = subMenuDiv.getBoundingClientRect().right + shortcutsDiv.offsetWidth;
|
|
149
|
-
if (spaceLeftAfterSubmenu >= document.body.scrollWidth) {
|
|
150
|
-
// Shortcuts should be placed to the left.
|
|
151
|
-
let shortcutsLeftPosition = subMenuDiv.getBoundingClientRect().left - shortcutsDiv.offsetWidth;
|
|
152
|
-
shortcutsDiv.style.left = shortcutsLeftPosition.toString().concat('px');
|
|
153
|
-
}
|
|
154
|
-
else {
|
|
155
|
-
// Shortcuts should be placed to the right.
|
|
156
|
-
let shortcutsLeftPosition = subMenuDiv.getBoundingClientRect().right;
|
|
157
|
-
shortcutsDiv.style.left = shortcutsLeftPosition.toString().concat('px');
|
|
139
|
+
if (this.isDropdown) {
|
|
140
|
+
let windowWidth = window.outerWidth;
|
|
141
|
+
const desktopMenuPanelWidth = activeMenuItemSibling.offsetWidth;
|
|
142
|
+
if (windowWidth - activeMenuItem.getBoundingClientRect().left < desktopMenuPanelWidth) {
|
|
143
|
+
activeMenuItemSibling.style.left = `auto`;
|
|
144
|
+
activeMenuItemSibling.style.right = `-17px`;
|
|
158
145
|
}
|
|
146
|
+
window.addEventListener('resize', () => {
|
|
147
|
+
windowWidth = window.outerWidth;
|
|
148
|
+
if (windowWidth - activeMenuItem.getBoundingClientRect().left < desktopMenuPanelWidth) {
|
|
149
|
+
activeMenuItemSibling.style.left = `auto`;
|
|
150
|
+
activeMenuItemSibling.style.right = `-17px`;
|
|
151
|
+
}
|
|
152
|
+
else {
|
|
153
|
+
activeMenuItemSibling.style.left = `-17px`;
|
|
154
|
+
activeMenuItemSibling.style.right = `auto`;
|
|
155
|
+
}
|
|
156
|
+
});
|
|
159
157
|
}
|
|
160
158
|
}
|
|
161
159
|
closePanel(fadeOut = false) {
|
|
@@ -167,16 +165,11 @@ const HyDesktopMenuLinks = class {
|
|
|
167
165
|
clearTimeout(this._hoverTimer);
|
|
168
166
|
}
|
|
169
167
|
clearPanelItemsStatus(fadeOut = false) {
|
|
170
|
-
const menuItems = this.el.shadowRoot.querySelectorAll(`.desktop-
|
|
171
|
-
const menuPanelItems = this.el.shadowRoot.querySelectorAll('.hy-desktop-
|
|
172
|
-
//Show is-active-trail underlining
|
|
173
|
-
const activeTrailMenuItem = this.el.shadowRoot.querySelector(`.desktop-menu-link__label--is-active-trail`);
|
|
174
|
-
if (activeTrailMenuItem) {
|
|
175
|
-
activeTrailMenuItem.classList.remove('desktop-menu-link__label--is-active-trail--disabled');
|
|
176
|
-
}
|
|
168
|
+
const menuItems = this.el.shadowRoot.querySelectorAll(`.hy-desktop-menu__button`);
|
|
169
|
+
const menuPanelItems = this.el.shadowRoot.querySelectorAll('.hy-desktop-menu__panel');
|
|
177
170
|
// Reset elements by removing the active classes.
|
|
178
171
|
menuItems.forEach((item) => {
|
|
179
|
-
item.classList.remove('desktop-menu-link--is-active');
|
|
172
|
+
// item.classList.remove('desktop-menu-link--is-active');
|
|
180
173
|
item.setAttribute('aria-expanded', 'false');
|
|
181
174
|
});
|
|
182
175
|
if (fadeOut) {
|
|
@@ -186,14 +179,14 @@ const HyDesktopMenuLinks = class {
|
|
|
186
179
|
});
|
|
187
180
|
this._fadeOutTimer = window.requestAnimationFrame(() => {
|
|
188
181
|
menuPanelItems.forEach((item) => {
|
|
189
|
-
item.classList.remove('hy-desktop-menu-panel--is-active');
|
|
182
|
+
// item.classList.remove('hy-desktop-menu-panel--is-active');
|
|
190
183
|
item.setAttribute('aria-hidden', 'true');
|
|
191
184
|
});
|
|
192
185
|
});
|
|
193
186
|
}
|
|
194
187
|
else {
|
|
195
188
|
menuPanelItems.forEach((item) => {
|
|
196
|
-
item.classList.remove('hy-desktop-menu-panel--is-active');
|
|
189
|
+
// item.classList.remove('hy-desktop-menu-panel--is-active');
|
|
197
190
|
item.setAttribute('aria-hidden', 'true');
|
|
198
191
|
item.style.opacity = '0';
|
|
199
192
|
item.style.transition = 'none';
|
|
@@ -232,7 +225,7 @@ const HyDesktopMenuLinks = class {
|
|
|
232
225
|
this._mouseEnter = setTimeout(() => {
|
|
233
226
|
this.isNewMenuIdOnHover = true;
|
|
234
227
|
clearTimeout(this._fadeOutTimer);
|
|
235
|
-
const activeMenuItem = this.el.shadowRoot.querySelector(`.desktop-
|
|
228
|
+
const activeMenuItem = this.el.shadowRoot.querySelector(`.hy-desktop-menu__button[link-id="${id}"]`);
|
|
236
229
|
// Set focus to the button.
|
|
237
230
|
if (activeMenuItem !== null)
|
|
238
231
|
activeMenuItem.focus();
|
|
@@ -246,19 +239,6 @@ const HyDesktopMenuLinks = class {
|
|
|
246
239
|
clearTimeout(this._mouseEnter);
|
|
247
240
|
this._mouseEnter = null;
|
|
248
241
|
}
|
|
249
|
-
// Not used??
|
|
250
|
-
/* handleDesktopMenuFocus(event, id) {
|
|
251
|
-
if (this.isDesktopMenuOpen) {
|
|
252
|
-
if (this.currenOpenMenuId != id) {
|
|
253
|
-
this._hoverTimer = setTimeout(() => {
|
|
254
|
-
this.currenOpenMenuId = id;
|
|
255
|
-
this.showPanel(id);
|
|
256
|
-
}, 500);
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
event.stopPropagation();
|
|
260
|
-
}
|
|
261
|
-
} */
|
|
262
242
|
handleWindowClick(event) {
|
|
263
243
|
// Check if event is being fired during pressing a key (event.detail==0 in this case)
|
|
264
244
|
if (event.detail == 0)
|
|
@@ -273,9 +253,7 @@ const HyDesktopMenuLinks = class {
|
|
|
273
253
|
if (event.detail == 0)
|
|
274
254
|
return;
|
|
275
255
|
event.stopPropagation();
|
|
276
|
-
|
|
277
|
-
const possibleTags = [targetElement].some((r) => ['svg', 'span', 'path'].indexOf(r) >= 0);
|
|
278
|
-
if (!this.isDesktopMenuOpen && possibleTags) {
|
|
256
|
+
if (!this.isDesktopMenuOpen) {
|
|
279
257
|
this.currenOpenMenuId = id;
|
|
280
258
|
this.showPanel(id);
|
|
281
259
|
}
|
|
@@ -315,39 +293,27 @@ const HyDesktopMenuLinks = class {
|
|
|
315
293
|
let menuLinkItems = [];
|
|
316
294
|
if (links) {
|
|
317
295
|
links.map(({ menuLinkId: id, shortcuts, items, url, description, toggleOff, label, labelExtra, isExternal, isActive, shortcutsTitle, closeButtonTitle, }) => {
|
|
318
|
-
let classAttributes = [
|
|
319
|
-
'desktop-menu-link',
|
|
320
|
-
isActive === 'true' ? 'desktop-menu-link--is-active-trail' : '',
|
|
321
|
-
].join(' ');
|
|
322
|
-
let classAttributesLabel = [
|
|
323
|
-
'desktop-menu-link__label',
|
|
324
|
-
isActive === 'true' ? 'desktop-menu-link__label--is-active-trail' : '',
|
|
325
|
-
].join(' ');
|
|
326
296
|
let target = isExternal ? '_blank' : '_self';
|
|
327
297
|
if (toggleOff) {
|
|
328
|
-
menuLinkItems.push(index.h("li", { onMouseEnter: (e) => this.handleDesktopMenuClose(e) }, index.h("a", { "aria-current": label, href: url, target: target, class: "desktop-
|
|
298
|
+
menuLinkItems.push(index.h("li", { onMouseEnter: (e) => this.handleDesktopMenuClose(e), class: `hy-desktop-menu__item ${isActive === 'true' ? 'is-active-trail' : ''}` }, index.h("a", { "aria-current": label, href: url, target: target, class: "hy-desktop-menu__button", "menu-link-id": id }, labelExtra ? index.h("span", { class: "label" }, labelExtra) : index.h("span", { class: "label" }, label))));
|
|
329
299
|
}
|
|
330
300
|
else {
|
|
331
|
-
menuLinkItems.push(index.h("li",
|
|
301
|
+
menuLinkItems.push(index.h("li", { class: "hy-desktop-menu__item" }, index.h("button", { tabindex: "0", type: "button", class: `hy-desktop-menu__button ${isActive === 'true' ? 'is-active-trail' : ''}`, "link-id": id, onClick: (e) => this.handleDesktopMenuClick(e, id), onKeyDown: (e) => this.handleKeyDown(e, id), onMouseEnter: (e) => this.handleDesktopMenuEnter(e, id), onMouseLeave: () => this.handleDesktopMenuLeave(), "aria-expanded": "false" }, index.h("span", null, label), index.h("hy-icon", { icon: 'hy-icon-caret-down', size: 32 })), index.h("section", { class: `hy-desktop-menu__panel ${this.isDropdown ? 'is-dropdown' : ''}`, "aria-hidden": "true" }, index.h("div", { class: "hy-desktop-menu__panel-container" }, index.h("div", { class: "hy-desktop-menu__panel-menu" }, index.h("div", { class: "hy-desktop-menu__panel-header" }, index.h("hy-icon", { icon: 'hy-icon-arrow-right', size: 24 }), index.h("a", { "aria-current": label, href: url, target: target, "menu-link-id": id }, labelExtra || label), description && !this.isDropdown && index.h("p", null, description)), index.h("div", { class: `hy-desktop-menu__panel-content ${shortcuts.length > 0 ? 'has-shortcuts' : ''}` }, index.h("ul", { class: 'hy-desktop-menu__panel-links hy-desktop-menu__panel-links--menu', "menu-link-id": id }, items.map(({ label, url, isExternal }) => {
|
|
332
302
|
let subitemTarget = isExternal ? '_blank' : '_self';
|
|
333
|
-
return (index.h("li",
|
|
334
|
-
}))
|
|
303
|
+
return (index.h("li", { class: "hy-desktop-menu__panel-links-item" }, index.h("a", { class: "hy-desktop-menu__panel-link", href: url, target: subitemTarget }, index.h("hy-icon", { icon: 'hy-icon-caret-right', size: 10 }), index.h("span", null, label, isExternal && index.h("hy-icon", { icon: 'hy-icon-arrow-right', size: 12 })))));
|
|
304
|
+
})), shortcuts.length > 0 && (index.h("div", { class: "hy-desktop-menu__panel-shortcuts" }, index.h("h2", null, shortcutsTitle), index.h("ul", { class: "hy-desktop-menu__panel-links hy-desktop-menu__panel-links--shortcuts" }, shortcuts.map(({ shortcut_title, shortcut_url, shortcut_is_external, shortcut_aria_label }) => {
|
|
335
305
|
let target = shortcut_is_external ? '_blank' : '_self';
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
return (index.h("li", { class: shortcutClass }, index.h("a", { "aria-current": shortcut_aria_label, href: shortcut_url, class: "shortcut-item__link", target: target, "aria-label": shortcut_aria_label }, index.h("span", { class: "label" }, shortcut_title), index.h("span", { class: "icon" }, index.h("hy-icon", { icon: 'hy-icon-arrow-right', size: 24 })))));
|
|
341
|
-
})))), index.h("button", { onClick: (e) => this.handleDesktopMenuClose(e), class: {
|
|
342
|
-
'hy-desktop-menu-panel__panel-toggle': true,
|
|
343
|
-
}, "aria-label": "Close menu" }, index.h("span", { class: "hy-desktop-menu-panel__panel-toggle__label" }, index.h("span", { class: "hy-desktop-menu-panel__panel-toggle__label__title" }, closeButtonTitle), index.h("hy-icon", { icon: 'hy-icon-remove', size: 20, fill: utils.ColorVariant.black }))))));
|
|
306
|
+
return (index.h("li", { class: "hy-desktop-menu__panel-links-item" }, index.h("a", { "aria-current": shortcut_aria_label, href: shortcut_url, class: "hy-desktop-menu__panel-link", target: target, "aria-label": shortcut_aria_label }, index.h("hy-icon", { icon: 'hy-icon-caret-right', size: 10 }), index.h("span", null, shortcut_title, shortcut_is_external && index.h("hy-icon", { icon: 'hy-icon-arrow-right', size: 12 })))));
|
|
307
|
+
})))))), !this.isDropdown && (index.h("button", { onClick: (e) => this.handleDesktopMenuClose(e), class: {
|
|
308
|
+
'hy-desktop-menu__panel-close-button': true,
|
|
309
|
+
}, "aria-label": "Close menu" }, index.h("span", null, closeButtonTitle), index.h("hy-icon", { icon: 'hy-icon-remove', size: 16 })))))));
|
|
344
310
|
}
|
|
345
311
|
});
|
|
346
312
|
}
|
|
347
313
|
this.menuLinkItems = menuLinkItems;
|
|
348
314
|
}
|
|
349
315
|
render() {
|
|
350
|
-
return (index.h("nav", { role: 'navigation', class:
|
|
316
|
+
return (index.h("nav", { role: 'navigation', class: `hy-site-header__menu-desktop ${this.isGroup ? 'is-group' : ''} ${this.isDropdown ? 'is-dropdown' : ''}` }, index.h("ul", { class: `hy-desktop-menu ${this.isDesktopMenuOpen ? 'is-panel-open' : ''}` }, this.menuLinkItems)));
|
|
351
317
|
}
|
|
352
318
|
get el() { return index.getElement(this); }
|
|
353
319
|
};
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const globalScript = require('./globalScript-
|
|
5
|
+
const index = require('./index-1b0fdf83.js');
|
|
6
|
+
const globalScript = require('./globalScript-92a1392d.js');
|
|
7
7
|
|
|
8
8
|
const hyDropdownCss = ":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:#f9a21a;--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-dropdown{display:inline-block;min-width:100%;position:relative}@media (min-width: 30rem){.hy-dropdown{min-width:48.3%}}@media (min-width: 75.0625rem){.hy-dropdown{min-width:23.03%}}.hy-dropdown label.hy-dropdown__button-label{font-size:1rem;line-height:20px;font-weight:700;display:block;font-family:var(--main-font-family);letter-spacing:-0.32px;margin-bottom:8px}.hy-dropdown--single .hy-dropdown__panel{width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:330px;min-width:100%}.hy-dropdown__toggle{font-size:0.875rem;line-height:24px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--grayscale-white);border-radius:0;border:1px 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;min-height:40px;height:auto;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;letter-spacing:normal;padding:0 0 0 16px;text-align:left;max-width:280px;width:100%}@media (min-width: 30rem){.hy-dropdown__toggle{font-size:1rem;line-height:24px;min-height:44px}}@media (min-width: 75.0625rem){.hy-dropdown__toggle{min-height:48px}}.hy-dropdown__toggle:hover{border-color:var(--brand-main-light);cursor:pointer}.hy-dropdown__toggle:focus{border-color:var(--brand-main-light);border-style:solid inset solid solid;border-width:2px;outline:0;text-indent:-1px}.hy-dropdown__toggle svg{pointer-events:none}.hy-dropdown__toggle.is-open .hy-dropdown__icon{background-color:var(--brand-main-light);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.hy-dropdown__toggle.is-open .hy-dropdown__icon::before{display:none}.hy-dropdown__toggle.is-open .hy-dropdown__icon svg{fill:var(--grayscale-white)}.hy-dropdown__icon{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;height:40px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0 0 0 16px;position:relative;width:40px}.hy-dropdown__icon::before{border-left:0.5px solid var(--grayscale-medium-dark);content:\"\";display:inline-block;height:65%;left:0;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}@media (min-width: 30rem){.hy-dropdown__icon{height:44px;width:44px}}@media (min-width: 75.0625rem){.hy-dropdown__icon{height:48px;width:48px}}.hy-dropdown__icon svg{fill:var(--link-blue)}@media (min-width: 30rem){.hy-dropdown__icon svg{height:16px;width:16px}}.hy-dropdown__panel{background-color:var(--grayscale-white);-webkit-box-shadow:0 10px 20px 0 rgba(0, 49, 70, 0.2);box-shadow:0 10px 20px 0 rgba(0, 49, 70, 0.2);list-style:none;margin:0;padding:6px;position:absolute;width:100%;z-index:11}.hy-dropdown__panel.is-hidden{display:none;visibility:hidden}.hy-dropdown__panel-item{position:relative}.hy-dropdown__panel-item:not(.is-last){margin-bottom:6px}.hy-dropdown__label{font-size:0.875rem;line-height:24px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--grayscale-white);border-radius:0;border:1px 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;min-height:40px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;letter-spacing:normal;padding:0 16px;text-align:left;width:100%}@media (min-width: 30rem){.hy-dropdown__label{font-size:1rem;line-height:24px}}.hy-dropdown__label-icon{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:none !important;-ms-flex-negative:0;flex-shrink:0;height:40px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:relative;visibility:hidden;width:40px}.hy-dropdown__checkbox{height:100%;margin:0;opacity:0;position:absolute;width:100%;z-index:10}.hy-dropdown__checkbox:checked+label{border-color:var(--grayscale-black);border-style:solid inset solid solid;border-width:2px;color:var(--grayscale-black);outline:0;text-indent:-1px}.hy-dropdown__checkbox:checked+label .hy-dropdown__label-icon{display:-webkit-inline-box !important;display:-ms-inline-flexbox !important;display:inline-flex !important;visibility:visible}.hy-dropdown__checkbox:hover{cursor:pointer}.hy-dropdown__checkbox:hover+label{border-color:var(--brand-main-light)}.hy-dropdown__checkbox:focus+label{border-color:var(--brand-main-light);border-style:solid inset solid solid;border-width:2px;outline:0;text-indent:-1px}";
|
|
9
9
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-1b0fdf83.js');
|
|
6
6
|
|
|
7
7
|
const hyFilterGroupCss = ":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:#f9a21a;--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-filter-group{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:16px}.hy-filter-group__listing{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;list-style:none;margin:0;padding:0}.hy-filter-group__label{font-size:0.75rem;line-height:16px;border-radius:2px;color:var(--grayscale-dark);font-family:var(--main-font-family);font-weight:normal;letter-spacing:-0.2px;margin:8px 4px 8px 0;padding:4px 0}@media (min-width: 30rem){.hy-filter-group__label{font-size:0.875rem;line-height:16px;letter-spacing:-0.3px;padding:6px 0}}.hy-filter-group__button{font-size:0.75rem;line-height:16px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--grayscale-background-box);border-radius:2px;border:0;color:var(--grayscale-dark);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-family:var(--main-font-family);font-weight:normal;letter-spacing:-0.2px;margin:8px 4px;padding:4px 6px}@media (min-width: 30rem){.hy-filter-group__button{font-size:0.875rem;line-height:16px;letter-spacing:-0.3px;padding:6px 8px}}.hy-filter-group__button:hover{cursor:pointer}.hy-filter-group__button-icon{margin-left:6px}@media (min-width: 30rem){.hy-filter-group__button-icon{margin-left:8px}}.hy-filter-group__button-icon svg{pointer-events:none}@media (min-width: 30rem){.hy-filter-group__button-icon svg{height:12px;width:12px}}.hy-filter-group__divider{font-size:0.75rem;line-height:16px;color:var(--grayscale-dark);font-family:var(--main-font-family);margin:4px 6px}@media (min-width: 30rem){.hy-filter-group__divider{font-size:0.875rem;line-height:16px;letter-spacing:-0.3px}}";
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-1b0fdf83.js');
|
|
6
6
|
const utils = require('./utils-3692dcdb.js');
|
|
7
7
|
|
|
8
8
|
const hyFilterListTypeCss = ":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:#f9a21a;--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-filter__list-type{display:none}@media (min-width: 60rem){.hy-filter__list-type{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-family:var(--main-font-family)}}@media (min-width: 60rem){.hy-filter__list-type span{font-size:0.875rem;line-height:18px;font-weight:600;color:var(--grayscale-black);letter-spacing:-0.5px;text-align:right}}@media (min-width: 1601px){.hy-filter__list-type span{font-size:1rem;line-height:20px}}.hy-filter__list-type__list{background:var(--grayscale-background-box);border:none;margin:0 8px;padding:10px}.hy-filter__list-type__list svg{background-color:var(--grayscale-background-box);fill:var(--brand-main-light)}.hy-filter__list-type__list.is-active{background:white;border:black 1px solid}.hy-filter__list-type__list.is-active svg{background-color:var(--grayscale-white);fill:var(--grayscale-black)}.hy-filter__list-type__list:hover{cursor:pointer}.hy-filter__list-type__grid{background:var(--grayscale-background-box);border:none;padding:10px}.hy-filter__list-type__grid svg{background-color:var(--grayscale-background-box);fill:var(--brand-main-light)}.hy-filter__list-type__grid.is-active{background:white;border:black 1px solid}.hy-filter__list-type__grid.is-active svg{background-color:var(--grayscale-white);fill:var(--grayscale-black)}.hy-filter__list-type__grid:hover{cursor:pointer}";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-1b0fdf83.js');
|
|
6
6
|
|
|
7
7
|
const hyFilterVisibilityToolCss = ":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:#f9a21a;--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-filter-visibility-tool{font-size:0.875rem;line-height:20px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:transparent;border:0;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.35px;padding:0;margin-right:1rem}@media (min-width: 30rem){.hy-filter-visibility-tool{font-size:1rem;line-height:20px;letter-spacing:-0.5px}}.hy-filter-visibility-tool:hover{color:var(--brand-main);cursor:pointer}.hy-filter-visibility-tool:hover svg{fill:var(--brand-main)}.hy-filter-visibility-tool:focus{color:var(--brand-main);outline-offset:1px;outline:2px solid var(--brand-main)}.hy-filter-visibility-tool:focus svg{fill:var(--brand-main)}.hy-filter-visibility-tool__icon{-ms-flex-negative:0;flex-shrink:0;margin-right:6px}.hy-filter-visibility-tool__icon svg{fill:var(--link-blue)}@media (min-width: 30rem){.hy-filter-visibility-tool__icon svg{height:16px;width:16px}}";
|
|
8
8
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-1b0fdf83.js');
|
|
6
6
|
const utils = require('./utils-3692dcdb.js');
|
|
7
|
-
const globalScript = require('./globalScript-
|
|
7
|
+
const globalScript = require('./globalScript-92a1392d.js');
|
|
8
8
|
const index$1 = require('./index-314ad166.js');
|
|
9
9
|
|
|
10
10
|
const hyFooterCss = ":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:#f9a21a;--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-footer{display:block}";
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-1b0fdf83.js');
|
|
6
6
|
const utils = require('./utils-3692dcdb.js');
|
|
7
|
-
const globalScript = require('./globalScript-
|
|
7
|
+
const globalScript = require('./globalScript-92a1392d.js');
|
|
8
8
|
|
|
9
9
|
const hyGeneralListCss = ":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:#f9a21a;--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-general-list{list-style:none;margin:0;padding:0}.hy-general-list--style-grid{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;gap:22px}@media (min-width: 30rem){.hy-general-list--style-grid{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}@media (min-width: 60rem){.hy-general-list--style-grid{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}.hy-general-list--style-grid li{background-color:var(--grayscale-background-box);width:100%;height:auto}@media (min-width: 30rem){.hy-general-list--style-grid li{width:calc(100% / 2 - 22px)}}@media (min-width: 60rem){.hy-general-list--style-grid li{width:calc(100% / 3 - 22px)}}.hy-general-list--with-sidebar.hy-general-list--style-grid{gap:22px}@media (min-width: 30rem){.hy-general-list--with-sidebar.hy-general-list--style-grid{gap:24px}}@media (min-width: 30rem){.hy-general-list--with-sidebar.hy-general-list--style-grid li{width:calc(100% / 2 - 24px)}}@media (min-width: 60rem){.hy-general-list--with-sidebar.hy-general-list--style-grid li{width:calc(100% / 3 - 24px)}}";
|
|
10
10
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-1b0fdf83.js');
|
|
6
6
|
|
|
7
7
|
const gridContainerCss = ":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:#f9a21a;--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-grid--container{display:block;width:100%;margin-left:auto;margin-right:auto}@media only screen and (min-width: 30rem){.hy-grid--container{width:100%}}@media only screen and (min-width: 60rem){.hy-grid--container{width:100%;max-width:60rem}}@media only screen and (min-width: 75.0625rem){.hy-grid--container{width:100%;max-width:75rem}}@media only screen and (min-width: 1601px){.hy-grid--container{width:100%;max-width:90rem}}";
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-1b0fdf83.js');
|
|
6
6
|
const utils = require('./utils-3692dcdb.js');
|
|
7
7
|
|
|
8
8
|
const gridItemCss = ":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:#f9a21a;--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-grid-align__left{text-align:left}.hy-grid-align__right{text-align:right}.hy-grid-align__center{text-align:center;margin-left:auto;margin-right:auto}.hy-grid-justify{text-align:justify}.hy-grid-hidden-sm{display:none}.hy-grid__col-1,.hy-grid__col-2,.hy-grid__col-3,.hy-grid__col-4,.hy-grid__col-5,.hy-grid__col-6,.hy-grid__col-7,.hy-grid__col-8,.hy-grid__col-9,.hy-grid__col-10,.hy-grid__col-11,.hy-grid__col-12{width:98%}.hy-grid__col-1-sm{width:6.3333333333%}.hy-grid__col-2-sm{width:14.6666666667%}.hy-grid__col-3-sm{width:23%}.hy-grid__col-4-sm{width:31.3333333333%}.hy-grid__col-5-sm{width:39.6666666667%}.hy-grid__col-6-sm{width:48%}.hy-grid__col-7-sm{width:56.3333333333%}.hy-grid__col-8-sm{width:64.6666666667%}.hy-grid__col-9-sm{width:73%}.hy-grid__col-10-sm{width:81.3333333333%}.hy-grid__col-11-sm{width:89.6666666667%}.hy-grid__col-12-sm{width:98%}@media only screen and (min-width: 48em){.hy-grid__col-1{width:6.3333333333%}.hy-grid__col-2{width:14.6666666667%}.hy-grid__col-3{width:23%}.hy-grid__col-4{width:31.3333333333%}.hy-grid__col-5{width:39.6666666667%}.hy-grid__col-6{width:48%}.hy-grid__col-7{width:56.3333333333%}.hy-grid__col-8{width:64.6666666667%}.hy-grid__col-9{width:73%}.hy-grid__col-10{width:81.3333333333%}.hy-grid__col-11{width:89.6666666667%}.hy-grid__col-12{width:98%}.hidden-sm{display:block}}@media only screen and (min-width: 60em){.hy-grid__col-1-lg{width:6.3333333333%}.hy-grid__col-2-lg{width:14.6666666667%}.hy-grid__col-3-lg{width:23%}.hy-grid__col-4-lg{width:31.3333333333%}.hy-grid__col-5-lg{width:39.6666666667%}.hy-grid__col-6-lg{width:48%}.hy-grid__col-7-lg{width:56.3333333333%}.hy-grid__col-8-lg{width:64.6666666667%}.hy-grid__col-9-lg{width:73%}.hy-grid__col-10-lg{width:81.3333333333%}.hy-grid__col-11-lg{width:89.6666666667%}.hy-grid__col-12-lg{width:98%}}";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-1b0fdf83.js');
|
|
6
6
|
|
|
7
7
|
const gridRowCss = ":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:#f9a21a;--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-grid__row{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;position:relative;width:100%}.hy-grid__row>[class^=hy-grid-item]{float:left;margin:0.5rem 1%;min-height:0.125rem}@media (min-width: 30rem){.hy-grid__row>[class^=hy-grid-item]{margin:1%}}.hy-grid__row::after{content:\"\";display:table;clear:both}";
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-1b0fdf83.js');
|
|
6
6
|
const utils = require('./utils-3692dcdb.js');
|
|
7
7
|
|
|
8
8
|
const defaultHeadingCss = ".sc-hy-heading-default: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:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*.sc-hy-heading-default{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-hy-heading-default:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}.sc-hy-heading-default:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}.sc-hy-heading-default-h{display:block}.hy-heading__container.sc-hy-heading-default{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;width:100%}@media (min-width: 30rem){.hy-heading__container.sc-hy-heading-default{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}.hy-heading__container__subsection.sc-hy-heading-default{padding:2.5rem 0 1.375rem}@media (min-width: 30rem){.hy-heading__container__subsection.sc-hy-heading-default{padding:4rem 0 2.375rem}}.hy-heading__container.sc-hy-heading-default h1.hy-heading__default.sc-hy-heading-default{margin-bottom:12px}@media (min-width: 1601px){.hy-heading__container.sc-hy-heading-default h1.hy-heading__default.sc-hy-heading-default{margin-bottom:16px}}@media (min-width: 75.0625rem){.hy-heading__container.sc-hy-heading-default h1.hy-heading__default__large.sc-hy-heading-default{margin-bottom:16px}}.hy-heading__container.sc-hy-heading-default h1.hy-heading__search.sc-hy-heading-default{margin-bottom:0;padding:16px 0 0}@media (min-width: 30rem){.hy-heading__container.sc-hy-heading-default h1.hy-heading__search.sc-hy-heading-default{padding:28px 0 0}}@media (min-width: 60rem){.hy-heading__container.sc-hy-heading-default h1.hy-heading__search.sc-hy-heading-default{padding:32px 0 0}}@media (min-width: 75.0625rem){.hy-heading__container.sc-hy-heading-default h1.hy-heading__search__large.sc-hy-heading-default{padding:40px 0 0}}.hy-heading__container.sc-hy-heading-default h2.sc-hy-heading-default,.hy-heading__container.sc-hy-heading-default h3.sc-hy-heading-default,.hy-heading__container.sc-hy-heading-default h4.sc-hy-heading-default,.hy-heading__container.sc-hy-heading-default h5.sc-hy-heading-default,.hy-heading__container.sc-hy-heading-default h6.sc-hy-heading-default{padding:1.5rem 0 1rem}@media (min-width: 30rem){.hy-heading__container.sc-hy-heading-default h2.sc-hy-heading-default,.hy-heading__container.sc-hy-heading-default h3.sc-hy-heading-default,.hy-heading__container.sc-hy-heading-default h4.sc-hy-heading-default,.hy-heading__container.sc-hy-heading-default h5.sc-hy-heading-default,.hy-heading__container.sc-hy-heading-default h6.sc-hy-heading-default{padding:2rem 0 1rem}}.hy-heading__container.hy-heading__introduction.sc-hy-heading-default{padding-top:0}.hy-heading__container.sc-hy-heading-default .hy-heading__courses.sc-hy-heading-default{padding-top:0}.hy-heading.sc-hy-heading-default{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:0;flex-shrink:0;max-width:100%;width:auto}.hy-heading__subsection--divider.sc-hy-heading-default,.hy-heading__contentsection--divider.sc-hy-heading-default{-ms-flex-negative:2;flex-shrink:2;overflow:hidden;width:100%}.hy-heading__subsection--divider.sc-hy-heading-default:after,.hy-heading__contentsection--divider.sc-hy-heading-default:after{background-color:transparent;border-bottom:6px solid var(--grayscale-dark);content:\" \";display:-webkit-box;display:-ms-flexbox;display:flex;height:2px;width:100%;margin-left:0;margin-bottom:0.5rem;position:relative;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}@media (min-width: 30rem){.hy-heading__subsection--divider.sc-hy-heading-default:after,.hy-heading__contentsection--divider.sc-hy-heading-default:after{margin-left:2rem;border-bottom:1px solid var(--grayscale-dark);margin-bottom:1rem}}h2.hy-heading__introduction.sc-hy-heading-default,h2.hy-heading__landingsection.sc-hy-heading-default{font-size:1.75rem;line-height:32px;font-weight:700;letter-spacing:-0.7px;text-transform:uppercase}h1.hy-heading__hero.sc-hy-heading-default{font-size:2rem;line-height:38px;font-weight:700;color:var(--grayscale-black);font-family:var(--main-font-family);letter-spacing:-0.8px;margin-bottom:0}@media (min-width: 1024px){h1.hy-heading__hero.sc-hy-heading-default{font-size:2.875rem;line-height:54px;letter-spacing:-1.15px}}@media (min-width: 1601px){h1.hy-heading__hero.sc-hy-heading-default{font-size:3.25rem;line-height:60px;letter-spacing:-1.3px}}@media (min-width: 30rem){.hy-heading__container__common.sc-hy-heading-default h2.hy-heading__introduction.sc-hy-heading-default,.hy-heading__container__common.sc-hy-heading-default h2.hy-heading__landingsection.sc-hy-heading-default{font-size:2.125rem;line-height:40px;letter-spacing:-0.85px}}@media (min-width: 1601px){.hy-heading__container__common.sc-hy-heading-default h2.hy-heading__introduction.sc-hy-heading-default,.hy-heading__container__common.sc-hy-heading-default h2.hy-heading__landingsection.sc-hy-heading-default{font-size:2.625rem;line-height:48px;letter-spacing:-1.05px}}.hy-heading__container__common.sc-hy-heading-default h2.hy-heading__introduction.sc-hy-heading-default{padding:0 0 12px}@media (min-width: 30rem){.hy-heading__container__common.sc-hy-heading-default h2.hy-heading__introduction.sc-hy-heading-default{padding:0 0 1rem}}.hy-heading__container__common.sc-hy-heading-default h2.hy-heading__landingsection.sc-hy-heading-default,.hy-heading__container__common.sc-hy-heading-default h2.hy-heading__contentsection.sc-hy-heading-default{padding-bottom:24px}@media (min-width: 30rem){.hy-heading__container__common.sc-hy-heading-default h2.hy-heading__landingsection.sc-hy-heading-default,.hy-heading__container__common.sc-hy-heading-default h2.hy-heading__contentsection.sc-hy-heading-default{padding-bottom:28px}}@media (min-width: 60rem){.hy-heading__container__common.sc-hy-heading-default h2.hy-heading__landingsection.sc-hy-heading-default,.hy-heading__container__common.sc-hy-heading-default h2.hy-heading__contentsection.sc-hy-heading-default{padding-bottom:32px}}@media (min-width: 75.0625rem){.hy-heading__container__common.sc-hy-heading-default h2.hy-heading__landingsection.sc-hy-heading-default,.hy-heading__container__common.sc-hy-heading-default h2.hy-heading__contentsection.sc-hy-heading-default{padding-bottom:32px}}@media (min-width: 1601px){.hy-heading__container__common.sc-hy-heading-default h2.hy-heading__landingsection.sc-hy-heading-default,.hy-heading__container__common.sc-hy-heading-default h2.hy-heading__contentsection.sc-hy-heading-default{padding-bottom:40px}}.hy-heading__container__common.sc-hy-heading-default h2.hy-heading__group_footer_info.sc-hy-heading-default{font-size:1.5rem;line-height:28px;font-weight:700;letter-spacing:-0.6px;text-transform:uppercase}@media (min-width: 30rem){.hy-heading__container__common.sc-hy-heading-default h2.hy-heading__group_footer_info.sc-hy-heading-default{letter-spacing:-0.8px}}@media (min-width: 1601px){.hy-heading__container__common.sc-hy-heading-default h2.hy-heading__group_footer_info.sc-hy-heading-default{font-size:1.625rem;line-height:30px}}.hy-heading__container__common.sc-hy-heading-default h2.hy-heading__footer_info.sc-hy-heading-default{font-size:1.75rem;line-height:32px;font-weight:700;letter-spacing:-0.7px;text-transform:uppercase}@media (min-width: 30rem){.hy-heading__container__common.sc-hy-heading-default h2.hy-heading__footer_info.sc-hy-heading-default{font-size:2.125rem;line-height:40px;letter-spacing:-0.85px}}@media (min-width: 1601px){.hy-heading__container__common.sc-hy-heading-default h2.hy-heading__footer_info.sc-hy-heading-default{font-size:2.625rem;line-height:48px;letter-spacing:-1.05px}}@media (min-width: 30rem){.hy-heading__container__large.sc-hy-heading-default h2.hy-heading__introduction.sc-hy-heading-default,.hy-heading__container__large.sc-hy-heading-default h2.hy-heading__landingsection.sc-hy-heading-default{font-size:2.125rem;line-height:40px;letter-spacing:-0.85px}}@media (min-width: 75.0625rem){.hy-heading__container__large.sc-hy-heading-default h2.hy-heading__introduction.sc-hy-heading-default,.hy-heading__container__large.sc-hy-heading-default h2.hy-heading__landingsection.sc-hy-heading-default{font-size:2.625rem;line-height:48px;letter-spacing:-1.05px}}@media (min-width: 75.0625rem){.hy-heading__container__large.sc-hy-heading-default h2.hy-heading__introduction.sc-hy-heading-default{padding:0 0 1rem}}@media (min-width: 1601px){.hy-heading__container__large.sc-hy-heading-default h2.hy-heading__introduction.sc-hy-heading-default{padding:0 0 20px}}.hy-heading__container__large.sc-hy-heading-default h2.hy-heading__landingsection.sc-hy-heading-default,.hy-heading__container__large.sc-hy-heading-default h2.hy-heading__contentsection.sc-hy-heading-default{padding-bottom:24px}@media (min-width: 30rem){.hy-heading__container__large.sc-hy-heading-default h2.hy-heading__landingsection.sc-hy-heading-default,.hy-heading__container__large.sc-hy-heading-default h2.hy-heading__contentsection.sc-hy-heading-default{padding-bottom:28px}}@media (min-width: 60rem){.hy-heading__container__large.sc-hy-heading-default h2.hy-heading__landingsection.sc-hy-heading-default,.hy-heading__container__large.sc-hy-heading-default h2.hy-heading__contentsection.sc-hy-heading-default{padding-bottom:32px}}@media (min-width: 75.0625rem){.hy-heading__container__large.sc-hy-heading-default h2.hy-heading__landingsection.sc-hy-heading-default,.hy-heading__container__large.sc-hy-heading-default h2.hy-heading__contentsection.sc-hy-heading-default{padding-bottom:40px}}@media (min-width: 75.0625rem){.hy-heading__container__large.sc-hy-heading-default h1.hy-heading__landing_minor.sc-hy-heading-default{font-size:3.25rem;line-height:60px;letter-spacing:-1.3px}}@media (min-width: 75.0625rem){.hy-heading__container__large.sc-hy-heading-default h1.hy-heading__frontpage.sc-hy-heading-default,.hy-heading__container__large.sc-hy-heading-default h1.hy-heading__landing_major.sc-hy-heading-default{font-size:3.5rem;line-height:64px;letter-spacing:-1.4px}}.hy-heading__container__large.sc-hy-heading-default h2.hy-heading__group_footer_info.sc-hy-heading-default{font-size:1.5rem;line-height:28px;font-weight:700;letter-spacing:-0.6px;text-transform:uppercase}@media (min-width: 30rem){.hy-heading__container__large.sc-hy-heading-default h2.hy-heading__group_footer_info.sc-hy-heading-default{letter-spacing:-0.8px}}@media (min-width: 75.0625rem){.hy-heading__container__large.sc-hy-heading-default h2.hy-heading__group_footer_info.sc-hy-heading-default{font-size:1.625rem;line-height:30px}}.hy-heading__container__large.sc-hy-heading-default h2.hy-heading__footer_info.sc-hy-heading-default{font-size:1.75rem;line-height:32px;font-weight:700;letter-spacing:-0.7px;text-transform:uppercase}@media (min-width: 30rem){.hy-heading__container__large.sc-hy-heading-default h2.hy-heading__footer_info.sc-hy-heading-default{font-size:2.125rem;line-height:40px;letter-spacing:-0.85px}}@media (min-width: 75.0625rem){.hy-heading__container__large.sc-hy-heading-default h2.hy-heading__footer_info.sc-hy-heading-default{font-size:2.625rem;line-height:48px;letter-spacing:-1.05px}}h3.hy-heading__landingsection.sc-hy-heading-default{font-size:1.625rem;line-height:32px;letter-spacing:-0.8px}@media (min-width: 30rem){h3.hy-heading__landingsection.sc-hy-heading-default{font-size:2rem;line-height:32px;letter-spacing:-1px}}@media (min-width: 75.0625rem){h3.hy-heading__landingsection.sc-hy-heading-default{font-size:2.5rem;line-height:48px;letter-spacing:-1.2px}}@media (min-width: 1601px){h3.hy-heading__landingsection.sc-hy-heading-default{font-size:2.5rem;line-height:48px;letter-spacing:-1.2px}}h1.sc-hy-heading-default,h2.sc-hy-heading-default,h3.sc-hy-heading-default,h4.sc-hy-heading-default,h5.sc-hy-heading-default,h6.sc-hy-heading-default{color:var(--brand-main-nearly-black);font-family:var(--main-font-family);font-weight:700;padding:0;margin:0;width:100%}h1.negative.sc-hy-heading-default,h2.negative.sc-hy-heading-default,h3.negative.sc-hy-heading-default,h4.negative.sc-hy-heading-default,h5.negative.sc-hy-heading-default,h6.negative.sc-hy-heading-default{color:var(--grayscale-white)}h1.sc-hy-heading-default{font-size:2rem;line-height:38px;letter-spacing:-0.8px;text-transform:uppercase}@media (min-width: 30rem){h1.sc-hy-heading-default{font-size:2.875rem;line-height:54px;letter-spacing:-1.15px}}@media (min-width: 1601px){h1.sc-hy-heading-default{font-size:3.25rem;line-height:60px;letter-spacing:-1.3px}}@media (min-width: 75.0625rem){.hy-heading__container__large.sc-hy-heading-default h1.sc-hy-heading-default{font-size:3.25rem;line-height:60px;letter-spacing:-1.3px}}h2.sc-hy-heading-default{font-size:1.625rem;line-height:32px;font-weight:700;letter-spacing:-0.52px}@media (min-width: 30rem){h2.sc-hy-heading-default{font-size:1.875rem;line-height:36px;letter-spacing:-0.6px}}@media (min-width: 1601px){.hy-heading__container__common.sc-hy-heading-default h2.sc-hy-heading-default{font-size:2.125rem;line-height:40px;letter-spacing:-0.68px}}@media (min-width: 75.0625rem){.hy-heading__container__large.sc-hy-heading-default h2.sc-hy-heading-default{font-size:2.125rem;line-height:40px;letter-spacing:-0.68px}}h3.sc-hy-heading-default{font-size:1.375rem;line-height:28px;letter-spacing:-0.7px}@media (min-width: 30rem){h3.sc-hy-heading-default{font-size:1.625rem;line-height:32px;letter-spacing:-0.8px}}h4.sc-hy-heading-default{font-size:1.125rem;line-height:24px;letter-spacing:-0.56px}@media (min-width: 30rem){h4.sc-hy-heading-default{font-size:1.375rem;line-height:28px;letter-spacing:-0.69px}}h5.sc-hy-heading-default{font-size:1rem;line-height:20px;letter-spacing:-0.5px}@media (min-width: 30rem){h5.sc-hy-heading-default{font-size:1.125rem;line-height:24px;letter-spacing:-0.56px}}h6.sc-hy-heading-default{font-size:0.875rem;line-height:16px;letter-spacing:-0.44px}@media (min-width: 30rem){h6.sc-hy-heading-default{font-size:1rem;line-height:20px;letter-spacing:-0.5px}}";
|
|
@@ -23,6 +23,12 @@ const Heading = class {
|
|
|
23
23
|
this.section = utils.HeadingSectionVariants.default;
|
|
24
24
|
this.negative = false;
|
|
25
25
|
this.headerstyle = 'common';
|
|
26
|
+
this.hasChildren = true;
|
|
27
|
+
}
|
|
28
|
+
componentWillLoad() {
|
|
29
|
+
if (!this.el.textContent) {
|
|
30
|
+
this.hasChildren = false;
|
|
31
|
+
}
|
|
26
32
|
}
|
|
27
33
|
componentDidLoad() {
|
|
28
34
|
let hyMainDiv = this.el.closest('.hy-main');
|
|
@@ -50,8 +56,8 @@ const Heading = class {
|
|
|
50
56
|
`hy-heading__container__${this.headerstyle}`,
|
|
51
57
|
].join(' ');
|
|
52
58
|
return (index.h(index.Host, null, headingInVariants ? ([
|
|
53
|
-
index.h("div", { class: containerSectionClass }, index.h(this.heading, { class: classAttributes.join(' ') }, index.h("slot", null)), index.h("span", { class: sectionClassAttributes })),
|
|
54
|
-
]) : (index.h("div", { class: containerSectionClass }, index.h(utils.HeadingVarians.default, { class: classAttributes.join(' ') }, index.h("span", null, index.h("slot", null))), index.h("span", { class: sectionClassAttributes })))));
|
|
59
|
+
index.h("div", { class: containerSectionClass }, this.hyphenatedText && !this.hasChildren ? (index.h(this.heading, { class: classAttributes.join(' '), innerHTML: this.hyphenatedText })) : (index.h(this.heading, { class: classAttributes.join(' ') }, index.h("slot", null))), index.h("span", { class: sectionClassAttributes })),
|
|
60
|
+
]) : (index.h("div", { class: containerSectionClass }, this.hyphenatedText && !this.hasChildren ? (index.h(utils.HeadingVarians.default, { class: classAttributes.join(' ') }, index.h("span", { innerHTML: this.hyphenatedText }))) : (index.h(utils.HeadingVarians.default, { class: classAttributes.join(' ') }, index.h("span", null, index.h("slot", null)))), index.h("span", { class: sectionClassAttributes })))));
|
|
55
61
|
}
|
|
56
62
|
get el() { return index.getElement(this); }
|
|
57
63
|
};
|