@itcenteratunihelsinki/huds-lib 0.5.19 → 0.5.23
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-92a1392d.js → globalScript-0c66cb96.js} +1 -1
- package/dist/cjs/huds-lib.cjs.js +3 -3
- package/dist/cjs/hy-accordion-container_5.cjs.entry.js +578 -0
- 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 +2 -2
- 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 +6 -8
- package/dist/cjs/hy-hero.cjs.entry.js +7 -7
- package/dist/cjs/hy-icon.cjs.entry.js +1 -1
- package/dist/cjs/hy-image.cjs.entry.js +1 -1
- 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 +2 -2
- 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 +1 -1
- package/dist/cjs/hy-menu-language-item.cjs.entry.js +1 -1
- package/dist/cjs/{hy-menu-language_2.cjs.entry.js → hy-menu-language.cjs.entry.js} +2 -21
- package/dist/cjs/hy-menu-level-container.cjs.entry.js +1 -1
- package/dist/cjs/hy-menu-main-group.cjs.entry.js +2 -2
- package/dist/cjs/hy-menu-mobile-breadcrumb.cjs.entry.js +25 -0
- package/dist/cjs/hy-menu-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/hy-menu.cjs.entry.js +4 -4
- package/dist/cjs/hy-mobile-menu-shortcuts.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/hy-person-card.cjs.entry.js +1 -1
- package/dist/cjs/hy-person-profile.cjs.entry.js +61 -0
- 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 +6 -5
- package/dist/cjs/hy-table-container.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-1b0fdf83.js → index-dd5e5023.js} +0 -3
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/accordion-item/accordion-item.css +5 -4
- package/dist/collection/components/accordion-item/accordion-item.js +20 -20
- package/dist/collection/components/heading/heading.js +4 -7
- package/dist/collection/components/hy-hero/hy-hero.css +42 -6
- package/dist/collection/components/hy-hero/hy-hero.js +5 -5
- package/dist/collection/components/hy-list-item/hy-list-item.css +9 -4
- package/dist/collection/components/navigation/menu/menu.js +23 -8
- package/dist/collection/components/paragraph-text/paragraph-text.css +9 -7
- package/dist/collection/components/person-profile/person-profile-listing/person-profile-listing.css +188 -0
- package/dist/collection/components/person-profile/person-profile-listing/person-profile.listing.js +124 -0
- package/dist/collection/components/person-profile/person-profile.css +506 -0
- package/dist/collection/components/person-profile/person-profile.js +199 -0
- package/dist/collection/components/site-header/site-header.css +12 -0
- package/dist/collection/components/site-header/site-header.js +21 -2
- package/dist/esm/color-box.entry.js +1 -1
- package/dist/esm/{globalScript-968b96dd.js → globalScript-92c6b812.js} +1 -1
- package/dist/esm/huds-lib.js +3 -3
- package/dist/esm/hy-accordion-container_5.entry.js +570 -0
- 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 +2 -2
- 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 +6 -8
- package/dist/esm/hy-hero.entry.js +8 -8
- package/dist/esm/hy-icon.entry.js +1 -1
- package/dist/esm/hy-image.entry.js +1 -1
- 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 +2 -2
- 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 +1 -1
- package/dist/esm/hy-menu-language-item.entry.js +1 -1
- package/dist/esm/{hy-menu-language_2.entry.js → hy-menu-language.entry.js} +3 -21
- package/dist/esm/hy-menu-level-container.entry.js +1 -1
- package/dist/esm/hy-menu-main-group.entry.js +2 -2
- package/dist/esm/hy-menu-mobile-breadcrumb.entry.js +21 -0
- package/dist/esm/hy-menu-sidebar.entry.js +1 -1
- package/dist/esm/hy-menu.entry.js +4 -4
- package/dist/esm/hy-mobile-menu-shortcuts.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/hy-person-card.entry.js +1 -1
- package/dist/esm/hy-person-profile.entry.js +57 -0
- 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 +6 -5
- package/dist/esm/hy-table-container.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-a38b87db.js → index-083c8c8a.js} +0 -3
- package/dist/esm/loader.js +3 -3
- package/dist/huds-lib/huds-lib.esm.js +1 -1
- package/dist/huds-lib/{p-5b3a4a8b.entry.js → p-045ec3b7.entry.js} +1 -1
- package/dist/huds-lib/{p-c4960510.entry.js → p-064b4cbf.entry.js} +1 -1
- package/dist/huds-lib/p-0b2e3057.entry.js +1 -0
- package/dist/huds-lib/p-0f9c4661.entry.js +8 -0
- package/dist/huds-lib/{p-b1a3cbcc.entry.js → p-114f1281.entry.js} +1 -1
- package/dist/huds-lib/{p-81800bd1.entry.js → p-14f40b8c.entry.js} +1 -1
- package/dist/huds-lib/{p-15a21c20.entry.js → p-179221b4.entry.js} +1 -1
- package/dist/huds-lib/{p-b5ca8a38.entry.js → p-2517134c.entry.js} +1 -1
- package/dist/huds-lib/{p-e6a97c32.entry.js → p-27a613af.entry.js} +1 -1
- package/dist/huds-lib/{p-15db4fae.entry.js → p-29a5f847.entry.js} +1 -1
- package/dist/huds-lib/{p-3a0cbfbc.entry.js → p-309dde97.entry.js} +1 -1
- package/dist/huds-lib/{p-c3e38183.entry.js → p-33ffdffe.entry.js} +1 -1
- package/dist/huds-lib/{p-e475714a.entry.js → p-349817f6.entry.js} +1 -1
- package/dist/huds-lib/p-34f51e1d.entry.js +1 -0
- package/dist/huds-lib/{p-8b20a127.entry.js → p-3641da70.entry.js} +1 -1
- package/dist/huds-lib/{p-0116a0a5.entry.js → p-3bf480d9.entry.js} +1 -1
- package/dist/huds-lib/p-3d35d226.entry.js +1 -0
- package/dist/huds-lib/{p-891108e9.entry.js → p-40ab2704.entry.js} +1 -1
- package/dist/huds-lib/{p-9ab9c615.entry.js → p-4252e76e.entry.js} +1 -1
- package/dist/huds-lib/p-45c60364.entry.js +1 -0
- package/dist/huds-lib/{p-9482c6bf.entry.js → p-47192e43.entry.js} +1 -1
- package/dist/huds-lib/{p-a90b0293.entry.js → p-47d919f5.entry.js} +1 -1
- package/dist/huds-lib/{p-0ecafe0e.entry.js → p-488053bf.entry.js} +1 -1
- package/dist/huds-lib/{p-8cbbedb1.entry.js → p-48fbe621.entry.js} +1 -1
- package/dist/huds-lib/p-4c56d8d7.entry.js +1 -0
- package/dist/huds-lib/p-4d4869f9.entry.js +1 -0
- package/dist/huds-lib/{p-0977618c.entry.js → p-4d6f4bd3.entry.js} +1 -1
- package/dist/huds-lib/{p-2716775c.entry.js → p-518b6042.entry.js} +1 -1
- package/dist/huds-lib/{p-4404fbde.entry.js → p-51b159ea.entry.js} +1 -1
- package/dist/huds-lib/{p-caf7a56b.entry.js → p-5214f8e4.entry.js} +1 -1
- package/dist/huds-lib/{p-3ca46ddb.entry.js → p-521557a1.entry.js} +1 -1
- package/dist/huds-lib/{p-0260d2ca.entry.js → p-557d5e62.entry.js} +1 -1
- package/dist/huds-lib/{p-229d3332.entry.js → p-5e60356e.entry.js} +1 -1
- package/dist/huds-lib/{p-d60b07c4.entry.js → p-5ed9781b.entry.js} +1 -1
- package/dist/huds-lib/{p-6fd29d10.entry.js → p-604e4a62.entry.js} +1 -1
- package/dist/huds-lib/{p-64023b5d.entry.js → p-608090da.entry.js} +1 -1
- package/dist/huds-lib/{p-add4a25d.entry.js → p-67b6fddc.entry.js} +1 -1
- package/dist/huds-lib/{p-7f005622.entry.js → p-6c56dcbb.entry.js} +1 -1
- package/dist/huds-lib/{p-9caa985a.entry.js → p-6cc92340.entry.js} +1 -1
- package/dist/huds-lib/{p-26104af0.entry.js → p-70d43477.entry.js} +1 -1
- package/dist/huds-lib/{p-e6fa0f75.entry.js → p-734da8db.entry.js} +1 -1
- package/dist/huds-lib/{p-b8735152.entry.js → p-78060d4c.entry.js} +1 -1
- package/dist/huds-lib/{p-e1346358.entry.js → p-78ceaf5c.entry.js} +1 -1
- package/dist/huds-lib/{p-3862113f.entry.js → p-795c4838.entry.js} +1 -1
- package/dist/huds-lib/{p-7e9f2a43.entry.js → p-7d8c86f1.entry.js} +1 -1
- package/dist/huds-lib/{p-11e56f3a.entry.js → p-830cfabf.entry.js} +8 -8
- package/dist/huds-lib/{p-beeb1416.entry.js → p-85cad30d.entry.js} +1 -1
- package/dist/huds-lib/{p-d9de2cad.entry.js → p-8a62a954.entry.js} +1 -1
- package/dist/huds-lib/{p-efeeca30.entry.js → p-8a7b55ed.entry.js} +1 -1
- package/dist/huds-lib/{p-445be0e8.entry.js → p-8ddab2fa.entry.js} +1 -1
- package/dist/huds-lib/{p-ea7dde9b.entry.js → p-8f314f7f.entry.js} +1 -1
- package/dist/huds-lib/{p-1d255319.entry.js → p-9080f8a1.entry.js} +1 -1
- package/dist/huds-lib/{p-3f15571f.entry.js → p-938a2d69.entry.js} +1 -1
- package/dist/huds-lib/{p-dd2ab3e6.entry.js → p-99cdca42.entry.js} +1 -1
- package/dist/huds-lib/{p-2ed13bb3.entry.js → p-9a45dd9a.entry.js} +1 -1
- package/dist/huds-lib/{p-f7d11cd4.entry.js → p-9e1e7a50.entry.js} +1 -1
- package/dist/huds-lib/{p-b71d0912.entry.js → p-9f0357c6.entry.js} +1 -1
- package/dist/huds-lib/{p-2884f04c.entry.js → p-a099ede9.entry.js} +1 -1
- package/dist/huds-lib/{p-c143d160.entry.js → p-a54ddb3e.entry.js} +1 -1
- package/dist/huds-lib/{p-8fe61cc4.entry.js → p-a7922d26.entry.js} +1 -1
- package/dist/huds-lib/{p-d6588da7.entry.js → p-a86d576b.entry.js} +1 -1
- package/dist/huds-lib/{p-01712ca5.entry.js → p-aa135221.entry.js} +1 -1
- package/dist/huds-lib/{p-17c1f514.entry.js → p-aa3255bd.entry.js} +1 -1
- package/dist/huds-lib/p-ac362729.entry.js +1 -0
- package/dist/huds-lib/{p-535b56d4.entry.js → p-b1f5686d.entry.js} +1 -1
- package/dist/huds-lib/{p-3ef36a18.entry.js → p-b5d1ec3a.entry.js} +1 -1
- package/dist/huds-lib/{p-83a380fc.entry.js → p-b5fc027f.entry.js} +1 -1
- package/dist/huds-lib/{p-f4a9ea9c.entry.js → p-b950d89c.entry.js} +1 -1
- package/dist/huds-lib/{p-943998ee.entry.js → p-ba49a9c2.entry.js} +1 -1
- package/dist/huds-lib/{p-91e7dbdb.entry.js → p-baada6d9.entry.js} +1 -1
- package/dist/huds-lib/{p-d5584db1.js → p-bb24c6b5.js} +1 -1
- package/dist/huds-lib/{p-9eb39b28.entry.js → p-bd31e4b5.entry.js} +1 -1
- package/dist/huds-lib/{p-b86b5336.entry.js → p-c12bd151.entry.js} +1 -1
- package/dist/huds-lib/{p-1b85cd45.entry.js → p-c2b771ef.entry.js} +1 -1
- package/dist/huds-lib/{p-db142402.entry.js → p-cf1565c7.entry.js} +1 -1
- package/dist/huds-lib/{p-241216a3.entry.js → p-d5a6bba6.entry.js} +1 -1
- package/dist/huds-lib/{p-fb8f253d.entry.js → p-ddeb65de.entry.js} +1 -1
- package/dist/huds-lib/{p-9739d43b.entry.js → p-e7abd29a.entry.js} +1 -1
- package/dist/huds-lib/p-e933c51d.entry.js +1 -0
- package/dist/huds-lib/{p-c21d1933.entry.js → p-e93ed0a4.entry.js} +1 -1
- package/dist/huds-lib/{p-bffe53e9.entry.js → p-ed83fcf6.entry.js} +1 -1
- package/dist/huds-lib/{p-164c361b.entry.js → p-ede56435.entry.js} +1 -1
- package/dist/huds-lib/{p-3a2fd06e.entry.js → p-f110b94a.entry.js} +1 -1
- package/dist/huds-lib/{p-c8c24282.entry.js → p-f2fe08a4.entry.js} +1 -1
- package/dist/huds-lib/{p-ac7fbdbf.entry.js → p-fb3bcd59.entry.js} +1 -1
- package/dist/huds-lib/{p-5617bc3e.js → p-fd1edbd5.js} +1 -1
- package/dist/huds-lib/{p-d1249b2e.entry.js → p-ff62346a.entry.js} +1 -1
- package/dist/huds-lib/{p-a295071c.entry.js → p-ffa7f1fb.entry.js} +1 -1
- package/dist/types/components/heading/heading.d.ts +0 -1
- package/dist/types/components/navigation/menu/menu.d.ts +2 -1
- package/dist/types/components/person-profile/person-profile-listing/person-profile.listing.d.ts +14 -0
- package/dist/types/components/person-profile/person-profile.d.ts +12 -0
- package/dist/types/components/site-header/site-header.d.ts +1 -0
- package/dist/types/components.d.ts +51 -0
- package/package.json +1 -1
- package/dist/cjs/hy-accordion-container.cjs.entry.js +0 -29
- package/dist/cjs/hy-accordion-item.cjs.entry.js +0 -216
- package/dist/cjs/hy-tabs-item.cjs.entry.js +0 -20
- package/dist/cjs/hy-tabs.cjs.entry.js +0 -308
- package/dist/esm/hy-accordion-container.entry.js +0 -25
- package/dist/esm/hy-accordion-item.entry.js +0 -212
- package/dist/esm/hy-tabs-item.entry.js +0 -16
- package/dist/esm/hy-tabs.entry.js +0 -304
- package/dist/huds-lib/p-258c3b0e.entry.js +0 -1
- package/dist/huds-lib/p-31e8b291.entry.js +0 -1
- package/dist/huds-lib/p-54229a0d.entry.js +0 -1
- package/dist/huds-lib/p-5e1dc555.entry.js +0 -1
- package/dist/huds-lib/p-6b8b4259.entry.js +0 -1
- package/dist/huds-lib/p-97727091.entry.js +0 -8
- package/dist/huds-lib/p-a099a649.entry.js +0 -1
- package/dist/huds-lib/p-ce9d4716.entry.js +0 -1
- package/dist/huds-lib/p-d7e2d5d5.entry.js +0 -1
- package/dist/huds-lib/p-f5e78e68.entry.js +0 -1
|
@@ -0,0 +1,506 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--brand-main: #0e688b;
|
|
3
|
+
--brand-main-soft: #b1e7ff;
|
|
4
|
+
--brand-main-bright: #48c5f8;
|
|
5
|
+
--brand-main-light: #107eab;
|
|
6
|
+
--brand-main-active: #005379;
|
|
7
|
+
--brand-main-dark: #003146;
|
|
8
|
+
--brand-main-nearly-black: #000222;
|
|
9
|
+
--link-blue: #0479a4;
|
|
10
|
+
--link-disabled: #767676;
|
|
11
|
+
--grayscale-white: #fff;
|
|
12
|
+
--grayscale-slightly-gray: #fefefe;
|
|
13
|
+
--grayscale-light: #f8f8f8;
|
|
14
|
+
--grayscale-medium: #d2d2d2;
|
|
15
|
+
--grayscale-background-box: #f5f5f5;
|
|
16
|
+
--grayscale-tabs-border: #e6e6e6;
|
|
17
|
+
--grayscale-background-arrow: #dfdfdf;
|
|
18
|
+
--grayscale-medium-dark: #979797;
|
|
19
|
+
--grayscale-dark: #555555;
|
|
20
|
+
--grayscale-dark-text: #222222;
|
|
21
|
+
--grayscale-black: #000000;
|
|
22
|
+
--additional-red-light: #e5053a;
|
|
23
|
+
--additional-red-dark: #a31621;
|
|
24
|
+
--additional-purple-light: #420039;
|
|
25
|
+
--additional-yellow: #f9a21a;
|
|
26
|
+
--additional-skyblue: #48c5f8;
|
|
27
|
+
--additional-orange: #d14600;
|
|
28
|
+
--additional-green-light: #96ba3c;
|
|
29
|
+
--additional-green-dark: #006400;
|
|
30
|
+
--hover-gray: #eaeaea;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
* {
|
|
34
|
+
-webkit-box-sizing: border-box;
|
|
35
|
+
box-sizing: border-box;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
:root {
|
|
39
|
+
--gutter-mobile: 16px;
|
|
40
|
+
--gutter-narrow: 24px;
|
|
41
|
+
--gutter-medium: 24px;
|
|
42
|
+
--gutter-wide: 24px;
|
|
43
|
+
--gutter-extrawide: 32px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Mixin for fluid type.
|
|
48
|
+
* Example usage: @include fluid-type(font-size, 320px, 1600px, 32px, 80px);
|
|
49
|
+
*/
|
|
50
|
+
|
|
51
|
+
:root {
|
|
52
|
+
--breakpoint-extrawide: 75.0625rem;
|
|
53
|
+
--breakpoint-max-width: 75.0625rem;
|
|
54
|
+
--breakpoint-medium: 48rem;
|
|
55
|
+
--breakpoint-narrow: 30rem;
|
|
56
|
+
--breakpoint-wide: 60rem;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.hy-profile-page__back-button {
|
|
60
|
+
font-size: 1rem;
|
|
61
|
+
line-height: 20px;
|
|
62
|
+
font-weight: 600;
|
|
63
|
+
font-family: var(--main-font-family);
|
|
64
|
+
letter-spacing: -0.5px;
|
|
65
|
+
color: var(--brand-main-light);
|
|
66
|
+
padding: 12px 10px;
|
|
67
|
+
display: -webkit-inline-box;
|
|
68
|
+
display: -ms-inline-flexbox;
|
|
69
|
+
display: inline-flex;
|
|
70
|
+
text-decoration: none;
|
|
71
|
+
margin-left: -10px;
|
|
72
|
+
-webkit-box-align: center;
|
|
73
|
+
-ms-flex-align: center;
|
|
74
|
+
align-items: center;
|
|
75
|
+
margin-bottom: 16px;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@media (min-width: 48rem) {
|
|
79
|
+
.hy-profile-page__back-button {
|
|
80
|
+
margin-bottom: 24px;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.hy-profile-page__back-button hy-icon {
|
|
85
|
+
margin-right: 16px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.hy-profile-page__back-button hy-icon svg {
|
|
89
|
+
fill: var(--brand-main-light);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.hy-profile-page__section {
|
|
93
|
+
padding: 32px 0;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.hy-profile-page__section:first-of-type {
|
|
97
|
+
padding: 0 0 32px;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.hy-profile-page__section:not(:first-of-type) {
|
|
101
|
+
border-top: 1px solid var(--grayscale-medium);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.hy-profile-page__section > h2 {
|
|
105
|
+
font-size: 1.625rem;
|
|
106
|
+
line-height: 32px;
|
|
107
|
+
font-weight: 700;
|
|
108
|
+
font-family: var(--main-font-family);
|
|
109
|
+
letter-spacing: -0.52px;
|
|
110
|
+
color: var(--grayscale-black);
|
|
111
|
+
margin: 0 0 32px;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@media (min-width: 48rem) {
|
|
115
|
+
.hy-profile-page__section > h2 {
|
|
116
|
+
font-size: 2.125rem;
|
|
117
|
+
line-height: 40px;
|
|
118
|
+
letter-spacing: -0.68px;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.hy-profile-page__organization-units-section {
|
|
123
|
+
font-family: var(--main-font-family);
|
|
124
|
+
padding: 0;
|
|
125
|
+
margin: 0;
|
|
126
|
+
list-style: none;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.hy-profile-page__organization-units-section h3 {
|
|
130
|
+
font-size: 0.9375rem;
|
|
131
|
+
line-height: 18px;
|
|
132
|
+
font-weight: 700;
|
|
133
|
+
letter-spacing: -0.28px;
|
|
134
|
+
color: var(--grayscale-black);
|
|
135
|
+
margin: 0 0 8px;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
@media (min-width: 48rem) {
|
|
139
|
+
.hy-profile-page__organization-units-section h3 {
|
|
140
|
+
font-size: 1.0625rem;
|
|
141
|
+
line-height: 20px;
|
|
142
|
+
letter-spacing: -0.32px;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.hy-profile-page__organization-units-section {
|
|
147
|
+
margin-top: 24px;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
@media (min-width: 48rem) {
|
|
151
|
+
.hy-profile-page__organization-units-section {
|
|
152
|
+
margin-top: 32px;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.hy-profile-page__organizations,
|
|
157
|
+
.hy-profile-page__organizations ul,
|
|
158
|
+
.hy-profile-page__research-organizations,
|
|
159
|
+
.hy-profile-page__research-organizations ul {
|
|
160
|
+
list-style: none;
|
|
161
|
+
margin: 0;
|
|
162
|
+
padding: 0;
|
|
163
|
+
display: grid;
|
|
164
|
+
gap: 8px;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.hy-profile-page__organizations li,
|
|
168
|
+
.hy-profile-page__research-organizations li {
|
|
169
|
+
display: -webkit-inline-box;
|
|
170
|
+
display: -ms-inline-flexbox;
|
|
171
|
+
display: inline-flex;
|
|
172
|
+
-ms-flex-wrap: wrap;
|
|
173
|
+
flex-wrap: wrap;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.hy-profile-page__organizations li span,
|
|
177
|
+
.hy-profile-page__research-organizations li span {
|
|
178
|
+
font-size: 0.9375rem;
|
|
179
|
+
line-height: 22px;
|
|
180
|
+
font-weight: 400;
|
|
181
|
+
color: var(--grayscale-black);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
@media (min-width: 48rem) {
|
|
185
|
+
.hy-profile-page__organizations li span,
|
|
186
|
+
.hy-profile-page__research-organizations li span {
|
|
187
|
+
font-size: 1.0625rem;
|
|
188
|
+
line-height: 26px;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.hy-profile-page__organizations li > span,
|
|
193
|
+
.hy-profile-page__research-organizations li > span {
|
|
194
|
+
display: -webkit-inline-box;
|
|
195
|
+
display: -ms-inline-flexbox;
|
|
196
|
+
display: inline-flex;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.hy-profile-page__organizations li hy-icon,
|
|
200
|
+
.hy-profile-page__research-organizations li hy-icon {
|
|
201
|
+
-webkit-box-pack: center;
|
|
202
|
+
-ms-flex-pack: center;
|
|
203
|
+
justify-content: center;
|
|
204
|
+
-webkit-box-align: center;
|
|
205
|
+
-ms-flex-align: center;
|
|
206
|
+
align-items: center;
|
|
207
|
+
height: 22px;
|
|
208
|
+
width: 28px;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
@media (min-width: 48rem) {
|
|
212
|
+
.hy-profile-page__organizations li hy-icon,
|
|
213
|
+
.hy-profile-page__research-organizations li hy-icon {
|
|
214
|
+
height: 26px;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.hy-profile-page__person-about-text {
|
|
219
|
+
font-size: 0.9375rem;
|
|
220
|
+
line-height: 22px;
|
|
221
|
+
font-weight: 400;
|
|
222
|
+
font-family: var(--main-font-family);
|
|
223
|
+
color: var(--grayscale-black);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
@media (min-width: 48rem) {
|
|
227
|
+
.hy-profile-page__person-about-text {
|
|
228
|
+
font-size: 1.0625rem;
|
|
229
|
+
line-height: 26px;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.hy-profile-page__person-about-text-toggle {
|
|
234
|
+
font-size: 0.9375rem;
|
|
235
|
+
line-height: 22px;
|
|
236
|
+
font-weight: 400;
|
|
237
|
+
font-family: var(--main-font-family);
|
|
238
|
+
color: var(--link-blue);
|
|
239
|
+
background-color: transparent;
|
|
240
|
+
border: 0;
|
|
241
|
+
padding: 0;
|
|
242
|
+
margin: 0;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
@media (min-width: 48rem) {
|
|
246
|
+
.hy-profile-page__person-about-text-toggle {
|
|
247
|
+
font-size: 1.0625rem;
|
|
248
|
+
line-height: 26px;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.hy-profile-page__person-about-text-toggle:hover {
|
|
253
|
+
cursor: pointer;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.hy-profile-page__person-information {
|
|
257
|
+
display: -webkit-box;
|
|
258
|
+
display: -ms-flexbox;
|
|
259
|
+
display: flex;
|
|
260
|
+
-webkit-box-orient: vertical;
|
|
261
|
+
-webkit-box-direction: normal;
|
|
262
|
+
-ms-flex-direction: column;
|
|
263
|
+
flex-direction: column;
|
|
264
|
+
gap: 16px;
|
|
265
|
+
margin-bottom: 24px;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
@media (min-width: 48rem) {
|
|
269
|
+
.hy-profile-page__person-information {
|
|
270
|
+
-webkit-box-orient: horizontal;
|
|
271
|
+
-webkit-box-direction: reverse;
|
|
272
|
+
-ms-flex-direction: row-reverse;
|
|
273
|
+
flex-direction: row-reverse;
|
|
274
|
+
-webkit-box-align: center;
|
|
275
|
+
-ms-flex-align: center;
|
|
276
|
+
align-items: center;
|
|
277
|
+
margin-bottom: 40px;
|
|
278
|
+
-webkit-box-pack: end;
|
|
279
|
+
-ms-flex-pack: end;
|
|
280
|
+
justify-content: flex-end;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.hy-profile-page__image {
|
|
285
|
+
aspect-ratio: 328/425;
|
|
286
|
+
width: 100%;
|
|
287
|
+
max-width: 328px;
|
|
288
|
+
-o-object-fit: cover;
|
|
289
|
+
object-fit: cover;
|
|
290
|
+
background-color: var(--grayscale-background-box);
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
@media (min-width: 48rem) {
|
|
294
|
+
.hy-profile-page__image {
|
|
295
|
+
max-width: 194px;
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.hy-profile-page__contact-information > h2 {
|
|
300
|
+
font-size: 1.625rem;
|
|
301
|
+
line-height: 32px;
|
|
302
|
+
font-weight: 700;
|
|
303
|
+
font-family: var(--main-font-family);
|
|
304
|
+
letter-spacing: -0.52px;
|
|
305
|
+
color: var(--grayscale-black);
|
|
306
|
+
margin: 0 0 32px;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
@media (min-width: 48rem) {
|
|
310
|
+
.hy-profile-page__contact-information > h2 {
|
|
311
|
+
font-size: 2.125rem;
|
|
312
|
+
line-height: 40px;
|
|
313
|
+
letter-spacing: -0.68px;
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.hy-profile-page__name {
|
|
318
|
+
font-size: 2rem;
|
|
319
|
+
line-height: 38px;
|
|
320
|
+
font-weight: 700;
|
|
321
|
+
font-family: var(--main-font-family);
|
|
322
|
+
letter-spacing: -0.8px;
|
|
323
|
+
color: var(--grayscale-black);
|
|
324
|
+
margin: 0 0 4px;
|
|
325
|
+
text-transform: uppercase;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
@media (min-width: 60rem) {
|
|
329
|
+
.hy-profile-page__name {
|
|
330
|
+
font-size: 2.875rem;
|
|
331
|
+
line-height: 54px;
|
|
332
|
+
letter-spacing: -1.15px;
|
|
333
|
+
margin: 0 0 8px;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
@media (min-width: 120.0625rem) {
|
|
338
|
+
.hy-profile-page__name {
|
|
339
|
+
font-size: 3.25rem;
|
|
340
|
+
line-height: 60px;
|
|
341
|
+
letter-spacing: -1.3px;
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.hy-profile-page__job-title {
|
|
346
|
+
font-size: 1rem;
|
|
347
|
+
line-height: 20px;
|
|
348
|
+
font-weight: 700;
|
|
349
|
+
font-family: var(--main-font-family);
|
|
350
|
+
letter-spacing: -0.32px;
|
|
351
|
+
color: var(--grayscale-black);
|
|
352
|
+
margin: 0 0 4px;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
@media (min-width: 60rem) {
|
|
356
|
+
.hy-profile-page__job-title {
|
|
357
|
+
font-size: 1.125rem;
|
|
358
|
+
line-height: 24px;
|
|
359
|
+
letter-spacing: -0.36px;
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
.hy-profile-page__additional-information {
|
|
364
|
+
font-size: 0.9375rem;
|
|
365
|
+
line-height: 22px;
|
|
366
|
+
font-weight: 400;
|
|
367
|
+
font-family: var(--main-font-family);
|
|
368
|
+
color: var(--grayscale-dark-text);
|
|
369
|
+
margin: 0;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
@media (min-width: 60rem) {
|
|
373
|
+
.hy-profile-page__additional-information {
|
|
374
|
+
font-size: 1.0625rem;
|
|
375
|
+
line-height: 26px;
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
.hy-profile-page__person-content-container {
|
|
380
|
+
display: none;
|
|
381
|
+
margin-top: 32px;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
@media (min-width: 48rem) {
|
|
385
|
+
.hy-profile-page__person-content-container {
|
|
386
|
+
margin-top: 44px;
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
.hy-profile-page__person-content-listing {
|
|
391
|
+
display: grid;
|
|
392
|
+
gap: 32px;
|
|
393
|
+
list-style: none;
|
|
394
|
+
padding: 0;
|
|
395
|
+
margin: 0;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
.hy-profile-page__person-content > h2 {
|
|
399
|
+
margin: 0 0 8px;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.hy-profile-page__person-content > h2 a {
|
|
403
|
+
font-size: 1.125rem;
|
|
404
|
+
line-height: 24px;
|
|
405
|
+
font-weight: 700;
|
|
406
|
+
font-family: var(--main-font-family);
|
|
407
|
+
letter-spacing: -0.36px;
|
|
408
|
+
color: var(--link-blue);
|
|
409
|
+
text-decoration: none;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
@media (min-width: 48rem) {
|
|
413
|
+
.hy-profile-page__person-content > h2 a {
|
|
414
|
+
font-size: 1.375rem;
|
|
415
|
+
line-height: 28px;
|
|
416
|
+
letter-spacing: -0.44px;
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.hy-profile-page__person-content > span,
|
|
421
|
+
.hy-profile-page__person-content > p {
|
|
422
|
+
font-size: 0.9375rem;
|
|
423
|
+
line-height: 22px;
|
|
424
|
+
font-weight: 400;
|
|
425
|
+
font-family: var(--main-font-family);
|
|
426
|
+
color: var(--grayscale-dark-text);
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
@media (min-width: 48rem) {
|
|
430
|
+
.hy-profile-page__person-content > span,
|
|
431
|
+
.hy-profile-page__person-content > p {
|
|
432
|
+
font-size: 1.0625rem;
|
|
433
|
+
line-height: 26px;
|
|
434
|
+
letter-spacing: -0.44px;
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
.hy-profile-page__person-content > p {
|
|
439
|
+
margin: 8px 0 0;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
.hy-profile-page__loader {
|
|
443
|
+
display: inline-block;
|
|
444
|
+
position: relative;
|
|
445
|
+
width: 80px;
|
|
446
|
+
height: 80px;
|
|
447
|
+
margin-top: 32px;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
@media (min-width: 48rem) {
|
|
451
|
+
.hy-profile-page__loader {
|
|
452
|
+
margin-top: 44px;
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
.hy-profile-page__loader div {
|
|
457
|
+
-webkit-box-sizing: border-box;
|
|
458
|
+
box-sizing: border-box;
|
|
459
|
+
display: block;
|
|
460
|
+
position: absolute;
|
|
461
|
+
width: 64px;
|
|
462
|
+
height: 64px;
|
|
463
|
+
margin: 8px;
|
|
464
|
+
border: 6px solid #fff;
|
|
465
|
+
border-radius: 50%;
|
|
466
|
+
-webkit-animation: loader-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
|
|
467
|
+
animation: loader-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
|
|
468
|
+
border-color: var(--brand-main-light) transparent transparent transparent;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
.hy-profile-page__loader div:nth-child(1) {
|
|
472
|
+
-webkit-animation-delay: -0.45s;
|
|
473
|
+
animation-delay: -0.45s;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
.hy-profile-page__loader div:nth-child(2) {
|
|
477
|
+
-webkit-animation-delay: -0.3s;
|
|
478
|
+
animation-delay: -0.3s;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
.hy-profile-page__loader div:nth-child(3) {
|
|
482
|
+
-webkit-animation-delay: -0.15s;
|
|
483
|
+
animation-delay: -0.15s;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
@-webkit-keyframes loader-ring {
|
|
487
|
+
0% {
|
|
488
|
+
-webkit-transform: rotate(0deg);
|
|
489
|
+
transform: rotate(0deg);
|
|
490
|
+
}
|
|
491
|
+
100% {
|
|
492
|
+
-webkit-transform: rotate(360deg);
|
|
493
|
+
transform: rotate(360deg);
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
@keyframes loader-ring {
|
|
498
|
+
0% {
|
|
499
|
+
-webkit-transform: rotate(0deg);
|
|
500
|
+
transform: rotate(0deg);
|
|
501
|
+
}
|
|
502
|
+
100% {
|
|
503
|
+
-webkit-transform: rotate(360deg);
|
|
504
|
+
transform: rotate(360deg);
|
|
505
|
+
}
|
|
506
|
+
}
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
import { Component, Host, h, Prop, State, Fragment } from '@stencil/core';
|
|
2
|
+
export class PersonProfile {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.isFullAboutTextHidden = false;
|
|
5
|
+
}
|
|
6
|
+
componentWillLoad() {
|
|
7
|
+
this.viewportSize = window.innerWidth;
|
|
8
|
+
}
|
|
9
|
+
toggleShowFullAboutText() {
|
|
10
|
+
this.isFullAboutTextHidden = !this.isFullAboutTextHidden;
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
const { name, job_title, additional_information, image_url, contact_information, organization_units, about, research, person_content, } = JSON.parse(this.personDataJson);
|
|
14
|
+
const { organizations, research_organizations } = organization_units.items;
|
|
15
|
+
const aboutDescriptionTextDestructured = about.description
|
|
16
|
+
.split('\n')
|
|
17
|
+
.filter((n) => n)
|
|
18
|
+
.map((item) => item.replace(/(<([^>]+)>)/gi, ''));
|
|
19
|
+
const aboutDescriptionLength = aboutDescriptionTextDestructured.join(' ').length;
|
|
20
|
+
let trimmedAboutDescription = '';
|
|
21
|
+
if (aboutDescriptionLength > 650) {
|
|
22
|
+
if (this.isFullAboutTextHidden) {
|
|
23
|
+
const ellipsisTextArray = (aboutDescriptionTextDestructured.join('\n') + '...').split('\n');
|
|
24
|
+
trimmedAboutDescription = ellipsisTextArray
|
|
25
|
+
.map((item) => {
|
|
26
|
+
return `<p>${item}</p>`;
|
|
27
|
+
})
|
|
28
|
+
.join('');
|
|
29
|
+
}
|
|
30
|
+
else {
|
|
31
|
+
const ellipsisTextArray = (aboutDescriptionTextDestructured.join('\n').substring(0, 647) + '...').split('\n');
|
|
32
|
+
trimmedAboutDescription = ellipsisTextArray
|
|
33
|
+
.map((item) => {
|
|
34
|
+
return `<p>${item}</p>`;
|
|
35
|
+
})
|
|
36
|
+
.join('');
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
window.addEventListener('resize', () => {
|
|
40
|
+
this.viewportSize = window.innerWidth;
|
|
41
|
+
});
|
|
42
|
+
return (h(Host, null,
|
|
43
|
+
h("section", { class: "hy-profile-page" },
|
|
44
|
+
h("a", { href: this.peopleFinderReturnLink, class: "hy-profile-page__back-button" },
|
|
45
|
+
h("hy-icon", { icon: 'hy-icon-arrow-left', size: 24 }),
|
|
46
|
+
h("span", null, "Back to people finder")),
|
|
47
|
+
h("section", { class: "hy-profile-page__section" },
|
|
48
|
+
h("div", { class: "hy-profile-page__person-information" },
|
|
49
|
+
h("div", null,
|
|
50
|
+
h("h1", { class: "hy-profile-page__name" }, name),
|
|
51
|
+
job_title && h("p", { class: "hy-profile-page__job-title" }, job_title),
|
|
52
|
+
additional_information && (h("p", { class: "hy-profile-page__additional-information" }, additional_information))),
|
|
53
|
+
image_url ? (h("img", { src: image_url, alt: "", class: "hy-profile-page__image" })) : (h("div", { class: "hy-profile-page__image", "aria-hidden": "true" }))),
|
|
54
|
+
contact_information && (h("div", { class: "hy-profile-page__contact-information" },
|
|
55
|
+
contact_information.label && h("h2", null, contact_information.label),
|
|
56
|
+
contact_information.items && (h("hy-person-profile-listing", { items: contact_information.items, col: "col-4", withoutIcons: true, textSpacingTight: true }))))),
|
|
57
|
+
(organizations.items.length > 0 || Object.keys(research_organizations.items).length > 0) && (h("section", { class: "hy-profile-page__section" },
|
|
58
|
+
organization_units.label && h("h2", null, organization_units.label),
|
|
59
|
+
organizations.items.length > 0 && (h("section", { class: "hy-profile-page__organization-units-section" },
|
|
60
|
+
h("h3", null, organizations.label),
|
|
61
|
+
h("ul", { class: "hy-profile-page__organizations" },
|
|
62
|
+
h("li", null, organizations.items.map(({ name }, index) => {
|
|
63
|
+
return (h("span", null,
|
|
64
|
+
index !== 0 && h("hy-icon", { icon: 'hy-icon-caret-right', size: 10 }),
|
|
65
|
+
h("span", null, name[organization_units.lang])));
|
|
66
|
+
}))))),
|
|
67
|
+
Object.keys(research_organizations.items).length > 0 && (h("section", { class: "hy-profile-page__organization-units-section" },
|
|
68
|
+
h("h3", null, research_organizations.label),
|
|
69
|
+
h("ul", { class: "hy-profile-page__research-organizations" }, Object.values(research_organizations.items).map(([...item]) => (h("li", null, item.map(({ name }, index) => {
|
|
70
|
+
return (h(Fragment, null, index !== 0 ? (h("ul", null,
|
|
71
|
+
h("li", null,
|
|
72
|
+
h("span", null,
|
|
73
|
+
h("hy-icon", { icon: 'hy-icon-caret-right', size: 10 }),
|
|
74
|
+
h("span", null, name[organization_units.lang]))))) : (h("span", null, name[organization_units.lang]))));
|
|
75
|
+
}))))))))),
|
|
76
|
+
about && aboutDescriptionLength !== 0 && (h("section", { class: "hy-profile-page__section" },
|
|
77
|
+
h("h2", null, about.label),
|
|
78
|
+
about.description && (h("div", { class: "hy-profile-page__person-about-text", innerHTML: !this.isFullAboutTextHidden && aboutDescriptionLength > 650
|
|
79
|
+
? trimmedAboutDescription
|
|
80
|
+
: about.description })),
|
|
81
|
+
aboutDescriptionLength > 650 && (h("button", { class: "hy-profile-page__person-about-text-toggle", onClick: () => this.toggleShowFullAboutText(), "aria-expanded": `${this.isFullAboutTextHidden ? 'true' : 'false'}` }, this.isFullAboutTextHidden ? this.hideFullAboutText : this.showFullAboutText)))),
|
|
82
|
+
(research || person_content) && (h("section", { class: "hy-profile-page__section" },
|
|
83
|
+
research.label && h("h2", null, research.label),
|
|
84
|
+
research.items && (h("hy-person-profile-listing", { items: research.items, col: "col-1", inline: true })),
|
|
85
|
+
h("div", { class: "hy-profile-page__loader", role: "presentation" },
|
|
86
|
+
h("div", null),
|
|
87
|
+
h("div", null),
|
|
88
|
+
h("div", null),
|
|
89
|
+
h("div", null)),
|
|
90
|
+
this.viewportSize < 768 ? (h("div", { class: "hy-profile-page__person-content-container" },
|
|
91
|
+
h("hy-accordion-container", { accordionid: "accordion-container-person-content" },
|
|
92
|
+
person_content.publications && (h("hy-accordion-item", { accordiontitle: person_content.publications.label })),
|
|
93
|
+
person_content.projects && (h("hy-accordion-item", { accordiontitle: person_content.projects.label })),
|
|
94
|
+
person_content.activities && (h("hy-accordion-item", { accordiontitle: person_content.activities.label }))))) : (h("div", { class: "hy-profile-page__person-content-container" },
|
|
95
|
+
h("hy-tabs", { "tab-id": "tabs-container-person-content" },
|
|
96
|
+
person_content.publications && (h("hy-tabs-item", { "tab-title": person_content.publications.label })),
|
|
97
|
+
person_content.projects && h("hy-tabs-item", { "tab-title": person_content.projects.label }),
|
|
98
|
+
person_content.activities && (h("hy-tabs-item", { "tab-title": person_content.activities.label }))))))))));
|
|
99
|
+
}
|
|
100
|
+
static get is() { return "hy-person-profile"; }
|
|
101
|
+
static get encapsulation() { return "shadow"; }
|
|
102
|
+
static get originalStyleUrls() { return {
|
|
103
|
+
"$": ["person-profile.scss"]
|
|
104
|
+
}; }
|
|
105
|
+
static get styleUrls() { return {
|
|
106
|
+
"$": ["person-profile.css"]
|
|
107
|
+
}; }
|
|
108
|
+
static get properties() { return {
|
|
109
|
+
"personDataJson": {
|
|
110
|
+
"type": "string",
|
|
111
|
+
"mutable": false,
|
|
112
|
+
"complexType": {
|
|
113
|
+
"original": "string",
|
|
114
|
+
"resolved": "string",
|
|
115
|
+
"references": {}
|
|
116
|
+
},
|
|
117
|
+
"required": false,
|
|
118
|
+
"optional": false,
|
|
119
|
+
"docs": {
|
|
120
|
+
"tags": [],
|
|
121
|
+
"text": ""
|
|
122
|
+
},
|
|
123
|
+
"attribute": "person-data-json",
|
|
124
|
+
"reflect": false
|
|
125
|
+
},
|
|
126
|
+
"showFullAboutText": {
|
|
127
|
+
"type": "string",
|
|
128
|
+
"mutable": false,
|
|
129
|
+
"complexType": {
|
|
130
|
+
"original": "string",
|
|
131
|
+
"resolved": "string",
|
|
132
|
+
"references": {}
|
|
133
|
+
},
|
|
134
|
+
"required": false,
|
|
135
|
+
"optional": false,
|
|
136
|
+
"docs": {
|
|
137
|
+
"tags": [],
|
|
138
|
+
"text": ""
|
|
139
|
+
},
|
|
140
|
+
"attribute": "show-full-about-text",
|
|
141
|
+
"reflect": false
|
|
142
|
+
},
|
|
143
|
+
"hideFullAboutText": {
|
|
144
|
+
"type": "string",
|
|
145
|
+
"mutable": false,
|
|
146
|
+
"complexType": {
|
|
147
|
+
"original": "string",
|
|
148
|
+
"resolved": "string",
|
|
149
|
+
"references": {}
|
|
150
|
+
},
|
|
151
|
+
"required": false,
|
|
152
|
+
"optional": false,
|
|
153
|
+
"docs": {
|
|
154
|
+
"tags": [],
|
|
155
|
+
"text": ""
|
|
156
|
+
},
|
|
157
|
+
"attribute": "hide-full-about-text",
|
|
158
|
+
"reflect": false
|
|
159
|
+
},
|
|
160
|
+
"organizationItemsLabelText": {
|
|
161
|
+
"type": "string",
|
|
162
|
+
"mutable": false,
|
|
163
|
+
"complexType": {
|
|
164
|
+
"original": "string",
|
|
165
|
+
"resolved": "string",
|
|
166
|
+
"references": {}
|
|
167
|
+
},
|
|
168
|
+
"required": false,
|
|
169
|
+
"optional": false,
|
|
170
|
+
"docs": {
|
|
171
|
+
"tags": [],
|
|
172
|
+
"text": ""
|
|
173
|
+
},
|
|
174
|
+
"attribute": "organization-items-label-text",
|
|
175
|
+
"reflect": false
|
|
176
|
+
},
|
|
177
|
+
"peopleFinderReturnLink": {
|
|
178
|
+
"type": "string",
|
|
179
|
+
"mutable": false,
|
|
180
|
+
"complexType": {
|
|
181
|
+
"original": "string",
|
|
182
|
+
"resolved": "string",
|
|
183
|
+
"references": {}
|
|
184
|
+
},
|
|
185
|
+
"required": false,
|
|
186
|
+
"optional": false,
|
|
187
|
+
"docs": {
|
|
188
|
+
"tags": [],
|
|
189
|
+
"text": ""
|
|
190
|
+
},
|
|
191
|
+
"attribute": "people-finder-return-link",
|
|
192
|
+
"reflect": false
|
|
193
|
+
}
|
|
194
|
+
}; }
|
|
195
|
+
static get states() { return {
|
|
196
|
+
"isFullAboutTextHidden": {},
|
|
197
|
+
"viewportSize": {}
|
|
198
|
+
}; }
|
|
199
|
+
}
|