@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
|
@@ -17,7 +17,7 @@ export class DocsPalettes {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return h("div", { key: '
|
|
20
|
+
return h("div", { key: 'bebc4aab533ad7f61012cae48372420c7fef2e69', class: "container" }, this.renderContent());
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "docs-palettes"; }
|
|
23
23
|
static get properties() {
|
|
@@ -4,7 +4,64 @@ import { h } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class LogoSpace {
|
|
6
6
|
render() {
|
|
7
|
-
return (h("div", { key: '
|
|
7
|
+
return (h("div", { key: 'd8adaf2c085aef0029453aef21a527c8e2677ca5', class: "container" }, h("ul", { key: 'f9919afa9a7788769934fa408e3647f409ad436b', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '4defd03de432869a1acd5735011b6dbbbb18b6a8', class: "grid-col-span-6 xxl:grid-col-span-3 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'fa018de1f0dcbfc32dc6ed5e00618bf238c7e928', class: "logo-clear-space mx-auto", style: { position: 'relative', padding: '2.5rem', background: '#f5f5f5', borderRadius: '8px' } }, h("div", { key: 'd275d9edb872b43a183e8a76b1c9531d981d585c', style: {
|
|
8
|
+
position: 'absolute',
|
|
9
|
+
top: '0',
|
|
10
|
+
left: '50%',
|
|
11
|
+
transform: 'translateX(-50%)',
|
|
12
|
+
display: 'flex',
|
|
13
|
+
flexDirection: 'column',
|
|
14
|
+
alignItems: 'center'
|
|
15
|
+
} }, h("span", { key: '11163f214005427e024b04ce1df24f41b8145f57', style: {
|
|
16
|
+
fontSize: '11px',
|
|
17
|
+
fontWeight: '600',
|
|
18
|
+
color: '#00C87B',
|
|
19
|
+
fontFamily: 'IBM Plex Mono, monospace'
|
|
20
|
+
} }, "E"), h("div", { key: 'ef4d8d4f7318eba7a9e4cfc8f32119d2c9e23477', style: { width: '1px', height: '12px', borderLeft: '1px dashed #00C87B' } })), h("div", { key: 'ffe1a1ae439d3fd9b129acd336e75aa19624c2b6', style: {
|
|
21
|
+
position: 'absolute',
|
|
22
|
+
bottom: '0',
|
|
23
|
+
left: '50%',
|
|
24
|
+
transform: 'translateX(-50%)',
|
|
25
|
+
display: 'flex',
|
|
26
|
+
flexDirection: 'column',
|
|
27
|
+
alignItems: 'center'
|
|
28
|
+
} }, h("div", { key: '7b8342fd5b5202dfaa6da0665d91bcd3a47f79a7', style: { width: '1px', height: '12px', borderLeft: '1px dashed #00C87B' } }), h("span", { key: '4efc55d4f8a642acfb77a571694ea05460d12594', style: {
|
|
29
|
+
fontSize: '11px',
|
|
30
|
+
fontWeight: '600',
|
|
31
|
+
color: '#00C87B',
|
|
32
|
+
fontFamily: 'IBM Plex Mono, monospace'
|
|
33
|
+
} }, "E")), h("div", { key: '70eb593013f530ef57f9794266ec8909d6f6bbd8', style: {
|
|
34
|
+
position: 'absolute',
|
|
35
|
+
left: '4px',
|
|
36
|
+
top: '50%',
|
|
37
|
+
transform: 'translateY(-50%)',
|
|
38
|
+
display: 'flex',
|
|
39
|
+
alignItems: 'center'
|
|
40
|
+
} }, h("span", { key: 'eeaf30fd53b36844e52b2e92142b8f8adbaacca2', style: {
|
|
41
|
+
fontSize: '11px',
|
|
42
|
+
fontWeight: '600',
|
|
43
|
+
color: '#00C87B',
|
|
44
|
+
fontFamily: 'IBM Plex Mono, monospace'
|
|
45
|
+
} }, "E"), h("div", { key: '27682de58b8ac8bf1d7f17d25ab4e2429e7c5897', style: { height: '1px', width: '12px', borderTop: '1px dashed #00C87B' } })), h("div", { key: 'ced953919078e5ddd4b5c70d750693b89e4d8cbc', style: {
|
|
46
|
+
position: 'absolute',
|
|
47
|
+
right: '4px',
|
|
48
|
+
top: '50%',
|
|
49
|
+
transform: 'translateY(-50%)',
|
|
50
|
+
display: 'flex',
|
|
51
|
+
alignItems: 'center'
|
|
52
|
+
} }, h("div", { key: '4fe3e43ca20645c3631119cf089aa9f3d83be1f4', style: { height: '1px', width: '12px', borderTop: '1px dashed #00C87B' } }), h("span", { key: '27ca09a454a253730b7cb1ac4246b36c54748745', style: {
|
|
53
|
+
fontSize: '11px',
|
|
54
|
+
fontWeight: '600',
|
|
55
|
+
color: '#00C87B',
|
|
56
|
+
fontFamily: 'IBM Plex Mono, monospace'
|
|
57
|
+
} }, "E")), h("div", { key: 'df5159d9341ceebeaca350e5589a59c5f14c8b9a', style: {
|
|
58
|
+
border: '1px dashed rgba(0, 200, 123, 0.5)',
|
|
59
|
+
borderRadius: '4px',
|
|
60
|
+
padding: '1rem',
|
|
61
|
+
display: 'flex',
|
|
62
|
+
alignItems: 'center',
|
|
63
|
+
justifyContent: 'center'
|
|
64
|
+
} }, h("eds-logo", { key: '1fe938ec424cf65abffa2b1421f9e5ad5fd7f29a', variant: "positive", href: "#", style: { display: 'block', width: '250px' } })))), h("li", { key: '7db8f82af5f6231048d040d8d96c6c8aabada665', class: "grid-col-span-6 xxl:grid-col-span-3 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: '8912e3482e1590b4f0cbcf1a8d3a02492b24c2f1', class: "text-center mt-16" }, h("p", { key: '94c6b05c888b177afcce6f0eb8ee2c8b0328a89d', class: "f-body-01" }, "To ensure legibility, follow these minimum size guidelines:"), h("eds-table", { key: 'b02c7b046b2b11effc65ff9c889a962b3b6bd2f5', data: '[\n { "Media": "Print", "Min Size": "0.75 cm" },\n { "Media": "Web", "Min Size": "29 px" }\n ]', config: '{\n "Media": { "format": "bold" }\n }' }))))));
|
|
8
65
|
}
|
|
9
66
|
static get is() { return "logo-space"; }
|
|
10
67
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js
CHANGED
|
@@ -4,7 +4,7 @@ import { h } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class LogoVariationsHorizontal {
|
|
6
6
|
render() {
|
|
7
|
-
return (h("div", { key: '
|
|
7
|
+
return (h("div", { key: '5011adf9e8af3aac24dca24120996b52643e601b', class: "container" }, h("ul", { key: '2b8d7d8ea5c09140279d199372dd06e336e78bc1', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'eaeac5d7de69e2b8a745d4961fb26cf411f4cf91', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: '44c29035848feb5380b5efb20b37e5f86d65314f', class: "f-body-01 text-center my-4" }, "#1 Positive"), h("div", { key: 'b438024e4b9fe2ede6e1d8193d5021f84d78baeb', class: "coloured" }, h("eds-logo", { key: '196ccaa50454d4b26c14d7187736fec16f89349a', variant: "positive", href: "#" }))), h("li", { key: '9eb5bbaf4081f2265ea60d2d2099ca039f190389', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: '9b95ee3022aafc4c68ea8bed146dd3780b9ef4f2', class: "f-body-01 text-center my-4" }, "#2 Negative"), h("div", { key: '137e1f0451b41bb66c36151e6967e14002bde4ac', class: "bg-default" }, h("eds-logo", { key: '9d97fade01d3e8b59e69d4ba6758ee41f84ef571', variant: "negative", href: "#" }))))));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "logo-variations-horizontal"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js
CHANGED
|
@@ -8,7 +8,7 @@ export class LogoVariationsVertical {
|
|
|
8
8
|
this.type = undefined;
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h("div", { key: '
|
|
11
|
+
return (h("div", { key: '67acdc82a0e7dbc0aa07e6607d31c81939ee5d7a', class: "container" }, h("ul", { key: '8c7eb2ee978a402cd85c570e61eb523721dffdd9', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'f6620aaf501e6dc5168e5d0d2baa238ce82680fa', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: 'abeb6b64713250a61476e2947dae5490ca18afea', class: "f-body-01 text-center my-4" }, "#1 Positive"), h("div", { key: '825f3020ce0e73ac80b78e2bbb898c26cb1d2190', class: "mx-auto coloured w-[300px]" }, h("eds-logo", { key: '6aaa41b6beaf9fbcdcce1c6f3130a4db3c97afb4', variant: "positive", href: "#" }))), h("li", { key: '91db370167cecb19689bc2b13d7155a906d14a12', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: 'b44bf3c628adf0d1f5ca3c1e9dc48e5a6b09a9ee', class: "f-body-01 text-center my-4" }, "#2 Negative"), h("div", { key: '3e9ffec9903d8cfdb38ca64c8a69c201024f593d', class: "mx-auto bg-default w-[300px]" }, h("eds-logo", { key: 'cfb79e36eb78bd046c783cc4f210febfe30e28e9', variant: "negative", href: "#" }))))));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "logo-variations-vertical"; }
|
|
14
14
|
static get encapsulation() { return "shadow"; }
|
|
@@ -17,7 +17,7 @@ export class LogoVariationsTabs {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return h("div", { key: '
|
|
20
|
+
return h("div", { key: '5be7df6877ce83e4cdf3652b6e66640e90fb3081', class: "container" }, this.renderContent());
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "logo-variations-tabs"; }
|
|
23
23
|
static get properties() {
|
|
@@ -5,7 +5,7 @@ import { logoPositive } from "../../../../../../../../packages/svgs/src/index";
|
|
|
5
5
|
*/
|
|
6
6
|
export class LogoWrongUsage {
|
|
7
7
|
render() {
|
|
8
|
-
return (h("div", { key: '
|
|
8
|
+
return (h("div", { key: 'f2917e2a6ea6fb5e2eb31dd1bc915a20256ff676', class: "container" }, h("ul", { key: 'd80a9c848c64f2603fa0aef5dd6cde3e9947eb64', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'acbdc5eba5aa42a629e0af955b8b05b693c04280', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'ee377c6fc03df3ea4d36de8f488ff0e3d01795f0', class: "mx-auto no-other-bg-color logo", innerHTML: logoPositive }), h("p", { key: 'ff57d7ac90e5dc0fd03aa3cce651f8a7b05f4215', class: "f-ui-02 text-center" }, "Do not use with backgrounds that make legibility difficult")), h("li", { key: '39ff08699d8640290f529f2bf3bee718770f452a', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: '9f718c4ff9148444c2b039c4afba117fd84959bf', class: "mx-auto no-other-color logo non-brand-color", innerHTML: logoPositive }), h("p", { key: '263702a71e19f66e5e133d50ff5a05d78334aa22', class: "f-ui-02 text-center" }, "Do not apply other colors")), h("li", { key: '18261985b96396ab2b6fc2a782acd101565756de', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'f6cd02054601479517153821e15c51c07aac549d', class: "mx-auto distorted logo", innerHTML: logoPositive }), h("p", { key: 'cdfd4f9640d3f85a96f194b146a63ff39fb02be6', class: "f-ui-02 text-center" }, "Do not deform the logo")), h("li", { key: '609660c30557cebaa4798f7f13706cf62c5985ce', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: '80c7f31b812f42ae2de7ab04e8ab237bd09d5951', class: "mx-auto effects logo", innerHTML: logoPositive }), h("p", { key: 'a0ef2f9c5358be703f6e997bf7f2d865ac7e743b', class: "f-ui-02 text-center" }, "Do not apply effects")), h("li", { key: '52d87ca2b6fc2bd650f5051dae0a98a54b9c8681', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: '78af2276be724f7e989ad46698de80679759d614', class: "mx-auto rotated logo", innerHTML: logoPositive }), h("p", { key: '8fe1680390e358afd2febdac98a5b91f043e3ce3', class: "f-ui-02 text-center" }, "Do not rotate the logo")), h("li", { key: 'dc503648d2ed6aa8b116cd5a3bdcfcf8fdabbe7c', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'b33e68a6e1ea1a21cab8832b46fc8a6305151edf', class: "mx-auto outlined logo", innerHTML: logoPositive }), h("p", { key: '59f356aa9af489175849716b43903567acbb202d', class: "f-ui-02 text-center" }, "Do not apply outlines")), h("li", { key: '9754f0dc1a175ede68a9caf494d2e603e06f9bf1', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: '1636ab42d0f934b54e44b55c67f99c6f936b02d5', class: "mx-auto" }, h("div", { key: '710300090e0862499e6d712b1155275a1a58ea18', class: "bg-accent p-16" }, h("div", { key: '71792d037786e7cd5321e969fca8421422daa387', class: "text-inverse", innerHTML: logoPositive })), h("p", { key: '185980c11a566e4ad84dfbf5d0c063f1730b2f3b', class: "f-ui-02 text-center" }, "Do not use the green background for the logo version of the logo with backgrounds with the same tones"))))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "logo-wrong-usage"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -25,7 +25,7 @@ export class SvgRepository {
|
|
|
25
25
|
icon: { format: 'svg' },
|
|
26
26
|
name: { format: 'bold' }
|
|
27
27
|
};
|
|
28
|
-
return (h("div", { key: '
|
|
28
|
+
return (h("div", { key: '623499f3d4e926067be51c7049442ea1d0782439', class: "full-width" }, h("eds-table", { key: 'cec77964e4c9c9e0876f2db6e5a199220be58b7c', "table-data": JSON.stringify(svgData), config: JSON.stringify(tableConfig), "rows-per-page": 10, "search-enabled": true, "pagination-enabled": true })));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "svg-repository"; }
|
|
31
31
|
static get encapsulation() { return "shadow"; }
|
|
@@ -25,7 +25,7 @@ export class EdsCookiesPreference {
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (h("div", { key: '
|
|
28
|
+
return (h("div", { key: '660d6b9c21de37c5681e7678e062b8039c310bc3' }, h("eds-link", { key: '3849b92ef42a578c1a59533b2281aa9df93bdfab', size: "small", intent: this.intent, label: this.buttonText, onClick: () => this.toggleCookiesPopup() }), this.showMatomoNotice && h("eds-matomo-notice", { "force-show": true, key: this.noticeKey })));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "eds-cookies-preference"; }
|
|
31
31
|
static get originalStyleUrls() {
|
|
@@ -122,6 +122,25 @@
|
|
|
122
122
|
will-change: transform, box-shadow, border-color;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
+
/* States */
|
|
126
|
+
/* eds-spinner renders an absolutely-positioned overlay (top/left/100%×100%)
|
|
127
|
+
that anchors to the nearest positioned ancestor. .loading must therefore
|
|
128
|
+
be `position: relative` and tall enough to host the spinner + message,
|
|
129
|
+
otherwise the overlay escapes upward and centres against the page.
|
|
130
|
+
Kept byte-identical to the .loading rule in
|
|
131
|
+
eds-kg-learning-resources.css so both components present an identical
|
|
132
|
+
placeholder during their fetch. */
|
|
133
|
+
.loading {
|
|
134
|
+
position: relative;
|
|
135
|
+
min-height: 8rem;
|
|
136
|
+
padding: 1rem 1.25rem;
|
|
137
|
+
color: var(--grey-dark, #7A7B7A);
|
|
138
|
+
font-size: 0.9375rem;
|
|
139
|
+
border: 1px solid rgba(0, 0, 0, 0.08);
|
|
140
|
+
border-radius: 0.25rem;
|
|
141
|
+
background-color: rgba(0, 0, 0, 0.02);
|
|
142
|
+
}
|
|
143
|
+
|
|
125
144
|
.f-ui-01 {
|
|
126
145
|
font-family: var(--f-ui-01-fontFamily);
|
|
127
146
|
font-weight: var(--f-ui-01-fontWeight);
|
|
@@ -44,8 +44,8 @@ export class EdsGitlabContributors {
|
|
|
44
44
|
getProjectIds() {
|
|
45
45
|
return this.projectId
|
|
46
46
|
.split(',')
|
|
47
|
-
.map(id => id.trim())
|
|
48
|
-
.filter(id => id.length > 0);
|
|
47
|
+
.map((id) => id.trim())
|
|
48
|
+
.filter((id) => id.length > 0);
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
51
|
* Fetches commits by path and aggregates by author for a single project
|
|
@@ -92,7 +92,7 @@ export class EdsGitlabContributors {
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
// Convert to GitLabContributor format
|
|
95
|
-
return Array.from(authorMap.values()).map(author => ({
|
|
95
|
+
return Array.from(authorMap.values()).map((author) => ({
|
|
96
96
|
name: author.name,
|
|
97
97
|
email: author.email,
|
|
98
98
|
commits: author.commits,
|
|
@@ -112,18 +112,16 @@ export class EdsGitlabContributors {
|
|
|
112
112
|
// Fetch commits by path and aggregate by author (for monorepo)
|
|
113
113
|
return await this.fetchCommitsByPathForProject(projectId);
|
|
114
114
|
}
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
'PRIVATE-TOKEN': this.accessToken
|
|
120
|
-
}
|
|
121
|
-
});
|
|
122
|
-
if (!contributorsResponse.ok) {
|
|
123
|
-
throw new Error(`GitLab API error: ${contributorsResponse.status} ${contributorsResponse.statusText}`);
|
|
115
|
+
// Use contributors API for entire repository
|
|
116
|
+
const contributorsResponse = await fetch(`${this.apiUrl}/projects/${encodeURIComponent(projectId)}/repository/contributors?per_page=100`, {
|
|
117
|
+
headers: {
|
|
118
|
+
'PRIVATE-TOKEN': this.accessToken
|
|
124
119
|
}
|
|
125
|
-
|
|
120
|
+
});
|
|
121
|
+
if (!contributorsResponse.ok) {
|
|
122
|
+
throw new Error(`GitLab API error: ${contributorsResponse.status} ${contributorsResponse.statusText}`);
|
|
126
123
|
}
|
|
124
|
+
return await contributorsResponse.json();
|
|
127
125
|
}
|
|
128
126
|
/**
|
|
129
127
|
* Fetches contributors from GitLab API (supports multiple projects)
|
|
@@ -138,29 +136,24 @@ export class EdsGitlabContributors {
|
|
|
138
136
|
this.loading = true;
|
|
139
137
|
this.error = '';
|
|
140
138
|
const projectIds = this.getProjectIds();
|
|
141
|
-
|
|
139
|
+
const allContributorsData = [];
|
|
142
140
|
// Fetch contributors from all projects
|
|
143
141
|
for (const projectId of projectIds) {
|
|
144
142
|
const contributorsData = await this.fetchContributorsForProject(projectId);
|
|
145
143
|
allContributorsData.push(...contributorsData);
|
|
146
144
|
}
|
|
147
145
|
// Filter by minimum commits and exclude bot contributors
|
|
148
|
-
const filteredContributors = allContributorsData.filter(c => {
|
|
146
|
+
const filteredContributors = allContributorsData.filter((c) => {
|
|
149
147
|
// Exclude if commits are below minimum
|
|
150
|
-
if (c.commits < this.minCommits)
|
|
148
|
+
if (c.commits < this.minCommits) {
|
|
151
149
|
return false;
|
|
150
|
+
}
|
|
152
151
|
// Exclude GitLab CI and other bots
|
|
153
152
|
const email = c.email.toLowerCase();
|
|
154
153
|
const name = c.name.toLowerCase();
|
|
155
154
|
// Common bot identifiers
|
|
156
|
-
const botPatterns = [
|
|
157
|
-
|
|
158
|
-
'gitlab ci',
|
|
159
|
-
'noreply@gitlab',
|
|
160
|
-
'bot@',
|
|
161
|
-
'automation@'
|
|
162
|
-
];
|
|
163
|
-
return !botPatterns.some(pattern => email.includes(pattern) || name.includes(pattern));
|
|
155
|
+
const botPatterns = ['gitlab-ci', 'gitlab ci', 'noreply@gitlab', 'bot@', 'automation@'];
|
|
156
|
+
return !botPatterns.some((pattern) => email.includes(pattern) || name.includes(pattern));
|
|
164
157
|
});
|
|
165
158
|
// Aggregate duplicate contributors by username
|
|
166
159
|
const aggregatedContributors = this.aggregateContributors(filteredContributors);
|
|
@@ -237,18 +230,28 @@ export class EdsGitlabContributors {
|
|
|
237
230
|
}
|
|
238
231
|
render() {
|
|
239
232
|
if (this.loading) {
|
|
240
|
-
|
|
233
|
+
// Spinner placeholder mirrors eds-kg-learning-resources exactly —
|
|
234
|
+
// same `.loading` wrapper (position: relative + min-height so the
|
|
235
|
+
// absolutely-positioned spinner anchors inside the box instead of
|
|
236
|
+
// escaping to the page), same eds-spinner props (sm/primary/
|
|
237
|
+
// transparent + message-as-prop), and the same role+aria-live for
|
|
238
|
+
// screen-reader announcement. Keep these two components in sync if
|
|
239
|
+
// the loading affordance ever changes.
|
|
240
|
+
return (h("div", { class: "loading", role: "status", "aria-live": "polite" }, h("eds-spinner", { size: "sm", variant: "primary", background: "transparent", message: "Loading contributors..." })));
|
|
241
241
|
}
|
|
242
242
|
if (this.error) {
|
|
243
|
-
return
|
|
243
|
+
return h("eds-alert", { message: "Error loading contributors", intent: "error" });
|
|
244
244
|
}
|
|
245
245
|
if (this.contributors.length === 0) {
|
|
246
|
-
return
|
|
246
|
+
return h("eds-alert", { message: "No contributors found for this project.", intent: "error" });
|
|
247
247
|
}
|
|
248
|
-
const gridClass = `grid gap-6 w-full ${this.columns === '2'
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
248
|
+
const gridClass = `grid gap-6 w-full ${this.columns === '2'
|
|
249
|
+
? 'grid-cols-1 sm:grid-cols-2'
|
|
250
|
+
: this.columns === '3'
|
|
251
|
+
? 'grid-cols-1 sm:grid-cols-2 md:grid-cols-3'
|
|
252
|
+
: this.columns === '4'
|
|
253
|
+
? 'grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4'
|
|
254
|
+
: 'grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-5'}`;
|
|
252
255
|
return (h("div", { class: "w-full" }, h("div", { class: gridClass }, this.contributors.map((contributor) => {
|
|
253
256
|
const { firstName, lastName } = this.parseName(contributor.name);
|
|
254
257
|
return (h("div", { class: "contributor-card flex flex-row gap-4 p-5 bg-white border border-gray-200 rounded-lg transition-all duration-200", key: contributor.email }, h("div", { class: "flex-shrink-0" }, h("eds-avatar", { firstName: firstName, lastName: lastName, color: "black" })), h("div", { class: "min-w-0 flex flex-col gap-2" }, h("span", { class: "f-ui-01 text-default pb-2 m-0 whitespace-nowrap overflow-hidden text-ellipsis" }, "@", contributor.username), h("div", { class: "flex flex-col gap-2 mt-auto" }, h("div", { class: "flex items-center gap-2 font-semibold" }, h("span", { class: "text-light" }, this.formatNumber(contributor.commits)), h("span", { class: "text-lighter" }, contributor.commits === 1 ? 'commit' : 'commits'))))));
|
|
@@ -20,6 +20,150 @@ menu {
|
|
|
20
20
|
width: 100%;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
/* ------------------------------------------------------------------
|
|
24
|
+
* Search pill — three theme variants (matches EBRAINS header mockup):
|
|
25
|
+
* - .search-pill--gray (default): grey surface (mockup)
|
|
26
|
+
* - .search-pill--white : white surface w/ grey border
|
|
27
|
+
* - .search-pill--black : brand-black surface, white text
|
|
28
|
+
* Common geometry: rounded-full, icon left, input middle, ⌘K kbd right.
|
|
29
|
+
* The kbd hint is hidden when the input has focus, so it never overlaps
|
|
30
|
+
* what the user is typing.
|
|
31
|
+
* ------------------------------------------------------------------ */
|
|
32
|
+
.search-pill {
|
|
33
|
+
display: flex;
|
|
34
|
+
align-items: center;
|
|
35
|
+
gap: 12px;
|
|
36
|
+
height: 48px; /* was 38 — roomier for the bigger text and icons */
|
|
37
|
+
padding: 0 18px; /* was 14 */
|
|
38
|
+
border-radius: 999px;
|
|
39
|
+
font-family: var(--plex-sans, 'IBM Plex Sans', system-ui, sans-serif);
|
|
40
|
+
font-size: 15px; /* was 13 — placeholder + text now read more clearly */
|
|
41
|
+
cursor: text;
|
|
42
|
+
transition: background 120ms ease, box-shadow 120ms ease, color 120ms ease;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.search-pill .search-icon { flex-shrink: 0; }
|
|
46
|
+
|
|
47
|
+
.search-pill .search-input {
|
|
48
|
+
flex: 1;
|
|
49
|
+
min-width: 0;
|
|
50
|
+
border: 0;
|
|
51
|
+
background: transparent;
|
|
52
|
+
outline: none;
|
|
53
|
+
font: inherit; /* inherits the new 15px from .search-pill */
|
|
54
|
+
color: inherit;
|
|
55
|
+
/* Remove the native clear-button in Safari/Chrome so our custom one is
|
|
56
|
+
* the only one shown, and the layout stays steady on focus. */
|
|
57
|
+
-webkit-appearance: none;
|
|
58
|
+
appearance: none;
|
|
59
|
+
}
|
|
60
|
+
.search-pill .search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
|
|
61
|
+
|
|
62
|
+
.search-pill .search-kbd {
|
|
63
|
+
flex-shrink: 0;
|
|
64
|
+
/* Explicit mono stack (don't rely on a project CSS var that may not be
|
|
65
|
+
* defined in the consuming app's CSS) + medium weight so the glyph reads
|
|
66
|
+
* as an embossed key-cap rather than plain text. */
|
|
67
|
+
font-family: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
|
|
68
|
+
font-size: 11px;
|
|
69
|
+
font-weight: 500;
|
|
70
|
+
line-height: 1;
|
|
71
|
+
padding: 3px 6px;
|
|
72
|
+
border-radius: 4px;
|
|
73
|
+
/* The slight `inset` shadow gives the cap a tiny "lift" without needing
|
|
74
|
+
* a second box-shadow layer — matches the Linear/Cal.com kbd style. */
|
|
75
|
+
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05);
|
|
76
|
+
letter-spacing: 0.02em;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.search-pill:focus-within .search-kbd { display: none; }
|
|
80
|
+
|
|
81
|
+
/* ---- Clear (X) button — shown only while the query is non-empty.
|
|
82
|
+
* Sits in the same slot the kbd hint occupies when empty, so the pill's
|
|
83
|
+
* right-edge geometry doesn't jump when the user starts typing. */
|
|
84
|
+
.search-pill .search-clear {
|
|
85
|
+
flex-shrink: 0;
|
|
86
|
+
width: 22px;
|
|
87
|
+
height: 22px;
|
|
88
|
+
display: inline-flex;
|
|
89
|
+
align-items: center;
|
|
90
|
+
justify-content: center;
|
|
91
|
+
padding: 0;
|
|
92
|
+
margin: 0;
|
|
93
|
+
border: 0;
|
|
94
|
+
border-radius: 999px;
|
|
95
|
+
background: transparent;
|
|
96
|
+
color: inherit;
|
|
97
|
+
cursor: pointer;
|
|
98
|
+
opacity: 0.7;
|
|
99
|
+
transition: opacity 120ms ease, background 120ms ease;
|
|
100
|
+
}
|
|
101
|
+
.search-pill .search-clear:hover { opacity: 1; background: rgba(0, 0, 0, 0.06); }
|
|
102
|
+
.search-pill .search-clear:focus-visible {
|
|
103
|
+
outline: none;
|
|
104
|
+
box-shadow: 0 0 0 2px var(--brand-green, #00C87B);
|
|
105
|
+
opacity: 1;
|
|
106
|
+
}
|
|
107
|
+
/* On the dark/black variant the subtle hover wash needs to be light, not dark. */
|
|
108
|
+
.search-pill--black .search-clear:hover { background: rgba(255, 255, 255, 0.10); }
|
|
109
|
+
|
|
110
|
+
/* --- Variant: gray (default — EBRAINS header mockup) --- */
|
|
111
|
+
.search-pill--gray {
|
|
112
|
+
background: var(--grey-light, #ECECEC);
|
|
113
|
+
color: var(--grey-dark, #7A7B7A);
|
|
114
|
+
border: 0;
|
|
115
|
+
}
|
|
116
|
+
.search-pill--gray:hover { background: #E0E0E0; }
|
|
117
|
+
.search-pill--gray .search-input { color: var(--brand-black, #07140D); }
|
|
118
|
+
.search-pill--gray .search-input::placeholder { color: var(--grey-dark, #7A7B7A); }
|
|
119
|
+
.search-pill--gray .search-kbd {
|
|
120
|
+
color: var(--grey-dark, #7A7B7A);
|
|
121
|
+
background: var(--white, #FFFFFF);
|
|
122
|
+
border: 1px solid #DCDCDC;
|
|
123
|
+
}
|
|
124
|
+
.search-pill--gray:focus-within {
|
|
125
|
+
background: var(--white, #FFFFFF);
|
|
126
|
+
box-shadow: 0 0 0 2px var(--brand-green, #00C87B);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* --- Variant: white --- */
|
|
130
|
+
.search-pill--white {
|
|
131
|
+
background: var(--white, #FFFFFF);
|
|
132
|
+
color: var(--grey-dark, #7A7B7A);
|
|
133
|
+
border: 1px solid var(--grey-light, #ECECEC);
|
|
134
|
+
}
|
|
135
|
+
.search-pill--white:hover { background: #FAFAFA; }
|
|
136
|
+
.search-pill--white .search-input { color: var(--brand-black, #07140D); }
|
|
137
|
+
.search-pill--white .search-input::placeholder { color: var(--grey-dark, #7A7B7A); }
|
|
138
|
+
.search-pill--white .search-kbd {
|
|
139
|
+
color: var(--grey-dark, #7A7B7A);
|
|
140
|
+
background: var(--grey-light, #ECECEC);
|
|
141
|
+
border: 1px solid #DCDCDC;
|
|
142
|
+
}
|
|
143
|
+
.search-pill--white:focus-within {
|
|
144
|
+
background: var(--white, #FFFFFF);
|
|
145
|
+
box-shadow: 0 0 0 2px var(--brand-green, #00C87B);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/* --- Variant: black (use on dark backgrounds) --- */
|
|
149
|
+
.search-pill--black {
|
|
150
|
+
background: var(--brand-black, #07140D);
|
|
151
|
+
color: rgba(255, 255, 255, 0.7);
|
|
152
|
+
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
153
|
+
}
|
|
154
|
+
.search-pill--black:hover { background: #11221A; }
|
|
155
|
+
.search-pill--black .search-input { color: var(--white, #FFFFFF); }
|
|
156
|
+
.search-pill--black .search-input::placeholder { color: rgba(255, 255, 255, 0.55); }
|
|
157
|
+
.search-pill--black .search-kbd {
|
|
158
|
+
color: rgba(255, 255, 255, 0.75);
|
|
159
|
+
background: rgba(255, 255, 255, 0.08);
|
|
160
|
+
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
161
|
+
}
|
|
162
|
+
.search-pill--black:focus-within {
|
|
163
|
+
background: var(--brand-black, #07140D);
|
|
164
|
+
box-shadow: 0 0 0 2px var(--brand-green, #00C87B);
|
|
165
|
+
}
|
|
166
|
+
|
|
23
167
|
.search-dropdown {
|
|
24
168
|
position: absolute;
|
|
25
169
|
top: calc(100% + 8px);
|
|
@@ -120,12 +264,34 @@ menu {
|
|
|
120
264
|
transition: all 0.2s ease;
|
|
121
265
|
}
|
|
122
266
|
|
|
267
|
+
.result-badge--parent {
|
|
268
|
+
background: rgba(120, 0, 255, 0.08);
|
|
269
|
+
color: var(--purple-800, #6b21a8);
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.result-badge--lr {
|
|
273
|
+
background: rgba(0, 120, 255, 0.1);
|
|
274
|
+
color: var(--blue-800, #1565c0);
|
|
275
|
+
}
|
|
276
|
+
|
|
123
277
|
.result-item:hover .result-badge,
|
|
124
278
|
.result-item--selected .result-badge {
|
|
125
279
|
background: rgba(0, 255, 157, 0.2);
|
|
126
280
|
color: var(--green-900);
|
|
127
281
|
}
|
|
128
282
|
|
|
283
|
+
.result-item:hover .result-badge--parent,
|
|
284
|
+
.result-item--selected .result-badge--parent {
|
|
285
|
+
background: rgba(120, 0, 255, 0.15);
|
|
286
|
+
color: var(--purple-900, #581c87);
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.result-item:hover .result-badge--lr,
|
|
290
|
+
.result-item--selected .result-badge--lr {
|
|
291
|
+
background: rgba(0, 120, 255, 0.18);
|
|
292
|
+
color: var(--blue-900, #0d47a1);
|
|
293
|
+
}
|
|
294
|
+
|
|
129
295
|
.result-url {
|
|
130
296
|
font-size: 12px;
|
|
131
297
|
color: var(--grey-600);
|