@ebrains/components 2.4.0 → 3.0.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/color-primary-palette_6.cjs.entry.js +14 -14
- package/dist/cjs/components-section.cjs.entry.js +1 -1
- package/dist/cjs/components.cjs.js +1 -1
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/docs-palettes.cjs.entry.js +1 -1
- package/dist/cjs/docs-tokens.cjs.entry.js +1 -1
- package/dist/cjs/eds-accordion_52.cjs.entry.js +10419 -0
- package/dist/cjs/eds-app-root.cjs.entry.js +1 -1
- package/dist/cjs/eds-cookies-preference.cjs.entry.js +2 -2
- package/dist/cjs/eds-feedback.cjs.entry.js +1 -1
- package/dist/cjs/eds-frame.cjs.entry.js +3 -3
- package/dist/cjs/eds-gauge.cjs.entry.js +5 -6
- package/dist/cjs/eds-gitlab-contributors.cjs.entry.js +248 -0
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-eu.cjs.entry.js +2 -2
- 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-mastodon.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
- package/dist/cjs/eds-modal.cjs.entry.js +84 -13
- package/dist/cjs/eds-pie.cjs.entry.js +20 -20
- package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
- package/dist/cjs/eds-splash-screen.cjs.entry.js +2 -2
- package/dist/cjs/eds-timeline.cjs.entry.js +2 -2
- package/dist/cjs/eds-toast-manager.cjs.entry.js +1 -1
- package/dist/cjs/eu-271d44ae.js +9 -0
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/index-50bc1aa4.js +4 -184
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/logo-space.cjs.entry.js +1 -2
- package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +2 -2
- package/dist/cjs/logo-variations-tabs.cjs.entry.js +1 -1
- package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
- package/dist/cjs/negative-c61d13b5.js +106 -0
- package/dist/cjs/positive-fdcd161e.js +67 -0
- package/dist/cjs/svg-repository.cjs.entry.js +6 -263
- package/dist/cjs/token-list_3.cjs.entry.js +91 -49
- package/dist/cjs/token-ratios.cjs.entry.js +1 -1
- package/dist/cjs/token-spacing.cjs.entry.js +1 -1
- package/dist/cjs/token-typography.cjs.entry.js +73 -42
- package/dist/collection/collection-manifest.json +9 -40
- package/dist/collection/components/eds-accordion/eds-accordion.css +138 -194
- package/dist/collection/components/eds-accordion/eds-accordion.js +68 -81
- package/dist/collection/components/eds-accordion/eds-accordion.stories.js +90 -41
- package/dist/collection/components/eds-alert/eds-alert.css +122 -95
- package/dist/collection/components/eds-alert/eds-alert.js +89 -104
- package/dist/collection/components/eds-alert/eds-alert.stories.js +180 -30
- package/dist/collection/components/eds-avatar/eds-avatar.css +6 -6
- package/dist/collection/components/eds-avatar/eds-avatar.js +1 -1
- package/dist/collection/components/eds-block-break/eds-block-break.css +1 -1
- package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
- package/dist/collection/components/eds-breadcrump/eds-breadcrumb.stories.js +1 -1
- package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +5 -5
- package/dist/collection/components/eds-button/eds-button.css +352 -90
- package/dist/collection/components/eds-button/eds-button.js +114 -43
- package/dist/collection/components/eds-button/eds-button.stories.js +3 -3
- package/dist/collection/components/eds-cards/eds-card-app/eds-card-app.css +116 -0
- package/dist/collection/components/eds-cards/eds-card-app/eds-card-app.js +187 -0
- package/dist/collection/components/eds-cards/eds-card-app/eds-card-app.stories.js +52 -0
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.css +13 -6
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +20 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.css +22 -6
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +51 -78
- package/dist/collection/components/eds-cards/eds-card-cta/eds-card-cta.css +138 -0
- package/dist/collection/components/eds-cards/eds-card-cta/eds-card-cta.js +217 -0
- package/dist/collection/components/eds-cards/eds-card-cta/eds-card-cta.stories.js +77 -0
- package/dist/collection/components/eds-cards/eds-card-feature/eds-card-feature.css +108 -0
- package/dist/collection/components/eds-cards/eds-card-feature/eds-card-feature.js +156 -0
- package/dist/collection/components/eds-cards/eds-card-feature/eds-card-feature.stories.js +55 -0
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.css +105 -4
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +70 -150
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.stories.js +72 -112
- package/dist/collection/components/eds-cards/eds-card-hero/eds-card-hero.css +127 -0
- package/dist/collection/components/eds-cards/eds-card-hero/eds-card-hero.js +181 -0
- package/dist/collection/components/eds-cards/eds-card-hero/eds-card-hero.stories.js +62 -0
- package/dist/collection/components/eds-cards/eds-card-stat/eds-card-stat.css +128 -0
- package/dist/collection/components/eds-cards/eds-card-stat/eds-card-stat.js +149 -0
- package/dist/collection/components/eds-cards/eds-card-stat/eds-card-stat.stories.js +50 -0
- package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.js +5 -6
- package/dist/collection/components/eds-charts/eds-pie/eds-pie.js +20 -20
- package/dist/collection/components/eds-code-block/eds-code-block.css +84 -120
- package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
- package/dist/collection/components/eds-dropdown/eds-dropdown.js +22 -41
- package/dist/collection/components/eds-feedback/eds-feedback.js +1 -1
- package/dist/collection/components/eds-feedback/eds-feedback.stories.js +5 -1
- package/dist/collection/components/eds-footer/eds-footer.css +55 -3
- package/dist/collection/components/eds-footer/eds-footer.js +28 -2
- package/dist/collection/components/eds-form/eds-form.css +100 -4
- package/dist/collection/components/eds-form/eds-form.js +172 -46
- package/dist/collection/components/eds-form/eds-form.stories.js +3 -11
- package/dist/collection/components/eds-frame/eds-frame.css +34 -22
- package/dist/collection/components/eds-frame/eds-frame.js +5 -5
- package/dist/collection/components/eds-frame/eds-frame.stories.js +1 -1
- package/dist/collection/components/eds-fullscreen-menu/eds-fullscreen-menu.css +9 -5
- package/dist/collection/components/eds-fullscreen-menu/eds-fullscreen-menu.js +4 -1
- package/dist/collection/components/eds-header/eds-header.css +20 -4
- package/dist/collection/components/eds-header/eds-header.js +17 -15
- package/dist/collection/components/eds-header/eds-header.stories.js +0 -2
- package/dist/collection/components/eds-icon-wrapper/eds-icon-wrapper.css +32 -0
- package/dist/collection/components/eds-icon-wrapper/eds-icon-wrapper.js +43 -61
- package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.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-dropzone/eds-input-dropzone.css +195 -0
- package/dist/collection/components/eds-input-dropzone/eds-input-dropzone.js +300 -0
- package/dist/collection/components/eds-input-dropzone/eds-input-dropzone.stories.js +34 -0
- package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +11 -5
- package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.css +16 -1
- 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 +5 -3
- 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.css +69 -69
- package/dist/collection/components/eds-input-field/eds-input-field.js +31 -6
- package/dist/collection/components/eds-input-file/eds-input-file.css +140 -0
- package/dist/collection/components/eds-input-file/eds-input-file.js +249 -0
- package/dist/collection/components/eds-link/eds-link.css +197 -22
- package/dist/collection/components/eds-link/eds-link.js +110 -38
- package/dist/collection/components/eds-link/eds-link.stories.js +3 -3
- package/dist/collection/components/eds-logo/eds-logo.css +3 -1
- package/dist/collection/components/eds-logo/eds-logo.js +12 -35
- package/dist/collection/components/eds-logo/eds-logo.stories.js +12 -29
- package/dist/collection/components/eds-modal/eds-modal.css +115 -19
- package/dist/collection/components/eds-modal/eds-modal.js +109 -17
- package/dist/collection/components/eds-nps/eds-nps.css +10 -1
- package/dist/collection/components/eds-nps/eds-nps.js +48 -22
- package/dist/collection/components/eds-pagination/eds-pagination.js +2 -2
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.css +83 -9
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +55 -10
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.stories.js +83 -10
- package/dist/collection/components/eds-rating/eds-rating.css +1 -1
- package/dist/collection/components/eds-rating/eds-rating.js +54 -12
- 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-sidebar/eds-sidebar.css +9 -4
- package/dist/collection/components/eds-sidebar/eds-sidebar.js +4 -4
- package/dist/collection/components/eds-social-networks/eds-social-networks.css +12 -0
- package/dist/collection/components/eds-social-networks/eds-social-networks.js +26 -1
- package/dist/collection/components/eds-spinner/eds-spinner.css +6 -6
- package/dist/collection/components/eds-spinner/eds-spinner.js +5 -5
- package/dist/collection/components/eds-splash-screen/eds-splash-screen.css +12 -12
- package/dist/collection/components/eds-splash-screen/eds-splash-screen.js +1 -1
- package/dist/collection/components/eds-steps/eds-steps.css +101 -15
- package/dist/collection/components/eds-steps/eds-steps.js +45 -6
- package/dist/collection/components/eds-steps/eds-steps.stories.js +7 -31
- package/dist/collection/components/eds-steps-v2/eds-steps-v2.css +172 -17
- package/dist/collection/components/eds-steps-v2/eds-steps-v2.js +50 -7
- package/dist/collection/components/eds-steps-v2/eds-steps-v2.stories.js +16 -30
- package/dist/collection/components/eds-switch/eds-switch.css +65 -3
- package/dist/collection/components/eds-switch/eds-switch.js +46 -2
- package/dist/collection/components/eds-switch/eds-switch.stories.js +91 -24
- package/dist/collection/components/eds-table/eds-table.css +253 -3
- package/dist/collection/components/eds-table/eds-table.js +123 -40
- package/dist/collection/components/eds-table/eds-table.stories.js +130 -32
- package/dist/collection/components/eds-tabs/eds-tabs.css +68 -358
- package/dist/collection/components/eds-tabs/eds-tabs.js +43 -87
- package/dist/collection/components/eds-tabs/eds-tabs.stories.js +82 -37
- package/dist/collection/components/eds-tag/eds-tag.css +151 -8
- package/dist/collection/components/eds-tag/eds-tag.js +17 -18
- package/dist/collection/components/eds-tag/eds-tag.stories.js +25 -5
- package/dist/collection/components/eds-timeline/eds-timeline.js +2 -2
- package/dist/collection/components/eds-toast/eds-toast.css +70 -10
- package/dist/collection/components/eds-toast/eds-toast.js +9 -7
- package/dist/collection/components/eds-toast/eds-toast.stories.js +25 -1
- package/dist/collection/components/eds-toast-manager/eds-toast-manager.js +1 -1
- package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
- package/dist/collection/components/eds-user/eds-user.js +5 -5
- package/dist/collection/components/eds-user/eds-user.stories.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
- package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
- package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/components-section/components-section.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/docs-tokens/docs-tokens.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +8 -7
- package/dist/collection/eds-docs-ui/docs-palettes/docs-palettes.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -2
- package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations-tabs/logo-variations.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +2 -2
- package/dist/collection/eds-docs-ui/svg-repository/svg-repository.js +1 -1
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +6 -5
- package/dist/collection/shared-ui/eds-gitlab-contributors/eds-gitlab-contributors.css +143 -0
- package/dist/collection/shared-ui/eds-gitlab-contributors/eds-gitlab-contributors.js +440 -0
- package/dist/collection/shared-ui/eds-global-search/eds-global-search.css +99 -24
- package/dist/collection/shared-ui/eds-global-search/eds-global-search.js +124 -5
- package/dist/collection/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.css +8 -0
- package/dist/collection/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.js +370 -0
- package/dist/collection/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.stories.js +87 -0
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.css +4 -0
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +1 -1
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.js +71 -4
- package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
- package/dist/collection/utils/eds-form/formValidators.js +5 -8
- package/dist/collection/utils/eds-form/individualValidator.js +22 -0
- package/dist/collection/utils/icons.js +169 -0
- package/dist/components/components-section.js +1 -1
- package/dist/components/components.css +747 -537
- package/dist/components/components.esm.js +1 -1
- package/dist/components/correct-use-of-colors.js +1 -1
- package/dist/components/docs-palettes.js +1 -1
- package/dist/components/docs-tokens.js +1 -1
- package/dist/components/eds-accordion2.js +19 -51
- package/dist/components/eds-alert2.js +32 -82
- package/dist/components/eds-app-root.js +3 -9
- package/dist/components/eds-avatar2.js +2 -2
- package/dist/components/eds-block-break2.js +2 -2
- package/dist/components/eds-breadcrumb.js +2 -2
- package/dist/components/eds-button2.js +69 -27
- package/dist/components/{eds-icon-bin.d.ts → eds-card-app.d.ts} +4 -4
- package/dist/components/eds-card-app.js +82 -0
- package/dist/components/{eds-trl.d.ts → eds-card-cta.d.ts} +4 -4
- package/dist/components/eds-card-cta.js +95 -0
- package/dist/components/eds-card-desc2.js +5 -3
- package/dist/components/{eds-card-project.d.ts → eds-card-feature.d.ts} +4 -4
- package/dist/components/eds-card-feature.js +64 -0
- package/dist/components/eds-card-generic2.js +46 -55
- package/dist/components/{eds-icon-edit.d.ts → eds-card-hero.d.ts} +4 -4
- package/dist/components/eds-card-hero.js +75 -0
- package/dist/components/{eds-icon-copy.d.ts → eds-card-stat.d.ts} +4 -4
- package/dist/components/eds-card-stat.js +67 -0
- package/dist/components/eds-card-title2.js +28 -39
- package/dist/components/eds-code-block2.js +2 -2
- package/dist/components/eds-cookies-preference.js +2 -2
- package/dist/components/eds-dropdown2.js +5 -8
- package/dist/components/eds-feedback.js +1 -1
- package/dist/components/eds-footer2.js +13 -13
- package/dist/components/eds-form.js +195 -66
- package/dist/components/eds-frame.js +3 -3
- package/dist/components/eds-fullscreen-menu.js +10 -16
- package/dist/components/eds-gauge.js +5 -6
- package/dist/components/eds-gitlab-contributors.d.ts +11 -0
- package/dist/components/eds-gitlab-contributors.js +317 -0
- package/dist/components/eds-global-search.js +83 -26
- package/dist/components/eds-header.js +15 -13
- package/dist/components/eds-icon-bluesky.js +1 -1
- package/dist/components/eds-icon-eu.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-mastodon.js +1 -1
- package/dist/components/eds-icon-twitter.js +1 -1
- package/dist/components/eds-icon-wrapper2.js +2435 -32
- package/dist/components/eds-icon-youtube.js +1 -1
- package/dist/components/eds-img2.js +2 -2
- package/dist/components/{eds-icon-chevron-up.d.ts → eds-input-dropzone.d.ts} +4 -4
- package/dist/components/eds-input-dropzone.js +6 -0
- package/dist/components/eds-input-dropzone2.js +133 -0
- package/dist/components/eds-input-field2.js +39 -8
- package/dist/components/{eds-icon-close.d.ts → eds-input-file.d.ts} +4 -4
- package/dist/components/eds-input-file.js +6 -0
- package/dist/components/eds-input-file2.js +100 -0
- package/dist/components/eds-input-footer2.js +2 -2
- package/dist/components/eds-input-label2.js +1 -1
- package/dist/components/eds-input-range2.js +5 -3
- 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-kg-web-services-select.d.ts +11 -0
- package/dist/components/eds-kg-web-services-select.js +6 -0
- package/dist/components/eds-kg-web-services-select2.js +192 -0
- package/dist/components/eds-link2.js +82 -33
- package/dist/components/eds-logo2.js +9 -33
- package/dist/components/eds-matomo-notice2.js +2 -2
- package/dist/components/eds-modal.js +85 -13
- package/dist/components/eds-nps2.js +30 -22
- package/dist/components/eds-pagination2.js +2 -2
- package/dist/components/eds-pie.js +20 -20
- package/dist/components/eds-progress-bar.js +80 -1
- package/dist/components/eds-rating2.js +28 -10
- package/dist/components/eds-section-core2.js +1 -1
- package/dist/components/eds-section-heading2.js +2 -2
- package/dist/components/eds-sidebar.js +4 -4
- package/dist/components/eds-social-networks2.js +8 -3
- package/dist/components/eds-spinner2.js +5 -5
- package/dist/components/eds-splash-screen2.js +4 -10
- package/dist/components/eds-steps-v2.js +16 -7
- package/dist/components/eds-steps2.js +11 -6
- package/dist/components/eds-switch.js +1 -82
- package/dist/components/eds-switch2.js +111 -0
- package/dist/components/eds-table2.js +96 -51
- package/dist/components/eds-tabs.js +16 -80
- package/dist/components/eds-tag2.js +14 -15
- package/dist/components/eds-timeline.js +5 -11
- package/dist/components/eds-toast-manager.js +1 -1
- package/dist/components/eds-toast2.js +8 -6
- package/dist/components/eds-tooltip2.js +1 -1
- package/dist/components/eds-user.js +3 -3
- package/dist/components/eu.js +5 -28
- package/dist/components/incorrect-use-of-colors.js +1 -1
- package/dist/components/logo-space.js +47 -24
- package/dist/components/logo-variations-horizontal2.js +1 -1
- package/dist/components/logo-variations-tabs.js +1 -1
- package/dist/components/logo-variations-vertical2.js +1 -1
- package/dist/components/logo-wrong-usage.js +2 -2
- package/dist/components/negative.js +104 -0
- package/dist/components/p-04e9c2d7.entry.js +1 -0
- package/dist/components/{p-5e6f5588.entry.js → p-0d7aee0b.entry.js} +1 -1
- package/dist/components/{p-07d5560c.entry.js → p-0fe10e6c.entry.js} +1 -1
- package/dist/components/p-18e852e1.entry.js +1 -0
- package/dist/components/p-1cc26ddf.entry.js +1 -0
- package/dist/components/p-3ccd6948.entry.js +1 -0
- package/dist/components/p-3d3841d6.entry.js +1 -0
- package/dist/components/p-3f38df99.entry.js +1 -0
- package/dist/components/p-527e71d0.entry.js +1 -0
- package/dist/components/p-55047f7f.entry.js +9 -0
- package/dist/components/{p-721431b8.entry.js → p-64c23098.entry.js} +1 -1
- package/dist/components/p-74b9c9a8.entry.js +1 -0
- package/dist/components/p-773bd015.entry.js +1 -0
- package/dist/components/p-7aa4edef.entry.js +1 -0
- package/dist/components/p-7b93a385.entry.js +1 -0
- package/dist/components/p-7baaf1a1.entry.js +1 -0
- package/dist/components/p-7ce1cf13.js +1 -0
- package/dist/components/p-878f65a6.entry.js +1 -0
- package/dist/components/p-92f6d9c0.entry.js +1 -0
- package/dist/components/{p-28ce55ae.entry.js → p-940a2d42.entry.js} +1 -1
- package/dist/components/p-9eedf771.entry.js +1 -0
- package/dist/components/{p-5ba1c4b4.entry.js → p-a63e14bb.entry.js} +1 -1
- package/dist/components/{p-67c3bedc.entry.js → p-a6dc1f88.entry.js} +1 -1
- package/dist/components/p-b4355cec.entry.js +1 -0
- package/dist/components/{p-21510f7a.entry.js → p-c2fc62f7.entry.js} +1 -1
- package/dist/components/p-c46675c8.entry.js +1 -0
- package/dist/components/p-caa71345.js +1 -0
- package/dist/components/p-d16b5363.entry.js +1 -0
- package/dist/components/{p-1f0819cf.entry.js → p-d1b3aa52.entry.js} +1 -1
- package/dist/components/{p-632bd36e.entry.js → p-d2576747.entry.js} +1 -1
- package/dist/components/p-d2f17fac.entry.js +1 -0
- package/dist/components/p-db5eea95.entry.js +1 -0
- package/dist/components/p-ddb9ce00.entry.js +1 -0
- package/dist/components/p-dfe93385.entry.js +1 -0
- package/dist/components/p-e0ee2386.js +1 -0
- package/dist/components/p-e205c269.entry.js +1 -0
- package/dist/components/p-f364296f.entry.js +1 -0
- package/dist/components/{p-801f67a1.entry.js → p-f55dd314.entry.js} +1 -1
- package/dist/components/p-f88b5f21.entry.js +1 -0
- package/dist/components/positive.js +65 -0
- package/dist/components/primary.js +1 -1
- package/dist/components/primary2.js +1 -1
- package/dist/components/secondary.js +1 -1
- package/dist/components/secondary2.js +7 -7
- package/dist/components/support.js +1 -1
- package/dist/components/support2.js +3 -3
- package/dist/components/svg-repository.js +45 -284
- package/dist/components/token-list2.js +57 -40
- package/dist/components/token-radii2.js +1 -1
- package/dist/components/token-ratios.js +1 -1
- package/dist/components/token-shadows2.js +33 -8
- package/dist/components/token-spacing.js +1 -1
- package/dist/components/token-typography.js +73 -42
- package/dist/esm/color-primary-palette_6.entry.js +14 -14
- package/dist/esm/components-section.entry.js +1 -1
- package/dist/esm/components.js +1 -1
- package/dist/esm/correct-use-of-colors.entry.js +1 -1
- package/dist/esm/docs-palettes.entry.js +1 -1
- package/dist/esm/docs-tokens.entry.js +1 -1
- package/dist/esm/eds-accordion_52.entry.js +10364 -0
- package/dist/esm/eds-app-root.entry.js +1 -1
- package/dist/esm/eds-cookies-preference.entry.js +2 -2
- package/dist/esm/eds-feedback.entry.js +1 -1
- package/dist/esm/eds-frame.entry.js +3 -3
- package/dist/esm/eds-gauge.entry.js +5 -6
- package/dist/esm/eds-gitlab-contributors.entry.js +244 -0
- package/dist/esm/eds-icon-bluesky.entry.js +1 -1
- package/dist/esm/eds-icon-eu.entry.js +2 -2
- 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-mastodon.entry.js +1 -1
- package/dist/esm/eds-icon-twitter.entry.js +1 -1
- package/dist/esm/eds-icon-youtube.entry.js +1 -1
- package/dist/esm/eds-modal.entry.js +84 -13
- package/dist/esm/eds-pie.entry.js +20 -20
- package/dist/esm/eds-section-core_2.entry.js +3 -3
- package/dist/esm/eds-splash-screen.entry.js +2 -2
- package/dist/esm/eds-timeline.entry.js +2 -2
- package/dist/esm/eds-toast-manager.entry.js +1 -1
- package/dist/esm/eu-8ac3e99c.js +7 -0
- package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
- package/dist/esm/index-870ab08f.js +4 -184
- package/dist/esm/loader.js +1 -1
- package/dist/esm/logo-space.entry.js +1 -2
- package/dist/esm/logo-variations-horizontal_2.entry.js +2 -2
- package/dist/esm/logo-variations-tabs.entry.js +1 -1
- package/dist/esm/logo-wrong-usage.entry.js +2 -2
- package/dist/esm/negative-84eec72e.js +104 -0
- package/dist/esm/positive-cc986d7c.js +65 -0
- package/dist/esm/svg-repository.entry.js +6 -263
- package/dist/esm/token-list_3.entry.js +91 -49
- package/dist/esm/token-ratios.entry.js +1 -1
- package/dist/esm/token-spacing.entry.js +1 -1
- package/dist/esm/token-typography.entry.js +73 -42
- package/dist/hydrate/index.js +4762 -4031
- package/dist/hydrate/index.mjs +4762 -4031
- package/dist/types/Users/nikolaosgeorgomanolis/Documents/EBRAINS/Projects/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/lib/svgs.d.ts +12 -0
- package/dist/types/components/eds-accordion/eds-accordion.d.ts +17 -53
- package/dist/types/components/eds-accordion/eds-accordion.stories.d.ts +36 -24
- package/dist/types/components/eds-alert/eds-alert.d.ts +32 -21
- package/dist/types/components/eds-alert/eds-alert.stories.d.ts +84 -11
- package/dist/types/components/eds-breadcrump/eds-breadcrump.d.ts +2 -2
- package/dist/types/components/eds-button/eds-button.d.ts +31 -14
- package/dist/types/components/eds-cards/eds-card-app/eds-card-app.d.ts +57 -0
- package/dist/types/components/eds-cards/eds-card-app/eds-card-app.stories.d.ts +60 -0
- package/dist/types/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.d.ts +1 -0
- package/dist/types/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.d.ts +5 -17
- package/dist/types/components/eds-cards/eds-card-cta/eds-card-cta.d.ts +64 -0
- package/dist/types/components/eds-cards/eds-card-cta/eds-card-cta.stories.d.ts +76 -0
- package/dist/types/components/eds-cards/eds-card-feature/eds-card-feature.d.ts +43 -0
- package/dist/types/components/eds-cards/eds-card-feature/eds-card-feature.stories.d.ts +53 -0
- package/dist/types/components/eds-cards/eds-card-generic/eds-card-generic.d.ts +12 -40
- package/dist/types/components/eds-cards/eds-card-generic/eds-card-generic.stories.d.ts +43 -44
- package/dist/types/components/eds-cards/eds-card-hero/eds-card-hero.d.ts +54 -0
- package/dist/types/components/eds-cards/eds-card-hero/eds-card-hero.stories.d.ts +65 -0
- package/dist/types/components/eds-cards/eds-card-stat/eds-card-stat.d.ts +41 -0
- package/dist/types/components/eds-cards/eds-card-stat/eds-card-stat.stories.d.ts +47 -0
- package/dist/types/components/eds-dropdown/eds-dropdown.d.ts +5 -10
- package/dist/types/components/eds-footer/eds-footer.d.ts +7 -0
- package/dist/types/components/eds-form/eds-form.d.ts +16 -5
- package/dist/types/components/eds-form/eds-form.stories.d.ts +0 -5
- package/dist/types/components/eds-frame/eds-frame.d.ts +1 -1
- package/dist/types/components/eds-fullscreen-menu/eds-fullscreen-menu.d.ts +3 -0
- package/dist/types/components/eds-header/eds-header.d.ts +3 -3
- package/dist/types/components/eds-icon-wrapper/eds-icon-wrapper.d.ts +3 -25
- package/dist/types/components/eds-input-dropzone/eds-input-dropzone.d.ts +51 -0
- package/dist/types/components/eds-input-dropzone/eds-input-dropzone.stories.d.ts +54 -0
- package/dist/types/components/eds-input-elements/eds-input/eds-input.d.ts +2 -1
- package/dist/types/components/eds-input-field/eds-input-field.d.ts +3 -1
- package/dist/types/components/eds-input-file/eds-input-file.d.ts +43 -0
- package/dist/types/components/eds-link/eds-link.d.ts +9 -3
- package/dist/types/components/eds-logo/eds-logo.d.ts +3 -3
- package/dist/types/components/eds-logo/eds-logo.stories.d.ts +1 -19
- package/dist/types/components/eds-modal/eds-modal.d.ts +15 -3
- package/dist/types/components/eds-nps/eds-nps.d.ts +11 -2
- package/dist/types/components/eds-progress-bar/eds-progress-bar.d.ts +13 -2
- package/dist/types/components/eds-progress-bar/eds-progress-bar.stories.d.ts +40 -1
- package/dist/types/components/eds-rating/eds-rating.d.ts +15 -2
- package/dist/types/components/eds-social-networks/eds-social-networks.d.ts +7 -0
- package/dist/types/components/eds-steps/eds-steps.d.ts +8 -0
- package/dist/types/components/eds-steps/eds-steps.stories.d.ts +2 -27
- package/dist/types/components/eds-steps-v2/eds-steps-v2.d.ts +8 -0
- package/dist/types/components/eds-steps-v2/eds-steps-v2.stories.d.ts +3 -6
- package/dist/types/components/eds-switch/eds-switch.d.ts +6 -0
- package/dist/types/components/eds-switch/eds-switch.stories.d.ts +49 -0
- package/dist/types/components/eds-table/eds-table.d.ts +45 -11
- package/dist/types/components/eds-table/eds-table.stories.d.ts +108 -9
- package/dist/types/components/eds-tabs/eds-tabs.d.ts +15 -17
- package/dist/types/components/eds-tabs/eds-tabs.stories.d.ts +57 -6
- package/dist/types/components/eds-tag/eds-tag.d.ts +1 -1
- package/dist/types/components/eds-tag/eds-tag.stories.d.ts +6 -0
- package/dist/types/components/eds-toast/eds-toast.d.ts +1 -1
- package/dist/types/components/eds-toast/eds-toast.stories.d.ts +10 -0
- package/dist/types/components/eds-user/eds-user.d.ts +1 -1
- package/dist/types/components.d.ts +1470 -1516
- package/dist/types/shared-ui/eds-cookies-preference/eds-cookies-preference.d.ts +1 -1
- package/dist/types/shared-ui/eds-gitlab-contributors/eds-gitlab-contributors.d.ts +114 -0
- package/dist/types/shared-ui/eds-global-search/eds-global-search.d.ts +18 -0
- package/dist/types/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.d.ts +98 -0
- package/dist/types/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.stories.d.ts +60 -0
- package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.d.ts +26 -0
- package/dist/types/utils/icons.d.ts +78 -0
- package/package.json +1 -1
- package/dist/cjs/arrow-diagonal-black-0eb8640e.js +0 -5
- package/dist/cjs/arrow-right-3e38e8a9.js +0 -7
- package/dist/cjs/bin-c07eeedc.js +0 -5
- package/dist/cjs/bookmark-c61853d9.js +0 -18
- package/dist/cjs/chevron-down-27344777.js +0 -14
- package/dist/cjs/chevron-left-6fc9c6ef.js +0 -13
- package/dist/cjs/chevron-right-6d95a117.js +0 -7
- package/dist/cjs/chevron-up-e37d7713.js +0 -14
- package/dist/cjs/clone-846acfdd.js +0 -5
- package/dist/cjs/close-51284af5.js +0 -7
- package/dist/cjs/copy-53102d0c.js +0 -7
- package/dist/cjs/download-9d17d025.js +0 -20
- package/dist/cjs/draft-05bd8904.js +0 -5
- package/dist/cjs/edit-ff5b84d8.js +0 -5
- package/dist/cjs/eds-accordion_37.cjs.entry.js +0 -6908
- package/dist/cjs/eds-card-desc_2.cjs.entry.js +0 -77
- package/dist/cjs/eds-card-generic.cjs.entry.js +0 -91
- package/dist/cjs/eds-card-project.cjs.entry.js +0 -195
- package/dist/cjs/eds-card-section.cjs.entry.js +0 -39
- package/dist/cjs/eds-card-tags.cjs.entry.js +0 -22
- package/dist/cjs/eds-card-tool.cjs.entry.js +0 -79
- package/dist/cjs/eds-footer.cjs.entry.js +0 -67
- package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +0 -91
- package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-bin.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-bookmark.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-clone.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-close.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-copy.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-download.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-draft.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-edit.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-external.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-loader.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-menu.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-minus.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-more.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-paper.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-plus.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-portal.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-private.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-public.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-search.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-star.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-start.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-success.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-tutorial.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-unknown.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-updown.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-user.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-view.cjs.entry.js +0 -18
- package/dist/cjs/eds-progress-bar.cjs.entry.js +0 -56
- package/dist/cjs/eds-social-networks.cjs.entry.js +0 -64
- package/dist/cjs/eds-trl.cjs.entry.js +0 -51
- package/dist/cjs/eu-b9665157.js +0 -32
- package/dist/cjs/index-ab9fbefe.js +0 -48
- package/dist/cjs/loader-72f9d178.js +0 -32
- package/dist/cjs/logo-color-6c787ac1.js +0 -117
- package/dist/cjs/logo-color-margins-b49c0f46.js +0 -120
- package/dist/cjs/logo-white-no-bg-4a0e0f4b.js +0 -1039
- package/dist/cjs/menu-7050a6d1.js +0 -13
- package/dist/cjs/minus-1da6a98a.js +0 -13
- package/dist/cjs/more-1d3dd8bc.js +0 -15
- package/dist/cjs/paper-0d6302f6.js +0 -17
- package/dist/cjs/plus-d0e00ad0.js +0 -14
- package/dist/cjs/portal-46212559.js +0 -20
- package/dist/cjs/private-38835fe7.js +0 -27
- package/dist/cjs/public-b519b1f6.js +0 -18
- package/dist/cjs/search-5533d877.js +0 -14
- package/dist/cjs/star-942eee9f.js +0 -7
- package/dist/cjs/start-c0ccfddd.js +0 -5
- package/dist/cjs/success-ef661a11.js +0 -20
- package/dist/cjs/thumbs-down-714036b1.js +0 -7
- package/dist/cjs/thumbs-up-411babb8.js +0 -8
- package/dist/cjs/tutotial-7855df3c.js +0 -29
- package/dist/cjs/unknown-6814e551.js +0 -24
- package/dist/cjs/up-and-down-6f179dd8.js +0 -14
- package/dist/cjs/user-a3c2230f.js +0 -18
- package/dist/cjs/view-80d5c6c8.js +0 -5
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.css +0 -9
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js +0 -63
- package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +0 -227
- package/dist/collection/components/eds-cards/eds-card-section/eds-card-section.css +0 -249
- package/dist/collection/components/eds-cards/eds-card-section/eds-card-section.js +0 -95
- package/dist/collection/components/eds-cards/eds-card-section/eds-card-section.stories.js +0 -71
- package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.css +0 -103
- package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +0 -314
- package/dist/collection/components/eds-fullscreen-menu/eds-fullscreen-menu.stories.js +0 -77
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +0 -36
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +0 -36
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +0 -36
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-bin/eds-icon-bin.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-clone/eds-icon-clone.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-download/eds-icon-download.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-draft/eds-icon-draft.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-edit/eds-icon-edit.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-external/eds-icon-external.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-minus/eds-icon-minus.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-paper/eds-icon-paper.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-start/eds-icon-start.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-view/eds-icon-view.js +0 -36
- package/dist/collection/components/eds-trl/eds-trl.js +0 -68
- package/dist/components/arrow-diagonal-black.js +0 -3
- package/dist/components/arrow-right.js +0 -5
- package/dist/components/bin.js +0 -3
- package/dist/components/bookmark.js +0 -16
- package/dist/components/chevron-down.js +0 -12
- package/dist/components/chevron-left.js +0 -11
- package/dist/components/chevron-right.js +0 -5
- package/dist/components/chevron-up.js +0 -12
- package/dist/components/clone.js +0 -3
- package/dist/components/close.js +0 -5
- package/dist/components/copy.js +0 -5
- package/dist/components/download.js +0 -18
- package/dist/components/draft.js +0 -3
- package/dist/components/edit.js +0 -3
- package/dist/components/eds-card-project.js +0 -237
- package/dist/components/eds-card-section.d.ts +0 -11
- package/dist/components/eds-card-section.js +0 -92
- package/dist/components/eds-card-tags.d.ts +0 -11
- package/dist/components/eds-card-tags.js +0 -45
- package/dist/components/eds-card-tool.d.ts +0 -11
- package/dist/components/eds-card-tool.js +0 -137
- package/dist/components/eds-icon-arrow-diagonal.d.ts +0 -11
- package/dist/components/eds-icon-arrow-diagonal.js +0 -33
- package/dist/components/eds-icon-arrow-right.d.ts +0 -11
- package/dist/components/eds-icon-arrow-right.js +0 -33
- package/dist/components/eds-icon-bin.js +0 -33
- package/dist/components/eds-icon-bookmark.d.ts +0 -11
- package/dist/components/eds-icon-bookmark.js +0 -33
- package/dist/components/eds-icon-chevron-down.d.ts +0 -11
- package/dist/components/eds-icon-chevron-down.js +0 -33
- package/dist/components/eds-icon-chevron-left.d.ts +0 -11
- package/dist/components/eds-icon-chevron-left.js +0 -33
- package/dist/components/eds-icon-chevron-right.d.ts +0 -11
- package/dist/components/eds-icon-chevron-right.js +0 -33
- package/dist/components/eds-icon-chevron-up.js +0 -33
- package/dist/components/eds-icon-clone.d.ts +0 -11
- package/dist/components/eds-icon-clone.js +0 -33
- package/dist/components/eds-icon-close.js +0 -33
- package/dist/components/eds-icon-copy.js +0 -33
- package/dist/components/eds-icon-download.d.ts +0 -11
- package/dist/components/eds-icon-download.js +0 -33
- package/dist/components/eds-icon-draft.d.ts +0 -11
- package/dist/components/eds-icon-draft.js +0 -33
- package/dist/components/eds-icon-edit.js +0 -33
- package/dist/components/eds-icon-external.d.ts +0 -11
- package/dist/components/eds-icon-external.js +0 -33
- package/dist/components/eds-icon-loader.d.ts +0 -11
- package/dist/components/eds-icon-loader.js +0 -33
- package/dist/components/eds-icon-menu.d.ts +0 -11
- package/dist/components/eds-icon-menu.js +0 -33
- package/dist/components/eds-icon-minus.d.ts +0 -11
- package/dist/components/eds-icon-minus.js +0 -33
- package/dist/components/eds-icon-more.d.ts +0 -11
- package/dist/components/eds-icon-more.js +0 -33
- package/dist/components/eds-icon-paper.d.ts +0 -11
- package/dist/components/eds-icon-paper.js +0 -33
- package/dist/components/eds-icon-plus.d.ts +0 -11
- package/dist/components/eds-icon-plus.js +0 -33
- package/dist/components/eds-icon-portal.d.ts +0 -11
- package/dist/components/eds-icon-portal.js +0 -33
- package/dist/components/eds-icon-private.d.ts +0 -11
- package/dist/components/eds-icon-private.js +0 -33
- package/dist/components/eds-icon-public.d.ts +0 -11
- package/dist/components/eds-icon-public.js +0 -33
- package/dist/components/eds-icon-search.d.ts +0 -11
- package/dist/components/eds-icon-search.js +0 -33
- package/dist/components/eds-icon-star.d.ts +0 -11
- package/dist/components/eds-icon-star.js +0 -33
- package/dist/components/eds-icon-start.d.ts +0 -11
- package/dist/components/eds-icon-start.js +0 -33
- package/dist/components/eds-icon-success.d.ts +0 -11
- package/dist/components/eds-icon-success.js +0 -33
- package/dist/components/eds-icon-thumbs-down.d.ts +0 -11
- package/dist/components/eds-icon-thumbs-down.js +0 -33
- package/dist/components/eds-icon-thumbs-up.d.ts +0 -11
- package/dist/components/eds-icon-thumbs-up.js +0 -33
- package/dist/components/eds-icon-tutorial.d.ts +0 -11
- package/dist/components/eds-icon-tutorial.js +0 -33
- package/dist/components/eds-icon-unknown.d.ts +0 -11
- package/dist/components/eds-icon-unknown.js +0 -33
- package/dist/components/eds-icon-updown.d.ts +0 -11
- package/dist/components/eds-icon-updown.js +0 -33
- package/dist/components/eds-icon-user.d.ts +0 -11
- package/dist/components/eds-icon-user.js +0 -33
- package/dist/components/eds-icon-view.d.ts +0 -11
- package/dist/components/eds-icon-view.js +0 -33
- package/dist/components/eds-progress-bar2.js +0 -71
- package/dist/components/eds-trl.js +0 -150
- package/dist/components/loader.js +0 -30
- package/dist/components/logo-color-margins.js +0 -118
- package/dist/components/logo-color.js +0 -115
- package/dist/components/logo-white-no-bg.js +0 -1029
- package/dist/components/menu.js +0 -11
- package/dist/components/minus.js +0 -11
- package/dist/components/more.js +0 -13
- package/dist/components/p-024c7937.js +0 -1
- package/dist/components/p-05754401.js +0 -1
- package/dist/components/p-062d2f91.entry.js +0 -1
- package/dist/components/p-0725a684.entry.js +0 -1
- package/dist/components/p-0be28996.js +0 -1
- package/dist/components/p-0da7d1c9.js +0 -1
- package/dist/components/p-0e6d43c5.js +0 -1
- package/dist/components/p-112122d6.js +0 -1
- package/dist/components/p-13f74e41.entry.js +0 -1
- package/dist/components/p-15dc5ecf.entry.js +0 -1
- package/dist/components/p-15df046d.entry.js +0 -1
- package/dist/components/p-15f94425.entry.js +0 -1
- package/dist/components/p-1ded61bd.js +0 -1
- package/dist/components/p-1f74c192.entry.js +0 -1
- package/dist/components/p-2066b033.js +0 -1
- package/dist/components/p-20e711e6.entry.js +0 -1
- package/dist/components/p-2117611b.js +0 -1
- package/dist/components/p-2692f93d.js +0 -1
- package/dist/components/p-277d0045.entry.js +0 -1
- package/dist/components/p-27c4a06e.js +0 -1
- package/dist/components/p-29041952.js +0 -1
- package/dist/components/p-30e88fc2.entry.js +0 -1
- package/dist/components/p-314aa952.entry.js +0 -1
- package/dist/components/p-32e6c4df.js +0 -1
- package/dist/components/p-355df495.entry.js +0 -1
- package/dist/components/p-366c5c03.entry.js +0 -1
- package/dist/components/p-38113b9c.entry.js +0 -1
- package/dist/components/p-3a1e54bd.entry.js +0 -1
- package/dist/components/p-3ad7a15b.entry.js +0 -1
- package/dist/components/p-3b838def.entry.js +0 -1
- package/dist/components/p-454bdd5a.js +0 -1
- package/dist/components/p-4587d0ef.js +0 -1
- package/dist/components/p-46d0716d.js +0 -1
- package/dist/components/p-48825534.entry.js +0 -1
- package/dist/components/p-4cebd89e.entry.js +0 -1
- package/dist/components/p-4eb2cf7f.js +0 -1
- package/dist/components/p-51d0e443.entry.js +0 -1
- package/dist/components/p-52c28fa2.js +0 -1
- package/dist/components/p-53f6527b.entry.js +0 -1
- package/dist/components/p-553ca350.js +0 -1
- package/dist/components/p-58967f53.js +0 -1
- package/dist/components/p-5d046674.js +0 -1
- package/dist/components/p-6197c589.entry.js +0 -1
- package/dist/components/p-65948a6e.entry.js +0 -1
- package/dist/components/p-694fc085.js +0 -1
- package/dist/components/p-7198c024.js +0 -1
- package/dist/components/p-7737d5c7.entry.js +0 -1
- package/dist/components/p-78e85217.entry.js +0 -1
- package/dist/components/p-7a62ae0d.entry.js +0 -1
- package/dist/components/p-7aa97ad6.entry.js +0 -1
- package/dist/components/p-7f820989.entry.js +0 -1
- package/dist/components/p-80ced58a.entry.js +0 -1
- package/dist/components/p-83dde536.entry.js +0 -1
- package/dist/components/p-83ff4a95.js +0 -1
- package/dist/components/p-86bb73dc.js +0 -1
- package/dist/components/p-87481169.entry.js +0 -1
- package/dist/components/p-87df6442.entry.js +0 -1
- package/dist/components/p-8983de37.js +0 -1
- package/dist/components/p-8bd954b5.entry.js +0 -1
- package/dist/components/p-8c520685.entry.js +0 -1
- package/dist/components/p-941dc156.entry.js +0 -1
- package/dist/components/p-9afd31cb.entry.js +0 -1
- package/dist/components/p-9c5a453b.js +0 -1
- package/dist/components/p-9cd1cc1e.entry.js +0 -1
- package/dist/components/p-9d57b51f.entry.js +0 -1
- package/dist/components/p-a61dbad5.entry.js +0 -1
- package/dist/components/p-a7323642.entry.js +0 -1
- package/dist/components/p-a83c336c.entry.js +0 -1
- package/dist/components/p-ab4acc26.entry.js +0 -1
- package/dist/components/p-ac501eb6.entry.js +0 -1
- package/dist/components/p-ad036475.entry.js +0 -1
- package/dist/components/p-ad295d47.entry.js +0 -1
- package/dist/components/p-ad6e7daf.entry.js +0 -1
- package/dist/components/p-ae471b33.entry.js +0 -1
- package/dist/components/p-aefcb641.js +0 -1
- package/dist/components/p-b64f8ffc.entry.js +0 -1
- package/dist/components/p-b73410de.js +0 -1
- package/dist/components/p-b822abb7.js +0 -1
- package/dist/components/p-ba720bf3.js +0 -1
- package/dist/components/p-bb800eec.entry.js +0 -1
- package/dist/components/p-bfb00131.entry.js +0 -1
- package/dist/components/p-c07e3269.entry.js +0 -1
- package/dist/components/p-c1e4ef92.js +0 -1
- package/dist/components/p-c286e9d3.entry.js +0 -1
- package/dist/components/p-c38c527e.entry.js +0 -1
- package/dist/components/p-c404226a.entry.js +0 -1
- package/dist/components/p-c776b6f8.js +0 -1
- package/dist/components/p-c8e7c854.js +0 -1
- package/dist/components/p-c9d60f21.entry.js +0 -1
- package/dist/components/p-cdf19579.js +0 -1
- package/dist/components/p-d29676a0.entry.js +0 -1
- package/dist/components/p-d962849c.js +0 -1
- package/dist/components/p-da96c7cd.entry.js +0 -1
- package/dist/components/p-df5fc158.entry.js +0 -1
- package/dist/components/p-e2d5a487.js +0 -1
- package/dist/components/p-e311fe9e.entry.js +0 -1
- package/dist/components/p-e4f0f24a.entry.js +0 -1
- package/dist/components/p-ece618b3.js +0 -1
- package/dist/components/p-eda55db0.entry.js +0 -1
- package/dist/components/p-ee93afac.entry.js +0 -1
- package/dist/components/p-f0993844.entry.js +0 -1
- package/dist/components/p-f1c8f841.entry.js +0 -1
- package/dist/components/p-f227bac5.entry.js +0 -1
- package/dist/components/p-f24bfc6a.entry.js +0 -1
- package/dist/components/p-f2abe4d8.js +0 -1
- package/dist/components/p-f3754a20.entry.js +0 -1
- package/dist/components/p-f4c954ec.entry.js +0 -1
- package/dist/components/p-f6baca73.entry.js +0 -9
- package/dist/components/p-f7b88ef5.entry.js +0 -1
- package/dist/components/p-fda3df86.entry.js +0 -1
- package/dist/components/paper.js +0 -15
- package/dist/components/plus.js +0 -12
- package/dist/components/portal.js +0 -18
- package/dist/components/private.js +0 -25
- package/dist/components/public.js +0 -16
- package/dist/components/search.js +0 -12
- package/dist/components/star.js +0 -5
- package/dist/components/start.js +0 -3
- package/dist/components/success.js +0 -18
- package/dist/components/thumbs-down.js +0 -5
- package/dist/components/thumbs-up.js +0 -6
- package/dist/components/tutotial.js +0 -27
- package/dist/components/unknown.js +0 -22
- package/dist/components/up-and-down.js +0 -12
- package/dist/components/user.js +0 -16
- package/dist/components/view.js +0 -3
- package/dist/esm/arrow-diagonal-black-8f0494c3.js +0 -3
- package/dist/esm/arrow-right-9322ba8a.js +0 -5
- package/dist/esm/bin-37cad2f0.js +0 -3
- package/dist/esm/bookmark-c200037c.js +0 -16
- package/dist/esm/chevron-down-6144c823.js +0 -12
- package/dist/esm/chevron-left-ca6c66e1.js +0 -11
- package/dist/esm/chevron-right-b88ed2d4.js +0 -5
- package/dist/esm/chevron-up-c66bd477.js +0 -12
- package/dist/esm/clone-dab56639.js +0 -3
- package/dist/esm/close-87fc0d63.js +0 -5
- package/dist/esm/copy-03b72cb6.js +0 -5
- package/dist/esm/download-47746956.js +0 -18
- package/dist/esm/draft-dd5dada2.js +0 -3
- package/dist/esm/edit-3893a517.js +0 -3
- package/dist/esm/eds-accordion_37.entry.js +0 -6868
- package/dist/esm/eds-card-desc_2.entry.js +0 -72
- package/dist/esm/eds-card-generic.entry.js +0 -87
- package/dist/esm/eds-card-project.entry.js +0 -191
- package/dist/esm/eds-card-section.entry.js +0 -35
- package/dist/esm/eds-card-tags.entry.js +0 -18
- package/dist/esm/eds-card-tool.entry.js +0 -75
- package/dist/esm/eds-footer.entry.js +0 -63
- package/dist/esm/eds-fullscreen-menu.entry.js +0 -87
- package/dist/esm/eds-icon-arrow-diagonal.entry.js +0 -14
- package/dist/esm/eds-icon-arrow-right.entry.js +0 -14
- package/dist/esm/eds-icon-bin.entry.js +0 -14
- package/dist/esm/eds-icon-bookmark.entry.js +0 -14
- package/dist/esm/eds-icon-chevron-down.entry.js +0 -14
- package/dist/esm/eds-icon-chevron-left.entry.js +0 -14
- package/dist/esm/eds-icon-chevron-right.entry.js +0 -14
- package/dist/esm/eds-icon-chevron-up.entry.js +0 -14
- package/dist/esm/eds-icon-clone.entry.js +0 -14
- package/dist/esm/eds-icon-close.entry.js +0 -14
- package/dist/esm/eds-icon-copy.entry.js +0 -14
- package/dist/esm/eds-icon-download.entry.js +0 -14
- package/dist/esm/eds-icon-draft.entry.js +0 -14
- package/dist/esm/eds-icon-edit.entry.js +0 -14
- package/dist/esm/eds-icon-external.entry.js +0 -14
- package/dist/esm/eds-icon-loader.entry.js +0 -14
- package/dist/esm/eds-icon-menu.entry.js +0 -14
- package/dist/esm/eds-icon-minus.entry.js +0 -14
- package/dist/esm/eds-icon-more.entry.js +0 -14
- package/dist/esm/eds-icon-paper.entry.js +0 -14
- package/dist/esm/eds-icon-plus.entry.js +0 -14
- package/dist/esm/eds-icon-portal.entry.js +0 -14
- package/dist/esm/eds-icon-private.entry.js +0 -14
- package/dist/esm/eds-icon-public.entry.js +0 -14
- package/dist/esm/eds-icon-search.entry.js +0 -14
- package/dist/esm/eds-icon-star.entry.js +0 -14
- package/dist/esm/eds-icon-start.entry.js +0 -14
- package/dist/esm/eds-icon-success.entry.js +0 -14
- package/dist/esm/eds-icon-thumbs-down.entry.js +0 -14
- package/dist/esm/eds-icon-thumbs-up.entry.js +0 -14
- package/dist/esm/eds-icon-tutorial.entry.js +0 -14
- package/dist/esm/eds-icon-unknown.entry.js +0 -14
- package/dist/esm/eds-icon-updown.entry.js +0 -14
- package/dist/esm/eds-icon-user.entry.js +0 -14
- package/dist/esm/eds-icon-view.entry.js +0 -14
- package/dist/esm/eds-progress-bar.entry.js +0 -52
- package/dist/esm/eds-social-networks.entry.js +0 -60
- package/dist/esm/eds-trl.entry.js +0 -47
- package/dist/esm/eu-9ddde93a.js +0 -30
- package/dist/esm/index-39c58238.js +0 -46
- package/dist/esm/loader-c9628637.js +0 -30
- package/dist/esm/logo-color-7f1fd803.js +0 -115
- package/dist/esm/logo-color-margins-ff8ce71b.js +0 -118
- package/dist/esm/logo-white-no-bg-f382f86f.js +0 -1029
- package/dist/esm/menu-340ea948.js +0 -11
- package/dist/esm/minus-b30a7c71.js +0 -11
- package/dist/esm/more-4449d549.js +0 -13
- package/dist/esm/paper-8e74ea31.js +0 -15
- package/dist/esm/plus-89c07be2.js +0 -12
- package/dist/esm/portal-d6c8ce56.js +0 -18
- package/dist/esm/private-1c25ff8e.js +0 -25
- package/dist/esm/public-d4d8c585.js +0 -16
- package/dist/esm/search-fbcd79c2.js +0 -12
- package/dist/esm/star-0da9b5e9.js +0 -5
- package/dist/esm/start-65126a4f.js +0 -3
- package/dist/esm/success-443809da.js +0 -18
- package/dist/esm/thumbs-down-a18fd049.js +0 -5
- package/dist/esm/thumbs-up-c19a71bc.js +0 -6
- package/dist/esm/tutotial-150ee1fd.js +0 -27
- package/dist/esm/unknown-ed01a24c.js +0 -22
- package/dist/esm/up-and-down-8b69ca97.js +0 -12
- package/dist/esm/user-71ebdc15.js +0 -16
- package/dist/esm/view-e900f2d4.js +0 -3
- package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/lib/svgs.d.ts +0 -65
- package/dist/types/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.d.ts +0 -15
- package/dist/types/components/eds-cards/eds-card-project/eds-card-project.d.ts +0 -54
- package/dist/types/components/eds-cards/eds-card-section/eds-card-section.d.ts +0 -70
- package/dist/types/components/eds-cards/eds-card-section/eds-card-section.stories.d.ts +0 -68
- package/dist/types/components/eds-cards/eds-card-tool/eds-card-tool.d.ts +0 -79
- package/dist/types/components/eds-fullscreen-menu/eds-fullscreen-menu.stories.d.ts +0 -29
- package/dist/types/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.d.ts +0 -10
- package/dist/types/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.d.ts +0 -10
- package/dist/types/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.d.ts +0 -10
- package/dist/types/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-bin/eds-icon-bin.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-clone/eds-icon-clone.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-close/eds-icon-close.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-copy/eds-icon-copy.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-download/eds-icon-download.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-draft/eds-icon-draft.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-edit/eds-icon-edit.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-external/eds-icon-external.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-loader/eds-icon-loader.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-menu/eds-icon-menu.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-minus/eds-icon-minus.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-more/eds-icon-more.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-paper/eds-icon-paper.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-plus/eds-icon-plus.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-portal/eds-icon-portal.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-private/eds-icon-private.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-public/eds-icon-public.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-search/eds-icon-search.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-star/eds-icon-star.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-start/eds-icon-start.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-success/eds-icon-success.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-unknown/eds-icon-unknown.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-updown/eds-icon-updown.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-user/eds-icon-user.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-view/eds-icon-view.d.ts +0 -10
- package/dist/types/components/eds-trl/eds-trl.d.ts +0 -12
- /package/dist/types/Users/{nigeor/Documents/Projects/EBRAINS → nikolaosgeorgomanolis/Documents/EBRAINS/Projects}/ebrains-ui-ecosystem/packages/components/.stencil/packages/components/stencil.config.d.ts +0 -0
- /package/dist/types/Users/{nigeor/Documents/Projects/EBRAINS → nikolaosgeorgomanolis/Documents/EBRAINS/Projects}/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/index.d.ts +0 -0
|
@@ -5,15 +5,21 @@
|
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
+
import { IconName } from "./utils/icons";
|
|
9
|
+
import { AppTag } from "./components/eds-cards/eds-card-app/eds-card-app";
|
|
10
|
+
import { CtaLink } from "./components/eds-cards/eds-card-cta/eds-card-cta";
|
|
8
11
|
import { Tag } from "./components/eds-cards/eds-card-generic/eds-card-generic";
|
|
9
|
-
import {
|
|
12
|
+
import { HeroTag } from "./components/eds-cards/eds-card-hero/eds-card-hero";
|
|
10
13
|
import { Event, VNode } from "./stencil-public-runtime";
|
|
11
14
|
import { SidebarItem } from "./components/eds-sidebar/eds-sidebar";
|
|
12
15
|
import { Step } from "./components/eds-steps/eds-steps";
|
|
13
16
|
import { Step as Step1 } from "./components/eds-steps-v2/eds-steps-v2";
|
|
14
17
|
import { TableAction } from "./components/eds-table/eds-table";
|
|
18
|
+
export { IconName } from "./utils/icons";
|
|
19
|
+
export { AppTag } from "./components/eds-cards/eds-card-app/eds-card-app";
|
|
20
|
+
export { CtaLink } from "./components/eds-cards/eds-card-cta/eds-card-cta";
|
|
15
21
|
export { Tag } from "./components/eds-cards/eds-card-generic/eds-card-generic";
|
|
16
|
-
export {
|
|
22
|
+
export { HeroTag } from "./components/eds-cards/eds-card-hero/eds-card-hero";
|
|
17
23
|
export { Event, VNode } from "./stencil-public-runtime";
|
|
18
24
|
export { SidebarItem } from "./components/eds-sidebar/eds-sidebar";
|
|
19
25
|
export { Step } from "./components/eds-steps/eds-steps";
|
|
@@ -49,32 +55,19 @@ export namespace Components {
|
|
|
49
55
|
}
|
|
50
56
|
/**
|
|
51
57
|
* `EdsAccordion` is a flexible, interactive component for expanding and collapsing content sections.
|
|
52
|
-
* It features a customizable header
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
* to track its open/close status.
|
|
58
|
-
* Key features include:
|
|
59
|
-
* - Header with customizable title
|
|
60
|
-
* - Expandable/collapsible content section
|
|
61
|
-
* - Background color switch on expand and hover
|
|
62
|
-
* - Compact layout option with reduced header height
|
|
63
|
-
* - Adjustable content height and text clamping
|
|
64
|
-
* - Emitted events for tracking changes in expansion state and context
|
|
58
|
+
* It features a customizable header with optional icon, description, and content area.
|
|
59
|
+
* Supports two visual variants (`default` and `inverse`) matching the card design system,
|
|
60
|
+
* with hover effects, smooth CSS-driven expand/collapse animation, and optional icon display.
|
|
61
|
+
* The `accordion` event is emitted when the accordion's expanded state changes, allowing parent
|
|
62
|
+
* components to track its open/close status.
|
|
65
63
|
*/
|
|
66
64
|
interface EdsAccordion {
|
|
67
65
|
/**
|
|
68
|
-
*
|
|
69
|
-
* @default 'tertiary'
|
|
70
|
-
*/
|
|
71
|
-
"buttonIntent": 'secondary' | 'tertiary' | 'ghost';
|
|
72
|
-
/**
|
|
73
|
-
* Clamps the text when the accordion is collapsed to prevent overflow
|
|
66
|
+
* Clamps the description text when the accordion is collapsed to prevent overflow
|
|
74
67
|
*/
|
|
75
68
|
"clampText": boolean;
|
|
76
69
|
/**
|
|
77
|
-
* Optional description displayed
|
|
70
|
+
* Optional description displayed below the title in the header
|
|
78
71
|
*/
|
|
79
72
|
"description"?: string;
|
|
80
73
|
/**
|
|
@@ -86,43 +79,54 @@ export namespace Components {
|
|
|
86
79
|
*/
|
|
87
80
|
"heading": string;
|
|
88
81
|
/**
|
|
89
|
-
*
|
|
82
|
+
* Optional icon displayed in the header
|
|
83
|
+
*/
|
|
84
|
+
"icon"?: IconName;
|
|
85
|
+
/**
|
|
86
|
+
* @deprecated Use `variant` prop instead. Kept for backward compatibility.
|
|
90
87
|
*/
|
|
91
88
|
"switchBg": boolean;
|
|
89
|
+
/**
|
|
90
|
+
* Visual variant: 'default' for dark background, 'inverse' for light background
|
|
91
|
+
*/
|
|
92
|
+
"variant": 'default' | 'inverse';
|
|
92
93
|
}
|
|
93
94
|
/**
|
|
94
|
-
* `EdsAlert` is a versatile alert component
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
* -
|
|
98
|
-
* -
|
|
99
|
-
* - Optional
|
|
100
|
-
* -
|
|
101
|
-
* This component is styled with predefined CSS classes to ensure consistent appearance across different alert types and layout configurations.
|
|
95
|
+
* `EdsAlert` is a versatile alert component for displaying contextual messages.
|
|
96
|
+
* Key features:
|
|
97
|
+
* - Contextual intents (`default`, `info`, `warning`, `error`, `success`) with matching icons and accent colors
|
|
98
|
+
* - Configurable layout direction (`horizontal` or `vertical`)
|
|
99
|
+
* - Optional action element (link when URL provided, ghost button otherwise)
|
|
100
|
+
* - Optional dismiss button to close the alert
|
|
101
|
+
* - Left accent border colored per intent
|
|
102
102
|
*/
|
|
103
103
|
interface EdsAlert {
|
|
104
104
|
/**
|
|
105
|
-
* The
|
|
105
|
+
* The layout direction of the alert content.
|
|
106
106
|
*/
|
|
107
|
-
"
|
|
107
|
+
"direction": 'horizontal' | 'vertical';
|
|
108
108
|
/**
|
|
109
|
-
*
|
|
109
|
+
* When true, shows a close button to dismiss the alert.
|
|
110
110
|
*/
|
|
111
|
-
"
|
|
111
|
+
"dismissible": boolean;
|
|
112
112
|
/**
|
|
113
|
-
*
|
|
113
|
+
* Optional icon override. When not set, an icon matching the intent is shown automatically.
|
|
114
114
|
*/
|
|
115
|
-
"
|
|
115
|
+
"icon"?: IconName;
|
|
116
116
|
/**
|
|
117
|
-
* The
|
|
117
|
+
* The visual intent of the alert. 'info' is an alias for 'default'.
|
|
118
118
|
*/
|
|
119
|
-
"
|
|
119
|
+
"intent": 'default' | 'info' | 'warning' | 'error' | 'success' | 'brand';
|
|
120
120
|
/**
|
|
121
|
-
*
|
|
121
|
+
* The main message or text to be displayed in the alert. If not provided, slot content will be used instead.
|
|
122
|
+
*/
|
|
123
|
+
"message"?: string;
|
|
124
|
+
/**
|
|
125
|
+
* Label for the action element (link or button).
|
|
122
126
|
*/
|
|
123
127
|
"pressableLabel"?: string;
|
|
124
128
|
/**
|
|
125
|
-
*
|
|
129
|
+
* URL for the action element. When provided, renders a link instead of a button.
|
|
126
130
|
*/
|
|
127
131
|
"pressableUrl"?: string;
|
|
128
132
|
}
|
|
@@ -180,24 +184,30 @@ export namespace Components {
|
|
|
180
184
|
*/
|
|
181
185
|
interface EdsBreadcrumb {
|
|
182
186
|
/**
|
|
183
|
-
* The visual style or intent of the breadcrumb links. Options include: '
|
|
187
|
+
* The visual style or intent of the breadcrumb links. Options include: 'ghost', 'strong', 'weak', 'inverse', 'underline'. Default is 'ghost'.
|
|
184
188
|
*/
|
|
185
|
-
"intent": '
|
|
189
|
+
"intent": 'ghost' | 'strong' | 'weak' | 'inverse' | 'underline';
|
|
186
190
|
/**
|
|
187
191
|
* An array of breadcrumb items. It can be passed as a JSON string or an array of objects. Each object should contain the properties: `label` (string) and `url` (string). Example: '[{"label": "Home", "url": "/"}, {"label": "Products", "url": "/products"}]'
|
|
188
192
|
*/
|
|
189
193
|
"items": string | Link[];
|
|
190
194
|
}
|
|
191
195
|
/**
|
|
192
|
-
* `EdsButton`
|
|
193
|
-
*
|
|
194
|
-
*
|
|
195
|
-
* -
|
|
196
|
-
* -
|
|
197
|
-
* -
|
|
198
|
-
* -
|
|
199
|
-
* -
|
|
200
|
-
*
|
|
196
|
+
* `EdsButton` - Updated for EBRAINS Visual System 2025
|
|
197
|
+
* A versatile button component designed for a range of actions and interactions.
|
|
198
|
+
* Updated to match the new EBRAINS visual identity with:
|
|
199
|
+
* - Brand black (#07140D) for primary buttons
|
|
200
|
+
* - Brand green (#00FF9D) for accents and focus states
|
|
201
|
+
* - Pill-shaped design (rounded-full by default)
|
|
202
|
+
* - IBM Plex Sans typography
|
|
203
|
+
* - High-contrast accessibility
|
|
204
|
+
* Key features:
|
|
205
|
+
* - Primary (black) and Secondary (outlined) button styles
|
|
206
|
+
* - Loading state indicator with proper color handling
|
|
207
|
+
* - Disabled state for control over user interactions
|
|
208
|
+
* - Optional icon display with customizable position and size
|
|
209
|
+
* - Support for different element types (button or a)
|
|
210
|
+
* - Emits custom Matomo event when clicked for tracking
|
|
201
211
|
*/
|
|
202
212
|
interface EdsButton {
|
|
203
213
|
/**
|
|
@@ -213,9 +223,13 @@ export namespace Components {
|
|
|
213
223
|
*/
|
|
214
224
|
"elementType": 'button' | 'a';
|
|
215
225
|
/**
|
|
216
|
-
*
|
|
226
|
+
* Whether the button should take the full width of its container.
|
|
217
227
|
*/
|
|
218
|
-
"
|
|
228
|
+
"fullWidth": boolean;
|
|
229
|
+
/**
|
|
230
|
+
* The icon name to be displayed inside the button.
|
|
231
|
+
*/
|
|
232
|
+
"icon"?: IconName;
|
|
219
233
|
/**
|
|
220
234
|
* The position of the icon inside the button. Options are 'left' or 'right'. Default is 'right'.
|
|
221
235
|
*/
|
|
@@ -225,9 +239,9 @@ export namespace Components {
|
|
|
225
239
|
*/
|
|
226
240
|
"iconSmall"?: boolean;
|
|
227
241
|
/**
|
|
228
|
-
* The visual intent or style of the button.
|
|
242
|
+
* The visual intent or style of the button. - 'primary': Brand black background with white text - 'secondary': Transparent/white background with black border and text - 'secondaryInverse': Transparent background with white border and white text (for dark backgrounds) - 'brand': Brand green background with black text (CTA style) - 'cta': CTA link style with monospace font (gray text that turns green on hover) - 'cta-brand': CTA link style with monospace font (always green)
|
|
229
243
|
*/
|
|
230
|
-
"intent": 'primary' | 'secondary' | '
|
|
244
|
+
"intent": 'primary' | 'secondary' | 'secondaryInverse' | 'ghost' | 'ghostInverse' | 'brand' | 'brandInverse' | 'neutral' | 'cta' | 'cta-brand';
|
|
231
245
|
/**
|
|
232
246
|
* The label text to be displayed inside the button.
|
|
233
247
|
*/
|
|
@@ -237,7 +251,7 @@ export namespace Components {
|
|
|
237
251
|
*/
|
|
238
252
|
"loading": boolean;
|
|
239
253
|
/**
|
|
240
|
-
* A boolean to determine if the button should have a pill shape (rounded).
|
|
254
|
+
* A boolean to determine if the button should have a pill shape (rounded-full). Default is true to match new EBRAINS visual system.
|
|
241
255
|
*/
|
|
242
256
|
"pill": boolean;
|
|
243
257
|
/**
|
|
@@ -249,225 +263,267 @@ export namespace Components {
|
|
|
249
263
|
*/
|
|
250
264
|
"triggerClick"?: () => void;
|
|
251
265
|
}
|
|
252
|
-
|
|
266
|
+
/**
|
|
267
|
+
* `EdsCardApp` is a card component designed to showcase applications with category, title, description, tags, and link.
|
|
268
|
+
* Key features:
|
|
269
|
+
* - Category label at the top (e.g., "BRAIN ATLASES", "DATA MANAGEMENT")
|
|
270
|
+
* - Large, lightweight title
|
|
271
|
+
* - Description text
|
|
272
|
+
* - Multiple tags for features/technologies
|
|
273
|
+
* - Optional action link at the bottom
|
|
274
|
+
* - Hover effects with transform and border glow
|
|
275
|
+
* This component is ideal for application grids, service catalogs, and platform showcases.
|
|
276
|
+
*/
|
|
277
|
+
interface EdsCardApp {
|
|
253
278
|
/**
|
|
254
|
-
* The
|
|
279
|
+
* The category label (e.g., "BRAIN ATLASES", "DATA MANAGEMENT") Optional - if not provided, the category tag won't be displayed
|
|
255
280
|
*/
|
|
256
|
-
"
|
|
281
|
+
"category"?: string;
|
|
257
282
|
/**
|
|
258
|
-
*
|
|
283
|
+
* The description text
|
|
259
284
|
*/
|
|
260
|
-
"
|
|
285
|
+
"description": string;
|
|
261
286
|
/**
|
|
262
|
-
*
|
|
287
|
+
* Optional link text (defaults to "Explore Components")
|
|
263
288
|
*/
|
|
264
|
-
"
|
|
265
|
-
}
|
|
266
|
-
/**
|
|
267
|
-
* `EdsCardGeneric` is a versatile card component designed to display rich content such as titles, descriptions, images, and tags.
|
|
268
|
-
* The card supports various visual configurations, including hover effects, background styling, and compact layout options.
|
|
269
|
-
* Key features include:
|
|
270
|
-
* - A customizable title with an optional link.
|
|
271
|
-
* - Display of images, avatars, or initials based on the available content.
|
|
272
|
-
* - Optional description, tag display, and hover effects for interactive use.
|
|
273
|
-
* - Integration with Matomo analytics, emitting a custom event when the card is clicked.
|
|
274
|
-
* This component is ideal for use in interfaces where structured card-like display elements are needed.
|
|
275
|
-
*/
|
|
276
|
-
interface EdsCardGeneric {
|
|
289
|
+
"linkText": string;
|
|
277
290
|
/**
|
|
278
|
-
*
|
|
291
|
+
* Tags to display (features, technologies, etc.) Can be a JSON string or array of tag objects
|
|
279
292
|
*/
|
|
280
|
-
"
|
|
293
|
+
"tags": string | AppTag[];
|
|
281
294
|
/**
|
|
282
|
-
*
|
|
295
|
+
* The main title of the application
|
|
283
296
|
*/
|
|
284
|
-
"
|
|
297
|
+
"title": string;
|
|
285
298
|
/**
|
|
286
|
-
*
|
|
299
|
+
* Optional URL for the action link
|
|
287
300
|
*/
|
|
288
|
-
"
|
|
301
|
+
"url"?: string;
|
|
289
302
|
/**
|
|
290
|
-
*
|
|
303
|
+
* Visual variant: 'default' for light text on dark background, 'inverse' for dark text on light background
|
|
291
304
|
*/
|
|
292
|
-
"
|
|
305
|
+
"variant": 'default' | 'inverse';
|
|
306
|
+
}
|
|
307
|
+
/**
|
|
308
|
+
* `EdsCardCta` is a call-to-action card component with title, description, action buttons, and footer links.
|
|
309
|
+
* Key features:
|
|
310
|
+
* - Large title with line breaks
|
|
311
|
+
* - Description text
|
|
312
|
+
* - Primary and secondary action buttons
|
|
313
|
+
* - Footer links in a row
|
|
314
|
+
* - Animated rotating radial gradient background
|
|
315
|
+
* - Green border with hover effects
|
|
316
|
+
* - Variant support (default/inverse)
|
|
317
|
+
* This component is ideal for landing pages, campaign sections, and conversion-focused layouts.
|
|
318
|
+
*/
|
|
319
|
+
interface EdsCardCta {
|
|
293
320
|
/**
|
|
294
|
-
* The
|
|
321
|
+
* The description text below the title
|
|
295
322
|
*/
|
|
296
|
-
"
|
|
323
|
+
"description": string;
|
|
297
324
|
/**
|
|
298
|
-
*
|
|
325
|
+
* Footer links as JSON string or array of link objects Example: [{"label": "GitLab Repository", "url": "#"}, {"label": "Storybook", "url": "#"}]
|
|
299
326
|
*/
|
|
300
|
-
"
|
|
327
|
+
"links": string | CtaLink[];
|
|
301
328
|
/**
|
|
302
|
-
*
|
|
329
|
+
* Text for the primary action button
|
|
303
330
|
*/
|
|
304
|
-
"
|
|
331
|
+
"primaryButtonText": string;
|
|
305
332
|
/**
|
|
306
|
-
*
|
|
333
|
+
* URL for the primary action button
|
|
307
334
|
*/
|
|
308
|
-
"
|
|
335
|
+
"primaryButtonUrl"?: string;
|
|
309
336
|
/**
|
|
310
|
-
*
|
|
337
|
+
* Text for the secondary action button
|
|
311
338
|
*/
|
|
312
|
-
"
|
|
339
|
+
"secondaryButtonText"?: string;
|
|
313
340
|
/**
|
|
314
|
-
*
|
|
341
|
+
* URL for the secondary action button
|
|
315
342
|
*/
|
|
316
|
-
"
|
|
343
|
+
"secondaryButtonUrl"?: string;
|
|
317
344
|
/**
|
|
318
|
-
* The
|
|
345
|
+
* The main title text (supports HTML for line breaks)
|
|
319
346
|
*/
|
|
320
|
-
"
|
|
347
|
+
"title": string;
|
|
321
348
|
/**
|
|
322
|
-
*
|
|
349
|
+
* Visual variant: 'default' for brand-black background, 'inverse' for white background
|
|
323
350
|
*/
|
|
324
|
-
"
|
|
351
|
+
"variant": 'default' | 'inverse';
|
|
325
352
|
}
|
|
326
|
-
interface
|
|
353
|
+
interface EdsCardDesc {
|
|
327
354
|
/**
|
|
328
|
-
*
|
|
355
|
+
* The description text to be displayed inside the card.
|
|
329
356
|
*/
|
|
330
|
-
"
|
|
357
|
+
"description": string;
|
|
358
|
+
"intent": 'primary' | 'secondary' | 'inverse' | 'dark';
|
|
331
359
|
/**
|
|
332
|
-
*
|
|
360
|
+
* A boolean indicating whether the description should be truncated. Default is `true`.
|
|
333
361
|
*/
|
|
334
|
-
"
|
|
362
|
+
"truncate": boolean;
|
|
335
363
|
/**
|
|
336
|
-
*
|
|
364
|
+
* The number of lines to truncate the description to. Default is 3 lines.
|
|
337
365
|
*/
|
|
338
|
-
"
|
|
366
|
+
"truncateLines": string;
|
|
367
|
+
}
|
|
368
|
+
/**
|
|
369
|
+
* `EdsCardFeature` is a card component designed to showcase features with an icon, title, description, and optional link.
|
|
370
|
+
* Key features:
|
|
371
|
+
* - Icon at the top in a colored background box
|
|
372
|
+
* - Title and description
|
|
373
|
+
* - Optional "Learn more" link with arrow
|
|
374
|
+
* - Hover effects with background color change and border glow
|
|
375
|
+
* This component is ideal for feature grids, service listings, and capability showcases.
|
|
376
|
+
*/
|
|
377
|
+
interface EdsCardFeature {
|
|
339
378
|
/**
|
|
340
|
-
*
|
|
379
|
+
* The description text
|
|
341
380
|
*/
|
|
342
|
-
"
|
|
381
|
+
"description": string;
|
|
343
382
|
/**
|
|
344
|
-
*
|
|
383
|
+
* The icon to display at the top of the card
|
|
345
384
|
*/
|
|
346
|
-
"
|
|
385
|
+
"icon"?: IconName;
|
|
347
386
|
/**
|
|
348
|
-
*
|
|
387
|
+
* Optional link text (defaults to "Learn more")
|
|
349
388
|
*/
|
|
350
|
-
"
|
|
389
|
+
"linkText": string;
|
|
351
390
|
/**
|
|
352
|
-
*
|
|
391
|
+
* The title of the feature
|
|
353
392
|
*/
|
|
354
|
-
"
|
|
393
|
+
"title": string;
|
|
355
394
|
/**
|
|
356
|
-
* URL
|
|
395
|
+
* Optional URL for "Learn more" link
|
|
357
396
|
*/
|
|
358
397
|
"url"?: string;
|
|
359
398
|
/**
|
|
360
|
-
*
|
|
399
|
+
* Visual variant: 'default' for light text on dark background, 'inverse' for dark text on light background
|
|
361
400
|
*/
|
|
362
|
-
"
|
|
401
|
+
"variant": 'default' | 'inverse';
|
|
363
402
|
}
|
|
364
403
|
/**
|
|
365
|
-
* `
|
|
366
|
-
*
|
|
367
|
-
* Key
|
|
368
|
-
* -
|
|
369
|
-
* -
|
|
370
|
-
*
|
|
404
|
+
* `EdsCardGeneric` is a versatile card component designed to display rich content such as titles, descriptions, images, and tags.
|
|
405
|
+
* The card supports various visual configurations, including hover effects, background styling, and compact layout options.
|
|
406
|
+
* Key features include:
|
|
407
|
+
* - A customizable title with an optional link.
|
|
408
|
+
* - Display of images, avatars, or initials based on the available content.
|
|
409
|
+
* - Optional description, tag display, and hover effects for interactive use.
|
|
410
|
+
* - Integration with Matomo analytics, emitting a custom event when the card is clicked.
|
|
411
|
+
* This component is ideal for use in interfaces where structured card-like display elements are needed.
|
|
371
412
|
*/
|
|
372
|
-
interface
|
|
373
|
-
/**
|
|
374
|
-
* JSON string representing an array of card objects. Each card object can contain properties like `title`, `description`, `avatar`, `headingLevel`, `tags`, `url`, `bg`, `tiny`, and `image`. Example: ```json '[{"title": "Card Title", "description": "Description", "avatar": "/path/to/avatar.jpg", "url": "http://example.com"}]' ```
|
|
375
|
-
*/
|
|
376
|
-
"cards": string | Card[];
|
|
413
|
+
interface EdsCardGeneric {
|
|
377
414
|
/**
|
|
378
|
-
*
|
|
415
|
+
* The description text displayed within the card.
|
|
379
416
|
*/
|
|
380
|
-
"
|
|
381
|
-
}
|
|
382
|
-
interface EdsCardTags {
|
|
417
|
+
"description"?: string;
|
|
383
418
|
/**
|
|
384
|
-
*
|
|
419
|
+
* Optional icon name to display at the top of the card (instead of an image).
|
|
385
420
|
*/
|
|
386
|
-
"
|
|
421
|
+
"icon"?: IconName;
|
|
422
|
+
"intent": 'primary' | 'secondary' | 'inverse' | 'dark';
|
|
387
423
|
/**
|
|
388
|
-
*
|
|
424
|
+
* Tags related to the card content.
|
|
389
425
|
*/
|
|
390
|
-
"tags": string[];
|
|
391
|
-
}
|
|
392
|
-
interface EdsCardTitle {
|
|
426
|
+
"tags": string | Tag[];
|
|
393
427
|
/**
|
|
394
|
-
* The
|
|
428
|
+
* The title of the card. This is required and displayed prominently.
|
|
395
429
|
*/
|
|
396
|
-
"
|
|
430
|
+
"title": string;
|
|
397
431
|
/**
|
|
398
|
-
*
|
|
432
|
+
* The size of the title text. Controls the heading level and font size. Default is 'large' (f-heading-03).
|
|
399
433
|
*/
|
|
400
|
-
"
|
|
434
|
+
"titleSize": 'display' | 'xlarge' | 'large' | 'medium' | 'small';
|
|
401
435
|
/**
|
|
402
|
-
* The
|
|
436
|
+
* The URL that the card title links to. If provided, the title becomes a clickable link.
|
|
403
437
|
*/
|
|
404
|
-
"
|
|
438
|
+
"url"?: string;
|
|
439
|
+
}
|
|
440
|
+
/**
|
|
441
|
+
* `EdsCardHero` is a floating card component designed for hero sections with label, title, description, and tags.
|
|
442
|
+
* Key features:
|
|
443
|
+
* - Small uppercase label (e.g., "DATA MANAGEMENT")
|
|
444
|
+
* - Large, lightweight title
|
|
445
|
+
* - Description text
|
|
446
|
+
* - Multiple tags at the bottom
|
|
447
|
+
* - Floating animation effects
|
|
448
|
+
* - Hover effects with border glow
|
|
449
|
+
* This component is ideal for hero sections, landing pages, and feature highlights.
|
|
450
|
+
*/
|
|
451
|
+
interface EdsCardHero {
|
|
405
452
|
/**
|
|
406
|
-
*
|
|
453
|
+
* The small label displayed at the top (e.g., "DATA MANAGEMENT", "BRAIN ATLASES")
|
|
407
454
|
*/
|
|
408
|
-
"
|
|
455
|
+
"category": string;
|
|
409
456
|
/**
|
|
410
|
-
* The
|
|
457
|
+
* The description text
|
|
411
458
|
*/
|
|
412
|
-
"
|
|
459
|
+
"description"?: string;
|
|
413
460
|
/**
|
|
414
|
-
*
|
|
461
|
+
* Tags to display at the bottom of the card Can be a JSON string or array of tag objects
|
|
415
462
|
*/
|
|
416
|
-
"
|
|
417
|
-
}
|
|
418
|
-
interface EdsCardTool {
|
|
463
|
+
"tags": string | HeroTag[];
|
|
419
464
|
/**
|
|
420
|
-
* The
|
|
465
|
+
* The main title of the card
|
|
421
466
|
*/
|
|
422
|
-
"
|
|
467
|
+
"title": string;
|
|
423
468
|
/**
|
|
424
|
-
*
|
|
469
|
+
* Optional URL to link the card to
|
|
425
470
|
*/
|
|
426
|
-
"
|
|
471
|
+
"url"?: string;
|
|
427
472
|
/**
|
|
428
|
-
*
|
|
473
|
+
* Visual variant: 'default' for light text on dark background, 'inverse' for dark text on light background
|
|
429
474
|
*/
|
|
430
|
-
"
|
|
475
|
+
"variant": 'default' | 'inverse';
|
|
476
|
+
}
|
|
477
|
+
/**
|
|
478
|
+
* `EdsCardStat` is a card component designed to display statistics with a large number, label, and description.
|
|
479
|
+
* Key features:
|
|
480
|
+
* - Large prominent number display (e.g., "44+", "100%", "AA")
|
|
481
|
+
* - Label describing the statistic
|
|
482
|
+
* - Optional description for additional context
|
|
483
|
+
* - Hover effects with animated top border
|
|
484
|
+
* - Support for optional links
|
|
485
|
+
* This component is ideal for dashboards, landing pages, and any interface displaying key metrics.
|
|
486
|
+
*/
|
|
487
|
+
interface EdsCardStat {
|
|
431
488
|
/**
|
|
432
|
-
*
|
|
489
|
+
* Optional description providing additional context
|
|
433
490
|
*/
|
|
434
491
|
"description"?: string;
|
|
435
492
|
/**
|
|
436
|
-
*
|
|
493
|
+
* The label describing the statistic
|
|
437
494
|
*/
|
|
438
|
-
"
|
|
495
|
+
"label": string;
|
|
439
496
|
/**
|
|
440
|
-
* The
|
|
497
|
+
* The main statistic number or value to display (e.g., "44+", "100%", "AA")
|
|
441
498
|
*/
|
|
442
|
-
"
|
|
499
|
+
"number": string;
|
|
443
500
|
/**
|
|
444
|
-
*
|
|
501
|
+
* Optional URL to link the card to
|
|
445
502
|
*/
|
|
446
|
-
"
|
|
503
|
+
"url"?: string;
|
|
447
504
|
/**
|
|
448
|
-
*
|
|
505
|
+
* Visual variant: 'default' for light text on dark background, 'inverse' for dark text on light background
|
|
449
506
|
*/
|
|
450
|
-
"
|
|
507
|
+
"variant": 'default' | 'inverse';
|
|
508
|
+
}
|
|
509
|
+
interface EdsCardTitle {
|
|
451
510
|
/**
|
|
452
|
-
*
|
|
511
|
+
* Indicates whether the link should open in a new tab if the URL is provided. Default is `false`.
|
|
453
512
|
*/
|
|
454
|
-
"
|
|
513
|
+
"externalLink": boolean;
|
|
514
|
+
"intent": 'primary' | 'secondary' | 'inverse' | 'dark';
|
|
455
515
|
/**
|
|
456
|
-
*
|
|
516
|
+
* The size of the title text. Controls the heading level and font size. Default is 'large' (f-heading-03).
|
|
457
517
|
*/
|
|
458
|
-
"
|
|
518
|
+
"size": 'display' | 'xlarge' | 'large' | 'medium' | 'small';
|
|
459
519
|
/**
|
|
460
|
-
*
|
|
520
|
+
* The text content for the title.
|
|
461
521
|
*/
|
|
462
|
-
"
|
|
522
|
+
"title": string;
|
|
463
523
|
/**
|
|
464
|
-
* The URL that the
|
|
524
|
+
* The URL that the title should link to. If provided, the title will be rendered as an anchor (`<a>`).
|
|
465
525
|
*/
|
|
466
526
|
"url"?: string;
|
|
467
|
-
/**
|
|
468
|
-
* A boolean that determines whether the card should display a hover effect. If true, the card will have a shadow effect and change its cursor on hover.
|
|
469
|
-
*/
|
|
470
|
-
"withHover": boolean;
|
|
471
527
|
}
|
|
472
528
|
/**
|
|
473
529
|
* A component that displays a code block with syntax highlighting.
|
|
@@ -492,15 +548,7 @@ export namespace Components {
|
|
|
492
548
|
/**
|
|
493
549
|
* The visual intent or style of the button.
|
|
494
550
|
*/
|
|
495
|
-
"intent"?: | '
|
|
496
|
-
| 'secondary'
|
|
497
|
-
| 'tertiary'
|
|
498
|
-
| 'ghost'
|
|
499
|
-
| 'strong'
|
|
500
|
-
| 'weak'
|
|
501
|
-
| 'inverse'
|
|
502
|
-
| 'underline'
|
|
503
|
-
| 'blueish';
|
|
551
|
+
"intent"?: 'primary' | 'secondary' | 'ghost' | 'strong' | 'weak' | 'inverse' | 'underline';
|
|
504
552
|
}
|
|
505
553
|
/**
|
|
506
554
|
* `EdsDropdown` is a versatile dropdown component that provides a list of items
|
|
@@ -556,13 +604,13 @@ export namespace Components {
|
|
|
556
604
|
* @type {string}
|
|
557
605
|
* @default 'chevron-down'
|
|
558
606
|
*/
|
|
559
|
-
"icon"
|
|
607
|
+
"icon"?: IconName;
|
|
560
608
|
/**
|
|
561
|
-
* Visual intent of the dropdown button. Options include: 'primary', 'secondary'
|
|
562
|
-
* @type {'primary' | 'secondary'
|
|
609
|
+
* Visual intent of the dropdown button. Options include: 'primary', 'secondary'.
|
|
610
|
+
* @type {'primary' | 'secondary' }
|
|
563
611
|
* @default 'tertiary'
|
|
564
612
|
*/
|
|
565
|
-
"intent"?: 'primary' | 'secondary' | '
|
|
613
|
+
"intent"?: 'primary' | 'secondary' | 'brand' | 'ghost' | 'neutral';
|
|
566
614
|
/**
|
|
567
615
|
* Label for the dropdown button.
|
|
568
616
|
* @type {string}
|
|
@@ -572,12 +620,6 @@ export namespace Components {
|
|
|
572
620
|
* Opt-out attribute - elements with this attribute won't trigger auto-close
|
|
573
621
|
*/
|
|
574
622
|
"noCloseSelector": string;
|
|
575
|
-
/**
|
|
576
|
-
* Whether the dropdown nav list placeholder has rounded (pill) styling.
|
|
577
|
-
* @type {boolean}
|
|
578
|
-
* @default false
|
|
579
|
-
*/
|
|
580
|
-
"rounded": boolean;
|
|
581
623
|
}
|
|
582
624
|
interface EdsFeedback {
|
|
583
625
|
/**
|
|
@@ -653,6 +695,11 @@ export namespace Components {
|
|
|
653
695
|
* @type {boolean}
|
|
654
696
|
*/
|
|
655
697
|
"social": boolean;
|
|
698
|
+
/**
|
|
699
|
+
* Controls the visual variant of the footer. - 'default': Light background with dark text - 'inverse': Dark/black background with white text
|
|
700
|
+
* @type {'default' | 'inverse'}
|
|
701
|
+
*/
|
|
702
|
+
"variant": 'default' | 'inverse';
|
|
656
703
|
}
|
|
657
704
|
/**
|
|
658
705
|
* `EdsFormV2` is a comprehensive form component designed to handle form submission with validation,
|
|
@@ -666,9 +713,17 @@ export namespace Components {
|
|
|
666
713
|
*/
|
|
667
714
|
interface EdsForm {
|
|
668
715
|
/**
|
|
669
|
-
* Variant/style intent for the submit button (e.g., primary, secondary
|
|
716
|
+
* Variant/style intent for the submit button (e.g., primary, secondary).
|
|
670
717
|
*/
|
|
671
|
-
"buttonIntent"?: 'primary' | 'secondary'
|
|
718
|
+
"buttonIntent"?: 'primary' | 'secondary';
|
|
719
|
+
/**
|
|
720
|
+
* If `true`, includes a clear/reset button in the form.
|
|
721
|
+
*/
|
|
722
|
+
"clearBtn"?: boolean;
|
|
723
|
+
/**
|
|
724
|
+
* Label for the clear button
|
|
725
|
+
*/
|
|
726
|
+
"clearBtnLabel"?: string;
|
|
672
727
|
/**
|
|
673
728
|
* The description displayed below the title.
|
|
674
729
|
*/
|
|
@@ -690,9 +745,9 @@ export namespace Components {
|
|
|
690
745
|
*/
|
|
691
746
|
"formBtnLabel"?: string;
|
|
692
747
|
/**
|
|
693
|
-
* Choose between default layout or
|
|
748
|
+
* Choose between default layout, shadow style, or brand style. - "default": Standard form layout - "shadow": Form with shadow effect - "brand": EBRAINS branded form with left border and shadow
|
|
694
749
|
*/
|
|
695
|
-
"formStyle": 'default' | 'shadow';
|
|
750
|
+
"formStyle": 'default' | 'shadow' | 'brand';
|
|
696
751
|
"getData": () => Promise<FormData>;
|
|
697
752
|
/**
|
|
698
753
|
* New: list of groups, each with `{ id: string, title: string }`
|
|
@@ -732,7 +787,7 @@ export namespace Components {
|
|
|
732
787
|
/**
|
|
733
788
|
* The intent for styling the link (e.g., primary, secondary, tertiary, etc.).
|
|
734
789
|
*/
|
|
735
|
-
"intent": 'primary' | 'secondary' | '
|
|
790
|
+
"intent": 'primary' | 'secondary' | 'ghost' | 'underline' | 'cta';
|
|
736
791
|
/**
|
|
737
792
|
* The size of the frame controlling its height. Options: 'auto', 'sm', 'md', 'lg', 'xl'
|
|
738
793
|
*/
|
|
@@ -746,16 +801,6 @@ export namespace Components {
|
|
|
746
801
|
*/
|
|
747
802
|
"urlLabel"?: string;
|
|
748
803
|
}
|
|
749
|
-
/**
|
|
750
|
-
* `eds-fullscreen-menu` is a fullscreen menu component designed for the EBRAINS platform.
|
|
751
|
-
* It provides a responsive, full-window overlay menu with navigation links and additional options.
|
|
752
|
-
* This component is suitable for mobile and small screens, where a fullscreen menu enhances user navigation.
|
|
753
|
-
* ## Key Features
|
|
754
|
-
* - **Links and Menu Links**: Allows configurable primary and secondary navigation links.
|
|
755
|
-
* - **Event-Driven Open/Close**: Listens for a `toggleMenu` event to open or close the menu, emitted by the `eds-header` component.
|
|
756
|
-
* - **Responsive Behavior**: Automatically closes the menu when the screen width is larger than a specified breakpoint (1024px).
|
|
757
|
-
* - **Footer Integration**: Optionally displays social links and a customizable footer section within the fullscreen menu.
|
|
758
|
-
*/
|
|
759
804
|
interface EdsFullscreenMenu {
|
|
760
805
|
"close": () => Promise<void>;
|
|
761
806
|
/**
|
|
@@ -806,15 +851,69 @@ export namespace Components {
|
|
|
806
851
|
"valueMin": number;
|
|
807
852
|
"variant": 'default' | 'dark' | 'strong' | 'black';
|
|
808
853
|
}
|
|
854
|
+
interface EdsGitlabContributors {
|
|
855
|
+
/**
|
|
856
|
+
* GitLab personal access token for API authentication (required for internal projects)
|
|
857
|
+
*/
|
|
858
|
+
"accessToken": string;
|
|
859
|
+
/**
|
|
860
|
+
* GitLab API base URL
|
|
861
|
+
*/
|
|
862
|
+
"apiUrl": string;
|
|
863
|
+
/**
|
|
864
|
+
* Grid columns for responsive layout Options: '2', '3', '4', '5'
|
|
865
|
+
*/
|
|
866
|
+
"columns": '2' | '3' | '4' | '5';
|
|
867
|
+
/**
|
|
868
|
+
* Maximum number of contributors to display
|
|
869
|
+
*/
|
|
870
|
+
"limit": number;
|
|
871
|
+
/**
|
|
872
|
+
* Minimum commits to be included in the list
|
|
873
|
+
*/
|
|
874
|
+
"minCommits": number;
|
|
875
|
+
/**
|
|
876
|
+
* Optional path to filter commits (e.g., "apps/live/handbook") Only applied to project 1505 (monorepo). Other projects fetch all contributors.
|
|
877
|
+
*/
|
|
878
|
+
"path"?: string;
|
|
879
|
+
/**
|
|
880
|
+
* GitLab project ID(s) - single ID or comma-separated IDs for multiple projects Example: "3360" or "3360,1770" or "ri%2Ftech-hub%2Febrains-ui-ecosystem"
|
|
881
|
+
*/
|
|
882
|
+
"projectId": string;
|
|
883
|
+
/**
|
|
884
|
+
* Show contribution statistics (commits, additions, deletions)
|
|
885
|
+
*/
|
|
886
|
+
"showStats": boolean;
|
|
887
|
+
/**
|
|
888
|
+
* Sort contributors by commits (desc) or username (asc)
|
|
889
|
+
*/
|
|
890
|
+
"sortBy": 'commits' | 'name';
|
|
891
|
+
}
|
|
809
892
|
interface EdsGlobalSearch {
|
|
810
893
|
/**
|
|
811
894
|
* API endpoint for search
|
|
812
895
|
*/
|
|
813
896
|
"apiEndpoint": string;
|
|
897
|
+
/**
|
|
898
|
+
* Optional authorization token (JWT) to include in requests When provided, will be sent as "Bearer <token>" in Authorization header
|
|
899
|
+
*/
|
|
900
|
+
"authToken": string;
|
|
901
|
+
/**
|
|
902
|
+
* Current site origin (auto-detected if not provided)
|
|
903
|
+
*/
|
|
904
|
+
"currentOrigin": string;
|
|
905
|
+
/**
|
|
906
|
+
* Current source identifier (e.g., 'handbook', 'design') Results matching this source will open in same tab
|
|
907
|
+
*/
|
|
908
|
+
"currentSource": string;
|
|
814
909
|
/**
|
|
815
910
|
* Debounce delay in milliseconds
|
|
816
911
|
*/
|
|
817
912
|
"debounceDelay": number;
|
|
913
|
+
/**
|
|
914
|
+
* Force all results to open in new tab (useful when embedded in external sites)
|
|
915
|
+
*/
|
|
916
|
+
"forceNewTab": boolean;
|
|
818
917
|
/**
|
|
819
918
|
* Maximum number of results to fetch
|
|
820
919
|
*/
|
|
@@ -836,14 +935,6 @@ export namespace Components {
|
|
|
836
935
|
* This component is well-suited for creating a unified header across the platform with seamless integration of navigation, authentication, and responsive design elements.
|
|
837
936
|
*/
|
|
838
937
|
interface EdsHeader {
|
|
839
|
-
/**
|
|
840
|
-
* Header style variant: determines text and background colors. - "default": text-default on bg-dark - "inverse": text-default on bg-inverse - "strong": text-inverse on bg-strongest
|
|
841
|
-
*/
|
|
842
|
-
"headerVariant": 'default' | 'inverse' | 'strong';
|
|
843
|
-
/**
|
|
844
|
-
* URL for the home logo link. This is the default URL that the logo points to.
|
|
845
|
-
*/
|
|
846
|
-
"homeUrl": string;
|
|
847
938
|
/**
|
|
848
939
|
* JSON string representing the links for primary navigation. Each link should include `label`, `url`, and optionally an `icon`.
|
|
849
940
|
*/
|
|
@@ -851,25 +942,15 @@ export namespace Components {
|
|
|
851
942
|
/**
|
|
852
943
|
* Flag to enable or disable header menu toggle feature. When true, displays the toggle in the header. Requires the <eds-fullscreen-menu> to properly work.
|
|
853
944
|
*/
|
|
854
|
-
"
|
|
855
|
-
}
|
|
856
|
-
interface EdsIconArrowDiagonal {
|
|
857
|
-
/**
|
|
858
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
859
|
-
*/
|
|
860
|
-
"class": string;
|
|
861
|
-
}
|
|
862
|
-
interface EdsIconArrowRight {
|
|
945
|
+
"menu": boolean;
|
|
863
946
|
/**
|
|
864
|
-
*
|
|
947
|
+
* URL for the home logo link. This is the default URL that the logo points to.
|
|
865
948
|
*/
|
|
866
|
-
"
|
|
867
|
-
}
|
|
868
|
-
interface EdsIconBin {
|
|
949
|
+
"url": string;
|
|
869
950
|
/**
|
|
870
|
-
*
|
|
951
|
+
* Header style variant: determines text and background colors. - "default": text-default on bg-dark - "inverse": text-default on bg-inverse - "strong": text-inverse on bg-strongest
|
|
871
952
|
*/
|
|
872
|
-
"
|
|
953
|
+
"variant": 'default' | 'inverse' | 'strong';
|
|
873
954
|
}
|
|
874
955
|
interface EdsIconBluesky {
|
|
875
956
|
/**
|
|
@@ -877,308 +958,101 @@ export namespace Components {
|
|
|
877
958
|
*/
|
|
878
959
|
"class": string;
|
|
879
960
|
}
|
|
880
|
-
interface
|
|
961
|
+
interface EdsIconEu {
|
|
881
962
|
/**
|
|
882
963
|
* Additional CSS classes to be applied to the icon for styling.
|
|
883
964
|
*/
|
|
884
965
|
"class": string;
|
|
885
966
|
}
|
|
886
|
-
interface
|
|
967
|
+
interface EdsIconFacebook {
|
|
887
968
|
/**
|
|
888
969
|
* Additional CSS classes to be applied to the icon for styling.
|
|
889
970
|
*/
|
|
890
971
|
"class": string;
|
|
891
972
|
}
|
|
892
|
-
interface
|
|
973
|
+
interface EdsIconGitlab {
|
|
893
974
|
/**
|
|
894
975
|
* Additional CSS classes to be applied to the icon for styling.
|
|
895
976
|
*/
|
|
896
977
|
"class": string;
|
|
897
978
|
}
|
|
898
|
-
interface
|
|
979
|
+
interface EdsIconLinkedin {
|
|
899
980
|
/**
|
|
900
981
|
* Additional CSS classes to be applied to the icon for styling.
|
|
901
982
|
*/
|
|
902
983
|
"class": string;
|
|
903
984
|
}
|
|
904
|
-
interface
|
|
985
|
+
interface EdsIconMastodon {
|
|
905
986
|
/**
|
|
906
987
|
* Additional CSS classes to be applied to the icon for styling.
|
|
907
988
|
*/
|
|
908
989
|
"class": string;
|
|
909
990
|
}
|
|
910
|
-
interface
|
|
991
|
+
interface EdsIconTwitter {
|
|
911
992
|
/**
|
|
912
993
|
* Additional CSS classes to be applied to the icon for styling.
|
|
913
994
|
*/
|
|
914
995
|
"class": string;
|
|
915
996
|
}
|
|
916
|
-
interface
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
*/
|
|
920
|
-
"class": string;
|
|
997
|
+
interface EdsIconWrapper {
|
|
998
|
+
"name": IconName;
|
|
999
|
+
"size": 16 | 20 | 24 | 32;
|
|
921
1000
|
}
|
|
922
|
-
interface
|
|
1001
|
+
interface EdsIconYoutube {
|
|
923
1002
|
/**
|
|
924
1003
|
* Additional CSS classes to be applied to the icon for styling.
|
|
925
1004
|
*/
|
|
926
1005
|
"class": string;
|
|
927
1006
|
}
|
|
928
|
-
|
|
1007
|
+
/**
|
|
1008
|
+
* `EdsImg` is a flexible image component with support for lazy loading, responsive image formats, and background effects during loading.
|
|
1009
|
+
* Key Features:
|
|
1010
|
+
* - Allows responsive images using the `srcset` and `sizes` attributes, with additional support for various formats.
|
|
1011
|
+
* - Supports lazy loading and optimized loading behavior through `loading="lazy"` and `decoding="async"`.
|
|
1012
|
+
* - Displays a background effect (`effect-bg-pattern`) while the image is loading, which fades once loading is complete.
|
|
1013
|
+
* Props:
|
|
1014
|
+
* - `src` (string): Required URL for the image source.
|
|
1015
|
+
* - `alt` (string): Alternative text for accessibility.
|
|
1016
|
+
* - `width`, `height` (number): Dimensions for the image in pixels.
|
|
1017
|
+
* - `srcset` (string), `sizes` (string): Support for responsive image handling.
|
|
1018
|
+
* - `formats` (Array): Array of objects for multiple image formats (e.g., `webp` or `jpeg`).
|
|
1019
|
+
* - `lazyload` (boolean): Enables lazy loading; defaults to true.
|
|
1020
|
+
* - `withBg` (boolean): Adds a background effect while the image is loading.
|
|
1021
|
+
* This component is suitable for scenarios requiring optimized image loading and responsive images with smooth visual effects during loading.
|
|
1022
|
+
*/
|
|
1023
|
+
interface EdsImg {
|
|
929
1024
|
/**
|
|
930
|
-
*
|
|
1025
|
+
* The alternative text for the image. Defaults to an empty string so that decorative images are ignored by assistive technologies.
|
|
931
1026
|
*/
|
|
932
|
-
"
|
|
933
|
-
}
|
|
934
|
-
interface EdsIconDraft {
|
|
1027
|
+
"alt": string;
|
|
935
1028
|
/**
|
|
936
|
-
*
|
|
1029
|
+
* Array of image formats for different sources (e.g., webp, jpeg). Expects objects with `type`, `srcset`, and optional `media` attributes.
|
|
937
1030
|
*/
|
|
938
|
-
"
|
|
939
|
-
}
|
|
940
|
-
interface EdsIconEdit {
|
|
1031
|
+
"formats": Array<{ type: string; srcset: string; media?: string }>;
|
|
941
1032
|
/**
|
|
942
|
-
*
|
|
1033
|
+
* The height of the image in pixels.
|
|
943
1034
|
*/
|
|
944
|
-
"
|
|
945
|
-
}
|
|
946
|
-
interface EdsIconEu {
|
|
1035
|
+
"height"?: number;
|
|
947
1036
|
/**
|
|
948
|
-
*
|
|
1037
|
+
* Enables lazy loading for the image. Defaults to true.
|
|
949
1038
|
*/
|
|
950
|
-
"
|
|
951
|
-
}
|
|
952
|
-
interface EdsIconExternal {
|
|
1039
|
+
"lazyload": boolean;
|
|
953
1040
|
/**
|
|
954
|
-
*
|
|
1041
|
+
* The sizes attribute for responsive images.
|
|
955
1042
|
*/
|
|
956
|
-
"
|
|
957
|
-
}
|
|
958
|
-
interface EdsIconFacebook {
|
|
1043
|
+
"sizes"?: string;
|
|
959
1044
|
/**
|
|
960
|
-
*
|
|
1045
|
+
* The source URL of the image.
|
|
961
1046
|
*/
|
|
962
|
-
"
|
|
963
|
-
}
|
|
964
|
-
interface EdsIconGitlab {
|
|
1047
|
+
"src": string;
|
|
965
1048
|
/**
|
|
966
|
-
*
|
|
1049
|
+
* The srcset attribute for responsive images.
|
|
967
1050
|
*/
|
|
968
|
-
"
|
|
969
|
-
}
|
|
970
|
-
interface EdsIconLinkedin {
|
|
1051
|
+
"srcset"?: string;
|
|
971
1052
|
/**
|
|
972
|
-
*
|
|
1053
|
+
* The width of the image in pixels.
|
|
973
1054
|
*/
|
|
974
|
-
"
|
|
975
|
-
}
|
|
976
|
-
interface EdsIconLoader {
|
|
977
|
-
/**
|
|
978
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
979
|
-
*/
|
|
980
|
-
"class": string;
|
|
981
|
-
}
|
|
982
|
-
interface EdsIconMastodon {
|
|
983
|
-
/**
|
|
984
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
985
|
-
*/
|
|
986
|
-
"class": string;
|
|
987
|
-
}
|
|
988
|
-
interface EdsIconMenu {
|
|
989
|
-
/**
|
|
990
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
991
|
-
*/
|
|
992
|
-
"class": string;
|
|
993
|
-
}
|
|
994
|
-
interface EdsIconMinus {
|
|
995
|
-
/**
|
|
996
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
997
|
-
*/
|
|
998
|
-
"class": string;
|
|
999
|
-
}
|
|
1000
|
-
interface EdsIconMore {
|
|
1001
|
-
/**
|
|
1002
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
1003
|
-
*/
|
|
1004
|
-
"class": string;
|
|
1005
|
-
}
|
|
1006
|
-
interface EdsIconPaper {
|
|
1007
|
-
/**
|
|
1008
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
1009
|
-
*/
|
|
1010
|
-
"class": string;
|
|
1011
|
-
}
|
|
1012
|
-
interface EdsIconPlus {
|
|
1013
|
-
/**
|
|
1014
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
1015
|
-
*/
|
|
1016
|
-
"class": string;
|
|
1017
|
-
}
|
|
1018
|
-
interface EdsIconPortal {
|
|
1019
|
-
/**
|
|
1020
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
1021
|
-
*/
|
|
1022
|
-
"class": string;
|
|
1023
|
-
}
|
|
1024
|
-
interface EdsIconPrivate {
|
|
1025
|
-
/**
|
|
1026
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
1027
|
-
*/
|
|
1028
|
-
"class": string;
|
|
1029
|
-
}
|
|
1030
|
-
interface EdsIconPublic {
|
|
1031
|
-
/**
|
|
1032
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
1033
|
-
*/
|
|
1034
|
-
"class": string;
|
|
1035
|
-
}
|
|
1036
|
-
interface EdsIconSearch {
|
|
1037
|
-
/**
|
|
1038
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
1039
|
-
*/
|
|
1040
|
-
"class": string;
|
|
1041
|
-
}
|
|
1042
|
-
interface EdsIconStar {
|
|
1043
|
-
/**
|
|
1044
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
1045
|
-
*/
|
|
1046
|
-
"class": string;
|
|
1047
|
-
}
|
|
1048
|
-
interface EdsIconStart {
|
|
1049
|
-
/**
|
|
1050
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
1051
|
-
*/
|
|
1052
|
-
"class": string;
|
|
1053
|
-
}
|
|
1054
|
-
interface EdsIconSuccess {
|
|
1055
|
-
/**
|
|
1056
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
1057
|
-
*/
|
|
1058
|
-
"class": string;
|
|
1059
|
-
}
|
|
1060
|
-
interface EdsIconThumbsDown {
|
|
1061
|
-
/**
|
|
1062
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
1063
|
-
*/
|
|
1064
|
-
"class": string;
|
|
1065
|
-
}
|
|
1066
|
-
interface EdsIconThumbsUp {
|
|
1067
|
-
/**
|
|
1068
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
1069
|
-
*/
|
|
1070
|
-
"class": string;
|
|
1071
|
-
}
|
|
1072
|
-
interface EdsIconTutorial {
|
|
1073
|
-
/**
|
|
1074
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
1075
|
-
*/
|
|
1076
|
-
"class": string;
|
|
1077
|
-
}
|
|
1078
|
-
interface EdsIconTwitter {
|
|
1079
|
-
/**
|
|
1080
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
1081
|
-
*/
|
|
1082
|
-
"class": string;
|
|
1083
|
-
}
|
|
1084
|
-
interface EdsIconUnknown {
|
|
1085
|
-
/**
|
|
1086
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
1087
|
-
*/
|
|
1088
|
-
"class": string;
|
|
1089
|
-
}
|
|
1090
|
-
interface EdsIconUpdown {
|
|
1091
|
-
/**
|
|
1092
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
1093
|
-
*/
|
|
1094
|
-
"class": string;
|
|
1095
|
-
}
|
|
1096
|
-
interface EdsIconUser {
|
|
1097
|
-
/**
|
|
1098
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
1099
|
-
*/
|
|
1100
|
-
"class": string;
|
|
1101
|
-
}
|
|
1102
|
-
interface EdsIconView {
|
|
1103
|
-
/**
|
|
1104
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
1105
|
-
*/
|
|
1106
|
-
"class": string;
|
|
1107
|
-
}
|
|
1108
|
-
/**
|
|
1109
|
-
* `EdsIconWrapper` is a wrapper component for displaying icons with dynamic loading capabilities.
|
|
1110
|
-
* It allows specifying the icon name, which is dynamically imported and rendered within the component.
|
|
1111
|
-
* Key Features:
|
|
1112
|
-
* - Dynamically loads the icon component based on the `icon` prop.
|
|
1113
|
-
* - Allows additional CSS classes through the `class` prop for custom styling.
|
|
1114
|
-
* - Observes changes to the `icon` prop and reloads the icon component accordingly.
|
|
1115
|
-
* Ideal for scenarios where icons need to be dynamically selected and styled consistently across an application.
|
|
1116
|
-
*/
|
|
1117
|
-
interface EdsIconWrapper {
|
|
1118
|
-
/**
|
|
1119
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
1120
|
-
*/
|
|
1121
|
-
"class": string;
|
|
1122
|
-
/**
|
|
1123
|
-
* The name of the icon to be displayed. Default is 'arrow-right'.
|
|
1124
|
-
*/
|
|
1125
|
-
"icon": string;
|
|
1126
|
-
}
|
|
1127
|
-
interface EdsIconYoutube {
|
|
1128
|
-
/**
|
|
1129
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
1130
|
-
*/
|
|
1131
|
-
"class": string;
|
|
1132
|
-
}
|
|
1133
|
-
/**
|
|
1134
|
-
* `EdsImg` is a flexible image component with support for lazy loading, responsive image formats, and background effects during loading.
|
|
1135
|
-
* Key Features:
|
|
1136
|
-
* - Allows responsive images using the `srcset` and `sizes` attributes, with additional support for various formats.
|
|
1137
|
-
* - Supports lazy loading and optimized loading behavior through `loading="lazy"` and `decoding="async"`.
|
|
1138
|
-
* - Displays a background effect (`effect-bg-pattern`) while the image is loading, which fades once loading is complete.
|
|
1139
|
-
* Props:
|
|
1140
|
-
* - `src` (string): Required URL for the image source.
|
|
1141
|
-
* - `alt` (string): Alternative text for accessibility.
|
|
1142
|
-
* - `width`, `height` (number): Dimensions for the image in pixels.
|
|
1143
|
-
* - `srcset` (string), `sizes` (string): Support for responsive image handling.
|
|
1144
|
-
* - `formats` (Array): Array of objects for multiple image formats (e.g., `webp` or `jpeg`).
|
|
1145
|
-
* - `lazyload` (boolean): Enables lazy loading; defaults to true.
|
|
1146
|
-
* - `withBg` (boolean): Adds a background effect while the image is loading.
|
|
1147
|
-
* This component is suitable for scenarios requiring optimized image loading and responsive images with smooth visual effects during loading.
|
|
1148
|
-
*/
|
|
1149
|
-
interface EdsImg {
|
|
1150
|
-
/**
|
|
1151
|
-
* The alternative text for the image. Defaults to an empty string so that decorative images are ignored by assistive technologies.
|
|
1152
|
-
*/
|
|
1153
|
-
"alt": string;
|
|
1154
|
-
/**
|
|
1155
|
-
* Array of image formats for different sources (e.g., webp, jpeg). Expects objects with `type`, `srcset`, and optional `media` attributes.
|
|
1156
|
-
*/
|
|
1157
|
-
"formats": Array<{ type: string; srcset: string; media?: string }>;
|
|
1158
|
-
/**
|
|
1159
|
-
* The height of the image in pixels.
|
|
1160
|
-
*/
|
|
1161
|
-
"height"?: number;
|
|
1162
|
-
/**
|
|
1163
|
-
* Enables lazy loading for the image. Defaults to true.
|
|
1164
|
-
*/
|
|
1165
|
-
"lazyload": boolean;
|
|
1166
|
-
/**
|
|
1167
|
-
* The sizes attribute for responsive images.
|
|
1168
|
-
*/
|
|
1169
|
-
"sizes"?: string;
|
|
1170
|
-
/**
|
|
1171
|
-
* The source URL of the image.
|
|
1172
|
-
*/
|
|
1173
|
-
"src": string;
|
|
1174
|
-
/**
|
|
1175
|
-
* The srcset attribute for responsive images.
|
|
1176
|
-
*/
|
|
1177
|
-
"srcset"?: string;
|
|
1178
|
-
/**
|
|
1179
|
-
* The width of the image in pixels.
|
|
1180
|
-
*/
|
|
1181
|
-
"width"?: number;
|
|
1055
|
+
"width"?: number;
|
|
1182
1056
|
/**
|
|
1183
1057
|
* Adds a background effect while the image is loading.
|
|
1184
1058
|
*/
|
|
@@ -1190,7 +1064,7 @@ export namespace Components {
|
|
|
1190
1064
|
"error": boolean;
|
|
1191
1065
|
"extraClass"?: string;
|
|
1192
1066
|
"hasMessage": boolean;
|
|
1193
|
-
"icon"?:
|
|
1067
|
+
"icon"?: IconName;
|
|
1194
1068
|
"inputId"?: string;
|
|
1195
1069
|
"max"?: number;
|
|
1196
1070
|
"maxLength"?: number;
|
|
@@ -1203,6 +1077,44 @@ export namespace Components {
|
|
|
1203
1077
|
"type": string;
|
|
1204
1078
|
"value"?: string | number;
|
|
1205
1079
|
}
|
|
1080
|
+
interface EdsInputDropzone {
|
|
1081
|
+
/**
|
|
1082
|
+
* Accepted file types (e.g., ".pdf,.png,.jpg" or "image/*").
|
|
1083
|
+
*/
|
|
1084
|
+
"accept"?: string;
|
|
1085
|
+
/**
|
|
1086
|
+
* If `true`, the input is disabled.
|
|
1087
|
+
*/
|
|
1088
|
+
"disabled": boolean;
|
|
1089
|
+
/**
|
|
1090
|
+
* The `id` attribute of the internal input element. Defaults to `name` if not set.
|
|
1091
|
+
*/
|
|
1092
|
+
"inputId"?: string;
|
|
1093
|
+
/**
|
|
1094
|
+
* Maximum file size in bytes. If not set, no size limit is enforced client-side.
|
|
1095
|
+
*/
|
|
1096
|
+
"maxFileSize"?: number;
|
|
1097
|
+
/**
|
|
1098
|
+
* If `true`, allows multiple file selection.
|
|
1099
|
+
*/
|
|
1100
|
+
"multiple": boolean;
|
|
1101
|
+
/**
|
|
1102
|
+
* The `name` attribute of the input element. Required for form submission.
|
|
1103
|
+
*/
|
|
1104
|
+
"name": string;
|
|
1105
|
+
/**
|
|
1106
|
+
* Primary text shown in dropzone.
|
|
1107
|
+
*/
|
|
1108
|
+
"primaryText"?: string;
|
|
1109
|
+
/**
|
|
1110
|
+
* If `true`, the input is required.
|
|
1111
|
+
*/
|
|
1112
|
+
"required": boolean;
|
|
1113
|
+
/**
|
|
1114
|
+
* Secondary text shown in dropzone.
|
|
1115
|
+
*/
|
|
1116
|
+
"secondaryText"?: string;
|
|
1117
|
+
}
|
|
1206
1118
|
interface EdsInputField {
|
|
1207
1119
|
/**
|
|
1208
1120
|
* If `true`, the checkbox/radio is checked.
|
|
@@ -1231,7 +1143,7 @@ export namespace Components {
|
|
|
1231
1143
|
/**
|
|
1232
1144
|
* Optional icon name to display inside the input.
|
|
1233
1145
|
*/
|
|
1234
|
-
"icon"?:
|
|
1146
|
+
"icon"?: IconName;
|
|
1235
1147
|
/**
|
|
1236
1148
|
* The `id` attribute of the internal input element. Defaults to `name` if not set.
|
|
1237
1149
|
*/
|
|
@@ -1297,6 +1209,40 @@ export namespace Components {
|
|
|
1297
1209
|
*/
|
|
1298
1210
|
"value"?: string | number;
|
|
1299
1211
|
}
|
|
1212
|
+
interface EdsInputFile {
|
|
1213
|
+
/**
|
|
1214
|
+
* Accepted file types (e.g., ".pdf,.png,.jpg" or "image/*").
|
|
1215
|
+
*/
|
|
1216
|
+
"accept"?: string;
|
|
1217
|
+
/**
|
|
1218
|
+
* Button label text. Defaults to "Choose Files" (or "Choose File" if not multiple).
|
|
1219
|
+
*/
|
|
1220
|
+
"buttonLabel"?: string;
|
|
1221
|
+
/**
|
|
1222
|
+
* If `true`, the input is disabled.
|
|
1223
|
+
*/
|
|
1224
|
+
"disabled": boolean;
|
|
1225
|
+
/**
|
|
1226
|
+
* The `id` attribute of the internal input element. Defaults to `name` if not set.
|
|
1227
|
+
*/
|
|
1228
|
+
"inputId"?: string;
|
|
1229
|
+
/**
|
|
1230
|
+
* Maximum file size in bytes. If not set, no size limit is enforced client-side.
|
|
1231
|
+
*/
|
|
1232
|
+
"maxFileSize"?: number;
|
|
1233
|
+
/**
|
|
1234
|
+
* If `true`, allows multiple file selection.
|
|
1235
|
+
*/
|
|
1236
|
+
"multiple": boolean;
|
|
1237
|
+
/**
|
|
1238
|
+
* The `name` attribute of the input element. Required for form submission.
|
|
1239
|
+
*/
|
|
1240
|
+
"name": string;
|
|
1241
|
+
/**
|
|
1242
|
+
* If `true`, the input is required.
|
|
1243
|
+
*/
|
|
1244
|
+
"required": boolean;
|
|
1245
|
+
}
|
|
1300
1246
|
interface EdsInputFooter {
|
|
1301
1247
|
/**
|
|
1302
1248
|
* Whether the input should be rendered in an error state. Controls visibility of the `errorMessage`.
|
|
@@ -1448,6 +1394,60 @@ export namespace Components {
|
|
|
1448
1394
|
*/
|
|
1449
1395
|
"value"?: string | number;
|
|
1450
1396
|
}
|
|
1397
|
+
interface EdsKgWebServicesSelect {
|
|
1398
|
+
/**
|
|
1399
|
+
* API endpoint for fetching web services Defaults to cached endpoint for better performance
|
|
1400
|
+
*/
|
|
1401
|
+
"apiEndpoint": string;
|
|
1402
|
+
/**
|
|
1403
|
+
* Whether the field is disabled
|
|
1404
|
+
*/
|
|
1405
|
+
"disabled": boolean;
|
|
1406
|
+
/**
|
|
1407
|
+
* Error state
|
|
1408
|
+
*/
|
|
1409
|
+
"error": boolean;
|
|
1410
|
+
/**
|
|
1411
|
+
* Error message
|
|
1412
|
+
*/
|
|
1413
|
+
"errorMessage"?: string;
|
|
1414
|
+
/**
|
|
1415
|
+
* Optional hint text
|
|
1416
|
+
*/
|
|
1417
|
+
"hint"?: string;
|
|
1418
|
+
/**
|
|
1419
|
+
* Label for the select field
|
|
1420
|
+
*/
|
|
1421
|
+
"label": string;
|
|
1422
|
+
/**
|
|
1423
|
+
* Optional message text
|
|
1424
|
+
*/
|
|
1425
|
+
"message"?: string;
|
|
1426
|
+
/**
|
|
1427
|
+
* Name attribute for the select field
|
|
1428
|
+
*/
|
|
1429
|
+
"name": string;
|
|
1430
|
+
/**
|
|
1431
|
+
* Placeholder text for the select field
|
|
1432
|
+
*/
|
|
1433
|
+
"placeholder": string;
|
|
1434
|
+
/**
|
|
1435
|
+
* Whether the field is required
|
|
1436
|
+
*/
|
|
1437
|
+
"required": boolean;
|
|
1438
|
+
/**
|
|
1439
|
+
* Optional search term to filter results
|
|
1440
|
+
*/
|
|
1441
|
+
"searchTerm": string;
|
|
1442
|
+
/**
|
|
1443
|
+
* Maximum number of services to fetch
|
|
1444
|
+
*/
|
|
1445
|
+
"size": number;
|
|
1446
|
+
/**
|
|
1447
|
+
* Selected value (web service short_name)
|
|
1448
|
+
*/
|
|
1449
|
+
"value"?: string;
|
|
1450
|
+
}
|
|
1451
1451
|
/**
|
|
1452
1452
|
* `EdsLink` is a versatile link component offering different styles and behaviors.
|
|
1453
1453
|
* Key Features:
|
|
@@ -1485,7 +1485,7 @@ export namespace Components {
|
|
|
1485
1485
|
/**
|
|
1486
1486
|
* The icon name to be displayed alongside the label.
|
|
1487
1487
|
*/
|
|
1488
|
-
"icon"?:
|
|
1488
|
+
"icon"?: IconName;
|
|
1489
1489
|
/**
|
|
1490
1490
|
* The icon position to be displayed alongside the label - left or right.
|
|
1491
1491
|
*/
|
|
@@ -1495,21 +1495,17 @@ export namespace Components {
|
|
|
1495
1495
|
*/
|
|
1496
1496
|
"iconSmall"?: boolean;
|
|
1497
1497
|
/**
|
|
1498
|
-
* The visual style intent of the link. Options: 'primary', 'secondary', '
|
|
1498
|
+
* The visual style intent of the link. Options: 'primary', 'secondary', 'secondaryInverse', 'ghost', 'strong', 'weak', 'inverse', 'underline', 'underlineInverse', 'brand', 'brandInverse', 'cta', 'cta-brand'.
|
|
1499
1499
|
*/
|
|
1500
|
-
"intent"?: | '
|
|
1501
|
-
| 'secondary'
|
|
1502
|
-
| 'tertiary'
|
|
1503
|
-
| 'ghost'
|
|
1504
|
-
| 'strong'
|
|
1505
|
-
| 'weak'
|
|
1506
|
-
| 'inverse'
|
|
1507
|
-
| 'underline'
|
|
1508
|
-
| 'blueish';
|
|
1500
|
+
"intent"?: 'primary' | 'secondary' | 'secondaryInverse' | 'ghost' | 'strong' | 'weak' | 'inverse' | 'underline' | 'underlineInverse' | 'brand' | 'brandInverse' | 'cta' | 'cta-brand';
|
|
1509
1501
|
/**
|
|
1510
1502
|
* The text label for the link.
|
|
1511
1503
|
*/
|
|
1512
1504
|
"label"?: string;
|
|
1505
|
+
/**
|
|
1506
|
+
* A boolean to determine if the link should have a pill shape (rounded-full). Default is false.
|
|
1507
|
+
*/
|
|
1508
|
+
"pill": boolean;
|
|
1513
1509
|
/**
|
|
1514
1510
|
* The size of the link. Options are 'small' or 'large'.
|
|
1515
1511
|
*/
|
|
@@ -1543,9 +1539,9 @@ export namespace Components {
|
|
|
1543
1539
|
*/
|
|
1544
1540
|
"orientation": 'horizontal' | 'vertical';
|
|
1545
1541
|
/**
|
|
1546
|
-
* The
|
|
1542
|
+
* The visual variant of the logo. `'positive'` for dark logo on light backgrounds, `'negative'` for light logo on dark backgrounds.
|
|
1547
1543
|
*/
|
|
1548
|
-
"
|
|
1544
|
+
"variant": 'positive' | 'negative';
|
|
1549
1545
|
}
|
|
1550
1546
|
interface EdsMatomoNotice {
|
|
1551
1547
|
/**
|
|
@@ -1598,14 +1594,18 @@ export namespace Components {
|
|
|
1598
1594
|
* Specifies the position of the modal. Acceptable values are: - `"middle"` (default): The modal is centered both vertically and horizontally. - `"top"`: The modal is positioned near the top of the viewport. - `"bottom"`: The modal is positioned near the bottom of the viewport. - `"left"`: The modal is positioned on the left side of the viewport, centered vertically. - `"right"`: The modal is positioned on the right side of the viewport, centered vertically.
|
|
1599
1595
|
*/
|
|
1600
1596
|
"position": 'middle' | 'top' | 'bottom';
|
|
1597
|
+
/**
|
|
1598
|
+
* Size of the modal. - `"small"`: 500px max width - `"medium"` (default): 700px max width - `"large"`: 900px max width
|
|
1599
|
+
*/
|
|
1600
|
+
"size": 'small' | 'medium' | 'large';
|
|
1601
1601
|
/**
|
|
1602
1602
|
* Toggles the modal open or closed.
|
|
1603
1603
|
*/
|
|
1604
1604
|
"toggle": () => Promise<void>;
|
|
1605
1605
|
/**
|
|
1606
|
-
* The number of lines to truncate the title to.
|
|
1606
|
+
* The number of lines to truncate the title to. Set to 0 or undefined to disable truncation.
|
|
1607
1607
|
*/
|
|
1608
|
-
"truncate": 1 | 2 | 3 | 4;
|
|
1608
|
+
"truncate": 0 | 1 | 2 | 3 | 4;
|
|
1609
1609
|
}
|
|
1610
1610
|
interface EdsNps {
|
|
1611
1611
|
/**
|
|
@@ -1620,6 +1620,10 @@ export namespace Components {
|
|
|
1620
1620
|
* Label displayed under the max value.
|
|
1621
1621
|
*/
|
|
1622
1622
|
"rightLabel": string;
|
|
1623
|
+
/**
|
|
1624
|
+
* Current selected NPS value (controlled from parent).
|
|
1625
|
+
*/
|
|
1626
|
+
"selectedValue": number;
|
|
1623
1627
|
}
|
|
1624
1628
|
/**
|
|
1625
1629
|
* `EdsPagination` is a component for navigating paginated data.
|
|
@@ -1705,9 +1709,10 @@ export namespace Components {
|
|
|
1705
1709
|
}
|
|
1706
1710
|
interface EdsProgressBar {
|
|
1707
1711
|
/**
|
|
1708
|
-
*
|
|
1712
|
+
* Horizontal padding for the label container (CSS value). Examples: "3rem", "48px", "2rem" Default: "3rem"
|
|
1709
1713
|
*/
|
|
1710
|
-
"
|
|
1714
|
+
"labelPaddingX": string;
|
|
1715
|
+
"showLabel": boolean;
|
|
1711
1716
|
/**
|
|
1712
1717
|
* Method to update the progress value externally.
|
|
1713
1718
|
* @param newValue The new progress value (0-100).
|
|
@@ -1717,6 +1722,10 @@ export namespace Components {
|
|
|
1717
1722
|
* The progress value (0-100).
|
|
1718
1723
|
*/
|
|
1719
1724
|
"value": number;
|
|
1725
|
+
/**
|
|
1726
|
+
* Visual variant for the progress bar. - "default": Standard progress bar with border and centered text - "brand": EBRAINS branded progress bar with gradient, glow, and top text
|
|
1727
|
+
*/
|
|
1728
|
+
"variant": 'default' | 'brand';
|
|
1720
1729
|
}
|
|
1721
1730
|
interface EdsRating {
|
|
1722
1731
|
/**
|
|
@@ -1726,7 +1735,11 @@ export namespace Components {
|
|
|
1726
1735
|
/**
|
|
1727
1736
|
* The type of icon to display. Can be "stars" or "thumbs".
|
|
1728
1737
|
*/
|
|
1729
|
-
"ratingType":
|
|
1738
|
+
"ratingType": IconName;
|
|
1739
|
+
/**
|
|
1740
|
+
* Current selected rating value (controlled from parent).
|
|
1741
|
+
*/
|
|
1742
|
+
"selectedRating": number;
|
|
1730
1743
|
}
|
|
1731
1744
|
interface EdsSectionCore {
|
|
1732
1745
|
/**
|
|
@@ -1795,6 +1808,11 @@ export namespace Components {
|
|
|
1795
1808
|
* Social Network custom title to display
|
|
1796
1809
|
*/
|
|
1797
1810
|
"heading": string;
|
|
1811
|
+
/**
|
|
1812
|
+
* Controls the visual variant of the social networks. - 'default': Light background with dark text - 'inverse': Dark/black background with white text
|
|
1813
|
+
* @type {'default' | 'inverse'}
|
|
1814
|
+
*/
|
|
1815
|
+
"variant": 'default' | 'inverse';
|
|
1798
1816
|
}
|
|
1799
1817
|
interface EdsSpinner {
|
|
1800
1818
|
/**
|
|
@@ -1852,10 +1870,18 @@ export namespace Components {
|
|
|
1852
1870
|
* Orientation (applies to linear mode visuals).
|
|
1853
1871
|
*/
|
|
1854
1872
|
"orientation": 'vertical' | 'horizontal';
|
|
1873
|
+
/**
|
|
1874
|
+
* Show or hide the finish button on the last step
|
|
1875
|
+
*/
|
|
1876
|
+
"showFinish": boolean;
|
|
1855
1877
|
/**
|
|
1856
1878
|
* Steps data as array or JSON string.
|
|
1857
1879
|
*/
|
|
1858
1880
|
"steps": string | Step[];
|
|
1881
|
+
/**
|
|
1882
|
+
* Visual theme for the steps component. - 'default': Grey step circles with white text - 'brand': Brand green step circles with black text (CTA style)
|
|
1883
|
+
*/
|
|
1884
|
+
"theme": 'default' | 'brand';
|
|
1859
1885
|
/**
|
|
1860
1886
|
* Stepper mode.
|
|
1861
1887
|
*/
|
|
@@ -1887,10 +1913,18 @@ export namespace Components {
|
|
|
1887
1913
|
* Orientation (applies to linear visuals)
|
|
1888
1914
|
*/
|
|
1889
1915
|
"orientation": 'vertical' | 'horizontal';
|
|
1916
|
+
/**
|
|
1917
|
+
* Show or hide the finish button on the last step
|
|
1918
|
+
*/
|
|
1919
|
+
"showFinish": boolean;
|
|
1890
1920
|
/**
|
|
1891
1921
|
* JSON string or array of steps: { title, content? }
|
|
1892
1922
|
*/
|
|
1893
1923
|
"steps": string | Step1[];
|
|
1924
|
+
/**
|
|
1925
|
+
* Visual theme for the steps component. - 'default': Grey step circles with white text - 'brand': Brand green step circles with black text (CTA style)
|
|
1926
|
+
*/
|
|
1927
|
+
"theme": 'default' | 'brand';
|
|
1894
1928
|
/**
|
|
1895
1929
|
* Stepper mode
|
|
1896
1930
|
*/
|
|
@@ -1913,13 +1947,23 @@ export namespace Components {
|
|
|
1913
1947
|
* Label to display when the switch is ON.
|
|
1914
1948
|
*/
|
|
1915
1949
|
"labelOn": string;
|
|
1950
|
+
/**
|
|
1951
|
+
* Variant of the switch: 'toggle' (default) or 'segmented' (pill-style buttons)
|
|
1952
|
+
*/
|
|
1953
|
+
"variant": 'toggle' | 'segmented';
|
|
1916
1954
|
}
|
|
1917
1955
|
/**
|
|
1918
1956
|
* `EdsTable` is a customizable data table component with support for dynamic data fetching, column configuration, pagination, and search functionality.
|
|
1919
1957
|
* Key Features:
|
|
1920
|
-
* - Configurable columns with options to hide or apply text formatting (uppercase, bold, or
|
|
1958
|
+
* - Configurable columns with options to hide or apply text formatting (uppercase, bold, code, or html).
|
|
1921
1959
|
* - Pagination support with adjustable rows per page.
|
|
1922
1960
|
* - Searchable content for easier data filtering.
|
|
1961
|
+
* Column Format Options:
|
|
1962
|
+
* - 'uppercase': Converts text to uppercase
|
|
1963
|
+
* - 'bold': Wraps text in <strong> tag
|
|
1964
|
+
* - 'code': Wraps text in <code> tag
|
|
1965
|
+
* - 'html': Renders raw HTML content (use for web components, links, etc.)
|
|
1966
|
+
* - 'svg': (deprecated, use 'html') Renders raw HTML content
|
|
1923
1967
|
* This component is versatile for displaying data with flexible configuration, and integrates with pagination and search functionalities.
|
|
1924
1968
|
*/
|
|
1925
1969
|
interface EdsTable {
|
|
@@ -1928,7 +1972,7 @@ export namespace Components {
|
|
|
1928
1972
|
*/
|
|
1929
1973
|
"actionTemplate"?: (row: any) => VNode;
|
|
1930
1974
|
/**
|
|
1931
|
-
* Array of actions to render in each row. Can be passed as a JSON string or as a `TableAction[]`. Each action object may include: - `name` (string; required) — unique action key, e.g. `"view"`, `"delete"`. - `label` (string; required) — text shown on the button, or used as the tooltip/aria-label when icon-only. - `type` ("button" | "checkbox"; optional) — whether to render a standard button (default) or a checkbox. - `icon` (string; optional) — name of the icon to display in icon-only mode. - `field` (string; optional) — for checkboxes, the row field whose truthiness binds the checked state (defaults to `name`). - `showLabel` (boolean; optional) — if `true`, render the full `label` instead of an icon + tooltip. When you pass JSON, make sure field names match exactly: ```html actions='[ { "name":"view", "label":"View", "icon":"eye" }, { "name":"edit", "label":"Edit", "icon":"pencil", "showLabel":true }, { "name":"del", "label":"Delete","type":"checkbox", "field":"selected" } ]' ```
|
|
1975
|
+
* Array of actions to render in each row. Can be passed as a JSON string or as a `TableAction[]`. Each action object may include: - `name` (string; required) — unique action key, e.g. `"view"`, `"delete"`. - `label` (string; required) — text shown on the button, or used as the tooltip/aria-label when icon-only. - `type` ("button" | "checkbox"; optional) — whether to render a standard button (default) or a checkbox. - `icon` (string; optional) — name of the icon to display in icon-only mode. - `field` (string; optional) — for checkboxes, the row field whose truthiness binds the checked state (defaults to `name`). - `showLabel` (boolean; optional) — if `true`, render the full `label` instead of an icon + tooltip. - `intent` ("brand" | "primary" | "secondary" | "neutral" | "ghost" | "brandInverse" | "secondaryInverse" | "ghostInverse"; optional) — button intent/style. When you pass JSON, make sure field names match exactly: ```html actions='[ { "name":"view", "label":"View", "icon":"eye", "intent":"brand" }, { "name":"edit", "label":"Edit", "icon":"pencil", "showLabel":true, "intent":"primary" }, { "name":"del", "label":"Delete","type":"checkbox", "field":"selected" } ]' ```
|
|
1932
1976
|
*/
|
|
1933
1977
|
"actions": string | TableAction[];
|
|
1934
1978
|
/**
|
|
@@ -1942,7 +1986,7 @@ export namespace Components {
|
|
|
1942
1986
|
| {
|
|
1943
1987
|
[key: string]: {
|
|
1944
1988
|
hidden?: boolean;
|
|
1945
|
-
format?: 'uppercase' | 'bold' | 'code';
|
|
1989
|
+
format?: 'uppercase' | 'bold' | 'code' | 'html' | 'svg';
|
|
1946
1990
|
};
|
|
1947
1991
|
};
|
|
1948
1992
|
/**
|
|
@@ -1962,22 +2006,33 @@ export namespace Components {
|
|
|
1962
2006
|
* Enable or disable search input for filtering
|
|
1963
2007
|
*/
|
|
1964
2008
|
"searchEnabled": boolean;
|
|
2009
|
+
/**
|
|
2010
|
+
* Show view toggle control (segmented switch for Table/Card views)
|
|
2011
|
+
*/
|
|
2012
|
+
"showViewToggle": boolean;
|
|
1965
2013
|
/**
|
|
1966
2014
|
* Enable or disable column sorting
|
|
1967
2015
|
*/
|
|
1968
2016
|
"sortingEnabled": boolean;
|
|
1969
2017
|
/**
|
|
1970
|
-
* Theme for table styling - 'default'
|
|
2018
|
+
* Theme for table styling: - 'default': Simple rows with no background - 'color': Alternating row colors - 'brand': Modern brand styling with hover effects and green accents
|
|
2019
|
+
*/
|
|
2020
|
+
"theme": 'default' | 'color' | 'brand';
|
|
2021
|
+
/**
|
|
2022
|
+
* View mode for displaying data: - 'table': Traditional table layout (default) - 'card': Card grid layout
|
|
1971
2023
|
*/
|
|
1972
|
-
"
|
|
2024
|
+
"view": 'table' | 'card';
|
|
1973
2025
|
}
|
|
1974
2026
|
/**
|
|
1975
|
-
* `EdsTabs` is a tabs component
|
|
1976
|
-
*
|
|
1977
|
-
*
|
|
1978
|
-
*
|
|
1979
|
-
*
|
|
1980
|
-
*
|
|
2027
|
+
* `EdsTabs` is a modern tabs component with a pill-shaped container design.
|
|
2028
|
+
* Features a clean, minimal interface with smooth transitions and two variant styles.
|
|
2029
|
+
* Key features:
|
|
2030
|
+
* - Default variant (dark background) and inverse variant (light background)
|
|
2031
|
+
* - Pill-shaped container with rounded tabs
|
|
2032
|
+
* - Smooth hover and active state transitions
|
|
2033
|
+
* - Keyboard navigation support (Arrow keys, Home, End)
|
|
2034
|
+
* - Analytics tracking integration
|
|
2035
|
+
* - Accessible with proper ARIA attributes
|
|
1981
2036
|
*/
|
|
1982
2037
|
interface EdsTabs {
|
|
1983
2038
|
/**
|
|
@@ -1991,7 +2046,11 @@ export namespace Components {
|
|
|
1991
2046
|
/**
|
|
1992
2047
|
* JSON string for tabs data
|
|
1993
2048
|
*/
|
|
1994
|
-
"tabs": string | { label: string; url
|
|
2049
|
+
"tabs": string | { label: string; url?: string; active: boolean; ariaLabel?: string }[];
|
|
2050
|
+
/**
|
|
2051
|
+
* Visual variant: 'default' for dark backgrounds, 'inverse' for light backgrounds
|
|
2052
|
+
*/
|
|
2053
|
+
"variant": 'default' | 'inverse';
|
|
1995
2054
|
}
|
|
1996
2055
|
/**
|
|
1997
2056
|
* `EdsTag` is a stylized label component designed to display short, categorical information.
|
|
@@ -2001,7 +2060,7 @@ export namespace Components {
|
|
|
2001
2060
|
/**
|
|
2002
2061
|
* The visual style or intent of the tag.
|
|
2003
2062
|
*/
|
|
2004
|
-
"intent": 'primary' | '
|
|
2063
|
+
"intent": 'primary' | 'dark' | 'inverse' | 'brand' | 'brand-dark' | 'strong';
|
|
2005
2064
|
/**
|
|
2006
2065
|
* The label to be displayed inside the tag.
|
|
2007
2066
|
*/
|
|
@@ -2025,7 +2084,7 @@ export namespace Components {
|
|
|
2025
2084
|
/**
|
|
2026
2085
|
* The visual intent or style of the toast, indicating the toast type.
|
|
2027
2086
|
*/
|
|
2028
|
-
"intent": 'default' | 'success' | 'error' | 'warning';
|
|
2087
|
+
"intent": 'default' | 'success' | 'error' | 'warning' | 'brand' | 'brandInverse';
|
|
2029
2088
|
/**
|
|
2030
2089
|
* The main message or text to be displayed in the toast.
|
|
2031
2090
|
*/
|
|
@@ -2043,12 +2102,6 @@ export namespace Components {
|
|
|
2043
2102
|
"content"?: string;
|
|
2044
2103
|
"position": 'top' | 'bottom';
|
|
2045
2104
|
}
|
|
2046
|
-
interface EdsTrl {
|
|
2047
|
-
/**
|
|
2048
|
-
* Accepts a JSON string or an array of application objects.
|
|
2049
|
-
*/
|
|
2050
|
-
"applications": string | any[];
|
|
2051
|
-
}
|
|
2052
2105
|
/**
|
|
2053
2106
|
* `EdsUser` is a user component for managing and displaying
|
|
2054
2107
|
* the user's auth information. Displays a user dropdown menu when authenticated.
|
|
@@ -2145,10 +2198,18 @@ export interface EdsHeaderCustomEvent<T> extends CustomEvent<T> {
|
|
|
2145
2198
|
detail: T;
|
|
2146
2199
|
target: HTMLEdsHeaderElement;
|
|
2147
2200
|
}
|
|
2201
|
+
export interface EdsInputDropzoneCustomEvent<T> extends CustomEvent<T> {
|
|
2202
|
+
detail: T;
|
|
2203
|
+
target: HTMLEdsInputDropzoneElement;
|
|
2204
|
+
}
|
|
2148
2205
|
export interface EdsInputFieldCustomEvent<T> extends CustomEvent<T> {
|
|
2149
2206
|
detail: T;
|
|
2150
2207
|
target: HTMLEdsInputFieldElement;
|
|
2151
2208
|
}
|
|
2209
|
+
export interface EdsInputFileCustomEvent<T> extends CustomEvent<T> {
|
|
2210
|
+
detail: T;
|
|
2211
|
+
target: HTMLEdsInputFileElement;
|
|
2212
|
+
}
|
|
2152
2213
|
export interface EdsInputRangeCustomEvent<T> extends CustomEvent<T> {
|
|
2153
2214
|
detail: T;
|
|
2154
2215
|
target: HTMLEdsInputRangeElement;
|
|
@@ -2161,6 +2222,10 @@ export interface EdsInputSelectCustomEvent<T> extends CustomEvent<T> {
|
|
|
2161
2222
|
detail: T;
|
|
2162
2223
|
target: HTMLEdsInputSelectElement;
|
|
2163
2224
|
}
|
|
2225
|
+
export interface EdsKgWebServicesSelectCustomEvent<T> extends CustomEvent<T> {
|
|
2226
|
+
detail: T;
|
|
2227
|
+
target: HTMLEdsKgWebServicesSelectElement;
|
|
2228
|
+
}
|
|
2164
2229
|
export interface EdsMatomoNoticeCustomEvent<T> extends CustomEvent<T> {
|
|
2165
2230
|
detail: T;
|
|
2166
2231
|
target: HTMLEdsMatomoNoticeElement;
|
|
@@ -2253,19 +2318,11 @@ declare global {
|
|
|
2253
2318
|
}
|
|
2254
2319
|
/**
|
|
2255
2320
|
* `EdsAccordion` is a flexible, interactive component for expanding and collapsing content sections.
|
|
2256
|
-
* It features a customizable header
|
|
2257
|
-
*
|
|
2258
|
-
*
|
|
2259
|
-
*
|
|
2260
|
-
*
|
|
2261
|
-
* to track its open/close status.
|
|
2262
|
-
* Key features include:
|
|
2263
|
-
* - Header with customizable title
|
|
2264
|
-
* - Expandable/collapsible content section
|
|
2265
|
-
* - Background color switch on expand and hover
|
|
2266
|
-
* - Compact layout option with reduced header height
|
|
2267
|
-
* - Adjustable content height and text clamping
|
|
2268
|
-
* - Emitted events for tracking changes in expansion state and context
|
|
2321
|
+
* It features a customizable header with optional icon, description, and content area.
|
|
2322
|
+
* Supports two visual variants (`default` and `inverse`) matching the card design system,
|
|
2323
|
+
* with hover effects, smooth CSS-driven expand/collapse animation, and optional icon display.
|
|
2324
|
+
* The `accordion` event is emitted when the accordion's expanded state changes, allowing parent
|
|
2325
|
+
* components to track its open/close status.
|
|
2269
2326
|
*/
|
|
2270
2327
|
interface HTMLEdsAccordionElement extends Components.EdsAccordion, HTMLStencilElement {
|
|
2271
2328
|
addEventListener<K extends keyof HTMLEdsAccordionElementEventMap>(type: K, listener: (this: HTMLEdsAccordionElement, ev: EdsAccordionCustomEvent<HTMLEdsAccordionElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -2283,16 +2340,16 @@ declare global {
|
|
|
2283
2340
|
};
|
|
2284
2341
|
interface HTMLEdsAlertElementEventMap {
|
|
2285
2342
|
"edsalert": void;
|
|
2343
|
+
"edsDismiss": void;
|
|
2286
2344
|
}
|
|
2287
2345
|
/**
|
|
2288
|
-
* `EdsAlert` is a versatile alert component
|
|
2289
|
-
*
|
|
2290
|
-
*
|
|
2291
|
-
* -
|
|
2292
|
-
* -
|
|
2293
|
-
* - Optional
|
|
2294
|
-
* -
|
|
2295
|
-
* This component is styled with predefined CSS classes to ensure consistent appearance across different alert types and layout configurations.
|
|
2346
|
+
* `EdsAlert` is a versatile alert component for displaying contextual messages.
|
|
2347
|
+
* Key features:
|
|
2348
|
+
* - Contextual intents (`default`, `info`, `warning`, `error`, `success`) with matching icons and accent colors
|
|
2349
|
+
* - Configurable layout direction (`horizontal` or `vertical`)
|
|
2350
|
+
* - Optional action element (link when URL provided, ghost button otherwise)
|
|
2351
|
+
* - Optional dismiss button to close the alert
|
|
2352
|
+
* - Left accent border colored per intent
|
|
2296
2353
|
*/
|
|
2297
2354
|
interface HTMLEdsAlertElement extends Components.EdsAlert, HTMLStencilElement {
|
|
2298
2355
|
addEventListener<K extends keyof HTMLEdsAlertElementEventMap>(type: K, listener: (this: HTMLEdsAlertElement, ev: EdsAlertCustomEvent<HTMLEdsAlertElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -2355,15 +2412,21 @@ declare global {
|
|
|
2355
2412
|
new (): HTMLEdsBreadcrumbElement;
|
|
2356
2413
|
};
|
|
2357
2414
|
/**
|
|
2358
|
-
* `EdsButton`
|
|
2359
|
-
*
|
|
2360
|
-
*
|
|
2361
|
-
* -
|
|
2362
|
-
* -
|
|
2363
|
-
* -
|
|
2364
|
-
* -
|
|
2365
|
-
* -
|
|
2366
|
-
*
|
|
2415
|
+
* `EdsButton` - Updated for EBRAINS Visual System 2025
|
|
2416
|
+
* A versatile button component designed for a range of actions and interactions.
|
|
2417
|
+
* Updated to match the new EBRAINS visual identity with:
|
|
2418
|
+
* - Brand black (#07140D) for primary buttons
|
|
2419
|
+
* - Brand green (#00FF9D) for accents and focus states
|
|
2420
|
+
* - Pill-shaped design (rounded-full by default)
|
|
2421
|
+
* - IBM Plex Sans typography
|
|
2422
|
+
* - High-contrast accessibility
|
|
2423
|
+
* Key features:
|
|
2424
|
+
* - Primary (black) and Secondary (outlined) button styles
|
|
2425
|
+
* - Loading state indicator with proper color handling
|
|
2426
|
+
* - Disabled state for control over user interactions
|
|
2427
|
+
* - Optional icon display with customizable position and size
|
|
2428
|
+
* - Support for different element types (button or a)
|
|
2429
|
+
* - Emits custom Matomo event when clicked for tracking
|
|
2367
2430
|
*/
|
|
2368
2431
|
interface HTMLEdsButtonElement extends Components.EdsButton, HTMLStencilElement {
|
|
2369
2432
|
}
|
|
@@ -2371,12 +2434,62 @@ declare global {
|
|
|
2371
2434
|
prototype: HTMLEdsButtonElement;
|
|
2372
2435
|
new (): HTMLEdsButtonElement;
|
|
2373
2436
|
};
|
|
2437
|
+
/**
|
|
2438
|
+
* `EdsCardApp` is a card component designed to showcase applications with category, title, description, tags, and link.
|
|
2439
|
+
* Key features:
|
|
2440
|
+
* - Category label at the top (e.g., "BRAIN ATLASES", "DATA MANAGEMENT")
|
|
2441
|
+
* - Large, lightweight title
|
|
2442
|
+
* - Description text
|
|
2443
|
+
* - Multiple tags for features/technologies
|
|
2444
|
+
* - Optional action link at the bottom
|
|
2445
|
+
* - Hover effects with transform and border glow
|
|
2446
|
+
* This component is ideal for application grids, service catalogs, and platform showcases.
|
|
2447
|
+
*/
|
|
2448
|
+
interface HTMLEdsCardAppElement extends Components.EdsCardApp, HTMLStencilElement {
|
|
2449
|
+
}
|
|
2450
|
+
var HTMLEdsCardAppElement: {
|
|
2451
|
+
prototype: HTMLEdsCardAppElement;
|
|
2452
|
+
new (): HTMLEdsCardAppElement;
|
|
2453
|
+
};
|
|
2454
|
+
/**
|
|
2455
|
+
* `EdsCardCta` is a call-to-action card component with title, description, action buttons, and footer links.
|
|
2456
|
+
* Key features:
|
|
2457
|
+
* - Large title with line breaks
|
|
2458
|
+
* - Description text
|
|
2459
|
+
* - Primary and secondary action buttons
|
|
2460
|
+
* - Footer links in a row
|
|
2461
|
+
* - Animated rotating radial gradient background
|
|
2462
|
+
* - Green border with hover effects
|
|
2463
|
+
* - Variant support (default/inverse)
|
|
2464
|
+
* This component is ideal for landing pages, campaign sections, and conversion-focused layouts.
|
|
2465
|
+
*/
|
|
2466
|
+
interface HTMLEdsCardCtaElement extends Components.EdsCardCta, HTMLStencilElement {
|
|
2467
|
+
}
|
|
2468
|
+
var HTMLEdsCardCtaElement: {
|
|
2469
|
+
prototype: HTMLEdsCardCtaElement;
|
|
2470
|
+
new (): HTMLEdsCardCtaElement;
|
|
2471
|
+
};
|
|
2374
2472
|
interface HTMLEdsCardDescElement extends Components.EdsCardDesc, HTMLStencilElement {
|
|
2375
2473
|
}
|
|
2376
2474
|
var HTMLEdsCardDescElement: {
|
|
2377
2475
|
prototype: HTMLEdsCardDescElement;
|
|
2378
2476
|
new (): HTMLEdsCardDescElement;
|
|
2379
2477
|
};
|
|
2478
|
+
/**
|
|
2479
|
+
* `EdsCardFeature` is a card component designed to showcase features with an icon, title, description, and optional link.
|
|
2480
|
+
* Key features:
|
|
2481
|
+
* - Icon at the top in a colored background box
|
|
2482
|
+
* - Title and description
|
|
2483
|
+
* - Optional "Learn more" link with arrow
|
|
2484
|
+
* - Hover effects with background color change and border glow
|
|
2485
|
+
* This component is ideal for feature grids, service listings, and capability showcases.
|
|
2486
|
+
*/
|
|
2487
|
+
interface HTMLEdsCardFeatureElement extends Components.EdsCardFeature, HTMLStencilElement {
|
|
2488
|
+
}
|
|
2489
|
+
var HTMLEdsCardFeatureElement: {
|
|
2490
|
+
prototype: HTMLEdsCardFeatureElement;
|
|
2491
|
+
new (): HTMLEdsCardFeatureElement;
|
|
2492
|
+
};
|
|
2380
2493
|
/**
|
|
2381
2494
|
* `EdsCardGeneric` is a versatile card component designed to display rich content such as titles, descriptions, images, and tags.
|
|
2382
2495
|
* The card supports various visual configurations, including hover effects, background styling, and compact layout options.
|
|
@@ -2393,31 +2506,38 @@ declare global {
|
|
|
2393
2506
|
prototype: HTMLEdsCardGenericElement;
|
|
2394
2507
|
new (): HTMLEdsCardGenericElement;
|
|
2395
2508
|
};
|
|
2396
|
-
interface HTMLEdsCardProjectElement extends Components.EdsCardProject, HTMLStencilElement {
|
|
2397
|
-
}
|
|
2398
|
-
var HTMLEdsCardProjectElement: {
|
|
2399
|
-
prototype: HTMLEdsCardProjectElement;
|
|
2400
|
-
new (): HTMLEdsCardProjectElement;
|
|
2401
|
-
};
|
|
2402
2509
|
/**
|
|
2403
|
-
* `
|
|
2404
|
-
*
|
|
2405
|
-
*
|
|
2406
|
-
* -
|
|
2407
|
-
* -
|
|
2408
|
-
*
|
|
2510
|
+
* `EdsCardHero` is a floating card component designed for hero sections with label, title, description, and tags.
|
|
2511
|
+
* Key features:
|
|
2512
|
+
* - Small uppercase label (e.g., "DATA MANAGEMENT")
|
|
2513
|
+
* - Large, lightweight title
|
|
2514
|
+
* - Description text
|
|
2515
|
+
* - Multiple tags at the bottom
|
|
2516
|
+
* - Floating animation effects
|
|
2517
|
+
* - Hover effects with border glow
|
|
2518
|
+
* This component is ideal for hero sections, landing pages, and feature highlights.
|
|
2409
2519
|
*/
|
|
2410
|
-
interface
|
|
2520
|
+
interface HTMLEdsCardHeroElement extends Components.EdsCardHero, HTMLStencilElement {
|
|
2411
2521
|
}
|
|
2412
|
-
var
|
|
2413
|
-
prototype:
|
|
2414
|
-
new ():
|
|
2522
|
+
var HTMLEdsCardHeroElement: {
|
|
2523
|
+
prototype: HTMLEdsCardHeroElement;
|
|
2524
|
+
new (): HTMLEdsCardHeroElement;
|
|
2415
2525
|
};
|
|
2416
|
-
|
|
2526
|
+
/**
|
|
2527
|
+
* `EdsCardStat` is a card component designed to display statistics with a large number, label, and description.
|
|
2528
|
+
* Key features:
|
|
2529
|
+
* - Large prominent number display (e.g., "44+", "100%", "AA")
|
|
2530
|
+
* - Label describing the statistic
|
|
2531
|
+
* - Optional description for additional context
|
|
2532
|
+
* - Hover effects with animated top border
|
|
2533
|
+
* - Support for optional links
|
|
2534
|
+
* This component is ideal for dashboards, landing pages, and any interface displaying key metrics.
|
|
2535
|
+
*/
|
|
2536
|
+
interface HTMLEdsCardStatElement extends Components.EdsCardStat, HTMLStencilElement {
|
|
2417
2537
|
}
|
|
2418
|
-
var
|
|
2419
|
-
prototype:
|
|
2420
|
-
new ():
|
|
2538
|
+
var HTMLEdsCardStatElement: {
|
|
2539
|
+
prototype: HTMLEdsCardStatElement;
|
|
2540
|
+
new (): HTMLEdsCardStatElement;
|
|
2421
2541
|
};
|
|
2422
2542
|
interface HTMLEdsCardTitleElement extends Components.EdsCardTitle, HTMLStencilElement {
|
|
2423
2543
|
}
|
|
@@ -2425,12 +2545,6 @@ declare global {
|
|
|
2425
2545
|
prototype: HTMLEdsCardTitleElement;
|
|
2426
2546
|
new (): HTMLEdsCardTitleElement;
|
|
2427
2547
|
};
|
|
2428
|
-
interface HTMLEdsCardToolElement extends Components.EdsCardTool, HTMLStencilElement {
|
|
2429
|
-
}
|
|
2430
|
-
var HTMLEdsCardToolElement: {
|
|
2431
|
-
prototype: HTMLEdsCardToolElement;
|
|
2432
|
-
new (): HTMLEdsCardToolElement;
|
|
2433
|
-
};
|
|
2434
2548
|
/**
|
|
2435
2549
|
* A component that displays a code block with syntax highlighting.
|
|
2436
2550
|
* Uses Prism.js for syntax highlighting. Supports multiple languages such as JavaScript, HTML, CSS,
|
|
@@ -2573,16 +2687,6 @@ declare global {
|
|
|
2573
2687
|
interface HTMLEdsFullscreenMenuElementEventMap {
|
|
2574
2688
|
"menuClose": void;
|
|
2575
2689
|
}
|
|
2576
|
-
/**
|
|
2577
|
-
* `eds-fullscreen-menu` is a fullscreen menu component designed for the EBRAINS platform.
|
|
2578
|
-
* It provides a responsive, full-window overlay menu with navigation links and additional options.
|
|
2579
|
-
* This component is suitable for mobile and small screens, where a fullscreen menu enhances user navigation.
|
|
2580
|
-
* ## Key Features
|
|
2581
|
-
* - **Links and Menu Links**: Allows configurable primary and secondary navigation links.
|
|
2582
|
-
* - **Event-Driven Open/Close**: Listens for a `toggleMenu` event to open or close the menu, emitted by the `eds-header` component.
|
|
2583
|
-
* - **Responsive Behavior**: Automatically closes the menu when the screen width is larger than a specified breakpoint (1024px).
|
|
2584
|
-
* - **Footer Integration**: Optionally displays social links and a customizable footer section within the fullscreen menu.
|
|
2585
|
-
*/
|
|
2586
2690
|
interface HTMLEdsFullscreenMenuElement extends Components.EdsFullscreenMenu, HTMLStencilElement {
|
|
2587
2691
|
addEventListener<K extends keyof HTMLEdsFullscreenMenuElementEventMap>(type: K, listener: (this: HTMLEdsFullscreenMenuElement, ev: EdsFullscreenMenuCustomEvent<HTMLEdsFullscreenMenuElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2588
2692
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -2603,6 +2707,12 @@ declare global {
|
|
|
2603
2707
|
prototype: HTMLEdsGaugeElement;
|
|
2604
2708
|
new (): HTMLEdsGaugeElement;
|
|
2605
2709
|
};
|
|
2710
|
+
interface HTMLEdsGitlabContributorsElement extends Components.EdsGitlabContributors, HTMLStencilElement {
|
|
2711
|
+
}
|
|
2712
|
+
var HTMLEdsGitlabContributorsElement: {
|
|
2713
|
+
prototype: HTMLEdsGitlabContributorsElement;
|
|
2714
|
+
new (): HTMLEdsGitlabContributorsElement;
|
|
2715
|
+
};
|
|
2606
2716
|
interface HTMLEdsGlobalSearchElementEventMap {
|
|
2607
2717
|
"resultSelected": {
|
|
2608
2718
|
id: string;
|
|
@@ -2659,108 +2769,18 @@ declare global {
|
|
|
2659
2769
|
prototype: HTMLEdsHeaderElement;
|
|
2660
2770
|
new (): HTMLEdsHeaderElement;
|
|
2661
2771
|
};
|
|
2662
|
-
interface HTMLEdsIconArrowDiagonalElement extends Components.EdsIconArrowDiagonal, HTMLStencilElement {
|
|
2663
|
-
}
|
|
2664
|
-
var HTMLEdsIconArrowDiagonalElement: {
|
|
2665
|
-
prototype: HTMLEdsIconArrowDiagonalElement;
|
|
2666
|
-
new (): HTMLEdsIconArrowDiagonalElement;
|
|
2667
|
-
};
|
|
2668
|
-
interface HTMLEdsIconArrowRightElement extends Components.EdsIconArrowRight, HTMLStencilElement {
|
|
2669
|
-
}
|
|
2670
|
-
var HTMLEdsIconArrowRightElement: {
|
|
2671
|
-
prototype: HTMLEdsIconArrowRightElement;
|
|
2672
|
-
new (): HTMLEdsIconArrowRightElement;
|
|
2673
|
-
};
|
|
2674
|
-
interface HTMLEdsIconBinElement extends Components.EdsIconBin, HTMLStencilElement {
|
|
2675
|
-
}
|
|
2676
|
-
var HTMLEdsIconBinElement: {
|
|
2677
|
-
prototype: HTMLEdsIconBinElement;
|
|
2678
|
-
new (): HTMLEdsIconBinElement;
|
|
2679
|
-
};
|
|
2680
2772
|
interface HTMLEdsIconBlueskyElement extends Components.EdsIconBluesky, HTMLStencilElement {
|
|
2681
2773
|
}
|
|
2682
2774
|
var HTMLEdsIconBlueskyElement: {
|
|
2683
2775
|
prototype: HTMLEdsIconBlueskyElement;
|
|
2684
2776
|
new (): HTMLEdsIconBlueskyElement;
|
|
2685
2777
|
};
|
|
2686
|
-
interface HTMLEdsIconBookmarkElement extends Components.EdsIconBookmark, HTMLStencilElement {
|
|
2687
|
-
}
|
|
2688
|
-
var HTMLEdsIconBookmarkElement: {
|
|
2689
|
-
prototype: HTMLEdsIconBookmarkElement;
|
|
2690
|
-
new (): HTMLEdsIconBookmarkElement;
|
|
2691
|
-
};
|
|
2692
|
-
interface HTMLEdsIconChevronDownElement extends Components.EdsIconChevronDown, HTMLStencilElement {
|
|
2693
|
-
}
|
|
2694
|
-
var HTMLEdsIconChevronDownElement: {
|
|
2695
|
-
prototype: HTMLEdsIconChevronDownElement;
|
|
2696
|
-
new (): HTMLEdsIconChevronDownElement;
|
|
2697
|
-
};
|
|
2698
|
-
interface HTMLEdsIconChevronLeftElement extends Components.EdsIconChevronLeft, HTMLStencilElement {
|
|
2699
|
-
}
|
|
2700
|
-
var HTMLEdsIconChevronLeftElement: {
|
|
2701
|
-
prototype: HTMLEdsIconChevronLeftElement;
|
|
2702
|
-
new (): HTMLEdsIconChevronLeftElement;
|
|
2703
|
-
};
|
|
2704
|
-
interface HTMLEdsIconChevronRightElement extends Components.EdsIconChevronRight, HTMLStencilElement {
|
|
2705
|
-
}
|
|
2706
|
-
var HTMLEdsIconChevronRightElement: {
|
|
2707
|
-
prototype: HTMLEdsIconChevronRightElement;
|
|
2708
|
-
new (): HTMLEdsIconChevronRightElement;
|
|
2709
|
-
};
|
|
2710
|
-
interface HTMLEdsIconChevronUpElement extends Components.EdsIconChevronUp, HTMLStencilElement {
|
|
2711
|
-
}
|
|
2712
|
-
var HTMLEdsIconChevronUpElement: {
|
|
2713
|
-
prototype: HTMLEdsIconChevronUpElement;
|
|
2714
|
-
new (): HTMLEdsIconChevronUpElement;
|
|
2715
|
-
};
|
|
2716
|
-
interface HTMLEdsIconCloneElement extends Components.EdsIconClone, HTMLStencilElement {
|
|
2717
|
-
}
|
|
2718
|
-
var HTMLEdsIconCloneElement: {
|
|
2719
|
-
prototype: HTMLEdsIconCloneElement;
|
|
2720
|
-
new (): HTMLEdsIconCloneElement;
|
|
2721
|
-
};
|
|
2722
|
-
interface HTMLEdsIconCloseElement extends Components.EdsIconClose, HTMLStencilElement {
|
|
2723
|
-
}
|
|
2724
|
-
var HTMLEdsIconCloseElement: {
|
|
2725
|
-
prototype: HTMLEdsIconCloseElement;
|
|
2726
|
-
new (): HTMLEdsIconCloseElement;
|
|
2727
|
-
};
|
|
2728
|
-
interface HTMLEdsIconCopyElement extends Components.EdsIconCopy, HTMLStencilElement {
|
|
2729
|
-
}
|
|
2730
|
-
var HTMLEdsIconCopyElement: {
|
|
2731
|
-
prototype: HTMLEdsIconCopyElement;
|
|
2732
|
-
new (): HTMLEdsIconCopyElement;
|
|
2733
|
-
};
|
|
2734
|
-
interface HTMLEdsIconDownloadElement extends Components.EdsIconDownload, HTMLStencilElement {
|
|
2735
|
-
}
|
|
2736
|
-
var HTMLEdsIconDownloadElement: {
|
|
2737
|
-
prototype: HTMLEdsIconDownloadElement;
|
|
2738
|
-
new (): HTMLEdsIconDownloadElement;
|
|
2739
|
-
};
|
|
2740
|
-
interface HTMLEdsIconDraftElement extends Components.EdsIconDraft, HTMLStencilElement {
|
|
2741
|
-
}
|
|
2742
|
-
var HTMLEdsIconDraftElement: {
|
|
2743
|
-
prototype: HTMLEdsIconDraftElement;
|
|
2744
|
-
new (): HTMLEdsIconDraftElement;
|
|
2745
|
-
};
|
|
2746
|
-
interface HTMLEdsIconEditElement extends Components.EdsIconEdit, HTMLStencilElement {
|
|
2747
|
-
}
|
|
2748
|
-
var HTMLEdsIconEditElement: {
|
|
2749
|
-
prototype: HTMLEdsIconEditElement;
|
|
2750
|
-
new (): HTMLEdsIconEditElement;
|
|
2751
|
-
};
|
|
2752
2778
|
interface HTMLEdsIconEuElement extends Components.EdsIconEu, HTMLStencilElement {
|
|
2753
2779
|
}
|
|
2754
2780
|
var HTMLEdsIconEuElement: {
|
|
2755
2781
|
prototype: HTMLEdsIconEuElement;
|
|
2756
2782
|
new (): HTMLEdsIconEuElement;
|
|
2757
2783
|
};
|
|
2758
|
-
interface HTMLEdsIconExternalElement extends Components.EdsIconExternal, HTMLStencilElement {
|
|
2759
|
-
}
|
|
2760
|
-
var HTMLEdsIconExternalElement: {
|
|
2761
|
-
prototype: HTMLEdsIconExternalElement;
|
|
2762
|
-
new (): HTMLEdsIconExternalElement;
|
|
2763
|
-
};
|
|
2764
2784
|
interface HTMLEdsIconFacebookElement extends Components.EdsIconFacebook, HTMLStencilElement {
|
|
2765
2785
|
}
|
|
2766
2786
|
var HTMLEdsIconFacebookElement: {
|
|
@@ -2779,147 +2799,18 @@ declare global {
|
|
|
2779
2799
|
prototype: HTMLEdsIconLinkedinElement;
|
|
2780
2800
|
new (): HTMLEdsIconLinkedinElement;
|
|
2781
2801
|
};
|
|
2782
|
-
interface HTMLEdsIconLoaderElement extends Components.EdsIconLoader, HTMLStencilElement {
|
|
2783
|
-
}
|
|
2784
|
-
var HTMLEdsIconLoaderElement: {
|
|
2785
|
-
prototype: HTMLEdsIconLoaderElement;
|
|
2786
|
-
new (): HTMLEdsIconLoaderElement;
|
|
2787
|
-
};
|
|
2788
2802
|
interface HTMLEdsIconMastodonElement extends Components.EdsIconMastodon, HTMLStencilElement {
|
|
2789
2803
|
}
|
|
2790
2804
|
var HTMLEdsIconMastodonElement: {
|
|
2791
2805
|
prototype: HTMLEdsIconMastodonElement;
|
|
2792
2806
|
new (): HTMLEdsIconMastodonElement;
|
|
2793
2807
|
};
|
|
2794
|
-
interface HTMLEdsIconMenuElement extends Components.EdsIconMenu, HTMLStencilElement {
|
|
2795
|
-
}
|
|
2796
|
-
var HTMLEdsIconMenuElement: {
|
|
2797
|
-
prototype: HTMLEdsIconMenuElement;
|
|
2798
|
-
new (): HTMLEdsIconMenuElement;
|
|
2799
|
-
};
|
|
2800
|
-
interface HTMLEdsIconMinusElement extends Components.EdsIconMinus, HTMLStencilElement {
|
|
2801
|
-
}
|
|
2802
|
-
var HTMLEdsIconMinusElement: {
|
|
2803
|
-
prototype: HTMLEdsIconMinusElement;
|
|
2804
|
-
new (): HTMLEdsIconMinusElement;
|
|
2805
|
-
};
|
|
2806
|
-
interface HTMLEdsIconMoreElement extends Components.EdsIconMore, HTMLStencilElement {
|
|
2807
|
-
}
|
|
2808
|
-
var HTMLEdsIconMoreElement: {
|
|
2809
|
-
prototype: HTMLEdsIconMoreElement;
|
|
2810
|
-
new (): HTMLEdsIconMoreElement;
|
|
2811
|
-
};
|
|
2812
|
-
interface HTMLEdsIconPaperElement extends Components.EdsIconPaper, HTMLStencilElement {
|
|
2813
|
-
}
|
|
2814
|
-
var HTMLEdsIconPaperElement: {
|
|
2815
|
-
prototype: HTMLEdsIconPaperElement;
|
|
2816
|
-
new (): HTMLEdsIconPaperElement;
|
|
2817
|
-
};
|
|
2818
|
-
interface HTMLEdsIconPlusElement extends Components.EdsIconPlus, HTMLStencilElement {
|
|
2819
|
-
}
|
|
2820
|
-
var HTMLEdsIconPlusElement: {
|
|
2821
|
-
prototype: HTMLEdsIconPlusElement;
|
|
2822
|
-
new (): HTMLEdsIconPlusElement;
|
|
2823
|
-
};
|
|
2824
|
-
interface HTMLEdsIconPortalElement extends Components.EdsIconPortal, HTMLStencilElement {
|
|
2825
|
-
}
|
|
2826
|
-
var HTMLEdsIconPortalElement: {
|
|
2827
|
-
prototype: HTMLEdsIconPortalElement;
|
|
2828
|
-
new (): HTMLEdsIconPortalElement;
|
|
2829
|
-
};
|
|
2830
|
-
interface HTMLEdsIconPrivateElement extends Components.EdsIconPrivate, HTMLStencilElement {
|
|
2831
|
-
}
|
|
2832
|
-
var HTMLEdsIconPrivateElement: {
|
|
2833
|
-
prototype: HTMLEdsIconPrivateElement;
|
|
2834
|
-
new (): HTMLEdsIconPrivateElement;
|
|
2835
|
-
};
|
|
2836
|
-
interface HTMLEdsIconPublicElement extends Components.EdsIconPublic, HTMLStencilElement {
|
|
2837
|
-
}
|
|
2838
|
-
var HTMLEdsIconPublicElement: {
|
|
2839
|
-
prototype: HTMLEdsIconPublicElement;
|
|
2840
|
-
new (): HTMLEdsIconPublicElement;
|
|
2841
|
-
};
|
|
2842
|
-
interface HTMLEdsIconSearchElement extends Components.EdsIconSearch, HTMLStencilElement {
|
|
2843
|
-
}
|
|
2844
|
-
var HTMLEdsIconSearchElement: {
|
|
2845
|
-
prototype: HTMLEdsIconSearchElement;
|
|
2846
|
-
new (): HTMLEdsIconSearchElement;
|
|
2847
|
-
};
|
|
2848
|
-
interface HTMLEdsIconStarElement extends Components.EdsIconStar, HTMLStencilElement {
|
|
2849
|
-
}
|
|
2850
|
-
var HTMLEdsIconStarElement: {
|
|
2851
|
-
prototype: HTMLEdsIconStarElement;
|
|
2852
|
-
new (): HTMLEdsIconStarElement;
|
|
2853
|
-
};
|
|
2854
|
-
interface HTMLEdsIconStartElement extends Components.EdsIconStart, HTMLStencilElement {
|
|
2855
|
-
}
|
|
2856
|
-
var HTMLEdsIconStartElement: {
|
|
2857
|
-
prototype: HTMLEdsIconStartElement;
|
|
2858
|
-
new (): HTMLEdsIconStartElement;
|
|
2859
|
-
};
|
|
2860
|
-
interface HTMLEdsIconSuccessElement extends Components.EdsIconSuccess, HTMLStencilElement {
|
|
2861
|
-
}
|
|
2862
|
-
var HTMLEdsIconSuccessElement: {
|
|
2863
|
-
prototype: HTMLEdsIconSuccessElement;
|
|
2864
|
-
new (): HTMLEdsIconSuccessElement;
|
|
2865
|
-
};
|
|
2866
|
-
interface HTMLEdsIconThumbsDownElement extends Components.EdsIconThumbsDown, HTMLStencilElement {
|
|
2867
|
-
}
|
|
2868
|
-
var HTMLEdsIconThumbsDownElement: {
|
|
2869
|
-
prototype: HTMLEdsIconThumbsDownElement;
|
|
2870
|
-
new (): HTMLEdsIconThumbsDownElement;
|
|
2871
|
-
};
|
|
2872
|
-
interface HTMLEdsIconThumbsUpElement extends Components.EdsIconThumbsUp, HTMLStencilElement {
|
|
2873
|
-
}
|
|
2874
|
-
var HTMLEdsIconThumbsUpElement: {
|
|
2875
|
-
prototype: HTMLEdsIconThumbsUpElement;
|
|
2876
|
-
new (): HTMLEdsIconThumbsUpElement;
|
|
2877
|
-
};
|
|
2878
|
-
interface HTMLEdsIconTutorialElement extends Components.EdsIconTutorial, HTMLStencilElement {
|
|
2879
|
-
}
|
|
2880
|
-
var HTMLEdsIconTutorialElement: {
|
|
2881
|
-
prototype: HTMLEdsIconTutorialElement;
|
|
2882
|
-
new (): HTMLEdsIconTutorialElement;
|
|
2883
|
-
};
|
|
2884
2808
|
interface HTMLEdsIconTwitterElement extends Components.EdsIconTwitter, HTMLStencilElement {
|
|
2885
2809
|
}
|
|
2886
2810
|
var HTMLEdsIconTwitterElement: {
|
|
2887
2811
|
prototype: HTMLEdsIconTwitterElement;
|
|
2888
2812
|
new (): HTMLEdsIconTwitterElement;
|
|
2889
2813
|
};
|
|
2890
|
-
interface HTMLEdsIconUnknownElement extends Components.EdsIconUnknown, HTMLStencilElement {
|
|
2891
|
-
}
|
|
2892
|
-
var HTMLEdsIconUnknownElement: {
|
|
2893
|
-
prototype: HTMLEdsIconUnknownElement;
|
|
2894
|
-
new (): HTMLEdsIconUnknownElement;
|
|
2895
|
-
};
|
|
2896
|
-
interface HTMLEdsIconUpdownElement extends Components.EdsIconUpdown, HTMLStencilElement {
|
|
2897
|
-
}
|
|
2898
|
-
var HTMLEdsIconUpdownElement: {
|
|
2899
|
-
prototype: HTMLEdsIconUpdownElement;
|
|
2900
|
-
new (): HTMLEdsIconUpdownElement;
|
|
2901
|
-
};
|
|
2902
|
-
interface HTMLEdsIconUserElement extends Components.EdsIconUser, HTMLStencilElement {
|
|
2903
|
-
}
|
|
2904
|
-
var HTMLEdsIconUserElement: {
|
|
2905
|
-
prototype: HTMLEdsIconUserElement;
|
|
2906
|
-
new (): HTMLEdsIconUserElement;
|
|
2907
|
-
};
|
|
2908
|
-
interface HTMLEdsIconViewElement extends Components.EdsIconView, HTMLStencilElement {
|
|
2909
|
-
}
|
|
2910
|
-
var HTMLEdsIconViewElement: {
|
|
2911
|
-
prototype: HTMLEdsIconViewElement;
|
|
2912
|
-
new (): HTMLEdsIconViewElement;
|
|
2913
|
-
};
|
|
2914
|
-
/**
|
|
2915
|
-
* `EdsIconWrapper` is a wrapper component for displaying icons with dynamic loading capabilities.
|
|
2916
|
-
* It allows specifying the icon name, which is dynamically imported and rendered within the component.
|
|
2917
|
-
* Key Features:
|
|
2918
|
-
* - Dynamically loads the icon component based on the `icon` prop.
|
|
2919
|
-
* - Allows additional CSS classes through the `class` prop for custom styling.
|
|
2920
|
-
* - Observes changes to the `icon` prop and reloads the icon component accordingly.
|
|
2921
|
-
* Ideal for scenarios where icons need to be dynamically selected and styled consistently across an application.
|
|
2922
|
-
*/
|
|
2923
2814
|
interface HTMLEdsIconWrapperElement extends Components.EdsIconWrapper, HTMLStencilElement {
|
|
2924
2815
|
}
|
|
2925
2816
|
var HTMLEdsIconWrapperElement: {
|
|
@@ -2960,6 +2851,23 @@ declare global {
|
|
|
2960
2851
|
prototype: HTMLEdsInputElement;
|
|
2961
2852
|
new (): HTMLEdsInputElement;
|
|
2962
2853
|
};
|
|
2854
|
+
interface HTMLEdsInputDropzoneElementEventMap {
|
|
2855
|
+
"edsfile": { files: File[] };
|
|
2856
|
+
}
|
|
2857
|
+
interface HTMLEdsInputDropzoneElement extends Components.EdsInputDropzone, HTMLStencilElement {
|
|
2858
|
+
addEventListener<K extends keyof HTMLEdsInputDropzoneElementEventMap>(type: K, listener: (this: HTMLEdsInputDropzoneElement, ev: EdsInputDropzoneCustomEvent<HTMLEdsInputDropzoneElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2859
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2860
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2861
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2862
|
+
removeEventListener<K extends keyof HTMLEdsInputDropzoneElementEventMap>(type: K, listener: (this: HTMLEdsInputDropzoneElement, ev: EdsInputDropzoneCustomEvent<HTMLEdsInputDropzoneElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2863
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2864
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2865
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2866
|
+
}
|
|
2867
|
+
var HTMLEdsInputDropzoneElement: {
|
|
2868
|
+
prototype: HTMLEdsInputDropzoneElement;
|
|
2869
|
+
new (): HTMLEdsInputDropzoneElement;
|
|
2870
|
+
};
|
|
2963
2871
|
interface HTMLEdsInputFieldElementEventMap {
|
|
2964
2872
|
"edsinput": { value: string | boolean | string[] };
|
|
2965
2873
|
"edschange": { value: string | boolean | string[] };
|
|
@@ -2978,6 +2886,23 @@ declare global {
|
|
|
2978
2886
|
prototype: HTMLEdsInputFieldElement;
|
|
2979
2887
|
new (): HTMLEdsInputFieldElement;
|
|
2980
2888
|
};
|
|
2889
|
+
interface HTMLEdsInputFileElementEventMap {
|
|
2890
|
+
"edsfile": { files: File[] };
|
|
2891
|
+
}
|
|
2892
|
+
interface HTMLEdsInputFileElement extends Components.EdsInputFile, HTMLStencilElement {
|
|
2893
|
+
addEventListener<K extends keyof HTMLEdsInputFileElementEventMap>(type: K, listener: (this: HTMLEdsInputFileElement, ev: EdsInputFileCustomEvent<HTMLEdsInputFileElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2894
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2895
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2896
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2897
|
+
removeEventListener<K extends keyof HTMLEdsInputFileElementEventMap>(type: K, listener: (this: HTMLEdsInputFileElement, ev: EdsInputFileCustomEvent<HTMLEdsInputFileElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2898
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2899
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2900
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2901
|
+
}
|
|
2902
|
+
var HTMLEdsInputFileElement: {
|
|
2903
|
+
prototype: HTMLEdsInputFileElement;
|
|
2904
|
+
new (): HTMLEdsInputFileElement;
|
|
2905
|
+
};
|
|
2981
2906
|
interface HTMLEdsInputFooterElement extends Components.EdsInputFooter, HTMLStencilElement {
|
|
2982
2907
|
}
|
|
2983
2908
|
var HTMLEdsInputFooterElement: {
|
|
@@ -3044,6 +2969,24 @@ declare global {
|
|
|
3044
2969
|
prototype: HTMLEdsInputSelectElement;
|
|
3045
2970
|
new (): HTMLEdsInputSelectElement;
|
|
3046
2971
|
};
|
|
2972
|
+
interface HTMLEdsKgWebServicesSelectElementEventMap {
|
|
2973
|
+
"edsinput": { value: string | boolean | string[] };
|
|
2974
|
+
"edschange": { value: string | boolean | string[] };
|
|
2975
|
+
}
|
|
2976
|
+
interface HTMLEdsKgWebServicesSelectElement extends Components.EdsKgWebServicesSelect, HTMLStencilElement {
|
|
2977
|
+
addEventListener<K extends keyof HTMLEdsKgWebServicesSelectElementEventMap>(type: K, listener: (this: HTMLEdsKgWebServicesSelectElement, ev: EdsKgWebServicesSelectCustomEvent<HTMLEdsKgWebServicesSelectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2978
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2979
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2980
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2981
|
+
removeEventListener<K extends keyof HTMLEdsKgWebServicesSelectElementEventMap>(type: K, listener: (this: HTMLEdsKgWebServicesSelectElement, ev: EdsKgWebServicesSelectCustomEvent<HTMLEdsKgWebServicesSelectElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2982
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2983
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2984
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2985
|
+
}
|
|
2986
|
+
var HTMLEdsKgWebServicesSelectElement: {
|
|
2987
|
+
prototype: HTMLEdsKgWebServicesSelectElement;
|
|
2988
|
+
new (): HTMLEdsKgWebServicesSelectElement;
|
|
2989
|
+
};
|
|
3047
2990
|
/**
|
|
3048
2991
|
* `EdsLink` is a versatile link component offering different styles and behaviors.
|
|
3049
2992
|
* Key Features:
|
|
@@ -3292,13 +3235,20 @@ declare global {
|
|
|
3292
3235
|
};
|
|
3293
3236
|
interface HTMLEdsTableElementEventMap {
|
|
3294
3237
|
"rowaction": { action: string; row: any; checked: boolean };
|
|
3238
|
+
"viewchange": { view: 'table' | 'card' };
|
|
3295
3239
|
}
|
|
3296
3240
|
/**
|
|
3297
3241
|
* `EdsTable` is a customizable data table component with support for dynamic data fetching, column configuration, pagination, and search functionality.
|
|
3298
3242
|
* Key Features:
|
|
3299
|
-
* - Configurable columns with options to hide or apply text formatting (uppercase, bold, or
|
|
3243
|
+
* - Configurable columns with options to hide or apply text formatting (uppercase, bold, code, or html).
|
|
3300
3244
|
* - Pagination support with adjustable rows per page.
|
|
3301
3245
|
* - Searchable content for easier data filtering.
|
|
3246
|
+
* Column Format Options:
|
|
3247
|
+
* - 'uppercase': Converts text to uppercase
|
|
3248
|
+
* - 'bold': Wraps text in <strong> tag
|
|
3249
|
+
* - 'code': Wraps text in <code> tag
|
|
3250
|
+
* - 'html': Renders raw HTML content (use for web components, links, etc.)
|
|
3251
|
+
* - 'svg': (deprecated, use 'html') Renders raw HTML content
|
|
3302
3252
|
* This component is versatile for displaying data with flexible configuration, and integrates with pagination and search functionalities.
|
|
3303
3253
|
*/
|
|
3304
3254
|
interface HTMLEdsTableElement extends Components.EdsTable, HTMLStencilElement {
|
|
@@ -3323,12 +3273,15 @@ declare global {
|
|
|
3323
3273
|
};
|
|
3324
3274
|
}
|
|
3325
3275
|
/**
|
|
3326
|
-
* `EdsTabs` is a tabs component
|
|
3327
|
-
*
|
|
3328
|
-
*
|
|
3329
|
-
*
|
|
3330
|
-
*
|
|
3331
|
-
*
|
|
3276
|
+
* `EdsTabs` is a modern tabs component with a pill-shaped container design.
|
|
3277
|
+
* Features a clean, minimal interface with smooth transitions and two variant styles.
|
|
3278
|
+
* Key features:
|
|
3279
|
+
* - Default variant (dark background) and inverse variant (light background)
|
|
3280
|
+
* - Pill-shaped container with rounded tabs
|
|
3281
|
+
* - Smooth hover and active state transitions
|
|
3282
|
+
* - Keyboard navigation support (Arrow keys, Home, End)
|
|
3283
|
+
* - Analytics tracking integration
|
|
3284
|
+
* - Accessible with proper ARIA attributes
|
|
3332
3285
|
*/
|
|
3333
3286
|
interface HTMLEdsTabsElement extends Components.EdsTabs, HTMLStencilElement {
|
|
3334
3287
|
addEventListener<K extends keyof HTMLEdsTabsElementEventMap>(type: K, listener: (this: HTMLEdsTabsElement, ev: EdsTabsCustomEvent<HTMLEdsTabsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -3392,12 +3345,6 @@ declare global {
|
|
|
3392
3345
|
prototype: HTMLEdsTooltipElement;
|
|
3393
3346
|
new (): HTMLEdsTooltipElement;
|
|
3394
3347
|
};
|
|
3395
|
-
interface HTMLEdsTrlElement extends Components.EdsTrl, HTMLStencilElement {
|
|
3396
|
-
}
|
|
3397
|
-
var HTMLEdsTrlElement: {
|
|
3398
|
-
prototype: HTMLEdsTrlElement;
|
|
3399
|
-
new (): HTMLEdsTrlElement;
|
|
3400
|
-
};
|
|
3401
3348
|
/**
|
|
3402
3349
|
* `EdsUser` is a user component for managing and displaying
|
|
3403
3350
|
* the user's auth information. Displays a user dropdown menu when authenticated.
|
|
@@ -3520,13 +3467,14 @@ declare global {
|
|
|
3520
3467
|
"eds-block-break": HTMLEdsBlockBreakElement;
|
|
3521
3468
|
"eds-breadcrumb": HTMLEdsBreadcrumbElement;
|
|
3522
3469
|
"eds-button": HTMLEdsButtonElement;
|
|
3470
|
+
"eds-card-app": HTMLEdsCardAppElement;
|
|
3471
|
+
"eds-card-cta": HTMLEdsCardCtaElement;
|
|
3523
3472
|
"eds-card-desc": HTMLEdsCardDescElement;
|
|
3473
|
+
"eds-card-feature": HTMLEdsCardFeatureElement;
|
|
3524
3474
|
"eds-card-generic": HTMLEdsCardGenericElement;
|
|
3525
|
-
"eds-card-
|
|
3526
|
-
"eds-card-
|
|
3527
|
-
"eds-card-tags": HTMLEdsCardTagsElement;
|
|
3475
|
+
"eds-card-hero": HTMLEdsCardHeroElement;
|
|
3476
|
+
"eds-card-stat": HTMLEdsCardStatElement;
|
|
3528
3477
|
"eds-card-title": HTMLEdsCardTitleElement;
|
|
3529
|
-
"eds-card-tool": HTMLEdsCardToolElement;
|
|
3530
3478
|
"eds-code-block": HTMLEdsCodeBlockElement;
|
|
3531
3479
|
"eds-cookies-preference": HTMLEdsCookiesPreferenceElement;
|
|
3532
3480
|
"eds-dropdown": HTMLEdsDropdownElement;
|
|
@@ -3536,60 +3484,29 @@ declare global {
|
|
|
3536
3484
|
"eds-frame": HTMLEdsFrameElement;
|
|
3537
3485
|
"eds-fullscreen-menu": HTMLEdsFullscreenMenuElement;
|
|
3538
3486
|
"eds-gauge": HTMLEdsGaugeElement;
|
|
3487
|
+
"eds-gitlab-contributors": HTMLEdsGitlabContributorsElement;
|
|
3539
3488
|
"eds-global-search": HTMLEdsGlobalSearchElement;
|
|
3540
3489
|
"eds-header": HTMLEdsHeaderElement;
|
|
3541
|
-
"eds-icon-arrow-diagonal": HTMLEdsIconArrowDiagonalElement;
|
|
3542
|
-
"eds-icon-arrow-right": HTMLEdsIconArrowRightElement;
|
|
3543
|
-
"eds-icon-bin": HTMLEdsIconBinElement;
|
|
3544
3490
|
"eds-icon-bluesky": HTMLEdsIconBlueskyElement;
|
|
3545
|
-
"eds-icon-bookmark": HTMLEdsIconBookmarkElement;
|
|
3546
|
-
"eds-icon-chevron-down": HTMLEdsIconChevronDownElement;
|
|
3547
|
-
"eds-icon-chevron-left": HTMLEdsIconChevronLeftElement;
|
|
3548
|
-
"eds-icon-chevron-right": HTMLEdsIconChevronRightElement;
|
|
3549
|
-
"eds-icon-chevron-up": HTMLEdsIconChevronUpElement;
|
|
3550
|
-
"eds-icon-clone": HTMLEdsIconCloneElement;
|
|
3551
|
-
"eds-icon-close": HTMLEdsIconCloseElement;
|
|
3552
|
-
"eds-icon-copy": HTMLEdsIconCopyElement;
|
|
3553
|
-
"eds-icon-download": HTMLEdsIconDownloadElement;
|
|
3554
|
-
"eds-icon-draft": HTMLEdsIconDraftElement;
|
|
3555
|
-
"eds-icon-edit": HTMLEdsIconEditElement;
|
|
3556
3491
|
"eds-icon-eu": HTMLEdsIconEuElement;
|
|
3557
|
-
"eds-icon-external": HTMLEdsIconExternalElement;
|
|
3558
3492
|
"eds-icon-facebook": HTMLEdsIconFacebookElement;
|
|
3559
3493
|
"eds-icon-gitlab": HTMLEdsIconGitlabElement;
|
|
3560
3494
|
"eds-icon-linkedin": HTMLEdsIconLinkedinElement;
|
|
3561
|
-
"eds-icon-loader": HTMLEdsIconLoaderElement;
|
|
3562
3495
|
"eds-icon-mastodon": HTMLEdsIconMastodonElement;
|
|
3563
|
-
"eds-icon-menu": HTMLEdsIconMenuElement;
|
|
3564
|
-
"eds-icon-minus": HTMLEdsIconMinusElement;
|
|
3565
|
-
"eds-icon-more": HTMLEdsIconMoreElement;
|
|
3566
|
-
"eds-icon-paper": HTMLEdsIconPaperElement;
|
|
3567
|
-
"eds-icon-plus": HTMLEdsIconPlusElement;
|
|
3568
|
-
"eds-icon-portal": HTMLEdsIconPortalElement;
|
|
3569
|
-
"eds-icon-private": HTMLEdsIconPrivateElement;
|
|
3570
|
-
"eds-icon-public": HTMLEdsIconPublicElement;
|
|
3571
|
-
"eds-icon-search": HTMLEdsIconSearchElement;
|
|
3572
|
-
"eds-icon-star": HTMLEdsIconStarElement;
|
|
3573
|
-
"eds-icon-start": HTMLEdsIconStartElement;
|
|
3574
|
-
"eds-icon-success": HTMLEdsIconSuccessElement;
|
|
3575
|
-
"eds-icon-thumbs-down": HTMLEdsIconThumbsDownElement;
|
|
3576
|
-
"eds-icon-thumbs-up": HTMLEdsIconThumbsUpElement;
|
|
3577
|
-
"eds-icon-tutorial": HTMLEdsIconTutorialElement;
|
|
3578
3496
|
"eds-icon-twitter": HTMLEdsIconTwitterElement;
|
|
3579
|
-
"eds-icon-unknown": HTMLEdsIconUnknownElement;
|
|
3580
|
-
"eds-icon-updown": HTMLEdsIconUpdownElement;
|
|
3581
|
-
"eds-icon-user": HTMLEdsIconUserElement;
|
|
3582
|
-
"eds-icon-view": HTMLEdsIconViewElement;
|
|
3583
3497
|
"eds-icon-wrapper": HTMLEdsIconWrapperElement;
|
|
3584
3498
|
"eds-icon-youtube": HTMLEdsIconYoutubeElement;
|
|
3585
3499
|
"eds-img": HTMLEdsImgElement;
|
|
3586
3500
|
"eds-input": HTMLEdsInputElement;
|
|
3501
|
+
"eds-input-dropzone": HTMLEdsInputDropzoneElement;
|
|
3587
3502
|
"eds-input-field": HTMLEdsInputFieldElement;
|
|
3503
|
+
"eds-input-file": HTMLEdsInputFileElement;
|
|
3588
3504
|
"eds-input-footer": HTMLEdsInputFooterElement;
|
|
3589
3505
|
"eds-input-label": HTMLEdsInputLabelElement;
|
|
3590
3506
|
"eds-input-range": HTMLEdsInputRangeElement;
|
|
3591
3507
|
"eds-input-search": HTMLEdsInputSearchElement;
|
|
3592
3508
|
"eds-input-select": HTMLEdsInputSelectElement;
|
|
3509
|
+
"eds-kg-web-services-select": HTMLEdsKgWebServicesSelectElement;
|
|
3593
3510
|
"eds-link": HTMLEdsLinkElement;
|
|
3594
3511
|
"eds-logo": HTMLEdsLogoElement;
|
|
3595
3512
|
"eds-matomo-notice": HTMLEdsMatomoNoticeElement;
|
|
@@ -3615,7 +3532,6 @@ declare global {
|
|
|
3615
3532
|
"eds-toast": HTMLEdsToastElement;
|
|
3616
3533
|
"eds-toast-manager": HTMLEdsToastManagerElement;
|
|
3617
3534
|
"eds-tooltip": HTMLEdsTooltipElement;
|
|
3618
|
-
"eds-trl": HTMLEdsTrlElement;
|
|
3619
3535
|
"eds-user": HTMLEdsUserElement;
|
|
3620
3536
|
"gradient-primary-palette": HTMLGradientPrimaryPaletteElement;
|
|
3621
3537
|
"gradient-secondary-palette": HTMLGradientSecondaryPaletteElement;
|
|
@@ -3665,32 +3581,19 @@ declare namespace LocalJSX {
|
|
|
3665
3581
|
}
|
|
3666
3582
|
/**
|
|
3667
3583
|
* `EdsAccordion` is a flexible, interactive component for expanding and collapsing content sections.
|
|
3668
|
-
* It features a customizable header
|
|
3669
|
-
*
|
|
3670
|
-
*
|
|
3671
|
-
*
|
|
3672
|
-
*
|
|
3673
|
-
* to track its open/close status.
|
|
3674
|
-
* Key features include:
|
|
3675
|
-
* - Header with customizable title
|
|
3676
|
-
* - Expandable/collapsible content section
|
|
3677
|
-
* - Background color switch on expand and hover
|
|
3678
|
-
* - Compact layout option with reduced header height
|
|
3679
|
-
* - Adjustable content height and text clamping
|
|
3680
|
-
* - Emitted events for tracking changes in expansion state and context
|
|
3584
|
+
* It features a customizable header with optional icon, description, and content area.
|
|
3585
|
+
* Supports two visual variants (`default` and `inverse`) matching the card design system,
|
|
3586
|
+
* with hover effects, smooth CSS-driven expand/collapse animation, and optional icon display.
|
|
3587
|
+
* The `accordion` event is emitted when the accordion's expanded state changes, allowing parent
|
|
3588
|
+
* components to track its open/close status.
|
|
3681
3589
|
*/
|
|
3682
3590
|
interface EdsAccordion {
|
|
3683
3591
|
/**
|
|
3684
|
-
*
|
|
3685
|
-
* @default 'tertiary'
|
|
3686
|
-
*/
|
|
3687
|
-
"buttonIntent"?: 'secondary' | 'tertiary' | 'ghost';
|
|
3688
|
-
/**
|
|
3689
|
-
* Clamps the text when the accordion is collapsed to prevent overflow
|
|
3592
|
+
* Clamps the description text when the accordion is collapsed to prevent overflow
|
|
3690
3593
|
*/
|
|
3691
3594
|
"clampText"?: boolean;
|
|
3692
3595
|
/**
|
|
3693
|
-
* Optional description displayed
|
|
3596
|
+
* Optional description displayed below the title in the header
|
|
3694
3597
|
*/
|
|
3695
3598
|
"description"?: string;
|
|
3696
3599
|
/**
|
|
@@ -3701,52 +3604,67 @@ declare namespace LocalJSX {
|
|
|
3701
3604
|
* The title of the accordion, displayed in the header area
|
|
3702
3605
|
*/
|
|
3703
3606
|
"heading"?: string;
|
|
3607
|
+
/**
|
|
3608
|
+
* Optional icon displayed in the header
|
|
3609
|
+
*/
|
|
3610
|
+
"icon"?: IconName;
|
|
3704
3611
|
/**
|
|
3705
3612
|
* Event emitted when the accordion toggles, indicating the new expanded/collapsed state
|
|
3706
3613
|
*/
|
|
3707
3614
|
"onAccordion"?: (event: EdsAccordionCustomEvent<boolean>) => void;
|
|
3708
3615
|
/**
|
|
3709
|
-
*
|
|
3616
|
+
* @deprecated Use `variant` prop instead. Kept for backward compatibility.
|
|
3710
3617
|
*/
|
|
3711
3618
|
"switchBg"?: boolean;
|
|
3619
|
+
/**
|
|
3620
|
+
* Visual variant: 'default' for dark background, 'inverse' for light background
|
|
3621
|
+
*/
|
|
3622
|
+
"variant"?: 'default' | 'inverse';
|
|
3712
3623
|
}
|
|
3713
3624
|
/**
|
|
3714
|
-
* `EdsAlert` is a versatile alert component
|
|
3715
|
-
*
|
|
3716
|
-
*
|
|
3717
|
-
* -
|
|
3718
|
-
* -
|
|
3719
|
-
* - Optional
|
|
3720
|
-
* -
|
|
3721
|
-
* This component is styled with predefined CSS classes to ensure consistent appearance across different alert types and layout configurations.
|
|
3625
|
+
* `EdsAlert` is a versatile alert component for displaying contextual messages.
|
|
3626
|
+
* Key features:
|
|
3627
|
+
* - Contextual intents (`default`, `info`, `warning`, `error`, `success`) with matching icons and accent colors
|
|
3628
|
+
* - Configurable layout direction (`horizontal` or `vertical`)
|
|
3629
|
+
* - Optional action element (link when URL provided, ghost button otherwise)
|
|
3630
|
+
* - Optional dismiss button to close the alert
|
|
3631
|
+
* - Left accent border colored per intent
|
|
3722
3632
|
*/
|
|
3723
3633
|
interface EdsAlert {
|
|
3724
3634
|
/**
|
|
3725
|
-
* The
|
|
3635
|
+
* The layout direction of the alert content.
|
|
3726
3636
|
*/
|
|
3727
|
-
"
|
|
3637
|
+
"direction"?: 'horizontal' | 'vertical';
|
|
3728
3638
|
/**
|
|
3729
|
-
*
|
|
3639
|
+
* When true, shows a close button to dismiss the alert.
|
|
3730
3640
|
*/
|
|
3731
|
-
"
|
|
3641
|
+
"dismissible"?: boolean;
|
|
3732
3642
|
/**
|
|
3733
|
-
*
|
|
3643
|
+
* Optional icon override. When not set, an icon matching the intent is shown automatically.
|
|
3734
3644
|
*/
|
|
3735
|
-
"
|
|
3645
|
+
"icon"?: IconName;
|
|
3736
3646
|
/**
|
|
3737
|
-
* The
|
|
3647
|
+
* The visual intent of the alert. 'info' is an alias for 'default'.
|
|
3738
3648
|
*/
|
|
3739
|
-
"
|
|
3649
|
+
"intent"?: 'default' | 'info' | 'warning' | 'error' | 'success' | 'brand';
|
|
3650
|
+
/**
|
|
3651
|
+
* The main message or text to be displayed in the alert. If not provided, slot content will be used instead.
|
|
3652
|
+
*/
|
|
3653
|
+
"message"?: string;
|
|
3654
|
+
/**
|
|
3655
|
+
* Emitted when the alert is dismissed.
|
|
3656
|
+
*/
|
|
3657
|
+
"onEdsDismiss"?: (event: EdsAlertCustomEvent<void>) => void;
|
|
3740
3658
|
/**
|
|
3741
3659
|
* Emitted when the alert action button is clicked (for non-URL actions).
|
|
3742
3660
|
*/
|
|
3743
3661
|
"onEdsalert"?: (event: EdsAlertCustomEvent<void>) => void;
|
|
3744
3662
|
/**
|
|
3745
|
-
*
|
|
3663
|
+
* Label for the action element (link or button).
|
|
3746
3664
|
*/
|
|
3747
3665
|
"pressableLabel"?: string;
|
|
3748
3666
|
/**
|
|
3749
|
-
*
|
|
3667
|
+
* URL for the action element. When provided, renders a link instead of a button.
|
|
3750
3668
|
*/
|
|
3751
3669
|
"pressableUrl"?: string;
|
|
3752
3670
|
}
|
|
@@ -3804,24 +3722,30 @@ declare namespace LocalJSX {
|
|
|
3804
3722
|
*/
|
|
3805
3723
|
interface EdsBreadcrumb {
|
|
3806
3724
|
/**
|
|
3807
|
-
* The visual style or intent of the breadcrumb links. Options include: '
|
|
3725
|
+
* The visual style or intent of the breadcrumb links. Options include: 'ghost', 'strong', 'weak', 'inverse', 'underline'. Default is 'ghost'.
|
|
3808
3726
|
*/
|
|
3809
|
-
"intent"?: '
|
|
3727
|
+
"intent"?: 'ghost' | 'strong' | 'weak' | 'inverse' | 'underline';
|
|
3810
3728
|
/**
|
|
3811
3729
|
* An array of breadcrumb items. It can be passed as a JSON string or an array of objects. Each object should contain the properties: `label` (string) and `url` (string). Example: '[{"label": "Home", "url": "/"}, {"label": "Products", "url": "/products"}]'
|
|
3812
3730
|
*/
|
|
3813
3731
|
"items"?: string | Link[];
|
|
3814
3732
|
}
|
|
3815
3733
|
/**
|
|
3816
|
-
* `EdsButton`
|
|
3817
|
-
*
|
|
3818
|
-
*
|
|
3819
|
-
* -
|
|
3820
|
-
* -
|
|
3821
|
-
* -
|
|
3822
|
-
* -
|
|
3823
|
-
* -
|
|
3824
|
-
*
|
|
3734
|
+
* `EdsButton` - Updated for EBRAINS Visual System 2025
|
|
3735
|
+
* A versatile button component designed for a range of actions and interactions.
|
|
3736
|
+
* Updated to match the new EBRAINS visual identity with:
|
|
3737
|
+
* - Brand black (#07140D) for primary buttons
|
|
3738
|
+
* - Brand green (#00FF9D) for accents and focus states
|
|
3739
|
+
* - Pill-shaped design (rounded-full by default)
|
|
3740
|
+
* - IBM Plex Sans typography
|
|
3741
|
+
* - High-contrast accessibility
|
|
3742
|
+
* Key features:
|
|
3743
|
+
* - Primary (black) and Secondary (outlined) button styles
|
|
3744
|
+
* - Loading state indicator with proper color handling
|
|
3745
|
+
* - Disabled state for control over user interactions
|
|
3746
|
+
* - Optional icon display with customizable position and size
|
|
3747
|
+
* - Support for different element types (button or a)
|
|
3748
|
+
* - Emits custom Matomo event when clicked for tracking
|
|
3825
3749
|
*/
|
|
3826
3750
|
interface EdsButton {
|
|
3827
3751
|
/**
|
|
@@ -3837,9 +3761,13 @@ declare namespace LocalJSX {
|
|
|
3837
3761
|
*/
|
|
3838
3762
|
"elementType"?: 'button' | 'a';
|
|
3839
3763
|
/**
|
|
3840
|
-
*
|
|
3764
|
+
* Whether the button should take the full width of its container.
|
|
3765
|
+
*/
|
|
3766
|
+
"fullWidth"?: boolean;
|
|
3767
|
+
/**
|
|
3768
|
+
* The icon name to be displayed inside the button.
|
|
3841
3769
|
*/
|
|
3842
|
-
"icon"?:
|
|
3770
|
+
"icon"?: IconName;
|
|
3843
3771
|
/**
|
|
3844
3772
|
* The position of the icon inside the button. Options are 'left' or 'right'. Default is 'right'.
|
|
3845
3773
|
*/
|
|
@@ -3849,9 +3777,9 @@ declare namespace LocalJSX {
|
|
|
3849
3777
|
*/
|
|
3850
3778
|
"iconSmall"?: boolean;
|
|
3851
3779
|
/**
|
|
3852
|
-
* The visual intent or style of the button.
|
|
3780
|
+
* The visual intent or style of the button. - 'primary': Brand black background with white text - 'secondary': Transparent/white background with black border and text - 'secondaryInverse': Transparent background with white border and white text (for dark backgrounds) - 'brand': Brand green background with black text (CTA style) - 'cta': CTA link style with monospace font (gray text that turns green on hover) - 'cta-brand': CTA link style with monospace font (always green)
|
|
3853
3781
|
*/
|
|
3854
|
-
"intent"?: 'primary' | 'secondary' | '
|
|
3782
|
+
"intent"?: 'primary' | 'secondary' | 'secondaryInverse' | 'ghost' | 'ghostInverse' | 'brand' | 'brandInverse' | 'neutral' | 'cta' | 'cta-brand';
|
|
3855
3783
|
/**
|
|
3856
3784
|
* The label text to be displayed inside the button.
|
|
3857
3785
|
*/
|
|
@@ -3861,7 +3789,7 @@ declare namespace LocalJSX {
|
|
|
3861
3789
|
*/
|
|
3862
3790
|
"loading"?: boolean;
|
|
3863
3791
|
/**
|
|
3864
|
-
* A boolean to determine if the button should have a pill shape (rounded).
|
|
3792
|
+
* A boolean to determine if the button should have a pill shape (rounded-full). Default is true to match new EBRAINS visual system.
|
|
3865
3793
|
*/
|
|
3866
3794
|
"pill"?: boolean;
|
|
3867
3795
|
/**
|
|
@@ -3873,225 +3801,267 @@ declare namespace LocalJSX {
|
|
|
3873
3801
|
*/
|
|
3874
3802
|
"triggerClick"?: () => void;
|
|
3875
3803
|
}
|
|
3876
|
-
interface EdsCardDesc {
|
|
3877
|
-
/**
|
|
3878
|
-
* The description text to be displayed inside the card.
|
|
3879
|
-
*/
|
|
3880
|
-
"description": string;
|
|
3881
|
-
/**
|
|
3882
|
-
* A boolean indicating whether the description should be truncated. Default is `true`.
|
|
3883
|
-
*/
|
|
3884
|
-
"truncate"?: boolean;
|
|
3885
|
-
/**
|
|
3886
|
-
* The number of lines to truncate the description to. Default is 3 lines.
|
|
3887
|
-
*/
|
|
3888
|
-
"truncateLines"?: string;
|
|
3889
|
-
}
|
|
3890
3804
|
/**
|
|
3891
|
-
* `
|
|
3892
|
-
*
|
|
3893
|
-
*
|
|
3894
|
-
* -
|
|
3895
|
-
* -
|
|
3896
|
-
* -
|
|
3897
|
-
* -
|
|
3898
|
-
*
|
|
3805
|
+
* `EdsCardApp` is a card component designed to showcase applications with category, title, description, tags, and link.
|
|
3806
|
+
* Key features:
|
|
3807
|
+
* - Category label at the top (e.g., "BRAIN ATLASES", "DATA MANAGEMENT")
|
|
3808
|
+
* - Large, lightweight title
|
|
3809
|
+
* - Description text
|
|
3810
|
+
* - Multiple tags for features/technologies
|
|
3811
|
+
* - Optional action link at the bottom
|
|
3812
|
+
* - Hover effects with transform and border glow
|
|
3813
|
+
* This component is ideal for application grids, service catalogs, and platform showcases.
|
|
3899
3814
|
*/
|
|
3900
|
-
interface
|
|
3815
|
+
interface EdsCardApp {
|
|
3901
3816
|
/**
|
|
3902
|
-
* The
|
|
3817
|
+
* The category label (e.g., "BRAIN ATLASES", "DATA MANAGEMENT") Optional - if not provided, the category tag won't be displayed
|
|
3903
3818
|
*/
|
|
3904
|
-
"
|
|
3819
|
+
"category"?: string;
|
|
3905
3820
|
/**
|
|
3906
|
-
*
|
|
3821
|
+
* The description text
|
|
3907
3822
|
*/
|
|
3908
|
-
"
|
|
3823
|
+
"description": string;
|
|
3909
3824
|
/**
|
|
3910
|
-
*
|
|
3825
|
+
* Optional link text (defaults to "Explore Components")
|
|
3911
3826
|
*/
|
|
3912
|
-
"
|
|
3827
|
+
"linkText"?: string;
|
|
3913
3828
|
/**
|
|
3914
|
-
*
|
|
3829
|
+
* Tags to display (features, technologies, etc.) Can be a JSON string or array of tag objects
|
|
3915
3830
|
*/
|
|
3916
|
-
"
|
|
3831
|
+
"tags"?: string | AppTag[];
|
|
3917
3832
|
/**
|
|
3918
|
-
* The
|
|
3833
|
+
* The main title of the application
|
|
3919
3834
|
*/
|
|
3920
|
-
"
|
|
3835
|
+
"title": string;
|
|
3836
|
+
/**
|
|
3837
|
+
* Optional URL for the action link
|
|
3838
|
+
*/
|
|
3839
|
+
"url"?: string;
|
|
3921
3840
|
/**
|
|
3922
|
-
*
|
|
3841
|
+
* Visual variant: 'default' for light text on dark background, 'inverse' for dark text on light background
|
|
3923
3842
|
*/
|
|
3924
|
-
"
|
|
3843
|
+
"variant"?: 'default' | 'inverse';
|
|
3844
|
+
}
|
|
3845
|
+
/**
|
|
3846
|
+
* `EdsCardCta` is a call-to-action card component with title, description, action buttons, and footer links.
|
|
3847
|
+
* Key features:
|
|
3848
|
+
* - Large title with line breaks
|
|
3849
|
+
* - Description text
|
|
3850
|
+
* - Primary and secondary action buttons
|
|
3851
|
+
* - Footer links in a row
|
|
3852
|
+
* - Animated rotating radial gradient background
|
|
3853
|
+
* - Green border with hover effects
|
|
3854
|
+
* - Variant support (default/inverse)
|
|
3855
|
+
* This component is ideal for landing pages, campaign sections, and conversion-focused layouts.
|
|
3856
|
+
*/
|
|
3857
|
+
interface EdsCardCta {
|
|
3925
3858
|
/**
|
|
3926
|
-
* The
|
|
3859
|
+
* The description text below the title
|
|
3927
3860
|
*/
|
|
3928
|
-
"
|
|
3861
|
+
"description": string;
|
|
3929
3862
|
/**
|
|
3930
|
-
*
|
|
3863
|
+
* Footer links as JSON string or array of link objects Example: [{"label": "GitLab Repository", "url": "#"}, {"label": "Storybook", "url": "#"}]
|
|
3931
3864
|
*/
|
|
3932
|
-
"
|
|
3865
|
+
"links"?: string | CtaLink[];
|
|
3933
3866
|
/**
|
|
3934
|
-
*
|
|
3867
|
+
* Text for the primary action button
|
|
3935
3868
|
*/
|
|
3936
|
-
"
|
|
3869
|
+
"primaryButtonText"?: string;
|
|
3937
3870
|
/**
|
|
3938
|
-
*
|
|
3871
|
+
* URL for the primary action button
|
|
3939
3872
|
*/
|
|
3940
|
-
"
|
|
3873
|
+
"primaryButtonUrl"?: string;
|
|
3941
3874
|
/**
|
|
3942
|
-
*
|
|
3875
|
+
* Text for the secondary action button
|
|
3943
3876
|
*/
|
|
3944
|
-
"
|
|
3877
|
+
"secondaryButtonText"?: string;
|
|
3945
3878
|
/**
|
|
3946
|
-
*
|
|
3879
|
+
* URL for the secondary action button
|
|
3947
3880
|
*/
|
|
3948
|
-
"
|
|
3881
|
+
"secondaryButtonUrl"?: string;
|
|
3882
|
+
/**
|
|
3883
|
+
* The main title text (supports HTML for line breaks)
|
|
3884
|
+
*/
|
|
3885
|
+
"title": string;
|
|
3886
|
+
/**
|
|
3887
|
+
* Visual variant: 'default' for brand-black background, 'inverse' for white background
|
|
3888
|
+
*/
|
|
3889
|
+
"variant"?: 'default' | 'inverse';
|
|
3949
3890
|
}
|
|
3950
|
-
interface
|
|
3891
|
+
interface EdsCardDesc {
|
|
3951
3892
|
/**
|
|
3952
|
-
*
|
|
3893
|
+
* The description text to be displayed inside the card.
|
|
3953
3894
|
*/
|
|
3954
|
-
"
|
|
3895
|
+
"description": string;
|
|
3896
|
+
"intent"?: 'primary' | 'secondary' | 'inverse' | 'dark';
|
|
3955
3897
|
/**
|
|
3956
|
-
*
|
|
3898
|
+
* A boolean indicating whether the description should be truncated. Default is `true`.
|
|
3957
3899
|
*/
|
|
3958
|
-
"
|
|
3900
|
+
"truncate"?: boolean;
|
|
3959
3901
|
/**
|
|
3960
|
-
*
|
|
3902
|
+
* The number of lines to truncate the description to. Default is 3 lines.
|
|
3961
3903
|
*/
|
|
3962
|
-
"
|
|
3904
|
+
"truncateLines"?: string;
|
|
3905
|
+
}
|
|
3906
|
+
/**
|
|
3907
|
+
* `EdsCardFeature` is a card component designed to showcase features with an icon, title, description, and optional link.
|
|
3908
|
+
* Key features:
|
|
3909
|
+
* - Icon at the top in a colored background box
|
|
3910
|
+
* - Title and description
|
|
3911
|
+
* - Optional "Learn more" link with arrow
|
|
3912
|
+
* - Hover effects with background color change and border glow
|
|
3913
|
+
* This component is ideal for feature grids, service listings, and capability showcases.
|
|
3914
|
+
*/
|
|
3915
|
+
interface EdsCardFeature {
|
|
3963
3916
|
/**
|
|
3964
|
-
*
|
|
3917
|
+
* The description text
|
|
3965
3918
|
*/
|
|
3966
|
-
"
|
|
3919
|
+
"description": string;
|
|
3967
3920
|
/**
|
|
3968
|
-
*
|
|
3921
|
+
* The icon to display at the top of the card
|
|
3969
3922
|
*/
|
|
3970
|
-
"
|
|
3923
|
+
"icon"?: IconName;
|
|
3971
3924
|
/**
|
|
3972
|
-
*
|
|
3925
|
+
* Optional link text (defaults to "Learn more")
|
|
3973
3926
|
*/
|
|
3974
|
-
"
|
|
3927
|
+
"linkText"?: string;
|
|
3975
3928
|
/**
|
|
3976
|
-
*
|
|
3929
|
+
* The title of the feature
|
|
3977
3930
|
*/
|
|
3978
|
-
"
|
|
3931
|
+
"title": string;
|
|
3979
3932
|
/**
|
|
3980
|
-
* URL
|
|
3933
|
+
* Optional URL for "Learn more" link
|
|
3981
3934
|
*/
|
|
3982
3935
|
"url"?: string;
|
|
3983
3936
|
/**
|
|
3984
|
-
*
|
|
3937
|
+
* Visual variant: 'default' for light text on dark background, 'inverse' for dark text on light background
|
|
3985
3938
|
*/
|
|
3986
|
-
"
|
|
3939
|
+
"variant"?: 'default' | 'inverse';
|
|
3987
3940
|
}
|
|
3988
3941
|
/**
|
|
3989
|
-
* `
|
|
3990
|
-
*
|
|
3991
|
-
* Key
|
|
3992
|
-
* -
|
|
3993
|
-
* -
|
|
3994
|
-
*
|
|
3942
|
+
* `EdsCardGeneric` is a versatile card component designed to display rich content such as titles, descriptions, images, and tags.
|
|
3943
|
+
* The card supports various visual configurations, including hover effects, background styling, and compact layout options.
|
|
3944
|
+
* Key features include:
|
|
3945
|
+
* - A customizable title with an optional link.
|
|
3946
|
+
* - Display of images, avatars, or initials based on the available content.
|
|
3947
|
+
* - Optional description, tag display, and hover effects for interactive use.
|
|
3948
|
+
* - Integration with Matomo analytics, emitting a custom event when the card is clicked.
|
|
3949
|
+
* This component is ideal for use in interfaces where structured card-like display elements are needed.
|
|
3995
3950
|
*/
|
|
3996
|
-
interface
|
|
3997
|
-
/**
|
|
3998
|
-
* JSON string representing an array of card objects. Each card object can contain properties like `title`, `description`, `avatar`, `headingLevel`, `tags`, `url`, `bg`, `tiny`, and `image`. Example: ```json '[{"title": "Card Title", "description": "Description", "avatar": "/path/to/avatar.jpg", "url": "http://example.com"}]' ```
|
|
3999
|
-
*/
|
|
4000
|
-
"cards"?: string | Card[];
|
|
3951
|
+
interface EdsCardGeneric {
|
|
4001
3952
|
/**
|
|
4002
|
-
*
|
|
3953
|
+
* The description text displayed within the card.
|
|
4003
3954
|
*/
|
|
4004
|
-
"
|
|
4005
|
-
}
|
|
4006
|
-
interface EdsCardTags {
|
|
3955
|
+
"description"?: string;
|
|
4007
3956
|
/**
|
|
4008
|
-
*
|
|
3957
|
+
* Optional icon name to display at the top of the card (instead of an image).
|
|
4009
3958
|
*/
|
|
4010
|
-
"
|
|
3959
|
+
"icon"?: IconName;
|
|
3960
|
+
"intent"?: 'primary' | 'secondary' | 'inverse' | 'dark';
|
|
4011
3961
|
/**
|
|
4012
|
-
*
|
|
3962
|
+
* Tags related to the card content.
|
|
4013
3963
|
*/
|
|
4014
|
-
"tags"?: string[];
|
|
4015
|
-
}
|
|
4016
|
-
interface EdsCardTitle {
|
|
3964
|
+
"tags"?: string | Tag[];
|
|
4017
3965
|
/**
|
|
4018
|
-
* The
|
|
3966
|
+
* The title of the card. This is required and displayed prominently.
|
|
4019
3967
|
*/
|
|
4020
|
-
"
|
|
3968
|
+
"title": string;
|
|
4021
3969
|
/**
|
|
4022
|
-
*
|
|
3970
|
+
* The size of the title text. Controls the heading level and font size. Default is 'large' (f-heading-03).
|
|
4023
3971
|
*/
|
|
4024
|
-
"
|
|
3972
|
+
"titleSize"?: 'display' | 'xlarge' | 'large' | 'medium' | 'small';
|
|
4025
3973
|
/**
|
|
4026
|
-
* The
|
|
3974
|
+
* The URL that the card title links to. If provided, the title becomes a clickable link.
|
|
4027
3975
|
*/
|
|
4028
|
-
"
|
|
3976
|
+
"url"?: string;
|
|
3977
|
+
}
|
|
3978
|
+
/**
|
|
3979
|
+
* `EdsCardHero` is a floating card component designed for hero sections with label, title, description, and tags.
|
|
3980
|
+
* Key features:
|
|
3981
|
+
* - Small uppercase label (e.g., "DATA MANAGEMENT")
|
|
3982
|
+
* - Large, lightweight title
|
|
3983
|
+
* - Description text
|
|
3984
|
+
* - Multiple tags at the bottom
|
|
3985
|
+
* - Floating animation effects
|
|
3986
|
+
* - Hover effects with border glow
|
|
3987
|
+
* This component is ideal for hero sections, landing pages, and feature highlights.
|
|
3988
|
+
*/
|
|
3989
|
+
interface EdsCardHero {
|
|
4029
3990
|
/**
|
|
4030
|
-
*
|
|
3991
|
+
* The small label displayed at the top (e.g., "DATA MANAGEMENT", "BRAIN ATLASES")
|
|
4031
3992
|
*/
|
|
4032
|
-
"
|
|
3993
|
+
"category": string;
|
|
4033
3994
|
/**
|
|
4034
|
-
* The
|
|
3995
|
+
* The description text
|
|
4035
3996
|
*/
|
|
4036
|
-
"
|
|
3997
|
+
"description"?: string;
|
|
4037
3998
|
/**
|
|
4038
|
-
*
|
|
3999
|
+
* Tags to display at the bottom of the card Can be a JSON string or array of tag objects
|
|
4039
4000
|
*/
|
|
4040
|
-
"
|
|
4041
|
-
}
|
|
4042
|
-
interface EdsCardTool {
|
|
4001
|
+
"tags"?: string | HeroTag[];
|
|
4043
4002
|
/**
|
|
4044
|
-
* The
|
|
4003
|
+
* The main title of the card
|
|
4045
4004
|
*/
|
|
4046
|
-
"
|
|
4005
|
+
"title": string;
|
|
4047
4006
|
/**
|
|
4048
|
-
*
|
|
4007
|
+
* Optional URL to link the card to
|
|
4049
4008
|
*/
|
|
4050
|
-
"
|
|
4009
|
+
"url"?: string;
|
|
4051
4010
|
/**
|
|
4052
|
-
*
|
|
4011
|
+
* Visual variant: 'default' for light text on dark background, 'inverse' for dark text on light background
|
|
4053
4012
|
*/
|
|
4054
|
-
"
|
|
4013
|
+
"variant"?: 'default' | 'inverse';
|
|
4014
|
+
}
|
|
4015
|
+
/**
|
|
4016
|
+
* `EdsCardStat` is a card component designed to display statistics with a large number, label, and description.
|
|
4017
|
+
* Key features:
|
|
4018
|
+
* - Large prominent number display (e.g., "44+", "100%", "AA")
|
|
4019
|
+
* - Label describing the statistic
|
|
4020
|
+
* - Optional description for additional context
|
|
4021
|
+
* - Hover effects with animated top border
|
|
4022
|
+
* - Support for optional links
|
|
4023
|
+
* This component is ideal for dashboards, landing pages, and any interface displaying key metrics.
|
|
4024
|
+
*/
|
|
4025
|
+
interface EdsCardStat {
|
|
4055
4026
|
/**
|
|
4056
|
-
*
|
|
4027
|
+
* Optional description providing additional context
|
|
4057
4028
|
*/
|
|
4058
4029
|
"description"?: string;
|
|
4059
4030
|
/**
|
|
4060
|
-
*
|
|
4031
|
+
* The label describing the statistic
|
|
4061
4032
|
*/
|
|
4062
|
-
"
|
|
4033
|
+
"label": string;
|
|
4063
4034
|
/**
|
|
4064
|
-
* The
|
|
4035
|
+
* The main statistic number or value to display (e.g., "44+", "100%", "AA")
|
|
4065
4036
|
*/
|
|
4066
|
-
"
|
|
4037
|
+
"number": string;
|
|
4067
4038
|
/**
|
|
4068
|
-
*
|
|
4039
|
+
* Optional URL to link the card to
|
|
4069
4040
|
*/
|
|
4070
|
-
"
|
|
4041
|
+
"url"?: string;
|
|
4071
4042
|
/**
|
|
4072
|
-
*
|
|
4043
|
+
* Visual variant: 'default' for light text on dark background, 'inverse' for dark text on light background
|
|
4073
4044
|
*/
|
|
4074
|
-
"
|
|
4045
|
+
"variant"?: 'default' | 'inverse';
|
|
4046
|
+
}
|
|
4047
|
+
interface EdsCardTitle {
|
|
4075
4048
|
/**
|
|
4076
|
-
*
|
|
4049
|
+
* Indicates whether the link should open in a new tab if the URL is provided. Default is `false`.
|
|
4077
4050
|
*/
|
|
4078
|
-
"
|
|
4051
|
+
"externalLink"?: boolean;
|
|
4052
|
+
"intent"?: 'primary' | 'secondary' | 'inverse' | 'dark';
|
|
4079
4053
|
/**
|
|
4080
|
-
*
|
|
4054
|
+
* The size of the title text. Controls the heading level and font size. Default is 'large' (f-heading-03).
|
|
4081
4055
|
*/
|
|
4082
|
-
"
|
|
4056
|
+
"size"?: 'display' | 'xlarge' | 'large' | 'medium' | 'small';
|
|
4083
4057
|
/**
|
|
4084
|
-
*
|
|
4058
|
+
* The text content for the title.
|
|
4085
4059
|
*/
|
|
4086
|
-
"
|
|
4060
|
+
"title"?: string;
|
|
4087
4061
|
/**
|
|
4088
|
-
* The URL that the
|
|
4062
|
+
* The URL that the title should link to. If provided, the title will be rendered as an anchor (`<a>`).
|
|
4089
4063
|
*/
|
|
4090
4064
|
"url"?: string;
|
|
4091
|
-
/**
|
|
4092
|
-
* A boolean that determines whether the card should display a hover effect. If true, the card will have a shadow effect and change its cursor on hover.
|
|
4093
|
-
*/
|
|
4094
|
-
"withHover"?: boolean;
|
|
4095
4065
|
}
|
|
4096
4066
|
/**
|
|
4097
4067
|
* A component that displays a code block with syntax highlighting.
|
|
@@ -4116,15 +4086,7 @@ declare namespace LocalJSX {
|
|
|
4116
4086
|
/**
|
|
4117
4087
|
* The visual intent or style of the button.
|
|
4118
4088
|
*/
|
|
4119
|
-
"intent"?: | '
|
|
4120
|
-
| 'secondary'
|
|
4121
|
-
| 'tertiary'
|
|
4122
|
-
| 'ghost'
|
|
4123
|
-
| 'strong'
|
|
4124
|
-
| 'weak'
|
|
4125
|
-
| 'inverse'
|
|
4126
|
-
| 'underline'
|
|
4127
|
-
| 'blueish';
|
|
4089
|
+
"intent"?: 'primary' | 'secondary' | 'ghost' | 'strong' | 'weak' | 'inverse' | 'underline';
|
|
4128
4090
|
}
|
|
4129
4091
|
/**
|
|
4130
4092
|
* `EdsDropdown` is a versatile dropdown component that provides a list of items
|
|
@@ -4179,13 +4141,13 @@ declare namespace LocalJSX {
|
|
|
4179
4141
|
* @type {string}
|
|
4180
4142
|
* @default 'chevron-down'
|
|
4181
4143
|
*/
|
|
4182
|
-
"icon"?:
|
|
4144
|
+
"icon"?: IconName;
|
|
4183
4145
|
/**
|
|
4184
|
-
* Visual intent of the dropdown button. Options include: 'primary', 'secondary'
|
|
4185
|
-
* @type {'primary' | 'secondary'
|
|
4146
|
+
* Visual intent of the dropdown button. Options include: 'primary', 'secondary'.
|
|
4147
|
+
* @type {'primary' | 'secondary' }
|
|
4186
4148
|
* @default 'tertiary'
|
|
4187
4149
|
*/
|
|
4188
|
-
"intent"?: 'primary' | 'secondary' | '
|
|
4150
|
+
"intent"?: 'primary' | 'secondary' | 'brand' | 'ghost' | 'neutral';
|
|
4189
4151
|
/**
|
|
4190
4152
|
* Label for the dropdown button.
|
|
4191
4153
|
* @type {string}
|
|
@@ -4199,12 +4161,6 @@ declare namespace LocalJSX {
|
|
|
4199
4161
|
* Event emitted when the dropdown toggles, indicating the new expanded/collapsed state
|
|
4200
4162
|
*/
|
|
4201
4163
|
"onDropdown"?: (event: EdsDropdownCustomEvent<{ expanded: boolean }>) => void;
|
|
4202
|
-
/**
|
|
4203
|
-
* Whether the dropdown nav list placeholder has rounded (pill) styling.
|
|
4204
|
-
* @type {boolean}
|
|
4205
|
-
* @default false
|
|
4206
|
-
*/
|
|
4207
|
-
"rounded"?: boolean;
|
|
4208
4164
|
}
|
|
4209
4165
|
interface EdsFeedback {
|
|
4210
4166
|
/**
|
|
@@ -4285,6 +4241,11 @@ declare namespace LocalJSX {
|
|
|
4285
4241
|
* @type {boolean}
|
|
4286
4242
|
*/
|
|
4287
4243
|
"social"?: boolean;
|
|
4244
|
+
/**
|
|
4245
|
+
* Controls the visual variant of the footer. - 'default': Light background with dark text - 'inverse': Dark/black background with white text
|
|
4246
|
+
* @type {'default' | 'inverse'}
|
|
4247
|
+
*/
|
|
4248
|
+
"variant"?: 'default' | 'inverse';
|
|
4288
4249
|
}
|
|
4289
4250
|
/**
|
|
4290
4251
|
* `EdsFormV2` is a comprehensive form component designed to handle form submission with validation,
|
|
@@ -4298,9 +4259,17 @@ declare namespace LocalJSX {
|
|
|
4298
4259
|
*/
|
|
4299
4260
|
interface EdsForm {
|
|
4300
4261
|
/**
|
|
4301
|
-
* Variant/style intent for the submit button (e.g., primary, secondary
|
|
4262
|
+
* Variant/style intent for the submit button (e.g., primary, secondary).
|
|
4263
|
+
*/
|
|
4264
|
+
"buttonIntent"?: 'primary' | 'secondary';
|
|
4265
|
+
/**
|
|
4266
|
+
* If `true`, includes a clear/reset button in the form.
|
|
4267
|
+
*/
|
|
4268
|
+
"clearBtn"?: boolean;
|
|
4269
|
+
/**
|
|
4270
|
+
* Label for the clear button
|
|
4302
4271
|
*/
|
|
4303
|
-
"
|
|
4272
|
+
"clearBtnLabel"?: string;
|
|
4304
4273
|
/**
|
|
4305
4274
|
* The description displayed below the title.
|
|
4306
4275
|
*/
|
|
@@ -4322,9 +4291,9 @@ declare namespace LocalJSX {
|
|
|
4322
4291
|
*/
|
|
4323
4292
|
"formBtnLabel"?: string;
|
|
4324
4293
|
/**
|
|
4325
|
-
* Choose between default layout or
|
|
4294
|
+
* Choose between default layout, shadow style, or brand style. - "default": Standard form layout - "shadow": Form with shadow effect - "brand": EBRAINS branded form with left border and shadow
|
|
4326
4295
|
*/
|
|
4327
|
-
"formStyle"?: 'default' | 'shadow';
|
|
4296
|
+
"formStyle"?: 'default' | 'shadow' | 'brand';
|
|
4328
4297
|
/**
|
|
4329
4298
|
* New: list of groups, each with `{ id: string, title: string }`
|
|
4330
4299
|
*/
|
|
@@ -4370,7 +4339,7 @@ declare namespace LocalJSX {
|
|
|
4370
4339
|
/**
|
|
4371
4340
|
* The intent for styling the link (e.g., primary, secondary, tertiary, etc.).
|
|
4372
4341
|
*/
|
|
4373
|
-
"intent"?: 'primary' | 'secondary' | '
|
|
4342
|
+
"intent"?: 'primary' | 'secondary' | 'ghost' | 'underline' | 'cta';
|
|
4374
4343
|
/**
|
|
4375
4344
|
* The size of the frame controlling its height. Options: 'auto', 'sm', 'md', 'lg', 'xl'
|
|
4376
4345
|
*/
|
|
@@ -4384,16 +4353,6 @@ declare namespace LocalJSX {
|
|
|
4384
4353
|
*/
|
|
4385
4354
|
"urlLabel"?: string;
|
|
4386
4355
|
}
|
|
4387
|
-
/**
|
|
4388
|
-
* `eds-fullscreen-menu` is a fullscreen menu component designed for the EBRAINS platform.
|
|
4389
|
-
* It provides a responsive, full-window overlay menu with navigation links and additional options.
|
|
4390
|
-
* This component is suitable for mobile and small screens, where a fullscreen menu enhances user navigation.
|
|
4391
|
-
* ## Key Features
|
|
4392
|
-
* - **Links and Menu Links**: Allows configurable primary and secondary navigation links.
|
|
4393
|
-
* - **Event-Driven Open/Close**: Listens for a `toggleMenu` event to open or close the menu, emitted by the `eds-header` component.
|
|
4394
|
-
* - **Responsive Behavior**: Automatically closes the menu when the screen width is larger than a specified breakpoint (1024px).
|
|
4395
|
-
* - **Footer Integration**: Optionally displays social links and a customizable footer section within the fullscreen menu.
|
|
4396
|
-
*/
|
|
4397
4356
|
interface EdsFullscreenMenu {
|
|
4398
4357
|
/**
|
|
4399
4358
|
* URL for the logo link in the header.
|
|
@@ -4447,345 +4406,174 @@ declare namespace LocalJSX {
|
|
|
4447
4406
|
"valueMin"?: number;
|
|
4448
4407
|
"variant"?: 'default' | 'dark' | 'strong' | 'black';
|
|
4449
4408
|
}
|
|
4450
|
-
interface
|
|
4451
|
-
/**
|
|
4452
|
-
* API endpoint for search
|
|
4453
|
-
*/
|
|
4454
|
-
"apiEndpoint"?: string;
|
|
4455
|
-
/**
|
|
4456
|
-
* Debounce delay in milliseconds
|
|
4457
|
-
*/
|
|
4458
|
-
"debounceDelay"?: number;
|
|
4459
|
-
/**
|
|
4460
|
-
* Maximum number of results to fetch
|
|
4461
|
-
*/
|
|
4462
|
-
"limit"?: number;
|
|
4463
|
-
/**
|
|
4464
|
-
* Emitted when a result is selected
|
|
4465
|
-
*/
|
|
4466
|
-
"onResultSelected"?: (event: EdsGlobalSearchCustomEvent<{
|
|
4467
|
-
id: string;
|
|
4468
|
-
title: string;
|
|
4469
|
-
url: string;
|
|
4470
|
-
section: string;
|
|
4471
|
-
tags: string[];
|
|
4472
|
-
date: string | null;
|
|
4473
|
-
source: string;
|
|
4474
|
-
snippet: string;
|
|
4475
|
-
score: number | null;
|
|
4476
|
-
}>) => void;
|
|
4477
|
-
/**
|
|
4478
|
-
* Emitted when search is closed (for expandable mode)
|
|
4479
|
-
*/
|
|
4480
|
-
"onSearchClosed"?: (event: EdsGlobalSearchCustomEvent<void>) => void;
|
|
4481
|
-
/**
|
|
4482
|
-
* Placeholder text for the input
|
|
4483
|
-
*/
|
|
4484
|
-
"placeholder"?: string;
|
|
4485
|
-
}
|
|
4486
|
-
/**
|
|
4487
|
-
* `EdsHeader` is a header component designed for the EBRAINS platform.
|
|
4488
|
-
* It provides a customizable and responsive navigation experience, tailored for both desktop and mobile views.
|
|
4489
|
-
* Key Features:
|
|
4490
|
-
* - **Logo Link**: Includes a logo that links to the homepage or a specified URL.
|
|
4491
|
-
* - **Primary Navigation**: Displays an array of navigation links for core platform sections.
|
|
4492
|
-
* - **User Authentication Integration**: Supports Keycloak for login and logout, displaying user authentication options when enabled.
|
|
4493
|
-
* - **Mobile-Friendly Menu**: Offers a collapsible mobile menu with additional links, enhancing navigation for smaller screens.
|
|
4494
|
-
* - **Event-Driven Menu Toggle**: Emits a toggle event to handle opening and closing of a fullscreen menu in sync with other components.
|
|
4495
|
-
* This component is well-suited for creating a unified header across the platform with seamless integration of navigation, authentication, and responsive design elements.
|
|
4496
|
-
*/
|
|
4497
|
-
interface EdsHeader {
|
|
4498
|
-
/**
|
|
4499
|
-
* Header style variant: determines text and background colors. - "default": text-default on bg-dark - "inverse": text-default on bg-inverse - "strong": text-inverse on bg-strongest
|
|
4500
|
-
*/
|
|
4501
|
-
"headerVariant"?: 'default' | 'inverse' | 'strong';
|
|
4502
|
-
/**
|
|
4503
|
-
* URL for the home logo link. This is the default URL that the logo points to.
|
|
4504
|
-
*/
|
|
4505
|
-
"homeUrl"?: string;
|
|
4506
|
-
/**
|
|
4507
|
-
* JSON string representing the links for primary navigation. Each link should include `label`, `url`, and optionally an `icon`.
|
|
4508
|
-
*/
|
|
4509
|
-
"links"?: string | { label: string; url: string; icon?: string; external?: boolean }[];
|
|
4510
|
-
/**
|
|
4511
|
-
* Flag to enable or disable header menu toggle feature. When true, displays the toggle in the header. Requires the <eds-fullscreen-menu> to properly work.
|
|
4512
|
-
*/
|
|
4513
|
-
"menuEnabled"?: boolean;
|
|
4514
|
-
/**
|
|
4515
|
-
* Event to signal toggle menu action
|
|
4516
|
-
*/
|
|
4517
|
-
"onToggleheadermenu"?: (event: EdsHeaderCustomEvent<boolean>) => void;
|
|
4518
|
-
}
|
|
4519
|
-
interface EdsIconArrowDiagonal {
|
|
4520
|
-
/**
|
|
4521
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
4522
|
-
*/
|
|
4523
|
-
"class"?: string;
|
|
4524
|
-
}
|
|
4525
|
-
interface EdsIconArrowRight {
|
|
4526
|
-
/**
|
|
4527
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
4528
|
-
*/
|
|
4529
|
-
"class"?: string;
|
|
4530
|
-
}
|
|
4531
|
-
interface EdsIconBin {
|
|
4532
|
-
/**
|
|
4533
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
4534
|
-
*/
|
|
4535
|
-
"class"?: string;
|
|
4536
|
-
}
|
|
4537
|
-
interface EdsIconBluesky {
|
|
4538
|
-
/**
|
|
4539
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
4540
|
-
*/
|
|
4541
|
-
"class"?: string;
|
|
4542
|
-
}
|
|
4543
|
-
interface EdsIconBookmark {
|
|
4544
|
-
/**
|
|
4545
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
4546
|
-
*/
|
|
4547
|
-
"class"?: string;
|
|
4548
|
-
}
|
|
4549
|
-
interface EdsIconChevronDown {
|
|
4550
|
-
/**
|
|
4551
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
4552
|
-
*/
|
|
4553
|
-
"class"?: string;
|
|
4554
|
-
}
|
|
4555
|
-
interface EdsIconChevronLeft {
|
|
4556
|
-
/**
|
|
4557
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
4558
|
-
*/
|
|
4559
|
-
"class"?: string;
|
|
4560
|
-
}
|
|
4561
|
-
interface EdsIconChevronRight {
|
|
4562
|
-
/**
|
|
4563
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
4564
|
-
*/
|
|
4565
|
-
"class"?: string;
|
|
4566
|
-
}
|
|
4567
|
-
interface EdsIconChevronUp {
|
|
4568
|
-
/**
|
|
4569
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
4570
|
-
*/
|
|
4571
|
-
"class"?: string;
|
|
4572
|
-
}
|
|
4573
|
-
interface EdsIconClone {
|
|
4574
|
-
/**
|
|
4575
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
4576
|
-
*/
|
|
4577
|
-
"class"?: string;
|
|
4578
|
-
}
|
|
4579
|
-
interface EdsIconClose {
|
|
4580
|
-
/**
|
|
4581
|
-
* Additional CSS classes to be applied to the icon for styling.
|
|
4582
|
-
*/
|
|
4583
|
-
"class"?: string;
|
|
4584
|
-
}
|
|
4585
|
-
interface EdsIconCopy {
|
|
4409
|
+
interface EdsGitlabContributors {
|
|
4586
4410
|
/**
|
|
4587
|
-
*
|
|
4411
|
+
* GitLab personal access token for API authentication (required for internal projects)
|
|
4588
4412
|
*/
|
|
4589
|
-
"
|
|
4590
|
-
}
|
|
4591
|
-
interface EdsIconDownload {
|
|
4413
|
+
"accessToken": string;
|
|
4592
4414
|
/**
|
|
4593
|
-
*
|
|
4415
|
+
* GitLab API base URL
|
|
4594
4416
|
*/
|
|
4595
|
-
"
|
|
4596
|
-
}
|
|
4597
|
-
interface EdsIconDraft {
|
|
4417
|
+
"apiUrl"?: string;
|
|
4598
4418
|
/**
|
|
4599
|
-
*
|
|
4419
|
+
* Grid columns for responsive layout Options: '2', '3', '4', '5'
|
|
4600
4420
|
*/
|
|
4601
|
-
"
|
|
4602
|
-
}
|
|
4603
|
-
interface EdsIconEdit {
|
|
4421
|
+
"columns"?: '2' | '3' | '4' | '5';
|
|
4604
4422
|
/**
|
|
4605
|
-
*
|
|
4423
|
+
* Maximum number of contributors to display
|
|
4606
4424
|
*/
|
|
4607
|
-
"
|
|
4608
|
-
}
|
|
4609
|
-
interface EdsIconEu {
|
|
4425
|
+
"limit"?: number;
|
|
4610
4426
|
/**
|
|
4611
|
-
*
|
|
4427
|
+
* Minimum commits to be included in the list
|
|
4612
4428
|
*/
|
|
4613
|
-
"
|
|
4614
|
-
}
|
|
4615
|
-
interface EdsIconExternal {
|
|
4429
|
+
"minCommits"?: number;
|
|
4616
4430
|
/**
|
|
4617
|
-
*
|
|
4431
|
+
* Optional path to filter commits (e.g., "apps/live/handbook") Only applied to project 1505 (monorepo). Other projects fetch all contributors.
|
|
4618
4432
|
*/
|
|
4619
|
-
"
|
|
4620
|
-
}
|
|
4621
|
-
interface EdsIconFacebook {
|
|
4433
|
+
"path"?: string;
|
|
4622
4434
|
/**
|
|
4623
|
-
*
|
|
4435
|
+
* GitLab project ID(s) - single ID or comma-separated IDs for multiple projects Example: "3360" or "3360,1770" or "ri%2Ftech-hub%2Febrains-ui-ecosystem"
|
|
4624
4436
|
*/
|
|
4625
|
-
"
|
|
4626
|
-
}
|
|
4627
|
-
interface EdsIconGitlab {
|
|
4437
|
+
"projectId"?: string;
|
|
4628
4438
|
/**
|
|
4629
|
-
*
|
|
4439
|
+
* Show contribution statistics (commits, additions, deletions)
|
|
4630
4440
|
*/
|
|
4631
|
-
"
|
|
4632
|
-
}
|
|
4633
|
-
interface EdsIconLinkedin {
|
|
4441
|
+
"showStats"?: boolean;
|
|
4634
4442
|
/**
|
|
4635
|
-
*
|
|
4443
|
+
* Sort contributors by commits (desc) or username (asc)
|
|
4636
4444
|
*/
|
|
4637
|
-
"
|
|
4445
|
+
"sortBy"?: 'commits' | 'name';
|
|
4638
4446
|
}
|
|
4639
|
-
interface
|
|
4447
|
+
interface EdsGlobalSearch {
|
|
4640
4448
|
/**
|
|
4641
|
-
*
|
|
4449
|
+
* API endpoint for search
|
|
4642
4450
|
*/
|
|
4643
|
-
"
|
|
4644
|
-
}
|
|
4645
|
-
interface EdsIconMastodon {
|
|
4451
|
+
"apiEndpoint"?: string;
|
|
4646
4452
|
/**
|
|
4647
|
-
*
|
|
4453
|
+
* Optional authorization token (JWT) to include in requests When provided, will be sent as "Bearer <token>" in Authorization header
|
|
4648
4454
|
*/
|
|
4649
|
-
"
|
|
4650
|
-
}
|
|
4651
|
-
interface EdsIconMenu {
|
|
4455
|
+
"authToken"?: string;
|
|
4652
4456
|
/**
|
|
4653
|
-
*
|
|
4457
|
+
* Current site origin (auto-detected if not provided)
|
|
4654
4458
|
*/
|
|
4655
|
-
"
|
|
4656
|
-
}
|
|
4657
|
-
interface EdsIconMinus {
|
|
4459
|
+
"currentOrigin"?: string;
|
|
4658
4460
|
/**
|
|
4659
|
-
*
|
|
4461
|
+
* Current source identifier (e.g., 'handbook', 'design') Results matching this source will open in same tab
|
|
4660
4462
|
*/
|
|
4661
|
-
"
|
|
4662
|
-
}
|
|
4663
|
-
interface EdsIconMore {
|
|
4463
|
+
"currentSource"?: string;
|
|
4664
4464
|
/**
|
|
4665
|
-
*
|
|
4465
|
+
* Debounce delay in milliseconds
|
|
4666
4466
|
*/
|
|
4667
|
-
"
|
|
4668
|
-
}
|
|
4669
|
-
interface EdsIconPaper {
|
|
4467
|
+
"debounceDelay"?: number;
|
|
4670
4468
|
/**
|
|
4671
|
-
*
|
|
4469
|
+
* Force all results to open in new tab (useful when embedded in external sites)
|
|
4672
4470
|
*/
|
|
4673
|
-
"
|
|
4674
|
-
}
|
|
4675
|
-
interface EdsIconPlus {
|
|
4471
|
+
"forceNewTab"?: boolean;
|
|
4676
4472
|
/**
|
|
4677
|
-
*
|
|
4473
|
+
* Maximum number of results to fetch
|
|
4678
4474
|
*/
|
|
4679
|
-
"
|
|
4680
|
-
}
|
|
4681
|
-
interface EdsIconPortal {
|
|
4475
|
+
"limit"?: number;
|
|
4682
4476
|
/**
|
|
4683
|
-
*
|
|
4477
|
+
* Emitted when a result is selected
|
|
4684
4478
|
*/
|
|
4685
|
-
"
|
|
4686
|
-
|
|
4687
|
-
|
|
4479
|
+
"onResultSelected"?: (event: EdsGlobalSearchCustomEvent<{
|
|
4480
|
+
id: string;
|
|
4481
|
+
title: string;
|
|
4482
|
+
url: string;
|
|
4483
|
+
section: string;
|
|
4484
|
+
tags: string[];
|
|
4485
|
+
date: string | null;
|
|
4486
|
+
source: string;
|
|
4487
|
+
snippet: string;
|
|
4488
|
+
score: number | null;
|
|
4489
|
+
}>) => void;
|
|
4688
4490
|
/**
|
|
4689
|
-
*
|
|
4491
|
+
* Emitted when search is closed (for expandable mode)
|
|
4690
4492
|
*/
|
|
4691
|
-
"
|
|
4692
|
-
}
|
|
4693
|
-
interface EdsIconPublic {
|
|
4493
|
+
"onSearchClosed"?: (event: EdsGlobalSearchCustomEvent<void>) => void;
|
|
4694
4494
|
/**
|
|
4695
|
-
*
|
|
4495
|
+
* Placeholder text for the input
|
|
4696
4496
|
*/
|
|
4697
|
-
"
|
|
4497
|
+
"placeholder"?: string;
|
|
4698
4498
|
}
|
|
4699
|
-
|
|
4499
|
+
/**
|
|
4500
|
+
* `EdsHeader` is a header component designed for the EBRAINS platform.
|
|
4501
|
+
* It provides a customizable and responsive navigation experience, tailored for both desktop and mobile views.
|
|
4502
|
+
* Key Features:
|
|
4503
|
+
* - **Logo Link**: Includes a logo that links to the homepage or a specified URL.
|
|
4504
|
+
* - **Primary Navigation**: Displays an array of navigation links for core platform sections.
|
|
4505
|
+
* - **User Authentication Integration**: Supports Keycloak for login and logout, displaying user authentication options when enabled.
|
|
4506
|
+
* - **Mobile-Friendly Menu**: Offers a collapsible mobile menu with additional links, enhancing navigation for smaller screens.
|
|
4507
|
+
* - **Event-Driven Menu Toggle**: Emits a toggle event to handle opening and closing of a fullscreen menu in sync with other components.
|
|
4508
|
+
* This component is well-suited for creating a unified header across the platform with seamless integration of navigation, authentication, and responsive design elements.
|
|
4509
|
+
*/
|
|
4510
|
+
interface EdsHeader {
|
|
4700
4511
|
/**
|
|
4701
|
-
*
|
|
4512
|
+
* JSON string representing the links for primary navigation. Each link should include `label`, `url`, and optionally an `icon`.
|
|
4702
4513
|
*/
|
|
4703
|
-
"
|
|
4704
|
-
}
|
|
4705
|
-
interface EdsIconStar {
|
|
4514
|
+
"links"?: string | { label: string; url: string; icon?: string; external?: boolean }[];
|
|
4706
4515
|
/**
|
|
4707
|
-
*
|
|
4516
|
+
* Flag to enable or disable header menu toggle feature. When true, displays the toggle in the header. Requires the <eds-fullscreen-menu> to properly work.
|
|
4708
4517
|
*/
|
|
4709
|
-
"
|
|
4710
|
-
}
|
|
4711
|
-
interface EdsIconStart {
|
|
4518
|
+
"menu"?: boolean;
|
|
4712
4519
|
/**
|
|
4713
|
-
*
|
|
4520
|
+
* Event to signal toggle menu action
|
|
4714
4521
|
*/
|
|
4715
|
-
"
|
|
4716
|
-
}
|
|
4717
|
-
interface EdsIconSuccess {
|
|
4522
|
+
"onToggleheadermenu"?: (event: EdsHeaderCustomEvent<boolean>) => void;
|
|
4718
4523
|
/**
|
|
4719
|
-
*
|
|
4524
|
+
* URL for the home logo link. This is the default URL that the logo points to.
|
|
4720
4525
|
*/
|
|
4721
|
-
"
|
|
4722
|
-
}
|
|
4723
|
-
interface EdsIconThumbsDown {
|
|
4526
|
+
"url"?: string;
|
|
4724
4527
|
/**
|
|
4725
|
-
*
|
|
4528
|
+
* Header style variant: determines text and background colors. - "default": text-default on bg-dark - "inverse": text-default on bg-inverse - "strong": text-inverse on bg-strongest
|
|
4726
4529
|
*/
|
|
4727
|
-
"
|
|
4530
|
+
"variant"?: 'default' | 'inverse' | 'strong';
|
|
4728
4531
|
}
|
|
4729
|
-
interface
|
|
4532
|
+
interface EdsIconBluesky {
|
|
4730
4533
|
/**
|
|
4731
4534
|
* Additional CSS classes to be applied to the icon for styling.
|
|
4732
4535
|
*/
|
|
4733
4536
|
"class"?: string;
|
|
4734
4537
|
}
|
|
4735
|
-
interface
|
|
4538
|
+
interface EdsIconEu {
|
|
4736
4539
|
/**
|
|
4737
4540
|
* Additional CSS classes to be applied to the icon for styling.
|
|
4738
4541
|
*/
|
|
4739
4542
|
"class"?: string;
|
|
4740
4543
|
}
|
|
4741
|
-
interface
|
|
4544
|
+
interface EdsIconFacebook {
|
|
4742
4545
|
/**
|
|
4743
4546
|
* Additional CSS classes to be applied to the icon for styling.
|
|
4744
4547
|
*/
|
|
4745
4548
|
"class"?: string;
|
|
4746
4549
|
}
|
|
4747
|
-
interface
|
|
4550
|
+
interface EdsIconGitlab {
|
|
4748
4551
|
/**
|
|
4749
4552
|
* Additional CSS classes to be applied to the icon for styling.
|
|
4750
4553
|
*/
|
|
4751
4554
|
"class"?: string;
|
|
4752
4555
|
}
|
|
4753
|
-
interface
|
|
4556
|
+
interface EdsIconLinkedin {
|
|
4754
4557
|
/**
|
|
4755
4558
|
* Additional CSS classes to be applied to the icon for styling.
|
|
4756
4559
|
*/
|
|
4757
4560
|
"class"?: string;
|
|
4758
4561
|
}
|
|
4759
|
-
interface
|
|
4562
|
+
interface EdsIconMastodon {
|
|
4760
4563
|
/**
|
|
4761
4564
|
* Additional CSS classes to be applied to the icon for styling.
|
|
4762
4565
|
*/
|
|
4763
4566
|
"class"?: string;
|
|
4764
4567
|
}
|
|
4765
|
-
interface
|
|
4568
|
+
interface EdsIconTwitter {
|
|
4766
4569
|
/**
|
|
4767
4570
|
* Additional CSS classes to be applied to the icon for styling.
|
|
4768
4571
|
*/
|
|
4769
4572
|
"class"?: string;
|
|
4770
4573
|
}
|
|
4771
|
-
/**
|
|
4772
|
-
* `EdsIconWrapper` is a wrapper component for displaying icons with dynamic loading capabilities.
|
|
4773
|
-
* It allows specifying the icon name, which is dynamically imported and rendered within the component.
|
|
4774
|
-
* Key Features:
|
|
4775
|
-
* - Dynamically loads the icon component based on the `icon` prop.
|
|
4776
|
-
* - Allows additional CSS classes through the `class` prop for custom styling.
|
|
4777
|
-
* - Observes changes to the `icon` prop and reloads the icon component accordingly.
|
|
4778
|
-
* Ideal for scenarios where icons need to be dynamically selected and styled consistently across an application.
|
|
4779
|
-
*/
|
|
4780
4574
|
interface EdsIconWrapper {
|
|
4781
|
-
|
|
4782
|
-
|
|
4783
|
-
*/
|
|
4784
|
-
"class"?: string;
|
|
4785
|
-
/**
|
|
4786
|
-
* The name of the icon to be displayed. Default is 'arrow-right'.
|
|
4787
|
-
*/
|
|
4788
|
-
"icon"?: string;
|
|
4575
|
+
"name": IconName;
|
|
4576
|
+
"size"?: 16 | 20 | 24 | 32;
|
|
4789
4577
|
}
|
|
4790
4578
|
interface EdsIconYoutube {
|
|
4791
4579
|
/**
|
|
@@ -4853,7 +4641,7 @@ declare namespace LocalJSX {
|
|
|
4853
4641
|
"error"?: boolean;
|
|
4854
4642
|
"extraClass"?: string;
|
|
4855
4643
|
"hasMessage"?: boolean;
|
|
4856
|
-
"icon"?:
|
|
4644
|
+
"icon"?: IconName;
|
|
4857
4645
|
"inputId"?: string;
|
|
4858
4646
|
"max"?: number;
|
|
4859
4647
|
"maxLength"?: number;
|
|
@@ -4866,6 +4654,48 @@ declare namespace LocalJSX {
|
|
|
4866
4654
|
"type"?: string;
|
|
4867
4655
|
"value"?: string | number;
|
|
4868
4656
|
}
|
|
4657
|
+
interface EdsInputDropzone {
|
|
4658
|
+
/**
|
|
4659
|
+
* Accepted file types (e.g., ".pdf,.png,.jpg" or "image/*").
|
|
4660
|
+
*/
|
|
4661
|
+
"accept"?: string;
|
|
4662
|
+
/**
|
|
4663
|
+
* If `true`, the input is disabled.
|
|
4664
|
+
*/
|
|
4665
|
+
"disabled"?: boolean;
|
|
4666
|
+
/**
|
|
4667
|
+
* The `id` attribute of the internal input element. Defaults to `name` if not set.
|
|
4668
|
+
*/
|
|
4669
|
+
"inputId"?: string;
|
|
4670
|
+
/**
|
|
4671
|
+
* Maximum file size in bytes. If not set, no size limit is enforced client-side.
|
|
4672
|
+
*/
|
|
4673
|
+
"maxFileSize"?: number;
|
|
4674
|
+
/**
|
|
4675
|
+
* If `true`, allows multiple file selection.
|
|
4676
|
+
*/
|
|
4677
|
+
"multiple"?: boolean;
|
|
4678
|
+
/**
|
|
4679
|
+
* The `name` attribute of the input element. Required for form submission.
|
|
4680
|
+
*/
|
|
4681
|
+
"name": string;
|
|
4682
|
+
/**
|
|
4683
|
+
* Emits when files are selected or removed. Use `event.detail.files` to access the FileList.
|
|
4684
|
+
*/
|
|
4685
|
+
"onEdsfile"?: (event: EdsInputDropzoneCustomEvent<{ files: File[] }>) => void;
|
|
4686
|
+
/**
|
|
4687
|
+
* Primary text shown in dropzone.
|
|
4688
|
+
*/
|
|
4689
|
+
"primaryText"?: string;
|
|
4690
|
+
/**
|
|
4691
|
+
* If `true`, the input is required.
|
|
4692
|
+
*/
|
|
4693
|
+
"required"?: boolean;
|
|
4694
|
+
/**
|
|
4695
|
+
* Secondary text shown in dropzone.
|
|
4696
|
+
*/
|
|
4697
|
+
"secondaryText"?: string;
|
|
4698
|
+
}
|
|
4869
4699
|
interface EdsInputField {
|
|
4870
4700
|
/**
|
|
4871
4701
|
* If `true`, the checkbox/radio is checked.
|
|
@@ -4894,7 +4724,7 @@ declare namespace LocalJSX {
|
|
|
4894
4724
|
/**
|
|
4895
4725
|
* Optional icon name to display inside the input.
|
|
4896
4726
|
*/
|
|
4897
|
-
"icon"?:
|
|
4727
|
+
"icon"?: IconName;
|
|
4898
4728
|
/**
|
|
4899
4729
|
* The `id` attribute of the internal input element. Defaults to `name` if not set.
|
|
4900
4730
|
*/
|
|
@@ -4968,6 +4798,44 @@ declare namespace LocalJSX {
|
|
|
4968
4798
|
*/
|
|
4969
4799
|
"value"?: string | number;
|
|
4970
4800
|
}
|
|
4801
|
+
interface EdsInputFile {
|
|
4802
|
+
/**
|
|
4803
|
+
* Accepted file types (e.g., ".pdf,.png,.jpg" or "image/*").
|
|
4804
|
+
*/
|
|
4805
|
+
"accept"?: string;
|
|
4806
|
+
/**
|
|
4807
|
+
* Button label text. Defaults to "Choose Files" (or "Choose File" if not multiple).
|
|
4808
|
+
*/
|
|
4809
|
+
"buttonLabel"?: string;
|
|
4810
|
+
/**
|
|
4811
|
+
* If `true`, the input is disabled.
|
|
4812
|
+
*/
|
|
4813
|
+
"disabled"?: boolean;
|
|
4814
|
+
/**
|
|
4815
|
+
* The `id` attribute of the internal input element. Defaults to `name` if not set.
|
|
4816
|
+
*/
|
|
4817
|
+
"inputId"?: string;
|
|
4818
|
+
/**
|
|
4819
|
+
* Maximum file size in bytes. If not set, no size limit is enforced client-side.
|
|
4820
|
+
*/
|
|
4821
|
+
"maxFileSize"?: number;
|
|
4822
|
+
/**
|
|
4823
|
+
* If `true`, allows multiple file selection.
|
|
4824
|
+
*/
|
|
4825
|
+
"multiple"?: boolean;
|
|
4826
|
+
/**
|
|
4827
|
+
* The `name` attribute of the input element. Required for form submission.
|
|
4828
|
+
*/
|
|
4829
|
+
"name": string;
|
|
4830
|
+
/**
|
|
4831
|
+
* Emits when files are selected or removed. Use `event.detail.files` to access the FileList.
|
|
4832
|
+
*/
|
|
4833
|
+
"onEdsfile"?: (event: EdsInputFileCustomEvent<{ files: File[] }>) => void;
|
|
4834
|
+
/**
|
|
4835
|
+
* If `true`, the input is required.
|
|
4836
|
+
*/
|
|
4837
|
+
"required"?: boolean;
|
|
4838
|
+
}
|
|
4971
4839
|
interface EdsInputFooter {
|
|
4972
4840
|
/**
|
|
4973
4841
|
* Whether the input should be rendered in an error state. Controls visibility of the `errorMessage`.
|
|
@@ -5129,6 +4997,68 @@ declare namespace LocalJSX {
|
|
|
5129
4997
|
*/
|
|
5130
4998
|
"value"?: string | number;
|
|
5131
4999
|
}
|
|
5000
|
+
interface EdsKgWebServicesSelect {
|
|
5001
|
+
/**
|
|
5002
|
+
* API endpoint for fetching web services Defaults to cached endpoint for better performance
|
|
5003
|
+
*/
|
|
5004
|
+
"apiEndpoint"?: string;
|
|
5005
|
+
/**
|
|
5006
|
+
* Whether the field is disabled
|
|
5007
|
+
*/
|
|
5008
|
+
"disabled"?: boolean;
|
|
5009
|
+
/**
|
|
5010
|
+
* Error state
|
|
5011
|
+
*/
|
|
5012
|
+
"error"?: boolean;
|
|
5013
|
+
/**
|
|
5014
|
+
* Error message
|
|
5015
|
+
*/
|
|
5016
|
+
"errorMessage"?: string;
|
|
5017
|
+
/**
|
|
5018
|
+
* Optional hint text
|
|
5019
|
+
*/
|
|
5020
|
+
"hint"?: string;
|
|
5021
|
+
/**
|
|
5022
|
+
* Label for the select field
|
|
5023
|
+
*/
|
|
5024
|
+
"label"?: string;
|
|
5025
|
+
/**
|
|
5026
|
+
* Optional message text
|
|
5027
|
+
*/
|
|
5028
|
+
"message"?: string;
|
|
5029
|
+
/**
|
|
5030
|
+
* Name attribute for the select field
|
|
5031
|
+
*/
|
|
5032
|
+
"name"?: string;
|
|
5033
|
+
/**
|
|
5034
|
+
* Emitted when the select field value changes (change event)
|
|
5035
|
+
*/
|
|
5036
|
+
"onEdschange"?: (event: EdsKgWebServicesSelectCustomEvent<{ value: string | boolean | string[] }>) => void;
|
|
5037
|
+
/**
|
|
5038
|
+
* Emitted when the select field value changes (input event)
|
|
5039
|
+
*/
|
|
5040
|
+
"onEdsinput"?: (event: EdsKgWebServicesSelectCustomEvent<{ value: string | boolean | string[] }>) => void;
|
|
5041
|
+
/**
|
|
5042
|
+
* Placeholder text for the select field
|
|
5043
|
+
*/
|
|
5044
|
+
"placeholder"?: string;
|
|
5045
|
+
/**
|
|
5046
|
+
* Whether the field is required
|
|
5047
|
+
*/
|
|
5048
|
+
"required"?: boolean;
|
|
5049
|
+
/**
|
|
5050
|
+
* Optional search term to filter results
|
|
5051
|
+
*/
|
|
5052
|
+
"searchTerm"?: string;
|
|
5053
|
+
/**
|
|
5054
|
+
* Maximum number of services to fetch
|
|
5055
|
+
*/
|
|
5056
|
+
"size"?: number;
|
|
5057
|
+
/**
|
|
5058
|
+
* Selected value (web service short_name)
|
|
5059
|
+
*/
|
|
5060
|
+
"value"?: string;
|
|
5061
|
+
}
|
|
5132
5062
|
/**
|
|
5133
5063
|
* `EdsLink` is a versatile link component offering different styles and behaviors.
|
|
5134
5064
|
* Key Features:
|
|
@@ -5166,7 +5096,7 @@ declare namespace LocalJSX {
|
|
|
5166
5096
|
/**
|
|
5167
5097
|
* The icon name to be displayed alongside the label.
|
|
5168
5098
|
*/
|
|
5169
|
-
"icon"?:
|
|
5099
|
+
"icon"?: IconName;
|
|
5170
5100
|
/**
|
|
5171
5101
|
* The icon position to be displayed alongside the label - left or right.
|
|
5172
5102
|
*/
|
|
@@ -5176,21 +5106,17 @@ declare namespace LocalJSX {
|
|
|
5176
5106
|
*/
|
|
5177
5107
|
"iconSmall"?: boolean;
|
|
5178
5108
|
/**
|
|
5179
|
-
* The visual style intent of the link. Options: 'primary', 'secondary', '
|
|
5109
|
+
* The visual style intent of the link. Options: 'primary', 'secondary', 'secondaryInverse', 'ghost', 'strong', 'weak', 'inverse', 'underline', 'underlineInverse', 'brand', 'brandInverse', 'cta', 'cta-brand'.
|
|
5180
5110
|
*/
|
|
5181
|
-
"intent"?: | '
|
|
5182
|
-
| 'secondary'
|
|
5183
|
-
| 'tertiary'
|
|
5184
|
-
| 'ghost'
|
|
5185
|
-
| 'strong'
|
|
5186
|
-
| 'weak'
|
|
5187
|
-
| 'inverse'
|
|
5188
|
-
| 'underline'
|
|
5189
|
-
| 'blueish';
|
|
5111
|
+
"intent"?: 'primary' | 'secondary' | 'secondaryInverse' | 'ghost' | 'strong' | 'weak' | 'inverse' | 'underline' | 'underlineInverse' | 'brand' | 'brandInverse' | 'cta' | 'cta-brand';
|
|
5190
5112
|
/**
|
|
5191
5113
|
* The text label for the link.
|
|
5192
5114
|
*/
|
|
5193
5115
|
"label"?: string;
|
|
5116
|
+
/**
|
|
5117
|
+
* A boolean to determine if the link should have a pill shape (rounded-full). Default is false.
|
|
5118
|
+
*/
|
|
5119
|
+
"pill"?: boolean;
|
|
5194
5120
|
/**
|
|
5195
5121
|
* The size of the link. Options are 'small' or 'large'.
|
|
5196
5122
|
*/
|
|
@@ -5224,9 +5150,9 @@ declare namespace LocalJSX {
|
|
|
5224
5150
|
*/
|
|
5225
5151
|
"orientation"?: 'horizontal' | 'vertical';
|
|
5226
5152
|
/**
|
|
5227
|
-
* The
|
|
5153
|
+
* The visual variant of the logo. `'positive'` for dark logo on light backgrounds, `'negative'` for light logo on dark backgrounds.
|
|
5228
5154
|
*/
|
|
5229
|
-
"
|
|
5155
|
+
"variant"?: 'positive' | 'negative';
|
|
5230
5156
|
}
|
|
5231
5157
|
interface EdsMatomoNotice {
|
|
5232
5158
|
/**
|
|
@@ -5276,18 +5202,19 @@ declare namespace LocalJSX {
|
|
|
5276
5202
|
*/
|
|
5277
5203
|
"position"?: 'middle' | 'top' | 'bottom';
|
|
5278
5204
|
/**
|
|
5279
|
-
*
|
|
5205
|
+
* Size of the modal. - `"small"`: 500px max width - `"medium"` (default): 700px max width - `"large"`: 900px max width
|
|
5206
|
+
*/
|
|
5207
|
+
"size"?: 'small' | 'medium' | 'large';
|
|
5208
|
+
/**
|
|
5209
|
+
* The number of lines to truncate the title to. Set to 0 or undefined to disable truncation.
|
|
5280
5210
|
*/
|
|
5281
|
-
"truncate"?: 1 | 2 | 3 | 4;
|
|
5211
|
+
"truncate"?: 0 | 1 | 2 | 3 | 4;
|
|
5282
5212
|
}
|
|
5283
5213
|
interface EdsNps {
|
|
5284
5214
|
/**
|
|
5285
5215
|
* Label displayed under the min value.
|
|
5286
5216
|
*/
|
|
5287
5217
|
"leftLabel"?: string;
|
|
5288
|
-
/**
|
|
5289
|
-
* Event emitted when the NPS value changes.
|
|
5290
|
-
*/
|
|
5291
5218
|
"onNps"?: (event: EdsNpsCustomEvent<number>) => void;
|
|
5292
5219
|
/**
|
|
5293
5220
|
* The question prompt for the NPS scale.
|
|
@@ -5297,6 +5224,10 @@ declare namespace LocalJSX {
|
|
|
5297
5224
|
* Label displayed under the max value.
|
|
5298
5225
|
*/
|
|
5299
5226
|
"rightLabel"?: string;
|
|
5227
|
+
/**
|
|
5228
|
+
* Current selected NPS value (controlled from parent).
|
|
5229
|
+
*/
|
|
5230
|
+
"selectedValue"?: number;
|
|
5300
5231
|
}
|
|
5301
5232
|
/**
|
|
5302
5233
|
* `EdsPagination` is a component for navigating paginated data.
|
|
@@ -5382,13 +5313,18 @@ declare namespace LocalJSX {
|
|
|
5382
5313
|
}
|
|
5383
5314
|
interface EdsProgressBar {
|
|
5384
5315
|
/**
|
|
5385
|
-
*
|
|
5316
|
+
* Horizontal padding for the label container (CSS value). Examples: "3rem", "48px", "2rem" Default: "3rem"
|
|
5386
5317
|
*/
|
|
5387
|
-
"
|
|
5318
|
+
"labelPaddingX"?: string;
|
|
5319
|
+
"showLabel"?: boolean;
|
|
5388
5320
|
/**
|
|
5389
5321
|
* The progress value (0-100).
|
|
5390
5322
|
*/
|
|
5391
5323
|
"value"?: number;
|
|
5324
|
+
/**
|
|
5325
|
+
* Visual variant for the progress bar. - "default": Standard progress bar with border and centered text - "brand": EBRAINS branded progress bar with gradient, glow, and top text
|
|
5326
|
+
*/
|
|
5327
|
+
"variant"?: 'default' | 'brand';
|
|
5392
5328
|
}
|
|
5393
5329
|
interface EdsRating {
|
|
5394
5330
|
/**
|
|
@@ -5402,7 +5338,11 @@ declare namespace LocalJSX {
|
|
|
5402
5338
|
/**
|
|
5403
5339
|
* The type of icon to display. Can be "stars" or "thumbs".
|
|
5404
5340
|
*/
|
|
5405
|
-
"ratingType"?:
|
|
5341
|
+
"ratingType"?: IconName;
|
|
5342
|
+
/**
|
|
5343
|
+
* Current selected rating value (controlled from parent).
|
|
5344
|
+
*/
|
|
5345
|
+
"selectedRating"?: number;
|
|
5406
5346
|
}
|
|
5407
5347
|
interface EdsSectionCore {
|
|
5408
5348
|
/**
|
|
@@ -5475,6 +5415,11 @@ declare namespace LocalJSX {
|
|
|
5475
5415
|
* Social Network custom title to display
|
|
5476
5416
|
*/
|
|
5477
5417
|
"heading"?: string;
|
|
5418
|
+
/**
|
|
5419
|
+
* Controls the visual variant of the social networks. - 'default': Light background with dark text - 'inverse': Dark/black background with white text
|
|
5420
|
+
* @type {'default' | 'inverse'}
|
|
5421
|
+
*/
|
|
5422
|
+
"variant"?: 'default' | 'inverse';
|
|
5478
5423
|
}
|
|
5479
5424
|
interface EdsSpinner {
|
|
5480
5425
|
/**
|
|
@@ -5540,10 +5485,18 @@ declare namespace LocalJSX {
|
|
|
5540
5485
|
* Orientation (applies to linear mode visuals).
|
|
5541
5486
|
*/
|
|
5542
5487
|
"orientation"?: 'vertical' | 'horizontal';
|
|
5488
|
+
/**
|
|
5489
|
+
* Show or hide the finish button on the last step
|
|
5490
|
+
*/
|
|
5491
|
+
"showFinish"?: boolean;
|
|
5543
5492
|
/**
|
|
5544
5493
|
* Steps data as array or JSON string.
|
|
5545
5494
|
*/
|
|
5546
5495
|
"steps"?: string | Step[];
|
|
5496
|
+
/**
|
|
5497
|
+
* Visual theme for the steps component. - 'default': Grey step circles with white text - 'brand': Brand green step circles with black text (CTA style)
|
|
5498
|
+
*/
|
|
5499
|
+
"theme"?: 'default' | 'brand';
|
|
5547
5500
|
/**
|
|
5548
5501
|
* Stepper mode.
|
|
5549
5502
|
*/
|
|
@@ -5591,10 +5544,18 @@ declare namespace LocalJSX {
|
|
|
5591
5544
|
* Orientation (applies to linear visuals)
|
|
5592
5545
|
*/
|
|
5593
5546
|
"orientation"?: 'vertical' | 'horizontal';
|
|
5547
|
+
/**
|
|
5548
|
+
* Show or hide the finish button on the last step
|
|
5549
|
+
*/
|
|
5550
|
+
"showFinish"?: boolean;
|
|
5594
5551
|
/**
|
|
5595
5552
|
* JSON string or array of steps: { title, content? }
|
|
5596
5553
|
*/
|
|
5597
5554
|
"steps"?: string | Step1[];
|
|
5555
|
+
/**
|
|
5556
|
+
* Visual theme for the steps component. - 'default': Grey step circles with white text - 'brand': Brand green step circles with black text (CTA style)
|
|
5557
|
+
*/
|
|
5558
|
+
"theme"?: 'default' | 'brand';
|
|
5598
5559
|
/**
|
|
5599
5560
|
* Stepper mode
|
|
5600
5561
|
*/
|
|
@@ -5621,13 +5582,23 @@ declare namespace LocalJSX {
|
|
|
5621
5582
|
* Emitted when the switch is toggled.
|
|
5622
5583
|
*/
|
|
5623
5584
|
"onUiswitch"?: (event: EdsSwitchCustomEvent<{ value: boolean }>) => void;
|
|
5585
|
+
/**
|
|
5586
|
+
* Variant of the switch: 'toggle' (default) or 'segmented' (pill-style buttons)
|
|
5587
|
+
*/
|
|
5588
|
+
"variant"?: 'toggle' | 'segmented';
|
|
5624
5589
|
}
|
|
5625
5590
|
/**
|
|
5626
5591
|
* `EdsTable` is a customizable data table component with support for dynamic data fetching, column configuration, pagination, and search functionality.
|
|
5627
5592
|
* Key Features:
|
|
5628
|
-
* - Configurable columns with options to hide or apply text formatting (uppercase, bold, or
|
|
5593
|
+
* - Configurable columns with options to hide or apply text formatting (uppercase, bold, code, or html).
|
|
5629
5594
|
* - Pagination support with adjustable rows per page.
|
|
5630
5595
|
* - Searchable content for easier data filtering.
|
|
5596
|
+
* Column Format Options:
|
|
5597
|
+
* - 'uppercase': Converts text to uppercase
|
|
5598
|
+
* - 'bold': Wraps text in <strong> tag
|
|
5599
|
+
* - 'code': Wraps text in <code> tag
|
|
5600
|
+
* - 'html': Renders raw HTML content (use for web components, links, etc.)
|
|
5601
|
+
* - 'svg': (deprecated, use 'html') Renders raw HTML content
|
|
5631
5602
|
* This component is versatile for displaying data with flexible configuration, and integrates with pagination and search functionalities.
|
|
5632
5603
|
*/
|
|
5633
5604
|
interface EdsTable {
|
|
@@ -5636,7 +5607,7 @@ declare namespace LocalJSX {
|
|
|
5636
5607
|
*/
|
|
5637
5608
|
"actionTemplate"?: (row: any) => VNode;
|
|
5638
5609
|
/**
|
|
5639
|
-
* Array of actions to render in each row. Can be passed as a JSON string or as a `TableAction[]`. Each action object may include: - `name` (string; required) — unique action key, e.g. `"view"`, `"delete"`. - `label` (string; required) — text shown on the button, or used as the tooltip/aria-label when icon-only. - `type` ("button" | "checkbox"; optional) — whether to render a standard button (default) or a checkbox. - `icon` (string; optional) — name of the icon to display in icon-only mode. - `field` (string; optional) — for checkboxes, the row field whose truthiness binds the checked state (defaults to `name`). - `showLabel` (boolean; optional) — if `true`, render the full `label` instead of an icon + tooltip. When you pass JSON, make sure field names match exactly: ```html actions='[ { "name":"view", "label":"View", "icon":"eye" }, { "name":"edit", "label":"Edit", "icon":"pencil", "showLabel":true }, { "name":"del", "label":"Delete","type":"checkbox", "field":"selected" } ]' ```
|
|
5610
|
+
* Array of actions to render in each row. Can be passed as a JSON string or as a `TableAction[]`. Each action object may include: - `name` (string; required) — unique action key, e.g. `"view"`, `"delete"`. - `label` (string; required) — text shown on the button, or used as the tooltip/aria-label when icon-only. - `type` ("button" | "checkbox"; optional) — whether to render a standard button (default) or a checkbox. - `icon` (string; optional) — name of the icon to display in icon-only mode. - `field` (string; optional) — for checkboxes, the row field whose truthiness binds the checked state (defaults to `name`). - `showLabel` (boolean; optional) — if `true`, render the full `label` instead of an icon + tooltip. - `intent` ("brand" | "primary" | "secondary" | "neutral" | "ghost" | "brandInverse" | "secondaryInverse" | "ghostInverse"; optional) — button intent/style. When you pass JSON, make sure field names match exactly: ```html actions='[ { "name":"view", "label":"View", "icon":"eye", "intent":"brand" }, { "name":"edit", "label":"Edit", "icon":"pencil", "showLabel":true, "intent":"primary" }, { "name":"del", "label":"Delete","type":"checkbox", "field":"selected" } ]' ```
|
|
5640
5611
|
*/
|
|
5641
5612
|
"actions"?: string | TableAction[];
|
|
5642
5613
|
/**
|
|
@@ -5650,7 +5621,7 @@ declare namespace LocalJSX {
|
|
|
5650
5621
|
| {
|
|
5651
5622
|
[key: string]: {
|
|
5652
5623
|
hidden?: boolean;
|
|
5653
|
-
format?: 'uppercase' | 'bold' | 'code';
|
|
5624
|
+
format?: 'uppercase' | 'bold' | 'code' | 'html' | 'svg';
|
|
5654
5625
|
};
|
|
5655
5626
|
};
|
|
5656
5627
|
/**
|
|
@@ -5662,6 +5633,10 @@ declare namespace LocalJSX {
|
|
|
5662
5633
|
* Define the event with the payload type
|
|
5663
5634
|
*/
|
|
5664
5635
|
"onRowaction"?: (event: EdsTableCustomEvent<{ action: string; row: any; checked: boolean }>) => void;
|
|
5636
|
+
/**
|
|
5637
|
+
* Emitted when view mode changes
|
|
5638
|
+
*/
|
|
5639
|
+
"onViewchange"?: (event: EdsTableCustomEvent<{ view: 'table' | 'card' }>) => void;
|
|
5665
5640
|
/**
|
|
5666
5641
|
* Enable or disable pagination explicitly
|
|
5667
5642
|
*/
|
|
@@ -5674,22 +5649,33 @@ declare namespace LocalJSX {
|
|
|
5674
5649
|
* Enable or disable search input for filtering
|
|
5675
5650
|
*/
|
|
5676
5651
|
"searchEnabled"?: boolean;
|
|
5652
|
+
/**
|
|
5653
|
+
* Show view toggle control (segmented switch for Table/Card views)
|
|
5654
|
+
*/
|
|
5655
|
+
"showViewToggle"?: boolean;
|
|
5677
5656
|
/**
|
|
5678
5657
|
* Enable or disable column sorting
|
|
5679
5658
|
*/
|
|
5680
5659
|
"sortingEnabled"?: boolean;
|
|
5681
5660
|
/**
|
|
5682
|
-
* Theme for table styling - 'default'
|
|
5661
|
+
* Theme for table styling: - 'default': Simple rows with no background - 'color': Alternating row colors - 'brand': Modern brand styling with hover effects and green accents
|
|
5683
5662
|
*/
|
|
5684
|
-
"theme"?: 'default' | 'color';
|
|
5663
|
+
"theme"?: 'default' | 'color' | 'brand';
|
|
5664
|
+
/**
|
|
5665
|
+
* View mode for displaying data: - 'table': Traditional table layout (default) - 'card': Card grid layout
|
|
5666
|
+
*/
|
|
5667
|
+
"view"?: 'table' | 'card';
|
|
5685
5668
|
}
|
|
5686
5669
|
/**
|
|
5687
|
-
* `EdsTabs` is a tabs component
|
|
5688
|
-
*
|
|
5689
|
-
*
|
|
5690
|
-
*
|
|
5691
|
-
*
|
|
5692
|
-
*
|
|
5670
|
+
* `EdsTabs` is a modern tabs component with a pill-shaped container design.
|
|
5671
|
+
* Features a clean, minimal interface with smooth transitions and two variant styles.
|
|
5672
|
+
* Key features:
|
|
5673
|
+
* - Default variant (dark background) and inverse variant (light background)
|
|
5674
|
+
* - Pill-shaped container with rounded tabs
|
|
5675
|
+
* - Smooth hover and active state transitions
|
|
5676
|
+
* - Keyboard navigation support (Arrow keys, Home, End)
|
|
5677
|
+
* - Analytics tracking integration
|
|
5678
|
+
* - Accessible with proper ARIA attributes
|
|
5693
5679
|
*/
|
|
5694
5680
|
interface EdsTabs {
|
|
5695
5681
|
/**
|
|
@@ -5708,7 +5694,11 @@ declare namespace LocalJSX {
|
|
|
5708
5694
|
/**
|
|
5709
5695
|
* JSON string for tabs data
|
|
5710
5696
|
*/
|
|
5711
|
-
"tabs"?: string | { label: string; url
|
|
5697
|
+
"tabs"?: string | { label: string; url?: string; active: boolean; ariaLabel?: string }[];
|
|
5698
|
+
/**
|
|
5699
|
+
* Visual variant: 'default' for dark backgrounds, 'inverse' for light backgrounds
|
|
5700
|
+
*/
|
|
5701
|
+
"variant"?: 'default' | 'inverse';
|
|
5712
5702
|
}
|
|
5713
5703
|
/**
|
|
5714
5704
|
* `EdsTag` is a stylized label component designed to display short, categorical information.
|
|
@@ -5718,7 +5708,7 @@ declare namespace LocalJSX {
|
|
|
5718
5708
|
/**
|
|
5719
5709
|
* The visual style or intent of the tag.
|
|
5720
5710
|
*/
|
|
5721
|
-
"intent"?: 'primary' | '
|
|
5711
|
+
"intent"?: 'primary' | 'dark' | 'inverse' | 'brand' | 'brand-dark' | 'strong';
|
|
5722
5712
|
/**
|
|
5723
5713
|
* The label to be displayed inside the tag.
|
|
5724
5714
|
*/
|
|
@@ -5742,7 +5732,7 @@ declare namespace LocalJSX {
|
|
|
5742
5732
|
/**
|
|
5743
5733
|
* The visual intent or style of the toast, indicating the toast type.
|
|
5744
5734
|
*/
|
|
5745
|
-
"intent"?: 'default' | 'success' | 'error' | 'warning';
|
|
5735
|
+
"intent"?: 'default' | 'success' | 'error' | 'warning' | 'brand' | 'brandInverse';
|
|
5746
5736
|
/**
|
|
5747
5737
|
* The main message or text to be displayed in the toast.
|
|
5748
5738
|
*/
|
|
@@ -5761,12 +5751,6 @@ declare namespace LocalJSX {
|
|
|
5761
5751
|
"content"?: string;
|
|
5762
5752
|
"position"?: 'top' | 'bottom';
|
|
5763
5753
|
}
|
|
5764
|
-
interface EdsTrl {
|
|
5765
|
-
/**
|
|
5766
|
-
* Accepts a JSON string or an array of application objects.
|
|
5767
|
-
*/
|
|
5768
|
-
"applications"?: string | any[];
|
|
5769
|
-
}
|
|
5770
5754
|
/**
|
|
5771
5755
|
* `EdsUser` is a user component for managing and displaying
|
|
5772
5756
|
* the user's auth information. Displays a user dropdown menu when authenticated.
|
|
@@ -5840,13 +5824,14 @@ declare namespace LocalJSX {
|
|
|
5840
5824
|
"eds-block-break": EdsBlockBreak;
|
|
5841
5825
|
"eds-breadcrumb": EdsBreadcrumb;
|
|
5842
5826
|
"eds-button": EdsButton;
|
|
5827
|
+
"eds-card-app": EdsCardApp;
|
|
5828
|
+
"eds-card-cta": EdsCardCta;
|
|
5843
5829
|
"eds-card-desc": EdsCardDesc;
|
|
5830
|
+
"eds-card-feature": EdsCardFeature;
|
|
5844
5831
|
"eds-card-generic": EdsCardGeneric;
|
|
5845
|
-
"eds-card-
|
|
5846
|
-
"eds-card-
|
|
5847
|
-
"eds-card-tags": EdsCardTags;
|
|
5832
|
+
"eds-card-hero": EdsCardHero;
|
|
5833
|
+
"eds-card-stat": EdsCardStat;
|
|
5848
5834
|
"eds-card-title": EdsCardTitle;
|
|
5849
|
-
"eds-card-tool": EdsCardTool;
|
|
5850
5835
|
"eds-code-block": EdsCodeBlock;
|
|
5851
5836
|
"eds-cookies-preference": EdsCookiesPreference;
|
|
5852
5837
|
"eds-dropdown": EdsDropdown;
|
|
@@ -5856,60 +5841,29 @@ declare namespace LocalJSX {
|
|
|
5856
5841
|
"eds-frame": EdsFrame;
|
|
5857
5842
|
"eds-fullscreen-menu": EdsFullscreenMenu;
|
|
5858
5843
|
"eds-gauge": EdsGauge;
|
|
5844
|
+
"eds-gitlab-contributors": EdsGitlabContributors;
|
|
5859
5845
|
"eds-global-search": EdsGlobalSearch;
|
|
5860
5846
|
"eds-header": EdsHeader;
|
|
5861
|
-
"eds-icon-arrow-diagonal": EdsIconArrowDiagonal;
|
|
5862
|
-
"eds-icon-arrow-right": EdsIconArrowRight;
|
|
5863
|
-
"eds-icon-bin": EdsIconBin;
|
|
5864
5847
|
"eds-icon-bluesky": EdsIconBluesky;
|
|
5865
|
-
"eds-icon-bookmark": EdsIconBookmark;
|
|
5866
|
-
"eds-icon-chevron-down": EdsIconChevronDown;
|
|
5867
|
-
"eds-icon-chevron-left": EdsIconChevronLeft;
|
|
5868
|
-
"eds-icon-chevron-right": EdsIconChevronRight;
|
|
5869
|
-
"eds-icon-chevron-up": EdsIconChevronUp;
|
|
5870
|
-
"eds-icon-clone": EdsIconClone;
|
|
5871
|
-
"eds-icon-close": EdsIconClose;
|
|
5872
|
-
"eds-icon-copy": EdsIconCopy;
|
|
5873
|
-
"eds-icon-download": EdsIconDownload;
|
|
5874
|
-
"eds-icon-draft": EdsIconDraft;
|
|
5875
|
-
"eds-icon-edit": EdsIconEdit;
|
|
5876
5848
|
"eds-icon-eu": EdsIconEu;
|
|
5877
|
-
"eds-icon-external": EdsIconExternal;
|
|
5878
5849
|
"eds-icon-facebook": EdsIconFacebook;
|
|
5879
5850
|
"eds-icon-gitlab": EdsIconGitlab;
|
|
5880
5851
|
"eds-icon-linkedin": EdsIconLinkedin;
|
|
5881
|
-
"eds-icon-loader": EdsIconLoader;
|
|
5882
5852
|
"eds-icon-mastodon": EdsIconMastodon;
|
|
5883
|
-
"eds-icon-menu": EdsIconMenu;
|
|
5884
|
-
"eds-icon-minus": EdsIconMinus;
|
|
5885
|
-
"eds-icon-more": EdsIconMore;
|
|
5886
|
-
"eds-icon-paper": EdsIconPaper;
|
|
5887
|
-
"eds-icon-plus": EdsIconPlus;
|
|
5888
|
-
"eds-icon-portal": EdsIconPortal;
|
|
5889
|
-
"eds-icon-private": EdsIconPrivate;
|
|
5890
|
-
"eds-icon-public": EdsIconPublic;
|
|
5891
|
-
"eds-icon-search": EdsIconSearch;
|
|
5892
|
-
"eds-icon-star": EdsIconStar;
|
|
5893
|
-
"eds-icon-start": EdsIconStart;
|
|
5894
|
-
"eds-icon-success": EdsIconSuccess;
|
|
5895
|
-
"eds-icon-thumbs-down": EdsIconThumbsDown;
|
|
5896
|
-
"eds-icon-thumbs-up": EdsIconThumbsUp;
|
|
5897
|
-
"eds-icon-tutorial": EdsIconTutorial;
|
|
5898
5853
|
"eds-icon-twitter": EdsIconTwitter;
|
|
5899
|
-
"eds-icon-unknown": EdsIconUnknown;
|
|
5900
|
-
"eds-icon-updown": EdsIconUpdown;
|
|
5901
|
-
"eds-icon-user": EdsIconUser;
|
|
5902
|
-
"eds-icon-view": EdsIconView;
|
|
5903
5854
|
"eds-icon-wrapper": EdsIconWrapper;
|
|
5904
5855
|
"eds-icon-youtube": EdsIconYoutube;
|
|
5905
5856
|
"eds-img": EdsImg;
|
|
5906
5857
|
"eds-input": EdsInput;
|
|
5858
|
+
"eds-input-dropzone": EdsInputDropzone;
|
|
5907
5859
|
"eds-input-field": EdsInputField;
|
|
5860
|
+
"eds-input-file": EdsInputFile;
|
|
5908
5861
|
"eds-input-footer": EdsInputFooter;
|
|
5909
5862
|
"eds-input-label": EdsInputLabel;
|
|
5910
5863
|
"eds-input-range": EdsInputRange;
|
|
5911
5864
|
"eds-input-search": EdsInputSearch;
|
|
5912
5865
|
"eds-input-select": EdsInputSelect;
|
|
5866
|
+
"eds-kg-web-services-select": EdsKgWebServicesSelect;
|
|
5913
5867
|
"eds-link": EdsLink;
|
|
5914
5868
|
"eds-logo": EdsLogo;
|
|
5915
5869
|
"eds-matomo-notice": EdsMatomoNotice;
|
|
@@ -5935,7 +5889,6 @@ declare namespace LocalJSX {
|
|
|
5935
5889
|
"eds-toast": EdsToast;
|
|
5936
5890
|
"eds-toast-manager": EdsToastManager;
|
|
5937
5891
|
"eds-tooltip": EdsTooltip;
|
|
5938
|
-
"eds-trl": EdsTrl;
|
|
5939
5892
|
"eds-user": EdsUser;
|
|
5940
5893
|
"gradient-primary-palette": GradientPrimaryPalette;
|
|
5941
5894
|
"gradient-secondary-palette": GradientSecondaryPalette;
|
|
@@ -5968,30 +5921,21 @@ declare module "@stencil/core" {
|
|
|
5968
5921
|
"docs-tokens": LocalJSX.DocsTokens & JSXBase.HTMLAttributes<HTMLDocsTokensElement>;
|
|
5969
5922
|
/**
|
|
5970
5923
|
* `EdsAccordion` is a flexible, interactive component for expanding and collapsing content sections.
|
|
5971
|
-
* It features a customizable header
|
|
5972
|
-
*
|
|
5973
|
-
*
|
|
5974
|
-
*
|
|
5975
|
-
*
|
|
5976
|
-
* to track its open/close status.
|
|
5977
|
-
* Key features include:
|
|
5978
|
-
* - Header with customizable title
|
|
5979
|
-
* - Expandable/collapsible content section
|
|
5980
|
-
* - Background color switch on expand and hover
|
|
5981
|
-
* - Compact layout option with reduced header height
|
|
5982
|
-
* - Adjustable content height and text clamping
|
|
5983
|
-
* - Emitted events for tracking changes in expansion state and context
|
|
5924
|
+
* It features a customizable header with optional icon, description, and content area.
|
|
5925
|
+
* Supports two visual variants (`default` and `inverse`) matching the card design system,
|
|
5926
|
+
* with hover effects, smooth CSS-driven expand/collapse animation, and optional icon display.
|
|
5927
|
+
* The `accordion` event is emitted when the accordion's expanded state changes, allowing parent
|
|
5928
|
+
* components to track its open/close status.
|
|
5984
5929
|
*/
|
|
5985
5930
|
"eds-accordion": LocalJSX.EdsAccordion & JSXBase.HTMLAttributes<HTMLEdsAccordionElement>;
|
|
5986
5931
|
/**
|
|
5987
|
-
* `EdsAlert` is a versatile alert component
|
|
5988
|
-
*
|
|
5989
|
-
*
|
|
5990
|
-
* -
|
|
5991
|
-
* -
|
|
5992
|
-
* - Optional
|
|
5993
|
-
* -
|
|
5994
|
-
* This component is styled with predefined CSS classes to ensure consistent appearance across different alert types and layout configurations.
|
|
5932
|
+
* `EdsAlert` is a versatile alert component for displaying contextual messages.
|
|
5933
|
+
* Key features:
|
|
5934
|
+
* - Contextual intents (`default`, `info`, `warning`, `error`, `success`) with matching icons and accent colors
|
|
5935
|
+
* - Configurable layout direction (`horizontal` or `vertical`)
|
|
5936
|
+
* - Optional action element (link when URL provided, ghost button otherwise)
|
|
5937
|
+
* - Optional dismiss button to close the alert
|
|
5938
|
+
* - Left accent border colored per intent
|
|
5995
5939
|
*/
|
|
5996
5940
|
"eds-alert": LocalJSX.EdsAlert & JSXBase.HTMLAttributes<HTMLEdsAlertElement>;
|
|
5997
5941
|
"eds-app-root": LocalJSX.EdsAppRoot & JSXBase.HTMLAttributes<HTMLEdsAppRootElement>;
|
|
@@ -6021,18 +5965,59 @@ declare module "@stencil/core" {
|
|
|
6021
5965
|
*/
|
|
6022
5966
|
"eds-breadcrumb": LocalJSX.EdsBreadcrumb & JSXBase.HTMLAttributes<HTMLEdsBreadcrumbElement>;
|
|
6023
5967
|
/**
|
|
6024
|
-
* `EdsButton`
|
|
6025
|
-
*
|
|
6026
|
-
*
|
|
6027
|
-
* -
|
|
6028
|
-
* -
|
|
6029
|
-
* -
|
|
6030
|
-
* -
|
|
6031
|
-
* -
|
|
6032
|
-
*
|
|
5968
|
+
* `EdsButton` - Updated for EBRAINS Visual System 2025
|
|
5969
|
+
* A versatile button component designed for a range of actions and interactions.
|
|
5970
|
+
* Updated to match the new EBRAINS visual identity with:
|
|
5971
|
+
* - Brand black (#07140D) for primary buttons
|
|
5972
|
+
* - Brand green (#00FF9D) for accents and focus states
|
|
5973
|
+
* - Pill-shaped design (rounded-full by default)
|
|
5974
|
+
* - IBM Plex Sans typography
|
|
5975
|
+
* - High-contrast accessibility
|
|
5976
|
+
* Key features:
|
|
5977
|
+
* - Primary (black) and Secondary (outlined) button styles
|
|
5978
|
+
* - Loading state indicator with proper color handling
|
|
5979
|
+
* - Disabled state for control over user interactions
|
|
5980
|
+
* - Optional icon display with customizable position and size
|
|
5981
|
+
* - Support for different element types (button or a)
|
|
5982
|
+
* - Emits custom Matomo event when clicked for tracking
|
|
6033
5983
|
*/
|
|
6034
5984
|
"eds-button": LocalJSX.EdsButton & JSXBase.HTMLAttributes<HTMLEdsButtonElement>;
|
|
5985
|
+
/**
|
|
5986
|
+
* `EdsCardApp` is a card component designed to showcase applications with category, title, description, tags, and link.
|
|
5987
|
+
* Key features:
|
|
5988
|
+
* - Category label at the top (e.g., "BRAIN ATLASES", "DATA MANAGEMENT")
|
|
5989
|
+
* - Large, lightweight title
|
|
5990
|
+
* - Description text
|
|
5991
|
+
* - Multiple tags for features/technologies
|
|
5992
|
+
* - Optional action link at the bottom
|
|
5993
|
+
* - Hover effects with transform and border glow
|
|
5994
|
+
* This component is ideal for application grids, service catalogs, and platform showcases.
|
|
5995
|
+
*/
|
|
5996
|
+
"eds-card-app": LocalJSX.EdsCardApp & JSXBase.HTMLAttributes<HTMLEdsCardAppElement>;
|
|
5997
|
+
/**
|
|
5998
|
+
* `EdsCardCta` is a call-to-action card component with title, description, action buttons, and footer links.
|
|
5999
|
+
* Key features:
|
|
6000
|
+
* - Large title with line breaks
|
|
6001
|
+
* - Description text
|
|
6002
|
+
* - Primary and secondary action buttons
|
|
6003
|
+
* - Footer links in a row
|
|
6004
|
+
* - Animated rotating radial gradient background
|
|
6005
|
+
* - Green border with hover effects
|
|
6006
|
+
* - Variant support (default/inverse)
|
|
6007
|
+
* This component is ideal for landing pages, campaign sections, and conversion-focused layouts.
|
|
6008
|
+
*/
|
|
6009
|
+
"eds-card-cta": LocalJSX.EdsCardCta & JSXBase.HTMLAttributes<HTMLEdsCardCtaElement>;
|
|
6035
6010
|
"eds-card-desc": LocalJSX.EdsCardDesc & JSXBase.HTMLAttributes<HTMLEdsCardDescElement>;
|
|
6011
|
+
/**
|
|
6012
|
+
* `EdsCardFeature` is a card component designed to showcase features with an icon, title, description, and optional link.
|
|
6013
|
+
* Key features:
|
|
6014
|
+
* - Icon at the top in a colored background box
|
|
6015
|
+
* - Title and description
|
|
6016
|
+
* - Optional "Learn more" link with arrow
|
|
6017
|
+
* - Hover effects with background color change and border glow
|
|
6018
|
+
* This component is ideal for feature grids, service listings, and capability showcases.
|
|
6019
|
+
*/
|
|
6020
|
+
"eds-card-feature": LocalJSX.EdsCardFeature & JSXBase.HTMLAttributes<HTMLEdsCardFeatureElement>;
|
|
6036
6021
|
/**
|
|
6037
6022
|
* `EdsCardGeneric` is a versatile card component designed to display rich content such as titles, descriptions, images, and tags.
|
|
6038
6023
|
* The card supports various visual configurations, including hover effects, background styling, and compact layout options.
|
|
@@ -6044,19 +6029,30 @@ declare module "@stencil/core" {
|
|
|
6044
6029
|
* This component is ideal for use in interfaces where structured card-like display elements are needed.
|
|
6045
6030
|
*/
|
|
6046
6031
|
"eds-card-generic": LocalJSX.EdsCardGeneric & JSXBase.HTMLAttributes<HTMLEdsCardGenericElement>;
|
|
6047
|
-
"eds-card-project": LocalJSX.EdsCardProject & JSXBase.HTMLAttributes<HTMLEdsCardProjectElement>;
|
|
6048
6032
|
/**
|
|
6049
|
-
* `
|
|
6050
|
-
*
|
|
6051
|
-
*
|
|
6052
|
-
* -
|
|
6053
|
-
* -
|
|
6054
|
-
*
|
|
6033
|
+
* `EdsCardHero` is a floating card component designed for hero sections with label, title, description, and tags.
|
|
6034
|
+
* Key features:
|
|
6035
|
+
* - Small uppercase label (e.g., "DATA MANAGEMENT")
|
|
6036
|
+
* - Large, lightweight title
|
|
6037
|
+
* - Description text
|
|
6038
|
+
* - Multiple tags at the bottom
|
|
6039
|
+
* - Floating animation effects
|
|
6040
|
+
* - Hover effects with border glow
|
|
6041
|
+
* This component is ideal for hero sections, landing pages, and feature highlights.
|
|
6042
|
+
*/
|
|
6043
|
+
"eds-card-hero": LocalJSX.EdsCardHero & JSXBase.HTMLAttributes<HTMLEdsCardHeroElement>;
|
|
6044
|
+
/**
|
|
6045
|
+
* `EdsCardStat` is a card component designed to display statistics with a large number, label, and description.
|
|
6046
|
+
* Key features:
|
|
6047
|
+
* - Large prominent number display (e.g., "44+", "100%", "AA")
|
|
6048
|
+
* - Label describing the statistic
|
|
6049
|
+
* - Optional description for additional context
|
|
6050
|
+
* - Hover effects with animated top border
|
|
6051
|
+
* - Support for optional links
|
|
6052
|
+
* This component is ideal for dashboards, landing pages, and any interface displaying key metrics.
|
|
6055
6053
|
*/
|
|
6056
|
-
"eds-card-
|
|
6057
|
-
"eds-card-tags": LocalJSX.EdsCardTags & JSXBase.HTMLAttributes<HTMLEdsCardTagsElement>;
|
|
6054
|
+
"eds-card-stat": LocalJSX.EdsCardStat & JSXBase.HTMLAttributes<HTMLEdsCardStatElement>;
|
|
6058
6055
|
"eds-card-title": LocalJSX.EdsCardTitle & JSXBase.HTMLAttributes<HTMLEdsCardTitleElement>;
|
|
6059
|
-
"eds-card-tool": LocalJSX.EdsCardTool & JSXBase.HTMLAttributes<HTMLEdsCardToolElement>;
|
|
6060
6056
|
/**
|
|
6061
6057
|
* A component that displays a code block with syntax highlighting.
|
|
6062
6058
|
* Uses Prism.js for syntax highlighting. Supports multiple languages such as JavaScript, HTML, CSS,
|
|
@@ -6110,18 +6106,9 @@ declare module "@stencil/core" {
|
|
|
6110
6106
|
*/
|
|
6111
6107
|
"eds-form": LocalJSX.EdsForm & JSXBase.HTMLAttributes<HTMLEdsFormElement>;
|
|
6112
6108
|
"eds-frame": LocalJSX.EdsFrame & JSXBase.HTMLAttributes<HTMLEdsFrameElement>;
|
|
6113
|
-
/**
|
|
6114
|
-
* `eds-fullscreen-menu` is a fullscreen menu component designed for the EBRAINS platform.
|
|
6115
|
-
* It provides a responsive, full-window overlay menu with navigation links and additional options.
|
|
6116
|
-
* This component is suitable for mobile and small screens, where a fullscreen menu enhances user navigation.
|
|
6117
|
-
* ## Key Features
|
|
6118
|
-
* - **Links and Menu Links**: Allows configurable primary and secondary navigation links.
|
|
6119
|
-
* - **Event-Driven Open/Close**: Listens for a `toggleMenu` event to open or close the menu, emitted by the `eds-header` component.
|
|
6120
|
-
* - **Responsive Behavior**: Automatically closes the menu when the screen width is larger than a specified breakpoint (1024px).
|
|
6121
|
-
* - **Footer Integration**: Optionally displays social links and a customizable footer section within the fullscreen menu.
|
|
6122
|
-
*/
|
|
6123
6109
|
"eds-fullscreen-menu": LocalJSX.EdsFullscreenMenu & JSXBase.HTMLAttributes<HTMLEdsFullscreenMenuElement>;
|
|
6124
6110
|
"eds-gauge": LocalJSX.EdsGauge & JSXBase.HTMLAttributes<HTMLEdsGaugeElement>;
|
|
6111
|
+
"eds-gitlab-contributors": LocalJSX.EdsGitlabContributors & JSXBase.HTMLAttributes<HTMLEdsGitlabContributorsElement>;
|
|
6125
6112
|
"eds-global-search": LocalJSX.EdsGlobalSearch & JSXBase.HTMLAttributes<HTMLEdsGlobalSearchElement>;
|
|
6126
6113
|
/**
|
|
6127
6114
|
* `EdsHeader` is a header component designed for the EBRAINS platform.
|
|
@@ -6135,57 +6122,13 @@ declare module "@stencil/core" {
|
|
|
6135
6122
|
* This component is well-suited for creating a unified header across the platform with seamless integration of navigation, authentication, and responsive design elements.
|
|
6136
6123
|
*/
|
|
6137
6124
|
"eds-header": LocalJSX.EdsHeader & JSXBase.HTMLAttributes<HTMLEdsHeaderElement>;
|
|
6138
|
-
"eds-icon-arrow-diagonal": LocalJSX.EdsIconArrowDiagonal & JSXBase.HTMLAttributes<HTMLEdsIconArrowDiagonalElement>;
|
|
6139
|
-
"eds-icon-arrow-right": LocalJSX.EdsIconArrowRight & JSXBase.HTMLAttributes<HTMLEdsIconArrowRightElement>;
|
|
6140
|
-
"eds-icon-bin": LocalJSX.EdsIconBin & JSXBase.HTMLAttributes<HTMLEdsIconBinElement>;
|
|
6141
6125
|
"eds-icon-bluesky": LocalJSX.EdsIconBluesky & JSXBase.HTMLAttributes<HTMLEdsIconBlueskyElement>;
|
|
6142
|
-
"eds-icon-bookmark": LocalJSX.EdsIconBookmark & JSXBase.HTMLAttributes<HTMLEdsIconBookmarkElement>;
|
|
6143
|
-
"eds-icon-chevron-down": LocalJSX.EdsIconChevronDown & JSXBase.HTMLAttributes<HTMLEdsIconChevronDownElement>;
|
|
6144
|
-
"eds-icon-chevron-left": LocalJSX.EdsIconChevronLeft & JSXBase.HTMLAttributes<HTMLEdsIconChevronLeftElement>;
|
|
6145
|
-
"eds-icon-chevron-right": LocalJSX.EdsIconChevronRight & JSXBase.HTMLAttributes<HTMLEdsIconChevronRightElement>;
|
|
6146
|
-
"eds-icon-chevron-up": LocalJSX.EdsIconChevronUp & JSXBase.HTMLAttributes<HTMLEdsIconChevronUpElement>;
|
|
6147
|
-
"eds-icon-clone": LocalJSX.EdsIconClone & JSXBase.HTMLAttributes<HTMLEdsIconCloneElement>;
|
|
6148
|
-
"eds-icon-close": LocalJSX.EdsIconClose & JSXBase.HTMLAttributes<HTMLEdsIconCloseElement>;
|
|
6149
|
-
"eds-icon-copy": LocalJSX.EdsIconCopy & JSXBase.HTMLAttributes<HTMLEdsIconCopyElement>;
|
|
6150
|
-
"eds-icon-download": LocalJSX.EdsIconDownload & JSXBase.HTMLAttributes<HTMLEdsIconDownloadElement>;
|
|
6151
|
-
"eds-icon-draft": LocalJSX.EdsIconDraft & JSXBase.HTMLAttributes<HTMLEdsIconDraftElement>;
|
|
6152
|
-
"eds-icon-edit": LocalJSX.EdsIconEdit & JSXBase.HTMLAttributes<HTMLEdsIconEditElement>;
|
|
6153
6126
|
"eds-icon-eu": LocalJSX.EdsIconEu & JSXBase.HTMLAttributes<HTMLEdsIconEuElement>;
|
|
6154
|
-
"eds-icon-external": LocalJSX.EdsIconExternal & JSXBase.HTMLAttributes<HTMLEdsIconExternalElement>;
|
|
6155
6127
|
"eds-icon-facebook": LocalJSX.EdsIconFacebook & JSXBase.HTMLAttributes<HTMLEdsIconFacebookElement>;
|
|
6156
6128
|
"eds-icon-gitlab": LocalJSX.EdsIconGitlab & JSXBase.HTMLAttributes<HTMLEdsIconGitlabElement>;
|
|
6157
6129
|
"eds-icon-linkedin": LocalJSX.EdsIconLinkedin & JSXBase.HTMLAttributes<HTMLEdsIconLinkedinElement>;
|
|
6158
|
-
"eds-icon-loader": LocalJSX.EdsIconLoader & JSXBase.HTMLAttributes<HTMLEdsIconLoaderElement>;
|
|
6159
6130
|
"eds-icon-mastodon": LocalJSX.EdsIconMastodon & JSXBase.HTMLAttributes<HTMLEdsIconMastodonElement>;
|
|
6160
|
-
"eds-icon-menu": LocalJSX.EdsIconMenu & JSXBase.HTMLAttributes<HTMLEdsIconMenuElement>;
|
|
6161
|
-
"eds-icon-minus": LocalJSX.EdsIconMinus & JSXBase.HTMLAttributes<HTMLEdsIconMinusElement>;
|
|
6162
|
-
"eds-icon-more": LocalJSX.EdsIconMore & JSXBase.HTMLAttributes<HTMLEdsIconMoreElement>;
|
|
6163
|
-
"eds-icon-paper": LocalJSX.EdsIconPaper & JSXBase.HTMLAttributes<HTMLEdsIconPaperElement>;
|
|
6164
|
-
"eds-icon-plus": LocalJSX.EdsIconPlus & JSXBase.HTMLAttributes<HTMLEdsIconPlusElement>;
|
|
6165
|
-
"eds-icon-portal": LocalJSX.EdsIconPortal & JSXBase.HTMLAttributes<HTMLEdsIconPortalElement>;
|
|
6166
|
-
"eds-icon-private": LocalJSX.EdsIconPrivate & JSXBase.HTMLAttributes<HTMLEdsIconPrivateElement>;
|
|
6167
|
-
"eds-icon-public": LocalJSX.EdsIconPublic & JSXBase.HTMLAttributes<HTMLEdsIconPublicElement>;
|
|
6168
|
-
"eds-icon-search": LocalJSX.EdsIconSearch & JSXBase.HTMLAttributes<HTMLEdsIconSearchElement>;
|
|
6169
|
-
"eds-icon-star": LocalJSX.EdsIconStar & JSXBase.HTMLAttributes<HTMLEdsIconStarElement>;
|
|
6170
|
-
"eds-icon-start": LocalJSX.EdsIconStart & JSXBase.HTMLAttributes<HTMLEdsIconStartElement>;
|
|
6171
|
-
"eds-icon-success": LocalJSX.EdsIconSuccess & JSXBase.HTMLAttributes<HTMLEdsIconSuccessElement>;
|
|
6172
|
-
"eds-icon-thumbs-down": LocalJSX.EdsIconThumbsDown & JSXBase.HTMLAttributes<HTMLEdsIconThumbsDownElement>;
|
|
6173
|
-
"eds-icon-thumbs-up": LocalJSX.EdsIconThumbsUp & JSXBase.HTMLAttributes<HTMLEdsIconThumbsUpElement>;
|
|
6174
|
-
"eds-icon-tutorial": LocalJSX.EdsIconTutorial & JSXBase.HTMLAttributes<HTMLEdsIconTutorialElement>;
|
|
6175
6131
|
"eds-icon-twitter": LocalJSX.EdsIconTwitter & JSXBase.HTMLAttributes<HTMLEdsIconTwitterElement>;
|
|
6176
|
-
"eds-icon-unknown": LocalJSX.EdsIconUnknown & JSXBase.HTMLAttributes<HTMLEdsIconUnknownElement>;
|
|
6177
|
-
"eds-icon-updown": LocalJSX.EdsIconUpdown & JSXBase.HTMLAttributes<HTMLEdsIconUpdownElement>;
|
|
6178
|
-
"eds-icon-user": LocalJSX.EdsIconUser & JSXBase.HTMLAttributes<HTMLEdsIconUserElement>;
|
|
6179
|
-
"eds-icon-view": LocalJSX.EdsIconView & JSXBase.HTMLAttributes<HTMLEdsIconViewElement>;
|
|
6180
|
-
/**
|
|
6181
|
-
* `EdsIconWrapper` is a wrapper component for displaying icons with dynamic loading capabilities.
|
|
6182
|
-
* It allows specifying the icon name, which is dynamically imported and rendered within the component.
|
|
6183
|
-
* Key Features:
|
|
6184
|
-
* - Dynamically loads the icon component based on the `icon` prop.
|
|
6185
|
-
* - Allows additional CSS classes through the `class` prop for custom styling.
|
|
6186
|
-
* - Observes changes to the `icon` prop and reloads the icon component accordingly.
|
|
6187
|
-
* Ideal for scenarios where icons need to be dynamically selected and styled consistently across an application.
|
|
6188
|
-
*/
|
|
6189
6132
|
"eds-icon-wrapper": LocalJSX.EdsIconWrapper & JSXBase.HTMLAttributes<HTMLEdsIconWrapperElement>;
|
|
6190
6133
|
"eds-icon-youtube": LocalJSX.EdsIconYoutube & JSXBase.HTMLAttributes<HTMLEdsIconYoutubeElement>;
|
|
6191
6134
|
/**
|
|
@@ -6206,12 +6149,15 @@ declare module "@stencil/core" {
|
|
|
6206
6149
|
*/
|
|
6207
6150
|
"eds-img": LocalJSX.EdsImg & JSXBase.HTMLAttributes<HTMLEdsImgElement>;
|
|
6208
6151
|
"eds-input": LocalJSX.EdsInput & JSXBase.HTMLAttributes<HTMLEdsInputElement>;
|
|
6152
|
+
"eds-input-dropzone": LocalJSX.EdsInputDropzone & JSXBase.HTMLAttributes<HTMLEdsInputDropzoneElement>;
|
|
6209
6153
|
"eds-input-field": LocalJSX.EdsInputField & JSXBase.HTMLAttributes<HTMLEdsInputFieldElement>;
|
|
6154
|
+
"eds-input-file": LocalJSX.EdsInputFile & JSXBase.HTMLAttributes<HTMLEdsInputFileElement>;
|
|
6210
6155
|
"eds-input-footer": LocalJSX.EdsInputFooter & JSXBase.HTMLAttributes<HTMLEdsInputFooterElement>;
|
|
6211
6156
|
"eds-input-label": LocalJSX.EdsInputLabel & JSXBase.HTMLAttributes<HTMLEdsInputLabelElement>;
|
|
6212
6157
|
"eds-input-range": LocalJSX.EdsInputRange & JSXBase.HTMLAttributes<HTMLEdsInputRangeElement>;
|
|
6213
6158
|
"eds-input-search": LocalJSX.EdsInputSearch & JSXBase.HTMLAttributes<HTMLEdsInputSearchElement>;
|
|
6214
6159
|
"eds-input-select": LocalJSX.EdsInputSelect & JSXBase.HTMLAttributes<HTMLEdsInputSelectElement>;
|
|
6160
|
+
"eds-kg-web-services-select": LocalJSX.EdsKgWebServicesSelect & JSXBase.HTMLAttributes<HTMLEdsKgWebServicesSelectElement>;
|
|
6215
6161
|
/**
|
|
6216
6162
|
* `EdsLink` is a versatile link component offering different styles and behaviors.
|
|
6217
6163
|
* Key Features:
|
|
@@ -6277,19 +6223,28 @@ declare module "@stencil/core" {
|
|
|
6277
6223
|
/**
|
|
6278
6224
|
* `EdsTable` is a customizable data table component with support for dynamic data fetching, column configuration, pagination, and search functionality.
|
|
6279
6225
|
* Key Features:
|
|
6280
|
-
* - Configurable columns with options to hide or apply text formatting (uppercase, bold, or
|
|
6226
|
+
* - Configurable columns with options to hide or apply text formatting (uppercase, bold, code, or html).
|
|
6281
6227
|
* - Pagination support with adjustable rows per page.
|
|
6282
6228
|
* - Searchable content for easier data filtering.
|
|
6229
|
+
* Column Format Options:
|
|
6230
|
+
* - 'uppercase': Converts text to uppercase
|
|
6231
|
+
* - 'bold': Wraps text in <strong> tag
|
|
6232
|
+
* - 'code': Wraps text in <code> tag
|
|
6233
|
+
* - 'html': Renders raw HTML content (use for web components, links, etc.)
|
|
6234
|
+
* - 'svg': (deprecated, use 'html') Renders raw HTML content
|
|
6283
6235
|
* This component is versatile for displaying data with flexible configuration, and integrates with pagination and search functionalities.
|
|
6284
6236
|
*/
|
|
6285
6237
|
"eds-table": LocalJSX.EdsTable & JSXBase.HTMLAttributes<HTMLEdsTableElement>;
|
|
6286
6238
|
/**
|
|
6287
|
-
* `EdsTabs` is a tabs component
|
|
6288
|
-
*
|
|
6289
|
-
*
|
|
6290
|
-
*
|
|
6291
|
-
*
|
|
6292
|
-
*
|
|
6239
|
+
* `EdsTabs` is a modern tabs component with a pill-shaped container design.
|
|
6240
|
+
* Features a clean, minimal interface with smooth transitions and two variant styles.
|
|
6241
|
+
* Key features:
|
|
6242
|
+
* - Default variant (dark background) and inverse variant (light background)
|
|
6243
|
+
* - Pill-shaped container with rounded tabs
|
|
6244
|
+
* - Smooth hover and active state transitions
|
|
6245
|
+
* - Keyboard navigation support (Arrow keys, Home, End)
|
|
6246
|
+
* - Analytics tracking integration
|
|
6247
|
+
* - Accessible with proper ARIA attributes
|
|
6293
6248
|
*/
|
|
6294
6249
|
"eds-tabs": LocalJSX.EdsTabs & JSXBase.HTMLAttributes<HTMLEdsTabsElement>;
|
|
6295
6250
|
/**
|
|
@@ -6304,7 +6259,6 @@ declare module "@stencil/core" {
|
|
|
6304
6259
|
* `EdsTooltip` dynamically positions a tooltip centered above the slotted element.
|
|
6305
6260
|
*/
|
|
6306
6261
|
"eds-tooltip": LocalJSX.EdsTooltip & JSXBase.HTMLAttributes<HTMLEdsTooltipElement>;
|
|
6307
|
-
"eds-trl": LocalJSX.EdsTrl & JSXBase.HTMLAttributes<HTMLEdsTrlElement>;
|
|
6308
6262
|
/**
|
|
6309
6263
|
* `EdsUser` is a user component for managing and displaying
|
|
6310
6264
|
* the user's auth information. Displays a user dropdown menu when authenticated.
|