@itcenteratunihelsinki/huds-lib 0.5.20 → 0.5.24
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 +6 -5
- 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 +3 -3
- 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 +16 -8
- 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 +0 -1
- 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/hy-desktop-menu-links/hy-desktop-menu-links.css +20 -10
- package/dist/collection/components/site-header/hy-desktop-menu-links/hy-desktop-menu-links.js +3 -2
- package/dist/collection/components/site-header/site-header.css +12 -0
- package/dist/collection/components/site-header/site-header.js +21 -2
- package/dist/collection/components/site-header/site-logo/site-logo.css +22 -0
- package/dist/collection/components/site-header/site-search/site-search.css +10 -10
- package/dist/collection/components/site-header/site-search/site-search.js +8 -1
- 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 +6 -5
- 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 +3 -3
- 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 +16 -8
- 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-22e9d015.entry.js +1 -0
- 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-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-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-c3afba74.entry.js +1 -0
- 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/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-83e51fc5.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-beeb1416.entry.js +0 -1
- package/dist/huds-lib/p-c46d323b.entry.js +0 -1
- package/dist/huds-lib/p-d7e2d5d5.entry.js +0 -1
- package/dist/huds-lib/p-f5e78e68.entry.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,h as n,g as a}from"./p-d5584db1.js";import{A as o}from"./p-e20f6203.js";let e={enter:"Enter",tab:"Tab",pageUp:"PageUp",pageDown:"PageDown",arrowUp:"ArrowUp",arrowDown:"ArrowDown",home:"Home",end:"End"};const t=class{constructor(n){i(this,n),this.variant=o.default,this.headerstyle="common",this.showOpen=!1,this.ready=!1}componentDidLoad(){this.ready=!0;let i=this.el.closest(".hy-main");i&&(i.classList.contains("with-sidebar")||(this.headerstyle="large"))}componentDidRender(){window.location.hash&&this.expandPanelByAnchor(window.location.hash),document.querySelectorAll(".hy-accordion__content").forEach((function(i){let n=i.classList.contains("open"),a=i;n?(a.style.display="block",a.style.height=a.scrollHeight+"px"):(a.style.height="0px",a.style.display="none")}))}onHashChange(){window.location.hash&&this.expandPanelByAnchor(window.location.hash)}handleKeyDown(i){let n=document.querySelectorAll(`#${this.el.parentElement.id}`)[0];const a=Array.prototype.slice.call(n.querySelectorAll(".hy-accordion__button"));let o=i.target;const t=i.code,r=i.ctrlKey&&[e.pageDown,e.pageUp].includes(t);if(o.classList.contains("hy-accordion__button"))if([e.arrowDown,e.arrowUp].includes(t)||r){const n=a.indexOf(o),r=[e.arrowDown,e.pageDown].includes(t)?1:-1,d=a.length;a[(n+d+r)%d].focus(),i.preventDefault()}else if([e.home,e.end].includes(t)){switch(t){case e.home:a[0].focus();break;case e.end:a[a.length-1].focus()}i.preventDefault()}}handleClick(i){const n=this.el.parentElement.id;let a=i.target;const o=a.tagName.toLowerCase(),e=[o].some((i=>["svg","span","path","button","a"].indexOf(i)>=0));let t=document.querySelectorAll(`#${n}`)[0];const r=t.hasAttribute("data-allow-multiple"),d=r||t.hasAttribute("data-allow-toggle");if(a&&e){"button"!==o&&(a=a.closest(".hy-accordion__button"));let n=a.closest(".hy-accordion__item"),e=n.querySelectorAll(".hy-accordion__content")[0];const c="true"==a.getAttribute("aria-expanded"),h=t.querySelector('[aria-expanded="true"]');!r&&h&&h!==a&&(h.setAttribute("aria-expanded","false"),this.collapseSection(e),n.classList.contains("hy-accordion__item__is-open")&&n.classList.remove("hy-accordion__item__is-open"),t.querySelector(`#${h.getAttribute("aria-controls")}`).setAttribute("aria-hidden","true"),d||h.removeAttribute("aria-disabled")),c?d&&c&&(a.setAttribute("aria-expanded","false"),this.collapseSection(e),n.classList.contains("hy-accordion__item__is-open")&&n.classList.remove("hy-accordion__item__is-open"),t.querySelector(`#${a.getAttribute("aria-controls")}`).setAttribute("aria-hidden","true")):(this.expandSection(e),a.setAttribute("aria-expanded","true"),n.classList.add("hy-accordion__item__is-open"),t.querySelector(`#${a.getAttribute("aria-controls")}`).setAttribute("aria-hidden","false"),d||a.setAttribute("aria-disabled","true")),i.preventDefault(),i.stopImmediatePropagation()}}expandPanelByAnchor(i){setTimeout((()=>{if(i.length>0){i=i.substr(1);let n=document.querySelectorAll(`[id=${i}]`)[0];if(n&&n.classList.contains("hy-accordion__button")){let i=n.closest(".hy-accordion__item"),a=i.querySelectorAll(".hy-accordion__content")[0];this.expandSection(a),n.setAttribute("aria-expanded","true"),i.classList.add("hy-accordion__item__is-open");const o=n.getBoundingClientRect();window.scrollTo({top:window.scrollY+o.top-200,behavior:"smooth"});const e=i.parentElement.parentElement.id;e.length>0&&document.querySelectorAll(`#${e}`)[0].querySelector(`#${n.getAttribute("aria-controls")}`).setAttribute("aria-hidden","false")}}}),200)}collapseSection(i){i.style.height="0px",i.setAttribute("data-collapsed","true"),setTimeout((()=>{i.style.display="none"}),250)}expandSection(i){i.style.display="block",i.style.height=i.scrollHeight+"px",i.setAttribute("data-collapsed","false")}render(){const i=this.el.parentElement.id;this.ready&&i.length>0&&document.querySelectorAll(`#${i}`).forEach((function(i){i&&i.querySelectorAll(".hy-accordion__button").forEach((function(i){i.addEventListener("focus",(function(){i.classList.add("focus")})),i.addEventListener("blur",(function(){i.classList.remove("focus")}))}))}));const a=this.showOpen?"open":"",o=["hy-accordion__item",this.variant,this.showOpen?"hy-accordion__item__is-open":""].join(" "),e=["hy-accordion__item--container",this.variant].join(" "),t=["hy-accordion--heading",this.variant].join(" "),r=["hy-accordion__content",`hy-accordion__content--${this.variant}`,this.variant,a].join(" "),d=["hy-accordion__content--inner-wrapper",`hy-accordion__content--inner-wrapper--${this.headerstyle}`,`hy-accordion__content--inner-wrapper--${this.variant}`].join(" "),c=this.accordiontitle.toLowerCase().replace(/\W/g,"-"),h=this.showOpen?"false":"true",s=this.showOpen?"false":"true";return n("div",{class:o},n("div",{class:e},n("div",{class:t},n("a",{href:"#"+c+"--title",class:"hy-accordion__link",tabindex:"-1"},n("button",{"aria-expanded":this.showOpen?"true":"false","aria-controls":`${c}--content`,class:`hy-accordion__button hy-accordion__button--${this.headerstyle}`,id:`${c}--title`},n("span",{class:"hy-accordion--heading__icon"},n("hy-icon",{icon:"hy-icon-caret-down",size:16})),n("span",null,this.accordiontitle)))),n("div",{"aria-labelledBy":`${c}--title`,class:r,id:`${c}--content`,role:"region","aria-hidden":h,"data-collapsed":s,style:{display:"none"}},n("div",{class:d},n("slot",null)))))}get el(){return a(this)}};t.style=':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-accordion__item{margin-bottom:12px}.hy-accordion__item__is-open{border:1px solid var(--grayscale-dark)}.hy-accordion__item__is-open .hy-accordion--heading{margin:0 auto}.hy-accordion__item__is-open .hy-accordion--heading .hy-accordion--heading__icon{-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.hy-accordion__item.mini{margin-bottom:1rem;margin-top:1rem}.hy-accordion__item__is-open.mini{margin-bottom:0;margin-top:0}.hy-accordion__item__is-open.mini .hy-accordion__item--container{border-bottom:1px solid var(--grayscale-medium-dark);border-top:1px solid var(--grayscale-medium-dark);padding-top:16px;padding-bottom:32px;margin-top:-1px;-webkit-transition:padding 0.5s ease-in-out;transition:padding 0.5s ease-in-out}@media (min-width: 30rem){.hy-accordion__item__is-open.mini .hy-accordion__item--container{padding-top:28px;padding-bottom:30px}}@media (min-width: 60rem){.hy-accordion__item__is-open.mini .hy-accordion__item--container{padding-top:32px;padding-bottom:40px}}.hy-accordion__item.hy-accordion__item__is-open.mini{background-color:var(--grayscale-white);border:none;-webkit-box-shadow:0 -10px 10px -10px rgba(0, 49, 70, 0.05);box-shadow:0 -10px 10px -10px rgba(0, 49, 70, 0.05)}.hy-accordion--heading{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;letter-spacing:-0.69px;line-height:28px;margin:0 auto;-webkit-transition:all 0.25s ease-in-out;transition:all 0.25s ease-in-out;width:100%}.hy-accordion--heading .hy-accordion__link{text-decoration:none}.hy-accordion--heading .hy-accordion__link:hover{text-decoration:none}.hy-accordion--heading .hy-accordion__button{font-size:1.125rem;line-height:22px;font-weight:700;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;background-color:var(--grayscale-background-box);border:none;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);height:100%;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;letter-spacing:-0.45px;padding:13px 20px 13px 16px;-webkit-transition:all 0.35s ease-in;transition:all 0.35s ease-in;width:100%}.hy-accordion--heading .hy-accordion__button:hover{cursor:pointer}@media (min-width: 30rem){.hy-accordion--heading .hy-accordion__button{padding:1rem 2rem 1rem 1.25rem}}@media (min-width: 1601px){.hy-accordion--heading .hy-accordion__button{font-size:1.25rem;line-height:24px;letter-spacing:-0.5px}}@media (min-width: 75.0625rem){.hy-accordion--heading .hy-accordion__button--large{font-size:1.25rem;line-height:24px;letter-spacing:-0.5px}}@media (min-width: 75.0625rem){.hy-accordion--heading .hy-accordion__button--large .hy-accordion--heading__icon svg{height:20px;width:20px}}.hy-accordion--heading .hy-accordion__button[aria-expanded=true]{background:none}.hy-accordion--heading .hy-accordion__button span{text-align:left}.hy-accordion--heading .hy-accordion__button[aria-expanded=true]{position:relative}.hy-accordion--heading .hy-accordion__button[aria-expanded=true]:after{background-color:var(--grayscale-medium-dark);bottom:0;content:"";height:1px;left:16px;position:absolute;right:20px}.hy-accordion--heading .hy-accordion--heading__icon{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:22px;margin-right:8px;z-index:0}.hy-accordion--heading .hy-accordion--heading__icon svg{fill:var(--brand-main)}@media (min-width: 30rem){.hy-accordion--heading .hy-accordion--heading__icon svg{height:18px;width:18px}}@media (min-width: 1601px){.hy-accordion--heading .hy-accordion--heading__icon svg{height:20px;width:20px}}.hy-accordion--heading.mini .hy-accordion__button{font-size:1.125rem;line-height:22px;background-color:var(--grayscale-white);color:var(--link-blue);letter-spacing:-0.56px;padding:0}@media (min-width: 30rem){.hy-accordion--heading.mini .hy-accordion__button{font-size:1.375rem;line-height:28px;letter-spacing:-0.69px;padding:0}}.hy-accordion--heading.mini .hy-accordion__button[aria-expanded=true]{color:var(--grayscale-black);margin-bottom:20px}@media (min-width: 30rem){.hy-accordion--heading.mini .hy-accordion__button[aria-expanded=true]{margin-bottom:28px}}@media (min-width: 60rem){.hy-accordion--heading.mini .hy-accordion__button[aria-expanded=true]{margin-bottom:32px}}.hy-accordion--heading.mini .hy-accordion--heading__icon{margin-right:0.5rem;z-index:0}@media (min-width: 30rem){.hy-accordion--heading.mini .hy-accordion--heading__icon{margin-right:10px}}.hy-accordion--heading.mini .hy-accordion--heading__icon svg{fill:var(--brand-main-light);height:14px;width:14px}@media (min-width: 30rem){.hy-accordion--heading.mini .hy-accordion--heading__icon svg{height:16px;width:16px}}.hy-accordion__content{display:block;height:0;padding:0;overflow:hidden;-webkit-transition:all 0.25s ease-in-out;transition:all 0.25s ease-in-out}.hy-accordion__content--inner-wrapper{display:block;padding:16px 12px}@media (min-width: 30rem){.hy-accordion__content--inner-wrapper{padding:15px 16px}}@media (min-width: 60rem){.hy-accordion__content--inner-wrapper{padding:16px}}@media (min-width: 75.0625rem){.hy-accordion__content--inner-wrapper--large{padding:24px 20px}}@media (min-width: 1601px){.hy-accordion__content--inner-wrapper{padding:24px 20px}}.hy-accordion__content--inner-wrapper--mini{padding:0}.hy-accordion__content--inner-wrapper--mini .course-heading h4{padding-top:0 !important}';export{t as hy_accordion_item}
|