@ebrains/components 2.1.0 → 2.3.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 +15 -15
- package/dist/cjs/components-section.cjs.entry.js +4 -6
- package/dist/cjs/components.cjs.js +2 -2
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +2 -2
- package/dist/cjs/docs-palettes.cjs.entry.js +2 -2
- package/dist/cjs/docs-tokens.cjs.entry.js +2 -2
- package/dist/cjs/download-9d17d025.js +20 -0
- package/dist/cjs/{eds-accordion_33.cjs.entry.js → eds-accordion_36.cjs.entry.js} +590 -110
- package/dist/cjs/eds-app-root.cjs.entry.js +2 -2
- package/dist/cjs/eds-card-desc_2.cjs.entry.js +3 -3
- package/dist/cjs/eds-card-generic.cjs.entry.js +3 -3
- package/dist/cjs/eds-card-project.cjs.entry.js +2 -2
- package/dist/cjs/eds-card-section.cjs.entry.js +2 -2
- package/dist/cjs/eds-card-tags.cjs.entry.js +2 -2
- package/dist/cjs/eds-card-tool.cjs.entry.js +2 -2
- package/dist/cjs/eds-cookies-preference.cjs.entry.js +2 -2
- package/dist/cjs/eds-feedback.cjs.entry.js +2 -2
- package/dist/cjs/eds-footer.cjs.entry.js +3 -5
- package/dist/cjs/eds-frame.cjs.entry.js +2 -2
- package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +9 -4
- package/dist/cjs/eds-gauge.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-bin.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-bookmark.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-clone.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-close.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-copy.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-download.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-draft.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-edit.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-eu.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-external.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-facebook.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-gitlab.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-linkedin.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-loader.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-mastodon.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-menu.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-minus.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-more.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-paper.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-plus.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-portal.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-private.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-public.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-search.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-star.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-start.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-success.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-tutorial.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-unknown.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-updown.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-user.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-view.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-youtube.cjs.entry.js +2 -2
- package/dist/cjs/eds-modal.cjs.entry.js +4 -4
- package/dist/cjs/eds-pie.cjs.entry.js +1 -1
- package/dist/cjs/eds-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/eds-section-core_2.cjs.entry.js +4 -4
- package/dist/cjs/eds-social-networks.cjs.entry.js +3 -5
- package/dist/cjs/eds-splash-screen.cjs.entry.js +1 -1
- package/dist/cjs/eds-timeline.cjs.entry.js +2 -2
- package/dist/cjs/eds-toast-manager.cjs.entry.js +2 -2
- package/dist/cjs/eds-trl.cjs.entry.js +2 -2
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +2 -2
- package/dist/cjs/{index-0249a32e.js → index-50bc1aa4.js} +8 -11
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/logo-space.cjs.entry.js +2 -2
- package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +3 -3
- package/dist/cjs/logo-variations-tabs.cjs.entry.js +2 -2
- package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
- package/dist/cjs/svg-repository.cjs.entry.js +4 -20
- package/dist/cjs/token-list_3.cjs.entry.js +4 -4
- package/dist/cjs/token-ratios.cjs.entry.js +2 -2
- package/dist/cjs/token-spacing.cjs.entry.js +2 -2
- package/dist/cjs/token-typography.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/eds-accordion/eds-accordion.js +2 -2
- package/dist/collection/components/eds-alert/eds-alert.js +2 -2
- package/dist/collection/components/eds-avatar/eds-avatar.js +1 -1
- package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
- package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +1 -1
- package/dist/collection/components/eds-button/eds-button.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.css +8 -0
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +1 -1
- package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.js +1 -1
- package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
- package/dist/collection/components/eds-dropdown/eds-dropdown.js +127 -11
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-bin/eds-icon-bin.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-clone/eds-icon-clone.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-download/eds-icon-download.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-draft/eds-icon-draft.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-edit/eds-icon-edit.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-external/eds-icon-external.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-minus/eds-icon-minus.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-paper/eds-icon-paper.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-start/eds-icon-start.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-view/eds-icon-view.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +1 -1
- package/dist/collection/components/eds-img/eds-img.js +2 -2
- package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +2 -2
- package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +2 -2
- package/dist/collection/components/eds-input-field/eds-input-field.js +2 -2
- package/dist/collection/components/eds-link/eds-link.js +1 -1
- package/dist/collection/components/eds-logo/eds-logo.js +1 -1
- package/dist/collection/components/eds-modal/eds-modal.css +41 -22
- package/dist/collection/components/eds-modal/eds-modal.js +2 -2
- package/dist/collection/components/eds-nps/eds-nps.js +4 -4
- package/dist/collection/components/eds-pagination/eds-pagination.css +12 -0
- package/dist/collection/components/eds-pagination/eds-pagination.js +2 -2
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
- package/dist/collection/components/eds-rating/eds-rating.js +2 -2
- package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
- package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
- package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
- package/dist/collection/components/eds-switch/eds-switch.js +2 -2
- package/dist/collection/components/eds-table/eds-table.css +4 -0
- package/dist/collection/components/eds-table/eds-table.js +8 -6
- package/dist/collection/components/eds-tag/eds-tag.js +3 -3
- package/dist/collection/components/eds-timeline/eds-timeline.js +1 -1
- package/dist/collection/components/eds-tooltip/eds-tooltip.css +5 -0
- package/dist/collection/components/eds-tooltip/eds-tooltip.js +2 -2
- package/dist/collection/components/eds-trl/eds-trl.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/components-section/functional/overview.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 +1 -1
- 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 -1
- 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 +1 -1
- package/dist/collection/eds-docs-ui/svg-repository/svg-repository.js +1 -1
- package/dist/collection/shared-ui/eds-card-section/eds-card-section.js +1 -1
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +1 -1
- package/dist/collection/shared-ui/eds-footer/eds-footer.js +7 -6
- package/dist/collection/shared-ui/eds-form/eds-form.css +72 -0
- package/dist/collection/shared-ui/eds-form/eds-form.js +128 -7
- package/dist/collection/shared-ui/eds-form/eds-form.stories.js +32 -3
- package/dist/collection/shared-ui/eds-frame/eds-frame.js +1 -1
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +50 -16
- package/dist/collection/shared-ui/eds-global-search/eds-global-search.css +222 -0
- package/dist/collection/shared-ui/eds-global-search/eds-global-search.js +309 -0
- package/dist/collection/shared-ui/eds-global-search/eds-global-search.stories.js +277 -0
- package/dist/collection/shared-ui/eds-header/eds-header.js +1 -1
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +20 -8
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.css +0 -20
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -3
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.stories.js +6 -7
- package/dist/collection/shared-ui/eds-steps/eds-steps.css +138 -92
- package/dist/collection/shared-ui/eds-steps/eds-steps.js +265 -40
- package/dist/collection/shared-ui/eds-steps/eds-steps.stories.js +71 -7
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.css +47 -34
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.js +227 -19
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.stories.js +65 -4
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +2 -2
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
- package/dist/collection/shared-ui/eds-user/eds-user.js +82 -1
- package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
- package/dist/collection/utils/eds-form/formValidators.js +4 -3
- package/dist/components/components-section.js +3 -5
- package/dist/components/components.css +3 -3
- 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/download.js +18 -0
- package/dist/components/eds-accordion2.js +2 -2
- package/dist/components/eds-alert2.js +2 -2
- package/dist/components/eds-app-root.js +1 -1
- package/dist/components/eds-avatar2.js +1 -1
- package/dist/components/eds-block-break2.js +1 -1
- package/dist/components/eds-breadcrumb.js +1 -1
- package/dist/components/eds-button2.js +1 -1
- package/dist/components/eds-card-desc2.js +1 -1
- package/dist/components/eds-card-generic2.js +2 -2
- package/dist/components/eds-card-project.js +1 -1
- package/dist/components/eds-card-section.js +1 -1
- package/dist/components/eds-card-tags.js +1 -1
- package/dist/components/eds-card-title2.js +1 -1
- package/dist/components/eds-card-tool.js +1 -1
- package/dist/components/eds-code-block2.js +1 -1
- package/dist/components/eds-cookies-preference.js +1 -1
- package/dist/components/eds-dropdown2.js +53 -7
- package/dist/components/eds-feedback.js +1 -1
- package/dist/components/eds-footer2.js +2 -4
- package/dist/components/eds-form.js +61 -11
- package/dist/components/eds-frame.js +1 -1
- package/dist/components/eds-fullscreen-menu.js +8 -3
- package/dist/components/eds-gauge.js +1 -1
- package/dist/components/eds-global-search.d.ts +11 -0
- package/dist/components/eds-global-search.js +262 -0
- package/dist/components/eds-header.js +1 -1
- package/dist/components/eds-icon-arrow-diagonal.js +1 -1
- package/dist/components/eds-icon-arrow-right.js +1 -1
- package/dist/components/eds-icon-bin.js +1 -1
- package/dist/components/eds-icon-bluesky.js +1 -1
- package/dist/components/eds-icon-bookmark.js +1 -1
- package/dist/components/eds-icon-chevron-down.js +1 -1
- package/dist/components/eds-icon-chevron-left.js +1 -1
- package/dist/components/eds-icon-chevron-right.js +1 -1
- package/dist/components/eds-icon-chevron-up.js +1 -1
- package/dist/components/eds-icon-clone.js +1 -1
- package/dist/components/eds-icon-close.js +1 -1
- package/dist/components/eds-icon-copy.js +1 -1
- package/dist/components/eds-icon-download.d.ts +11 -0
- package/dist/components/eds-icon-download.js +33 -0
- package/dist/components/eds-icon-draft.js +1 -1
- package/dist/components/eds-icon-edit.js +1 -1
- package/dist/components/eds-icon-eu.js +1 -1
- package/dist/components/eds-icon-external.js +1 -1
- package/dist/components/eds-icon-facebook.js +1 -1
- package/dist/components/eds-icon-gitlab.js +1 -1
- package/dist/components/eds-icon-linkedin.js +1 -1
- package/dist/components/eds-icon-loader.js +1 -1
- package/dist/components/eds-icon-mastodon.js +1 -1
- package/dist/components/eds-icon-menu.js +1 -1
- package/dist/components/eds-icon-minus.js +1 -1
- package/dist/components/eds-icon-more.js +1 -1
- package/dist/components/eds-icon-paper.js +1 -1
- package/dist/components/eds-icon-plus.js +1 -1
- package/dist/components/eds-icon-portal.js +1 -1
- package/dist/components/eds-icon-private.js +1 -1
- package/dist/components/eds-icon-public.js +1 -1
- package/dist/components/eds-icon-search.js +1 -1
- package/dist/components/eds-icon-star.js +1 -1
- package/dist/components/eds-icon-start.js +1 -1
- package/dist/components/eds-icon-success.js +1 -1
- package/dist/components/eds-icon-thumbs-down.js +1 -1
- package/dist/components/eds-icon-thumbs-up.js +1 -1
- package/dist/components/eds-icon-tutorial.js +1 -1
- package/dist/components/eds-icon-twitter.js +1 -1
- package/dist/components/eds-icon-unknown.js +1 -1
- package/dist/components/eds-icon-updown.js +1 -1
- package/dist/components/eds-icon-user.js +1 -1
- package/dist/components/eds-icon-view.js +1 -1
- package/dist/components/eds-icon-youtube.js +1 -1
- package/dist/components/eds-img2.js +2 -2
- package/dist/components/eds-input-field2.js +2 -2
- package/dist/components/eds-input-footer2.js +1 -1
- package/dist/components/eds-input-label2.js +1 -1
- package/dist/components/eds-input-range2.js +1 -1
- package/dist/components/eds-input-search2.js +1 -1
- package/dist/components/eds-input-select2.js +2 -2
- package/dist/components/eds-input2.js +2 -2
- package/dist/components/eds-link2.js +1 -1
- package/dist/components/eds-logo2.js +1 -1
- package/dist/components/eds-modal.js +3 -3
- package/dist/components/eds-nps2.js +4 -4
- package/dist/components/eds-pagination2.js +3 -3
- package/dist/components/eds-progress-bar2.js +1 -1
- package/dist/components/eds-rating2.js +2 -2
- package/dist/components/eds-section-core2.js +1 -1
- package/dist/components/eds-section-heading2.js +2 -2
- package/dist/components/eds-social-networks2.js +2 -4
- package/dist/components/eds-spinner2.js +1 -1
- package/dist/components/eds-steps-v2.js +67 -13
- package/dist/components/eds-steps2.js +85 -35
- package/dist/components/eds-switch.js +2 -2
- package/dist/components/eds-table2.js +36 -28
- package/dist/components/eds-tabs.js +2 -2
- package/dist/components/eds-tag2.js +1 -1
- package/dist/components/eds-timeline.js +1 -1
- package/dist/components/eds-toast-manager.js +1 -1
- package/dist/components/eds-tooltip.js +1 -50
- package/dist/components/eds-tooltip2.js +52 -0
- package/dist/components/eds-trl.js +33 -27
- package/dist/components/eds-user.js +20 -2
- package/dist/components/incorrect-use-of-colors.js +1 -1
- package/dist/components/logo-space.js +31 -25
- 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 +1 -1
- package/dist/components/p-03714413.entry.js +1 -0
- package/dist/components/{p-67ec46b4.entry.js → p-06428b6c.entry.js} +1 -1
- package/dist/components/{p-7a3f2576.entry.js → p-067a184b.entry.js} +1 -1
- package/dist/components/p-097665cb.entry.js +1 -0
- package/dist/components/p-09f1b358.entry.js +1 -0
- package/dist/components/p-0da7d1c9.js +1 -0
- package/dist/components/p-1297d926.entry.js +1 -0
- package/dist/components/p-1928711b.entry.js +1 -0
- package/dist/components/{p-2ef4dd11.entry.js → p-1fad228f.entry.js} +1 -1
- package/dist/components/p-204f97de.entry.js +1 -0
- package/dist/components/p-20e385b8.entry.js +1 -0
- package/dist/components/{p-8627afc0.entry.js → p-219842c0.entry.js} +1 -1
- package/dist/components/p-21b5ca1f.entry.js +1 -0
- package/dist/components/{p-efbc374c.js → p-271c61ff.js} +1 -1
- package/dist/components/p-290b3d61.entry.js +1 -0
- package/dist/components/p-2db9f80a.entry.js +1 -0
- package/dist/components/p-354857a8.entry.js +1 -0
- package/dist/components/p-37a3d3ba.entry.js +1 -0
- package/dist/components/p-3a295312.entry.js +1 -0
- package/dist/components/p-3ff1f198.entry.js +1 -0
- package/dist/components/p-404b4dec.entry.js +1 -0
- package/dist/components/p-422c08a9.entry.js +1 -0
- package/dist/components/p-44cc0966.entry.js +1 -0
- package/dist/components/p-473aeaa0.entry.js +1 -0
- package/dist/components/p-4b2d40d4.entry.js +1 -0
- package/dist/components/{p-d1927da7.entry.js → p-4beb1e06.entry.js} +1 -1
- package/dist/components/p-4faa0047.entry.js +1 -0
- package/dist/components/p-552125e3.entry.js +1 -0
- package/dist/components/p-5db8003b.entry.js +1 -0
- package/dist/components/p-5ea2afdf.entry.js +1 -0
- package/dist/components/p-5f2bb217.entry.js +1 -0
- package/dist/components/p-65d1c8e9.entry.js +1 -0
- package/dist/components/p-67823a16.entry.js +1 -0
- package/dist/components/p-69db1210.entry.js +1 -0
- package/dist/components/p-701dc6d8.entry.js +1 -0
- package/dist/components/{p-e5892379.entry.js → p-71e9b1e9.entry.js} +1 -1
- package/dist/components/p-71f4afdf.entry.js +1 -0
- package/dist/components/p-73daee37.entry.js +1 -0
- package/dist/components/p-77143afc.entry.js +1 -0
- package/dist/components/p-7a137d91.entry.js +1 -0
- package/dist/components/p-7a34b267.entry.js +1 -0
- package/dist/components/{p-b31babda.entry.js → p-7ada2015.entry.js} +1 -1
- package/dist/components/p-81cce4f8.entry.js +1 -0
- package/dist/components/{p-d2e485a1.entry.js → p-83dde536.entry.js} +1 -1
- package/dist/components/p-84a04d37.entry.js +1 -0
- package/dist/components/p-8d66718e.entry.js +1 -0
- package/dist/components/p-9154e892.entry.js +1 -0
- package/dist/components/{p-5f348b0e.entry.js → p-9385c5fd.entry.js} +1 -1
- package/dist/components/p-98501e25.entry.js +1 -0
- package/dist/components/p-98d79948.entry.js +1 -0
- package/dist/components/p-9992fbdb.entry.js +1 -0
- package/dist/components/{p-b88a2267.entry.js → p-9c68934f.entry.js} +1 -1
- package/dist/components/{p-b9a1aba3.entry.js → p-a258d382.entry.js} +1 -1
- package/dist/components/p-a82fc224.entry.js +1 -0
- package/dist/components/p-ad0519b7.entry.js +1 -0
- package/dist/components/p-b15b11de.entry.js +9 -0
- package/dist/components/p-b56a3fc9.entry.js +1 -0
- package/dist/components/{p-09079c5c.entry.js → p-b9b6ac74.entry.js} +1 -1
- package/dist/components/p-b9bd1209.entry.js +1 -0
- package/dist/components/{p-9c1c5e8d.entry.js → p-bce8a58d.entry.js} +1 -1
- package/dist/components/{p-2e0c3fc4.entry.js → p-c12b0af1.entry.js} +1 -1
- package/dist/components/{p-265150a1.entry.js → p-c51b90c2.entry.js} +1 -1
- package/dist/components/{p-d95d7353.entry.js → p-c5d6c2a5.entry.js} +1 -1
- package/dist/components/p-c6f5d9df.entry.js +1 -0
- package/dist/components/p-c770c97b.entry.js +1 -0
- package/dist/components/{p-706a106c.entry.js → p-c8cba3a9.entry.js} +1 -1
- package/dist/components/{p-64b7a6fc.entry.js → p-ca91952b.entry.js} +1 -1
- package/dist/components/p-cba7d276.entry.js +1 -0
- package/dist/components/p-cffb13fa.entry.js +1 -0
- package/dist/components/p-d3cbc8f9.entry.js +1 -0
- package/dist/components/{p-743f9f8f.entry.js → p-d650c6c3.entry.js} +1 -1
- package/dist/components/p-d6a6879c.entry.js +1 -0
- package/dist/components/p-d9e02227.entry.js +1 -0
- package/dist/components/{p-79afd8aa.entry.js → p-da96c7cd.entry.js} +1 -1
- package/dist/components/{p-e210ddbb.entry.js → p-dd34feaa.entry.js} +1 -1
- package/dist/components/p-df18ffd1.entry.js +1 -0
- package/dist/components/p-e3b89fab.entry.js +1 -0
- package/dist/components/p-e696531f.entry.js +1 -0
- package/dist/components/{p-4c84fcf4.entry.js → p-e7b7179f.entry.js} +1 -1
- package/dist/components/p-e8bc4649.entry.js +1 -0
- package/dist/components/p-ef86f330.entry.js +1 -0
- package/dist/components/p-f5470900.entry.js +1 -0
- package/dist/components/p-ff433e09.entry.js +1 -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 +32 -42
- package/dist/components/token-list2.js +1 -1
- package/dist/components/token-radii2.js +1 -1
- package/dist/components/token-ratios.js +1 -1
- package/dist/components/token-shadows2.js +1 -1
- package/dist/components/token-spacing.js +1 -1
- package/dist/components/token-typography.js +1 -1
- package/dist/esm/color-primary-palette_6.entry.js +15 -15
- package/dist/esm/components-section.entry.js +4 -6
- package/dist/esm/components.js +3 -3
- package/dist/esm/correct-use-of-colors.entry.js +2 -2
- package/dist/esm/docs-palettes.entry.js +2 -2
- package/dist/esm/docs-tokens.entry.js +2 -2
- package/dist/esm/download-47746956.js +18 -0
- package/dist/esm/{eds-accordion_33.entry.js → eds-accordion_36.entry.js} +588 -111
- package/dist/esm/eds-app-root.entry.js +2 -2
- package/dist/esm/eds-card-desc_2.entry.js +3 -3
- package/dist/esm/eds-card-generic.entry.js +3 -3
- package/dist/esm/eds-card-project.entry.js +2 -2
- package/dist/esm/eds-card-section.entry.js +2 -2
- package/dist/esm/eds-card-tags.entry.js +2 -2
- package/dist/esm/eds-card-tool.entry.js +2 -2
- package/dist/esm/eds-cookies-preference.entry.js +2 -2
- package/dist/esm/eds-feedback.entry.js +2 -2
- package/dist/esm/eds-footer.entry.js +3 -5
- package/dist/esm/eds-frame.entry.js +2 -2
- package/dist/esm/eds-fullscreen-menu.entry.js +9 -4
- package/dist/esm/eds-gauge.entry.js +2 -2
- package/dist/esm/eds-icon-arrow-diagonal.entry.js +2 -2
- package/dist/esm/eds-icon-arrow-right.entry.js +2 -2
- package/dist/esm/eds-icon-bin.entry.js +2 -2
- package/dist/esm/eds-icon-bluesky.entry.js +2 -2
- package/dist/esm/eds-icon-bookmark.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-down.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-left.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-right.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-up.entry.js +2 -2
- package/dist/esm/eds-icon-clone.entry.js +2 -2
- package/dist/esm/eds-icon-close.entry.js +2 -2
- package/dist/esm/eds-icon-copy.entry.js +2 -2
- package/dist/esm/eds-icon-download.entry.js +14 -0
- package/dist/esm/eds-icon-draft.entry.js +2 -2
- package/dist/esm/eds-icon-edit.entry.js +2 -2
- package/dist/esm/eds-icon-eu.entry.js +2 -2
- package/dist/esm/eds-icon-external.entry.js +2 -2
- package/dist/esm/eds-icon-facebook.entry.js +2 -2
- package/dist/esm/eds-icon-gitlab.entry.js +2 -2
- package/dist/esm/eds-icon-linkedin.entry.js +2 -2
- package/dist/esm/eds-icon-loader.entry.js +2 -2
- package/dist/esm/eds-icon-mastodon.entry.js +2 -2
- package/dist/esm/eds-icon-menu.entry.js +2 -2
- package/dist/esm/eds-icon-minus.entry.js +2 -2
- package/dist/esm/eds-icon-more.entry.js +2 -2
- package/dist/esm/eds-icon-paper.entry.js +2 -2
- package/dist/esm/eds-icon-plus.entry.js +2 -2
- package/dist/esm/eds-icon-portal.entry.js +2 -2
- package/dist/esm/eds-icon-private.entry.js +2 -2
- package/dist/esm/eds-icon-public.entry.js +2 -2
- package/dist/esm/eds-icon-search.entry.js +2 -2
- package/dist/esm/eds-icon-star.entry.js +2 -2
- package/dist/esm/eds-icon-start.entry.js +2 -2
- package/dist/esm/eds-icon-success.entry.js +2 -2
- package/dist/esm/eds-icon-thumbs-down.entry.js +2 -2
- package/dist/esm/eds-icon-thumbs-up.entry.js +2 -2
- package/dist/esm/eds-icon-tutorial.entry.js +2 -2
- package/dist/esm/eds-icon-twitter.entry.js +2 -2
- package/dist/esm/eds-icon-unknown.entry.js +2 -2
- package/dist/esm/eds-icon-updown.entry.js +2 -2
- package/dist/esm/eds-icon-user.entry.js +2 -2
- package/dist/esm/eds-icon-view.entry.js +2 -2
- package/dist/esm/eds-icon-youtube.entry.js +2 -2
- package/dist/esm/eds-modal.entry.js +4 -4
- package/dist/esm/eds-pie.entry.js +1 -1
- package/dist/esm/eds-progress-bar.entry.js +2 -2
- package/dist/esm/eds-section-core_2.entry.js +4 -4
- package/dist/esm/eds-social-networks.entry.js +3 -5
- package/dist/esm/eds-splash-screen.entry.js +1 -1
- package/dist/esm/eds-timeline.entry.js +2 -2
- package/dist/esm/eds-toast-manager.entry.js +2 -2
- package/dist/esm/eds-trl.entry.js +2 -2
- package/dist/esm/incorrect-use-of-colors.entry.js +2 -2
- package/dist/esm/{index-e84b871c.js → index-870ab08f.js} +8 -11
- package/dist/esm/loader.js +3 -3
- package/dist/esm/logo-space.entry.js +2 -2
- package/dist/esm/logo-variations-horizontal_2.entry.js +3 -3
- package/dist/esm/logo-variations-tabs.entry.js +2 -2
- package/dist/esm/logo-wrong-usage.entry.js +2 -2
- package/dist/esm/svg-repository.entry.js +3 -19
- package/dist/esm/token-list_3.entry.js +4 -4
- package/dist/esm/token-ratios.entry.js +2 -2
- package/dist/esm/token-spacing.entry.js +2 -2
- package/dist/esm/token-typography.entry.js +2 -2
- package/dist/hydrate/index.js +679 -236
- package/dist/hydrate/index.mjs +679 -236
- package/dist/types/components/eds-cards/eds-card-generic/eds-card-generic.d.ts +1 -0
- package/dist/types/components/eds-dropdown/eds-dropdown.d.ts +27 -6
- package/dist/types/components/eds-icons/eds-icon-download/eds-icon-download.d.ts +10 -0
- package/dist/types/components/eds-table/eds-table.d.ts +20 -4
- package/dist/types/components/eds-tag/eds-tag.d.ts +1 -1
- package/dist/types/components.d.ts +455 -55
- package/dist/types/shared-ui/eds-footer/eds-footer.d.ts +4 -2
- package/dist/types/shared-ui/eds-form/eds-form.d.ts +18 -1
- package/dist/types/shared-ui/eds-form/eds-form.stories.d.ts +19 -0
- package/dist/types/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.d.ts +44 -13
- package/dist/types/shared-ui/eds-global-search/eds-global-search.d.ts +72 -0
- package/dist/types/shared-ui/eds-global-search/eds-global-search.stories.d.ts +40 -0
- package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.d.ts +11 -3
- package/dist/types/shared-ui/eds-social-networks/eds-social-networks.d.ts +0 -2
- package/dist/types/shared-ui/eds-social-networks/eds-social-networks.stories.d.ts +1 -1
- package/dist/types/shared-ui/eds-steps/eds-steps.d.ts +73 -24
- package/dist/types/shared-ui/eds-steps/eds-steps.stories.d.ts +58 -0
- package/dist/types/shared-ui/eds-steps-v2/eds-steps-v2.d.ts +44 -19
- package/dist/types/shared-ui/eds-steps-v2/eds-steps-v2.stories.d.ts +33 -0
- package/dist/types/shared-ui/eds-user/eds-user.d.ts +9 -0
- package/dist/types/types/global.d.ts +11 -0
- package/package.json +1 -1
- package/dist/cjs/eds-spinner.cjs.entry.js +0 -88
- package/dist/cjs/eds-tooltip.cjs.entry.js +0 -38
- package/dist/components/p-05654483.entry.js +0 -1
- package/dist/components/p-10997947.entry.js +0 -1
- package/dist/components/p-19e69c03.entry.js +0 -1
- package/dist/components/p-1ab1ea29.entry.js +0 -1
- package/dist/components/p-1bcf743d.entry.js +0 -1
- package/dist/components/p-1d18106d.entry.js +0 -1
- package/dist/components/p-3360e1e2.entry.js +0 -1
- package/dist/components/p-38bc21e9.entry.js +0 -1
- package/dist/components/p-3b29e0fd.entry.js +0 -1
- package/dist/components/p-42457a0f.entry.js +0 -1
- package/dist/components/p-4a6a72db.entry.js +0 -1
- package/dist/components/p-4b33909d.entry.js +0 -1
- package/dist/components/p-4bf4bc93.entry.js +0 -1
- package/dist/components/p-5367bb59.entry.js +0 -1
- package/dist/components/p-547a53d6.entry.js +0 -1
- package/dist/components/p-560fc3a4.entry.js +0 -1
- package/dist/components/p-5a58f1c1.entry.js +0 -1
- package/dist/components/p-5b55f951.entry.js +0 -1
- package/dist/components/p-5ba49cf2.entry.js +0 -1
- package/dist/components/p-5dd85979.entry.js +0 -1
- package/dist/components/p-634b6ca2.entry.js +0 -1
- package/dist/components/p-6614881d.entry.js +0 -1
- package/dist/components/p-6b988c76.entry.js +0 -1
- package/dist/components/p-6cd6ff0c.entry.js +0 -1
- package/dist/components/p-71ee4af2.entry.js +0 -1
- package/dist/components/p-789f54cb.entry.js +0 -1
- package/dist/components/p-7a5623b5.entry.js +0 -1
- package/dist/components/p-7ca6db64.entry.js +0 -1
- package/dist/components/p-7fa46b01.entry.js +0 -1
- package/dist/components/p-86eff0cb.entry.js +0 -1
- package/dist/components/p-89048f87.entry.js +0 -1
- package/dist/components/p-8cf98230.entry.js +0 -1
- package/dist/components/p-8d363a3c.entry.js +0 -1
- package/dist/components/p-9261d27c.entry.js +0 -1
- package/dist/components/p-97323c46.entry.js +0 -1
- package/dist/components/p-9b90296c.entry.js +0 -1
- package/dist/components/p-9cb14b1f.entry.js +0 -1
- package/dist/components/p-9f0a34b4.entry.js +0 -1
- package/dist/components/p-a8ca8346.entry.js +0 -1
- package/dist/components/p-ab3b0a53.entry.js +0 -1
- package/dist/components/p-b0d38b78.entry.js +0 -1
- package/dist/components/p-b6ee4250.entry.js +0 -1
- package/dist/components/p-b9fdcb1b.entry.js +0 -1
- package/dist/components/p-ba9f41de.entry.js +0 -1
- package/dist/components/p-beacaa4f.entry.js +0 -1
- package/dist/components/p-bfa23535.entry.js +0 -1
- package/dist/components/p-c4ac0528.entry.js +0 -1
- package/dist/components/p-cb114bf4.entry.js +0 -1
- package/dist/components/p-cd05a97b.entry.js +0 -1
- package/dist/components/p-cd787744.entry.js +0 -1
- package/dist/components/p-cdc1c8e8.entry.js +0 -1
- package/dist/components/p-d1d1943b.entry.js +0 -1
- package/dist/components/p-e0ada7e0.entry.js +0 -1
- package/dist/components/p-e8374410.entry.js +0 -1
- package/dist/components/p-e90da4ba.entry.js +0 -1
- package/dist/components/p-ec706eed.entry.js +0 -1
- package/dist/components/p-f32963ff.entry.js +0 -9
- package/dist/components/p-f40dd50d.entry.js +0 -1
- package/dist/components/p-f6012c17.entry.js +0 -1
- package/dist/components/p-fcba31fa.entry.js +0 -1
- package/dist/esm/eds-spinner.entry.js +0 -84
- package/dist/esm/eds-tooltip.entry.js +0 -34
|
@@ -504,12 +504,20 @@ export namespace Components {
|
|
|
504
504
|
/**
|
|
505
505
|
* `EdsDropdown` is a versatile dropdown component that provides a list of items
|
|
506
506
|
* that appear upon clicking the dropdown button. It supports various customization options,
|
|
507
|
-
* such as positioning, styling, and
|
|
508
|
-
* Key
|
|
509
|
-
* - Configurable dropdown position (left or right) and offset
|
|
510
|
-
* - Customizable intent styles (e.g., primary, secondary)
|
|
511
|
-
* - Keyboard navigation with support for up and down arrow keys
|
|
512
|
-
* -
|
|
507
|
+
* such as positioning, styling, keyboard accessibility, and automatic closing behavior.
|
|
508
|
+
* ## Key Features:
|
|
509
|
+
* - Configurable dropdown position (left or right) and offset
|
|
510
|
+
* - Customizable intent styles (e.g., primary, secondary)
|
|
511
|
+
* - Keyboard navigation with support for up and down arrow keys
|
|
512
|
+
* - Automatic closing on clicks inside the dropdown panel
|
|
513
|
+
* - Flexible opt-in/opt-out mechanisms for closing behavior
|
|
514
|
+
* - Option to use as a navigation menu or standard dropdown
|
|
515
|
+
* ## Auto-Close Behavior:
|
|
516
|
+
* By default (`autoClose: true`), the dropdown closes when any element inside the panel is clicked.
|
|
517
|
+
* This includes links, buttons, custom elements, or any other clickable content.
|
|
518
|
+
* ## Data Attributes:
|
|
519
|
+
* - `data-dropdown-close`: Force close dropdown when clicked (works regardless of autoClose setting)
|
|
520
|
+
* - `data-dropdown-no-close`: Prevent dropdown from closing when this element or its children are clicked
|
|
513
521
|
* This component is well-suited for use in menus, navigational elements, and other interactive UI patterns.
|
|
514
522
|
*/
|
|
515
523
|
interface EdsDropdown {
|
|
@@ -525,6 +533,11 @@ export namespace Components {
|
|
|
525
533
|
* @default true
|
|
526
534
|
*/
|
|
527
535
|
"asNav": boolean;
|
|
536
|
+
/**
|
|
537
|
+
* Auto-close dropdown prop - when true, any click inside the panel closes the dropdown
|
|
538
|
+
*/
|
|
539
|
+
"autoClose": boolean;
|
|
540
|
+
"close": () => Promise<void>;
|
|
528
541
|
/**
|
|
529
542
|
* Offset spacing for the dropdown relative to the button.
|
|
530
543
|
* @type {boolean}
|
|
@@ -554,6 +567,10 @@ export namespace Components {
|
|
|
554
567
|
* @type {string}
|
|
555
568
|
*/
|
|
556
569
|
"label": string;
|
|
570
|
+
/**
|
|
571
|
+
* Opt-out attribute - elements with this attribute won't trigger auto-close
|
|
572
|
+
*/
|
|
573
|
+
"noCloseSelector": string;
|
|
557
574
|
/**
|
|
558
575
|
* Whether the dropdown nav list placeholder has rounded (pill) styling.
|
|
559
576
|
* @type {boolean}
|
|
@@ -610,6 +627,10 @@ export namespace Components {
|
|
|
610
627
|
* @type {string}
|
|
611
628
|
*/
|
|
612
629
|
"cookiesPreferences": string;
|
|
630
|
+
/**
|
|
631
|
+
* Controls the display of the "Cookies preferences" link.
|
|
632
|
+
* @type {string}
|
|
633
|
+
*/
|
|
613
634
|
"enableCookiesSettings": boolean;
|
|
614
635
|
/**
|
|
615
636
|
* Controls the display of the "Back to Top" button. When true, the button appears in the footer.
|
|
@@ -643,6 +664,14 @@ export namespace Components {
|
|
|
643
664
|
* This component is ideal for implementing complex forms with specific validation and submission behaviors.
|
|
644
665
|
*/
|
|
645
666
|
interface EdsForm {
|
|
667
|
+
/**
|
|
668
|
+
* Variant/style intent for the submit button (e.g., primary, secondary, tertiary, ghost).
|
|
669
|
+
*/
|
|
670
|
+
"buttonIntent"?: 'primary' | 'secondary' | 'tertiary' | 'ghost';
|
|
671
|
+
/**
|
|
672
|
+
* The description displayed below the title.
|
|
673
|
+
*/
|
|
674
|
+
"description"?: string;
|
|
646
675
|
/**
|
|
647
676
|
* The message displayed when the form submission fails.
|
|
648
677
|
*/
|
|
@@ -659,6 +688,10 @@ export namespace Components {
|
|
|
659
688
|
* If `true`, includes a submit button in the form.
|
|
660
689
|
*/
|
|
661
690
|
"formBtnLabel"?: string;
|
|
691
|
+
/**
|
|
692
|
+
* Choose between default layout or an always-shadow style. When "shadow", the form gets the same effect-shadow + shadow-hover classes
|
|
693
|
+
*/
|
|
694
|
+
"formStyle": 'default' | 'shadow';
|
|
662
695
|
"getData": () => Promise<FormData>;
|
|
663
696
|
/**
|
|
664
697
|
* New: list of groups, each with `{ id: string, title: string }`
|
|
@@ -677,6 +710,10 @@ export namespace Components {
|
|
|
677
710
|
* If `true`, includes the current form URL in the submission data.
|
|
678
711
|
*/
|
|
679
712
|
"setFormUrl"?: boolean;
|
|
713
|
+
/**
|
|
714
|
+
* The title displayed above the form.
|
|
715
|
+
*/
|
|
716
|
+
"title": string;
|
|
680
717
|
}
|
|
681
718
|
interface EdsFrame {
|
|
682
719
|
/**
|
|
@@ -719,14 +756,27 @@ export namespace Components {
|
|
|
719
756
|
* - **Footer Integration**: Optionally displays social links and a customizable footer section within the fullscreen menu.
|
|
720
757
|
*/
|
|
721
758
|
interface EdsFullscreenMenu {
|
|
759
|
+
/**
|
|
760
|
+
* URL for the logo link in the header.
|
|
761
|
+
* @default "/"
|
|
762
|
+
* @attr home-url
|
|
763
|
+
*/
|
|
722
764
|
"homeUrl": string;
|
|
765
|
+
/**
|
|
766
|
+
* When true, uses an inverse (dark) header background.
|
|
767
|
+
* @default false
|
|
768
|
+
* @attr inverse-header
|
|
769
|
+
*/
|
|
723
770
|
"inverseHeader": boolean;
|
|
724
771
|
/**
|
|
725
|
-
*
|
|
772
|
+
* Primary navigation links. Accepts a JSON string or array of objects `{ label, url, icon?, external? }`.
|
|
773
|
+
* @example links='[{"label":"Home","url":"/"},{"label":"Docs","url":"/docs","icon":"book"}]'
|
|
726
774
|
*/
|
|
727
|
-
"links": string |
|
|
775
|
+
"links": string | LinkItem[];
|
|
728
776
|
/**
|
|
729
|
-
*
|
|
777
|
+
* Secondary navigation links (extra menu items for small screens). Accepts a JSON string or array of objects `{ label, url }`.
|
|
778
|
+
* @example menu-links='[{"label":"Help","url":"/help"},{"label":"Contact","url":"/contact"}]'
|
|
779
|
+
* @attr menu-links
|
|
730
780
|
*/
|
|
731
781
|
"menuLinks": string;
|
|
732
782
|
}
|
|
@@ -753,6 +803,24 @@ export namespace Components {
|
|
|
753
803
|
"valueMin": number;
|
|
754
804
|
"variant": 'default' | 'dark' | 'strong' | 'black';
|
|
755
805
|
}
|
|
806
|
+
interface EdsGlobalSearch {
|
|
807
|
+
/**
|
|
808
|
+
* API endpoint for search
|
|
809
|
+
*/
|
|
810
|
+
"apiEndpoint": string;
|
|
811
|
+
/**
|
|
812
|
+
* Debounce delay in milliseconds
|
|
813
|
+
*/
|
|
814
|
+
"debounceDelay": number;
|
|
815
|
+
/**
|
|
816
|
+
* Maximum number of results to fetch
|
|
817
|
+
*/
|
|
818
|
+
"limit": number;
|
|
819
|
+
/**
|
|
820
|
+
* Placeholder text for the input
|
|
821
|
+
*/
|
|
822
|
+
"placeholder": string;
|
|
823
|
+
}
|
|
756
824
|
/**
|
|
757
825
|
* `EdsHeader` is a header component designed for the EBRAINS platform.
|
|
758
826
|
* It provides a customizable and responsive navigation experience, tailored for both desktop and mobile views.
|
|
@@ -854,6 +922,12 @@ export namespace Components {
|
|
|
854
922
|
*/
|
|
855
923
|
"class": string;
|
|
856
924
|
}
|
|
925
|
+
interface EdsIconDownload {
|
|
926
|
+
/**
|
|
927
|
+
* Additional CSS classes to be applied to the icon for styling.
|
|
928
|
+
*/
|
|
929
|
+
"class": string;
|
|
930
|
+
}
|
|
857
931
|
interface EdsIconDraft {
|
|
858
932
|
/**
|
|
859
933
|
* Additional CSS classes to be applied to the icon for styling.
|
|
@@ -1473,17 +1547,24 @@ export namespace Components {
|
|
|
1473
1547
|
}
|
|
1474
1548
|
interface EdsMatomoNotice {
|
|
1475
1549
|
/**
|
|
1476
|
-
* The description displayed
|
|
1550
|
+
* The description displayed when the user has not yet opted in to analytics.
|
|
1551
|
+
* @default "We use anonymous analytics..."
|
|
1477
1552
|
*/
|
|
1478
1553
|
"description": string;
|
|
1479
1554
|
/**
|
|
1480
|
-
* When true, the notice is forced to show regardless of cookies
|
|
1555
|
+
* When true, the notice is forced to show regardless of cookies or session storage state. Useful for testing or forcing the consent UI.
|
|
1556
|
+
* @default false
|
|
1481
1557
|
*/
|
|
1482
1558
|
"forceShow": boolean;
|
|
1483
1559
|
/**
|
|
1484
|
-
* The title displayed in the notice.
|
|
1560
|
+
* The title displayed in the notice accordion.
|
|
1561
|
+
* @default "Analytics Consent"
|
|
1485
1562
|
*/
|
|
1486
1563
|
"heading": string;
|
|
1564
|
+
/**
|
|
1565
|
+
* The description displayed when the user has already opted in to analytics.
|
|
1566
|
+
* @default "You are already part of our community..."
|
|
1567
|
+
*/
|
|
1487
1568
|
"optOutMessage": string;
|
|
1488
1569
|
}
|
|
1489
1570
|
/**
|
|
@@ -1725,25 +1806,74 @@ export namespace Components {
|
|
|
1725
1806
|
}
|
|
1726
1807
|
interface EdsSteps {
|
|
1727
1808
|
/**
|
|
1728
|
-
*
|
|
1809
|
+
* Label for the **Back** button (linear mode).
|
|
1810
|
+
* @default "Back"
|
|
1811
|
+
* @attr back-label
|
|
1812
|
+
*/
|
|
1813
|
+
"backLabel": string;
|
|
1814
|
+
/**
|
|
1815
|
+
* If `true`, disables **Next/Finish** and prevents advancing. Useful for gating progression until validation passes.
|
|
1816
|
+
* @default false
|
|
1817
|
+
* @attr disable-next
|
|
1818
|
+
*/
|
|
1819
|
+
"disableNext": boolean | boolean[];
|
|
1820
|
+
/**
|
|
1821
|
+
* Label for the **Finish** button on the **last step** (linear mode).
|
|
1822
|
+
* @default "Finish"
|
|
1823
|
+
* @attr finish-label
|
|
1824
|
+
*/
|
|
1825
|
+
"finishLabel": string;
|
|
1826
|
+
/**
|
|
1827
|
+
* Semantic heading tag used for each step title. Accepted values: `"h3" | "h4" | "h5"`.
|
|
1828
|
+
* @default "h4"
|
|
1829
|
+
* @attr heading-level
|
|
1830
|
+
*/
|
|
1831
|
+
"headingLevel": 'h3' | 'h4' | 'h5';
|
|
1832
|
+
/**
|
|
1833
|
+
* Label for the **Next** button (linear mode).
|
|
1834
|
+
* @default "Next"
|
|
1835
|
+
* @attr next-label
|
|
1836
|
+
*/
|
|
1837
|
+
"nextLabel": string;
|
|
1838
|
+
/**
|
|
1839
|
+
* Steps data as an **array** or **JSON string** of objects: `{ title: string; content?: string }`. In static mode, all steps and their content render. In linear mode, only the active step renders its content.
|
|
1840
|
+
* @default []
|
|
1729
1841
|
*/
|
|
1730
1842
|
"steps": string | Step[];
|
|
1731
1843
|
/**
|
|
1732
|
-
*
|
|
1844
|
+
* Stepper mode. - `static`: all steps are visible (no navigation controls) - `linear`: one step at a time with Back/Next/Finish controls
|
|
1845
|
+
* @default "static"
|
|
1733
1846
|
*/
|
|
1734
1847
|
"type": 'static' | 'linear';
|
|
1735
1848
|
}
|
|
1736
1849
|
interface EdsStepsV2 {
|
|
1737
1850
|
/**
|
|
1738
|
-
*
|
|
1851
|
+
* Label text for the "Back" button.
|
|
1852
|
+
*/
|
|
1853
|
+
"backLabel": string;
|
|
1854
|
+
/**
|
|
1855
|
+
* If true, apply an inverse background to the container.
|
|
1739
1856
|
*/
|
|
1740
1857
|
"bg": boolean;
|
|
1858
|
+
/**
|
|
1859
|
+
* If true, disables the "Next" button to block progression.
|
|
1860
|
+
*/
|
|
1861
|
+
"disableNext": boolean;
|
|
1862
|
+
/**
|
|
1863
|
+
* Label text for the "Finish" button (last step in linear mode).
|
|
1864
|
+
*/
|
|
1865
|
+
"finishLabel": string;
|
|
1866
|
+
/**
|
|
1867
|
+
* Heading level to use for each step title.
|
|
1868
|
+
* @default "h4"
|
|
1869
|
+
*/
|
|
1870
|
+
"headingLevel": 'h3' | 'h4' | 'h5';
|
|
1741
1871
|
/**
|
|
1742
1872
|
* Optional image source to display above the steps.
|
|
1743
1873
|
*/
|
|
1744
1874
|
"imageSrc"?: string;
|
|
1745
1875
|
/**
|
|
1746
|
-
* Optional image width for the eds-img component.
|
|
1876
|
+
* Optional image width for the `eds-img` component.
|
|
1747
1877
|
*/
|
|
1748
1878
|
"imageWidth"?: number;
|
|
1749
1879
|
/**
|
|
@@ -1751,11 +1881,16 @@ export namespace Components {
|
|
|
1751
1881
|
*/
|
|
1752
1882
|
"message"?: string;
|
|
1753
1883
|
/**
|
|
1754
|
-
*
|
|
1884
|
+
* Label text for the "Next" button.
|
|
1885
|
+
*/
|
|
1886
|
+
"nextLabel": string;
|
|
1887
|
+
/**
|
|
1888
|
+
* JSON string or an array of step objects. Each object should have a `title` and optional `content` property.
|
|
1755
1889
|
*/
|
|
1756
1890
|
"steps": string | Step1[];
|
|
1757
1891
|
/**
|
|
1758
|
-
* The type of stepper
|
|
1892
|
+
* The type of stepper: - `"static"`: shows all steps with their content. - `"linear"`: shows only one step at a time with navigation controls.
|
|
1893
|
+
* @default "static"
|
|
1759
1894
|
*/
|
|
1760
1895
|
"type": 'static' | 'linear';
|
|
1761
1896
|
}
|
|
@@ -1791,7 +1926,7 @@ export namespace Components {
|
|
|
1791
1926
|
*/
|
|
1792
1927
|
"actionTemplate"?: (row: any) => VNode;
|
|
1793
1928
|
/**
|
|
1794
|
-
* Array of actions to render in each row. Each action
|
|
1929
|
+
* 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" } ]' ```
|
|
1795
1930
|
*/
|
|
1796
1931
|
"actions": string | TableAction[];
|
|
1797
1932
|
/**
|
|
@@ -1856,7 +1991,7 @@ export namespace Components {
|
|
|
1856
1991
|
/**
|
|
1857
1992
|
* The visual style or intent of the tag.
|
|
1858
1993
|
*/
|
|
1859
|
-
"intent": 'default' | 'strong' | 'accent' | 'weak' | 'inverse' | 'inverse-strong';
|
|
1994
|
+
"intent": 'primary' | 'default' | 'strong' | 'accent' | 'weak' | 'inverse' | 'inverse-strong';
|
|
1860
1995
|
/**
|
|
1861
1996
|
* The label to be displayed inside the tag.
|
|
1862
1997
|
*/
|
|
@@ -1910,6 +2045,12 @@ export namespace Components {
|
|
|
1910
2045
|
* This component is ideal for embedding into any layout requiring user authentication.
|
|
1911
2046
|
*/
|
|
1912
2047
|
interface EdsUser {
|
|
2048
|
+
"closeDropdown": () => Promise<void>;
|
|
2049
|
+
"dropdownLabel": string;
|
|
2050
|
+
/**
|
|
2051
|
+
* Visual intent of the trigger button
|
|
2052
|
+
*/
|
|
2053
|
+
"intent": Intent;
|
|
1913
2054
|
/**
|
|
1914
2055
|
* The user object containing user information, or a JSON string to be parsed.
|
|
1915
2056
|
*/
|
|
@@ -1986,6 +2127,10 @@ export interface EdsFullscreenMenuCustomEvent<T> extends CustomEvent<T> {
|
|
|
1986
2127
|
detail: T;
|
|
1987
2128
|
target: HTMLEdsFullscreenMenuElement;
|
|
1988
2129
|
}
|
|
2130
|
+
export interface EdsGlobalSearchCustomEvent<T> extends CustomEvent<T> {
|
|
2131
|
+
detail: T;
|
|
2132
|
+
target: HTMLEdsGlobalSearchElement;
|
|
2133
|
+
}
|
|
1989
2134
|
export interface EdsHeaderCustomEvent<T> extends CustomEvent<T> {
|
|
1990
2135
|
detail: T;
|
|
1991
2136
|
target: HTMLEdsHeaderElement;
|
|
@@ -2295,12 +2440,20 @@ declare global {
|
|
|
2295
2440
|
/**
|
|
2296
2441
|
* `EdsDropdown` is a versatile dropdown component that provides a list of items
|
|
2297
2442
|
* that appear upon clicking the dropdown button. It supports various customization options,
|
|
2298
|
-
* such as positioning, styling, and
|
|
2299
|
-
* Key
|
|
2300
|
-
* - Configurable dropdown position (left or right) and offset
|
|
2301
|
-
* - Customizable intent styles (e.g., primary, secondary)
|
|
2302
|
-
* - Keyboard navigation with support for up and down arrow keys
|
|
2303
|
-
* -
|
|
2443
|
+
* such as positioning, styling, keyboard accessibility, and automatic closing behavior.
|
|
2444
|
+
* ## Key Features:
|
|
2445
|
+
* - Configurable dropdown position (left or right) and offset
|
|
2446
|
+
* - Customizable intent styles (e.g., primary, secondary)
|
|
2447
|
+
* - Keyboard navigation with support for up and down arrow keys
|
|
2448
|
+
* - Automatic closing on clicks inside the dropdown panel
|
|
2449
|
+
* - Flexible opt-in/opt-out mechanisms for closing behavior
|
|
2450
|
+
* - Option to use as a navigation menu or standard dropdown
|
|
2451
|
+
* ## Auto-Close Behavior:
|
|
2452
|
+
* By default (`autoClose: true`), the dropdown closes when any element inside the panel is clicked.
|
|
2453
|
+
* This includes links, buttons, custom elements, or any other clickable content.
|
|
2454
|
+
* ## Data Attributes:
|
|
2455
|
+
* - `data-dropdown-close`: Force close dropdown when clicked (works regardless of autoClose setting)
|
|
2456
|
+
* - `data-dropdown-no-close`: Prevent dropdown from closing when this element or its children are clicked
|
|
2304
2457
|
* This component is well-suited for use in menus, navigational elements, and other interactive UI patterns.
|
|
2305
2458
|
*/
|
|
2306
2459
|
interface HTMLEdsDropdownElement extends Components.EdsDropdown, HTMLStencilElement {
|
|
@@ -2436,6 +2589,34 @@ declare global {
|
|
|
2436
2589
|
prototype: HTMLEdsGaugeElement;
|
|
2437
2590
|
new (): HTMLEdsGaugeElement;
|
|
2438
2591
|
};
|
|
2592
|
+
interface HTMLEdsGlobalSearchElementEventMap {
|
|
2593
|
+
"resultSelected": {
|
|
2594
|
+
id: string;
|
|
2595
|
+
title: string;
|
|
2596
|
+
url: string;
|
|
2597
|
+
section: string;
|
|
2598
|
+
tags: string[];
|
|
2599
|
+
date: string | null;
|
|
2600
|
+
source: string;
|
|
2601
|
+
snippet: string;
|
|
2602
|
+
score: number | null;
|
|
2603
|
+
};
|
|
2604
|
+
"searchClosed": void;
|
|
2605
|
+
}
|
|
2606
|
+
interface HTMLEdsGlobalSearchElement extends Components.EdsGlobalSearch, HTMLStencilElement {
|
|
2607
|
+
addEventListener<K extends keyof HTMLEdsGlobalSearchElementEventMap>(type: K, listener: (this: HTMLEdsGlobalSearchElement, ev: EdsGlobalSearchCustomEvent<HTMLEdsGlobalSearchElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2608
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2609
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2610
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2611
|
+
removeEventListener<K extends keyof HTMLEdsGlobalSearchElementEventMap>(type: K, listener: (this: HTMLEdsGlobalSearchElement, ev: EdsGlobalSearchCustomEvent<HTMLEdsGlobalSearchElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2612
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2613
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2614
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2615
|
+
}
|
|
2616
|
+
var HTMLEdsGlobalSearchElement: {
|
|
2617
|
+
prototype: HTMLEdsGlobalSearchElement;
|
|
2618
|
+
new (): HTMLEdsGlobalSearchElement;
|
|
2619
|
+
};
|
|
2439
2620
|
interface HTMLEdsHeaderElementEventMap {
|
|
2440
2621
|
"toggleheadermenu": boolean;
|
|
2441
2622
|
}
|
|
@@ -2536,6 +2717,12 @@ declare global {
|
|
|
2536
2717
|
prototype: HTMLEdsIconCopyElement;
|
|
2537
2718
|
new (): HTMLEdsIconCopyElement;
|
|
2538
2719
|
};
|
|
2720
|
+
interface HTMLEdsIconDownloadElement extends Components.EdsIconDownload, HTMLStencilElement {
|
|
2721
|
+
}
|
|
2722
|
+
var HTMLEdsIconDownloadElement: {
|
|
2723
|
+
prototype: HTMLEdsIconDownloadElement;
|
|
2724
|
+
new (): HTMLEdsIconDownloadElement;
|
|
2725
|
+
};
|
|
2539
2726
|
interface HTMLEdsIconDraftElement extends Components.EdsIconDraft, HTMLStencilElement {
|
|
2540
2727
|
}
|
|
2541
2728
|
var HTMLEdsIconDraftElement: {
|
|
@@ -3017,6 +3204,9 @@ declare global {
|
|
|
3017
3204
|
};
|
|
3018
3205
|
interface HTMLEdsStepsElementEventMap {
|
|
3019
3206
|
"step": number;
|
|
3207
|
+
"finished": void;
|
|
3208
|
+
"next": number;
|
|
3209
|
+
"back": number;
|
|
3020
3210
|
}
|
|
3021
3211
|
interface HTMLEdsStepsElement extends Components.EdsSteps, HTMLStencilElement {
|
|
3022
3212
|
addEventListener<K extends keyof HTMLEdsStepsElementEventMap>(type: K, listener: (this: HTMLEdsStepsElement, ev: EdsStepsCustomEvent<HTMLEdsStepsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -3034,6 +3224,9 @@ declare global {
|
|
|
3034
3224
|
};
|
|
3035
3225
|
interface HTMLEdsStepsV2ElementEventMap {
|
|
3036
3226
|
"step": number;
|
|
3227
|
+
"finished": void;
|
|
3228
|
+
"next": number;
|
|
3229
|
+
"back": number;
|
|
3037
3230
|
}
|
|
3038
3231
|
interface HTMLEdsStepsV2Element extends Components.EdsStepsV2, HTMLStencilElement {
|
|
3039
3232
|
addEventListener<K extends keyof HTMLEdsStepsV2ElementEventMap>(type: K, listener: (this: HTMLEdsStepsV2Element, ev: EdsStepsV2CustomEvent<HTMLEdsStepsV2ElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -3312,6 +3505,7 @@ declare global {
|
|
|
3312
3505
|
"eds-frame": HTMLEdsFrameElement;
|
|
3313
3506
|
"eds-fullscreen-menu": HTMLEdsFullscreenMenuElement;
|
|
3314
3507
|
"eds-gauge": HTMLEdsGaugeElement;
|
|
3508
|
+
"eds-global-search": HTMLEdsGlobalSearchElement;
|
|
3315
3509
|
"eds-header": HTMLEdsHeaderElement;
|
|
3316
3510
|
"eds-icon-arrow-diagonal": HTMLEdsIconArrowDiagonalElement;
|
|
3317
3511
|
"eds-icon-arrow-right": HTMLEdsIconArrowRightElement;
|
|
@@ -3325,6 +3519,7 @@ declare global {
|
|
|
3325
3519
|
"eds-icon-clone": HTMLEdsIconCloneElement;
|
|
3326
3520
|
"eds-icon-close": HTMLEdsIconCloseElement;
|
|
3327
3521
|
"eds-icon-copy": HTMLEdsIconCopyElement;
|
|
3522
|
+
"eds-icon-download": HTMLEdsIconDownloadElement;
|
|
3328
3523
|
"eds-icon-draft": HTMLEdsIconDraftElement;
|
|
3329
3524
|
"eds-icon-edit": HTMLEdsIconEditElement;
|
|
3330
3525
|
"eds-icon-eu": HTMLEdsIconEuElement;
|
|
@@ -3903,12 +4098,20 @@ declare namespace LocalJSX {
|
|
|
3903
4098
|
/**
|
|
3904
4099
|
* `EdsDropdown` is a versatile dropdown component that provides a list of items
|
|
3905
4100
|
* that appear upon clicking the dropdown button. It supports various customization options,
|
|
3906
|
-
* such as positioning, styling, and
|
|
3907
|
-
* Key
|
|
3908
|
-
* - Configurable dropdown position (left or right) and offset
|
|
3909
|
-
* - Customizable intent styles (e.g., primary, secondary)
|
|
3910
|
-
* - Keyboard navigation with support for up and down arrow keys
|
|
3911
|
-
* -
|
|
4101
|
+
* such as positioning, styling, keyboard accessibility, and automatic closing behavior.
|
|
4102
|
+
* ## Key Features:
|
|
4103
|
+
* - Configurable dropdown position (left or right) and offset
|
|
4104
|
+
* - Customizable intent styles (e.g., primary, secondary)
|
|
4105
|
+
* - Keyboard navigation with support for up and down arrow keys
|
|
4106
|
+
* - Automatic closing on clicks inside the dropdown panel
|
|
4107
|
+
* - Flexible opt-in/opt-out mechanisms for closing behavior
|
|
4108
|
+
* - Option to use as a navigation menu or standard dropdown
|
|
4109
|
+
* ## Auto-Close Behavior:
|
|
4110
|
+
* By default (`autoClose: true`), the dropdown closes when any element inside the panel is clicked.
|
|
4111
|
+
* This includes links, buttons, custom elements, or any other clickable content.
|
|
4112
|
+
* ## Data Attributes:
|
|
4113
|
+
* - `data-dropdown-close`: Force close dropdown when clicked (works regardless of autoClose setting)
|
|
4114
|
+
* - `data-dropdown-no-close`: Prevent dropdown from closing when this element or its children are clicked
|
|
3912
4115
|
* This component is well-suited for use in menus, navigational elements, and other interactive UI patterns.
|
|
3913
4116
|
*/
|
|
3914
4117
|
interface EdsDropdown {
|
|
@@ -3924,6 +4127,10 @@ declare namespace LocalJSX {
|
|
|
3924
4127
|
* @default true
|
|
3925
4128
|
*/
|
|
3926
4129
|
"asNav"?: boolean;
|
|
4130
|
+
/**
|
|
4131
|
+
* Auto-close dropdown prop - when true, any click inside the panel closes the dropdown
|
|
4132
|
+
*/
|
|
4133
|
+
"autoClose"?: boolean;
|
|
3927
4134
|
/**
|
|
3928
4135
|
* Offset spacing for the dropdown relative to the button.
|
|
3929
4136
|
* @type {boolean}
|
|
@@ -3953,6 +4160,10 @@ declare namespace LocalJSX {
|
|
|
3953
4160
|
* @type {string}
|
|
3954
4161
|
*/
|
|
3955
4162
|
"label"?: string;
|
|
4163
|
+
/**
|
|
4164
|
+
* Opt-out attribute - elements with this attribute won't trigger auto-close
|
|
4165
|
+
*/
|
|
4166
|
+
"noCloseSelector"?: string;
|
|
3956
4167
|
/**
|
|
3957
4168
|
* Event emitted when the dropdown toggles, indicating the new expanded/collapsed state
|
|
3958
4169
|
*/
|
|
@@ -4017,6 +4228,10 @@ declare namespace LocalJSX {
|
|
|
4017
4228
|
* @type {string}
|
|
4018
4229
|
*/
|
|
4019
4230
|
"cookiesPreferences"?: string;
|
|
4231
|
+
/**
|
|
4232
|
+
* Controls the display of the "Cookies preferences" link.
|
|
4233
|
+
* @type {string}
|
|
4234
|
+
*/
|
|
4020
4235
|
"enableCookiesSettings"?: boolean;
|
|
4021
4236
|
/**
|
|
4022
4237
|
* Controls the display of the "Back to Top" button. When true, the button appears in the footer.
|
|
@@ -4051,6 +4266,14 @@ declare namespace LocalJSX {
|
|
|
4051
4266
|
* This component is ideal for implementing complex forms with specific validation and submission behaviors.
|
|
4052
4267
|
*/
|
|
4053
4268
|
interface EdsForm {
|
|
4269
|
+
/**
|
|
4270
|
+
* Variant/style intent for the submit button (e.g., primary, secondary, tertiary, ghost).
|
|
4271
|
+
*/
|
|
4272
|
+
"buttonIntent"?: 'primary' | 'secondary' | 'tertiary' | 'ghost';
|
|
4273
|
+
/**
|
|
4274
|
+
* The description displayed below the title.
|
|
4275
|
+
*/
|
|
4276
|
+
"description"?: string;
|
|
4054
4277
|
/**
|
|
4055
4278
|
* The message displayed when the form submission fails.
|
|
4056
4279
|
*/
|
|
@@ -4067,6 +4290,10 @@ declare namespace LocalJSX {
|
|
|
4067
4290
|
* If `true`, includes a submit button in the form.
|
|
4068
4291
|
*/
|
|
4069
4292
|
"formBtnLabel"?: string;
|
|
4293
|
+
/**
|
|
4294
|
+
* Choose between default layout or an always-shadow style. When "shadow", the form gets the same effect-shadow + shadow-hover classes
|
|
4295
|
+
*/
|
|
4296
|
+
"formStyle"?: 'default' | 'shadow';
|
|
4070
4297
|
/**
|
|
4071
4298
|
* New: list of groups, each with `{ id: string, title: string }`
|
|
4072
4299
|
*/
|
|
@@ -4091,6 +4318,10 @@ declare namespace LocalJSX {
|
|
|
4091
4318
|
* If `true`, includes the current form URL in the submission data.
|
|
4092
4319
|
*/
|
|
4093
4320
|
"setFormUrl"?: boolean;
|
|
4321
|
+
/**
|
|
4322
|
+
* The title displayed above the form.
|
|
4323
|
+
*/
|
|
4324
|
+
"title"?: string;
|
|
4094
4325
|
}
|
|
4095
4326
|
interface EdsFrame {
|
|
4096
4327
|
/**
|
|
@@ -4133,18 +4364,32 @@ declare namespace LocalJSX {
|
|
|
4133
4364
|
* - **Footer Integration**: Optionally displays social links and a customizable footer section within the fullscreen menu.
|
|
4134
4365
|
*/
|
|
4135
4366
|
interface EdsFullscreenMenu {
|
|
4367
|
+
/**
|
|
4368
|
+
* URL for the logo link in the header.
|
|
4369
|
+
* @default "/"
|
|
4370
|
+
* @attr home-url
|
|
4371
|
+
*/
|
|
4136
4372
|
"homeUrl"?: string;
|
|
4373
|
+
/**
|
|
4374
|
+
* When true, uses an inverse (dark) header background.
|
|
4375
|
+
* @default false
|
|
4376
|
+
* @attr inverse-header
|
|
4377
|
+
*/
|
|
4137
4378
|
"inverseHeader"?: boolean;
|
|
4138
4379
|
/**
|
|
4139
|
-
*
|
|
4380
|
+
* Primary navigation links. Accepts a JSON string or array of objects `{ label, url, icon?, external? }`.
|
|
4381
|
+
* @example links='[{"label":"Home","url":"/"},{"label":"Docs","url":"/docs","icon":"book"}]'
|
|
4140
4382
|
*/
|
|
4141
|
-
"links"?: string |
|
|
4383
|
+
"links"?: string | LinkItem[];
|
|
4142
4384
|
/**
|
|
4143
|
-
*
|
|
4385
|
+
* Secondary navigation links (extra menu items for small screens). Accepts a JSON string or array of objects `{ label, url }`.
|
|
4386
|
+
* @example menu-links='[{"label":"Help","url":"/help"},{"label":"Contact","url":"/contact"}]'
|
|
4387
|
+
* @attr menu-links
|
|
4144
4388
|
*/
|
|
4145
4389
|
"menuLinks"?: string;
|
|
4146
4390
|
/**
|
|
4147
|
-
*
|
|
4391
|
+
* Emitted when the menu is closed (via UI or resize).
|
|
4392
|
+
* @event menuClose
|
|
4148
4393
|
*/
|
|
4149
4394
|
"onMenuClose"?: (event: EdsFullscreenMenuCustomEvent<void>) => void;
|
|
4150
4395
|
}
|
|
@@ -4171,6 +4416,42 @@ declare namespace LocalJSX {
|
|
|
4171
4416
|
"valueMin"?: number;
|
|
4172
4417
|
"variant"?: 'default' | 'dark' | 'strong' | 'black';
|
|
4173
4418
|
}
|
|
4419
|
+
interface EdsGlobalSearch {
|
|
4420
|
+
/**
|
|
4421
|
+
* API endpoint for search
|
|
4422
|
+
*/
|
|
4423
|
+
"apiEndpoint"?: string;
|
|
4424
|
+
/**
|
|
4425
|
+
* Debounce delay in milliseconds
|
|
4426
|
+
*/
|
|
4427
|
+
"debounceDelay"?: number;
|
|
4428
|
+
/**
|
|
4429
|
+
* Maximum number of results to fetch
|
|
4430
|
+
*/
|
|
4431
|
+
"limit"?: number;
|
|
4432
|
+
/**
|
|
4433
|
+
* Emitted when a result is selected
|
|
4434
|
+
*/
|
|
4435
|
+
"onResultSelected"?: (event: EdsGlobalSearchCustomEvent<{
|
|
4436
|
+
id: string;
|
|
4437
|
+
title: string;
|
|
4438
|
+
url: string;
|
|
4439
|
+
section: string;
|
|
4440
|
+
tags: string[];
|
|
4441
|
+
date: string | null;
|
|
4442
|
+
source: string;
|
|
4443
|
+
snippet: string;
|
|
4444
|
+
score: number | null;
|
|
4445
|
+
}>) => void;
|
|
4446
|
+
/**
|
|
4447
|
+
* Emitted when search is closed (for expandable mode)
|
|
4448
|
+
*/
|
|
4449
|
+
"onSearchClosed"?: (event: EdsGlobalSearchCustomEvent<void>) => void;
|
|
4450
|
+
/**
|
|
4451
|
+
* Placeholder text for the input
|
|
4452
|
+
*/
|
|
4453
|
+
"placeholder"?: string;
|
|
4454
|
+
}
|
|
4174
4455
|
/**
|
|
4175
4456
|
* `EdsHeader` is a header component designed for the EBRAINS platform.
|
|
4176
4457
|
* It provides a customizable and responsive navigation experience, tailored for both desktop and mobile views.
|
|
@@ -4276,6 +4557,12 @@ declare namespace LocalJSX {
|
|
|
4276
4557
|
*/
|
|
4277
4558
|
"class"?: string;
|
|
4278
4559
|
}
|
|
4560
|
+
interface EdsIconDownload {
|
|
4561
|
+
/**
|
|
4562
|
+
* Additional CSS classes to be applied to the icon for styling.
|
|
4563
|
+
*/
|
|
4564
|
+
"class"?: string;
|
|
4565
|
+
}
|
|
4279
4566
|
interface EdsIconDraft {
|
|
4280
4567
|
/**
|
|
4281
4568
|
* Additional CSS classes to be applied to the icon for styling.
|
|
@@ -4913,21 +5200,28 @@ declare namespace LocalJSX {
|
|
|
4913
5200
|
}
|
|
4914
5201
|
interface EdsMatomoNotice {
|
|
4915
5202
|
/**
|
|
4916
|
-
* The description displayed
|
|
5203
|
+
* The description displayed when the user has not yet opted in to analytics.
|
|
5204
|
+
* @default "We use anonymous analytics..."
|
|
4917
5205
|
*/
|
|
4918
5206
|
"description"?: string;
|
|
4919
5207
|
/**
|
|
4920
|
-
* When true, the notice is forced to show regardless of cookies
|
|
5208
|
+
* When true, the notice is forced to show regardless of cookies or session storage state. Useful for testing or forcing the consent UI.
|
|
5209
|
+
* @default false
|
|
4921
5210
|
*/
|
|
4922
5211
|
"forceShow"?: boolean;
|
|
4923
5212
|
/**
|
|
4924
|
-
* The title displayed in the notice.
|
|
5213
|
+
* The title displayed in the notice accordion.
|
|
5214
|
+
* @default "Analytics Consent"
|
|
4925
5215
|
*/
|
|
4926
5216
|
"heading"?: string;
|
|
4927
5217
|
/**
|
|
4928
5218
|
* Event emitted when the rating is changed.
|
|
4929
5219
|
*/
|
|
4930
5220
|
"onConsent"?: (event: EdsMatomoNoticeCustomEvent<'in' | 'out' | 'defer'>) => void;
|
|
5221
|
+
/**
|
|
5222
|
+
* The description displayed when the user has already opted in to analytics.
|
|
5223
|
+
* @default "You are already part of our community..."
|
|
5224
|
+
*/
|
|
4931
5225
|
"optOutMessage"?: string;
|
|
4932
5226
|
}
|
|
4933
5227
|
/**
|
|
@@ -5164,29 +5458,94 @@ declare namespace LocalJSX {
|
|
|
5164
5458
|
}
|
|
5165
5459
|
interface EdsSteps {
|
|
5166
5460
|
/**
|
|
5167
|
-
*
|
|
5461
|
+
* Label for the **Back** button (linear mode).
|
|
5462
|
+
* @default "Back"
|
|
5463
|
+
* @attr back-label
|
|
5464
|
+
*/
|
|
5465
|
+
"backLabel"?: string;
|
|
5466
|
+
/**
|
|
5467
|
+
* If `true`, disables **Next/Finish** and prevents advancing. Useful for gating progression until validation passes.
|
|
5468
|
+
* @default false
|
|
5469
|
+
* @attr disable-next
|
|
5470
|
+
*/
|
|
5471
|
+
"disableNext"?: boolean | boolean[];
|
|
5472
|
+
/**
|
|
5473
|
+
* Label for the **Finish** button on the **last step** (linear mode).
|
|
5474
|
+
* @default "Finish"
|
|
5475
|
+
* @attr finish-label
|
|
5476
|
+
*/
|
|
5477
|
+
"finishLabel"?: string;
|
|
5478
|
+
/**
|
|
5479
|
+
* Semantic heading tag used for each step title. Accepted values: `"h3" | "h4" | "h5"`.
|
|
5480
|
+
* @default "h4"
|
|
5481
|
+
* @attr heading-level
|
|
5482
|
+
*/
|
|
5483
|
+
"headingLevel"?: 'h3' | 'h4' | 'h5';
|
|
5484
|
+
/**
|
|
5485
|
+
* Label for the **Next** button (linear mode).
|
|
5486
|
+
* @default "Next"
|
|
5487
|
+
* @attr next-label
|
|
5488
|
+
*/
|
|
5489
|
+
"nextLabel"?: string;
|
|
5490
|
+
/**
|
|
5491
|
+
* Fired when the user clicks **Back** (before going back), with the **target** step index (current - 1).
|
|
5492
|
+
* @event back
|
|
5493
|
+
*/
|
|
5494
|
+
"onBack"?: (event: EdsStepsCustomEvent<number>) => void;
|
|
5495
|
+
/**
|
|
5496
|
+
* Fired when the user clicks **Finish** on the **last** step.
|
|
5497
|
+
* @event finished
|
|
5498
|
+
*/
|
|
5499
|
+
"onFinished"?: (event: EdsStepsCustomEvent<void>) => void;
|
|
5500
|
+
/**
|
|
5501
|
+
* Fired when the user clicks **Next** (before advancing), with the **target** step index (current + 1).
|
|
5502
|
+
* @event next
|
|
5503
|
+
*/
|
|
5504
|
+
"onNext"?: (event: EdsStepsCustomEvent<number>) => void;
|
|
5505
|
+
/**
|
|
5506
|
+
* Fired whenever the active step changes. Payload: the **current step index**.
|
|
5507
|
+
* @event step
|
|
5168
5508
|
*/
|
|
5169
5509
|
"onStep"?: (event: EdsStepsCustomEvent<number>) => void;
|
|
5170
5510
|
/**
|
|
5171
|
-
*
|
|
5511
|
+
* Steps data as an **array** or **JSON string** of objects: `{ title: string; content?: string }`. In static mode, all steps and their content render. In linear mode, only the active step renders its content.
|
|
5512
|
+
* @default []
|
|
5172
5513
|
*/
|
|
5173
5514
|
"steps"?: string | Step[];
|
|
5174
5515
|
/**
|
|
5175
|
-
*
|
|
5516
|
+
* Stepper mode. - `static`: all steps are visible (no navigation controls) - `linear`: one step at a time with Back/Next/Finish controls
|
|
5517
|
+
* @default "static"
|
|
5176
5518
|
*/
|
|
5177
5519
|
"type"?: 'static' | 'linear';
|
|
5178
5520
|
}
|
|
5179
5521
|
interface EdsStepsV2 {
|
|
5180
5522
|
/**
|
|
5181
|
-
*
|
|
5523
|
+
* Label text for the "Back" button.
|
|
5524
|
+
*/
|
|
5525
|
+
"backLabel"?: string;
|
|
5526
|
+
/**
|
|
5527
|
+
* If true, apply an inverse background to the container.
|
|
5182
5528
|
*/
|
|
5183
5529
|
"bg"?: boolean;
|
|
5530
|
+
/**
|
|
5531
|
+
* If true, disables the "Next" button to block progression.
|
|
5532
|
+
*/
|
|
5533
|
+
"disableNext"?: boolean;
|
|
5534
|
+
/**
|
|
5535
|
+
* Label text for the "Finish" button (last step in linear mode).
|
|
5536
|
+
*/
|
|
5537
|
+
"finishLabel"?: string;
|
|
5538
|
+
/**
|
|
5539
|
+
* Heading level to use for each step title.
|
|
5540
|
+
* @default "h4"
|
|
5541
|
+
*/
|
|
5542
|
+
"headingLevel"?: 'h3' | 'h4' | 'h5';
|
|
5184
5543
|
/**
|
|
5185
5544
|
* Optional image source to display above the steps.
|
|
5186
5545
|
*/
|
|
5187
5546
|
"imageSrc"?: string;
|
|
5188
5547
|
/**
|
|
5189
|
-
* Optional image width for the eds-img component.
|
|
5548
|
+
* Optional image width for the `eds-img` component.
|
|
5190
5549
|
*/
|
|
5191
5550
|
"imageWidth"?: number;
|
|
5192
5551
|
/**
|
|
@@ -5194,15 +5553,39 @@ declare namespace LocalJSX {
|
|
|
5194
5553
|
*/
|
|
5195
5554
|
"message"?: string;
|
|
5196
5555
|
/**
|
|
5197
|
-
*
|
|
5556
|
+
* Label text for the "Next" button.
|
|
5557
|
+
*/
|
|
5558
|
+
"nextLabel"?: string;
|
|
5559
|
+
/**
|
|
5560
|
+
* Emitted when the "Back" button is clicked.
|
|
5561
|
+
* @event back
|
|
5562
|
+
* @payload {number} The target step index.
|
|
5563
|
+
*/
|
|
5564
|
+
"onBack"?: (event: EdsStepsV2CustomEvent<number>) => void;
|
|
5565
|
+
/**
|
|
5566
|
+
* Emitted when the "Finish" button is clicked (last step in linear mode).
|
|
5567
|
+
* @event finished
|
|
5568
|
+
*/
|
|
5569
|
+
"onFinished"?: (event: EdsStepsV2CustomEvent<void>) => void;
|
|
5570
|
+
/**
|
|
5571
|
+
* Emitted when the "Next" button is clicked.
|
|
5572
|
+
* @event next
|
|
5573
|
+
* @payload {number} The target step index.
|
|
5574
|
+
*/
|
|
5575
|
+
"onNext"?: (event: EdsStepsV2CustomEvent<number>) => void;
|
|
5576
|
+
/**
|
|
5577
|
+
* Emitted when the active step changes.
|
|
5578
|
+
* @event step
|
|
5579
|
+
* @payload {number} The index of the new active step.
|
|
5198
5580
|
*/
|
|
5199
5581
|
"onStep"?: (event: EdsStepsV2CustomEvent<number>) => void;
|
|
5200
5582
|
/**
|
|
5201
|
-
* JSON string or an array of step objects.
|
|
5583
|
+
* JSON string or an array of step objects. Each object should have a `title` and optional `content` property.
|
|
5202
5584
|
*/
|
|
5203
5585
|
"steps"?: string | Step1[];
|
|
5204
5586
|
/**
|
|
5205
|
-
* The type of stepper
|
|
5587
|
+
* The type of stepper: - `"static"`: shows all steps with their content. - `"linear"`: shows only one step at a time with navigation controls.
|
|
5588
|
+
* @default "static"
|
|
5206
5589
|
*/
|
|
5207
5590
|
"type"?: 'static' | 'linear';
|
|
5208
5591
|
}
|
|
@@ -5242,7 +5625,7 @@ declare namespace LocalJSX {
|
|
|
5242
5625
|
*/
|
|
5243
5626
|
"actionTemplate"?: (row: any) => VNode;
|
|
5244
5627
|
/**
|
|
5245
|
-
* Array of actions to render in each row. Each action
|
|
5628
|
+
* 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" } ]' ```
|
|
5246
5629
|
*/
|
|
5247
5630
|
"actions"?: string | TableAction[];
|
|
5248
5631
|
/**
|
|
@@ -5316,7 +5699,7 @@ declare namespace LocalJSX {
|
|
|
5316
5699
|
/**
|
|
5317
5700
|
* The visual style or intent of the tag.
|
|
5318
5701
|
*/
|
|
5319
|
-
"intent"?: 'default' | 'strong' | 'accent' | 'weak' | 'inverse' | 'inverse-strong';
|
|
5702
|
+
"intent"?: 'primary' | 'default' | 'strong' | 'accent' | 'weak' | 'inverse' | 'inverse-strong';
|
|
5320
5703
|
/**
|
|
5321
5704
|
* The label to be displayed inside the tag.
|
|
5322
5705
|
*/
|
|
@@ -5371,6 +5754,11 @@ declare namespace LocalJSX {
|
|
|
5371
5754
|
* This component is ideal for embedding into any layout requiring user authentication.
|
|
5372
5755
|
*/
|
|
5373
5756
|
interface EdsUser {
|
|
5757
|
+
"dropdownLabel"?: string;
|
|
5758
|
+
/**
|
|
5759
|
+
* Visual intent of the trigger button
|
|
5760
|
+
*/
|
|
5761
|
+
"intent"?: Intent;
|
|
5374
5762
|
/**
|
|
5375
5763
|
* The user object containing user information, or a JSON string to be parsed.
|
|
5376
5764
|
*/
|
|
@@ -5449,6 +5837,7 @@ declare namespace LocalJSX {
|
|
|
5449
5837
|
"eds-frame": EdsFrame;
|
|
5450
5838
|
"eds-fullscreen-menu": EdsFullscreenMenu;
|
|
5451
5839
|
"eds-gauge": EdsGauge;
|
|
5840
|
+
"eds-global-search": EdsGlobalSearch;
|
|
5452
5841
|
"eds-header": EdsHeader;
|
|
5453
5842
|
"eds-icon-arrow-diagonal": EdsIconArrowDiagonal;
|
|
5454
5843
|
"eds-icon-arrow-right": EdsIconArrowRight;
|
|
@@ -5462,6 +5851,7 @@ declare namespace LocalJSX {
|
|
|
5462
5851
|
"eds-icon-clone": EdsIconClone;
|
|
5463
5852
|
"eds-icon-close": EdsIconClose;
|
|
5464
5853
|
"eds-icon-copy": EdsIconCopy;
|
|
5854
|
+
"eds-icon-download": EdsIconDownload;
|
|
5465
5855
|
"eds-icon-draft": EdsIconDraft;
|
|
5466
5856
|
"eds-icon-edit": EdsIconEdit;
|
|
5467
5857
|
"eds-icon-eu": EdsIconEu;
|
|
@@ -5657,12 +6047,20 @@ declare module "@stencil/core" {
|
|
|
5657
6047
|
/**
|
|
5658
6048
|
* `EdsDropdown` is a versatile dropdown component that provides a list of items
|
|
5659
6049
|
* that appear upon clicking the dropdown button. It supports various customization options,
|
|
5660
|
-
* such as positioning, styling, and
|
|
5661
|
-
* Key
|
|
5662
|
-
* - Configurable dropdown position (left or right) and offset
|
|
5663
|
-
* - Customizable intent styles (e.g., primary, secondary)
|
|
5664
|
-
* - Keyboard navigation with support for up and down arrow keys
|
|
5665
|
-
* -
|
|
6050
|
+
* such as positioning, styling, keyboard accessibility, and automatic closing behavior.
|
|
6051
|
+
* ## Key Features:
|
|
6052
|
+
* - Configurable dropdown position (left or right) and offset
|
|
6053
|
+
* - Customizable intent styles (e.g., primary, secondary)
|
|
6054
|
+
* - Keyboard navigation with support for up and down arrow keys
|
|
6055
|
+
* - Automatic closing on clicks inside the dropdown panel
|
|
6056
|
+
* - Flexible opt-in/opt-out mechanisms for closing behavior
|
|
6057
|
+
* - Option to use as a navigation menu or standard dropdown
|
|
6058
|
+
* ## Auto-Close Behavior:
|
|
6059
|
+
* By default (`autoClose: true`), the dropdown closes when any element inside the panel is clicked.
|
|
6060
|
+
* This includes links, buttons, custom elements, or any other clickable content.
|
|
6061
|
+
* ## Data Attributes:
|
|
6062
|
+
* - `data-dropdown-close`: Force close dropdown when clicked (works regardless of autoClose setting)
|
|
6063
|
+
* - `data-dropdown-no-close`: Prevent dropdown from closing when this element or its children are clicked
|
|
5666
6064
|
* This component is well-suited for use in menus, navigational elements, and other interactive UI patterns.
|
|
5667
6065
|
*/
|
|
5668
6066
|
"eds-dropdown": LocalJSX.EdsDropdown & JSXBase.HTMLAttributes<HTMLEdsDropdownElement>;
|
|
@@ -5704,6 +6102,7 @@ declare module "@stencil/core" {
|
|
|
5704
6102
|
*/
|
|
5705
6103
|
"eds-fullscreen-menu": LocalJSX.EdsFullscreenMenu & JSXBase.HTMLAttributes<HTMLEdsFullscreenMenuElement>;
|
|
5706
6104
|
"eds-gauge": LocalJSX.EdsGauge & JSXBase.HTMLAttributes<HTMLEdsGaugeElement>;
|
|
6105
|
+
"eds-global-search": LocalJSX.EdsGlobalSearch & JSXBase.HTMLAttributes<HTMLEdsGlobalSearchElement>;
|
|
5707
6106
|
/**
|
|
5708
6107
|
* `EdsHeader` is a header component designed for the EBRAINS platform.
|
|
5709
6108
|
* It provides a customizable and responsive navigation experience, tailored for both desktop and mobile views.
|
|
@@ -5728,6 +6127,7 @@ declare module "@stencil/core" {
|
|
|
5728
6127
|
"eds-icon-clone": LocalJSX.EdsIconClone & JSXBase.HTMLAttributes<HTMLEdsIconCloneElement>;
|
|
5729
6128
|
"eds-icon-close": LocalJSX.EdsIconClose & JSXBase.HTMLAttributes<HTMLEdsIconCloseElement>;
|
|
5730
6129
|
"eds-icon-copy": LocalJSX.EdsIconCopy & JSXBase.HTMLAttributes<HTMLEdsIconCopyElement>;
|
|
6130
|
+
"eds-icon-download": LocalJSX.EdsIconDownload & JSXBase.HTMLAttributes<HTMLEdsIconDownloadElement>;
|
|
5731
6131
|
"eds-icon-draft": LocalJSX.EdsIconDraft & JSXBase.HTMLAttributes<HTMLEdsIconDraftElement>;
|
|
5732
6132
|
"eds-icon-edit": LocalJSX.EdsIconEdit & JSXBase.HTMLAttributes<HTMLEdsIconEditElement>;
|
|
5733
6133
|
"eds-icon-eu": LocalJSX.EdsIconEu & JSXBase.HTMLAttributes<HTMLEdsIconEuElement>;
|