@ebrains/components 3.0.0 → 3.2.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 → eds-accordion_53.cjs.entry.js} +1095 -336
- package/dist/cjs/eds-app-root.cjs.entry.js +1 -1
- package/dist/cjs/eds-cookies-preference.cjs.entry.js +1 -1
- package/dist/cjs/eds-feedback.cjs.entry.js +1 -1
- package/dist/cjs/eds-frame.cjs.entry.js +1 -1
- package/dist/cjs/eds-gauge.cjs.entry.js +1 -1
- package/dist/cjs/eds-gitlab-contributors.cjs.entry.js +35 -32
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-eu.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-facebook.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-linkedin.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-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-input-search.cjs.entry.js +76 -0
- package/dist/cjs/eds-modal.cjs.entry.js +18 -9
- package/dist/cjs/eds-pie.cjs.entry.js +2 -2
- package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
- package/dist/cjs/eds-timeline.cjs.entry.js +1 -1
- package/dist/cjs/eds-toast-manager.cjs.entry.js +1 -1
- package/dist/cjs/eds-trl-badge.cjs.entry.js +184 -0
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/index-50bc1aa4.js +10 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/logo-space.cjs.entry.js +58 -1
- 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 +1 -1
- package/dist/cjs/svg-repository.cjs.entry.js +1 -1
- package/dist/cjs/token-list_3.cjs.entry.js +3 -3
- 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 +8 -2
- package/dist/collection/collection-manifest.json +4 -1
- package/dist/collection/components/eds-accordion/eds-accordion.css +3 -2
- package/dist/collection/components/eds-accordion/eds-accordion.js +2 -5
- package/dist/collection/components/eds-accordion/eds-accordion.stories.js +7 -19
- package/dist/collection/components/eds-alert/eds-alert.css +14 -0
- package/dist/collection/components/eds-alert/eds-alert.js +2 -1
- package/dist/collection/components/eds-alert/eds-alert.stories.js +19 -147
- package/dist/collection/components/eds-avatar/eds-avatar.js +1 -1
- package/dist/collection/components/eds-avatar/eds-avatar.stories.js +2 -2
- 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.css +15 -0
- package/dist/collection/components/eds-button/eds-button.js +17 -14
- package/dist/collection/components/eds-button/eds-button.stories.js +4 -1
- package/dist/collection/components/eds-cards/eds-card-app/eds-card-app.js +2 -5
- 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-title/eds-card-title.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-cta/eds-card-cta.css +10 -1
- package/dist/collection/components/eds-cards/eds-card-cta/eds-card-cta.js +2 -5
- package/dist/collection/components/eds-cards/eds-card-cta/eds-card-cta.stories.js +4 -1
- package/dist/collection/components/eds-cards/eds-card-feature/eds-card-feature.js +2 -5
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +2 -4
- package/dist/collection/components/eds-cards/eds-card-hero/eds-card-hero.js +6 -7
- package/dist/collection/components/eds-cards/eds-card-stat/eds-card-stat.js +6 -7
- package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.js +1 -1
- package/dist/collection/components/eds-charts/eds-pie/eds-pie.js +2 -2
- package/dist/collection/components/eds-code-block/eds-code-block.css +72 -106
- package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
- package/dist/collection/components/eds-dropdown/eds-dropdown.js +30 -4
- package/dist/collection/components/eds-feedback/eds-feedback.js +1 -1
- package/dist/collection/components/eds-footer/eds-footer.css +143 -203
- package/dist/collection/components/eds-footer/eds-footer.js +176 -74
- package/dist/collection/components/eds-footer/eds-footer.stories.js +109 -17
- package/dist/collection/components/eds-form/eds-form.css +493 -1
- package/dist/collection/components/eds-form/eds-form.js +256 -14
- package/dist/collection/components/eds-form/eds-form.stories.js +110 -3
- package/dist/collection/components/eds-frame/eds-frame.js +1 -1
- package/dist/collection/components/eds-header/eds-header.js +1 -1
- package/dist/collection/components/eds-header/eds-header.stories.js +26 -12
- package/dist/collection/components/eds-icon-wrapper/eds-icon-wrapper.js +20 -1
- 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-img/eds-img.stories.js +29 -52
- package/dist/collection/components/eds-input-dropzone/eds-input-dropzone.js +7 -4
- package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +20 -2
- package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.css +39 -0
- package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +2 -1
- package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.css +17 -5
- 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 +15 -5
- 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-search/eds-input-search.stories.js +30 -0
- package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +6 -2
- package/dist/collection/components/eds-input-field/eds-input-field.css +219 -0
- package/dist/collection/components/eds-input-field/eds-input-field.js +16 -5
- package/dist/collection/components/eds-input-field/eds-input-field.stories.js +105 -125
- package/dist/collection/components/eds-input-file/eds-input-file.js +5 -3
- package/dist/collection/components/eds-link/eds-link.js +4 -8
- package/dist/collection/components/eds-link/eds-link.stories.js +13 -8
- package/dist/collection/components/eds-logo/eds-logo.js +13 -66
- package/dist/collection/components/eds-logo/eds-logo.stories.js +36 -17
- package/dist/collection/components/eds-modal/eds-modal.js +18 -9
- package/dist/collection/components/eds-modal/eds-modal.stories.js +11 -8
- package/dist/collection/components/eds-nps/eds-nps.css +32 -0
- package/dist/collection/components/eds-nps/eds-nps.js +3 -3
- package/dist/collection/components/eds-pagination/eds-pagination.js +2 -2
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -8
- package/dist/collection/components/eds-rating/eds-rating.css +9 -0
- 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-sidebar/eds-sidebar.js +2 -2
- package/dist/collection/components/eds-social-networks/eds-social-networks.js +1 -1
- package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
- package/dist/collection/components/eds-steps/eds-steps.css +56 -25
- package/dist/collection/components/eds-steps/eds-steps.js +27 -7
- package/dist/collection/components/eds-steps-v2/eds-steps-v2.css +93 -28
- package/dist/collection/components/eds-steps-v2/eds-steps-v2.js +57 -10
- package/dist/collection/components/eds-steps-v2/eds-steps-v2.stories.js +80 -17
- package/dist/collection/components/eds-switch/eds-switch.css +26 -3
- package/dist/collection/components/eds-switch/eds-switch.js +10 -7
- package/dist/collection/components/eds-switch/eds-switch.stories.js +20 -1
- package/dist/collection/components/eds-table/eds-table.css +21 -4
- package/dist/collection/components/eds-table/eds-table.js +16 -51
- package/dist/collection/components/eds-table/eds-table.stories.js +7 -115
- package/dist/collection/components/eds-tabs/eds-tabs.css +7 -1
- package/dist/collection/components/eds-tabs/eds-tabs.js +49 -18
- package/dist/collection/components/eds-tabs/eds-tabs.stories.js +2 -2
- package/dist/collection/components/eds-tag/eds-tag.js +1 -1
- package/dist/collection/components/eds-timeline/eds-timeline.js +1 -1
- package/dist/collection/components/eds-toast/eds-toast.css +146 -0
- package/dist/collection/components/eds-toast/eds-toast.js +106 -4
- package/dist/collection/components/eds-toast/eds-toast.stories.js +102 -5
- 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-tooltip/eds-tooltip.stories.js +7 -1
- package/dist/collection/components/eds-user/eds-user.js +2 -5
- package/dist/collection/components/eds-user/eds-user.stories.js +8 -11
- 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 -2
- 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 +58 -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-cookies-preference/eds-cookies-preference.js +1 -1
- package/dist/collection/shared-ui/eds-gitlab-contributors/eds-gitlab-contributors.css +19 -0
- package/dist/collection/shared-ui/eds-gitlab-contributors/eds-gitlab-contributors.js +34 -31
- package/dist/collection/shared-ui/eds-global-search/eds-global-search.css +166 -0
- package/dist/collection/shared-ui/eds-global-search/eds-global-search.js +69 -7
- package/dist/collection/shared-ui/eds-kg-learning-resources/eds-kg-learning-resources.css +205 -0
- package/dist/collection/shared-ui/eds-kg-learning-resources/eds-kg-learning-resources.js +253 -0
- package/dist/collection/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.js +2 -2
- package/dist/collection/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.stories.js +1 -3
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.css +23 -102
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +7 -1
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.js +1 -1
- package/dist/collection/shared-ui/eds-search-select/eds-search-select.css +213 -0
- package/dist/collection/shared-ui/eds-search-select/eds-search-select.js +706 -0
- package/dist/collection/shared-ui/eds-search-select/eds-search-select.stories.js +90 -0
- package/dist/collection/shared-ui/eds-trl-badge/ebrains-mark.js +26 -0
- package/dist/collection/shared-ui/eds-trl-badge/eds-trl-badge.css +22 -0
- package/dist/collection/shared-ui/eds-trl-badge/eds-trl-badge.js +324 -0
- package/dist/collection/shared-ui/eds-trl-badge/eds-trl-badge.stories.js +99 -0
- package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
- package/dist/collection/utils/eds-form/formValidators.js +2 -1
- package/dist/collection/utils/eds-form/safeFormat.js +35 -0
- package/dist/components/components-section.js +1 -1
- package/dist/components/components.css +12 -11
- 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 +3 -6
- package/dist/components/eds-alert2.js +3 -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 +16 -13
- package/dist/components/eds-card-app.js +2 -5
- package/dist/components/eds-card-cta.js +3 -6
- package/dist/components/eds-card-desc2.js +1 -1
- package/dist/components/eds-card-feature.js +2 -5
- package/dist/components/eds-card-generic2.js +2 -4
- package/dist/components/eds-card-hero.js +6 -7
- package/dist/components/eds-card-stat.js +6 -7
- package/dist/components/eds-card-title2.js +1 -1
- package/dist/components/eds-code-block2.js +2 -2
- package/dist/components/eds-cookies-preference.js +1 -1
- package/dist/components/eds-dropdown2.js +30 -4
- package/dist/components/eds-feedback.js +1 -1
- package/dist/components/eds-footer2.js +118 -24
- package/dist/components/eds-form.js +146 -45
- package/dist/components/eds-frame.js +1 -1
- package/dist/components/eds-gauge.js +1 -1
- package/dist/components/eds-gitlab-contributors.js +35 -32
- package/dist/components/eds-global-search.js +55 -70
- package/dist/components/eds-header.js +1 -1
- 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 +5 -2
- package/dist/components/eds-icon-youtube.js +1 -1
- package/dist/components/eds-img2.js +2 -2
- package/dist/components/eds-input-dropzone2.js +7 -4
- package/dist/components/eds-input-field2.js +31 -26
- package/dist/components/eds-input-file2.js +5 -3
- package/dist/components/eds-input-footer2.js +39 -3
- package/dist/components/eds-input-label2.js +2 -2
- package/dist/components/eds-input-range2.js +15 -5
- package/dist/components/eds-input-search.js +100 -1
- package/dist/components/eds-input-select2.js +6 -2
- package/dist/components/eds-input2.js +4 -2
- package/dist/components/eds-kg-learning-resources.d.ts +11 -0
- package/dist/components/eds-kg-learning-resources.js +217 -0
- package/dist/components/eds-kg-web-services-select2.js +18 -24
- package/dist/components/eds-link2.js +3 -7
- package/dist/components/eds-logo2.js +4 -22
- package/dist/components/eds-matomo-notice2.js +8 -2
- package/dist/components/eds-modal.js +18 -9
- package/dist/components/eds-nps2.js +4 -4
- package/dist/components/eds-pagination2.js +2 -2
- package/dist/components/eds-pie.js +2 -2
- package/dist/components/eds-progress-bar.js +1 -8
- package/dist/components/eds-rating2.js +3 -3
- package/dist/components/eds-search-select.d.ts +11 -0
- package/dist/components/eds-search-select.js +6 -0
- package/dist/components/eds-search-select2.js +382 -0
- package/dist/components/eds-section-core2.js +1 -1
- package/dist/components/eds-section-heading2.js +2 -2
- package/dist/components/eds-sidebar.js +2 -2
- package/dist/components/eds-social-networks2.js +1 -1
- package/dist/components/eds-spinner2.js +1 -1
- package/dist/components/eds-steps-v2.js +41 -11
- package/dist/components/eds-steps2.js +28 -8
- package/dist/components/eds-switch2.js +8 -5
- package/dist/components/eds-table2.js +30 -54
- package/dist/components/eds-tabs.js +50 -19
- 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-toast2.js +39 -3
- package/dist/components/eds-tooltip2.js +1 -1
- package/dist/components/eds-trl-badge.d.ts +11 -0
- package/dist/components/eds-trl-badge.js +207 -0
- package/dist/components/eds-user.js +1 -4
- package/dist/components/incorrect-use-of-colors.js +1 -1
- package/dist/components/logo-space.js +76 -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-05e96609.entry.js +1 -0
- package/dist/components/p-0d778d10.entry.js +1 -0
- package/dist/components/{p-d2576747.entry.js → p-114f6d54.entry.js} +1 -1
- package/dist/components/p-1534204d.entry.js +1 -0
- package/dist/components/p-337d4ee3.entry.js +9 -0
- package/dist/components/p-340bc935.entry.js +1 -0
- package/dist/components/{p-a6dc1f88.entry.js → p-37ef07d9.entry.js} +1 -1
- package/dist/components/p-39dbb964.entry.js +1 -0
- package/dist/components/{p-dfe93385.entry.js → p-3f66bc26.entry.js} +1 -1
- package/dist/components/p-43f9e64f.entry.js +1 -0
- package/dist/components/p-46cc6c1a.entry.js +1 -0
- package/dist/components/{p-773bd015.entry.js → p-4b8a7979.entry.js} +1 -1
- package/dist/components/p-6b94b2ec.entry.js +1 -0
- package/dist/components/p-6d965fef.entry.js +1 -0
- package/dist/components/{p-d16b5363.entry.js → p-6e370182.entry.js} +1 -1
- package/dist/components/{p-7b93a385.entry.js → p-6ffe581c.entry.js} +1 -1
- package/dist/components/p-726637b1.entry.js +1 -0
- package/dist/components/{p-a63e14bb.entry.js → p-86ccc09f.entry.js} +1 -1
- package/dist/components/{p-c2fc62f7.entry.js → p-8755a21b.entry.js} +1 -1
- package/dist/components/{p-0d7aee0b.entry.js → p-8ab461e2.entry.js} +1 -1
- package/dist/components/p-8cb162b8.entry.js +1 -0
- package/dist/components/p-8cdbc280.entry.js +1 -0
- package/dist/components/{p-940a2d42.entry.js → p-8e034c4e.entry.js} +1 -1
- package/dist/components/p-9f649fa3.entry.js +1 -0
- package/dist/components/{p-d1b3aa52.entry.js → p-a26dad9b.entry.js} +1 -1
- package/dist/components/p-a2d6a9ca.entry.js +1 -0
- package/dist/components/p-afabe1be.entry.js +1 -0
- package/dist/components/{p-c46675c8.entry.js → p-b1519098.entry.js} +1 -1
- package/dist/components/{p-04e9c2d7.entry.js → p-b1a10842.entry.js} +1 -1
- package/dist/components/{p-7aa4edef.entry.js → p-b4023b45.entry.js} +1 -1
- package/dist/components/p-c53b3563.entry.js +1 -0
- package/dist/components/p-c7d612d1.entry.js +1 -0
- package/dist/components/p-dc9aef22.entry.js +1 -0
- package/dist/components/{p-f364296f.entry.js → p-f66a7cf9.entry.js} +1 -1
- package/dist/components/p-f97f62f2.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 +19 -25
- 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 +8 -2
- 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 → eds-accordion_53.entry.js} +1094 -336
- package/dist/esm/eds-app-root.entry.js +1 -1
- package/dist/esm/eds-cookies-preference.entry.js +1 -1
- package/dist/esm/eds-feedback.entry.js +1 -1
- package/dist/esm/eds-frame.entry.js +1 -1
- package/dist/esm/eds-gauge.entry.js +1 -1
- package/dist/esm/eds-gitlab-contributors.entry.js +35 -32
- package/dist/esm/eds-icon-bluesky.entry.js +1 -1
- package/dist/esm/eds-icon-eu.entry.js +1 -1
- package/dist/esm/eds-icon-facebook.entry.js +1 -1
- package/dist/esm/eds-icon-gitlab.entry.js +1 -1
- package/dist/esm/eds-icon-linkedin.entry.js +1 -1
- package/dist/esm/eds-icon-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/{components/eds-input-search2.js → esm/eds-input-search.entry.js} +9 -39
- package/dist/esm/eds-modal.entry.js +18 -9
- package/dist/esm/eds-pie.entry.js +2 -2
- package/dist/esm/eds-section-core_2.entry.js +3 -3
- package/dist/esm/eds-timeline.entry.js +1 -1
- package/dist/esm/eds-toast-manager.entry.js +1 -1
- package/dist/esm/eds-trl-badge.entry.js +180 -0
- package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
- package/dist/esm/index-870ab08f.js +10 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/logo-space.entry.js +58 -1
- 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 +1 -1
- package/dist/esm/svg-repository.entry.js +1 -1
- package/dist/esm/token-list_3.entry.js +3 -3
- 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 +8 -2
- package/dist/hydrate/index.js +1616 -397
- package/dist/hydrate/index.mjs +1616 -397
- package/dist/types/components/eds-accordion/eds-accordion.stories.d.ts +4 -8
- package/dist/types/components/eds-alert/eds-alert.stories.d.ts +7 -73
- package/dist/types/components/eds-button/eds-button.d.ts +1 -1
- package/dist/types/components/eds-dropdown/eds-dropdown.d.ts +1 -0
- package/dist/types/components/eds-footer/eds-footer.d.ts +84 -55
- package/dist/types/components/eds-footer/eds-footer.stories.d.ts +62 -1
- package/dist/types/components/eds-form/eds-form.d.ts +66 -0
- package/dist/types/components/eds-form/eds-form.stories.d.ts +63 -0
- package/dist/types/components/eds-header/eds-header.stories.d.ts +6 -6
- package/dist/types/components/eds-icon-wrapper/eds-icon-wrapper.d.ts +8 -0
- package/dist/types/components/eds-img/eds-img.stories.d.ts +6 -20
- package/dist/types/components/eds-input-elements/eds-input/eds-input.d.ts +7 -0
- package/dist/types/components/eds-input-elements/eds-input-search/eds-input-search.stories.d.ts +36 -0
- package/dist/types/components/eds-input-field/eds-input-field.stories.d.ts +97 -38
- package/dist/types/components/eds-link/eds-link.stories.d.ts +9 -6
- package/dist/types/components/eds-logo/eds-logo.d.ts +11 -28
- package/dist/types/components/eds-logo/eds-logo.stories.d.ts +22 -2
- package/dist/types/components/eds-steps/eds-steps.d.ts +7 -0
- package/dist/types/components/eds-steps-v2/eds-steps-v2.d.ts +14 -1
- package/dist/types/components/eds-steps-v2/eds-steps-v2.stories.d.ts +40 -9
- package/dist/types/components/eds-switch/eds-switch.d.ts +6 -2
- package/dist/types/components/eds-switch/eds-switch.stories.d.ts +8 -0
- package/dist/types/components/eds-table/eds-table.d.ts +8 -14
- package/dist/types/components/eds-table/eds-table.stories.d.ts +0 -107
- package/dist/types/components/eds-tabs/eds-tabs.d.ts +10 -0
- package/dist/types/components/eds-toast/eds-toast.d.ts +33 -1
- package/dist/types/components/eds-toast/eds-toast.stories.d.ts +49 -1
- package/dist/types/components/eds-user/eds-user.d.ts +0 -2
- package/dist/types/components/eds-user/eds-user.stories.d.ts +5 -9
- package/dist/types/components.d.ts +715 -144
- package/dist/types/shared-ui/eds-global-search/eds-global-search.d.ts +12 -0
- package/dist/types/shared-ui/eds-kg-learning-resources/eds-kg-learning-resources.d.ts +60 -0
- package/dist/types/shared-ui/eds-search-select/eds-search-select.d.ts +98 -0
- package/dist/types/shared-ui/eds-search-select/eds-search-select.stories.d.ts +81 -0
- package/dist/types/shared-ui/eds-trl-badge/ebrains-mark.d.ts +7 -0
- package/dist/types/shared-ui/eds-trl-badge/eds-trl-badge.d.ts +54 -0
- package/dist/types/shared-ui/eds-trl-badge/eds-trl-badge.stories.d.ts +112 -0
- package/dist/types/utils/eds-form/safeFormat.d.ts +21 -0
- package/package.json +1 -1
- package/dist/components/p-0fe10e6c.entry.js +0 -1
- package/dist/components/p-18e852e1.entry.js +0 -1
- package/dist/components/p-3ccd6948.entry.js +0 -1
- package/dist/components/p-3d3841d6.entry.js +0 -1
- package/dist/components/p-3f38df99.entry.js +0 -1
- package/dist/components/p-527e71d0.entry.js +0 -1
- package/dist/components/p-55047f7f.entry.js +0 -9
- package/dist/components/p-64c23098.entry.js +0 -1
- package/dist/components/p-74b9c9a8.entry.js +0 -1
- package/dist/components/p-878f65a6.entry.js +0 -1
- package/dist/components/p-92f6d9c0.entry.js +0 -1
- package/dist/components/p-9eedf771.entry.js +0 -1
- package/dist/components/p-b4355cec.entry.js +0 -1
- package/dist/components/p-d2f17fac.entry.js +0 -1
- package/dist/components/p-db5eea95.entry.js +0 -1
- package/dist/components/p-e205c269.entry.js +0 -1
- package/dist/components/p-f55dd314.entry.js +0 -1
- package/dist/components/p-f88b5f21.entry.js +0 -1
|
@@ -23,6 +23,13 @@ export declare class EdsInput {
|
|
|
23
23
|
min?: number;
|
|
24
24
|
max?: number;
|
|
25
25
|
step?: number;
|
|
26
|
+
/**
|
|
27
|
+
* Explicit tabindex for the native input. Radio/checkbox groups
|
|
28
|
+
* inside the `eds-input-field` shadow root (delegatesFocus) get
|
|
29
|
+
* skipped by sequential keyboard navigation unless each input is
|
|
30
|
+
* explicitly in the tab order.
|
|
31
|
+
*/
|
|
32
|
+
inputTabIndex?: number;
|
|
26
33
|
innerVal: string | number;
|
|
27
34
|
maxLengthReached: boolean;
|
|
28
35
|
/**
|
package/dist/types/components/eds-input-elements/eds-input-search/eds-input-search.stories.d.ts
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: string;
|
|
4
|
+
argTypes: {
|
|
5
|
+
label: {
|
|
6
|
+
control: string;
|
|
7
|
+
description: string;
|
|
8
|
+
};
|
|
9
|
+
placeholder: {
|
|
10
|
+
control: string;
|
|
11
|
+
description: string;
|
|
12
|
+
};
|
|
13
|
+
value: {
|
|
14
|
+
control: string;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
disabled: {
|
|
18
|
+
control: string;
|
|
19
|
+
description: string;
|
|
20
|
+
};
|
|
21
|
+
required: {
|
|
22
|
+
control: string;
|
|
23
|
+
description: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
args: {
|
|
27
|
+
label: string;
|
|
28
|
+
placeholder: string;
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
required: boolean;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export default _default;
|
|
34
|
+
export declare const Default: {
|
|
35
|
+
render: (args: any) => string;
|
|
36
|
+
};
|
|
@@ -2,103 +2,162 @@ declare const _default: {
|
|
|
2
2
|
title: string;
|
|
3
3
|
component: string;
|
|
4
4
|
argTypes: {
|
|
5
|
-
|
|
5
|
+
type: {
|
|
6
6
|
control: string;
|
|
7
|
+
options: string[];
|
|
7
8
|
description: string;
|
|
9
|
+
table: {
|
|
10
|
+
category: string;
|
|
11
|
+
};
|
|
8
12
|
};
|
|
9
|
-
|
|
13
|
+
name: {
|
|
10
14
|
control: string;
|
|
11
15
|
description: string;
|
|
16
|
+
table: {
|
|
17
|
+
category: string;
|
|
18
|
+
};
|
|
12
19
|
};
|
|
13
|
-
|
|
20
|
+
label: {
|
|
14
21
|
control: string;
|
|
15
22
|
description: string;
|
|
23
|
+
table: {
|
|
24
|
+
category: string;
|
|
25
|
+
};
|
|
16
26
|
};
|
|
17
|
-
|
|
27
|
+
placeholder: {
|
|
18
28
|
control: string;
|
|
19
29
|
description: string;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
options: string[];
|
|
24
|
-
description: string;
|
|
30
|
+
table: {
|
|
31
|
+
category: string;
|
|
32
|
+
};
|
|
25
33
|
};
|
|
26
34
|
required: {
|
|
27
35
|
control: string;
|
|
28
36
|
description: string;
|
|
37
|
+
table: {
|
|
38
|
+
category: string;
|
|
39
|
+
};
|
|
29
40
|
};
|
|
30
|
-
|
|
31
|
-
control: string;
|
|
32
|
-
description: string;
|
|
33
|
-
};
|
|
34
|
-
hint: {
|
|
41
|
+
disabled: {
|
|
35
42
|
control: string;
|
|
36
43
|
description: string;
|
|
44
|
+
table: {
|
|
45
|
+
category: string;
|
|
46
|
+
};
|
|
37
47
|
};
|
|
38
|
-
|
|
48
|
+
error: {
|
|
39
49
|
control: string;
|
|
40
50
|
description: string;
|
|
51
|
+
table: {
|
|
52
|
+
category: string;
|
|
53
|
+
};
|
|
41
54
|
};
|
|
42
|
-
|
|
55
|
+
errorMessage: {
|
|
43
56
|
control: string;
|
|
44
57
|
description: string;
|
|
58
|
+
table: {
|
|
59
|
+
category: string;
|
|
60
|
+
};
|
|
45
61
|
};
|
|
46
|
-
|
|
62
|
+
checked: {
|
|
47
63
|
control: string;
|
|
48
64
|
description: string;
|
|
65
|
+
table: {
|
|
66
|
+
category: string;
|
|
67
|
+
};
|
|
68
|
+
if: {
|
|
69
|
+
arg: string;
|
|
70
|
+
eq: string;
|
|
71
|
+
};
|
|
49
72
|
};
|
|
50
|
-
|
|
73
|
+
hint: {
|
|
51
74
|
control: string;
|
|
52
75
|
description: string;
|
|
76
|
+
table: {
|
|
77
|
+
category: string;
|
|
78
|
+
};
|
|
53
79
|
};
|
|
54
|
-
|
|
80
|
+
message: {
|
|
55
81
|
control: string;
|
|
56
82
|
description: string;
|
|
83
|
+
table: {
|
|
84
|
+
category: string;
|
|
85
|
+
};
|
|
57
86
|
};
|
|
58
|
-
|
|
59
|
-
control:
|
|
87
|
+
icon: {
|
|
88
|
+
control: {
|
|
89
|
+
type: string;
|
|
90
|
+
};
|
|
91
|
+
options: string[];
|
|
60
92
|
description: string;
|
|
93
|
+
table: {
|
|
94
|
+
category: string;
|
|
95
|
+
};
|
|
61
96
|
};
|
|
62
|
-
|
|
97
|
+
link: {
|
|
63
98
|
control: string;
|
|
64
99
|
description: string;
|
|
100
|
+
table: {
|
|
101
|
+
category: string;
|
|
102
|
+
};
|
|
65
103
|
};
|
|
66
|
-
|
|
104
|
+
maxLength: {
|
|
67
105
|
control: string;
|
|
68
106
|
description: string;
|
|
107
|
+
table: {
|
|
108
|
+
category: string;
|
|
109
|
+
};
|
|
69
110
|
};
|
|
70
|
-
|
|
111
|
+
min: {
|
|
71
112
|
control: string;
|
|
72
113
|
description: string;
|
|
114
|
+
table: {
|
|
115
|
+
category: string;
|
|
116
|
+
};
|
|
73
117
|
};
|
|
74
|
-
|
|
118
|
+
max: {
|
|
75
119
|
control: string;
|
|
76
120
|
description: string;
|
|
121
|
+
table: {
|
|
122
|
+
category: string;
|
|
123
|
+
};
|
|
77
124
|
};
|
|
78
|
-
|
|
125
|
+
step: {
|
|
79
126
|
control: string;
|
|
80
127
|
description: string;
|
|
128
|
+
table: {
|
|
129
|
+
category: string;
|
|
130
|
+
};
|
|
81
131
|
};
|
|
82
132
|
options: {
|
|
83
133
|
control: string;
|
|
84
134
|
description: string;
|
|
135
|
+
table: {
|
|
136
|
+
category: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
args: {
|
|
141
|
+
name: string;
|
|
142
|
+
placeholder: string;
|
|
143
|
+
type: string;
|
|
144
|
+
required: boolean;
|
|
145
|
+
label: string;
|
|
146
|
+
hint: string;
|
|
147
|
+
message: string;
|
|
148
|
+
icon: string;
|
|
149
|
+
link: {
|
|
150
|
+
url: string;
|
|
151
|
+
label: string;
|
|
85
152
|
};
|
|
86
153
|
};
|
|
87
154
|
};
|
|
88
155
|
export default _default;
|
|
89
|
-
export declare const
|
|
90
|
-
export declare const PasswordInputWithHint: any;
|
|
91
|
-
export declare const TextInputWithError: any;
|
|
156
|
+
export declare const Default: any;
|
|
92
157
|
export declare const CheckboxGroup: any;
|
|
93
158
|
export declare const RadioButtonGroup: any;
|
|
94
159
|
export declare const SelectDropdown: any;
|
|
95
160
|
export declare const FileUpload: any;
|
|
96
|
-
export declare const
|
|
97
|
-
export declare const
|
|
98
|
-
export declare const
|
|
99
|
-
export declare const InputWithMessage: any;
|
|
100
|
-
export declare const InputWithMaxLength: any;
|
|
101
|
-
export declare const InputWithValue: any;
|
|
102
|
-
export declare const CheckboxSingle: any;
|
|
103
|
-
export declare const RadioButtonSingle: any;
|
|
104
|
-
export declare const InputWithCustomIcon: any;
|
|
161
|
+
export declare const Dropzone: any;
|
|
162
|
+
export declare const NumberInput: any;
|
|
163
|
+
export declare const RangeSlider: any;
|
|
@@ -12,7 +12,10 @@ declare const _default: {
|
|
|
12
12
|
description: string;
|
|
13
13
|
};
|
|
14
14
|
icon: {
|
|
15
|
-
control:
|
|
15
|
+
control: {
|
|
16
|
+
type: string;
|
|
17
|
+
};
|
|
18
|
+
options: string[];
|
|
16
19
|
description: string;
|
|
17
20
|
};
|
|
18
21
|
iconSmall: {
|
|
@@ -24,6 +27,10 @@ declare const _default: {
|
|
|
24
27
|
options: string[];
|
|
25
28
|
description: string;
|
|
26
29
|
};
|
|
30
|
+
pill: {
|
|
31
|
+
control: string;
|
|
32
|
+
description: string;
|
|
33
|
+
};
|
|
27
34
|
external: {
|
|
28
35
|
control: string;
|
|
29
36
|
description: string;
|
|
@@ -40,10 +47,6 @@ declare const _default: {
|
|
|
40
47
|
control: string;
|
|
41
48
|
description: string;
|
|
42
49
|
};
|
|
43
|
-
ariaLabel: {
|
|
44
|
-
control: string;
|
|
45
|
-
description: string;
|
|
46
|
-
};
|
|
47
50
|
download: {
|
|
48
51
|
control: string;
|
|
49
52
|
description: string;
|
|
@@ -55,11 +58,11 @@ declare const _default: {
|
|
|
55
58
|
size: string;
|
|
56
59
|
icon: string;
|
|
57
60
|
iconSmall: boolean;
|
|
61
|
+
pill: boolean;
|
|
58
62
|
external: boolean;
|
|
59
63
|
current: boolean;
|
|
60
64
|
disabled: boolean;
|
|
61
65
|
url: string;
|
|
62
|
-
ariaLabel: string;
|
|
63
66
|
download: boolean;
|
|
64
67
|
};
|
|
65
68
|
};
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* `EdsLogo`
|
|
3
|
-
*
|
|
4
|
-
* Key Features:
|
|
5
|
-
* - Supports various logo styles and orientations.
|
|
6
|
-
* - Emits a custom `matomoEvent` for tracking click interactions.
|
|
2
|
+
* `EdsLogo` renders the clickable EBRAINS brand mark (inline SVG).
|
|
7
3
|
*
|
|
8
4
|
* Props:
|
|
9
|
-
* - `
|
|
10
|
-
*
|
|
11
|
-
* - `
|
|
5
|
+
* - `variant` (attribute `type`): `'positive'` (dark logo for light
|
|
6
|
+
* backgrounds) or `'negative'` (light logo for dark backgrounds).
|
|
7
|
+
* - `href`: where the logo links to (defaults to `/`). The logo is the
|
|
8
|
+
* click-to-home affordance in eds-header, eds-fullscreen-menu and the
|
|
9
|
+
* eds-form brand hero.
|
|
12
10
|
*
|
|
13
|
-
*
|
|
14
|
-
* - `matomoEvent`: Emitted when the logo is clicked, carrying metadata for analytics tracking, including the event `category`, `tag`, `name`, and `action`.
|
|
11
|
+
* Clicks emit an analytics event (category/tag/name/action).
|
|
15
12
|
*
|
|
16
|
-
*
|
|
13
|
+
* NOTE: the SVG has a viewBox but no intrinsic width, so the host needs a
|
|
14
|
+
* sized block parent to render (e.g. eds-header wraps it in a fixed-width
|
|
15
|
+
* container).
|
|
17
16
|
*/
|
|
18
17
|
export declare class EdsLogo {
|
|
19
18
|
/**
|
|
@@ -22,34 +21,18 @@ export declare class EdsLogo {
|
|
|
22
21
|
* Defaults to the root path ('/').
|
|
23
22
|
*/
|
|
24
23
|
href: string;
|
|
25
|
-
/**
|
|
26
|
-
* The orientation of the logo to display.
|
|
27
|
-
* - `"horizontal"` displays the logo horizontally.
|
|
28
|
-
* - `"vertical"` displays the logo vertically.
|
|
29
|
-
* */
|
|
30
|
-
orientation: 'horizontal' | 'vertical';
|
|
31
24
|
/**
|
|
32
25
|
* The visual variant of the logo.
|
|
33
26
|
* `'positive'` for dark logo on light backgrounds, `'negative'` for light logo on dark backgrounds.
|
|
34
27
|
*/
|
|
35
28
|
variant: 'positive' | 'negative';
|
|
36
|
-
label: string;
|
|
37
29
|
/**
|
|
38
30
|
* Reference to the host element of this component.
|
|
39
31
|
*/
|
|
40
32
|
el: HTMLElement;
|
|
41
33
|
/**
|
|
42
|
-
*
|
|
43
|
-
* Emits a `matomoEvent` for analytics tracking with details about the interaction.
|
|
44
|
-
* - `category`: Component type (e.g., "ui-component").
|
|
45
|
-
* - `tag`: The HTML tag name of the component.
|
|
46
|
-
* - `name`: Event name, set as "logo".
|
|
47
|
-
* - `action`: The action, set as "click".
|
|
34
|
+
* Emits an analytics event when the logo link is clicked.
|
|
48
35
|
*/
|
|
49
36
|
private handleClick;
|
|
50
|
-
/**
|
|
51
|
-
* Determines the appropriate SVG content based on the `orientation` and `type` props.
|
|
52
|
-
*/
|
|
53
|
-
private getLogo;
|
|
54
37
|
render(): any;
|
|
55
38
|
}
|
|
@@ -1,7 +1,27 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
title: string;
|
|
3
3
|
component: string;
|
|
4
|
-
argTypes: {
|
|
4
|
+
argTypes: {
|
|
5
|
+
variant: {
|
|
6
|
+
control: string;
|
|
7
|
+
options: string[];
|
|
8
|
+
description: string;
|
|
9
|
+
};
|
|
10
|
+
href: {
|
|
11
|
+
control: string;
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
args: {
|
|
16
|
+
variant: string;
|
|
17
|
+
href: string;
|
|
18
|
+
};
|
|
5
19
|
};
|
|
6
20
|
export default _default;
|
|
7
|
-
export declare const Default:
|
|
21
|
+
export declare const Default: {
|
|
22
|
+
render: (args: any) => string;
|
|
23
|
+
};
|
|
24
|
+
/** Both variants side by side, on their intended surfaces. */
|
|
25
|
+
export declare const Variants: {
|
|
26
|
+
render: () => string;
|
|
27
|
+
};
|
|
@@ -37,6 +37,11 @@ export declare class EdsSteps {
|
|
|
37
37
|
handleDisableNextChange(newValue: boolean | boolean[] | string): void;
|
|
38
38
|
/** Index of the currently active step (linear mode). Starts at `0`. */
|
|
39
39
|
activeStep: number;
|
|
40
|
+
/** Tracks small screens so nav buttons shrink and use compact icons. */
|
|
41
|
+
isMobile: boolean;
|
|
42
|
+
private onResize;
|
|
43
|
+
/** Nav button size: comfortable on desktop, compact on mobile. */
|
|
44
|
+
private get navBtnSize();
|
|
40
45
|
step: EventEmitter<number>;
|
|
41
46
|
finished: EventEmitter<void>;
|
|
42
47
|
next: EventEmitter<number>;
|
|
@@ -44,6 +49,8 @@ export declare class EdsSteps {
|
|
|
44
49
|
/** Reference to the host element */
|
|
45
50
|
el: HTMLElement;
|
|
46
51
|
componentWillLoad(): void;
|
|
52
|
+
connectedCallback(): void;
|
|
53
|
+
disconnectedCallback(): void;
|
|
47
54
|
componentDidLoad(): void;
|
|
48
55
|
activeStepChanged(newValue: number): void;
|
|
49
56
|
emitContext(linkElement: HTMLElement): void;
|
|
@@ -26,6 +26,12 @@ export declare class EdsStepsV2 {
|
|
|
26
26
|
finishLabel: string;
|
|
27
27
|
/** Show or hide the finish button on the last step */
|
|
28
28
|
showFinish: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Whether the stepper draws its own bordered card. Default true. Set to false
|
|
31
|
+
* when the host already provides the card chrome (e.g. a multi-step form whose
|
|
32
|
+
* form-style border lives on an outer wrapper) to avoid a double border.
|
|
33
|
+
*/
|
|
34
|
+
card: boolean;
|
|
29
35
|
/**
|
|
30
36
|
* Disable Next/Finish (boolean or per-step boolean[]). Also accepts a JSON array string.
|
|
31
37
|
* @attr disable-next
|
|
@@ -35,6 +41,11 @@ export declare class EdsStepsV2 {
|
|
|
35
41
|
headingLevel: 'h3' | 'h4' | 'h5';
|
|
36
42
|
/** Current step index (linear mode) */
|
|
37
43
|
activeStep: number;
|
|
44
|
+
/** Tracks small screens so the nav buttons shrink (large is chunky on mobile). */
|
|
45
|
+
isMobile: boolean;
|
|
46
|
+
private onResize;
|
|
47
|
+
/** Nav button size: comfortable on desktop, compact on mobile. */
|
|
48
|
+
private get navBtnSize();
|
|
38
49
|
/** Fired whenever the active step changes. Payload: current step index. */
|
|
39
50
|
step: EventEmitter<number>;
|
|
40
51
|
/** Fired when user clicks Finish on the last step. */
|
|
@@ -48,9 +59,11 @@ export declare class EdsStepsV2 {
|
|
|
48
59
|
handleDisableNextChange(newValue: boolean | boolean[] | string): void;
|
|
49
60
|
activeStepChanged(newValue: number): void;
|
|
50
61
|
componentWillLoad(): void;
|
|
62
|
+
connectedCallback(): void;
|
|
63
|
+
disconnectedCallback(): void;
|
|
51
64
|
componentDidLoad(): void;
|
|
52
65
|
emitContext(linkElement: HTMLElement): void;
|
|
53
|
-
articleClasses():
|
|
66
|
+
articleClasses(): "border-softer relative rounded-lg border-2" | "relative";
|
|
54
67
|
private get parsedSteps();
|
|
55
68
|
private isStepDisabled;
|
|
56
69
|
private isNextDisabledFor;
|
|
@@ -5,10 +5,6 @@ declare const _default: {
|
|
|
5
5
|
steps: {
|
|
6
6
|
control: string;
|
|
7
7
|
description: string;
|
|
8
|
-
defaultValue: {
|
|
9
|
-
title: string;
|
|
10
|
-
content: string;
|
|
11
|
-
}[];
|
|
12
8
|
};
|
|
13
9
|
orientation: {
|
|
14
10
|
control: {
|
|
@@ -21,16 +17,27 @@ declare const _default: {
|
|
|
21
17
|
control: string;
|
|
22
18
|
options: string[];
|
|
23
19
|
description: string;
|
|
24
|
-
|
|
20
|
+
};
|
|
21
|
+
theme: {
|
|
22
|
+
control: string;
|
|
23
|
+
options: string[];
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
card: {
|
|
27
|
+
control: string;
|
|
28
|
+
description: string;
|
|
29
|
+
};
|
|
30
|
+
disableNext: {
|
|
31
|
+
control: string;
|
|
32
|
+
description: string;
|
|
25
33
|
};
|
|
26
34
|
imageSrc: {
|
|
27
35
|
control: string;
|
|
28
36
|
description: string;
|
|
29
37
|
};
|
|
30
|
-
|
|
38
|
+
imageWidth: {
|
|
31
39
|
control: string;
|
|
32
40
|
description: string;
|
|
33
|
-
defaultValue: boolean;
|
|
34
41
|
};
|
|
35
42
|
message: {
|
|
36
43
|
control: string;
|
|
@@ -43,7 +50,6 @@ declare const _default: {
|
|
|
43
50
|
};
|
|
44
51
|
options: string[];
|
|
45
52
|
description: string;
|
|
46
|
-
defaultValue: string;
|
|
47
53
|
};
|
|
48
54
|
nextLabel: {
|
|
49
55
|
control: string;
|
|
@@ -69,8 +75,11 @@ declare const _default: {
|
|
|
69
75
|
}[];
|
|
70
76
|
orientation: string;
|
|
71
77
|
type: string;
|
|
78
|
+
theme: string;
|
|
79
|
+
card: boolean;
|
|
80
|
+
disableNext: boolean;
|
|
72
81
|
imageSrc: string;
|
|
73
|
-
|
|
82
|
+
imageWidth: any;
|
|
74
83
|
message: string;
|
|
75
84
|
headingLevel: string;
|
|
76
85
|
nextLabel: string;
|
|
@@ -84,3 +93,25 @@ export declare const Static: any;
|
|
|
84
93
|
export declare const WithMessage: any;
|
|
85
94
|
export declare const Linear: any;
|
|
86
95
|
export declare const LinearHorizontal: any;
|
|
96
|
+
export declare const BrandTheme: {
|
|
97
|
+
({ steps, disableNext }: {
|
|
98
|
+
steps: any;
|
|
99
|
+
disableNext: any;
|
|
100
|
+
}): import("lit-html").TemplateResult<1>;
|
|
101
|
+
storyName: string;
|
|
102
|
+
args: {
|
|
103
|
+
steps: {
|
|
104
|
+
title: string;
|
|
105
|
+
content: string;
|
|
106
|
+
}[];
|
|
107
|
+
disableNext: boolean;
|
|
108
|
+
};
|
|
109
|
+
parameters: {
|
|
110
|
+
docs: {
|
|
111
|
+
description: {
|
|
112
|
+
story: string;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
export declare const DisabledNext: any;
|
|
@@ -17,9 +17,13 @@ export declare class EdsSwitch {
|
|
|
17
17
|
*/
|
|
18
18
|
labelOff: string;
|
|
19
19
|
/**
|
|
20
|
-
* Variant of the switch:
|
|
20
|
+
* Variant of the switch:
|
|
21
|
+
* - 'toggle' (default): the classic on/off switch
|
|
22
|
+
* - 'segmented': pill-style buttons — light container, green active pill
|
|
23
|
+
* - 'segmented-dark': pill-style buttons — white container with a hairline
|
|
24
|
+
* border and a dark (brand-black) active pill
|
|
21
25
|
*/
|
|
22
|
-
variant: 'toggle' | 'segmented';
|
|
26
|
+
variant: 'toggle' | 'segmented' | 'segmented-dark';
|
|
23
27
|
/**
|
|
24
28
|
* Emitted when the switch is toggled.
|
|
25
29
|
*/
|
|
@@ -72,6 +72,14 @@ export declare const SegmentedChecked: {
|
|
|
72
72
|
labelOff: string;
|
|
73
73
|
};
|
|
74
74
|
};
|
|
75
|
+
export declare const SegmentedDark: {
|
|
76
|
+
render: (args: any) => string;
|
|
77
|
+
args: {
|
|
78
|
+
labelOn: string;
|
|
79
|
+
labelOff: string;
|
|
80
|
+
checked: boolean;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
75
83
|
export declare const SegmentedDisabled: {
|
|
76
84
|
render: (args: any) => string;
|
|
77
85
|
args: {
|
|
@@ -81,13 +81,6 @@ export declare class EdsTable {
|
|
|
81
81
|
/** Enable or disable search input for filtering */
|
|
82
82
|
searchEnabled: boolean;
|
|
83
83
|
hostWidth?: string;
|
|
84
|
-
/**
|
|
85
|
-
* Optional property to control the column sizing mode.
|
|
86
|
-
* - 'default' uses containerWidth / visibleColumns.
|
|
87
|
-
* - 'medium' divides that result by 2.
|
|
88
|
-
* - 'large' divides that result by 4.
|
|
89
|
-
*/
|
|
90
|
-
columnSize?: 'default' | 'medium' | 'large';
|
|
91
84
|
/**
|
|
92
85
|
* Array of actions to render in each row. Can be passed as a JSON string or as a `TableAction[]`.
|
|
93
86
|
*
|
|
@@ -118,12 +111,15 @@ export declare class EdsTable {
|
|
|
118
111
|
/** Enable or disable column sorting */
|
|
119
112
|
sortingEnabled: boolean;
|
|
120
113
|
/**
|
|
121
|
-
* Theme for table styling
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
114
|
+
* Theme for table styling.
|
|
115
|
+
*
|
|
116
|
+
* The 'default' (no background) and 'color' (alternating rows) themes are
|
|
117
|
+
* DISABLED — the table now always renders the EBRAINS 'brand' theme (modern
|
|
118
|
+
* styling, hover, green accents). The prop is kept for API compatibility but
|
|
119
|
+
* is coerced to 'brand' in componentWillLoad(), so any value a consumer
|
|
120
|
+
* passes is ignored.
|
|
125
121
|
*/
|
|
126
|
-
theme: '
|
|
122
|
+
theme: 'brand';
|
|
127
123
|
/**
|
|
128
124
|
* View mode for displaying data:
|
|
129
125
|
* - 'table': Traditional table layout (default)
|
|
@@ -191,8 +187,6 @@ export declare class EdsTable {
|
|
|
191
187
|
private emitAction;
|
|
192
188
|
private shouldEnablePagination;
|
|
193
189
|
private updateColumns;
|
|
194
|
-
private getVisibleColumnsCount;
|
|
195
|
-
private divisionFactor;
|
|
196
190
|
private capitalize;
|
|
197
191
|
private onActionKeyDown;
|
|
198
192
|
private handleSort;
|