@ebrains/components 1.0.0 → 1.1.0
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/components-section.cjs.entry.js +1 -1
- package/dist/cjs/components.cjs.js +1 -1
- package/dist/cjs/eds-accordion.cjs.entry.js +2 -2
- package/dist/cjs/eds-alert.cjs.entry.js +2 -2
- package/dist/cjs/{eds-avatar_34.cjs.entry.js → eds-avatar_28.cjs.entry.js} +481 -501
- package/dist/cjs/eds-breadcrumb.cjs.entry.js +145 -0
- package/dist/cjs/eds-card-desc_2.cjs.entry.js +77 -0
- package/dist/cjs/eds-card-generic.cjs.entry.js +92 -0
- package/dist/cjs/eds-card-project.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-tags.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-tool.cjs.entry.js +1 -1
- package/dist/cjs/eds-code-block.cjs.entry.js +1 -1
- package/dist/cjs/eds-gauge.cjs.entry.js +60 -0
- package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-bookmark.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-close.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-copy.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-eu.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-external.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-facebook.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-linkedin.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-loader.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-mastodon.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-menu.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-minus.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-more.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-paper.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-plus.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-portal.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-private.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-public.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-search.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-star.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-success.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-tutorial.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-unknown.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-updown.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-user.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
- package/dist/cjs/eds-pie.cjs.entry.js +106 -0
- package/dist/cjs/eds-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/eds-rating.cjs.entry.js +1 -1
- package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
- package/dist/cjs/eds-spinner.cjs.entry.js +1 -1
- package/dist/cjs/eds-switch.cjs.entry.js +2 -2
- package/dist/cjs/eds-tooltip.cjs.entry.js +32 -0
- package/dist/cjs/index-88c8039f.js +28 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/token-spacing.cjs.entry.js +16 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/eds-accordion/eds-accordion.js +2 -2
- package/dist/collection/components/eds-alert/eds-alert.js +2 -2
- package/dist/collection/components/eds-avatar/eds-avatar.js +1 -1
- package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
- package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +1 -1
- package/dist/collection/components/eds-button/eds-button.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +1 -1
- package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.js +1 -1
- package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
- package/dist/collection/components/eds-dropdown/eds-dropdown.js +2 -2
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-external/eds-icon-external.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-minus/eds-icon-minus.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-paper/eds-icon-paper.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +1 -1
- package/dist/collection/components/eds-img/eds-img.js +2 -2
- package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +2 -2
- package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +2 -2
- package/dist/collection/components/eds-input-field/eds-input-field.js +2 -2
- package/dist/collection/components/eds-link/eds-link.js +1 -1
- package/dist/collection/components/eds-logo/eds-logo.js +1 -1
- package/dist/collection/components/eds-modal/eds-modal.js +2 -2
- package/dist/collection/components/eds-pagination/eds-pagination.js +1 -1
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
- package/dist/collection/components/eds-rating/eds-rating.js +1 -1
- package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
- package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
- package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
- package/dist/collection/components/eds-switch/eds-switch.js +2 -2
- package/dist/collection/components/eds-table/eds-table.css +5 -0
- package/dist/collection/components/eds-table/eds-table.js +171 -22
- package/dist/collection/eds-docs-ui/components-section/functional/react.js +1 -1
- package/dist/collection/shared-ui/eds-footer/eds-footer.js +2 -2
- package/dist/collection/shared-ui/eds-form/eds-form.js +34 -2
- package/dist/collection/shared-ui/eds-steps/eds-steps.js +2 -2
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.css +17 -0
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.js +20 -2
- package/dist/collection/shared-ui/eds-user/eds-user.js +1 -1
- package/dist/components/components-section.js +1 -1
- package/dist/components/components.css +3 -0
- package/dist/components/components.esm.js +1 -1
- package/dist/components/eds-accordion2.js +2 -2
- package/dist/components/eds-alert2.js +2 -2
- package/dist/components/eds-avatar2.js +1 -1
- package/dist/components/eds-block-break2.js +1 -1
- package/dist/components/eds-breadcrumb.js +1 -1
- package/dist/components/eds-button2.js +1 -1
- package/dist/components/eds-card-desc2.js +1 -1
- package/dist/components/eds-card-project.js +1 -1
- package/dist/components/eds-card-tags.js +1 -1
- package/dist/components/eds-card-title2.js +1 -1
- package/dist/components/eds-card-tool.js +1 -1
- package/dist/components/eds-code-block2.js +1 -1
- package/dist/components/eds-dropdown2.js +2 -2
- package/dist/components/eds-footer2.js +2 -2
- package/dist/components/eds-form.js +14 -2
- package/dist/components/eds-gauge.js +1 -1
- package/dist/components/eds-icon-arrow-diagonal.js +1 -1
- package/dist/components/eds-icon-arrow-right.js +1 -1
- package/dist/components/eds-icon-bluesky.js +1 -1
- package/dist/components/eds-icon-bookmark.js +1 -1
- package/dist/components/eds-icon-chevron-down.js +1 -1
- package/dist/components/eds-icon-chevron-left.js +1 -1
- package/dist/components/eds-icon-chevron-right.js +1 -1
- package/dist/components/eds-icon-chevron-up.js +1 -1
- package/dist/components/eds-icon-close.js +1 -1
- package/dist/components/eds-icon-copy.js +1 -1
- package/dist/components/eds-icon-eu.js +1 -1
- package/dist/components/eds-icon-external.js +1 -1
- package/dist/components/eds-icon-facebook.js +1 -1
- package/dist/components/eds-icon-gitlab.js +1 -1
- package/dist/components/eds-icon-linkedin.js +1 -1
- package/dist/components/eds-icon-loader.js +1 -1
- package/dist/components/eds-icon-mastodon.js +1 -1
- package/dist/components/eds-icon-menu.js +1 -1
- package/dist/components/eds-icon-minus.js +1 -1
- package/dist/components/eds-icon-more.js +1 -1
- package/dist/components/eds-icon-paper.js +1 -1
- package/dist/components/eds-icon-plus.js +1 -1
- package/dist/components/eds-icon-portal.js +1 -1
- package/dist/components/eds-icon-private.js +1 -1
- package/dist/components/eds-icon-public.js +1 -1
- package/dist/components/eds-icon-search.js +1 -1
- package/dist/components/eds-icon-star.js +1 -1
- package/dist/components/eds-icon-success.js +1 -1
- package/dist/components/eds-icon-thumbs-down.js +1 -1
- package/dist/components/eds-icon-thumbs-up.js +1 -1
- package/dist/components/eds-icon-tutorial.js +1 -1
- package/dist/components/eds-icon-twitter.js +1 -1
- package/dist/components/eds-icon-unknown.js +1 -1
- package/dist/components/eds-icon-updown.js +1 -1
- package/dist/components/eds-icon-user.js +1 -1
- package/dist/components/eds-icon-youtube.js +1 -1
- package/dist/components/eds-img2.js +2 -2
- package/dist/components/eds-input-field2.js +2 -2
- package/dist/components/eds-input-footer2.js +1 -1
- package/dist/components/eds-input-label2.js +1 -1
- package/dist/components/eds-input-range2.js +1 -1
- package/dist/components/eds-input-search2.js +1 -1
- package/dist/components/eds-input-select2.js +2 -2
- package/dist/components/eds-input2.js +2 -2
- package/dist/components/eds-link2.js +1 -1
- package/dist/components/eds-logo2.js +1 -1
- package/dist/components/eds-modal.js +2 -2
- package/dist/components/eds-pagination2.js +1 -1
- package/dist/components/eds-progress-bar2.js +1 -1
- package/dist/components/eds-rating2.js +1 -1
- package/dist/components/eds-section-core2.js +1 -1
- package/dist/components/eds-section-heading2.js +2 -2
- package/dist/components/eds-spinner2.js +1 -1
- package/dist/components/eds-steps-v2.js +5 -3
- package/dist/components/eds-steps2.js +2 -2
- package/dist/components/eds-switch.js +2 -2
- package/dist/components/eds-table2.js +85 -25
- package/dist/components/eds-user.js +1 -1
- package/dist/components/p-023bc47c.entry.js +1 -0
- package/dist/components/p-11efb1d1.entry.js +1 -0
- package/dist/components/p-14679a86.entry.js +1 -0
- package/dist/components/p-158c95bc.entry.js +1 -0
- package/dist/components/p-177103fd.entry.js +1 -0
- package/dist/components/{p-bfc62d3e.entry.js → p-17d39d66.entry.js} +1 -1
- package/dist/components/p-19d586e6.entry.js +1 -0
- package/dist/components/p-1de8401b.entry.js +1 -0
- package/dist/components/{p-8ad05566.entry.js → p-1f5c19b9.entry.js} +1 -1
- package/dist/components/p-321a950b.entry.js +1 -0
- package/dist/components/p-38c9aee7.entry.js +1 -0
- package/dist/components/p-42295abe.entry.js +1 -0
- package/dist/components/p-424e91b3.entry.js +1 -0
- package/dist/components/p-43cff423.entry.js +1 -0
- package/dist/components/p-45f21238.entry.js +1 -0
- package/dist/components/p-4bdf1589.entry.js +1 -0
- package/dist/components/p-4dcdd4d9.entry.js +1 -0
- package/dist/components/p-4fad9296.entry.js +1 -0
- package/dist/components/p-50f43dfd.entry.js +1 -0
- package/dist/components/p-563d56c0.entry.js +1 -0
- package/dist/components/p-5827fd52.entry.js +1 -0
- package/dist/components/{p-7af6b832.entry.js → p-590fb0e7.entry.js} +1 -1
- package/dist/components/p-5c5dfc4a.entry.js +1 -0
- package/dist/components/p-66f4cdd9.entry.js +1 -0
- package/dist/components/p-6dc6f729.entry.js +1 -0
- package/dist/components/p-6f9ab63c.entry.js +1 -0
- package/dist/components/p-7502b8b4.entry.js +1 -0
- package/dist/components/p-750e3ec8.entry.js +1 -0
- package/dist/components/p-8c0b0121.entry.js +1 -0
- package/dist/components/p-95518776.entry.js +1 -0
- package/dist/components/p-99d9bb29.entry.js +1 -0
- package/dist/components/p-9a4b5746.entry.js +1 -0
- package/dist/components/p-9c823b5e.entry.js +1 -0
- package/dist/components/p-9d64d1fd.entry.js +1 -0
- package/dist/components/p-ab4447f6.entry.js +1 -0
- package/dist/components/p-b073d78f.entry.js +1 -0
- package/dist/components/{p-8b016d76.entry.js → p-b5e64725.entry.js} +1 -1
- package/dist/components/p-b630e51a.entry.js +1 -0
- package/dist/components/p-c91b4eec.entry.js +1 -0
- package/dist/components/{p-0eeddc13.entry.js → p-d05a09df.entry.js} +1 -1
- package/dist/components/{p-84fd3e40.entry.js → p-d0b1e963.entry.js} +1 -1
- package/dist/components/p-d25364db.entry.js +1 -0
- package/dist/components/p-d3bb444a.entry.js +1 -0
- package/dist/components/p-d4f239d7.entry.js +1 -0
- package/dist/components/{p-a81cba86.entry.js → p-deb9bbed.entry.js} +1 -1
- package/dist/components/p-df772a35.entry.js +1 -0
- package/dist/components/p-e5113509.entry.js +1 -0
- package/dist/components/p-e6a0b8c2.entry.js +1 -0
- package/dist/components/p-e8f0d7fc.entry.js +1 -0
- package/dist/components/{p-abb2ad00.entry.js → p-f189be4f.entry.js} +1 -1
- package/dist/components/p-f221eca2.entry.js +1 -0
- package/dist/components/p-f2416727.entry.js +1 -0
- package/dist/components/{p-50ea5b07.entry.js → p-f7716080.entry.js} +1 -1
- package/dist/components/p-fd85675b.entry.js +1 -0
- package/dist/components/{p-ea97a94e.entry.js → p-fe167c78.entry.js} +2 -2
- package/dist/components/p-ffccfeb6.entry.js +1 -0
- package/dist/esm/components-section.entry.js +1 -1
- package/dist/esm/components.js +1 -1
- package/dist/esm/eds-accordion.entry.js +2 -2
- package/dist/esm/eds-alert.entry.js +2 -2
- package/dist/esm/{eds-avatar_34.entry.js → eds-avatar_28.entry.js} +481 -495
- package/dist/esm/eds-breadcrumb.entry.js +141 -0
- package/dist/esm/eds-card-desc_2.entry.js +72 -0
- package/dist/esm/eds-card-generic.entry.js +88 -0
- package/dist/esm/eds-card-project.entry.js +1 -1
- package/dist/esm/eds-card-tags.entry.js +1 -1
- package/dist/esm/eds-card-tool.entry.js +1 -1
- package/dist/esm/eds-code-block.entry.js +1 -1
- package/dist/esm/eds-gauge.entry.js +56 -0
- package/dist/esm/eds-icon-arrow-diagonal.entry.js +1 -1
- package/dist/esm/eds-icon-arrow-right.entry.js +1 -1
- package/dist/esm/eds-icon-bluesky.entry.js +1 -1
- package/dist/esm/eds-icon-bookmark.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-down.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-left.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-right.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-up.entry.js +1 -1
- package/dist/esm/eds-icon-close.entry.js +1 -1
- package/dist/esm/eds-icon-copy.entry.js +1 -1
- package/dist/esm/eds-icon-eu.entry.js +1 -1
- package/dist/esm/eds-icon-external.entry.js +1 -1
- package/dist/esm/eds-icon-facebook.entry.js +1 -1
- package/dist/esm/eds-icon-gitlab.entry.js +1 -1
- package/dist/esm/eds-icon-linkedin.entry.js +1 -1
- package/dist/esm/eds-icon-loader.entry.js +1 -1
- package/dist/esm/eds-icon-mastodon.entry.js +1 -1
- package/dist/esm/eds-icon-menu.entry.js +1 -1
- package/dist/esm/eds-icon-minus.entry.js +1 -1
- package/dist/esm/eds-icon-more.entry.js +1 -1
- package/dist/esm/eds-icon-paper.entry.js +1 -1
- package/dist/esm/eds-icon-plus.entry.js +1 -1
- package/dist/esm/eds-icon-portal.entry.js +1 -1
- package/dist/esm/eds-icon-private.entry.js +1 -1
- package/dist/esm/eds-icon-public.entry.js +1 -1
- package/dist/esm/eds-icon-search.entry.js +1 -1
- package/dist/esm/eds-icon-star.entry.js +1 -1
- package/dist/esm/eds-icon-success.entry.js +1 -1
- package/dist/esm/eds-icon-thumbs-down.entry.js +1 -1
- package/dist/esm/eds-icon-thumbs-up.entry.js +1 -1
- package/dist/esm/eds-icon-tutorial.entry.js +1 -1
- package/dist/esm/eds-icon-twitter.entry.js +1 -1
- package/dist/esm/eds-icon-unknown.entry.js +1 -1
- package/dist/esm/eds-icon-updown.entry.js +1 -1
- package/dist/esm/eds-icon-user.entry.js +1 -1
- package/dist/esm/eds-icon-youtube.entry.js +1 -1
- package/dist/esm/eds-pie.entry.js +102 -0
- package/dist/esm/eds-progress-bar.entry.js +1 -1
- package/dist/esm/eds-rating.entry.js +1 -1
- package/dist/esm/eds-section-core_2.entry.js +3 -3
- package/dist/esm/eds-spinner.entry.js +1 -1
- package/dist/esm/eds-switch.entry.js +2 -2
- package/dist/esm/eds-tooltip.entry.js +28 -0
- package/dist/esm/index-fdb33359.js +28 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/token-spacing.entry.js +12 -0
- package/dist/hydrate/index.js +185 -112
- package/dist/hydrate/index.mjs +185 -112
- package/dist/types/components/eds-table/eds-table.d.ts +69 -0
- package/dist/types/components.d.ts +48 -0
- package/dist/types/shared-ui/eds-form/eds-form.d.ts +3 -0
- package/dist/types/shared-ui/eds-steps-v2/eds-steps-v2.d.ts +2 -0
- package/package.json +1 -1
- package/dist/cjs/eds-pagination_2.cjs.entry.js +0 -403
- package/dist/components/p-04b4e9d0.entry.js +0 -1
- package/dist/components/p-0863352c.entry.js +0 -1
- package/dist/components/p-0d6434e1.entry.js +0 -1
- package/dist/components/p-0e94a89f.entry.js +0 -1
- package/dist/components/p-100909ce.entry.js +0 -1
- package/dist/components/p-124b8747.entry.js +0 -1
- package/dist/components/p-14a223fe.entry.js +0 -1
- package/dist/components/p-18ceadd2.entry.js +0 -1
- package/dist/components/p-26d6679b.entry.js +0 -1
- package/dist/components/p-2b1b2026.entry.js +0 -1
- package/dist/components/p-3c642a30.entry.js +0 -1
- package/dist/components/p-46619042.entry.js +0 -1
- package/dist/components/p-511b23ec.entry.js +0 -1
- package/dist/components/p-5462923d.entry.js +0 -1
- package/dist/components/p-6199b8c0.entry.js +0 -1
- package/dist/components/p-624e653e.entry.js +0 -1
- package/dist/components/p-6ba42d02.entry.js +0 -1
- package/dist/components/p-6e929acb.entry.js +0 -1
- package/dist/components/p-6ede7101.entry.js +0 -1
- package/dist/components/p-70bac015.entry.js +0 -1
- package/dist/components/p-822ac246.entry.js +0 -1
- package/dist/components/p-848506b8.entry.js +0 -1
- package/dist/components/p-85634ad2.entry.js +0 -1
- package/dist/components/p-8bdf5841.entry.js +0 -1
- package/dist/components/p-8ff39cef.entry.js +0 -1
- package/dist/components/p-affe2b55.entry.js +0 -1
- package/dist/components/p-b31591db.entry.js +0 -1
- package/dist/components/p-b7efd666.entry.js +0 -1
- package/dist/components/p-ba784274.entry.js +0 -1
- package/dist/components/p-c0b22803.entry.js +0 -1
- package/dist/components/p-cdd491f5.entry.js +0 -1
- package/dist/components/p-d268c96b.entry.js +0 -1
- package/dist/components/p-d437bae2.entry.js +0 -1
- package/dist/components/p-d456e649.entry.js +0 -1
- package/dist/components/p-dae8f66a.entry.js +0 -1
- package/dist/components/p-e1791844.entry.js +0 -1
- package/dist/components/p-e82edd4a.entry.js +0 -1
- package/dist/components/p-e9f608a8.entry.js +0 -1
- package/dist/components/p-f26fd186.entry.js +0 -1
- package/dist/components/p-fe1cba17.entry.js +0 -1
- package/dist/esm/eds-pagination_2.entry.js +0 -398
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
export const DocsReact = () => (h("div", null, h("h2", null, "React Wrappers"), h("p", null, "To use the EBRAINS web components in a React Application, simple install the package below and check out the examples"), h("eds-code-block", { code: "npm install @ebrains/react", language: "javascript", "copy-label": "Copy Code" }), h("eds-section-core", { "section-title": "Example React App", "heading-level": "h3" }, h("p", null, "This code displays a Stencil-based splash screen that stays visible until an initialization promise resolves (or errors), then hides itself and reveals the main React app content."), h("eds-code-block", { code: "\nimport React, { useMemo, useState } from 'react';\nimport {\n EdsHeader
|
|
2
|
+
export const DocsReact = () => (h("div", null, h("h2", null, "React Wrappers"), h("p", null, "To use the EBRAINS web components in a React Application, simple install the package below and check out the examples"), h("eds-code-block", { code: "npm install @ebrains/react", language: "javascript", "copy-label": "Copy Code" }), h("eds-section-core", { "section-title": "Example React App", "heading-level": "h3" }, h("p", null, "This code displays a Stencil-based splash screen that stays visible until an initialization promise resolves (or errors), then hides itself and reveals the main React app content."), h("eds-code-block", { code: "\nimport React, { useMemo, useState } from 'react';\nimport {\n EdsHeader,\n EdsSplashScreen,\n EdsMatomoNotice,\n EdsSteps\n} from '@ebrains/react';\nimport './app.css';\n\n// simulate 2s\nfunction fakeInit(): Promise<void> {\n return new Promise(resolve => setTimeout(resolve, 2000));\n}\n\nexport function App() {\n // 1) create init promise\n const initPromise = useMemo(() => fakeInit(), []);\n\n // 2) is splash still visible\n const [splashVisible, setSplashVisible] = useState(true);\n const [initError, setInitError] = useState<string | null>(null);\n\n // 3) show the UI after the splash has hidden\n const showApp = !splashVisible && !initError;\n\n return (\n <div>\n {splashVisible && (\n <EdsSplashScreen\n inverse={false}\n initPromise={initPromise}\n onSplash={(e: CustomEvent) => {\n if (e.detail.type === 'hidden') {\n setSplashVisible(false);\n } else if (e.detail.type === 'error') {\n setInitError(e.detail.message);\n setSplashVisible(false);\n }\n }}\n />\n )}\n\n {initError && (\n <div className='error'>\n Failed to initialize: {initError}\n </div>\n )}\n\n {/* Show App only when ready */}\n {showApp && (\n <>\n <EdsHeader></EdsHeader>\n <EdsSteps\n steps={[\n {\n title: 'Introduction',\n content: 'Begin by familiarizing yourself with the overall process.'\n },\n {\n title: 'Process Overview',\n content: 'Review the detailed steps and understand the workflow.'\n }\n ]}\n type='linear'\n />\n\n <EdsMatomoNotice />\n\n <div id='root'></div>\n </>\n )}\n </div>\n );\n}\nexport default App;\n", language: "javascript", "copy-label": "Copy Code" }))));
|
|
@@ -43,9 +43,9 @@ export class EdsFooter {
|
|
|
43
43
|
* @returns {JSX.Element} The rendered JSX for the footer component.
|
|
44
44
|
*/
|
|
45
45
|
render() {
|
|
46
|
-
return (h("footer", { key: '7bbc8cd8e0e3a153dc30bb3569e83afc0bc09b0a' }, this.social ? (h("div", { class: "border-softest border-t-2 pt-20 md:pt-28" }, h("div", { class: "container pb-20" }, h("div", { class: "grid-layout" }, h("div", { class: "grid-col-span-12 lg:grid-col-span-5" }, h("eds-social-networks", { class: "mt-28" })))))) : null, h("div", { key: '9ee8ada698546344b18e557ee1de76042cd727ed', class: `border-softest ${this.social ? 'border-t-2' : ''} pb-28 pt-20 md:pt-28` }, h("div", { key: 'e795e5bba0273b4147c66ed667142997bc0cbaff', class: "container flex items-center gap-20 lg:flex-nowrap" }, h("div", { key: 'fa09a0dbccb035b1e4f496aa447aca241bcc2415', class: "flex items-center gap-x-12" }, h("a", { key: '
|
|
46
|
+
return (h("footer", { key: '7bbc8cd8e0e3a153dc30bb3569e83afc0bc09b0a' }, this.social ? (h("div", { class: "border-softest border-t-2 pt-20 md:pt-28" }, h("div", { class: "container pb-20" }, h("div", { class: "grid-layout" }, h("div", { class: "grid-col-span-12 lg:grid-col-span-5" }, h("eds-social-networks", { class: "mt-28" })))))) : null, h("div", { key: '9ee8ada698546344b18e557ee1de76042cd727ed', class: `border-softest ${this.social ? 'border-t-2' : ''} pb-28 pt-20 md:pt-28` }, h("div", { key: 'e795e5bba0273b4147c66ed667142997bc0cbaff', class: "container flex items-center gap-20 lg:flex-nowrap" }, h("div", { key: 'fa09a0dbccb035b1e4f496aa447aca241bcc2415', class: "flex items-center gap-x-12" }, h("a", { key: '578d6a8463e65d07278f8328c108ee266cfba2b8', target: "_blank", rel: "noopener noreferrer", class: "effect-focus focus-visible:rounded-xs flex w-[54px] ml-0", href: "https://research-and-innovation.ec.europa.eu/funding/funding-opportunities/funding-programmes-and-open-calls/horizon-europe_en", "aria-label": "Learn about Horizon Europe funding" }, h("eds-img", { key: '5b9e987c2ecf62fb4f44c1faacad7c569a149805', width: 54, height: 41, src: "https://www.ebrains.eu/flags/4x3/eu.svg", alt: "European Union Flag" }))), h("div", { key: 'df75949c0718b8fb7dd449a6e7df39d332da366f' }, h("div", { key: 'f83d31b16d0601cd456d5cb72e9fa2adb29a2b66', class: "f-ui-04 text-light" }, h("p", { key: 'dcdf09d78ca64c5391d56fe5ed69bab987cbf67b' }, this.fundedBy), h("div", { key: 'af279fb5dfdf0a8f1f85e6ce7446dc3a0eeac397', class: "mt-4 flex flex-wrap gap-12 lg:flex-nowrap inline-block" }, h("span", { key: '026b41fa6162ffb6825ccf98364b4caf64b6457a', class: "effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline mr-4" }, "\u00A9 ", this.rightsReserved), this.enableCookiesSettings ? (h("eds-link", { label: this.cookiesPreferences, intent: "underline", "extra-class": "f-ui-04", onClick: () => {
|
|
47
47
|
this.toggleCookiesConsent();
|
|
48
|
-
} })) : null))), h("div", { key: '
|
|
48
|
+
} })) : null))), h("div", { key: '27cb561815d6918567ab8cfa1148019aca8aeda0', class: "ml-auto pl-12" }, this.enableScrollTop ? (h("eds-button", { id: "backToTop", "aria-hidden": "true", "aria-label": this.backToTopAriaLabel, intent: "ghostInverse", icon: "chevron-up", onClick: this.backToTop, class: "transition-all transition duration-75 opacity-0 " })) : null)))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "eds-footer"; }
|
|
51
51
|
static get encapsulation() { return "shadow"; }
|
|
@@ -31,6 +31,9 @@ export class EdsForm {
|
|
|
31
31
|
this.errors = {};
|
|
32
32
|
this.parsedFields = [];
|
|
33
33
|
}
|
|
34
|
+
async setData(newData) {
|
|
35
|
+
this.populateFormWithInitData(newData);
|
|
36
|
+
}
|
|
34
37
|
componentWillLoad() {
|
|
35
38
|
this.parseFields(this.fields);
|
|
36
39
|
// Emit context for each eds-link element after the component is fully loaded
|
|
@@ -203,6 +206,14 @@ export class EdsForm {
|
|
|
203
206
|
// Update the errors state and the hasError flag.
|
|
204
207
|
this.errors = newErrors;
|
|
205
208
|
this.hasError = Object.keys(newErrors).length > 0;
|
|
209
|
+
// Emit the updated form state.
|
|
210
|
+
this.form.emit({
|
|
211
|
+
event: 'input',
|
|
212
|
+
field: field.name,
|
|
213
|
+
value: target.type === 'checkbox' ? this.values[field.name] : target.value,
|
|
214
|
+
message: `${field.name} updated`
|
|
215
|
+
//data: this.makeFormData()
|
|
216
|
+
});
|
|
206
217
|
}
|
|
207
218
|
handleSubmit() {
|
|
208
219
|
var _a, _b;
|
|
@@ -263,13 +274,13 @@ export class EdsForm {
|
|
|
263
274
|
render() {
|
|
264
275
|
const hiddenFields = this.parsedFields.filter((field) => field.type === 'hidden');
|
|
265
276
|
const otherFields = this.parsedFields.filter((field) => field.type !== 'hidden');
|
|
266
|
-
return (h("form", { key: '
|
|
277
|
+
return (h("form", { key: '1418bbac3ea7c994bf363602e6ddd18ed3c6c661', ref: (el) => (this.formEl = el), autocomplete: "on", onSubmit: this.handleSubmit }, h("div", { key: 'ae6f05d50a1c32312e585d55f0b5d64b0dd1fc9c' }, h("slot", { key: '09c9ddd0d3b77ae9cbcb54389b799af7a6fc6c9e' }), hiddenFields.map((field, index) => (h("eds-input", { key: index, type: "hidden", name: field.name, value: field.value }))), otherFields.map((field, index) => {
|
|
267
278
|
var _a, _b;
|
|
268
279
|
if (!this.isFieldVisible(field)) {
|
|
269
280
|
return null;
|
|
270
281
|
}
|
|
271
282
|
return (h("eds-input-field", { key: index, name: field.name, id: `${this.name}_${field.name}`, label: field.label, placeholder: field.placeholder, value: this.values[field.name] || null, type: field.type, icon: field.icon || null, disabled: field.disabled, required: field.required, maxLength: field.maxlength, hint: field.hint, link: field.link, message: field.message, error: ((_a = this.errors[field.name]) === null || _a === void 0 ? void 0 : _a.length) > 0, errorMessage: (_b = this.errors[field.name]) === null || _b === void 0 ? void 0 : _b.join('<br />'), onInput: (e) => this.handleInput(e, field), onChange: (e) => this.handleChange(e, field), class: index > 0 ? 'mt-20' : '', options: field.options }));
|
|
272
|
-
})), this.formBtn && (h("div", { key: '
|
|
283
|
+
})), this.formBtn && (h("div", { key: 'af6ce29d25ae2e7c71537618456308891ff8abf4', class: "mt-20" }, h("eds-button", { key: '1442f4f6b924533f9aa46bd22e1d0adf69561370', intent: "primary", label: this.formBtnLabel, disabled: this.isSubmitting, loading: this.isSubmitting, onClick: () => this.handleSubmit() })))));
|
|
273
284
|
}
|
|
274
285
|
static get is() { return "eds-form"; }
|
|
275
286
|
static get encapsulation() { return "shadow"; }
|
|
@@ -440,6 +451,27 @@ export class EdsForm {
|
|
|
440
451
|
}
|
|
441
452
|
static get methods() {
|
|
442
453
|
return {
|
|
454
|
+
"setData": {
|
|
455
|
+
"complexType": {
|
|
456
|
+
"signature": "(newData: { [key: string]: any; }) => Promise<void>",
|
|
457
|
+
"parameters": [{
|
|
458
|
+
"name": "newData",
|
|
459
|
+
"type": "{ [key: string]: any; }",
|
|
460
|
+
"docs": ""
|
|
461
|
+
}],
|
|
462
|
+
"references": {
|
|
463
|
+
"Promise": {
|
|
464
|
+
"location": "global",
|
|
465
|
+
"id": "global::Promise"
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
"return": "Promise<void>"
|
|
469
|
+
},
|
|
470
|
+
"docs": {
|
|
471
|
+
"text": "",
|
|
472
|
+
"tags": []
|
|
473
|
+
}
|
|
474
|
+
},
|
|
443
475
|
"getData": {
|
|
444
476
|
"complexType": {
|
|
445
477
|
"signature": "() => Promise<FormData>",
|
|
@@ -74,10 +74,10 @@ export class EdsSteps {
|
|
|
74
74
|
render() {
|
|
75
75
|
const steps = this.parsedSteps;
|
|
76
76
|
if (this.type === 'linear') {
|
|
77
|
-
return (h("div", null, h("div", { class: "steps" }, steps.map((step, index) => (h("div", { class: "step mb-28", key: index }, h("h3", { onClick: () => this.handleStepClick(index) }, step.title), this.activeStep === index && (h("div", { class: "content" }, h("div", { class:
|
|
77
|
+
return (h("div", null, h("div", { class: "steps" }, steps.map((step, index) => (h("div", { class: "step mb-28", key: index }, h("h3", { onClick: () => this.handleStepClick(index) }, step.title), this.activeStep === index && (h("div", { class: "content" }, h("slot", { name: `step-${index}` }, h("div", { class: index === steps.length - 1 ? 'f-body-02 text-lighter mt-16' : 'f-body-02 text-lighter my-16', innerHTML: step.content })), h("eds-button", { label: index === steps.length - 1 ? 'Finish' : 'Continue', intent: "primary", class: "next-btn", onClick: this.handleNext }), h("eds-button", { label: "Back", intent: "ghostInverse", onClick: this.handleBack, disabled: index === 0, "extra-class": index === 0 ? 'hidden' : 'ml-8 block' })))))))));
|
|
78
78
|
}
|
|
79
79
|
// Static mode: show all steps with their content, no navigation buttons.
|
|
80
|
-
return (h("div", { class: "steps" }, steps.map((step, index) => (h("div", { class: "step mb-28", key: index }, h("h3", null, step.title), h("div", { class: "content" }, h("div", { class:
|
|
80
|
+
return (h("div", { class: "steps" }, steps.map((step, index) => (h("div", { class: "step mb-28", key: index }, h("h3", null, step.title), h("div", { class: "content" }, h("slot", { name: `step-${index}` }, h("div", { class: index === steps.length - 1 ? 'f-body-02 text-lighter mt-16' : 'f-body-02 text-lighter my-16', innerHTML: step.content }))))))));
|
|
81
81
|
}
|
|
82
82
|
static get is() { return "eds-steps"; }
|
|
83
83
|
static get encapsulation() { return "shadow"; }
|
|
@@ -165,6 +165,11 @@ pre {
|
|
|
165
165
|
margin-top: 1rem;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
+
.my-16 {
|
|
169
|
+
margin-top: 1rem;
|
|
170
|
+
margin-bottom: 1rem;
|
|
171
|
+
}
|
|
172
|
+
|
|
168
173
|
.mb-12 {
|
|
169
174
|
margin-bottom: 0.75rem;
|
|
170
175
|
}
|
|
@@ -258,4 +263,16 @@ pre {
|
|
|
258
263
|
|
|
259
264
|
.overflow-hidden {
|
|
260
265
|
overflow: hidden;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.space-y-8 {
|
|
269
|
+
--tw-space-y-reverse: 0;
|
|
270
|
+
margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
|
|
271
|
+
margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.space-y-16 {
|
|
275
|
+
--tw-space-y-reverse: 0;
|
|
276
|
+
margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
|
|
277
|
+
margin-bottom: calc(1rem * var(--tw-space-y-reverse));
|
|
261
278
|
}
|
|
@@ -17,6 +17,7 @@ export class EdsStepsV2 {
|
|
|
17
17
|
this.steps = [];
|
|
18
18
|
this.type = 'static';
|
|
19
19
|
this.imageSrc = undefined;
|
|
20
|
+
this.imageWidth = undefined;
|
|
20
21
|
this.bg = true;
|
|
21
22
|
this.message = undefined;
|
|
22
23
|
this.activeStep = 0;
|
|
@@ -72,9 +73,9 @@ export class EdsStepsV2 {
|
|
|
72
73
|
}
|
|
73
74
|
render() {
|
|
74
75
|
const steps = this.parsedSteps;
|
|
75
|
-
return (h("div", { key: '
|
|
76
|
+
return (h("div", { key: 'bbcec2dd9a5096eb0cecf0d413892e5708822f52', class: this.articleClasses() }, this.imageSrc ? (h("div", { class: "w-full mb-12 rounded-t-lg overflow-hidden border-2" }, h("eds-img", { src: this.imageSrc, width: this.imageWidth, "with-bg": "true", "lazy-load": "true", alt: "Step illustration" }))) : (this.message && (h("div", { class: "w-full bg-[#00A595] rounded-t-lg border-2" }, h("div", { class: "p-24" }, h("span", { class: "text-inverse f-heading-04 " }, this.message))))), h("div", { key: 'db0618aad7d5986fcb0889f1c439be73f83a00df', class: "p-8" }, this.type === 'linear' ? (h("div", { class: "steps" }, steps.map((step, index) => (h("div", { class: index === 0 ? 'step' : 'step space-y-16', key: index }, h("h3", { onClick: () => this.handleStepClick(index) }, step.title), this.activeStep === index && (h("div", { class: "content" }, h("slot", { name: `step-${index}` }, h("div", { class: index === steps.length - 1 ? 'f-body-02 text-lighter mt-16' : 'f-body-02 text-lighter my-16', innerHTML: step.content })), h("eds-button", { label: index === steps.length - 1 ? 'Finish' : 'Continue', intent: "primary", class: "next-btn", onClick: this.handleNext }), h("eds-button", { label: "Back", intent: "ghostInverse", onClick: this.handleBack, disabled: index === 0, "extra-class": index === 0 ? 'hidden' : 'ml-8 block' })))))))) : (
|
|
76
77
|
// Static mode: show all steps with their content.
|
|
77
|
-
h("div", { class: "steps space-y-8" }, steps.map((step, index) => (h("div", { class: "step", key: index }, h("h3", { onClick: () => this.handleStepClick(index) }, step.title), h("div", { class: "content" }, h("div", { class:
|
|
78
|
+
h("div", { class: "steps space-y-8" }, steps.map((step, index) => (h("div", { class: "step", key: index }, h("h3", { onClick: () => this.handleStepClick(index) }, step.title), h("div", { class: "content" }, h("slot", { name: `step-${index}` }, h("div", { class: index === steps.length - 1 ? 'f-body-02 text-lighter mt-16' : 'f-body-02 text-lighter my-16', innerHTML: step.content })))))))))));
|
|
78
79
|
}
|
|
79
80
|
static get is() { return "eds-steps-v2"; }
|
|
80
81
|
static get encapsulation() { return "shadow"; }
|
|
@@ -149,6 +150,23 @@ export class EdsStepsV2 {
|
|
|
149
150
|
"attribute": "image-src",
|
|
150
151
|
"reflect": false
|
|
151
152
|
},
|
|
153
|
+
"imageWidth": {
|
|
154
|
+
"type": "number",
|
|
155
|
+
"mutable": false,
|
|
156
|
+
"complexType": {
|
|
157
|
+
"original": "number",
|
|
158
|
+
"resolved": "number",
|
|
159
|
+
"references": {}
|
|
160
|
+
},
|
|
161
|
+
"required": false,
|
|
162
|
+
"optional": true,
|
|
163
|
+
"docs": {
|
|
164
|
+
"tags": [],
|
|
165
|
+
"text": "Optional image width for the eds-img component."
|
|
166
|
+
},
|
|
167
|
+
"attribute": "image-width",
|
|
168
|
+
"reflect": false
|
|
169
|
+
},
|
|
152
170
|
"bg": {
|
|
153
171
|
"type": "boolean",
|
|
154
172
|
"mutable": false,
|
|
@@ -33,7 +33,7 @@ export class EdsUser {
|
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
35
|
const user = this.parsedUser;
|
|
36
|
-
return (h("div", { key: '9e2a8da09c2c15080e3b1ccf5b8e0e93b679d34b', class: "block" }, h("div", { key: 'ccc34b3c7b0ab8d515eebfa1962264365d20c788', class: "flex items-center" }, h("eds-dropdown", { key: '
|
|
36
|
+
return (h("div", { key: '9e2a8da09c2c15080e3b1ccf5b8e0e93b679d34b', class: "block" }, h("div", { key: 'ccc34b3c7b0ab8d515eebfa1962264365d20c788', class: "flex items-center" }, h("eds-dropdown", { key: 'dc4920fd442baa9f13d9f2b9a21065b5184eba83', label: `Hi, ${user.preferred_username}`, intent: "tertiary", "aria-label": "User Menu", "dropdown-pos": "right", "dropdown-offset": "false", icon: "chevron-down", class: "text-default" }, h("div", { key: '0522db7fc229186c645665a4c9eeedc46fb5823b', class: "min-w-[280px] p-8" }, h("div", { key: 'af7b9daec713d24f8a1415415d19cdf48905c0cb', class: "flex gap-x-16" }, h("eds-avatar", { key: 'c3ea7307d9beb597fe93d3942b7724f8526298ad', "first-name": user.given_name, "last-name": user.family_name, initials: this.initials, color: "grey" }), h("div", { key: '7af823b5f38a3d7acf16c633471dcfe74bca5e3c', class: "max-w-full" }, user.name && h("p", { key: '5973dfbac0efceeddb0dc211d9c502a1ad3b0dde', class: "f-ui-01 text-default w-full text-ellipsis" }, user.name), user.preferred_username && h("p", { key: '5989927760ed2a2d1365661bbdc112a3a3d23bbf', class: "f-ui-03-light text-light mt-4" }, user.preferred_username), user.email && h("p", { key: 'ee36be95298c0c7a748537012d48a85884955904', class: "f-ui-03-light text-light mt-4" }, user.email))), h("eds-block-break", { key: 'fb3ef5cad6e81f51983e54914412131c3bd4cbc2' }), h("div", { key: 'e3784f3f4931378bf55d766d4a1cf5e24a75d462', class: "text-default flex w-full flex-col gap-y-8" }, h("slot", { key: 'c0052bb56286d9a3fdc686c8407e105499a38084' })))))));
|
|
37
37
|
}
|
|
38
38
|
static get is() { return "eds-user"; }
|
|
39
39
|
static get encapsulation() { return "shadow"; }
|
|
@@ -80,7 +80,7 @@ const DocsReact = () => (h("div", null,
|
|
|
80
80
|
h("eds-code-block", { code: "npm install @ebrains/react", language: "javascript", "copy-label": "Copy Code" }),
|
|
81
81
|
h("eds-section-core", { "section-title": "Example React App", "heading-level": "h3" },
|
|
82
82
|
h("p", null, "This code displays a Stencil-based splash screen that stays visible until an initialization promise resolves (or errors), then hides itself and reveals the main React app content."),
|
|
83
|
-
h("eds-code-block", { code: "\nimport React, { useMemo, useState } from 'react';\nimport {\n EdsHeader
|
|
83
|
+
h("eds-code-block", { code: "\nimport React, { useMemo, useState } from 'react';\nimport {\n EdsHeader,\n EdsSplashScreen,\n EdsMatomoNotice,\n EdsSteps\n} from '@ebrains/react';\nimport './app.css';\n\n// simulate 2s\nfunction fakeInit(): Promise<void> {\n return new Promise(resolve => setTimeout(resolve, 2000));\n}\n\nexport function App() {\n // 1) create init promise\n const initPromise = useMemo(() => fakeInit(), []);\n\n // 2) is splash still visible\n const [splashVisible, setSplashVisible] = useState(true);\n const [initError, setInitError] = useState<string | null>(null);\n\n // 3) show the UI after the splash has hidden\n const showApp = !splashVisible && !initError;\n\n return (\n <div>\n {splashVisible && (\n <EdsSplashScreen\n inverse={false}\n initPromise={initPromise}\n onSplash={(e: CustomEvent) => {\n if (e.detail.type === 'hidden') {\n setSplashVisible(false);\n } else if (e.detail.type === 'error') {\n setInitError(e.detail.message);\n setSplashVisible(false);\n }\n }}\n />\n )}\n\n {initError && (\n <div className='error'>\n Failed to initialize: {initError}\n </div>\n )}\n\n {/* Show App only when ready */}\n {showApp && (\n <>\n <EdsHeader></EdsHeader>\n <EdsSteps\n steps={[\n {\n title: 'Introduction',\n content: 'Begin by familiarizing yourself with the overall process.'\n },\n {\n title: 'Process Overview',\n content: 'Review the detailed steps and understand the workflow.'\n }\n ]}\n type='linear'\n />\n\n <EdsMatomoNotice />\n\n <div id='root'></div>\n </>\n )}\n </div>\n );\n}\nexport default App;\n", language: "javascript", "copy-label": "Copy Code" }))));
|
|
84
84
|
|
|
85
85
|
const DocsVue = () => (h("div", null,
|
|
86
86
|
h("h2", null, "Vue Wrappers"),
|
|
@@ -6914,6 +6914,9 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
6914
6914
|
.uppercase {
|
|
6915
6915
|
text-transform: uppercase;
|
|
6916
6916
|
}
|
|
6917
|
+
.capitalize {
|
|
6918
|
+
text-transform: capitalize;
|
|
6919
|
+
}
|
|
6917
6920
|
.text-\[\#0034CB\] {
|
|
6918
6921
|
--tw-text-opacity: 1;
|
|
6919
6922
|
color: rgb(0 52 203 / var(--tw-text-opacity));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as a}from"./p-28ae3f3a.js";export{s as setNonce}from"./p-28ae3f3a.js";import{g as t}from"./p-e1255160.js";(()=>{const a=import.meta.url,s={};return""!==a&&(s.resourcesUrl=new URL(".",a).href),e(s)})().then((async e=>(await t(),a(JSON.parse('[["p-fe1cba17",[[1,"eds-form",{"name":[1],"setFormUrl":[4,"set-form-url"],"formBtn":[4,"form-btn"],"formBtnLabel":[1,"form-btn-label"],"errorMessage":[1,"error-message"],"fields":[1],"initData":[16],"values":[32],"isSubmitting":[32],"hasError":[32],"errors":[32],"parsedFields":[32],"getData":[64]},null,{"fields":["parseFields"]}],[1,"eds-fullscreen-menu",{"links":[1],"menuLinks":[1,"menu-links"],"homeUrl":[1,"home-url"],"inverseHeader":[4,"inverse-header"],"isMenuOpen":[32]},[[16,"toggleheadermenu","handleToggleMenu"]]],[1,"eds-user",{"user":[1025]}],[1,"eds-header",{"homeUrl":[513,"home-url"],"links":[1],"headerVariant":[513,"header-variant"],"menuEnabled":[4,"menu-enabled"],"isMenuOpen":[32],"isUserMenuOpen":[32],"isAuthenticated":[32]},[[16,"authStatusChanged","onAuthStatusChanged"]]],[1,"eds-steps-v2",{"steps":[1],"type":[1],"imageSrc":[1,"image-src"],"bg":[4],"message":[1],"activeStep":[32]},null,{"activeStep":["activeStepChanged"]}],[1,"eds-breadcrumb",{"items":[1],"intent":[1],"parsedItems":[32],"isSmallScreen":[32],"maxVisibleItems":[32]},null,{"items":["parseItems"]}],[1,"eds-modal",{"heading":[1,"title"],"truncate":[2],"position":[1],"inverseHeader":[4,"inverse-header"],"isOpen":[32],"open":[64],"close":[64],"toggle":[64]},[[0,"eds-modal-open","handleGlobalOpen"],[0,"eds-modal-close","handleGlobalClose"],[8,"keydown","handleKeyDown"]]],[1,"eds-gauge",{"size":[2],"valueMin":[2,"value-min"],"valueMax":[2,"value-max"],"value":[2],"thickness":[2],"variant":[1]}],[1,"eds-pie",{"size":[2],"slices":[1],"thickness":[2],"display":[1],"legend":[4],"colorScheme":[1,"color-scheme"]}],[1,"eds-tabs",{"identifier":[1,"id"],"navAriaLabel":[1,"nav-aria-label"],"tabs":[1],"parsedTabs":[32],"activeIndex":[32]},null,{"tabs":["parseTabs"]}],[1,"eds-tooltip",{"content":[1]},[[1,"mouseenter","handleHover"]]],[0,"token-spacing"],[1,"eds-footer",{"social":[4],"enableScrollTop":[4,"enable-scroll-top"],"fundedBy":[1,"funded-by"],"rightsReserved":[1,"rights-reserved"],"cookiesPreferences":[1,"cookies-preferences"],"enableCookiesSettings":[4,"enable-cookies-settings"],"backToTopAriaLabel":[1,"back-to-top-aria-label"],"showMatomoNotice":[32]}],[1,"eds-dropdown",{"icon":[1],"label":[1],"rounded":[4],"ariaLabel":[1,"aria-label"],"asNav":[4,"as-nav"],"dropdownPos":[1,"dropdown-pos"],"dropdownOffset":[4,"dropdown-offset"],"intent":[1],"isOpen":[32],"focusIndex":[32]},[[8,"click","handleWindowClick"],[8,"keydown","handleKeyDown"]]],[1,"eds-steps",{"steps":[1],"type":[1],"activeStep":[32]},null,{"activeStep":["activeStepChanged"]}],[1,"eds-card-generic",{"cardTitle":[1,"card-title"],"url":[1],"description":[1],"image":[8],"avatar":[1],"shortAbbreviation":[1,"short-abbreviation"],"headingLevel":[1,"heading-level"],"tags":[1],"tiny":[4],"bg":[4],"withHover":[4,"with-hover"],"hierarchy":[4],"parsedImage":[32]},[[0,"parentContext","handleParentContext"]]],[1,"eds-social-networks",{"heading":[1,"title"]}],[1,"eds-block-break",{"inverse":[4]}],[1,"eds-card-desc",{"description":[1],"truncate":[4],"truncateLines":[1,"truncate-lines"]}],[1,"eds-input-field",{"name":[1],"inputId":[1,"input-id"],"placeholder":[1],"disabled":[4],"onChange":[16],"onInput":[16],"type":[1],"required":[4],"label":[1],"hint":[1],"icon":[1],"link":[16],"message":[1],"error":[4],"checked":[4],"errorMessage":[1,"error-message"],"value":[8],"maxLength":[2,"max-length"],"options":[1],"exposeValueEvents":[4,"expose-value-events"]}],[1,"eds-avatar",{"firstName":[1,"first-name"],"lastName":[1,"last-name"],"picture":[1],"initials":[1],"color":[1]}],[1,"eds-card-title",{"url":[1],"titleClass":[1,"title-class"],"headingLevel":[1,"heading-level"],"externalLink":[4,"external-link"],"cardTitle":[1,"card-title"],"hierarchy":[4]}],[0,"eds-input",{"name":[1],"inputId":[1,"input-id"],"placeholder":[1],"disabled":[4],"hasMessage":[4,"has-message"],"error":[4],"checked":[4],"type":[1],"required":[4],"value":[8],"icon":[1],"maxLength":[2,"max-length"],"options":[16],"extraClass":[1,"extra-class"],"innerVal":[32],"maxLengthReached":[32]},null,{"value":["onValueChanged"]}],[0,"eds-input-footer",{"name":[1],"errorMessage":[1,"error-message"],"message":[1],"error":[4],"link":[16]}],[0,"eds-input-search",{"name":[1],"inputId":[1,"input-id"],"placeholder":[1],"value":[1],"disabled":[4],"required":[4],"decorate":[1],"label":[1],"getInputElement":[64]}],[0,"eds-input-select",{"inputId":[1,"input-id"],"name":[1],"placeholder":[1],"disabled":[4],"hasMessage":[4,"has-message"],"error":[4],"required":[4],"options":[16],"value":[8]}],[0,"eds-input-label",{"label":[1],"name":[1],"required":[4],"disabled":[4]}],[0,"eds-input-range",{"name":[1],"inputId":[1,"input-id"],"disabled":[4],"required":[4],"min":[2],"max":[2],"step":[2],"value":[2],"sliderVal":[32],"getInputElement":[64]},null,{"value":["onValueChange"]}],[1,"eds-tag",{"label":[1],"intent":[1],"size":[1]}],[1,"eds-logo",{"href":[1],"orientation":[1],"type":[1],"label":[1]}],[1,"eds-img",{"src":[1],"alt":[1],"width":[2],"height":[2],"srcset":[1],"sizes":[1],"formats":[16],"lazyload":[4],"withBg":[4,"with-bg"],"loaded":[32],"showBg":[32]}],[1,"eds-link",{"label":[1],"intent":[1],"icon":[1],"iconPos":[1,"icon-pos"],"iconSmall":[4,"icon-small"],"size":[1],"external":[4],"current":[4],"download":[4],"url":[1],"ariaLabel":[1,"aria-label"],"disabled":[4],"hideLabelOnSmallScreen":[4,"hide-label-on-small-screen"],"extraClass":[1,"extra-class"]},[[0,"parentContext","handleParentContext"]]],[1,"eds-button",{"label":[1],"ariaLabel":[1,"aria-label"],"elementType":[1,"element-type"],"intent":[1],"loading":[4],"disabled":[4],"pill":[4],"icon":[1],"size":[1],"iconPos":[1,"icon-pos"],"iconSmall":[4,"icon-small"],"extraClass":[1,"extra-class"],"triggerClick":[16]},[[0,"parentContext","handleParentContext"]]],[0,"eds-icon-wrapper",{"icon":[1],"class":[1],"IconComponent":[32]},null,{"icon":["iconChanged"]}]]],["p-223ba66e",[[0,"eds-trl",{"applications":[1]}]]],["p-cde3d7a4",[[1,"logo-space"]]],["p-24dab785",[[1,"svg-repository"]]],["p-019555e2",[[0,"docs-palettes",{"tabIndex":[2,"tab-index"]}]]],["p-e9f608a8",[[0,"components-section",{"tabIndex":[2,"tab-index"]}]]],["p-adbd0d7b",[[1,"eds-card-section",{"cards":[1],"occupyCols":[2,"occupy-cols"]}]]],["p-2c571550",[[1,"eds-timeline",{"events":[1],"selectedEvent":[32],"parsedEvents":[32]},null,{"events":["parseEvents"]}]]],["p-1661f33c",[[0,"docs-tokens",{"tabIndex":[2,"tab-index"]}]]],["p-8ad05566",[[1,"eds-card-tool",{"cardTitle":[1,"card-title"],"url":[1],"description":[1],"image":[8],"avatar":[1],"shortAbbreviation":[1,"short-abbreviation"],"headingLevel":[1,"heading-level"],"tags":[8],"tiny":[4],"bg":[4],"withHover":[4,"with-hover"],"external":[4],"hierarchy":[4]}]]],["p-f2c23162",[[0,"eds-cookies-preference",{"buttonText":[1,"button-text"],"intent":[1],"showMatomoNotice":[32],"noticeKey":[32]}]]],["p-682f7376",[[1,"eds-app-root",{"isAuthenticated":[32]}]]],["p-abb2ad00",[[0,"eds-card-project",{"image":[8],"editorialTitle":[1,"editorial-title"],"headingLevel":[1,"heading-level"],"categoryTitle":[1,"category-title"],"color":[1],"bgOnHover":[4,"bg-on-hover"],"vertical":[4],"titleProject":[1,"title-project"],"url":[1],"parsedImage":[32]}]]],["p-6907a47c",[[1,"eds-feedback",{"headingLevel":[1,"heading-level"],"type":[1],"count":[2],"label":[1],"description":[1],"textMapping":[1,"text-mapping"],"selectedRating":[32]},[[16,"rating","ratingUpdated"]]]]],["p-fc4edb18",[[1,"eds-toast-manager",{"toasts":[32]}]]],["p-0ed92872",[[0,"incorrect-use-of-colors"]]],["p-b4abff90",[[0,"logo-variations-tabs",{"tabIndex":[2,"tab-index"]}]]],["p-10db551c",[[0,"correct-use-of-colors"]]],["p-7f31622d",[[1,"eds-frame",{"frameLabel":[1,"frame-label"],"frameSrc":[1,"frame-src"],"urlLabel":[1,"url-label"],"errorMessage":[1,"error-message"],"url":[1],"intent":[1],"size":[1],"iframeError":[32]}]]],["p-36d6134f",[[0,"token-ratios"]]],["p-46a6ab04",[[0,"token-typography"]]],["p-124b8747",[[1,"eds-card-tags",{"accent":[4],"tags":[16]}]]],["p-46619042",[[0,"eds-icon-arrow-diagonal",{"class":[1]}]]],["p-0d6434e1",[[0,"eds-icon-arrow-right",{"class":[1]}]]],["p-dae8f66a",[[0,"eds-icon-bluesky",{"class":[1]}]]],["p-cdd491f5",[[0,"eds-icon-bookmark",{"class":[1]}]]],["p-5462923d",[[0,"eds-icon-chevron-down",{"class":[1]}]]],["p-8bdf5841",[[0,"eds-icon-chevron-left",{"class":[1]}]]],["p-8ff39cef",[[0,"eds-icon-chevron-right",{"class":[1]}]]],["p-e82edd4a",[[0,"eds-icon-chevron-up",{"class":[1]}]]],["p-26d6679b",[[0,"eds-icon-close",{"class":[1]}]]],["p-85634ad2",[[0,"eds-icon-copy",{"class":[1]}]]],["p-848506b8",[[0,"eds-icon-eu",{"class":[1]}]]],["p-0e94a89f",[[0,"eds-icon-external",{"class":[1]}]]],["p-6e929acb",[[0,"eds-icon-facebook",{"class":[1]}]]],["p-d268c96b",[[0,"eds-icon-gitlab",{"class":[1]}]]],["p-6ba42d02",[[0,"eds-icon-linkedin",{"class":[1]}]]],["p-6199b8c0",[[0,"eds-icon-loader",{"class":[1]}]]],["p-c0b22803",[[0,"eds-icon-mastodon",{"class":[1]}]]],["p-822ac246",[[0,"eds-icon-menu",{"class":[1]}]]],["p-f26fd186",[[0,"eds-icon-minus",{"class":[1]}]]],["p-b7efd666",[[0,"eds-icon-more",{"class":[1]}]]],["p-14a223fe",[[0,"eds-icon-paper",{"class":[1]}]]],["p-d437bae2",[[0,"eds-icon-plus",{"class":[1]}]]],["p-3c642a30",[[0,"eds-icon-portal",{"class":[1]}]]],["p-ba784274",[[0,"eds-icon-private",{"class":[1]}]]],["p-511b23ec",[[0,"eds-icon-public",{"class":[1]}]]],["p-d456e649",[[0,"eds-icon-search",{"class":[1]}]]],["p-6ede7101",[[0,"eds-icon-star",{"class":[1]}]]],["p-04b4e9d0",[[0,"eds-icon-success",{"class":[1]}]]],["p-100909ce",[[0,"eds-icon-thumbs-down",{"class":[1]}]]],["p-e1791844",[[0,"eds-icon-thumbs-up",{"class":[1]}]]],["p-0863352c",[[0,"eds-icon-tutorial",{"class":[1]}]]],["p-624e653e",[[0,"eds-icon-twitter",{"class":[1]}]]],["p-2b1b2026",[[0,"eds-icon-unknown",{"class":[1]}]]],["p-affe2b55",[[0,"eds-icon-updown",{"class":[1]}]]],["p-70bac015",[[0,"eds-icon-user",{"class":[1]}]]],["p-b31591db",[[0,"eds-icon-youtube",{"class":[1]}]]],["p-7af6b832",[[1,"eds-switch",{"checked":[1540],"disabled":[4],"labelOn":[1,"label-on"],"labelOff":[1,"label-off"]}]]],["p-a4f552b2",[[1,"logo-wrong-usage"]]],["p-8b016d76",[[1,"eds-accordion",{"heading":[1,"title"],"description":[1],"switchBg":[4,"switch-bg"],"expanded":[4],"clampText":[4,"clamp-text"],"isExpanded":[32],"panelHeight":[32],"shortContent":[32],"headerHeight":[32]}]]],["p-bb9af709",[[1,"eds-matomo-notice",{"heading":[1,"title"],"description":[1],"optOutMessage":[1,"opt-out-message"],"forceShow":[4,"force-show"],"showNotice":[32]},[[16,"cookies","toggleCookiesConsent"]]]]],["p-0eeddc13",[[1,"eds-rating",{"ratingType":[1,"rating-type"],"ratingCount":[2,"rating-count"],"selectedRating":[32]}]]],["p-50ea5b07",[[1,"eds-spinner",{"size":[1],"thickness":[1],"borderColor":[1,"border-color"],"bottomColor":[1,"bottom-color"],"background":[1],"fullscreen":[4]}]]],["p-cfccddc3",[[1,"eds-splash-screen",{"inverse":[4],"initPromise":[16],"isVisible":[32]},[[8,"hideSplash","handleHideSplash"]],{"initPromise":["watchInitPromise"]}]]],["p-326d9e55",[[1,"eds-toast",{"message":[1],"intent":[1],"duration":[2],"visible":[32]}]]],["p-bfc62d3e",[[1,"eds-progress-bar",{"value":[1026],"rounded":[4],"updateValue":[64]}]]],["p-b50fc0d7",[[1,"logo-variations-horizontal"],[1,"logo-variations-vertical",{"orientation":[1],"type":[1]}]]],["p-a81cba86",[[1,"eds-alert",{"message":[1],"pressableLabel":[1,"pressable-label"],"pressableUrl":[1,"pressable-url"],"direction":[1],"intent":[1],"brd":[1],"withBtn":[32]}]]],["p-ea97a94e",[[1,"eds-code-block",{"code":[1],"language":[1],"copied":[32]}]]],["p-eac593ee",[[0,"token-list",{"show":[1]}],[0,"token-radii"],[0,"token-shadows"]]],["p-84fd3e40",[[1,"eds-section-core",{"tag":[1],"sectionTitle":[1,"section-title"],"headingLevel":[1,"heading-level"]}],[0,"eds-section-heading",{"sectionTitle":[1,"section-title"],"withContainer":[4,"with-container"],"headingLevel":[1,"heading-level"],"tag":[1],"spacingLarge":[4,"spacing-large"]}]]],["p-2810d568",[[0,"gradient-secondary-palette"],[0,"color-primary-palette"],[0,"color-secondary-palette",{"show":[1]}],[0,"color-support-palette"],[0,"gradient-primary-palette"],[0,"gradient-support-palette"]]],["p-18ceadd2",[[1,"eds-table",{"data":[1,"table-data"],"endpoint":[1],"config":[1],"rowsPerPage":[2,"rows-per-page"],"paginationEnabled":[4,"pagination-enabled"],"searchEnabled":[4,"search-enabled"],"hostWidth":[1,"host-width"],"columnSize":[1,"column-size"],"tbData":[32],"columns":[32],"currentPage":[32],"parsedConfig":[32],"totalRows":[32],"searchQuery":[32],"containerWidth":[32]},null,{"data":["handleDataChange","parseData"],"config":["handleConfigChange"]}],[1,"eds-pagination",{"currentPage":[2,"current-page"],"lastPage":[2,"last-page"],"perPage":[2,"per-page"],"total":[2],"url":[1],"mode":[1],"prevLabel":[1,"prev-label"],"nextLabel":[1,"next-label"],"prevUrl":[1,"prev-url"],"nextUrl":[1,"next-url"],"links":[32]},null,{"currentPage":["onPageOrLastPageChange"],"lastPage":["onPageOrLastPageChange"]}]]]]'),e))));
|
|
1
|
+
import{p as e,b as a}from"./p-28ae3f3a.js";export{s as setNonce}from"./p-28ae3f3a.js";import{g as t}from"./p-e1255160.js";(()=>{const a=import.meta.url,s={};return""!==a&&(s.resourcesUrl=new URL(".",a).href),e(s)})().then((async e=>(await t(),a(JSON.parse('[["p-e6a0b8c2",[[1,"eds-form",{"name":[1],"setFormUrl":[4,"set-form-url"],"formBtn":[4,"form-btn"],"formBtnLabel":[1,"form-btn-label"],"errorMessage":[1,"error-message"],"fields":[1],"initData":[16],"values":[32],"isSubmitting":[32],"hasError":[32],"errors":[32],"parsedFields":[32],"setData":[64],"getData":[64]},null,{"fields":["parseFields"]}],[1,"eds-fullscreen-menu",{"links":[1],"menuLinks":[1,"menu-links"],"homeUrl":[1,"home-url"],"inverseHeader":[4,"inverse-header"],"isMenuOpen":[32]},[[16,"toggleheadermenu","handleToggleMenu"]]],[1,"eds-user",{"user":[1025]}],[1,"eds-header",{"homeUrl":[513,"home-url"],"links":[1],"headerVariant":[513,"header-variant"],"menuEnabled":[4,"menu-enabled"],"isMenuOpen":[32],"isUserMenuOpen":[32],"isAuthenticated":[32]},[[16,"authStatusChanged","onAuthStatusChanged"]]],[1,"eds-steps-v2",{"steps":[1],"type":[1],"imageSrc":[1,"image-src"],"imageWidth":[2,"image-width"],"bg":[4],"message":[1],"activeStep":[32]},null,{"activeStep":["activeStepChanged"]}],[1,"eds-modal",{"heading":[1,"title"],"truncate":[2],"position":[1],"inverseHeader":[4,"inverse-header"],"isOpen":[32],"open":[64],"close":[64],"toggle":[64]},[[0,"eds-modal-open","handleGlobalOpen"],[0,"eds-modal-close","handleGlobalClose"],[8,"keydown","handleKeyDown"]]],[1,"eds-tabs",{"identifier":[1,"id"],"navAriaLabel":[1,"nav-aria-label"],"tabs":[1],"parsedTabs":[32],"activeIndex":[32]},null,{"tabs":["parseTabs"]}],[1,"eds-footer",{"social":[4],"enableScrollTop":[4,"enable-scroll-top"],"fundedBy":[1,"funded-by"],"rightsReserved":[1,"rights-reserved"],"cookiesPreferences":[1,"cookies-preferences"],"enableCookiesSettings":[4,"enable-cookies-settings"],"backToTopAriaLabel":[1,"back-to-top-aria-label"],"showMatomoNotice":[32]}],[1,"eds-dropdown",{"icon":[1],"label":[1],"rounded":[4],"ariaLabel":[1,"aria-label"],"asNav":[4,"as-nav"],"dropdownPos":[1,"dropdown-pos"],"dropdownOffset":[4,"dropdown-offset"],"intent":[1],"isOpen":[32],"focusIndex":[32]},[[8,"click","handleWindowClick"],[8,"keydown","handleKeyDown"]]],[1,"eds-steps",{"steps":[1],"type":[1],"activeStep":[32]},null,{"activeStep":["activeStepChanged"]}],[1,"eds-social-networks",{"heading":[1,"title"]}],[1,"eds-table",{"data":[1,"table-data"],"endpoint":[1],"config":[1],"rowsPerPage":[2,"rows-per-page"],"paginationEnabled":[4,"pagination-enabled"],"searchEnabled":[4,"search-enabled"],"hostWidth":[1,"host-width"],"columnSize":[1,"column-size"],"actions":[1],"actionTemplate":[16],"parsedActions":[32],"dataColumns":[32],"tbData":[32],"columns":[32],"currentPage":[32],"parsedConfig":[32],"totalRows":[32],"searchQuery":[32],"containerWidth":[32]},null,{"data":["handleDataChange","parseData"],"config":["handleConfigChange"],"actions":["handleActionsChange"]}],[1,"eds-pagination",{"currentPage":[2,"current-page"],"lastPage":[2,"last-page"],"perPage":[2,"per-page"],"total":[2],"url":[1],"mode":[1],"prevLabel":[1,"prev-label"],"nextLabel":[1,"next-label"],"prevUrl":[1,"prev-url"],"nextUrl":[1,"next-url"],"links":[32]},null,{"currentPage":["onPageOrLastPageChange"],"lastPage":["onPageOrLastPageChange"]}],[1,"eds-block-break",{"inverse":[4]}],[1,"eds-input-field",{"name":[1],"inputId":[1,"input-id"],"placeholder":[1],"disabled":[4],"onChange":[16],"onInput":[16],"type":[1],"required":[4],"label":[1],"hint":[1],"icon":[1],"link":[16],"message":[1],"error":[4],"checked":[4],"errorMessage":[1,"error-message"],"value":[8],"maxLength":[2,"max-length"],"options":[1],"exposeValueEvents":[4,"expose-value-events"]}],[1,"eds-avatar",{"firstName":[1,"first-name"],"lastName":[1,"last-name"],"picture":[1],"initials":[1],"color":[1]}],[0,"eds-input",{"name":[1],"inputId":[1,"input-id"],"placeholder":[1],"disabled":[4],"hasMessage":[4,"has-message"],"error":[4],"checked":[4],"type":[1],"required":[4],"value":[8],"icon":[1],"maxLength":[2,"max-length"],"options":[16],"extraClass":[1,"extra-class"],"innerVal":[32],"maxLengthReached":[32]},null,{"value":["onValueChanged"]}],[0,"eds-input-footer",{"name":[1],"errorMessage":[1,"error-message"],"message":[1],"error":[4],"link":[16]}],[0,"eds-input-search",{"name":[1],"inputId":[1,"input-id"],"placeholder":[1],"value":[1],"disabled":[4],"required":[4],"decorate":[1],"label":[1],"getInputElement":[64]}],[0,"eds-input-select",{"inputId":[1,"input-id"],"name":[1],"placeholder":[1],"disabled":[4],"hasMessage":[4,"has-message"],"error":[4],"required":[4],"options":[16],"value":[8]}],[0,"eds-input-label",{"label":[1],"name":[1],"required":[4],"disabled":[4]}],[0,"eds-input-range",{"name":[1],"inputId":[1,"input-id"],"disabled":[4],"required":[4],"min":[2],"max":[2],"step":[2],"value":[2],"sliderVal":[32],"getInputElement":[64]},null,{"value":["onValueChange"]}],[1,"eds-tag",{"label":[1],"intent":[1],"size":[1]}],[1,"eds-logo",{"href":[1],"orientation":[1],"type":[1],"label":[1]}],[1,"eds-img",{"src":[1],"alt":[1],"width":[2],"height":[2],"srcset":[1],"sizes":[1],"formats":[16],"lazyload":[4],"withBg":[4,"with-bg"],"loaded":[32],"showBg":[32]}],[1,"eds-link",{"label":[1],"intent":[1],"icon":[1],"iconPos":[1,"icon-pos"],"iconSmall":[4,"icon-small"],"size":[1],"external":[4],"current":[4],"download":[4],"url":[1],"ariaLabel":[1,"aria-label"],"disabled":[4],"hideLabelOnSmallScreen":[4,"hide-label-on-small-screen"],"extraClass":[1,"extra-class"]},[[0,"parentContext","handleParentContext"]]],[1,"eds-button",{"label":[1],"ariaLabel":[1,"aria-label"],"elementType":[1,"element-type"],"intent":[1],"loading":[4],"disabled":[4],"pill":[4],"icon":[1],"size":[1],"iconPos":[1,"icon-pos"],"iconSmall":[4,"icon-small"],"extraClass":[1,"extra-class"],"triggerClick":[16]},[[0,"parentContext","handleParentContext"]]],[0,"eds-icon-wrapper",{"icon":[1],"class":[1],"IconComponent":[32]},null,{"icon":["iconChanged"]}]]],["p-223ba66e",[[0,"eds-trl",{"applications":[1]}]]],["p-cde3d7a4",[[1,"logo-space"]]],["p-24dab785",[[1,"svg-repository"]]],["p-019555e2",[[0,"docs-palettes",{"tabIndex":[2,"tab-index"]}]]],["p-df772a35",[[0,"components-section",{"tabIndex":[2,"tab-index"]}]]],["p-adbd0d7b",[[1,"eds-card-section",{"cards":[1],"occupyCols":[2,"occupy-cols"]}]]],["p-2c571550",[[1,"eds-timeline",{"events":[1],"selectedEvent":[32],"parsedEvents":[32]},null,{"events":["parseEvents"]}]]],["p-1661f33c",[[0,"docs-tokens",{"tabIndex":[2,"tab-index"]}]]],["p-1f5c19b9",[[1,"eds-card-tool",{"cardTitle":[1,"card-title"],"url":[1],"description":[1],"image":[8],"avatar":[1],"shortAbbreviation":[1,"short-abbreviation"],"headingLevel":[1,"heading-level"],"tags":[8],"tiny":[4],"bg":[4],"withHover":[4,"with-hover"],"external":[4],"hierarchy":[4]}]]],["p-f2c23162",[[0,"eds-cookies-preference",{"buttonText":[1,"button-text"],"intent":[1],"showMatomoNotice":[32],"noticeKey":[32]}]]],["p-682f7376",[[1,"eds-app-root",{"isAuthenticated":[32]}]]],["p-f189be4f",[[0,"eds-card-project",{"image":[8],"editorialTitle":[1,"editorial-title"],"headingLevel":[1,"heading-level"],"categoryTitle":[1,"category-title"],"color":[1],"bgOnHover":[4,"bg-on-hover"],"vertical":[4],"titleProject":[1,"title-project"],"url":[1],"parsedImage":[32]}]]],["p-6907a47c",[[1,"eds-feedback",{"headingLevel":[1,"heading-level"],"type":[1],"count":[2],"label":[1],"description":[1],"textMapping":[1,"text-mapping"],"selectedRating":[32]},[[16,"rating","ratingUpdated"]]]]],["p-fc4edb18",[[1,"eds-toast-manager",{"toasts":[32]}]]],["p-0ed92872",[[0,"incorrect-use-of-colors"]]],["p-b4abff90",[[0,"logo-variations-tabs",{"tabIndex":[2,"tab-index"]}]]],["p-10db551c",[[0,"correct-use-of-colors"]]],["p-b630e51a",[[1,"eds-breadcrumb",{"items":[1],"intent":[1],"parsedItems":[32],"isSmallScreen":[32],"maxVisibleItems":[32]},null,{"items":["parseItems"]}]]],["p-7f31622d",[[1,"eds-frame",{"frameLabel":[1,"frame-label"],"frameSrc":[1,"frame-src"],"urlLabel":[1,"url-label"],"errorMessage":[1,"error-message"],"url":[1],"intent":[1],"size":[1],"iframeError":[32]}]]],["p-36d6134f",[[0,"token-ratios"]]],["p-46a6ab04",[[0,"token-typography"]]],["p-11efb1d1",[[1,"eds-card-tags",{"accent":[4],"tags":[16]}]]],["p-b073d78f",[[1,"eds-gauge",{"size":[2],"valueMin":[2,"value-min"],"valueMax":[2,"value-max"],"value":[2],"thickness":[2],"variant":[1]}]]],["p-19d586e6",[[0,"eds-icon-arrow-diagonal",{"class":[1]}]]],["p-d4f239d7",[[0,"eds-icon-arrow-right",{"class":[1]}]]],["p-f221eca2",[[0,"eds-icon-bluesky",{"class":[1]}]]],["p-6f9ab63c",[[0,"eds-icon-bookmark",{"class":[1]}]]],["p-c91b4eec",[[0,"eds-icon-chevron-down",{"class":[1]}]]],["p-023bc47c",[[0,"eds-icon-chevron-left",{"class":[1]}]]],["p-f2416727",[[0,"eds-icon-chevron-right",{"class":[1]}]]],["p-50f43dfd",[[0,"eds-icon-chevron-up",{"class":[1]}]]],["p-9a4b5746",[[0,"eds-icon-close",{"class":[1]}]]],["p-750e3ec8",[[0,"eds-icon-copy",{"class":[1]}]]],["p-e8f0d7fc",[[0,"eds-icon-eu",{"class":[1]}]]],["p-177103fd",[[0,"eds-icon-external",{"class":[1]}]]],["p-42295abe",[[0,"eds-icon-facebook",{"class":[1]}]]],["p-424e91b3",[[0,"eds-icon-gitlab",{"class":[1]}]]],["p-563d56c0",[[0,"eds-icon-linkedin",{"class":[1]}]]],["p-95518776",[[0,"eds-icon-loader",{"class":[1]}]]],["p-9d64d1fd",[[0,"eds-icon-mastodon",{"class":[1]}]]],["p-ab4447f6",[[0,"eds-icon-menu",{"class":[1]}]]],["p-fd85675b",[[0,"eds-icon-minus",{"class":[1]}]]],["p-99d9bb29",[[0,"eds-icon-more",{"class":[1]}]]],["p-1de8401b",[[0,"eds-icon-paper",{"class":[1]}]]],["p-4dcdd4d9",[[0,"eds-icon-plus",{"class":[1]}]]],["p-e5113509",[[0,"eds-icon-portal",{"class":[1]}]]],["p-7502b8b4",[[0,"eds-icon-private",{"class":[1]}]]],["p-43cff423",[[0,"eds-icon-public",{"class":[1]}]]],["p-321a950b",[[0,"eds-icon-search",{"class":[1]}]]],["p-38c9aee7",[[0,"eds-icon-star",{"class":[1]}]]],["p-ffccfeb6",[[0,"eds-icon-success",{"class":[1]}]]],["p-9c823b5e",[[0,"eds-icon-thumbs-down",{"class":[1]}]]],["p-45f21238",[[0,"eds-icon-thumbs-up",{"class":[1]}]]],["p-4fad9296",[[0,"eds-icon-tutorial",{"class":[1]}]]],["p-5827fd52",[[0,"eds-icon-twitter",{"class":[1]}]]],["p-4bdf1589",[[0,"eds-icon-unknown",{"class":[1]}]]],["p-158c95bc",[[0,"eds-icon-updown",{"class":[1]}]]],["p-d3bb444a",[[0,"eds-icon-user",{"class":[1]}]]],["p-5c5dfc4a",[[0,"eds-icon-youtube",{"class":[1]}]]],["p-8c0b0121",[[1,"eds-pie",{"size":[2],"slices":[1],"thickness":[2],"display":[1],"legend":[4],"colorScheme":[1,"color-scheme"]}]]],["p-590fb0e7",[[1,"eds-switch",{"checked":[1540],"disabled":[4],"labelOn":[1,"label-on"],"labelOff":[1,"label-off"]}]]],["p-6dc6f729",[[1,"eds-tooltip",{"content":[1]},[[1,"mouseenter","handleHover"]]]]],["p-a4f552b2",[[1,"logo-wrong-usage"]]],["p-d25364db",[[0,"token-spacing"]]],["p-b5e64725",[[1,"eds-accordion",{"heading":[1,"title"],"description":[1],"switchBg":[4,"switch-bg"],"expanded":[4],"clampText":[4,"clamp-text"],"isExpanded":[32],"panelHeight":[32],"shortContent":[32],"headerHeight":[32]}]]],["p-bb9af709",[[1,"eds-matomo-notice",{"heading":[1,"title"],"description":[1],"optOutMessage":[1,"opt-out-message"],"forceShow":[4,"force-show"],"showNotice":[32]},[[16,"cookies","toggleCookiesConsent"]]]]],["p-d05a09df",[[1,"eds-rating",{"ratingType":[1,"rating-type"],"ratingCount":[2,"rating-count"],"selectedRating":[32]}]]],["p-f7716080",[[1,"eds-spinner",{"size":[1],"thickness":[1],"borderColor":[1,"border-color"],"bottomColor":[1,"bottom-color"],"background":[1],"fullscreen":[4]}]]],["p-cfccddc3",[[1,"eds-splash-screen",{"inverse":[4],"initPromise":[16],"isVisible":[32]},[[8,"hideSplash","handleHideSplash"]],{"initPromise":["watchInitPromise"]}]]],["p-326d9e55",[[1,"eds-toast",{"message":[1],"intent":[1],"duration":[2],"visible":[32]}]]],["p-17d39d66",[[1,"eds-progress-bar",{"value":[1026],"rounded":[4],"updateValue":[64]}]]],["p-14679a86",[[1,"eds-card-generic",{"cardTitle":[1,"card-title"],"url":[1],"description":[1],"image":[8],"avatar":[1],"shortAbbreviation":[1,"short-abbreviation"],"headingLevel":[1,"heading-level"],"tags":[1],"tiny":[4],"bg":[4],"withHover":[4,"with-hover"],"hierarchy":[4],"parsedImage":[32]},[[0,"parentContext","handleParentContext"]]]]],["p-b50fc0d7",[[1,"logo-variations-horizontal"],[1,"logo-variations-vertical",{"orientation":[1],"type":[1]}]]],["p-deb9bbed",[[1,"eds-alert",{"message":[1],"pressableLabel":[1,"pressable-label"],"pressableUrl":[1,"pressable-url"],"direction":[1],"intent":[1],"brd":[1],"withBtn":[32]}]]],["p-eac593ee",[[0,"token-list",{"show":[1]}],[0,"token-radii"],[0,"token-shadows"]]],["p-d0b1e963",[[1,"eds-section-core",{"tag":[1],"sectionTitle":[1,"section-title"],"headingLevel":[1,"heading-level"]}],[0,"eds-section-heading",{"sectionTitle":[1,"section-title"],"withContainer":[4,"with-container"],"headingLevel":[1,"heading-level"],"tag":[1],"spacingLarge":[4,"spacing-large"]}]]],["p-fe167c78",[[1,"eds-code-block",{"code":[1],"language":[1],"copied":[32]}]]],["p-2810d568",[[0,"gradient-secondary-palette"],[0,"color-primary-palette"],[0,"color-secondary-palette",{"show":[1]}],[0,"color-support-palette"],[0,"gradient-primary-palette"],[0,"gradient-support-palette"]]],["p-66f4cdd9",[[1,"eds-card-desc",{"description":[1],"truncate":[4],"truncateLines":[1,"truncate-lines"]}],[1,"eds-card-title",{"url":[1],"titleClass":[1,"title-class"],"headingLevel":[1,"heading-level"],"externalLink":[4,"external-link"],"cardTitle":[1,"card-title"],"hierarchy":[4]}]]]]'),e))));
|
|
@@ -74,10 +74,10 @@ const EdsAccordion = /*@__PURE__*/ proxyCustomElement(class EdsAccordion extends
|
|
|
74
74
|
* Adjusts styles based on `switchBg`, `tiny`, `clampText`, and other props.
|
|
75
75
|
*/
|
|
76
76
|
render() {
|
|
77
|
-
return (h("div", { key: '
|
|
77
|
+
return (h("div", { key: 'addeb5f79d497efcd3eab9f849890adf48a5e275', ref: (el) => (this.wrapperRef = el), class: `flex effect-color border-softer relative grid overflow-hidden rounded-lg border-2 p-16
|
|
78
78
|
${this.switchBg && this.isExpanded ? 'bg-inverse' : 'bg-default'}
|
|
79
79
|
${this.switchBg ? 'hover:bg-inverse' : ''}
|
|
80
|
-
${this.description ? 'min-h-56' : ''}` }, h("h3", { key: '
|
|
80
|
+
${this.description ? 'min-h-56' : ''}` }, h("h3", { key: 'c522c074c205e471f9e95991a03f703bec8d3219', ref: (el) => (this.headerRef = el), class: "mr-auto f-heading-06 text-left absolute inset-x-16 break-words top-16 pr-40" }, this.heading), h("div", { key: '5ee474856bf9a3cdc732c27c6fccb68c24e0dc3b', class: "ml-auto" }, h("eds-button", { key: 'a274b1d82f30607f61103433aa6ceb745464f530', id: "toggleAccordion", intent: "tertiary", "aria-expanded": this.isExpanded || this.shortContent, "aria-label": "Toggle accordion", "aria-controls": "accordionSection", class: `effect-color flex w-full items-center justify-between rounded-md outline-none focus:outline-none`, onClick: this.handleClick, icon: "chevron-down" })), h("div", { key: '69a638f2dc3c5ebff95fc4049c47abd4884b13ad', class: `w-full`, style: Number.isFinite(this.headerHeight) ? { marginTop: `${this.headerHeight}px` } : {} }, this.description ? (h("span", { class: `text-light ${!this.isExpanded && this.clampText ? 'line-clamp-1' : ''}` }, this.description)) : null, h("section", { key: '820f39174c6e6d42e7c4407a2a4175fb077f86ac', id: "accordionSection", role: "region", "aria-labelledby": "accordionHeader", "aria-hidden": !this.isExpanded, class: `z-1 effect-height relative h-0 w-full ${!this.isExpanded && this.clampText ? 'overflow-hidden' : ''}`, style: { height: this.isExpanded ? 'auto' : '0' } }, h("div", { key: '3d9ea33856d350434d26c07ddc9d230e28d8c344', ref: (el) => (this.childContentRef = el), class: `accordion-content effect-color pt-4`, "aria-hidden": !this.isExpanded }, h("span", { key: '1d0761d7894d5ba4d7c7f5051031857555ce0b0c', class: `${!this.isExpanded && this.clampText ? 'line-clamp-2' : ''}` }, h("slot", { key: 'ed31f44736a8ce85a7df4216b2f90c2ca7d9b873' })))))));
|
|
81
81
|
}
|
|
82
82
|
get el() { return this; }
|
|
83
83
|
static get style() { return EdsAccordionStyle0; }
|
|
@@ -89,12 +89,12 @@ const EdsAlert = /*@__PURE__*/ proxyCustomElement(class EdsAlert extends HTMLEle
|
|
|
89
89
|
linkElement.dispatchEvent(event);
|
|
90
90
|
}
|
|
91
91
|
render() {
|
|
92
|
-
return (h("div", { key: '
|
|
92
|
+
return (h("div", { key: '5252aca583e87d8c3249c501e55368e340ef0d64', class: alertStyles({
|
|
93
93
|
intent: this.intent,
|
|
94
94
|
brd: this.brd,
|
|
95
95
|
direction: this.direction,
|
|
96
96
|
withBtn: this.withBtn
|
|
97
|
-
}), role: "alert" }, h("p", { key: '
|
|
97
|
+
}), role: "alert" }, h("p", { key: 'bb23c94e802ec5e287a2b8619277e83de173b498', class: "f-ui-01 py-8", innerHTML: this.message }), this.withBtn &&
|
|
98
98
|
(this.pressableUrl ? (h("eds-link", { class: "eds-alert-link", label: this.pressableLabel, url: this.pressableUrl, intent: "secondary", external: true })) : null)));
|
|
99
99
|
}
|
|
100
100
|
get el() { return this; }
|
|
@@ -60,7 +60,7 @@ const EdsAvatar = /*@__PURE__*/ proxyCustomElement(class EdsAvatar extends HTMLE
|
|
|
60
60
|
* @returns {JSX.Element} The rendered avatar component.
|
|
61
61
|
*/
|
|
62
62
|
render() {
|
|
63
|
-
return (h("div", { key: '
|
|
63
|
+
return (h("div", { key: 'b7eff7ae1a1dea3509041e39316b49b673dbdf17', class: this.containerClasses }, this.picture ? (h("eds-img", { src: this.picture, width: 54, height: 54, sizes: "120px", alt: `${this.firstName} ${this.lastName}`, lazyload: true, withBg: true })) : (h("abbr", { title: this.computedInitials || `${this.firstName} ${this.lastName}`, class: "!no-underline f-ui-01" }, this.computedInitials))));
|
|
64
64
|
}
|
|
65
65
|
static get style() { return EdsAvatarStyle0; }
|
|
66
66
|
}, [1, "eds-avatar", {
|
|
@@ -11,7 +11,7 @@ const EdsBlockBreak = /*@__PURE__*/ proxyCustomElement(class EdsBlockBreak exten
|
|
|
11
11
|
this.inverse = false;
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return h("hr", { key: '
|
|
14
|
+
return h("hr", { key: 'b604a776cae7edeee189e00af6993b42b57203f0', class: `${this.inverse ? 'border-default' : 'border-softer'} my-16 inline-block w-full border-t-2` });
|
|
15
15
|
}
|
|
16
16
|
static get style() { return EdsBlockBreakStyle0; }
|
|
17
17
|
}, [1, "eds-block-break", {
|
|
@@ -120,7 +120,7 @@ const EdsBreadcrumb$1 = /*@__PURE__*/ proxyCustomElement(class EdsBreadcrumb ext
|
|
|
120
120
|
*/
|
|
121
121
|
render() {
|
|
122
122
|
const itemsToRender = this.getTruncatedItems();
|
|
123
|
-
return (h("nav", { key: '
|
|
123
|
+
return (h("nav", { key: 'db769320b42e627fffd71676c1e0551646f1de70', "aria-label": "Breadcrumb" }, h("ol", { key: '6cef8ed43cabcee73cb4ad4fb26f809d0690c0ec', class: "flex items-center space-x-2" }, itemsToRender.map((item, index) => {
|
|
124
124
|
const isLast = index === itemsToRender.length - 1;
|
|
125
125
|
return (h("li", { class: "flex items-center" }, !item.isHidden ? ((() => {
|
|
126
126
|
const { fullLabel } = this.getLabels(item, isLast);
|
|
@@ -163,7 +163,7 @@ const EdsButton = /*@__PURE__*/ proxyCustomElement(class EdsButton extends HTMLE
|
|
|
163
163
|
iconSmall: this.iconSmall
|
|
164
164
|
});
|
|
165
165
|
const ElementType = this.elementType;
|
|
166
|
-
return (h(ElementType, { key: '
|
|
166
|
+
return (h(ElementType, { key: 'ecdd901c70578c07ef094aadbcd287588d4ba705', "aria-label": this.label || this.ariaLabel || undefined, "aria-disabled": this.elementType === 'button' ? this.disabled : undefined, disabled: this.elementType === 'button' ? this.disabled : undefined, class: `${classes || ''} ${this.extraClass || ''}`, onClick: (event) => this.handleClick(event) }, this.label && h("span", { key: 'af8d0ca1c5c3e54f9db3066931a69d3a5a812666', class: this.loading ? 'opacity-0' : '' }, this.label), this.loading && (h("span", { key: '29b72c15e80f46e023f829568f58d8a8dca82b78', class: "absolute inset-0 flex items-center justify-center" }, h("span", { key: 'bad8bd059b1312ca3f5ab173b1203eb395e9bbd8', class: "loader", style: {
|
|
167
167
|
border: `3px solid ${this.intent === 'secondary' ? 'rgba(255, 255, 255, .3)' : 'rgba(0, 0, 0, .3)'}`,
|
|
168
168
|
borderBottomColor: this.intent === 'secondary' ? '#fff' : '#000'
|
|
169
169
|
} }))), this.icon ? (h("eds-icon-wrapper", { class: `
|
|
@@ -16,7 +16,7 @@ const EdsCardDesc = /*@__PURE__*/ proxyCustomElement(class EdsCardDesc extends H
|
|
|
16
16
|
return this.truncate && this.truncateLines ? `line-clamp-${this.truncateLines}` : '';
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h("p", { key: '
|
|
19
|
+
return (h("p", { key: '2421ea469339e3d56fc5c0ebbec213eeb1a2a9cf', class: "text-light f-ui-03-light" }, h("span", { key: 'd024adda16a85bf2913803c06eb05af3b4af6bb9', class: this.getTruncateClass() }, this.description)));
|
|
20
20
|
}
|
|
21
21
|
static get style() { return EdsCardDescStyle0; }
|
|
22
22
|
}, [1, "eds-card-desc", {
|
|
@@ -188,7 +188,7 @@ const EdsCardProject$1 = /*@__PURE__*/ proxyCustomElement(class EdsCardProject e
|
|
|
188
188
|
this.vertical ? 'flex-col gap-y-16' : 'flex-col gap-x-16 gap-y-12 lg:flex-row'
|
|
189
189
|
].join(' ');
|
|
190
190
|
const imageClasses = this.vertical ? '' : 'max-w-120 @md:max-w-192 order-first w-full lg:order-last';
|
|
191
|
-
return (h("article", { key: '
|
|
191
|
+
return (h("article", { key: '8b4707ad7689824c50db3112b5844e28beb31533', class: cardClasses, onClick: (event) => this.handleClick(event) }, h("div", { key: '5cb7673378ab23826202b34034247145b7289bda', class: `flex grow flex-col ${this.vertical ? 'min-h-156' : ''}` }, h("div", { key: '8111b523840c8b363bbb422c1f314ce07057ea92', class: "lg:max-w-[720px]" }, h("eds-card-title", { key: 'a326e1384873edb9bfc86c33e3abeb95064cc8db', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.titleProject, url: this.url }), this.editorialTitle && (h("span", { key: '5e2de62642363533a950f3e923e3f4dfc64c56c1', class: `block ${this.vertical ? 'f-ui-02' : 'mt-4 f-heading-06'}` }, this.editorialTitle))), this.categoryTitle && (h("div", { key: '424fed86ec4e714dc5f3644d85e5670d8be56d7f', class: "mt-auto flex items-center gap-x-12 pt-12" }, ((_a = this.categoryTitle) === null || _a === void 0 ? void 0 : _a.length) && h("eds-tag", { key: 'b6961cc23835a9b3d1abae47e1c4224a29255164', label: this.categoryTitle })))), this.parsedImage && (h("div", { key: '69564e0c65f6422a6ccc3957a8080e7e494461bb', class: imageClasses }, h("div", { key: 'e47a21a5356459936b6f528a3aba50240851fcf2', class: "aspect-1x1 w-full" }, h("eds-img", Object.assign({ key: 'f64af6387cdef28619aa8a0465d4a50ec3a95007', sizes: this.vertical ? this.parsedImage.sizes || '' : '192px' }, this.parsedImage)))))));
|
|
192
192
|
}
|
|
193
193
|
get el() { return this; }
|
|
194
194
|
}, [0, "eds-card-project", {
|
|
@@ -13,7 +13,7 @@ const EdsCardTags$1 = /*@__PURE__*/ proxyCustomElement(class EdsCardTags extends
|
|
|
13
13
|
this.tags = [];
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h("div", { key: '
|
|
16
|
+
return (h("div", { key: '5da9fcbc472476a7b438451e563586643a818bc0', class: "flex flex-wrap gap-y-4" }, this.tags.map((tag, index) => (h("eds-tag", { key: index, intent: this.accent ? 'accent' : 'default', label: tag })))));
|
|
17
17
|
}
|
|
18
18
|
static get style() { return EdsCardTagsStyle0; }
|
|
19
19
|
}, [1, "eds-card-tags", {
|
|
@@ -47,7 +47,7 @@ const EdsCardTitle = /*@__PURE__*/ proxyCustomElement(class EdsCardTitle extends
|
|
|
47
47
|
render() {
|
|
48
48
|
//const Tag = this.getTag();
|
|
49
49
|
const Heading = this.headingLevel;
|
|
50
|
-
return (h(Heading, { key: '
|
|
50
|
+
return (h(Heading, { key: '494d8b7ea90ccb93cf0395374951e90c89a59d3a', class: this.getTitleClass() }, h("a", { key: 'ab739472fd796767cd6e7ab4f4c09bcf24ec200a', class: "break-words after:absolute after:inset-0 after:z-10 after:content-[''] focus:outline-none", href: this.url, target: this.externalLink ? '_blank' : undefined, rel: this.externalLink ? 'noopener noreferrer' : undefined }, this.cardTitle)));
|
|
51
51
|
}
|
|
52
52
|
static get style() { return EdsCardTitleStyle0; }
|
|
53
53
|
}, [1, "eds-card-title", {
|
|
@@ -73,7 +73,7 @@ const EdsCardTool$1 = /*@__PURE__*/ proxyCustomElement(class EdsCardTool extends
|
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
75
|
render() {
|
|
76
|
-
return (h("article", { key: '
|
|
76
|
+
return (h("article", { key: '465a4593a4d28c5bfcef7325be7674b6301bc275', class: `${this.el.tagName.toLowerCase()} ${this.articleClasses()}`, onClick: () => this.handleClick() }, h("eds-card-title", { key: '5d6c13f582bd89f03d95aa9027b83d8d4c4184ca', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, "external-link": this.external, hierarchy: this.hierarchy }), this.description && (h("eds-card-desc", { key: '4872956b7d97e222abd8e429c73a7e97fe1f7a06', class: "mt-8", "truncate-lines": "3", description: this.description })), this.image ? (h("eds-img", { src: this.image, alt: "Sample Image", width: 200, height: 150 })) : this.avatar || this.shortAbbreviation ? (h("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, h("div", { key: '10c20ab24e836c06ba2da070cbcf21cf11537e17', class: "flex flex-wrap gap-y-4" }, this.parsedTags.map((tag, index) => (h("eds-tag", { key: index, intent: tag.style, label: tag.label }))))));
|
|
77
77
|
}
|
|
78
78
|
get el() { return this; }
|
|
79
79
|
static get style() { return EdsCardToolStyle0; }
|
|
@@ -2479,7 +2479,7 @@ const EdsCodeBlock = /*@__PURE__*/ proxyCustomElement(class EdsCodeBlock extends
|
|
|
2479
2479
|
return this.code; // Fallback if language is not provided or unsupported
|
|
2480
2480
|
}
|
|
2481
2481
|
render() {
|
|
2482
|
-
return (h("div", { key: '
|
|
2482
|
+
return (h("div", { key: '7550f1c5e29a9be39614404d51dfec9a7aa194a9', class: "relative bg-stronger rounded-sm" }, h("div", { key: '8e654051ec6105e051af723e056b4151afc4305c', class: "text-inverse flex justify-between items-center p-8" }, this.language ? (h("span", { class: "f-ui-03" }, this.language.toUpperCase())) : (h("pre", { class: "bg-stronger pl-8", role: "region", "aria-label": "Code block without language" }, h("code", { innerHTML: this.getHighlightedCode() }))), h("span", { key: '1f558301727adb451524850b352844d7658f33a8', "aria-hidden": "true", class: "w-20 h-20 mt-8" }, h("eds-icon-wrapper", { key: '7def1f38f949c32d6138d88a0a7edf9655852491', icon: this.copied ? 'success' : 'copy', onClick: () => this.copyToClipboard() })), h("span", { key: '9eabcd54f3bcdc1c4627a7ca7e22fd38e9755ca6', class: "sr-only" }, "Copy Code")), this.language && (h("pre", { key: 'd15dce4b1692bf1956e1b3cb3586dde4d9561f1b', class: `language-${this.language} bg-stronger pl-8 pb-8`, role: "region", "aria-label": `Code block in ${this.language}` }, h("code", { key: 'ad7eb7b40aaab69b6bc929c632ce4736fe3c39a5', innerHTML: this.getHighlightedCode() })))));
|
|
2483
2483
|
}
|
|
2484
2484
|
get el() { return this; }
|
|
2485
2485
|
static get style() { return EdsCodeBlockStyle0; }
|
|
@@ -110,14 +110,14 @@ const EdsDropdown = /*@__PURE__*/ proxyCustomElement(class EdsDropdown extends H
|
|
|
110
110
|
* @returns {JSX.Element} The rendered dropdown component.
|
|
111
111
|
*/
|
|
112
112
|
render() {
|
|
113
|
-
return (h("div", { key: '
|
|
113
|
+
return (h("div", { key: 'eb48745937126e580737c1da6787c3f16c06ba9e', class: "z-focus relative", ref: (el) => (this.dropdownContent = el) }, h("eds-button", { key: '3af6863201b1c25ad66e9f8c52d9e13505d742a3', label: this.label, "aria-label": this.ariaLabel, icon: this.icon, intent: this.intent, onClick: this.handleClick, "aria-expanded": this.isOpen.toString(), "aria-haspopup": "menu" }), h("nav", { key: 'c225074b3fbee543966523f8cd1c146485bc04bd', role: "menu", class: {
|
|
114
114
|
'shadow-small bg-inverse border-softest z-10 z-on-top absolute top-full mt-4 flex flex-col gap-y-4 border-2 p-8': true,
|
|
115
115
|
'left-4': this.dropdownPos === 'left' && this.dropdownOffset,
|
|
116
116
|
'left-0': this.dropdownPos === 'left' && !this.dropdownOffset,
|
|
117
117
|
'right-4': this.dropdownPos === 'right' && this.dropdownOffset,
|
|
118
118
|
'right-0': this.dropdownPos === 'right' && !this.dropdownOffset,
|
|
119
119
|
'rounded-lg': this.rounded
|
|
120
|
-
}, style: { display: this.isOpen ? 'block' : 'none' }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, h("slot", { key: '
|
|
120
|
+
}, style: { display: this.isOpen ? 'block' : 'none' }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, h("slot", { key: '6a7ba94045d366d20c6618845692d977f20437e3' }))));
|
|
121
121
|
}
|
|
122
122
|
get host() { return this; }
|
|
123
123
|
static get style() { return EdsDropdownStyle0; }
|
|
@@ -42,9 +42,9 @@ const EdsFooter = /*@__PURE__*/ proxyCustomElement(class EdsFooter extends HTMLE
|
|
|
42
42
|
* @returns {JSX.Element} The rendered JSX for the footer component.
|
|
43
43
|
*/
|
|
44
44
|
render() {
|
|
45
|
-
return (h("footer", { key: '7bbc8cd8e0e3a153dc30bb3569e83afc0bc09b0a' }, this.social ? (h("div", { class: "border-softest border-t-2 pt-20 md:pt-28" }, h("div", { class: "container pb-20" }, h("div", { class: "grid-layout" }, h("div", { class: "grid-col-span-12 lg:grid-col-span-5" }, h("eds-social-networks", { class: "mt-28" })))))) : null, h("div", { key: '9ee8ada698546344b18e557ee1de76042cd727ed', class: `border-softest ${this.social ? 'border-t-2' : ''} pb-28 pt-20 md:pt-28` }, h("div", { key: 'e795e5bba0273b4147c66ed667142997bc0cbaff', class: "container flex items-center gap-20 lg:flex-nowrap" }, h("div", { key: 'fa09a0dbccb035b1e4f496aa447aca241bcc2415', class: "flex items-center gap-x-12" }, h("a", { key: '
|
|
45
|
+
return (h("footer", { key: '7bbc8cd8e0e3a153dc30bb3569e83afc0bc09b0a' }, this.social ? (h("div", { class: "border-softest border-t-2 pt-20 md:pt-28" }, h("div", { class: "container pb-20" }, h("div", { class: "grid-layout" }, h("div", { class: "grid-col-span-12 lg:grid-col-span-5" }, h("eds-social-networks", { class: "mt-28" })))))) : null, h("div", { key: '9ee8ada698546344b18e557ee1de76042cd727ed', class: `border-softest ${this.social ? 'border-t-2' : ''} pb-28 pt-20 md:pt-28` }, h("div", { key: 'e795e5bba0273b4147c66ed667142997bc0cbaff', class: "container flex items-center gap-20 lg:flex-nowrap" }, h("div", { key: 'fa09a0dbccb035b1e4f496aa447aca241bcc2415', class: "flex items-center gap-x-12" }, h("a", { key: '578d6a8463e65d07278f8328c108ee266cfba2b8', target: "_blank", rel: "noopener noreferrer", class: "effect-focus focus-visible:rounded-xs flex w-[54px] ml-0", href: "https://research-and-innovation.ec.europa.eu/funding/funding-opportunities/funding-programmes-and-open-calls/horizon-europe_en", "aria-label": "Learn about Horizon Europe funding" }, h("eds-img", { key: '5b9e987c2ecf62fb4f44c1faacad7c569a149805', width: 54, height: 41, src: "https://www.ebrains.eu/flags/4x3/eu.svg", alt: "European Union Flag" }))), h("div", { key: 'df75949c0718b8fb7dd449a6e7df39d332da366f' }, h("div", { key: 'f83d31b16d0601cd456d5cb72e9fa2adb29a2b66', class: "f-ui-04 text-light" }, h("p", { key: 'dcdf09d78ca64c5391d56fe5ed69bab987cbf67b' }, this.fundedBy), h("div", { key: 'af279fb5dfdf0a8f1f85e6ce7446dc3a0eeac397', class: "mt-4 flex flex-wrap gap-12 lg:flex-nowrap inline-block" }, h("span", { key: '026b41fa6162ffb6825ccf98364b4caf64b6457a', class: "effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline mr-4" }, "\u00A9 ", this.rightsReserved), this.enableCookiesSettings ? (h("eds-link", { label: this.cookiesPreferences, intent: "underline", "extra-class": "f-ui-04", onClick: () => {
|
|
46
46
|
this.toggleCookiesConsent();
|
|
47
|
-
} })) : null))), h("div", { key: '
|
|
47
|
+
} })) : null))), h("div", { key: '27cb561815d6918567ab8cfa1148019aca8aeda0', class: "ml-auto pl-12" }, this.enableScrollTop ? (h("eds-button", { id: "backToTop", "aria-hidden": "true", "aria-label": this.backToTopAriaLabel, intent: "ghostInverse", icon: "chevron-up", onClick: this.backToTop, class: "transition-all transition duration-75 opacity-0 " })) : null)))));
|
|
48
48
|
}
|
|
49
49
|
static get style() { return EdsFooterStyle0; }
|
|
50
50
|
}, [1, "eds-footer", {
|