@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
|
@@ -81,37 +81,35 @@ export class AccordionItem {
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
handleClick(event) {
|
|
84
|
-
const
|
|
85
|
-
|
|
86
|
-
const
|
|
87
|
-
const
|
|
88
|
-
|
|
89
|
-
const allowMultiple = accordion.hasAttribute('data-allow-multiple');
|
|
90
|
-
const allowToggle = allowMultiple ? allowMultiple : accordion.hasAttribute('data-allow-toggle');
|
|
91
|
-
if (target && possibleTags) {
|
|
92
|
-
if (targetElement !== 'button') {
|
|
93
|
-
target = target.closest('.hy-accordion__button');
|
|
94
|
-
}
|
|
84
|
+
const target = event.target;
|
|
85
|
+
const accordionContainer = this.el.parentElement;
|
|
86
|
+
const allowMultiple = accordionContainer.hasAttribute('data-allow-multiple');
|
|
87
|
+
const allowToggle = allowMultiple ? allowMultiple : accordionContainer.hasAttribute('data-allow-toggle');
|
|
88
|
+
if (target && target.tagName.toLowerCase() === 'button') {
|
|
95
89
|
let targetParent = target.closest('.hy-accordion__item');
|
|
96
|
-
let targetContent = targetParent.
|
|
97
|
-
const isExpanded = target.getAttribute('aria-expanded')
|
|
98
|
-
const
|
|
99
|
-
if (!allowMultiple &&
|
|
100
|
-
|
|
90
|
+
let targetContent = targetParent.getElementsByClassName('hy-accordion__content')[0];
|
|
91
|
+
const isExpanded = target.getAttribute('aria-expanded') === 'true';
|
|
92
|
+
const activeButtonElement = accordionContainer.querySelector('[aria-expanded="true"]');
|
|
93
|
+
if (!allowMultiple && activeButtonElement && activeButtonElement !== target) {
|
|
94
|
+
activeButtonElement.setAttribute('aria-expanded', 'false');
|
|
101
95
|
this.collapseSection(targetContent);
|
|
102
96
|
if (targetParent.classList.contains('hy-accordion__item__is-open')) {
|
|
103
97
|
targetParent.classList.remove('hy-accordion__item__is-open');
|
|
104
98
|
}
|
|
105
|
-
|
|
99
|
+
accordionContainer
|
|
100
|
+
.querySelector(`#${activeButtonElement.getAttribute('aria-controls')}`)
|
|
101
|
+
.setAttribute('aria-hidden', 'true');
|
|
106
102
|
if (!allowToggle) {
|
|
107
|
-
|
|
103
|
+
activeButtonElement.removeAttribute('aria-disabled');
|
|
108
104
|
}
|
|
109
105
|
}
|
|
110
106
|
if (!isExpanded) {
|
|
111
107
|
this.expandSection(targetContent);
|
|
112
108
|
target.setAttribute('aria-expanded', 'true');
|
|
113
109
|
targetParent.classList.add('hy-accordion__item__is-open');
|
|
114
|
-
|
|
110
|
+
accordionContainer
|
|
111
|
+
.querySelector(`#${target.getAttribute('aria-controls')}`)
|
|
112
|
+
.setAttribute('aria-hidden', 'false');
|
|
115
113
|
if (!allowToggle) {
|
|
116
114
|
target.setAttribute('aria-disabled', 'true');
|
|
117
115
|
}
|
|
@@ -122,7 +120,9 @@ export class AccordionItem {
|
|
|
122
120
|
if (targetParent.classList.contains('hy-accordion__item__is-open')) {
|
|
123
121
|
targetParent.classList.remove('hy-accordion__item__is-open');
|
|
124
122
|
}
|
|
125
|
-
|
|
123
|
+
accordionContainer
|
|
124
|
+
.querySelector(`#${target.getAttribute('aria-controls')}`)
|
|
125
|
+
.setAttribute('aria-hidden', 'true');
|
|
126
126
|
}
|
|
127
127
|
event.preventDefault();
|
|
128
128
|
event.stopImmediatePropagation();
|
|
@@ -15,11 +15,6 @@ export class Heading {
|
|
|
15
15
|
this.headerstyle = 'common';
|
|
16
16
|
this.hasChildren = true;
|
|
17
17
|
}
|
|
18
|
-
componentWillLoad() {
|
|
19
|
-
if (!this.el.textContent) {
|
|
20
|
-
this.hasChildren = false;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
18
|
componentDidLoad() {
|
|
24
19
|
let hyMainDiv = this.el.closest('.hy-main');
|
|
25
20
|
if (hyMainDiv) {
|
|
@@ -27,6 +22,9 @@ export class Heading {
|
|
|
27
22
|
this.headerstyle = 'large';
|
|
28
23
|
}
|
|
29
24
|
}
|
|
25
|
+
if (this.el.parentElement.classList.contains('hy-hero__title-container')) {
|
|
26
|
+
this.hasChildren = false;
|
|
27
|
+
}
|
|
30
28
|
}
|
|
31
29
|
render() {
|
|
32
30
|
const headingInVariants = this.heading in HeadingVarians;
|
|
@@ -58,7 +56,6 @@ export class Heading {
|
|
|
58
56
|
h("span", { class: sectionClassAttributes })))));
|
|
59
57
|
}
|
|
60
58
|
static get is() { return "hy-heading"; }
|
|
61
|
-
static get encapsulation() { return "scoped"; }
|
|
62
59
|
static get originalStyleUrls() { return {
|
|
63
60
|
"default": ["heading.scss"],
|
|
64
61
|
"wide": ["heading-fw.scss"]
|
|
@@ -189,7 +186,7 @@ export class Heading {
|
|
|
189
186
|
"text": ""
|
|
190
187
|
},
|
|
191
188
|
"attribute": "hyphenated-text",
|
|
192
|
-
"reflect":
|
|
189
|
+
"reflect": true
|
|
193
190
|
}
|
|
194
191
|
}; }
|
|
195
192
|
static get states() { return {
|
|
@@ -211,24 +211,60 @@
|
|
|
211
211
|
position: relative;
|
|
212
212
|
}
|
|
213
213
|
|
|
214
|
-
.hy-hero__title
|
|
214
|
+
h1.hy-hero__title {
|
|
215
215
|
-webkit-hyphens: auto;
|
|
216
216
|
-ms-hyphens: auto;
|
|
217
217
|
hyphens: auto;
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
218
|
+
display: -webkit-box;
|
|
219
|
+
display: -ms-flexbox;
|
|
220
|
+
display: flex;
|
|
221
|
+
-webkit-box-flex: 1;
|
|
222
|
+
-ms-flex-positive: 1;
|
|
223
|
+
flex-grow: 1;
|
|
224
|
+
-ms-flex-negative: 0;
|
|
225
|
+
flex-shrink: 0;
|
|
226
|
+
max-width: 100%;
|
|
227
|
+
width: auto;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.hy-hero--blue h1.hy-hero__title {
|
|
221
231
|
color: var(--grayscale-white) !important;
|
|
222
232
|
}
|
|
223
233
|
|
|
224
|
-
.hy-hero--black .hy-hero__title
|
|
234
|
+
.hy-hero--black h1.hy-hero__title {
|
|
225
235
|
color: var(--grayscale-white) !important;
|
|
226
236
|
}
|
|
227
237
|
|
|
228
|
-
.hy-hero--white .hy-hero__title
|
|
238
|
+
.hy-hero--white h1.hy-hero__title {
|
|
229
239
|
color: var(--grayscale-black) !important;
|
|
230
240
|
}
|
|
231
241
|
|
|
242
|
+
h1.hy-hero__title.hy-heading__hero {
|
|
243
|
+
font-size: 2rem;
|
|
244
|
+
line-height: 38px;
|
|
245
|
+
font-weight: 700;
|
|
246
|
+
color: var(--grayscale-black);
|
|
247
|
+
font-family: var(--main-font-family);
|
|
248
|
+
letter-spacing: -0.8px;
|
|
249
|
+
margin-bottom: 0;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
@media (min-width: 1024px) {
|
|
253
|
+
h1.hy-hero__title.hy-heading__hero {
|
|
254
|
+
font-size: 2.875rem;
|
|
255
|
+
line-height: 54px;
|
|
256
|
+
letter-spacing: -1.15px;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
@media (min-width: 1601px) {
|
|
261
|
+
h1.hy-hero__title.hy-heading__hero {
|
|
262
|
+
font-size: 3.25rem;
|
|
263
|
+
line-height: 60px;
|
|
264
|
+
letter-spacing: -1.3px;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
232
268
|
.hy-hero__description {
|
|
233
269
|
font-size: 1rem;
|
|
234
270
|
line-height: 24px;
|
|
@@ -2,7 +2,7 @@ let timeout = null;
|
|
|
2
2
|
let delay = 250;
|
|
3
3
|
import { Component, Element, h, Host, Prop } from '@stencil/core';
|
|
4
4
|
import { jsonParserWorker } from '../../global/globalScript';
|
|
5
|
-
import { CtaLinkButtonVariants,
|
|
5
|
+
import { CtaLinkButtonVariants, HeroColorVariant, HeroSizeVariant, HeroGroupTypeVariant, HeroTypeVariant, } from '../../utils/utils';
|
|
6
6
|
export class HyHero {
|
|
7
7
|
constructor() {
|
|
8
8
|
this.heroType = HeroTypeVariant.landing;
|
|
@@ -52,13 +52,14 @@ export class HyHero {
|
|
|
52
52
|
if (!colorVariantValue || colorVariantValue === 'fp_white') {
|
|
53
53
|
colorVariantValue = HeroColorVariant.white;
|
|
54
54
|
}
|
|
55
|
-
|
|
55
|
+
const hyHeroClasses = [
|
|
56
56
|
'hy-hero',
|
|
57
57
|
`hy-hero--${heroTypeValue}`,
|
|
58
58
|
`hy-hero--${this.heroGroupType}`,
|
|
59
59
|
`hy-hero--${colorVariantValue}`,
|
|
60
60
|
`hy-hero--${this.sizeVariant}`,
|
|
61
61
|
];
|
|
62
|
+
const heroTitleClasses = ['hy-hero__title', 'hy-heading__hero'].join(' ');
|
|
62
63
|
// If there is a Shortcuts block after hero, add the class 'shortcuts' to remove underline.
|
|
63
64
|
if (this.hasShortcuts) {
|
|
64
65
|
hyHeroClasses.push('has-shortcuts');
|
|
@@ -69,7 +70,6 @@ export class HyHero {
|
|
|
69
70
|
const aspectRatio = {
|
|
70
71
|
'--aspectRatio': `${aspect}%`,
|
|
71
72
|
};
|
|
72
|
-
const headingSection = HeadingSectionVariants.hero;
|
|
73
73
|
window.onload = () => {
|
|
74
74
|
const heroElement = document.getElementsByClassName('hy-hero')[0];
|
|
75
75
|
this.handleHeroImageObjectFitValue(this.sizeVariant, heroElement);
|
|
@@ -90,7 +90,7 @@ export class HyHero {
|
|
|
90
90
|
h("div", { class: `hy-hero__content-container` },
|
|
91
91
|
h("div", { class: `hy-hero__content` },
|
|
92
92
|
h("div", { class: `hy-hero__title-container` },
|
|
93
|
-
h("
|
|
93
|
+
h("h1", { innerHTML: this.heading, class: heroTitleClasses })),
|
|
94
94
|
this.description && h("p", { class: `hy-hero__description` }, this.description),
|
|
95
95
|
this.url && (h("div", { class: `hy-hero__actions` },
|
|
96
96
|
h("hy-cta-button", { "link-content": this.urlTitle, "sc-label": this.scLabel, url: this.url, "is-external": this.isExternal, variant: variant }))))))),
|
|
@@ -106,7 +106,7 @@ export class HyHero {
|
|
|
106
106
|
h("div", { class: `hy-hero__content-container` },
|
|
107
107
|
h("div", { class: `hy-hero__content` },
|
|
108
108
|
h("div", { class: `hy-hero__title-container` },
|
|
109
|
-
h("
|
|
109
|
+
h("h1", { innerHTML: this.heading, class: heroTitleClasses })),
|
|
110
110
|
this.description && h("p", { class: `hy-hero__description` }, this.description),
|
|
111
111
|
this.url && (h("div", { class: `hy-hero__actions` },
|
|
112
112
|
h("hy-cta-button", { "link-content": this.urlTitle, "sc-label": this.scLabel, url: this.url, "is-external": this.isExternal, variant: variant }))))))),
|
|
@@ -197,15 +197,17 @@
|
|
|
197
197
|
|
|
198
198
|
.hy-list-item__degree__image-container {
|
|
199
199
|
display: block;
|
|
200
|
-
min-width: 100%;
|
|
201
200
|
position: relative;
|
|
202
|
-
|
|
201
|
+
-webkit-box-flex: 1;
|
|
202
|
+
-ms-flex: 1;
|
|
203
|
+
flex: 1;
|
|
203
204
|
}
|
|
204
205
|
|
|
205
206
|
@media (min-width: 30rem) {
|
|
206
207
|
.hy-list-item__degree__image-container {
|
|
207
|
-
|
|
208
|
-
|
|
208
|
+
-webkit-box-flex: 0;
|
|
209
|
+
-ms-flex: 0 0 24%;
|
|
210
|
+
flex: 0 0 24%;
|
|
209
211
|
}
|
|
210
212
|
}
|
|
211
213
|
|
|
@@ -254,6 +256,9 @@
|
|
|
254
256
|
display: -webkit-box;
|
|
255
257
|
display: -ms-flexbox;
|
|
256
258
|
display: flex;
|
|
259
|
+
-webkit-box-flex: 1;
|
|
260
|
+
-ms-flex: 1;
|
|
261
|
+
flex: 1;
|
|
257
262
|
-webkit-box-orient: vertical;
|
|
258
263
|
-webkit-box-direction: normal;
|
|
259
264
|
-ms-flex-direction: column;
|
|
@@ -50,7 +50,7 @@ export class Menu {
|
|
|
50
50
|
},
|
|
51
51
|
];
|
|
52
52
|
}
|
|
53
|
-
componentWillLoad() {
|
|
53
|
+
async componentWillLoad() {
|
|
54
54
|
this.breadcrumbs = [];
|
|
55
55
|
}
|
|
56
56
|
componentWillUpdate() {
|
|
@@ -90,13 +90,11 @@ export class Menu {
|
|
|
90
90
|
h("div", { id: 'menu-bc-container', class: {
|
|
91
91
|
'hy-mobile-menu__breadcrumbs': true,
|
|
92
92
|
'is-empty': this.breadcrumbs.length === 0,
|
|
93
|
-
} },
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}),
|
|
99
|
-
]) : (h("hy-menu-mobile-breadcrumb", { "label-back": this.menuButtonBreadcrumbReturn, "label-front-page": this.menuButtonBreadcrumbHome, label: this.menuButtonBreadcrumbHome, "is-first": true, "logo-url": this.logoUrl }))),
|
|
93
|
+
} }, this.breadcrumbs.length ? ([
|
|
94
|
+
this.breadcrumbs.map((breadcrumb) => {
|
|
95
|
+
return (h("hy-menu-mobile-breadcrumb", { "label-back": this.menuButtonBreadcrumbReturn, "label-front-page": this.labelFrontPage, label: breadcrumb.label, bid: breadcrumb.bid }));
|
|
96
|
+
}),
|
|
97
|
+
]) : (h("hy-menu-mobile-breadcrumb", { "label-back": this.menuButtonBreadcrumbReturn, "label-front-page": this.menuButtonBreadcrumbHome, label: this.menuButtonBreadcrumbHome, "is-first": true, "logo-url": this.logoUrl }))),
|
|
100
98
|
h("button", { class: `hy-mobile-menu__menu-close-button`, "aria-label": "Close menu", disabled: true, "aria-hidden": "true" },
|
|
101
99
|
h("span", null, "Close"),
|
|
102
100
|
h("hy-icon", { icon: 'hy-icon-remove', size: 16 }))),
|
|
@@ -370,6 +368,23 @@ export class Menu {
|
|
|
370
368
|
},
|
|
371
369
|
"attribute": "menu-button-breadcrumb-logourl",
|
|
372
370
|
"reflect": false
|
|
371
|
+
},
|
|
372
|
+
"dataSiteHeaderLabels": {
|
|
373
|
+
"type": "string",
|
|
374
|
+
"mutable": false,
|
|
375
|
+
"complexType": {
|
|
376
|
+
"original": "string",
|
|
377
|
+
"resolved": "string",
|
|
378
|
+
"references": {}
|
|
379
|
+
},
|
|
380
|
+
"required": false,
|
|
381
|
+
"optional": false,
|
|
382
|
+
"docs": {
|
|
383
|
+
"tags": [],
|
|
384
|
+
"text": ""
|
|
385
|
+
},
|
|
386
|
+
"attribute": "data-site-header-labels",
|
|
387
|
+
"reflect": false
|
|
373
388
|
}
|
|
374
389
|
}; }
|
|
375
390
|
static get states() { return {
|
|
@@ -414,9 +414,6 @@
|
|
|
414
414
|
color: var(--link-blue);
|
|
415
415
|
font-family: var(--main-font-family);
|
|
416
416
|
font-weight: 600;
|
|
417
|
-
display: -webkit-inline-box;
|
|
418
|
-
display: -ms-inline-flexbox;
|
|
419
|
-
display: inline-flex;
|
|
420
417
|
}
|
|
421
418
|
|
|
422
419
|
@media (min-width: 30rem) {
|
|
@@ -439,19 +436,24 @@
|
|
|
439
436
|
}
|
|
440
437
|
|
|
441
438
|
.hy-paragraph-text a[target=_blank]:after {
|
|
442
|
-
display: block;
|
|
443
|
-
|
|
439
|
+
display: inline-block;
|
|
440
|
+
vertical-align: middle;
|
|
441
|
+
width: 12px;
|
|
442
|
+
height: 12px;
|
|
444
443
|
margin-left: 3px;
|
|
444
|
+
background-size: contain;
|
|
445
|
+
content: "";
|
|
446
|
+
background-image: url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 30 29' fill='rgb(4,121,165)'> <polygon points='29.207 13.783 14.756 .717 14.055 0 11.402 3.118 10.732 3.835 19.665 11.974 0 11.974 0 17.026 19.756 17.026 11.494 24.447 10.823 25.071 11.402 25.882 13.476 28.189 14.055 29 30 14.594' /> </svg>");
|
|
445
447
|
-webkit-transform: rotate(315deg);
|
|
446
448
|
transform: rotate(315deg);
|
|
447
449
|
}
|
|
448
450
|
|
|
449
451
|
.hy-paragraph-text a[target=_blank]:after:hover {
|
|
450
|
-
|
|
452
|
+
background-image: url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 30 29' fill='pink'> <polygon points='29.207 13.783 14.756 .717 14.055 0 11.402 3.118 10.732 3.835 19.665 11.974 0 11.974 0 17.026 19.756 17.026 11.494 24.447 10.823 25.071 11.402 25.882 13.476 28.189 14.055 29 30 14.594' /> </svg>");
|
|
451
453
|
}
|
|
452
454
|
|
|
453
455
|
.hy-paragraph-text a[target=_blank]:hover:after {
|
|
454
|
-
|
|
456
|
+
background-image: url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 30 29' fill='rgb(14,104,139)'> <polygon points='29.207 13.783 14.756 .717 14.055 0 11.402 3.118 10.732 3.835 19.665 11.974 0 11.974 0 17.026 19.756 17.026 11.494 24.447 10.823 25.071 11.402 25.882 13.476 28.189 14.055 29 30 14.594' /> </svg>");
|
|
455
457
|
}
|
|
456
458
|
|
|
457
459
|
.hy-paragraph-text p {
|
package/dist/collection/components/person-profile/person-profile-listing/person-profile-listing.css
ADDED
|
@@ -0,0 +1,188 @@
|
|
|
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-person-profile-listing {
|
|
60
|
+
font-family: var(--main-font-family);
|
|
61
|
+
padding: 0;
|
|
62
|
+
margin: 0;
|
|
63
|
+
list-style: none;
|
|
64
|
+
display: grid;
|
|
65
|
+
gap: 24px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@media (min-width: 48rem) {
|
|
69
|
+
.hy-person-profile-listing {
|
|
70
|
+
gap: 32px 24px;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@media (min-width: 120.0625rem) {
|
|
75
|
+
.hy-person-profile-listing.col-2 {
|
|
76
|
+
grid-template-columns: repeat(2, 50%);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.hy-person-profile-listing.col-4 {
|
|
81
|
+
gap: 32px 24px;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@media (min-width: 48rem) {
|
|
85
|
+
.hy-person-profile-listing.col-4 {
|
|
86
|
+
grid-template-columns: repeat(2, 50%);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@media (min-width: 60rem) {
|
|
91
|
+
.hy-person-profile-listing.col-4 {
|
|
92
|
+
grid-template-columns: repeat(3, calc(100% / 3));
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
@media (min-width: 120.0625rem) {
|
|
97
|
+
.hy-person-profile-listing.col-4 {
|
|
98
|
+
grid-template-columns: repeat(4, 25%);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.hy-person-profile-listing__label {
|
|
103
|
+
font-size: 0.9375rem;
|
|
104
|
+
line-height: 18px;
|
|
105
|
+
font-weight: 700;
|
|
106
|
+
letter-spacing: -0.28px;
|
|
107
|
+
color: var(--grayscale-black);
|
|
108
|
+
margin: 0 0 8px;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
@media (min-width: 48rem) {
|
|
112
|
+
.hy-person-profile-listing__label {
|
|
113
|
+
font-size: 1.0625rem;
|
|
114
|
+
line-height: 20px;
|
|
115
|
+
letter-spacing: -0.32px;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.hy-person-profile-listing__items {
|
|
120
|
+
margin: 0;
|
|
121
|
+
padding: 0;
|
|
122
|
+
list-style: none;
|
|
123
|
+
display: grid;
|
|
124
|
+
gap: 8px;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.is-inline .hy-person-profile-listing__items {
|
|
128
|
+
display: -webkit-inline-box;
|
|
129
|
+
display: -ms-inline-flexbox;
|
|
130
|
+
display: inline-flex;
|
|
131
|
+
-ms-flex-wrap: wrap;
|
|
132
|
+
flex-wrap: wrap;
|
|
133
|
+
gap: 0;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.text-tight .hy-person-profile-listing__items {
|
|
137
|
+
gap: 0;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.hy-person-profile-listing__item {
|
|
141
|
+
font-size: 0.9375rem;
|
|
142
|
+
line-height: 22px;
|
|
143
|
+
font-weight: 400;
|
|
144
|
+
color: var(--grayscale-black);
|
|
145
|
+
display: -webkit-inline-box;
|
|
146
|
+
display: -ms-inline-flexbox;
|
|
147
|
+
display: inline-flex;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
@media (min-width: 48rem) {
|
|
151
|
+
.hy-person-profile-listing__item {
|
|
152
|
+
font-size: 1.0625rem;
|
|
153
|
+
line-height: 26px;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.hy-person-profile-listing__item a {
|
|
158
|
+
text-decoration: none;
|
|
159
|
+
color: var(--link-blue);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.hy-person-profile-listing__item a:hover {
|
|
163
|
+
text-decoration: underline;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.hy-person-profile-listing__item hy-icon {
|
|
167
|
+
display: none !important;
|
|
168
|
+
-webkit-box-pack: center;
|
|
169
|
+
-ms-flex-pack: center;
|
|
170
|
+
justify-content: center;
|
|
171
|
+
-webkit-box-align: center;
|
|
172
|
+
-ms-flex-align: center;
|
|
173
|
+
align-items: center;
|
|
174
|
+
height: 28px;
|
|
175
|
+
width: 28px;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
@media (min-width: 48rem) {
|
|
179
|
+
.hy-person-profile-listing__item hy-icon {
|
|
180
|
+
display: -webkit-inline-box !important;
|
|
181
|
+
display: -ms-inline-flexbox !important;
|
|
182
|
+
display: inline-flex !important;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.without-icons .hy-person-profile-listing__item hy-icon {
|
|
187
|
+
display: none !important;
|
|
188
|
+
}
|
package/dist/collection/components/person-profile/person-profile-listing/person-profile.listing.js
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { Component, Host, h, Prop } from '@stencil/core';
|
|
2
|
+
export class PersonProfile {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.col = 'col-2';
|
|
5
|
+
}
|
|
6
|
+
render() {
|
|
7
|
+
return (h(Host, null,
|
|
8
|
+
h("ul", { class: `hy-person-profile-listing ${this.col} ${this.inline ? 'is-inline' : ''} ${this.withoutIcons ? 'without-icons' : ''} ${this.textSpacingTight ? 'text-tight' : ''}` }, this.items.map(({ label, items }) => {
|
|
9
|
+
if (items.filter(({ label, url }) => label !== '' && url !== '').length > 0) {
|
|
10
|
+
return (h("li", null,
|
|
11
|
+
h("h3", { class: "hy-person-profile-listing__label" }, label),
|
|
12
|
+
h("ul", { class: "hy-person-profile-listing__items" }, items.map(({ label, url }, index) => {
|
|
13
|
+
if (url) {
|
|
14
|
+
return (h("li", { class: "hy-person-profile-listing__item" },
|
|
15
|
+
h("a", { href: url },
|
|
16
|
+
index !== 0 && h("hy-icon", { icon: 'hy-icon-caret-right', size: 10 }),
|
|
17
|
+
h("span", null, label))));
|
|
18
|
+
}
|
|
19
|
+
return (h("li", { class: "hy-person-profile-listing__item" },
|
|
20
|
+
index !== 0 && h("hy-icon", { icon: 'hy-icon-caret-right', size: 10 }),
|
|
21
|
+
h("span", null, label)));
|
|
22
|
+
}))));
|
|
23
|
+
}
|
|
24
|
+
}))));
|
|
25
|
+
}
|
|
26
|
+
static get is() { return "hy-person-profile-listing"; }
|
|
27
|
+
static get encapsulation() { return "shadow"; }
|
|
28
|
+
static get originalStyleUrls() { return {
|
|
29
|
+
"$": ["person-profile-listing.scss"]
|
|
30
|
+
}; }
|
|
31
|
+
static get styleUrls() { return {
|
|
32
|
+
"$": ["person-profile-listing.css"]
|
|
33
|
+
}; }
|
|
34
|
+
static get properties() { return {
|
|
35
|
+
"items": {
|
|
36
|
+
"type": "unknown",
|
|
37
|
+
"mutable": false,
|
|
38
|
+
"complexType": {
|
|
39
|
+
"original": "personProfileListingItems",
|
|
40
|
+
"resolved": "[{ label: string; items: string[]; }]",
|
|
41
|
+
"references": {
|
|
42
|
+
"personProfileListingItems": {
|
|
43
|
+
"location": "local"
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"required": false,
|
|
48
|
+
"optional": false,
|
|
49
|
+
"docs": {
|
|
50
|
+
"tags": [],
|
|
51
|
+
"text": ""
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"col": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"mutable": false,
|
|
57
|
+
"complexType": {
|
|
58
|
+
"original": "'col-1' | 'col-2' | 'col-4'",
|
|
59
|
+
"resolved": "\"col-1\" | \"col-2\" | \"col-4\"",
|
|
60
|
+
"references": {}
|
|
61
|
+
},
|
|
62
|
+
"required": false,
|
|
63
|
+
"optional": true,
|
|
64
|
+
"docs": {
|
|
65
|
+
"tags": [],
|
|
66
|
+
"text": ""
|
|
67
|
+
},
|
|
68
|
+
"attribute": "col",
|
|
69
|
+
"reflect": false,
|
|
70
|
+
"defaultValue": "'col-2'"
|
|
71
|
+
},
|
|
72
|
+
"inline": {
|
|
73
|
+
"type": "boolean",
|
|
74
|
+
"mutable": false,
|
|
75
|
+
"complexType": {
|
|
76
|
+
"original": "boolean",
|
|
77
|
+
"resolved": "boolean",
|
|
78
|
+
"references": {}
|
|
79
|
+
},
|
|
80
|
+
"required": false,
|
|
81
|
+
"optional": true,
|
|
82
|
+
"docs": {
|
|
83
|
+
"tags": [],
|
|
84
|
+
"text": ""
|
|
85
|
+
},
|
|
86
|
+
"attribute": "inline",
|
|
87
|
+
"reflect": false
|
|
88
|
+
},
|
|
89
|
+
"withoutIcons": {
|
|
90
|
+
"type": "boolean",
|
|
91
|
+
"mutable": false,
|
|
92
|
+
"complexType": {
|
|
93
|
+
"original": "boolean",
|
|
94
|
+
"resolved": "boolean",
|
|
95
|
+
"references": {}
|
|
96
|
+
},
|
|
97
|
+
"required": false,
|
|
98
|
+
"optional": true,
|
|
99
|
+
"docs": {
|
|
100
|
+
"tags": [],
|
|
101
|
+
"text": ""
|
|
102
|
+
},
|
|
103
|
+
"attribute": "without-icons",
|
|
104
|
+
"reflect": false
|
|
105
|
+
},
|
|
106
|
+
"textSpacingTight": {
|
|
107
|
+
"type": "boolean",
|
|
108
|
+
"mutable": false,
|
|
109
|
+
"complexType": {
|
|
110
|
+
"original": "boolean",
|
|
111
|
+
"resolved": "boolean",
|
|
112
|
+
"references": {}
|
|
113
|
+
},
|
|
114
|
+
"required": false,
|
|
115
|
+
"optional": true,
|
|
116
|
+
"docs": {
|
|
117
|
+
"tags": [],
|
|
118
|
+
"text": ""
|
|
119
|
+
},
|
|
120
|
+
"attribute": "text-spacing-tight",
|
|
121
|
+
"reflect": false
|
|
122
|
+
}
|
|
123
|
+
}; }
|
|
124
|
+
}
|