@ebrains/components 2.4.1 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/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_53.cjs.entry.js +11059 -0
- package/dist/cjs/eds-app-root.cjs.entry.js +1 -1
- package/dist/cjs/eds-cookies-preference.cjs.entry.js +2 -2
- package/dist/cjs/eds-feedback.cjs.entry.js +1 -1
- package/dist/cjs/eds-frame.cjs.entry.js +3 -3
- package/dist/cjs/eds-gauge.cjs.entry.js +5 -6
- package/dist/cjs/eds-gitlab-contributors.cjs.entry.js +255 -0
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-eu.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-facebook.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-linkedin.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-mastodon.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
- package/dist/cjs/eds-input-search.cjs.entry.js +76 -0
- package/dist/cjs/eds-modal.cjs.entry.js +84 -13
- package/dist/cjs/eds-pie.cjs.entry.js +20 -20
- package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
- package/dist/cjs/eds-splash-screen.cjs.entry.js +2 -2
- package/dist/cjs/eds-timeline.cjs.entry.js +2 -2
- package/dist/cjs/eds-toast-manager.cjs.entry.js +1 -1
- package/dist/cjs/eds-trl-badge.cjs.entry.js +181 -0
- package/dist/cjs/eu-271d44ae.js +9 -0
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/index-50bc1aa4.js +10 -182
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/logo-space.cjs.entry.js +1 -2
- package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +2 -2
- package/dist/cjs/logo-variations-tabs.cjs.entry.js +1 -1
- package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
- package/dist/cjs/negative-c61d13b5.js +106 -0
- package/dist/cjs/positive-fdcd161e.js +67 -0
- package/dist/cjs/svg-repository.cjs.entry.js +6 -263
- package/dist/cjs/token-list_3.cjs.entry.js +91 -49
- package/dist/cjs/token-ratios.cjs.entry.js +1 -1
- package/dist/cjs/token-spacing.cjs.entry.js +1 -1
- package/dist/cjs/token-typography.cjs.entry.js +73 -42
- package/dist/collection/collection-manifest.json +13 -41
- package/dist/collection/components/eds-accordion/eds-accordion.css +139 -194
- package/dist/collection/components/eds-accordion/eds-accordion.js +68 -81
- package/dist/collection/components/eds-accordion/eds-accordion.stories.js +78 -41
- package/dist/collection/components/eds-alert/eds-alert.css +122 -95
- package/dist/collection/components/eds-alert/eds-alert.js +89 -104
- package/dist/collection/components/eds-alert/eds-alert.stories.js +55 -33
- package/dist/collection/components/eds-avatar/eds-avatar.css +6 -6
- package/dist/collection/components/eds-avatar/eds-avatar.js +1 -1
- package/dist/collection/components/eds-avatar/eds-avatar.stories.js +2 -2
- package/dist/collection/components/eds-block-break/eds-block-break.css +1 -1
- package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
- package/dist/collection/components/eds-breadcrump/eds-breadcrumb.stories.js +1 -1
- package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +5 -5
- package/dist/collection/components/eds-button/eds-button.css +365 -88
- package/dist/collection/components/eds-button/eds-button.js +123 -45
- package/dist/collection/components/eds-button/eds-button.stories.js +3 -3
- package/dist/collection/components/eds-cards/eds-card-app/eds-card-app.css +116 -0
- package/dist/collection/components/eds-cards/eds-card-app/eds-card-app.js +187 -0
- package/dist/collection/components/eds-cards/eds-card-app/eds-card-app.stories.js +52 -0
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.css +13 -6
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +20 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.css +22 -6
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +51 -78
- package/dist/collection/components/eds-cards/eds-card-cta/eds-card-cta.css +147 -0
- package/dist/collection/components/eds-cards/eds-card-cta/eds-card-cta.js +217 -0
- package/dist/collection/components/eds-cards/eds-card-cta/eds-card-cta.stories.js +77 -0
- package/dist/collection/components/eds-cards/eds-card-feature/eds-card-feature.css +108 -0
- package/dist/collection/components/eds-cards/eds-card-feature/eds-card-feature.js +156 -0
- package/dist/collection/components/eds-cards/eds-card-feature/eds-card-feature.stories.js +55 -0
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.css +105 -4
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +70 -150
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.stories.js +72 -112
- package/dist/collection/components/eds-cards/eds-card-hero/eds-card-hero.css +127 -0
- package/dist/collection/components/eds-cards/eds-card-hero/eds-card-hero.js +181 -0
- package/dist/collection/components/eds-cards/eds-card-hero/eds-card-hero.stories.js +62 -0
- package/dist/collection/components/eds-cards/eds-card-stat/eds-card-stat.css +128 -0
- package/dist/collection/components/eds-cards/eds-card-stat/eds-card-stat.js +149 -0
- package/dist/collection/components/eds-cards/eds-card-stat/eds-card-stat.stories.js +50 -0
- package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.js +5 -6
- package/dist/collection/components/eds-charts/eds-pie/eds-pie.js +20 -20
- package/dist/collection/components/eds-code-block/eds-code-block.css +84 -120
- package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
- package/dist/collection/components/eds-dropdown/eds-dropdown.js +50 -43
- package/dist/collection/components/eds-feedback/eds-feedback.js +1 -1
- package/dist/collection/components/eds-feedback/eds-feedback.stories.js +5 -1
- package/dist/collection/components/eds-footer/eds-footer.css +144 -152
- package/dist/collection/components/eds-footer/eds-footer.js +188 -65
- package/dist/collection/components/eds-footer/eds-footer.stories.js +108 -15
- package/dist/collection/components/eds-form/eds-form.css +137 -5
- package/dist/collection/components/eds-form/eds-form.js +211 -47
- package/dist/collection/components/eds-form/eds-form.stories.js +3 -11
- package/dist/collection/components/eds-frame/eds-frame.css +34 -22
- package/dist/collection/components/eds-frame/eds-frame.js +5 -5
- package/dist/collection/components/eds-frame/eds-frame.stories.js +1 -1
- package/dist/collection/components/eds-fullscreen-menu/eds-fullscreen-menu.css +9 -5
- package/dist/collection/components/eds-fullscreen-menu/eds-fullscreen-menu.js +4 -1
- package/dist/collection/components/eds-header/eds-header.css +20 -4
- package/dist/collection/components/eds-header/eds-header.js +17 -15
- package/dist/collection/components/eds-header/eds-header.stories.js +26 -14
- package/dist/collection/components/eds-icon-wrapper/eds-icon-wrapper.css +32 -0
- package/dist/collection/components/eds-icon-wrapper/eds-icon-wrapper.js +58 -57
- 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.css +195 -0
- package/dist/collection/components/eds-input-dropzone/eds-input-dropzone.js +300 -0
- package/dist/collection/components/eds-input-dropzone/eds-input-dropzone.stories.js +34 -0
- package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +29 -5
- package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.css +45 -1
- 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.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +5 -3
- package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.stories.js +30 -0
- package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +2 -2
- package/dist/collection/components/eds-input-field/eds-input-field.css +69 -69
- package/dist/collection/components/eds-input-field/eds-input-field.js +40 -9
- package/dist/collection/components/eds-input-field/eds-input-field.stories.js +82 -130
- package/dist/collection/components/eds-input-file/eds-input-file.css +140 -0
- package/dist/collection/components/eds-input-file/eds-input-file.js +249 -0
- package/dist/collection/components/eds-link/eds-link.css +197 -22
- package/dist/collection/components/eds-link/eds-link.js +110 -38
- package/dist/collection/components/eds-link/eds-link.stories.js +16 -11
- package/dist/collection/components/eds-logo/eds-logo.css +3 -1
- package/dist/collection/components/eds-logo/eds-logo.js +12 -35
- package/dist/collection/components/eds-logo/eds-logo.stories.js +12 -29
- package/dist/collection/components/eds-modal/eds-modal.css +115 -19
- package/dist/collection/components/eds-modal/eds-modal.js +109 -17
- package/dist/collection/components/eds-modal/eds-modal.stories.js +9 -8
- package/dist/collection/components/eds-nps/eds-nps.css +42 -1
- package/dist/collection/components/eds-nps/eds-nps.js +48 -22
- package/dist/collection/components/eds-pagination/eds-pagination.js +2 -2
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.css +83 -9
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +55 -10
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.stories.js +83 -10
- package/dist/collection/components/eds-rating/eds-rating.css +10 -1
- package/dist/collection/components/eds-rating/eds-rating.js +54 -12
- package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
- package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
- package/dist/collection/components/eds-sidebar/eds-sidebar.css +9 -4
- package/dist/collection/components/eds-sidebar/eds-sidebar.js +4 -4
- package/dist/collection/components/eds-social-networks/eds-social-networks.css +12 -0
- package/dist/collection/components/eds-social-networks/eds-social-networks.js +26 -1
- package/dist/collection/components/eds-spinner/eds-spinner.css +6 -6
- package/dist/collection/components/eds-spinner/eds-spinner.js +5 -5
- package/dist/collection/components/eds-splash-screen/eds-splash-screen.css +12 -12
- package/dist/collection/components/eds-splash-screen/eds-splash-screen.js +1 -1
- package/dist/collection/components/eds-steps/eds-steps.css +101 -15
- package/dist/collection/components/eds-steps/eds-steps.js +45 -6
- package/dist/collection/components/eds-steps/eds-steps.stories.js +7 -31
- package/dist/collection/components/eds-steps-v2/eds-steps-v2.css +172 -17
- package/dist/collection/components/eds-steps-v2/eds-steps-v2.js +50 -7
- package/dist/collection/components/eds-steps-v2/eds-steps-v2.stories.js +16 -30
- package/dist/collection/components/eds-switch/eds-switch.css +65 -3
- package/dist/collection/components/eds-switch/eds-switch.js +46 -2
- package/dist/collection/components/eds-switch/eds-switch.stories.js +91 -24
- package/dist/collection/components/eds-table/eds-table.css +272 -5
- package/dist/collection/components/eds-table/eds-table.js +126 -76
- package/dist/collection/components/eds-table/eds-table.stories.js +30 -36
- package/dist/collection/components/eds-tabs/eds-tabs.css +84 -368
- package/dist/collection/components/eds-tabs/eds-tabs.js +87 -93
- package/dist/collection/components/eds-tabs/eds-tabs.stories.js +82 -37
- package/dist/collection/components/eds-tag/eds-tag.css +151 -8
- package/dist/collection/components/eds-tag/eds-tag.js +17 -18
- package/dist/collection/components/eds-tag/eds-tag.stories.js +25 -5
- package/dist/collection/components/eds-timeline/eds-timeline.js +2 -2
- package/dist/collection/components/eds-toast/eds-toast.css +70 -10
- package/dist/collection/components/eds-toast/eds-toast.js +9 -7
- package/dist/collection/components/eds-toast/eds-toast.stories.js +25 -1
- package/dist/collection/components/eds-toast-manager/eds-toast-manager.js +1 -1
- package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
- package/dist/collection/components/eds-tooltip/eds-tooltip.stories.js +1 -1
- package/dist/collection/components/eds-user/eds-user.js +5 -5
- package/dist/collection/components/eds-user/eds-user.stories.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
- package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
- package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/components-section/components-section.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/docs-tokens/docs-tokens.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +8 -7
- package/dist/collection/eds-docs-ui/docs-palettes/docs-palettes.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -2
- package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations-tabs/logo-variations.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +2 -2
- package/dist/collection/eds-docs-ui/svg-repository/svg-repository.js +1 -1
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +6 -5
- package/dist/collection/shared-ui/eds-gitlab-contributors/eds-gitlab-contributors.css +162 -0
- package/dist/collection/shared-ui/eds-gitlab-contributors/eds-gitlab-contributors.js +447 -0
- package/dist/collection/shared-ui/eds-global-search/eds-global-search.css +265 -24
- package/dist/collection/shared-ui/eds-global-search/eds-global-search.js +184 -9
- 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 +257 -0
- package/dist/collection/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.css +8 -0
- package/dist/collection/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.js +370 -0
- package/dist/collection/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.stories.js +87 -0
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.css +25 -100
- 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 +71 -4
- package/dist/collection/shared-ui/eds-search-select/eds-search-select.css +203 -0
- package/dist/collection/shared-ui/eds-search-select/eds-search-select.js +685 -0
- package/dist/collection/shared-ui/eds-search-select/eds-search-select.stories.js +85 -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 +321 -0
- package/dist/collection/shared-ui/eds-trl-badge/eds-trl-badge.stories.js +96 -0
- package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
- package/dist/collection/utils/eds-form/formValidators.js +7 -9
- package/dist/collection/utils/eds-form/individualValidator.js +22 -0
- package/dist/collection/utils/eds-form/safeFormat.js +39 -0
- package/dist/collection/utils/icons.js +169 -0
- package/dist/components/components-section.js +1 -1
- package/dist/components/components.css +746 -540
- package/dist/components/components.esm.js +1 -1
- package/dist/components/correct-use-of-colors.js +1 -1
- package/dist/components/docs-palettes.js +1 -1
- package/dist/components/docs-tokens.js +1 -1
- package/dist/components/eds-accordion2.js +19 -51
- package/dist/components/eds-alert2.js +32 -82
- package/dist/components/eds-app-root.js +3 -9
- package/dist/components/eds-avatar2.js +2 -2
- package/dist/components/eds-block-break2.js +2 -2
- package/dist/components/eds-breadcrumb.js +2 -2
- package/dist/components/eds-button2.js +78 -29
- package/dist/components/{eds-icon-bin.d.ts → eds-card-app.d.ts} +4 -4
- package/dist/components/eds-card-app.js +82 -0
- package/dist/components/{eds-trl.d.ts → eds-card-cta.d.ts} +4 -4
- package/dist/components/eds-card-cta.js +95 -0
- package/dist/components/eds-card-desc2.js +5 -3
- package/dist/components/{eds-card-project.d.ts → eds-card-feature.d.ts} +4 -4
- package/dist/components/eds-card-feature.js +64 -0
- package/dist/components/eds-card-generic2.js +46 -55
- package/dist/components/{eds-icon-edit.d.ts → eds-card-hero.d.ts} +4 -4
- package/dist/components/eds-card-hero.js +75 -0
- package/dist/components/{eds-icon-copy.d.ts → eds-card-stat.d.ts} +4 -4
- package/dist/components/eds-card-stat.js +67 -0
- package/dist/components/eds-card-title2.js +28 -39
- package/dist/components/eds-code-block2.js +2 -2
- package/dist/components/eds-cookies-preference.js +2 -2
- package/dist/components/eds-dropdown2.js +33 -10
- package/dist/components/eds-feedback.js +1 -1
- package/dist/components/eds-footer2.js +116 -21
- package/dist/components/eds-form.js +241 -74
- package/dist/components/eds-frame.js +3 -3
- package/dist/components/eds-fullscreen-menu.js +2 -2
- package/dist/components/eds-gauge.js +5 -6
- package/dist/components/eds-gitlab-contributors.d.ts +11 -0
- package/dist/components/eds-gitlab-contributors.js +324 -0
- package/dist/components/eds-global-search.js +104 -68
- package/dist/components/eds-header.js +15 -13
- package/dist/components/eds-icon-bluesky.js +1 -1
- package/dist/components/eds-icon-eu.js +1 -1
- package/dist/components/eds-icon-facebook.js +1 -1
- package/dist/components/eds-icon-gitlab.js +1 -1
- package/dist/components/eds-icon-linkedin.js +1 -1
- package/dist/components/eds-icon-mastodon.js +1 -1
- package/dist/components/eds-icon-twitter.js +1 -1
- package/dist/components/eds-icon-wrapper2.js +2438 -32
- package/dist/components/eds-icon-youtube.js +1 -1
- package/dist/components/eds-img2.js +2 -2
- package/dist/components/{eds-icon-chevron-up.d.ts → eds-input-dropzone.d.ts} +4 -4
- package/dist/components/eds-input-dropzone.js +6 -0
- package/dist/components/eds-input-dropzone2.js +133 -0
- package/dist/components/eds-input-field2.js +50 -19
- package/dist/components/{eds-icon-close.d.ts → eds-input-file.d.ts} +4 -4
- package/dist/components/eds-input-file.js +6 -0
- package/dist/components/eds-input-file2.js +100 -0
- package/dist/components/eds-input-footer2.js +43 -3
- package/dist/components/eds-input-label2.js +1 -1
- package/dist/components/eds-input-range2.js +5 -3
- package/dist/components/eds-input-search.js +100 -1
- package/dist/components/eds-input-select2.js +2 -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 +221 -0
- package/dist/components/eds-kg-web-services-select.d.ts +11 -0
- package/dist/components/eds-kg-web-services-select.js +6 -0
- package/dist/components/eds-kg-web-services-select2.js +186 -0
- package/dist/components/eds-link2.js +82 -33
- package/dist/components/eds-logo2.js +9 -33
- package/dist/components/eds-matomo-notice2.js +8 -2
- package/dist/components/eds-modal.js +85 -13
- package/dist/components/eds-nps2.js +30 -22
- package/dist/components/eds-pagination2.js +2 -2
- package/dist/components/eds-pie.js +20 -20
- package/dist/components/eds-progress-bar.js +80 -1
- package/dist/components/eds-rating2.js +28 -10
- package/dist/components/{eds-icon-bookmark.d.ts → eds-search-select.d.ts} +4 -4
- package/dist/components/eds-search-select.js +6 -0
- package/dist/components/eds-search-select2.js +361 -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 +4 -4
- package/dist/components/eds-social-networks2.js +8 -3
- package/dist/components/eds-spinner2.js +5 -5
- package/dist/components/eds-splash-screen2.js +4 -10
- package/dist/components/eds-steps-v2.js +16 -7
- package/dist/components/eds-steps2.js +11 -6
- package/dist/components/eds-switch.js +1 -82
- package/dist/components/eds-switch2.js +111 -0
- package/dist/components/eds-table2.js +86 -63
- package/dist/components/eds-tabs.js +60 -86
- package/dist/components/eds-tag2.js +14 -15
- package/dist/components/eds-timeline.js +5 -11
- package/dist/components/eds-toast-manager.js +1 -1
- package/dist/components/eds-toast2.js +8 -6
- package/dist/components/eds-tooltip2.js +1 -1
- package/dist/components/{eds-card-tool.d.ts → eds-trl-badge.d.ts} +4 -4
- package/dist/components/eds-trl-badge.js +204 -0
- package/dist/components/eds-user.js +3 -3
- package/dist/components/eu.js +5 -28
- package/dist/components/incorrect-use-of-colors.js +1 -1
- package/dist/components/logo-space.js +41 -24
- package/dist/components/logo-variations-horizontal2.js +1 -1
- package/dist/components/logo-variations-tabs.js +1 -1
- package/dist/components/logo-variations-vertical2.js +1 -1
- package/dist/components/logo-wrong-usage.js +2 -2
- package/dist/components/negative.js +104 -0
- package/dist/components/p-00ba405d.entry.js +1 -0
- package/dist/components/p-03342030.entry.js +1 -0
- package/dist/components/{p-3d313fb5.entry.js → p-0e2bac0f.entry.js} +1 -1
- package/dist/components/p-12acc48d.entry.js +1 -0
- package/dist/components/p-18399fe1.entry.js +1 -0
- package/dist/components/p-1cc26ddf.entry.js +1 -0
- package/dist/components/p-1e6f0572.entry.js +1 -0
- package/dist/components/p-1fbcc480.entry.js +1 -0
- package/dist/components/p-25729ade.entry.js +1 -0
- package/dist/components/p-27e093c3.entry.js +1 -0
- package/dist/components/{p-67c3bedc.entry.js → p-37ef07d9.entry.js} +1 -1
- package/dist/components/p-3d1bb2fe.entry.js +1 -0
- package/dist/components/{p-be54a6c8.entry.js → p-42791331.entry.js} +1 -1
- package/dist/components/p-5ff4b1d0.entry.js +1 -0
- package/dist/components/p-62580004.entry.js +1 -0
- package/dist/components/{p-7b160270.entry.js → p-62f53e7a.entry.js} +1 -1
- package/dist/components/p-6be1730a.entry.js +1 -0
- package/dist/components/p-786ff09b.entry.js +1 -0
- package/dist/components/p-7baaf1a1.entry.js +1 -0
- package/dist/components/p-7ce1cf13.js +1 -0
- package/dist/components/{p-2d4f6e90.entry.js → p-80a32e20.entry.js} +1 -1
- package/dist/components/p-85476a6f.entry.js +9 -0
- package/dist/components/{p-9fe2c4ba.entry.js → p-8a483358.entry.js} +1 -1
- package/dist/components/p-b1a10842.entry.js +1 -0
- package/dist/components/p-bdcb71e1.entry.js +1 -0
- package/dist/components/p-c2127276.entry.js +1 -0
- package/dist/components/p-c3ee9163.entry.js +1 -0
- package/dist/components/{p-8998eec7.entry.js → p-c4cfbf98.entry.js} +1 -1
- package/dist/components/p-c65082fe.entry.js +1 -0
- package/dist/components/p-caa71345.js +1 -0
- package/dist/components/p-cc096938.entry.js +1 -0
- package/dist/components/p-d59d6fda.entry.js +1 -0
- package/dist/components/p-ddb9ce00.entry.js +1 -0
- package/dist/components/p-e027bc90.entry.js +1 -0
- package/dist/components/p-e0ee2386.js +1 -0
- package/dist/components/p-e339d0b5.entry.js +1 -0
- package/dist/components/{p-85f866f0.entry.js → p-e4df206e.entry.js} +1 -1
- package/dist/components/{p-a78079b7.entry.js → p-e71a4f29.entry.js} +1 -1
- package/dist/components/p-e9e6ec19.entry.js +1 -0
- package/dist/components/p-f4d2f882.entry.js +1 -0
- package/dist/components/p-f9a9fa34.entry.js +1 -0
- package/dist/components/positive.js +65 -0
- package/dist/components/primary.js +1 -1
- package/dist/components/primary2.js +1 -1
- package/dist/components/secondary.js +1 -1
- package/dist/components/secondary2.js +7 -7
- package/dist/components/support.js +1 -1
- package/dist/components/support2.js +3 -3
- package/dist/components/svg-repository.js +33 -278
- package/dist/components/token-list2.js +57 -40
- package/dist/components/token-radii2.js +1 -1
- package/dist/components/token-ratios.js +1 -1
- package/dist/components/token-shadows2.js +33 -8
- package/dist/components/token-spacing.js +1 -1
- package/dist/components/token-typography.js +73 -42
- package/dist/esm/color-primary-palette_6.entry.js +14 -14
- package/dist/esm/components-section.entry.js +1 -1
- package/dist/esm/components.js +1 -1
- package/dist/esm/correct-use-of-colors.entry.js +1 -1
- package/dist/esm/docs-palettes.entry.js +1 -1
- package/dist/esm/docs-tokens.entry.js +1 -1
- package/dist/esm/eds-accordion_53.entry.js +11003 -0
- package/dist/esm/eds-app-root.entry.js +1 -1
- package/dist/esm/eds-cookies-preference.entry.js +2 -2
- package/dist/esm/eds-feedback.entry.js +1 -1
- package/dist/esm/eds-frame.entry.js +3 -3
- package/dist/esm/eds-gauge.entry.js +5 -6
- package/dist/esm/eds-gitlab-contributors.entry.js +251 -0
- package/dist/esm/eds-icon-bluesky.entry.js +1 -1
- package/dist/esm/eds-icon-eu.entry.js +2 -2
- package/dist/esm/eds-icon-facebook.entry.js +1 -1
- package/dist/esm/eds-icon-gitlab.entry.js +1 -1
- package/dist/esm/eds-icon-linkedin.entry.js +1 -1
- package/dist/esm/eds-icon-mastodon.entry.js +1 -1
- package/dist/esm/eds-icon-twitter.entry.js +1 -1
- package/dist/esm/eds-icon-youtube.entry.js +1 -1
- package/dist/{components/eds-input-search2.js → esm/eds-input-search.entry.js} +9 -39
- package/dist/esm/eds-modal.entry.js +84 -13
- package/dist/esm/eds-pie.entry.js +20 -20
- package/dist/esm/eds-section-core_2.entry.js +3 -3
- package/dist/esm/eds-splash-screen.entry.js +2 -2
- package/dist/esm/eds-timeline.entry.js +2 -2
- package/dist/esm/eds-toast-manager.entry.js +1 -1
- package/dist/esm/eds-trl-badge.entry.js +177 -0
- package/dist/esm/eu-8ac3e99c.js +7 -0
- package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
- package/dist/esm/index-870ab08f.js +10 -182
- package/dist/esm/loader.js +1 -1
- package/dist/esm/logo-space.entry.js +1 -2
- package/dist/esm/logo-variations-horizontal_2.entry.js +2 -2
- package/dist/esm/logo-variations-tabs.entry.js +1 -1
- package/dist/esm/logo-wrong-usage.entry.js +2 -2
- package/dist/esm/negative-84eec72e.js +104 -0
- package/dist/esm/positive-cc986d7c.js +65 -0
- package/dist/esm/svg-repository.entry.js +6 -263
- package/dist/esm/token-list_3.entry.js +91 -49
- package/dist/esm/token-ratios.entry.js +1 -1
- package/dist/esm/token-spacing.entry.js +1 -1
- package/dist/esm/token-typography.entry.js +73 -42
- package/dist/hydrate/index.js +5820 -4074
- package/dist/hydrate/index.mjs +5820 -4074
- package/dist/types/Users/nikolaosgeorgomanolis/Documents/EBRAINS/Projects/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/lib/svgs.d.ts +12 -0
- package/dist/types/components/eds-accordion/eds-accordion.d.ts +17 -53
- package/dist/types/components/eds-accordion/eds-accordion.stories.d.ts +33 -25
- package/dist/types/components/eds-alert/eds-alert.d.ts +32 -21
- package/dist/types/components/eds-alert/eds-alert.stories.d.ts +22 -15
- package/dist/types/components/eds-breadcrump/eds-breadcrump.d.ts +2 -2
- package/dist/types/components/eds-button/eds-button.d.ts +31 -14
- package/dist/types/components/eds-cards/eds-card-app/eds-card-app.d.ts +57 -0
- package/dist/types/components/eds-cards/eds-card-app/eds-card-app.stories.d.ts +60 -0
- package/dist/types/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.d.ts +1 -0
- package/dist/types/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.d.ts +5 -17
- package/dist/types/components/eds-cards/eds-card-cta/eds-card-cta.d.ts +64 -0
- package/dist/types/components/eds-cards/eds-card-cta/eds-card-cta.stories.d.ts +76 -0
- package/dist/types/components/eds-cards/eds-card-feature/eds-card-feature.d.ts +43 -0
- package/dist/types/components/eds-cards/eds-card-feature/eds-card-feature.stories.d.ts +53 -0
- package/dist/types/components/eds-cards/eds-card-generic/eds-card-generic.d.ts +12 -40
- package/dist/types/components/eds-cards/eds-card-generic/eds-card-generic.stories.d.ts +43 -44
- package/dist/types/components/eds-cards/eds-card-hero/eds-card-hero.d.ts +54 -0
- package/dist/types/components/eds-cards/eds-card-hero/eds-card-hero.stories.d.ts +65 -0
- package/dist/types/components/eds-cards/eds-card-stat/eds-card-stat.d.ts +41 -0
- package/dist/types/components/eds-cards/eds-card-stat/eds-card-stat.stories.d.ts +47 -0
- package/dist/types/components/eds-dropdown/eds-dropdown.d.ts +6 -10
- package/dist/types/components/eds-footer/eds-footer.d.ts +85 -49
- package/dist/types/components/eds-footer/eds-footer.stories.d.ts +62 -1
- package/dist/types/components/eds-form/eds-form.d.ts +26 -5
- package/dist/types/components/eds-form/eds-form.stories.d.ts +0 -5
- package/dist/types/components/eds-frame/eds-frame.d.ts +1 -1
- package/dist/types/components/eds-fullscreen-menu/eds-fullscreen-menu.d.ts +3 -0
- package/dist/types/components/eds-header/eds-header.d.ts +3 -3
- package/dist/types/components/eds-header/eds-header.stories.d.ts +6 -6
- package/dist/types/components/eds-icon-wrapper/eds-icon-wrapper.d.ts +9 -23
- package/dist/types/components/eds-img/eds-img.stories.d.ts +6 -20
- package/dist/types/components/eds-input-dropzone/eds-input-dropzone.d.ts +51 -0
- package/dist/types/components/eds-input-dropzone/eds-input-dropzone.stories.d.ts +54 -0
- package/dist/types/components/eds-input-elements/eds-input/eds-input.d.ts +9 -1
- 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.d.ts +3 -1
- package/dist/types/components/eds-input-field/eds-input-field.stories.d.ts +97 -38
- package/dist/types/components/eds-input-file/eds-input-file.d.ts +43 -0
- package/dist/types/components/eds-link/eds-link.d.ts +9 -3
- package/dist/types/components/eds-link/eds-link.stories.d.ts +9 -6
- package/dist/types/components/eds-logo/eds-logo.d.ts +3 -3
- package/dist/types/components/eds-logo/eds-logo.stories.d.ts +1 -19
- package/dist/types/components/eds-modal/eds-modal.d.ts +15 -3
- package/dist/types/components/eds-nps/eds-nps.d.ts +11 -2
- package/dist/types/components/eds-progress-bar/eds-progress-bar.d.ts +13 -2
- package/dist/types/components/eds-progress-bar/eds-progress-bar.stories.d.ts +40 -1
- package/dist/types/components/eds-rating/eds-rating.d.ts +15 -2
- package/dist/types/components/eds-social-networks/eds-social-networks.d.ts +7 -0
- package/dist/types/components/eds-steps/eds-steps.d.ts +8 -0
- package/dist/types/components/eds-steps/eds-steps.stories.d.ts +2 -27
- package/dist/types/components/eds-steps-v2/eds-steps-v2.d.ts +8 -0
- package/dist/types/components/eds-steps-v2/eds-steps-v2.stories.d.ts +3 -6
- package/dist/types/components/eds-switch/eds-switch.d.ts +6 -0
- package/dist/types/components/eds-switch/eds-switch.stories.d.ts +49 -0
- package/dist/types/components/eds-table/eds-table.d.ts +48 -20
- package/dist/types/components/eds-table/eds-table.stories.d.ts +23 -31
- package/dist/types/components/eds-tabs/eds-tabs.d.ts +24 -16
- package/dist/types/components/eds-tabs/eds-tabs.stories.d.ts +57 -6
- package/dist/types/components/eds-tag/eds-tag.d.ts +1 -1
- package/dist/types/components/eds-tag/eds-tag.stories.d.ts +6 -0
- package/dist/types/components/eds-toast/eds-toast.d.ts +1 -1
- package/dist/types/components/eds-toast/eds-toast.stories.d.ts +10 -0
- package/dist/types/components/eds-user/eds-user.d.ts +1 -1
- package/dist/types/components.d.ts +1941 -1566
- package/dist/types/shared-ui/eds-cookies-preference/eds-cookies-preference.d.ts +1 -1
- package/dist/types/shared-ui/eds-gitlab-contributors/eds-gitlab-contributors.d.ts +114 -0
- package/dist/types/shared-ui/eds-global-search/eds-global-search.d.ts +30 -0
- package/dist/types/shared-ui/eds-kg-learning-resources/eds-kg-learning-resources.d.ts +60 -0
- package/dist/types/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.d.ts +98 -0
- package/dist/types/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.stories.d.ts +60 -0
- package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.d.ts +26 -0
- package/dist/types/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/dist/types/utils/icons.d.ts +78 -0
- package/package.json +1 -1
- package/dist/cjs/arrow-diagonal-black-0eb8640e.js +0 -5
- package/dist/cjs/arrow-right-3e38e8a9.js +0 -7
- package/dist/cjs/bin-c07eeedc.js +0 -5
- package/dist/cjs/bookmark-c61853d9.js +0 -18
- package/dist/cjs/chevron-down-27344777.js +0 -14
- package/dist/cjs/chevron-left-6fc9c6ef.js +0 -13
- package/dist/cjs/chevron-right-6d95a117.js +0 -7
- package/dist/cjs/chevron-up-e37d7713.js +0 -14
- package/dist/cjs/clone-846acfdd.js +0 -5
- package/dist/cjs/close-51284af5.js +0 -7
- package/dist/cjs/copy-53102d0c.js +0 -7
- package/dist/cjs/download-9d17d025.js +0 -20
- package/dist/cjs/draft-05bd8904.js +0 -5
- package/dist/cjs/edit-ff5b84d8.js +0 -5
- package/dist/cjs/eds-accordion_37.cjs.entry.js +0 -6908
- package/dist/cjs/eds-card-desc_2.cjs.entry.js +0 -77
- package/dist/cjs/eds-card-generic.cjs.entry.js +0 -91
- package/dist/cjs/eds-card-project.cjs.entry.js +0 -195
- package/dist/cjs/eds-card-section.cjs.entry.js +0 -39
- package/dist/cjs/eds-card-tags.cjs.entry.js +0 -22
- package/dist/cjs/eds-card-tool.cjs.entry.js +0 -79
- package/dist/cjs/eds-footer.cjs.entry.js +0 -67
- package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +0 -91
- package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-bin.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-bookmark.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-clone.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-close.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-copy.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-download.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-draft.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-edit.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-external.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-loader.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-menu.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-minus.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-more.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-paper.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-plus.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-portal.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-private.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-public.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-search.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-star.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-start.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-success.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-tutorial.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-unknown.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-updown.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-user.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-view.cjs.entry.js +0 -18
- package/dist/cjs/eds-progress-bar.cjs.entry.js +0 -56
- package/dist/cjs/eds-social-networks.cjs.entry.js +0 -64
- package/dist/cjs/eds-trl.cjs.entry.js +0 -51
- package/dist/cjs/eu-b9665157.js +0 -32
- package/dist/cjs/index-ab9fbefe.js +0 -48
- package/dist/cjs/loader-72f9d178.js +0 -32
- package/dist/cjs/logo-color-6c787ac1.js +0 -117
- package/dist/cjs/logo-color-margins-b49c0f46.js +0 -120
- package/dist/cjs/logo-white-no-bg-4a0e0f4b.js +0 -1039
- package/dist/cjs/menu-7050a6d1.js +0 -13
- package/dist/cjs/minus-1da6a98a.js +0 -13
- package/dist/cjs/more-1d3dd8bc.js +0 -15
- package/dist/cjs/paper-0d6302f6.js +0 -17
- package/dist/cjs/plus-d0e00ad0.js +0 -14
- package/dist/cjs/portal-46212559.js +0 -20
- package/dist/cjs/private-38835fe7.js +0 -27
- package/dist/cjs/public-b519b1f6.js +0 -18
- package/dist/cjs/search-5533d877.js +0 -14
- package/dist/cjs/star-942eee9f.js +0 -7
- package/dist/cjs/start-c0ccfddd.js +0 -5
- package/dist/cjs/success-ef661a11.js +0 -20
- package/dist/cjs/thumbs-down-714036b1.js +0 -7
- package/dist/cjs/thumbs-up-411babb8.js +0 -8
- package/dist/cjs/tutotial-7855df3c.js +0 -29
- package/dist/cjs/unknown-6814e551.js +0 -24
- package/dist/cjs/up-and-down-6f179dd8.js +0 -14
- package/dist/cjs/user-a3c2230f.js +0 -18
- package/dist/cjs/view-80d5c6c8.js +0 -5
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.css +0 -9
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js +0 -63
- package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +0 -227
- package/dist/collection/components/eds-cards/eds-card-section/eds-card-section.css +0 -249
- package/dist/collection/components/eds-cards/eds-card-section/eds-card-section.js +0 -95
- package/dist/collection/components/eds-cards/eds-card-section/eds-card-section.stories.js +0 -71
- package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.css +0 -103
- package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +0 -314
- package/dist/collection/components/eds-fullscreen-menu/eds-fullscreen-menu.stories.js +0 -77
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +0 -36
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +0 -36
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +0 -36
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-bin/eds-icon-bin.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-clone/eds-icon-clone.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-download/eds-icon-download.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-draft/eds-icon-draft.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-edit/eds-icon-edit.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-external/eds-icon-external.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-minus/eds-icon-minus.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-paper/eds-icon-paper.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-start/eds-icon-start.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-view/eds-icon-view.js +0 -36
- package/dist/collection/components/eds-trl/eds-trl.js +0 -68
- package/dist/components/arrow-diagonal-black.js +0 -3
- package/dist/components/arrow-right.js +0 -5
- package/dist/components/bin.js +0 -3
- package/dist/components/bookmark.js +0 -16
- package/dist/components/chevron-down.js +0 -12
- package/dist/components/chevron-left.js +0 -11
- package/dist/components/chevron-right.js +0 -5
- package/dist/components/chevron-up.js +0 -12
- package/dist/components/clone.js +0 -3
- package/dist/components/close.js +0 -5
- package/dist/components/copy.js +0 -5
- package/dist/components/download.js +0 -18
- package/dist/components/draft.js +0 -3
- package/dist/components/edit.js +0 -3
- package/dist/components/eds-card-project.js +0 -237
- package/dist/components/eds-card-section.d.ts +0 -11
- package/dist/components/eds-card-section.js +0 -92
- package/dist/components/eds-card-tags.d.ts +0 -11
- package/dist/components/eds-card-tags.js +0 -45
- package/dist/components/eds-card-tool.js +0 -137
- package/dist/components/eds-icon-arrow-diagonal.d.ts +0 -11
- package/dist/components/eds-icon-arrow-diagonal.js +0 -33
- package/dist/components/eds-icon-arrow-right.d.ts +0 -11
- package/dist/components/eds-icon-arrow-right.js +0 -33
- package/dist/components/eds-icon-bin.js +0 -33
- package/dist/components/eds-icon-bookmark.js +0 -33
- package/dist/components/eds-icon-chevron-down.d.ts +0 -11
- package/dist/components/eds-icon-chevron-down.js +0 -33
- package/dist/components/eds-icon-chevron-left.d.ts +0 -11
- package/dist/components/eds-icon-chevron-left.js +0 -33
- package/dist/components/eds-icon-chevron-right.d.ts +0 -11
- package/dist/components/eds-icon-chevron-right.js +0 -33
- package/dist/components/eds-icon-chevron-up.js +0 -33
- package/dist/components/eds-icon-clone.d.ts +0 -11
- package/dist/components/eds-icon-clone.js +0 -33
- package/dist/components/eds-icon-close.js +0 -33
- package/dist/components/eds-icon-copy.js +0 -33
- package/dist/components/eds-icon-download.d.ts +0 -11
- package/dist/components/eds-icon-download.js +0 -33
- package/dist/components/eds-icon-draft.d.ts +0 -11
- package/dist/components/eds-icon-draft.js +0 -33
- package/dist/components/eds-icon-edit.js +0 -33
- package/dist/components/eds-icon-external.d.ts +0 -11
- package/dist/components/eds-icon-external.js +0 -33
- package/dist/components/eds-icon-loader.d.ts +0 -11
- package/dist/components/eds-icon-loader.js +0 -33
- package/dist/components/eds-icon-menu.d.ts +0 -11
- package/dist/components/eds-icon-menu.js +0 -33
- package/dist/components/eds-icon-minus.d.ts +0 -11
- package/dist/components/eds-icon-minus.js +0 -33
- package/dist/components/eds-icon-more.d.ts +0 -11
- package/dist/components/eds-icon-more.js +0 -33
- package/dist/components/eds-icon-paper.d.ts +0 -11
- package/dist/components/eds-icon-paper.js +0 -33
- package/dist/components/eds-icon-plus.d.ts +0 -11
- package/dist/components/eds-icon-plus.js +0 -33
- package/dist/components/eds-icon-portal.d.ts +0 -11
- package/dist/components/eds-icon-portal.js +0 -33
- package/dist/components/eds-icon-private.d.ts +0 -11
- package/dist/components/eds-icon-private.js +0 -33
- package/dist/components/eds-icon-public.d.ts +0 -11
- package/dist/components/eds-icon-public.js +0 -33
- package/dist/components/eds-icon-search.d.ts +0 -11
- package/dist/components/eds-icon-search.js +0 -33
- package/dist/components/eds-icon-star.d.ts +0 -11
- package/dist/components/eds-icon-star.js +0 -33
- package/dist/components/eds-icon-start.d.ts +0 -11
- package/dist/components/eds-icon-start.js +0 -33
- package/dist/components/eds-icon-success.d.ts +0 -11
- package/dist/components/eds-icon-success.js +0 -33
- package/dist/components/eds-icon-thumbs-down.d.ts +0 -11
- package/dist/components/eds-icon-thumbs-down.js +0 -33
- package/dist/components/eds-icon-thumbs-up.d.ts +0 -11
- package/dist/components/eds-icon-thumbs-up.js +0 -33
- package/dist/components/eds-icon-tutorial.d.ts +0 -11
- package/dist/components/eds-icon-tutorial.js +0 -33
- package/dist/components/eds-icon-unknown.d.ts +0 -11
- package/dist/components/eds-icon-unknown.js +0 -33
- package/dist/components/eds-icon-updown.d.ts +0 -11
- package/dist/components/eds-icon-updown.js +0 -33
- package/dist/components/eds-icon-user.d.ts +0 -11
- package/dist/components/eds-icon-user.js +0 -33
- package/dist/components/eds-icon-view.d.ts +0 -11
- package/dist/components/eds-icon-view.js +0 -33
- package/dist/components/eds-progress-bar2.js +0 -71
- package/dist/components/eds-trl.js +0 -150
- package/dist/components/loader.js +0 -30
- package/dist/components/logo-color-margins.js +0 -118
- package/dist/components/logo-color.js +0 -115
- package/dist/components/logo-white-no-bg.js +0 -1029
- package/dist/components/menu.js +0 -11
- package/dist/components/minus.js +0 -11
- package/dist/components/more.js +0 -13
- package/dist/components/p-024c7937.js +0 -1
- package/dist/components/p-05754401.js +0 -1
- package/dist/components/p-0be28996.js +0 -1
- package/dist/components/p-0da7d1c9.js +0 -1
- package/dist/components/p-0e504247.entry.js +0 -1
- package/dist/components/p-0e6d43c5.js +0 -1
- package/dist/components/p-0f319eac.entry.js +0 -1
- package/dist/components/p-112122d6.js +0 -1
- package/dist/components/p-11bf02db.entry.js +0 -1
- package/dist/components/p-15df046d.entry.js +0 -1
- package/dist/components/p-15e5229b.entry.js +0 -1
- package/dist/components/p-1804a119.entry.js +0 -1
- package/dist/components/p-19c628e6.entry.js +0 -1
- package/dist/components/p-19e241e9.entry.js +0 -1
- package/dist/components/p-1a674723.entry.js +0 -9
- package/dist/components/p-1dd6faeb.entry.js +0 -1
- package/dist/components/p-1ded61bd.js +0 -1
- package/dist/components/p-2066b033.js +0 -1
- package/dist/components/p-2117611b.js +0 -1
- package/dist/components/p-21ed7e2e.entry.js +0 -1
- package/dist/components/p-2692f93d.js +0 -1
- package/dist/components/p-27c4a06e.js +0 -1
- package/dist/components/p-29041952.js +0 -1
- package/dist/components/p-2bd9605b.entry.js +0 -1
- package/dist/components/p-2e3bd154.entry.js +0 -1
- package/dist/components/p-3004d956.entry.js +0 -1
- package/dist/components/p-313b04c9.entry.js +0 -1
- package/dist/components/p-31a3c6a2.entry.js +0 -1
- package/dist/components/p-32e6c4df.js +0 -1
- package/dist/components/p-3778e162.entry.js +0 -1
- package/dist/components/p-39548acc.entry.js +0 -1
- package/dist/components/p-3aac5c73.entry.js +0 -1
- package/dist/components/p-43bc9224.entry.js +0 -1
- package/dist/components/p-454bdd5a.js +0 -1
- package/dist/components/p-4587d0ef.js +0 -1
- package/dist/components/p-46d0716d.js +0 -1
- package/dist/components/p-48eaf544.entry.js +0 -1
- package/dist/components/p-4c2a8bf1.entry.js +0 -1
- package/dist/components/p-4eaa7ba2.entry.js +0 -1
- package/dist/components/p-4eb2cf7f.js +0 -1
- package/dist/components/p-5157eb25.entry.js +0 -1
- package/dist/components/p-52c28fa2.js +0 -1
- package/dist/components/p-553ca350.js +0 -1
- package/dist/components/p-58967f53.js +0 -1
- package/dist/components/p-59d2b2a9.entry.js +0 -1
- package/dist/components/p-5c28d2d3.entry.js +0 -1
- package/dist/components/p-5d046674.js +0 -1
- package/dist/components/p-63d9ab86.entry.js +0 -1
- package/dist/components/p-640c4463.entry.js +0 -1
- package/dist/components/p-643eee62.entry.js +0 -1
- package/dist/components/p-64be8ed5.entry.js +0 -1
- package/dist/components/p-694fc085.js +0 -1
- package/dist/components/p-70cbe02d.entry.js +0 -1
- package/dist/components/p-7198c024.js +0 -1
- package/dist/components/p-7aa97ad6.entry.js +0 -1
- package/dist/components/p-83b26d8c.entry.js +0 -1
- package/dist/components/p-83dde536.entry.js +0 -1
- package/dist/components/p-83ff4a95.js +0 -1
- package/dist/components/p-86bb73dc.js +0 -1
- package/dist/components/p-8779905b.entry.js +0 -1
- package/dist/components/p-88814860.entry.js +0 -1
- package/dist/components/p-8983de37.js +0 -1
- package/dist/components/p-8c42cefe.entry.js +0 -1
- package/dist/components/p-8c520685.entry.js +0 -1
- package/dist/components/p-8cba26bd.entry.js +0 -1
- package/dist/components/p-8ef830f5.entry.js +0 -1
- package/dist/components/p-942f4a95.entry.js +0 -1
- package/dist/components/p-9b05145b.entry.js +0 -1
- package/dist/components/p-9c5a453b.js +0 -1
- package/dist/components/p-9d57b51f.entry.js +0 -1
- package/dist/components/p-9e46df74.entry.js +0 -1
- package/dist/components/p-a38bb645.entry.js +0 -1
- package/dist/components/p-a61dbad5.entry.js +0 -1
- package/dist/components/p-a8e5591c.entry.js +0 -1
- package/dist/components/p-aefcb641.js +0 -1
- package/dist/components/p-afceabd6.entry.js +0 -1
- package/dist/components/p-b00352ff.entry.js +0 -1
- package/dist/components/p-b73410de.js +0 -1
- package/dist/components/p-b822abb7.js +0 -1
- package/dist/components/p-b93f983c.entry.js +0 -1
- package/dist/components/p-ba720bf3.js +0 -1
- package/dist/components/p-bb6a6de2.entry.js +0 -1
- package/dist/components/p-bc2204f3.entry.js +0 -1
- package/dist/components/p-bef9bf37.entry.js +0 -1
- package/dist/components/p-c1ad7132.entry.js +0 -1
- package/dist/components/p-c1e4ef92.js +0 -1
- package/dist/components/p-c776b6f8.js +0 -1
- package/dist/components/p-c8e7c854.js +0 -1
- package/dist/components/p-cb5e39d1.entry.js +0 -1
- package/dist/components/p-ccb6ad15.entry.js +0 -1
- package/dist/components/p-cdf19579.js +0 -1
- package/dist/components/p-d090b9fa.entry.js +0 -1
- package/dist/components/p-d11f2808.entry.js +0 -1
- package/dist/components/p-d6e5a9fb.entry.js +0 -1
- package/dist/components/p-d958e1f3.entry.js +0 -1
- package/dist/components/p-d962849c.js +0 -1
- package/dist/components/p-da7b4b6a.entry.js +0 -1
- package/dist/components/p-da96c7cd.entry.js +0 -1
- package/dist/components/p-dea41137.entry.js +0 -1
- package/dist/components/p-e01cf4f8.entry.js +0 -1
- package/dist/components/p-e2d5a487.js +0 -1
- package/dist/components/p-e5a1118d.entry.js +0 -1
- package/dist/components/p-eb818455.entry.js +0 -1
- package/dist/components/p-ece618b3.js +0 -1
- package/dist/components/p-f061ff11.entry.js +0 -1
- package/dist/components/p-f0a330ef.entry.js +0 -1
- package/dist/components/p-f11e3f42.entry.js +0 -1
- package/dist/components/p-f227bac5.entry.js +0 -1
- package/dist/components/p-f24bfc6a.entry.js +0 -1
- package/dist/components/p-f2abe4d8.js +0 -1
- package/dist/components/p-fda3df86.entry.js +0 -1
- package/dist/components/paper.js +0 -15
- package/dist/components/plus.js +0 -12
- package/dist/components/portal.js +0 -18
- package/dist/components/private.js +0 -25
- package/dist/components/public.js +0 -16
- package/dist/components/search.js +0 -12
- package/dist/components/star.js +0 -5
- package/dist/components/start.js +0 -3
- package/dist/components/success.js +0 -18
- package/dist/components/thumbs-down.js +0 -5
- package/dist/components/thumbs-up.js +0 -6
- package/dist/components/tutotial.js +0 -27
- package/dist/components/unknown.js +0 -22
- package/dist/components/up-and-down.js +0 -12
- package/dist/components/user.js +0 -16
- package/dist/components/view.js +0 -3
- package/dist/esm/arrow-diagonal-black-8f0494c3.js +0 -3
- package/dist/esm/arrow-right-9322ba8a.js +0 -5
- package/dist/esm/bin-37cad2f0.js +0 -3
- package/dist/esm/bookmark-c200037c.js +0 -16
- package/dist/esm/chevron-down-6144c823.js +0 -12
- package/dist/esm/chevron-left-ca6c66e1.js +0 -11
- package/dist/esm/chevron-right-b88ed2d4.js +0 -5
- package/dist/esm/chevron-up-c66bd477.js +0 -12
- package/dist/esm/clone-dab56639.js +0 -3
- package/dist/esm/close-87fc0d63.js +0 -5
- package/dist/esm/copy-03b72cb6.js +0 -5
- package/dist/esm/download-47746956.js +0 -18
- package/dist/esm/draft-dd5dada2.js +0 -3
- package/dist/esm/edit-3893a517.js +0 -3
- package/dist/esm/eds-accordion_37.entry.js +0 -6868
- package/dist/esm/eds-card-desc_2.entry.js +0 -72
- package/dist/esm/eds-card-generic.entry.js +0 -87
- package/dist/esm/eds-card-project.entry.js +0 -191
- package/dist/esm/eds-card-section.entry.js +0 -35
- package/dist/esm/eds-card-tags.entry.js +0 -18
- package/dist/esm/eds-card-tool.entry.js +0 -75
- package/dist/esm/eds-footer.entry.js +0 -63
- package/dist/esm/eds-fullscreen-menu.entry.js +0 -87
- package/dist/esm/eds-icon-arrow-diagonal.entry.js +0 -14
- package/dist/esm/eds-icon-arrow-right.entry.js +0 -14
- package/dist/esm/eds-icon-bin.entry.js +0 -14
- package/dist/esm/eds-icon-bookmark.entry.js +0 -14
- package/dist/esm/eds-icon-chevron-down.entry.js +0 -14
- package/dist/esm/eds-icon-chevron-left.entry.js +0 -14
- package/dist/esm/eds-icon-chevron-right.entry.js +0 -14
- package/dist/esm/eds-icon-chevron-up.entry.js +0 -14
- package/dist/esm/eds-icon-clone.entry.js +0 -14
- package/dist/esm/eds-icon-close.entry.js +0 -14
- package/dist/esm/eds-icon-copy.entry.js +0 -14
- package/dist/esm/eds-icon-download.entry.js +0 -14
- package/dist/esm/eds-icon-draft.entry.js +0 -14
- package/dist/esm/eds-icon-edit.entry.js +0 -14
- package/dist/esm/eds-icon-external.entry.js +0 -14
- package/dist/esm/eds-icon-loader.entry.js +0 -14
- package/dist/esm/eds-icon-menu.entry.js +0 -14
- package/dist/esm/eds-icon-minus.entry.js +0 -14
- package/dist/esm/eds-icon-more.entry.js +0 -14
- package/dist/esm/eds-icon-paper.entry.js +0 -14
- package/dist/esm/eds-icon-plus.entry.js +0 -14
- package/dist/esm/eds-icon-portal.entry.js +0 -14
- package/dist/esm/eds-icon-private.entry.js +0 -14
- package/dist/esm/eds-icon-public.entry.js +0 -14
- package/dist/esm/eds-icon-search.entry.js +0 -14
- package/dist/esm/eds-icon-star.entry.js +0 -14
- package/dist/esm/eds-icon-start.entry.js +0 -14
- package/dist/esm/eds-icon-success.entry.js +0 -14
- package/dist/esm/eds-icon-thumbs-down.entry.js +0 -14
- package/dist/esm/eds-icon-thumbs-up.entry.js +0 -14
- package/dist/esm/eds-icon-tutorial.entry.js +0 -14
- package/dist/esm/eds-icon-unknown.entry.js +0 -14
- package/dist/esm/eds-icon-updown.entry.js +0 -14
- package/dist/esm/eds-icon-user.entry.js +0 -14
- package/dist/esm/eds-icon-view.entry.js +0 -14
- package/dist/esm/eds-progress-bar.entry.js +0 -52
- package/dist/esm/eds-social-networks.entry.js +0 -60
- package/dist/esm/eds-trl.entry.js +0 -47
- package/dist/esm/eu-9ddde93a.js +0 -30
- package/dist/esm/index-39c58238.js +0 -46
- package/dist/esm/loader-c9628637.js +0 -30
- package/dist/esm/logo-color-7f1fd803.js +0 -115
- package/dist/esm/logo-color-margins-ff8ce71b.js +0 -118
- package/dist/esm/logo-white-no-bg-f382f86f.js +0 -1029
- package/dist/esm/menu-340ea948.js +0 -11
- package/dist/esm/minus-b30a7c71.js +0 -11
- package/dist/esm/more-4449d549.js +0 -13
- package/dist/esm/paper-8e74ea31.js +0 -15
- package/dist/esm/plus-89c07be2.js +0 -12
- package/dist/esm/portal-d6c8ce56.js +0 -18
- package/dist/esm/private-1c25ff8e.js +0 -25
- package/dist/esm/public-d4d8c585.js +0 -16
- package/dist/esm/search-fbcd79c2.js +0 -12
- package/dist/esm/star-0da9b5e9.js +0 -5
- package/dist/esm/start-65126a4f.js +0 -3
- package/dist/esm/success-443809da.js +0 -18
- package/dist/esm/thumbs-down-a18fd049.js +0 -5
- package/dist/esm/thumbs-up-c19a71bc.js +0 -6
- package/dist/esm/tutotial-150ee1fd.js +0 -27
- package/dist/esm/unknown-ed01a24c.js +0 -22
- package/dist/esm/up-and-down-8b69ca97.js +0 -12
- package/dist/esm/user-71ebdc15.js +0 -16
- package/dist/esm/view-e900f2d4.js +0 -3
- package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/lib/svgs.d.ts +0 -65
- package/dist/types/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.d.ts +0 -15
- package/dist/types/components/eds-cards/eds-card-project/eds-card-project.d.ts +0 -54
- package/dist/types/components/eds-cards/eds-card-section/eds-card-section.d.ts +0 -70
- package/dist/types/components/eds-cards/eds-card-section/eds-card-section.stories.d.ts +0 -68
- package/dist/types/components/eds-cards/eds-card-tool/eds-card-tool.d.ts +0 -79
- package/dist/types/components/eds-fullscreen-menu/eds-fullscreen-menu.stories.d.ts +0 -29
- package/dist/types/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.d.ts +0 -10
- package/dist/types/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.d.ts +0 -10
- package/dist/types/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.d.ts +0 -10
- package/dist/types/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-bin/eds-icon-bin.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-clone/eds-icon-clone.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-close/eds-icon-close.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-copy/eds-icon-copy.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-download/eds-icon-download.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-draft/eds-icon-draft.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-edit/eds-icon-edit.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-external/eds-icon-external.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-loader/eds-icon-loader.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-menu/eds-icon-menu.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-minus/eds-icon-minus.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-more/eds-icon-more.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-paper/eds-icon-paper.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-plus/eds-icon-plus.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-portal/eds-icon-portal.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-private/eds-icon-private.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-public/eds-icon-public.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-search/eds-icon-search.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-star/eds-icon-star.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-start/eds-icon-start.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-success/eds-icon-success.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-unknown/eds-icon-unknown.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-updown/eds-icon-updown.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-user/eds-icon-user.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-view/eds-icon-view.d.ts +0 -10
- package/dist/types/components/eds-trl/eds-trl.d.ts +0 -12
- /package/dist/types/Users/{nigeor/Documents/Projects/EBRAINS → nikolaosgeorgomanolis/Documents/EBRAINS/Projects}/ebrains-ui-ecosystem/packages/components/.stencil/packages/components/stencil.config.d.ts +0 -0
- /package/dist/types/Users/{nigeor/Documents/Projects/EBRAINS → nikolaosgeorgomanolis/Documents/EBRAINS/Projects}/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/index.d.ts +0 -0
|
@@ -12,19 +12,120 @@ table {
|
|
|
12
12
|
/* 3 */
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
/*
|
|
15
|
+
/* DISABLED — only the brand theme is used now (theme is coerced to 'brand'
|
|
16
|
+
in eds-table.tsx). Kept for reference.
|
|
17
|
+
|
|
18
|
+
Default theme - no alternating colors
|
|
16
19
|
tr.table-row-default {
|
|
17
20
|
background-color: transparent;
|
|
18
21
|
}
|
|
19
22
|
|
|
20
|
-
|
|
23
|
+
Color theme - alternating rows
|
|
21
24
|
tr.table-row-color:nth-child(even) {
|
|
22
|
-
background-color:var(--grey-
|
|
25
|
+
background-color:var(--grey-light);
|
|
23
26
|
}
|
|
24
27
|
|
|
25
28
|
tr.table-row-color:nth-child(odd) {
|
|
26
29
|
background-color: transparent;
|
|
27
30
|
}
|
|
31
|
+
*/
|
|
32
|
+
|
|
33
|
+
/* ============================================
|
|
34
|
+
BRAND THEME STYLES
|
|
35
|
+
============================================ */
|
|
36
|
+
|
|
37
|
+
/* Brand table wrapper */
|
|
38
|
+
.brand-table-wrapper {
|
|
39
|
+
margin-top: 2rem;
|
|
40
|
+
width: 100%;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* Brand table base */
|
|
44
|
+
.brand-table {
|
|
45
|
+
width: 100% !important;
|
|
46
|
+
border-collapse: separate !important;
|
|
47
|
+
border-spacing: 0 !important;
|
|
48
|
+
display: table !important;
|
|
49
|
+
table-layout: fixed !important;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* Brand table header */
|
|
53
|
+
.brand-thead {
|
|
54
|
+
background: var(--grey-light);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.brand-header-row {
|
|
58
|
+
border: none !important;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.brand-header-row th {
|
|
62
|
+
padding: 1rem 1.5rem !important;
|
|
63
|
+
text-align: center !important;
|
|
64
|
+
font-weight: 600 !important;
|
|
65
|
+
font-size: 0.9rem !important;
|
|
66
|
+
text-transform: uppercase;
|
|
67
|
+
letter-spacing: 0.05em;
|
|
68
|
+
color: var(--grey-dark) !important;
|
|
69
|
+
border: none !important;
|
|
70
|
+
overflow-wrap: break-word !important;
|
|
71
|
+
word-wrap: break-word !important;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.brand-header-row th:first-child {
|
|
75
|
+
border-radius: 0.5rem 0 0 0;
|
|
76
|
+
padding-left: 2rem !important;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.brand-header-row th:last-child {
|
|
80
|
+
border-radius: 0 0.5rem 0 0;
|
|
81
|
+
padding-right: 2rem !important;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/* Brand table rows */
|
|
85
|
+
.brand-row {
|
|
86
|
+
border-bottom: 1px solid var(--grey-light) !important;
|
|
87
|
+
transition: all 0.3s ease;
|
|
88
|
+
position: relative;
|
|
89
|
+
background: transparent !important;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.brand-row.has-actions {
|
|
93
|
+
cursor: pointer;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.brand-row:hover {
|
|
97
|
+
background: rgba(0, 255, 157, 0.05) !important;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.brand-row td {
|
|
101
|
+
padding: 1.5rem 1.5rem !important;
|
|
102
|
+
border: none !important;
|
|
103
|
+
vertical-align: middle;
|
|
104
|
+
position: relative;
|
|
105
|
+
z-index: 1;
|
|
106
|
+
overflow-wrap: break-word !important;
|
|
107
|
+
word-wrap: break-word !important;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.brand-row td:first-child {
|
|
111
|
+
padding-left: 2rem !important;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.brand-row td:last-child {
|
|
115
|
+
padding-right: 2rem !important;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/* Brand row action cell alignment */
|
|
119
|
+
.brand-row .actions-cell {
|
|
120
|
+
text-align: right !important;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/* Remove default table borders for brand theme */
|
|
124
|
+
.brand-table tr.brand-row {
|
|
125
|
+
border-left: none;
|
|
126
|
+
border-right: none;
|
|
127
|
+
border-top: none;
|
|
128
|
+
}
|
|
28
129
|
|
|
29
130
|
.container {
|
|
30
131
|
width: calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));
|
|
@@ -130,7 +231,6 @@ tr.table-row-color:nth-child(odd) {
|
|
|
130
231
|
|
|
131
232
|
.f-ui-01 {
|
|
132
233
|
font-family: var(--f-ui-01-fontFamily);
|
|
133
|
-
font-weight: var(--f-ui-01-fontWeight);
|
|
134
234
|
font-size: var(--f-ui-01-fontSize);
|
|
135
235
|
line-height: var(--f-ui-01-lineHeight);
|
|
136
236
|
letter-spacing: var(--f-ui-01-letterSpacing);
|
|
@@ -138,7 +238,6 @@ tr.table-row-color:nth-child(odd) {
|
|
|
138
238
|
|
|
139
239
|
.f-ui-02 {
|
|
140
240
|
font-family: var(--f-ui-02-fontFamily);
|
|
141
|
-
font-weight: var(--f-ui-02-fontWeight);
|
|
142
241
|
font-size: var(--f-ui-02-fontSize);
|
|
143
242
|
line-height: var(--f-ui-02-lineHeight);
|
|
144
243
|
letter-spacing: var(--f-ui-02-letterSpacing);
|
|
@@ -162,4 +261,172 @@ tr.table-row-color:nth-child(odd) {
|
|
|
162
261
|
|
|
163
262
|
.break-words {
|
|
164
263
|
overflow-wrap: anywhere;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
/* ============================================
|
|
267
|
+
CONTROLS CONTAINER STYLES
|
|
268
|
+
============================================ */
|
|
269
|
+
|
|
270
|
+
.controls-container {
|
|
271
|
+
display: flex;
|
|
272
|
+
width: 100%;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.view-toggle-wrapper {
|
|
276
|
+
flex-shrink: 0;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.search-wrapper {
|
|
280
|
+
min-width: 0;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
/* ============================================
|
|
284
|
+
CARD VIEW STYLES
|
|
285
|
+
============================================ */
|
|
286
|
+
|
|
287
|
+
.card-grid {
|
|
288
|
+
display: grid;
|
|
289
|
+
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
290
|
+
gap: 1.5rem;
|
|
291
|
+
margin-top: 1.5rem;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.data-card {
|
|
295
|
+
background: var(--white);
|
|
296
|
+
border: 1px solid var(--grey-light);
|
|
297
|
+
border-radius: 0.75rem;
|
|
298
|
+
padding: 1.5rem;
|
|
299
|
+
transition: all 0.3s ease;
|
|
300
|
+
display: flex;
|
|
301
|
+
flex-direction: column;
|
|
302
|
+
gap: 1rem;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.data-card:hover {
|
|
306
|
+
border-color: var(--brand-green);
|
|
307
|
+
box-shadow: 0 4px 12px rgba(0, 255, 157, 0.1);
|
|
308
|
+
transform: translateY(-2px);
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.card-content {
|
|
312
|
+
display: flex;
|
|
313
|
+
flex-direction: column;
|
|
314
|
+
gap: 0.75rem;
|
|
315
|
+
flex: 1;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.card-field {
|
|
319
|
+
display: flex;
|
|
320
|
+
flex-direction: column;
|
|
321
|
+
gap: 0.25rem;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.card-label {
|
|
325
|
+
font-family: var(--f-ui-03-fontFamily);
|
|
326
|
+
font-size: var(--f-ui-03-fontSize);
|
|
327
|
+
font-weight: var(--f-ui-03-fontWeight);
|
|
328
|
+
line-height: var(--f-ui-03-lineHeight);
|
|
329
|
+
text-transform: uppercase;
|
|
330
|
+
letter-spacing: 0.05em;
|
|
331
|
+
color: var(--grey-dark);
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.card-value {
|
|
335
|
+
font-family: var(--f-ui-02-fontFamily);
|
|
336
|
+
font-size: var(--f-ui-02-fontSize);
|
|
337
|
+
line-height: var(--f-ui-02-lineHeight);
|
|
338
|
+
color: var(--brand-black);
|
|
339
|
+
word-wrap: break-word;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
/* Emphasize the primary (first) field — the service name/title — a bit
|
|
343
|
+
larger than the other card values. */
|
|
344
|
+
.card-field:first-child .card-value {
|
|
345
|
+
font-size: var(--f-ui-01-fontSize);
|
|
346
|
+
line-height: var(--f-ui-01-lineHeight);
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.card-actions {
|
|
350
|
+
display: flex;
|
|
351
|
+
flex-direction: row; /* actions in a horizontal row... */
|
|
352
|
+
flex-wrap: wrap; /* ...wrapping to the next line on narrow cards / many actions */
|
|
353
|
+
align-items: center;
|
|
354
|
+
justify-content: center; /* centered row, reads cleanly at any width */
|
|
355
|
+
gap: 0.5rem;
|
|
356
|
+
padding-top: 0.75rem;
|
|
357
|
+
border-top: 1px solid var(--grey-light);
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/* Responsive grid adjustments */
|
|
361
|
+
@media (min-width: 640px) {
|
|
362
|
+
.card-grid {
|
|
363
|
+
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
@media (min-width: 1024px) {
|
|
368
|
+
.card-grid {
|
|
369
|
+
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
|
|
370
|
+
gap: 2rem;
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
/* ============================================
|
|
375
|
+
UTILITY CLASSES
|
|
376
|
+
============================================ */
|
|
377
|
+
|
|
378
|
+
/* Flex Direction */
|
|
379
|
+
.flex-col {
|
|
380
|
+
flex-direction: column;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.flex-row {
|
|
384
|
+
flex-direction: row;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
/* Align Items */
|
|
388
|
+
.items-start {
|
|
389
|
+
align-items: flex-start;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.items-center {
|
|
393
|
+
align-items: center;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
/* Gap */
|
|
397
|
+
.gap-16 {
|
|
398
|
+
gap: 1rem;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
/* Margin Bottom */
|
|
402
|
+
.mb-16 {
|
|
403
|
+
margin-bottom: 1rem;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
/* Width */
|
|
407
|
+
.w-full {
|
|
408
|
+
width: 100%;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
.w-auto {
|
|
412
|
+
width: auto;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
/* Responsive utilities for md screens (750px and up) */
|
|
416
|
+
@media (min-width: 750px) {
|
|
417
|
+
.flex-md-row {
|
|
418
|
+
flex-direction: row;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
.items-md-center {
|
|
422
|
+
align-items: center;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
.w-md-auto {
|
|
426
|
+
width: auto;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
.w-md-400 {
|
|
430
|
+
width: 400px;
|
|
431
|
+
}
|
|
165
432
|
}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* <eds-table
|
|
3
3
|
table-data='[
|
|
4
|
-
{ "Property": "username", "Type": "string", "Required": "Yes" },
|
|
5
|
-
{ "Property": "password", "Type": "string", "Required": "Yes" },
|
|
6
|
-
{ "Property": "email", "Type": "string", "Required": "No" }
|
|
4
|
+
{ "Property": "username", "Type": "string", "Required": "Yes", "Docs": "<a href=\"/docs\">View Docs</a>" },
|
|
5
|
+
{ "Property": "password", "Type": "string", "Required": "Yes", "Docs": "<a href=\"/docs\">View Docs</a>" },
|
|
6
|
+
{ "Property": "email", "Type": "string", "Required": "No", "Docs": "<a href=\"/docs\">View Docs</a>" }
|
|
7
7
|
]'
|
|
8
8
|
config='{
|
|
9
9
|
"Type": { "format": "uppercase" },
|
|
10
10
|
"Property": { "format": "code" },
|
|
11
|
-
"Required": { "hidden": true }
|
|
11
|
+
"Required": { "hidden": true },
|
|
12
|
+
"Docs": { "format": "html" }
|
|
12
13
|
}'
|
|
13
14
|
actions='[
|
|
14
15
|
{ "name": "view", "label": "View" },
|
|
@@ -33,10 +34,17 @@ import { parseData } from "../../utils/sharedUtils";
|
|
|
33
34
|
* `EdsTable` is a customizable data table component with support for dynamic data fetching, column configuration, pagination, and search functionality.
|
|
34
35
|
*
|
|
35
36
|
* Key Features:
|
|
36
|
-
* - Configurable columns with options to hide or apply text formatting (uppercase, bold, or
|
|
37
|
+
* - Configurable columns with options to hide or apply text formatting (uppercase, bold, code, or html).
|
|
37
38
|
* - Pagination support with adjustable rows per page.
|
|
38
39
|
* - Searchable content for easier data filtering.
|
|
39
40
|
*
|
|
41
|
+
* Column Format Options:
|
|
42
|
+
* - 'uppercase': Converts text to uppercase
|
|
43
|
+
* - 'bold': Wraps text in <strong> tag
|
|
44
|
+
* - 'code': Wraps text in <code> tag
|
|
45
|
+
* - 'html': Renders raw HTML content (use for web components, links, etc.)
|
|
46
|
+
* - 'svg': (deprecated, use 'html') Renders raw HTML content
|
|
47
|
+
*
|
|
40
48
|
* This component is versatile for displaying data with flexible configuration, and integrates with pagination and search functionalities.
|
|
41
49
|
*/
|
|
42
50
|
export class EdsTable {
|
|
@@ -88,17 +96,29 @@ export class EdsTable {
|
|
|
88
96
|
action: this.sortDirection
|
|
89
97
|
});
|
|
90
98
|
};
|
|
99
|
+
this.handleViewChange = (event) => {
|
|
100
|
+
this.view = event.detail.value ? 'card' : 'table';
|
|
101
|
+
this.viewchange.emit({ view: this.view });
|
|
102
|
+
sendAnalytics({
|
|
103
|
+
category: 'ui-component',
|
|
104
|
+
parentContext: null,
|
|
105
|
+
tag: `${this.hostEl.tagName.toLowerCase()}/view-toggle`,
|
|
106
|
+
name: this.view,
|
|
107
|
+
action: 'view-change'
|
|
108
|
+
});
|
|
109
|
+
};
|
|
91
110
|
this.data = null;
|
|
92
111
|
this.config = {};
|
|
93
112
|
this.rowsPerPage = 10;
|
|
94
113
|
this.paginationEnabled = true;
|
|
95
114
|
this.searchEnabled = false;
|
|
96
115
|
this.hostWidth = undefined;
|
|
97
|
-
this.columnSize = 'default';
|
|
98
116
|
this.actions = [];
|
|
99
117
|
this.actionTemplate = undefined;
|
|
100
118
|
this.sortingEnabled = false;
|
|
101
|
-
this.theme = '
|
|
119
|
+
this.theme = 'brand';
|
|
120
|
+
this.view = 'table';
|
|
121
|
+
this.showViewToggle = false;
|
|
102
122
|
this.parsedActions = [];
|
|
103
123
|
this.dataColumns = [];
|
|
104
124
|
this.tbData = [];
|
|
@@ -128,6 +148,8 @@ export class EdsTable {
|
|
|
128
148
|
}
|
|
129
149
|
}
|
|
130
150
|
componentWillLoad() {
|
|
151
|
+
// 'default' / 'color' themes are disabled — always render the brand theme.
|
|
152
|
+
this.theme = 'brand';
|
|
131
153
|
this.parseConfig();
|
|
132
154
|
this.handleActionsChange();
|
|
133
155
|
this.parseData();
|
|
@@ -214,7 +236,8 @@ export class EdsTable {
|
|
|
214
236
|
renderCell(value, column) {
|
|
215
237
|
var _a;
|
|
216
238
|
const format = (_a = this.parsedConfig[column]) === null || _a === void 0 ? void 0 : _a.format;
|
|
217
|
-
return format === 'uppercase' ? (value === null || value === void 0 ? void 0 : value.toString().toUpperCase()) : format === '
|
|
239
|
+
return format === 'uppercase' ? (value === null || value === void 0 ? void 0 : value.toString().toUpperCase()) : format === 'html' || format === 'svg' ? ( // 'svg' is deprecated, use 'html'
|
|
240
|
+
h("div", { innerHTML: value })) : format === 'bold' ? (h("strong", null, value)) : format === 'code' ? (h("code", null, value)) : (value);
|
|
218
241
|
}
|
|
219
242
|
/**
|
|
220
243
|
* Renders one action (button or checkbox) for a specific action‐name.
|
|
@@ -234,7 +257,10 @@ export class EdsTable {
|
|
|
234
257
|
}
|
|
235
258
|
// Let all action buttons be focusable naturally
|
|
236
259
|
const showLabel = act.showLabel === true;
|
|
237
|
-
const
|
|
260
|
+
const isBrandTheme = this.theme === 'brand';
|
|
261
|
+
// Use custom intent if provided, otherwise fall back to theme-based default
|
|
262
|
+
const buttonIntent = act.intent || (isBrandTheme ? 'primary' : 'ghost');
|
|
263
|
+
const btn = (h("eds-button", { icon: act.icon, label: showLabel ? act.label : null, iconPos: act.pos || 'left', pill: true, size: "small", intent: buttonIntent, tabIndex: 0, onClick: () => this.emitAction(act.name, row) }));
|
|
238
264
|
return showLabel ? btn : h("eds-tooltip", { content: act.label }, btn);
|
|
239
265
|
}
|
|
240
266
|
emitAction(actionName, row, checked) {
|
|
@@ -254,24 +280,11 @@ export class EdsTable {
|
|
|
254
280
|
var _a, _b;
|
|
255
281
|
// Grab all data‐keys from the first row (if any) as before:
|
|
256
282
|
this.columns = this.tbData.length > 0 ? Object.keys(this.tbData[0]) : [];
|
|
257
|
-
// Instead of pushing each action.name, add just a single
|
|
283
|
+
// Instead of pushing each action.name, add just a single "actions" column
|
|
258
284
|
if (((_b = (_a = this.parsedActions) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0) > 0 && this.tbData.length > 0) {
|
|
259
285
|
this.columns.push('actions');
|
|
260
286
|
}
|
|
261
287
|
}
|
|
262
|
-
getVisibleColumnsCount() {
|
|
263
|
-
return this.columns.filter((column) => { var _a; return !((_a = this.parsedConfig[column]) === null || _a === void 0 ? void 0 : _a.hidden); }).length;
|
|
264
|
-
}
|
|
265
|
-
divisionFactor() {
|
|
266
|
-
let divisionFactor = 1;
|
|
267
|
-
if (this.columnSize === 'medium') {
|
|
268
|
-
divisionFactor = 2;
|
|
269
|
-
}
|
|
270
|
-
else if (this.columnSize === 'large') {
|
|
271
|
-
divisionFactor = 4;
|
|
272
|
-
}
|
|
273
|
-
return divisionFactor;
|
|
274
|
-
}
|
|
275
288
|
capitalize(str) {
|
|
276
289
|
return str.charAt(0).toUpperCase() + str.slice(1).toLowerCase();
|
|
277
290
|
}
|
|
@@ -301,41 +314,45 @@ export class EdsTable {
|
|
|
301
314
|
return this.sortDirection === 'asc' ? comparison : -comparison;
|
|
302
315
|
});
|
|
303
316
|
}
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
const
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
return (h("div", {
|
|
311
|
-
var _a;
|
|
317
|
+
renderCardView(rows) {
|
|
318
|
+
// Get data columns (exclude 'actions' column)
|
|
319
|
+
const dataColumns = this.columns.filter((col) => { var _a; return col !== 'actions' && !((_a = this.parsedConfig[col]) === null || _a === void 0 ? void 0 : _a.hidden); });
|
|
320
|
+
return (h("div", { class: "card-grid" }, rows.map((row) => (h("div", { class: "data-card" }, h("div", { class: "card-content" }, dataColumns.map((col) => (h("div", { class: "card-field" }, h("span", { class: "card-label" }, this.capitalize(col)), h("span", { class: "card-value" }, this.renderCell(row[col], col)))))), this.parsedActions.length > 0 && (h("div", { class: "card-actions" }, this.parsedActions.map((act) => (h("span", null, this.renderSingleActionCell(act.name, row)))))))))));
|
|
321
|
+
}
|
|
322
|
+
renderTableView(paginatedRows) {
|
|
323
|
+
return (h("div", { class: `mt-20 ${this.theme === 'brand' ? 'brand-table-wrapper' : ''}` }, h("table", { class: `${this.theme === 'brand' ? '' : 'block overflow-x-auto'} mt-6 p-0 ${this.theme === 'brand' ? 'brand-table' : ''}` }, h("thead", { class: this.theme === 'brand' ? 'brand-thead' : '' }, h("tr", { class: `m-0 p-0 border border-softer table-row-${this.theme} ${this.theme === 'brand' ? 'brand-header-row' : ''}` }, this.columns
|
|
324
|
+
.filter((col) => { var _a; return col === 'actions' || !((_a = this.parsedConfig[col]) === null || _a === void 0 ? void 0 : _a.hidden); })
|
|
325
|
+
.map((col) => {
|
|
312
326
|
if (col === 'actions') {
|
|
313
|
-
return (h("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words"
|
|
314
|
-
}
|
|
315
|
-
if (!((_a = this.parsedConfig[col]) === null || _a === void 0 ? void 0 : _a.hidden)) {
|
|
316
|
-
return (h("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }, h("div", { style: { display: 'flex', alignItems: 'center', justifyContent: 'center', gap: '0.25rem' } }, h("span", null, this.capitalize(col)), this.sortingEnabled && (h("eds-icon-wrapper", { icon: this.sortColumn === col
|
|
317
|
-
? this.sortDirection === 'asc'
|
|
318
|
-
? 'chevron-up'
|
|
319
|
-
: 'chevron-down'
|
|
320
|
-
: 'chevron-down', "aria-label": `Sort by ${col}`, onClick: () => this.handleSort(col), style: { cursor: 'pointer' } })))));
|
|
327
|
+
return (h("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words" }));
|
|
321
328
|
}
|
|
322
|
-
return null
|
|
323
|
-
|
|
324
|
-
|
|
329
|
+
return (h("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words" }, h("div", { style: { display: 'flex', alignItems: 'center', justifyContent: 'center', gap: '0.25rem' } }, h("span", null, this.capitalize(col)), this.sortingEnabled && (h("eds-icon-wrapper", { name: this.sortColumn === col
|
|
330
|
+
? this.sortDirection === 'asc'
|
|
331
|
+
? 'chevron-up'
|
|
332
|
+
: 'chevron-down'
|
|
333
|
+
: 'chevron-down', "aria-label": `Sort by ${col}`, onClick: () => this.handleSort(col), style: { cursor: 'pointer' } })))));
|
|
334
|
+
}))), h("tbody", null, paginatedRows.map((row) => (h("tr", { class: `m-0 p-0 border border-softer table-row-${this.theme} ${this.theme === 'brand' ? 'brand-row' : ''} ${this.parsedActions.length > 0 ? 'has-actions' : ''}` }, this.columns
|
|
335
|
+
.filter((col) => { var _a; return col === 'actions' || !((_a = this.parsedConfig[col]) === null || _a === void 0 ? void 0 : _a.hidden); })
|
|
336
|
+
.map((col) => {
|
|
325
337
|
if (col === 'actions') {
|
|
326
|
-
return (h("td", { class: "text-center border border-softer m-0 f-ui-
|
|
338
|
+
return (h("td", { class: "text-center border border-softer m-0 f-ui-01 break-words actions-cell" }, h("div", { role: "toolbar", "aria-label": "Row actions", onKeyDown: this.onActionKeyDown, style: {
|
|
327
339
|
display: 'flex',
|
|
328
340
|
gap: '0.5rem',
|
|
329
341
|
justifyContent: 'center',
|
|
330
342
|
flexWrap: 'wrap'
|
|
331
343
|
} }, this.parsedActions.map((act) => (h("span", { style: { whiteSpace: 'nowrap' } }, this.renderSingleActionCell(act.name, row)))))));
|
|
332
344
|
}
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
345
|
+
// Regular data cell
|
|
346
|
+
return (h("td", { class: "text-center border border-softer m-0 py-8 f-ui-02 break-words" }, this.renderCell(row[col], col)));
|
|
347
|
+
}))))))));
|
|
348
|
+
}
|
|
349
|
+
render() {
|
|
350
|
+
const paginatedRows = this.getPaginatedRows();
|
|
351
|
+
const lastPage = Math.ceil(this.totalRows / this.rowsPerPage);
|
|
352
|
+
const showControls = this.showViewToggle || this.searchEnabled;
|
|
353
|
+
return (h("div", { key: '1e8a2f5f19df240ee3a57951641b60b947342fad' }, showControls && (h("div", { key: '778fe091226330448bba089189e9dd6a6aa977a9', class: "controls-container flex-col flex-md-row items-start items-md-center justify-between gap-16 mb-16" }, this.showViewToggle && (h("div", { key: '7ef287464bb2fba846be5341f4bb0e71d982be0e', class: "view-toggle-wrapper" }, h("eds-switch", { key: '2d3a494a5b354a14c8e882a153633bd5e85a40ab', variant: "segmented", labelOff: "Table View", labelOn: "Card View", checked: this.view === 'card', onUiswitch: this.handleViewChange }))), this.searchEnabled && (h("div", { key: 'dfcf6d0bdc23cb10481121881a7656b02a0599c1', class: `search-wrapper w-full ${this.showViewToggle ? 'w-md-400' : ''}` }, h("eds-input-field", { key: 1, icon: "search", name: "search", "aria-label": "Search", type: "text", placeholder: "Search...", onInput: (event) => this.handleSearch(event) }))))), this.view === 'card'
|
|
354
|
+
? this.renderCardView(paginatedRows)
|
|
355
|
+
: this.renderTableView(paginatedRows), this.shouldEnablePagination() && (h("div", { key: '3f7faafdd6147855cb8812ff6303c335c7fd1f35', class: "mt-20" }, h("eds-pagination", { key: '17705ba01a8ca8cc79bacfce34e55f11ce53d70c', currentPage: this.currentPage, lastPage: lastPage, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })))));
|
|
339
356
|
}
|
|
340
357
|
static get is() { return "eds-table"; }
|
|
341
358
|
static get encapsulation() { return "shadow"; }
|
|
@@ -373,8 +390,8 @@ export class EdsTable {
|
|
|
373
390
|
"type": "string",
|
|
374
391
|
"mutable": false,
|
|
375
392
|
"complexType": {
|
|
376
|
-
"original": "| string\n | {\n [key: string]: {\n hidden?: boolean;\n format?: 'uppercase' | 'bold' | 'code';\n };\n }",
|
|
377
|
-
"resolved": "string | { [key: string]: { hidden?: boolean; format?: \"
|
|
393
|
+
"original": "| string\n | {\n [key: string]: {\n hidden?: boolean;\n format?: 'uppercase' | 'bold' | 'code' | 'html' | 'svg';\n };\n }",
|
|
394
|
+
"resolved": "string | { [key: string]: { hidden?: boolean; format?: \"code\" | \"html\" | \"svg\" | \"bold\" | \"uppercase\"; }; }",
|
|
378
395
|
"references": {}
|
|
379
396
|
},
|
|
380
397
|
"required": false,
|
|
@@ -458,24 +475,6 @@ export class EdsTable {
|
|
|
458
475
|
"attribute": "host-width",
|
|
459
476
|
"reflect": false
|
|
460
477
|
},
|
|
461
|
-
"columnSize": {
|
|
462
|
-
"type": "string",
|
|
463
|
-
"mutable": false,
|
|
464
|
-
"complexType": {
|
|
465
|
-
"original": "'default' | 'medium' | 'large'",
|
|
466
|
-
"resolved": "\"default\" | \"large\" | \"medium\"",
|
|
467
|
-
"references": {}
|
|
468
|
-
},
|
|
469
|
-
"required": false,
|
|
470
|
-
"optional": true,
|
|
471
|
-
"docs": {
|
|
472
|
-
"tags": [],
|
|
473
|
-
"text": "Optional property to control the column sizing mode.\n- 'default' uses containerWidth / visibleColumns.\n- 'medium' divides that result by 2.\n- 'large' divides that result by 4."
|
|
474
|
-
},
|
|
475
|
-
"attribute": "column-size",
|
|
476
|
-
"reflect": false,
|
|
477
|
-
"defaultValue": "'default'"
|
|
478
|
-
},
|
|
479
478
|
"actions": {
|
|
480
479
|
"type": "string",
|
|
481
480
|
"mutable": false,
|
|
@@ -485,7 +484,7 @@ export class EdsTable {
|
|
|
485
484
|
"references": {
|
|
486
485
|
"TableAction": {
|
|
487
486
|
"location": "local",
|
|
488
|
-
"path": "/Users/
|
|
487
|
+
"path": "/Users/nikolaosgeorgomanolis/Documents/EBRAINS/Projects/ebrains-ui-ecosystem/packages/components/src/components/eds-table/eds-table.tsx",
|
|
489
488
|
"id": "../../../packages/components/src/components/eds-table/eds-table.tsx::TableAction"
|
|
490
489
|
}
|
|
491
490
|
}
|
|
@@ -494,7 +493,7 @@ export class EdsTable {
|
|
|
494
493
|
"optional": false,
|
|
495
494
|
"docs": {
|
|
496
495
|
"tags": [],
|
|
497
|
-
"text": "Array of actions to render in each row. Can be passed as a JSON string or as a `TableAction[]`.\n\nEach action object may include:\n - `name` (string; required) \u2014 unique action key, e.g. `\"view\"`, `\"delete\"`.\n - `label` (string; required) \u2014 text shown on the button, or used as the tooltip/aria-label when icon-only.\n - `type` (\"button\" | \"checkbox\"; optional) \u2014 whether to render a standard button (default) or a checkbox.\n - `icon` (string; optional) \u2014 name of the icon to display in icon-only mode.\n - `field` (string; optional) \u2014 for checkboxes, the row field whose truthiness binds the checked state (defaults to `name`).\n - `showLabel` (boolean; optional) \u2014 if `true`, render the full `label` instead of an icon + tooltip.\n\nWhen you pass JSON, make sure field names match exactly:\n```html\nactions='[\n { \"name\":\"view\", \"label\":\"View\", \"icon\":\"eye\" },\n { \"name\":\"edit\", \"label\":\"Edit\", \"icon\":\"pencil\", \"showLabel\":true },\n { \"name\":\"del\", \"label\":\"Delete\",\"type\":\"checkbox\", \"field\":\"selected\" }\n]'\n```"
|
|
496
|
+
"text": "Array of actions to render in each row. Can be passed as a JSON string or as a `TableAction[]`.\n\nEach action object may include:\n - `name` (string; required) \u2014 unique action key, e.g. `\"view\"`, `\"delete\"`.\n - `label` (string; required) \u2014 text shown on the button, or used as the tooltip/aria-label when icon-only.\n - `type` (\"button\" | \"checkbox\"; optional) \u2014 whether to render a standard button (default) or a checkbox.\n - `icon` (string; optional) \u2014 name of the icon to display in icon-only mode.\n - `field` (string; optional) \u2014 for checkboxes, the row field whose truthiness binds the checked state (defaults to `name`).\n - `showLabel` (boolean; optional) \u2014 if `true`, render the full `label` instead of an icon + tooltip.\n - `intent` (\"brand\" | \"primary\" | \"secondary\" | \"neutral\" | \"ghost\" | \"brandInverse\" | \"secondaryInverse\" | \"ghostInverse\"; optional) \u2014 button intent/style.\n\nWhen you pass JSON, make sure field names match exactly:\n```html\nactions='[\n { \"name\":\"view\", \"label\":\"View\", \"icon\":\"eye\", \"intent\":\"brand\" },\n { \"name\":\"edit\", \"label\":\"Edit\", \"icon\":\"pencil\", \"showLabel\":true, \"intent\":\"primary\" },\n { \"name\":\"del\", \"label\":\"Delete\",\"type\":\"checkbox\", \"field\":\"selected\" }\n]'\n```"
|
|
498
497
|
},
|
|
499
498
|
"attribute": "actions",
|
|
500
499
|
"reflect": false,
|
|
@@ -541,21 +540,57 @@ export class EdsTable {
|
|
|
541
540
|
},
|
|
542
541
|
"theme": {
|
|
543
542
|
"type": "string",
|
|
544
|
-
"mutable":
|
|
543
|
+
"mutable": true,
|
|
545
544
|
"complexType": {
|
|
546
|
-
"original": "'
|
|
547
|
-
"resolved": "\"
|
|
545
|
+
"original": "'brand'",
|
|
546
|
+
"resolved": "\"brand\"",
|
|
548
547
|
"references": {}
|
|
549
548
|
},
|
|
550
549
|
"required": false,
|
|
551
550
|
"optional": false,
|
|
552
551
|
"docs": {
|
|
553
552
|
"tags": [],
|
|
554
|
-
"text": "Theme for table styling
|
|
553
|
+
"text": "Theme for table styling.\n\nThe 'default' (no background) and 'color' (alternating rows) themes are\nDISABLED \u2014 the table now always renders the EBRAINS 'brand' theme (modern\nstyling, hover, green accents). The prop is kept for API compatibility but\nis coerced to 'brand' in componentWillLoad(), so any value a consumer\npasses is ignored."
|
|
555
554
|
},
|
|
556
555
|
"attribute": "theme",
|
|
557
556
|
"reflect": false,
|
|
558
|
-
"defaultValue": "'
|
|
557
|
+
"defaultValue": "'brand'"
|
|
558
|
+
},
|
|
559
|
+
"view": {
|
|
560
|
+
"type": "string",
|
|
561
|
+
"mutable": true,
|
|
562
|
+
"complexType": {
|
|
563
|
+
"original": "'table' | 'card'",
|
|
564
|
+
"resolved": "\"card\" | \"table\"",
|
|
565
|
+
"references": {}
|
|
566
|
+
},
|
|
567
|
+
"required": false,
|
|
568
|
+
"optional": false,
|
|
569
|
+
"docs": {
|
|
570
|
+
"tags": [],
|
|
571
|
+
"text": "View mode for displaying data:\n- 'table': Traditional table layout (default)\n- 'card': Card grid layout"
|
|
572
|
+
},
|
|
573
|
+
"attribute": "view",
|
|
574
|
+
"reflect": false,
|
|
575
|
+
"defaultValue": "'table'"
|
|
576
|
+
},
|
|
577
|
+
"showViewToggle": {
|
|
578
|
+
"type": "boolean",
|
|
579
|
+
"mutable": false,
|
|
580
|
+
"complexType": {
|
|
581
|
+
"original": "boolean",
|
|
582
|
+
"resolved": "boolean",
|
|
583
|
+
"references": {}
|
|
584
|
+
},
|
|
585
|
+
"required": false,
|
|
586
|
+
"optional": false,
|
|
587
|
+
"docs": {
|
|
588
|
+
"tags": [],
|
|
589
|
+
"text": "Show view toggle control (segmented switch for Table/Card views)"
|
|
590
|
+
},
|
|
591
|
+
"attribute": "show-view-toggle",
|
|
592
|
+
"reflect": false,
|
|
593
|
+
"defaultValue": "false"
|
|
559
594
|
}
|
|
560
595
|
};
|
|
561
596
|
}
|
|
@@ -590,6 +625,21 @@ export class EdsTable {
|
|
|
590
625
|
"resolved": "{ action: string; row: any; checked: boolean; }",
|
|
591
626
|
"references": {}
|
|
592
627
|
}
|
|
628
|
+
}, {
|
|
629
|
+
"method": "viewchange",
|
|
630
|
+
"name": "viewchange",
|
|
631
|
+
"bubbles": true,
|
|
632
|
+
"cancelable": true,
|
|
633
|
+
"composed": true,
|
|
634
|
+
"docs": {
|
|
635
|
+
"tags": [],
|
|
636
|
+
"text": "Emitted when view mode changes"
|
|
637
|
+
},
|
|
638
|
+
"complexType": {
|
|
639
|
+
"original": "{ view: 'table' | 'card' }",
|
|
640
|
+
"resolved": "{ view: \"card\" | \"table\"; }",
|
|
641
|
+
"references": {}
|
|
642
|
+
}
|
|
593
643
|
}];
|
|
594
644
|
}
|
|
595
645
|
static get elementRef() { return "hostEl"; }
|