@ebrains/components 2.3.0 → 2.4.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 +33 -24
- 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_36.cjs.entry.js → eds-accordion_37.cjs.entry.js} +671 -224
- package/dist/cjs/eds-app-root.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-desc_2.cjs.entry.js +2 -2
- package/dist/cjs/eds-card-generic.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-project.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-section.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-tags.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-tool.cjs.entry.js +1 -1
- package/dist/cjs/eds-cookies-preference.cjs.entry.js +1 -1
- package/dist/cjs/eds-feedback.cjs.entry.js +1 -1
- package/dist/cjs/eds-footer.cjs.entry.js +4 -2
- package/dist/cjs/eds-frame.cjs.entry.js +1 -1
- package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +12 -1
- package/dist/cjs/eds-gauge.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-bin.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-bookmark.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-clone.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-close.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-copy.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-download.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-draft.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-edit.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-eu.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-external.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-facebook.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-linkedin.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-loader.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-mastodon.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-menu.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-minus.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-more.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-paper.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-plus.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-portal.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-private.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-public.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-search.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-star.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-start.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-success.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-tutorial.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-unknown.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-updown.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-user.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-view.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
- package/dist/cjs/eds-modal.cjs.entry.js +2 -2
- package/dist/cjs/eds-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
- package/dist/cjs/eds-social-networks.cjs.entry.js +1 -1
- package/dist/cjs/eds-timeline.cjs.entry.js +1 -1
- package/dist/cjs/eds-toast-manager.cjs.entry.js +1 -1
- package/dist/cjs/eds-trl.cjs.entry.js +1 -1
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/index-50bc1aa4.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/logo-space.cjs.entry.js +1 -1
- package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +2 -2
- package/dist/cjs/logo-variations-tabs.cjs.entry.js +1 -1
- package/dist/cjs/logo-wrong-usage.cjs.entry.js +1 -1
- package/dist/cjs/svg-repository.cjs.entry.js +3 -3
- package/dist/cjs/token-list_3.cjs.entry.js +3 -3
- package/dist/cjs/token-ratios.cjs.entry.js +1 -1
- package/dist/cjs/token-spacing.cjs.entry.js +1 -1
- package/dist/cjs/token-typography.cjs.entry.js +1 -1
- package/dist/cjs/{up-and-down-d71df67d.js → up-and-down-6f179dd8.js} +2 -2
- package/dist/collection/collection-manifest.json +15 -14
- package/dist/collection/components/eds-accordion/eds-accordion.js +2 -2
- package/dist/collection/components/eds-alert/eds-alert.js +2 -2
- package/dist/collection/components/eds-avatar/eds-avatar.js +1 -1
- package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
- package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +1 -1
- package/dist/collection/components/eds-button/eds-button.js +1 -19
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +1 -1
- package/dist/collection/{shared-ui → components/eds-cards}/eds-card-section/eds-card-section.js +4 -4
- package/dist/collection/{shared-ui → components/eds-cards}/eds-card-section/eds-card-section.stories.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +1 -1
- package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.js +1 -1
- package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
- package/dist/collection/components/eds-dropdown/eds-dropdown.js +2 -2
- package/dist/collection/{shared-ui → components}/eds-feedback/eds-feedback.js +1 -1
- package/dist/collection/{shared-ui → components}/eds-feedback/eds-feedback.stories.js +1 -1
- package/dist/collection/{shared-ui → components}/eds-footer/eds-footer.js +4 -2
- package/dist/collection/{shared-ui → components}/eds-footer/eds-footer.stories.js +1 -1
- package/dist/collection/{shared-ui → components}/eds-form/eds-form.js +63 -24
- package/dist/collection/{shared-ui → components}/eds-form/eds-form.stories.js +1 -1
- package/dist/collection/{shared-ui → components}/eds-frame/eds-frame.js +1 -1
- package/dist/collection/{shared-ui → components}/eds-frame/eds-frame.stories.js +1 -1
- package/dist/collection/{shared-ui → components}/eds-fullscreen-menu/eds-fullscreen-menu.js +56 -1
- package/dist/collection/{shared-ui → components}/eds-fullscreen-menu/eds-fullscreen-menu.stories.js +1 -1
- package/dist/collection/{shared-ui → components}/eds-header/eds-header.css +5 -0
- package/dist/collection/{shared-ui → components}/eds-header/eds-header.js +4 -18
- package/dist/collection/{shared-ui → components}/eds-header/eds-header.stories.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-bin/eds-icon-bin.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-clone/eds-icon-clone.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-download/eds-icon-download.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-draft/eds-icon-draft.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-edit/eds-icon-edit.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-external/eds-icon-external.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-minus/eds-icon-minus.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-paper/eds-icon-paper.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-start/eds-icon-start.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.js +2 -2
- package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-view/eds-icon-view.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +1 -1
- package/dist/collection/components/eds-img/eds-img.js +2 -2
- package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +2 -2
- package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +2 -2
- package/dist/collection/components/eds-input-field/eds-input-field.js +2 -2
- package/dist/collection/components/eds-link/eds-link.js +15 -25
- package/dist/collection/components/eds-logo/eds-logo.js +1 -1
- package/dist/collection/components/eds-modal/eds-modal.js +2 -2
- package/dist/collection/components/eds-nps/eds-npm.stories.js +1 -1
- package/dist/collection/components/eds-nps/eds-nps.js +66 -53
- package/dist/collection/components/eds-pagination/eds-pagination.js +1 -1
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
- package/dist/collection/components/eds-rating/eds-rating.js +1 -1
- 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 +458 -0
- package/dist/collection/components/eds-sidebar/eds-sidebar.js +299 -0
- package/dist/collection/components/eds-sidebar/eds-sidebar.stories.js +141 -0
- package/dist/collection/{shared-ui → components}/eds-social-networks/eds-social-networks.js +1 -1
- package/dist/collection/{shared-ui → components}/eds-social-networks/eds-social-networks.stories.js +1 -1
- package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
- package/dist/collection/{shared-ui → components}/eds-splash-screen/eds-splash-screen.stories.js +1 -1
- package/dist/collection/components/eds-steps/eds-steps.css +463 -0
- package/dist/collection/components/eds-steps/eds-steps.js +481 -0
- package/dist/collection/{shared-ui → components}/eds-steps/eds-steps.stories.js +22 -4
- package/dist/collection/{shared-ui → components}/eds-steps-v2/eds-steps-v2.css +167 -3
- package/dist/collection/{shared-ui → components}/eds-steps-v2/eds-steps-v2.js +179 -115
- package/dist/collection/{shared-ui → components}/eds-steps-v2/eds-steps-v2.stories.js +9 -2
- package/dist/collection/components/eds-switch/eds-switch.js +2 -2
- package/dist/collection/components/eds-table/eds-table.css +14 -0
- package/dist/collection/components/eds-table/eds-table.js +99 -9
- package/dist/collection/{shared-ui → components}/eds-tabs/eds-tabs.js +2 -2
- package/dist/collection/{shared-ui → components}/eds-tabs/eds-tabs.stories.js +1 -1
- package/dist/collection/components/eds-tag/eds-tag.js +1 -1
- package/dist/collection/components/eds-timeline/eds-timeline.js +1 -1
- package/dist/collection/{shared-ui → 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-trl/eds-trl.js +1 -1
- package/dist/collection/{shared-ui → components}/eds-user/eds-user.js +1 -1
- package/dist/collection/{shared-ui → 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/components-section/functional/overview.js +2 -2
- package/dist/collection/eds-docs-ui/components-section/functional/vue.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/docs-tokens/docs-tokens.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
- package/dist/collection/eds-docs-ui/docs-palettes/docs-palettes.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations-tabs/logo-variations.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
- package/dist/collection/eds-docs-ui/svg-repository/svg-repository.js +1 -1
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
- package/dist/collection/shared-ui/eds-global-search/eds-global-search.js +10 -12
- package/dist/collection/shared-ui/eds-global-search/eds-global-search.stories.js +3 -2
- package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
- package/dist/components/components-section.js +33 -24
- package/dist/components/components.css +619 -0
- 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 +2 -2
- package/dist/components/eds-alert2.js +2 -2
- package/dist/components/eds-app-root.js +1 -1
- package/dist/components/eds-avatar2.js +1 -1
- package/dist/components/eds-block-break2.js +1 -1
- package/dist/components/eds-breadcrumb.js +1 -1
- package/dist/components/eds-button2.js +1 -3
- package/dist/components/eds-card-desc2.js +1 -1
- package/dist/components/eds-card-generic2.js +1 -1
- package/dist/components/eds-card-project.js +1 -1
- package/dist/components/eds-card-section.js +1 -1
- package/dist/components/eds-card-tags.js +1 -1
- package/dist/components/eds-card-title2.js +1 -1
- package/dist/components/eds-card-tool.js +1 -1
- package/dist/components/eds-code-block2.js +1 -1
- package/dist/components/eds-cookies-preference.js +1 -1
- package/dist/components/eds-dropdown2.js +2 -2
- package/dist/components/eds-feedback.js +1 -1
- package/dist/components/eds-footer2.js +4 -2
- package/dist/components/eds-form.js +87 -42
- package/dist/components/eds-frame.js +1 -1
- package/dist/components/eds-fullscreen-menu.js +16 -3
- package/dist/components/eds-gauge.js +1 -1
- package/dist/components/eds-global-search.js +31 -27
- package/dist/components/eds-header.js +6 -11
- package/dist/components/eds-icon-arrow-diagonal.js +1 -1
- package/dist/components/eds-icon-arrow-right.js +1 -1
- package/dist/components/eds-icon-bin.js +1 -1
- package/dist/components/eds-icon-bluesky.js +1 -1
- package/dist/components/eds-icon-bookmark.js +1 -1
- package/dist/components/eds-icon-chevron-down.js +1 -1
- package/dist/components/eds-icon-chevron-left.js +1 -1
- package/dist/components/eds-icon-chevron-right.js +1 -1
- package/dist/components/eds-icon-chevron-up.js +1 -1
- package/dist/components/eds-icon-clone.js +1 -1
- package/dist/components/eds-icon-close.js +1 -1
- package/dist/components/eds-icon-copy.js +1 -1
- package/dist/components/eds-icon-download.js +1 -1
- package/dist/components/eds-icon-draft.js +1 -1
- package/dist/components/eds-icon-edit.js +1 -1
- package/dist/components/eds-icon-eu.js +1 -1
- package/dist/components/eds-icon-external.js +1 -1
- package/dist/components/eds-icon-facebook.js +1 -1
- package/dist/components/eds-icon-gitlab.js +1 -1
- package/dist/components/eds-icon-linkedin.js +1 -1
- package/dist/components/eds-icon-loader.js +1 -1
- package/dist/components/eds-icon-mastodon.js +1 -1
- package/dist/components/eds-icon-menu.js +1 -1
- package/dist/components/eds-icon-minus.js +1 -1
- package/dist/components/eds-icon-more.js +1 -1
- package/dist/components/eds-icon-paper.js +1 -1
- package/dist/components/eds-icon-plus.js +1 -1
- package/dist/components/eds-icon-portal.js +1 -1
- package/dist/components/eds-icon-private.js +1 -1
- package/dist/components/eds-icon-public.js +1 -1
- package/dist/components/eds-icon-search.js +1 -1
- package/dist/components/eds-icon-star.js +1 -1
- package/dist/components/eds-icon-start.js +1 -1
- package/dist/components/eds-icon-success.js +1 -1
- package/dist/components/eds-icon-thumbs-down.js +1 -1
- package/dist/components/eds-icon-thumbs-up.js +1 -1
- package/dist/components/eds-icon-tutorial.js +1 -1
- package/dist/components/eds-icon-twitter.js +1 -1
- package/dist/components/eds-icon-unknown.js +1 -1
- package/dist/components/eds-icon-updown.js +2 -2
- package/dist/components/eds-icon-user.js +1 -1
- package/dist/components/eds-icon-view.js +1 -1
- package/dist/components/eds-icon-youtube.js +1 -1
- package/dist/components/eds-img2.js +2 -2
- package/dist/components/eds-input-field2.js +22 -16
- package/dist/components/eds-input-footer2.js +9 -3
- package/dist/components/eds-input-label2.js +1 -1
- package/dist/components/eds-input-range2.js +1 -1
- package/dist/components/eds-input-search2.js +1 -1
- package/dist/components/eds-input-select2.js +2 -2
- package/dist/components/eds-input2.js +2 -2
- package/dist/components/eds-link2.js +14 -9
- package/dist/components/eds-logo2.js +1 -1
- package/dist/components/eds-modal.js +2 -2
- package/dist/components/eds-nps2.js +66 -53
- package/dist/components/eds-pagination2.js +1 -1
- package/dist/components/eds-progress-bar2.js +1 -1
- package/dist/components/eds-rating2.js +1 -1
- package/dist/components/eds-section-core2.js +1 -1
- package/dist/components/eds-section-heading2.js +2 -2
- package/dist/components/eds-sidebar.d.ts +11 -0
- package/dist/components/eds-sidebar.js +208 -0
- package/dist/components/eds-social-networks2.js +1 -1
- package/dist/components/eds-spinner2.js +1 -1
- package/dist/components/eds-steps-v2.js +133 -46
- package/dist/components/eds-steps2.js +131 -35
- package/dist/components/eds-switch.js +2 -2
- package/dist/components/eds-table2.js +65 -9
- package/dist/components/eds-tabs.js +2 -2
- package/dist/components/eds-tag2.js +1 -1
- package/dist/components/eds-timeline.js +1 -1
- package/dist/components/eds-toast-manager.js +1 -1
- package/dist/components/eds-tooltip2.js +1 -1
- package/dist/components/eds-trl.js +1 -1
- package/dist/components/eds-user.js +1 -1
- package/dist/components/incorrect-use-of-colors.js +1 -1
- package/dist/components/logo-space.js +1 -1
- package/dist/components/logo-variations-horizontal2.js +1 -1
- package/dist/components/logo-variations-tabs.js +1 -1
- package/dist/components/logo-variations-vertical2.js +1 -1
- package/dist/components/logo-wrong-usage.js +1 -1
- package/dist/components/p-062d2f91.entry.js +1 -0
- package/dist/components/p-0725a684.entry.js +1 -0
- package/dist/components/{p-84a04d37.entry.js → p-07d5560c.entry.js} +1 -1
- package/dist/components/p-13f74e41.entry.js +1 -0
- package/dist/components/p-15dc5ecf.entry.js +1 -0
- package/dist/components/{p-ca91952b.entry.js → p-15df046d.entry.js} +1 -1
- package/dist/components/p-15f94425.entry.js +1 -0
- package/dist/components/{p-37a3d3ba.entry.js → p-1f0819cf.entry.js} +1 -1
- package/dist/components/p-1f74c192.entry.js +1 -0
- package/dist/components/p-20e711e6.entry.js +1 -0
- package/dist/components/{p-e7b7179f.entry.js → p-21510f7a.entry.js} +1 -1
- package/dist/components/{p-219842c0.entry.js → p-277d0045.entry.js} +1 -1
- package/dist/components/p-28ce55ae.entry.js +1 -0
- package/dist/components/p-30e88fc2.entry.js +1 -0
- package/dist/components/{p-1297d926.entry.js → p-314aa952.entry.js} +1 -1
- package/dist/components/p-355df495.entry.js +1 -0
- package/dist/components/p-366c5c03.entry.js +1 -0
- package/dist/components/p-38113b9c.entry.js +1 -0
- package/dist/components/{p-c5d6c2a5.entry.js → p-3a1e54bd.entry.js} +1 -1
- package/dist/components/{p-c8cba3a9.entry.js → p-3ad7a15b.entry.js} +1 -1
- package/dist/components/p-3b838def.entry.js +1 -0
- package/dist/components/p-48825534.entry.js +1 -0
- package/dist/components/{p-b9bd1209.entry.js → p-4cebd89e.entry.js} +1 -1
- package/dist/components/p-51d0e443.entry.js +1 -0
- package/dist/components/p-53f6527b.entry.js +1 -0
- package/dist/components/{p-9385c5fd.entry.js → p-5ba1c4b4.entry.js} +1 -1
- package/dist/components/{p-7a34b267.entry.js → p-5e6f5588.entry.js} +1 -1
- package/dist/components/p-6197c589.entry.js +1 -0
- package/dist/components/p-632bd36e.entry.js +1 -0
- package/dist/components/p-65948a6e.entry.js +1 -0
- package/dist/components/{p-06428b6c.entry.js → p-67c3bedc.entry.js} +1 -1
- package/dist/components/{p-a258d382.entry.js → p-721431b8.entry.js} +1 -1
- package/dist/components/p-7737d5c7.entry.js +1 -0
- package/dist/components/p-78e85217.entry.js +1 -0
- package/dist/components/p-7a62ae0d.entry.js +1 -0
- package/dist/components/p-7aa97ad6.entry.js +1 -0
- package/dist/components/{p-067a184b.entry.js → p-7f820989.entry.js} +1 -1
- package/dist/components/{p-b9b6ac74.entry.js → p-801f67a1.entry.js} +1 -1
- package/dist/components/{p-9c68934f.entry.js → p-80ced58a.entry.js} +1 -1
- package/dist/components/p-87481169.entry.js +1 -0
- package/dist/components/p-87df6442.entry.js +1 -0
- package/dist/components/p-8bd954b5.entry.js +1 -0
- package/dist/components/{p-bce8a58d.entry.js → p-8c520685.entry.js} +1 -1
- package/dist/components/p-941dc156.entry.js +1 -0
- package/dist/components/p-9afd31cb.entry.js +1 -0
- package/dist/components/p-9cd1cc1e.entry.js +1 -0
- package/dist/components/{p-4beb1e06.entry.js → p-9d57b51f.entry.js} +1 -1
- package/dist/components/{p-df18ffd1.entry.js → p-a61dbad5.entry.js} +1 -1
- package/dist/components/p-a7323642.entry.js +1 -0
- package/dist/components/p-a83c336c.entry.js +1 -0
- package/dist/components/{p-71f4afdf.entry.js → p-ab4acc26.entry.js} +1 -1
- package/dist/components/{p-71e9b1e9.entry.js → p-ac501eb6.entry.js} +1 -1
- package/dist/components/p-ad036475.entry.js +1 -0
- package/dist/components/p-ad295d47.entry.js +1 -0
- package/dist/components/p-ad6e7daf.entry.js +1 -0
- package/dist/components/{p-dd34feaa.entry.js → p-ae471b33.entry.js} +1 -1
- package/dist/components/p-b64f8ffc.entry.js +1 -0
- package/dist/components/p-bb800eec.entry.js +1 -0
- package/dist/components/p-bfb00131.entry.js +1 -0
- package/dist/components/p-c07e3269.entry.js +1 -0
- package/dist/components/p-c286e9d3.entry.js +1 -0
- package/dist/components/p-c38c527e.entry.js +1 -0
- package/dist/components/p-c404226a.entry.js +1 -0
- package/dist/components/p-c9d60f21.entry.js +1 -0
- package/dist/components/p-d29676a0.entry.js +1 -0
- package/dist/components/p-df5fc158.entry.js +1 -0
- package/dist/components/p-e311fe9e.entry.js +1 -0
- package/dist/components/p-e4f0f24a.entry.js +1 -0
- package/dist/components/{p-1fad228f.entry.js → p-eda55db0.entry.js} +1 -1
- package/dist/components/p-ee93afac.entry.js +1 -0
- package/dist/components/{p-c12b0af1.entry.js → p-f0993844.entry.js} +1 -1
- package/dist/components/p-f1c8f841.entry.js +1 -0
- package/dist/components/p-f227bac5.entry.js +1 -0
- package/dist/components/{p-7ada2015.entry.js → p-f24bfc6a.entry.js} +1 -1
- package/dist/components/p-f3754a20.entry.js +1 -0
- package/dist/components/{p-d650c6c3.entry.js → p-f4c954ec.entry.js} +1 -1
- package/dist/components/p-f6baca73.entry.js +9 -0
- package/dist/components/p-f7b88ef5.entry.js +1 -0
- package/dist/components/{p-c51b90c2.entry.js → p-fda3df86.entry.js} +1 -1
- 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 +3 -3
- package/dist/components/token-list2.js +1 -1
- package/dist/components/token-radii2.js +1 -1
- package/dist/components/token-ratios.js +1 -1
- package/dist/components/token-shadows2.js +1 -1
- package/dist/components/token-spacing.js +1 -1
- package/dist/components/token-typography.js +1 -1
- package/dist/components/up-and-down.js +2 -2
- package/dist/esm/color-primary-palette_6.entry.js +14 -14
- package/dist/esm/components-section.entry.js +33 -24
- 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_36.entry.js → eds-accordion_37.entry.js} +671 -225
- package/dist/esm/eds-app-root.entry.js +1 -1
- package/dist/esm/eds-card-desc_2.entry.js +2 -2
- package/dist/esm/eds-card-generic.entry.js +1 -1
- package/dist/esm/eds-card-project.entry.js +1 -1
- package/dist/esm/eds-card-section.entry.js +1 -1
- package/dist/esm/eds-card-tags.entry.js +1 -1
- package/dist/esm/eds-card-tool.entry.js +1 -1
- package/dist/esm/eds-cookies-preference.entry.js +1 -1
- package/dist/esm/eds-feedback.entry.js +1 -1
- package/dist/esm/eds-footer.entry.js +4 -2
- package/dist/esm/eds-frame.entry.js +1 -1
- package/dist/esm/eds-fullscreen-menu.entry.js +12 -1
- package/dist/esm/eds-gauge.entry.js +1 -1
- package/dist/esm/eds-icon-arrow-diagonal.entry.js +1 -1
- package/dist/esm/eds-icon-arrow-right.entry.js +1 -1
- package/dist/esm/eds-icon-bin.entry.js +1 -1
- package/dist/esm/eds-icon-bluesky.entry.js +1 -1
- package/dist/esm/eds-icon-bookmark.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-down.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-left.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-right.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-up.entry.js +1 -1
- package/dist/esm/eds-icon-clone.entry.js +1 -1
- package/dist/esm/eds-icon-close.entry.js +1 -1
- package/dist/esm/eds-icon-copy.entry.js +1 -1
- package/dist/esm/eds-icon-download.entry.js +1 -1
- package/dist/esm/eds-icon-draft.entry.js +1 -1
- package/dist/esm/eds-icon-edit.entry.js +1 -1
- package/dist/esm/eds-icon-eu.entry.js +1 -1
- package/dist/esm/eds-icon-external.entry.js +1 -1
- package/dist/esm/eds-icon-facebook.entry.js +1 -1
- package/dist/esm/eds-icon-gitlab.entry.js +1 -1
- package/dist/esm/eds-icon-linkedin.entry.js +1 -1
- package/dist/esm/eds-icon-loader.entry.js +1 -1
- package/dist/esm/eds-icon-mastodon.entry.js +1 -1
- package/dist/esm/eds-icon-menu.entry.js +1 -1
- package/dist/esm/eds-icon-minus.entry.js +1 -1
- package/dist/esm/eds-icon-more.entry.js +1 -1
- package/dist/esm/eds-icon-paper.entry.js +1 -1
- package/dist/esm/eds-icon-plus.entry.js +1 -1
- package/dist/esm/eds-icon-portal.entry.js +1 -1
- package/dist/esm/eds-icon-private.entry.js +1 -1
- package/dist/esm/eds-icon-public.entry.js +1 -1
- package/dist/esm/eds-icon-search.entry.js +1 -1
- package/dist/esm/eds-icon-star.entry.js +1 -1
- package/dist/esm/eds-icon-start.entry.js +1 -1
- package/dist/esm/eds-icon-success.entry.js +1 -1
- package/dist/esm/eds-icon-thumbs-down.entry.js +1 -1
- package/dist/esm/eds-icon-thumbs-up.entry.js +1 -1
- package/dist/esm/eds-icon-tutorial.entry.js +1 -1
- package/dist/esm/eds-icon-twitter.entry.js +1 -1
- package/dist/esm/eds-icon-unknown.entry.js +1 -1
- package/dist/esm/eds-icon-updown.entry.js +2 -2
- package/dist/esm/eds-icon-user.entry.js +1 -1
- package/dist/esm/eds-icon-view.entry.js +1 -1
- package/dist/esm/eds-icon-youtube.entry.js +1 -1
- package/dist/esm/eds-modal.entry.js +2 -2
- package/dist/esm/eds-progress-bar.entry.js +1 -1
- package/dist/esm/eds-section-core_2.entry.js +3 -3
- package/dist/esm/eds-social-networks.entry.js +1 -1
- package/dist/esm/eds-timeline.entry.js +1 -1
- package/dist/esm/eds-toast-manager.entry.js +1 -1
- package/dist/esm/eds-trl.entry.js +1 -1
- package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
- package/dist/esm/index-870ab08f.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/logo-space.entry.js +1 -1
- package/dist/esm/logo-variations-horizontal_2.entry.js +2 -2
- package/dist/esm/logo-variations-tabs.entry.js +1 -1
- package/dist/esm/logo-wrong-usage.entry.js +1 -1
- package/dist/esm/svg-repository.entry.js +3 -3
- package/dist/esm/token-list_3.entry.js +3 -3
- package/dist/esm/token-ratios.entry.js +1 -1
- package/dist/esm/token-spacing.entry.js +1 -1
- package/dist/esm/token-typography.entry.js +1 -1
- package/dist/esm/{up-and-down-d747abee.js → up-and-down-8b69ca97.js} +2 -2
- package/dist/hydrate/index.js +850 -360
- package/dist/hydrate/index.mjs +850 -360
- package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/lib/svgs.d.ts +2 -2
- package/dist/types/components/eds-button/eds-button.d.ts +0 -1
- package/dist/types/{shared-ui → components}/eds-form/eds-form.d.ts +1 -0
- package/dist/types/{shared-ui → components}/eds-fullscreen-menu/eds-fullscreen-menu.d.ts +3 -0
- package/dist/types/{shared-ui → components}/eds-header/eds-header.d.ts +0 -2
- package/dist/types/components/eds-link/eds-link.d.ts +0 -1
- package/dist/types/components/eds-nps/eds-nps.d.ts +5 -3
- package/dist/types/components/eds-sidebar/eds-sidebar.d.ts +50 -0
- package/dist/types/components/eds-sidebar/eds-sidebar.stories.d.ts +98 -0
- package/dist/types/components/eds-steps/eds-steps.d.ts +53 -0
- package/dist/types/{shared-ui → components}/eds-steps/eds-steps.stories.d.ts +18 -0
- package/dist/types/components/eds-steps-v2/eds-steps-v2.d.ts +56 -0
- package/dist/types/{shared-ui → components}/eds-steps-v2/eds-steps-v2.stories.d.ts +8 -0
- package/dist/types/components/eds-table/eds-table.d.ts +8 -0
- package/dist/types/components.d.ts +151 -130
- package/package.json +1 -1
- package/dist/collection/shared-ui/eds-steps/eds-steps.css +0 -139
- package/dist/collection/shared-ui/eds-steps/eds-steps.js +0 -395
- package/dist/components/p-03714413.entry.js +0 -1
- package/dist/components/p-097665cb.entry.js +0 -1
- package/dist/components/p-09f1b358.entry.js +0 -1
- package/dist/components/p-1928711b.entry.js +0 -1
- package/dist/components/p-204f97de.entry.js +0 -1
- package/dist/components/p-20e385b8.entry.js +0 -1
- package/dist/components/p-21b5ca1f.entry.js +0 -1
- package/dist/components/p-290b3d61.entry.js +0 -1
- package/dist/components/p-2db9f80a.entry.js +0 -1
- package/dist/components/p-354857a8.entry.js +0 -1
- package/dist/components/p-3a295312.entry.js +0 -1
- package/dist/components/p-3ff1f198.entry.js +0 -1
- package/dist/components/p-404b4dec.entry.js +0 -1
- package/dist/components/p-422c08a9.entry.js +0 -1
- package/dist/components/p-44cc0966.entry.js +0 -1
- package/dist/components/p-473aeaa0.entry.js +0 -1
- package/dist/components/p-4b2d40d4.entry.js +0 -1
- package/dist/components/p-4faa0047.entry.js +0 -1
- package/dist/components/p-552125e3.entry.js +0 -1
- package/dist/components/p-5db8003b.entry.js +0 -1
- package/dist/components/p-5ea2afdf.entry.js +0 -1
- package/dist/components/p-5f2bb217.entry.js +0 -1
- package/dist/components/p-65d1c8e9.entry.js +0 -1
- package/dist/components/p-67823a16.entry.js +0 -1
- package/dist/components/p-69db1210.entry.js +0 -1
- package/dist/components/p-701dc6d8.entry.js +0 -1
- package/dist/components/p-73daee37.entry.js +0 -1
- package/dist/components/p-77143afc.entry.js +0 -1
- package/dist/components/p-7a137d91.entry.js +0 -1
- package/dist/components/p-81cce4f8.entry.js +0 -1
- package/dist/components/p-8d66718e.entry.js +0 -1
- package/dist/components/p-9154e892.entry.js +0 -1
- package/dist/components/p-98501e25.entry.js +0 -1
- package/dist/components/p-98d79948.entry.js +0 -1
- package/dist/components/p-9992fbdb.entry.js +0 -1
- package/dist/components/p-a82fc224.entry.js +0 -1
- package/dist/components/p-ad0519b7.entry.js +0 -1
- package/dist/components/p-b15b11de.entry.js +0 -9
- package/dist/components/p-b56a3fc9.entry.js +0 -1
- package/dist/components/p-c6f5d9df.entry.js +0 -1
- package/dist/components/p-c770c97b.entry.js +0 -1
- package/dist/components/p-cba7d276.entry.js +0 -1
- package/dist/components/p-cffb13fa.entry.js +0 -1
- package/dist/components/p-d3cbc8f9.entry.js +0 -1
- package/dist/components/p-d6a6879c.entry.js +0 -1
- package/dist/components/p-d9e02227.entry.js +0 -1
- package/dist/components/p-e3b89fab.entry.js +0 -1
- package/dist/components/p-e696531f.entry.js +0 -1
- package/dist/components/p-e8bc4649.entry.js +0 -1
- package/dist/components/p-ef86f330.entry.js +0 -1
- package/dist/components/p-f5470900.entry.js +0 -1
- package/dist/components/p-ff433e09.entry.js +0 -1
- package/dist/types/shared-ui/eds-steps/eds-steps.d.ts +0 -104
- package/dist/types/shared-ui/eds-steps-v2/eds-steps-v2.d.ts +0 -84
- /package/dist/collection/{shared-ui → components/eds-cards}/eds-card-section/eds-card-section.css +0 -0
- /package/dist/collection/{shared-ui → components}/eds-feedback/eds-feedback.css +0 -0
- /package/dist/collection/{shared-ui → components}/eds-footer/eds-footer.css +0 -0
- /package/dist/collection/{shared-ui → components}/eds-form/eds-form.css +0 -0
- /package/dist/collection/{shared-ui → components}/eds-frame/eds-frame.css +0 -0
- /package/dist/collection/{shared-ui → components}/eds-fullscreen-menu/eds-fullscreen-menu.css +0 -0
- /package/dist/collection/{shared-ui → components}/eds-social-networks/eds-social-networks.css +0 -0
- /package/dist/collection/{shared-ui → components}/eds-splash-screen/eds-splash-screen.css +0 -0
- /package/dist/collection/{shared-ui → components}/eds-splash-screen/eds-splash-screen.js +0 -0
- /package/dist/collection/{shared-ui → components}/eds-tabs/eds-tabs.css +0 -0
- /package/dist/collection/{shared-ui → components}/eds-toast-manager/eds-toast-manager.css +0 -0
- /package/dist/collection/{shared-ui → components}/eds-toast-manager/eds-toast-manager.st.js +0 -0
- /package/dist/collection/{shared-ui → components}/eds-user/eds-user.css +0 -0
- /package/dist/components/{p-1b2913c8.js → p-553ca350.js} +0 -0
- /package/dist/types/{shared-ui → components/eds-cards}/eds-card-section/eds-card-section.d.ts +0 -0
- /package/dist/types/{shared-ui → components/eds-cards}/eds-card-section/eds-card-section.stories.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-feedback/eds-feedback.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-feedback/eds-feedback.stories.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-footer/eds-footer.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-footer/eds-footer.stories.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-form/eds-form.stories.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-frame/eds-frame.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-frame/eds-frame.stories.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-fullscreen-menu/eds-fullscreen-menu.stories.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-header/eds-header.stories.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-social-networks/eds-social-networks.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-social-networks/eds-social-networks.stories.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-splash-screen/eds-splash-screen.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-splash-screen/eds-splash-screen.stories.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-tabs/eds-tabs.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-tabs/eds-tabs.stories.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-toast-manager/eds-toast-manager.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-toast-manager/eds-toast-manager.st.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-user/eds-user.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-user/eds-user.stories.d.ts +0 -0
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"entries": [
|
|
3
3
|
"components/eds-cards/eds-card-generic/eds-card-generic.js",
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
4
|
+
"components/eds-cards/eds-card-section/eds-card-section.js",
|
|
5
|
+
"components/eds-sidebar/eds-sidebar.js",
|
|
6
|
+
"components/eds-steps/eds-steps.js",
|
|
7
|
+
"components/eds-steps-v2/eds-steps-v2.js",
|
|
7
8
|
"components/eds-table/eds-table.js",
|
|
8
9
|
"components/eds-accordion/eds-accordion.js",
|
|
9
10
|
"components/eds-alert/eds-alert.js",
|
|
@@ -20,6 +21,12 @@
|
|
|
20
21
|
"components/eds-charts/eds-pie/eds-pie.js",
|
|
21
22
|
"components/eds-code-block/eds-code-block.js",
|
|
22
23
|
"components/eds-dropdown/eds-dropdown.js",
|
|
24
|
+
"components/eds-feedback/eds-feedback.js",
|
|
25
|
+
"components/eds-footer/eds-footer.js",
|
|
26
|
+
"components/eds-form/eds-form.js",
|
|
27
|
+
"components/eds-frame/eds-frame.js",
|
|
28
|
+
"components/eds-fullscreen-menu/eds-fullscreen-menu.js",
|
|
29
|
+
"components/eds-header/eds-header.js",
|
|
23
30
|
"components/eds-icon-wrapper/eds-icon-wrapper.js",
|
|
24
31
|
"components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js",
|
|
25
32
|
"components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js",
|
|
@@ -81,13 +88,18 @@
|
|
|
81
88
|
"components/eds-rating/eds-rating.js",
|
|
82
89
|
"components/eds-section/eds-section-core/eds-section-core.js",
|
|
83
90
|
"components/eds-section/eds-section-heading/eds-section-heading.js",
|
|
91
|
+
"components/eds-social-networks/eds-social-networks.js",
|
|
84
92
|
"components/eds-spinner/eds-spinner.js",
|
|
93
|
+
"components/eds-splash-screen/eds-splash-screen.js",
|
|
85
94
|
"components/eds-switch/eds-switch.js",
|
|
95
|
+
"components/eds-tabs/eds-tabs.js",
|
|
86
96
|
"components/eds-tag/eds-tag.js",
|
|
87
97
|
"components/eds-timeline/eds-timeline.js",
|
|
88
98
|
"components/eds-toast/eds-toast.js",
|
|
99
|
+
"components/eds-toast-manager/eds-toast-manager.js",
|
|
89
100
|
"components/eds-tooltip/eds-tooltip.js",
|
|
90
101
|
"components/eds-trl/eds-trl.js",
|
|
102
|
+
"components/eds-user/eds-user.js",
|
|
91
103
|
"eds-docs-ui/colors/color-palette/primary.js",
|
|
92
104
|
"eds-docs-ui/colors/color-palette/secondary.js",
|
|
93
105
|
"eds-docs-ui/colors/color-palette/support.js",
|
|
@@ -112,19 +124,8 @@
|
|
|
112
124
|
"eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js",
|
|
113
125
|
"eds-docs-ui/svg-repository/svg-repository.js",
|
|
114
126
|
"shared-ui/eds-cookies-preference/eds-cookies-preference.js",
|
|
115
|
-
"shared-ui/eds-feedback/eds-feedback.js",
|
|
116
|
-
"shared-ui/eds-footer/eds-footer.js",
|
|
117
|
-
"shared-ui/eds-form/eds-form.js",
|
|
118
|
-
"shared-ui/eds-frame/eds-frame.js",
|
|
119
|
-
"shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js",
|
|
120
127
|
"shared-ui/eds-global-search/eds-global-search.js",
|
|
121
|
-
"shared-ui/eds-header/eds-header.js",
|
|
122
128
|
"shared-ui/eds-matomo-notice/eds-matomo-notice.js",
|
|
123
|
-
"shared-ui/eds-social-networks/eds-social-networks.js",
|
|
124
|
-
"shared-ui/eds-splash-screen/eds-splash-screen.js",
|
|
125
|
-
"shared-ui/eds-tabs/eds-tabs.js",
|
|
126
|
-
"shared-ui/eds-toast-manager/eds-toast-manager.js",
|
|
127
|
-
"shared-ui/eds-user/eds-user.js",
|
|
128
129
|
"shared-ui/examples/eds-app-root/eds-app-root.js"
|
|
129
130
|
],
|
|
130
131
|
"compiler": {
|
|
@@ -84,10 +84,10 @@ export class EdsAccordion {
|
|
|
84
84
|
* Adjusts styles based on `switchBg`, `tiny`, `clampText`, and other props.
|
|
85
85
|
*/
|
|
86
86
|
render() {
|
|
87
|
-
return (h("div", { key: '
|
|
87
|
+
return (h("div", { key: '095474500f7c60f20e4d737188001d2f3084dbcc', ref: (el) => (this.wrapperRef = el), class: `flex effect-color border-softer relative grid overflow-hidden rounded-lg border-2 p-16
|
|
88
88
|
${this.switchBg && this.isExpanded ? 'bg-inverse' : 'bg-default'}
|
|
89
89
|
${this.switchBg ? 'hover:bg-inverse' : ''}
|
|
90
|
-
${this.description ? 'min-h-56' : ''}` }, h("h3", { key: '
|
|
90
|
+
${this.description ? 'min-h-56' : ''}` }, h("h3", { key: 'f090fbe3632df8302046f1178e82b8affc4cc821', ref: (el) => (this.headerRef = el), class: "mr-auto f-heading-06 text-left absolute inset-x-16 break-words top-16 pr-40" }, this.heading), h("div", { key: '0a30ab8c27cadbb342fc57f6393111c84f10a664', class: "ml-auto" }, h("eds-button", { key: '01f4658df8181b63b71a2e0d2a67e8f8b58efbb7', id: "toggleAccordion", intent: this.buttonIntent, "aria-expanded": this.isExpanded || this.shortContent, "aria-label": "Toggle accordion", "aria-controls": "accordionSection", class: `effect-color flex w-full items-center justify-between rounded-md`, onClick: this.handleClick, icon: "chevron-down" })), h("div", { key: '9f3b5a0e425c2dffe3b6fe40fa33b020d64256d8', class: `w-full`, style: Number.isFinite(this.headerHeight) ? { marginTop: `${this.headerHeight}px` } : {} }, this.description ? (h("span", { class: `text-light ${!this.isExpanded && this.clampText ? 'line-clamp-1' : ''}` }, this.description)) : null, h("section", { key: '414735d7d982de76d8a1b8db24aa9a569eba37c7', id: "accordionSection", "aria-labelledby": "accordionHeader", "aria-hidden": !this.isExpanded, class: `z-1 effect-height relative h-0 w-full ${!this.isExpanded ? 'overflow-hidden' : ''}`, style: { height: this.isExpanded ? 'auto' : '0' } }, h("div", { key: '11097a0646b18f728af494c14aa4cc0e5335defe', ref: (el) => (this.childContentRef = el), class: `accordion-content effect-color pt-4`, "aria-hidden": !this.isExpanded }, h("span", { key: '88414c40490aa77166d23868f16556b9356279a7', class: `${!this.isExpanded && this.clampText ? 'line-clamp-2' : ''}` }, h("slot", { key: '8070a7676ca8fba065f813852a2e0cf4146f3374' })))))));
|
|
91
91
|
}
|
|
92
92
|
static get is() { return "eds-accordion"; }
|
|
93
93
|
static get encapsulation() { return "shadow"; }
|
|
@@ -102,12 +102,12 @@ export class EdsAlert {
|
|
|
102
102
|
}
|
|
103
103
|
render() {
|
|
104
104
|
const ariaLabel = this.intent !== 'default' ? `${this.intent} alert` : 'alert';
|
|
105
|
-
return (h("div", { key: '
|
|
105
|
+
return (h("div", { key: 'd8f0a45ddbaf3d3eb284751e33ddfdce2e13b67a', class: alertStyles({
|
|
106
106
|
intent: this.intent,
|
|
107
107
|
brd: this.brd,
|
|
108
108
|
direction: this.direction,
|
|
109
109
|
withBtn: this.withBtn
|
|
110
|
-
}), role: "alert", "aria-label": ariaLabel, "aria-live": this.intent === 'error' ? 'assertive' : 'polite', "aria-labelledby": "alert-message", "aria-describedby": this.withBtn ? 'alert-action' : undefined }, h("p", { key: '
|
|
110
|
+
}), role: "alert", "aria-label": ariaLabel, "aria-live": this.intent === 'error' ? 'assertive' : 'polite', "aria-labelledby": "alert-message", "aria-describedby": this.withBtn ? 'alert-action' : undefined }, h("p", { key: '179862c141a2ce05fa9f8562be7e64196baa3922', id: "alert-message", class: "f-ui-01 py-8", innerHTML: this.message }), this.withBtn && (h("div", { key: '3677358bd563a3e2ee1b74309dc4fb6c84ac475f', id: "alert-action" }, this.pressableUrl ? (h("eds-link", { class: "eds-alert-link", label: this.pressableLabel, url: this.pressableUrl, intent: "secondary", external: true })) : (h("eds-button", { class: "eds-alert-button", label: this.pressableLabel, intent: "secondary", onClick: () => this.handleAction() }))))));
|
|
111
111
|
}
|
|
112
112
|
static get is() { return "eds-alert"; }
|
|
113
113
|
static get encapsulation() { return "shadow"; }
|
|
@@ -64,7 +64,7 @@ export class EdsAvatar {
|
|
|
64
64
|
* @returns {JSX.Element} The rendered avatar component.
|
|
65
65
|
*/
|
|
66
66
|
render() {
|
|
67
|
-
return (h("div", { key: '
|
|
67
|
+
return (h("div", { key: '7b5bf31c794c9bbddd2976fdd5a273842a75603a', class: this.containerClasses }, this.picture ? (h("eds-img", { src: this.picture, width: 54, height: 54, sizes: "120px", alt: `${this.firstName} ${this.lastName}`, lazyload: true, withBg: true })) : (h("abbr", { title: this.computedInitials || `${this.firstName} ${this.lastName}`, class: "!no-underline f-ui-01" }, this.computedInitials))));
|
|
68
68
|
}
|
|
69
69
|
static get is() { return "eds-avatar"; }
|
|
70
70
|
static get encapsulation() { return "shadow"; }
|
|
@@ -7,7 +7,7 @@ export class EdsBlockBreak {
|
|
|
7
7
|
this.inverse = false;
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return h("hr", { key: '
|
|
10
|
+
return h("hr", { key: 'dd9b98d66f195135ff2fb1374a56d4c670e43d3e', class: `${this.inverse ? 'border-default' : 'border-softer'} my-16 inline-block w-full border-t-2` });
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "eds-block-break"; }
|
|
13
13
|
static get encapsulation() { return "shadow"; }
|
|
@@ -123,7 +123,7 @@ export class EdsBreadcrumb {
|
|
|
123
123
|
*/
|
|
124
124
|
render() {
|
|
125
125
|
const itemsToRender = this.getTruncatedItems();
|
|
126
|
-
return (h("nav", { key: '
|
|
126
|
+
return (h("nav", { key: '4894fb9e6b37ef84880a62f4dcd3289dcb9cab38', "aria-label": "Breadcrumb" }, h("ol", { key: 'd69405fcee024465d645d9cdbb17189998a94b95', class: "flex items-center space-x-2" }, itemsToRender.map((item, index) => {
|
|
127
127
|
const isLast = index === itemsToRender.length - 1;
|
|
128
128
|
return (h("li", { class: "flex items-center" }, !item.isHidden ? ((() => {
|
|
129
129
|
const { fullLabel } = this.getLabels(item, isLast);
|
|
@@ -127,7 +127,6 @@ export class EdsButton {
|
|
|
127
127
|
this.size = 'small';
|
|
128
128
|
this.iconPos = 'right';
|
|
129
129
|
this.iconSmall = false;
|
|
130
|
-
this.extraClass = undefined;
|
|
131
130
|
this.triggerClick = undefined;
|
|
132
131
|
}
|
|
133
132
|
handleParentContext(event) {
|
|
@@ -178,7 +177,7 @@ export class EdsButton {
|
|
|
178
177
|
});
|
|
179
178
|
const ElementType = this.elementType;
|
|
180
179
|
const isInteractive = !this.disabled && !this.loading;
|
|
181
|
-
return (h(Host, { key: '
|
|
180
|
+
return (h(Host, { key: '25a7b4ffda3df65e91c77a18becd45bc40973f3c' }, h(ElementType, { key: '0f00d82a37f3189b862015eb2d915f2364b6d75d', tabindex: isInteractive ? '0' : '-1', "aria-label": this.label ? undefined : this.ariaLabel, "aria-disabled": this.disabled || this.loading ? 'true' : undefined, "aria-busy": this.loading ? 'true' : undefined, disabled: this.elementType === 'button' ? this.disabled || this.loading : undefined, role: this.elementType === 'a' ? 'button' : undefined, class: `${classes || ''}`, onClick: (event) => this.handleClick(event), onKeyDown: (event) => this.handleKeyDown(event) }, this.label && (h("span", { key: '6e45dfefb4805eef0574f7462becca6cde85dbc0', class: this.loading ? 'opacity-0' : '', "aria-hidden": this.loading ? 'true' : undefined }, this.label)), this.loading && (h("span", { key: '9909c70db39a039b883854caff816d25f132b866', class: "absolute inset-0 flex items-center justify-center", "aria-hidden": "true" }, h("span", { key: '367cd65a13f81cbcb12d93855dc091a4309566bb', class: "loader", style: {
|
|
182
181
|
border: `3px solid ${this.intent === 'secondary' ? 'rgba(255, 255, 255, .3)' : 'rgba(0, 0, 0, .3)'}`,
|
|
183
182
|
borderBottomColor: this.intent === 'secondary' ? '#fff' : '#000'
|
|
184
183
|
} }))), this.icon ? (h("eds-icon-wrapper", { class: `
|
|
@@ -397,23 +396,6 @@ export class EdsButton {
|
|
|
397
396
|
"reflect": false,
|
|
398
397
|
"defaultValue": "false"
|
|
399
398
|
},
|
|
400
|
-
"extraClass": {
|
|
401
|
-
"type": "string",
|
|
402
|
-
"mutable": false,
|
|
403
|
-
"complexType": {
|
|
404
|
-
"original": "string",
|
|
405
|
-
"resolved": "string",
|
|
406
|
-
"references": {}
|
|
407
|
-
},
|
|
408
|
-
"required": false,
|
|
409
|
-
"optional": true,
|
|
410
|
-
"docs": {
|
|
411
|
-
"tags": [],
|
|
412
|
-
"text": ""
|
|
413
|
-
},
|
|
414
|
-
"attribute": "extra-class",
|
|
415
|
-
"reflect": false
|
|
416
|
-
},
|
|
417
399
|
"triggerClick": {
|
|
418
400
|
"type": "unknown",
|
|
419
401
|
"mutable": false,
|
package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js
CHANGED
|
@@ -20,7 +20,7 @@ export class EdsCardDesc {
|
|
|
20
20
|
return this.truncate && this.truncateLines ? `line-clamp-${this.truncateLines}` : '';
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return (h("p", { key: '
|
|
23
|
+
return (h("p", { key: '3711e4f24ad19f1dedef3083b9b9c8868f3b4e3f', class: "text-light f-ui-03-light" }, h("span", { key: '46b53c5111bc05ffaaa6f8fcd4b1b6ddfae2d413', class: this.getTruncateClass() }, this.description)));
|
|
24
24
|
}
|
|
25
25
|
static get is() { return "eds-card-desc"; }
|
|
26
26
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js
CHANGED
|
@@ -8,7 +8,7 @@ export class EdsCardTags {
|
|
|
8
8
|
this.tags = [];
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h("div", { key: '
|
|
11
|
+
return (h("div", { key: 'a0184d0900e08d0ae48dd4d2164c9d7ca0ef8db1', class: "flex flex-wrap gap-y-4" }, this.tags.map((tag, index) => (h("eds-tag", { key: index, intent: this.accent ? 'accent' : 'default', label: tag })))));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "eds-card-tags"; }
|
|
14
14
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js
CHANGED
|
@@ -43,7 +43,7 @@ export class EdsCardTitle {
|
|
|
43
43
|
render() {
|
|
44
44
|
//const Tag = this.getTag();
|
|
45
45
|
const Heading = this.headingLevel;
|
|
46
|
-
return (h(Heading, { key: '
|
|
46
|
+
return (h(Heading, { key: '5d356d301cfee459ac142895a042e9b1ccd59367', class: this.getTitleClass() }, h("a", { key: '348fffdd2abccf3b08ecab9481718b4a2aa50807', class: "break-words after:absolute after:inset-0 after:z-10 after:content-[''] focus:outline-none", href: this.url, target: this.externalLink ? '_blank' : undefined, rel: this.externalLink ? 'noopener noreferrer' : undefined }, this.cardTitle)));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "eds-card-title"; }
|
|
49
49
|
static get encapsulation() { return "shadow"; }
|
|
@@ -85,7 +85,7 @@ export class EdsCardGeneric {
|
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
87
|
render() {
|
|
88
|
-
return (h("article", { key: '76e77261a0c6e0c506fe7600d31a492808293d27', class: this.articleClasses(), onClick: () => this.handleClick() }, h("eds-card-title", { key: 'ca26508b05a31310df7fc0c3fa5769f7947e80fc', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, hierarchy: this.hierarchy }), h("div", { key: '00ba325e6a0093cb2be35854f2bcb579ad4eb35b', class: "mt-8 mb-8" }, this.description &&
|
|
88
|
+
return (h("article", { key: '76e77261a0c6e0c506fe7600d31a492808293d27', class: this.articleClasses(), onClick: () => this.handleClick() }, h("eds-card-title", { key: 'ca26508b05a31310df7fc0c3fa5769f7947e80fc', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, hierarchy: this.hierarchy }), h("div", { key: '00ba325e6a0093cb2be35854f2bcb579ad4eb35b', class: "mt-8 mb-8" }, this.description && h("eds-card-desc", { key: '2d775f772092b7873dd1eabc7c3e8606dded0c47', "truncate-lines": "3", description: this.description })), this.parsedImage ? (h("eds-img", Object.assign({ class: "mt-8 block mx-auto" }, this.parsedImage))) : this.avatar || this.shortAbbreviation ? (h("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, h("div", { key: 'e51237f8196212715d1d97ae1e6bfc2625573cb3', class: "flex flex-wrap gap-y-4 gap-x-1" }, this.parsedTags.map((tag, index) => (h("eds-tag", { key: index, intent: tag.style, label: tag.label, size: tag.size })))), ' '));
|
|
89
89
|
}
|
|
90
90
|
static get is() { return "eds-card-generic"; }
|
|
91
91
|
static get encapsulation() { return "shadow"; }
|
|
@@ -55,7 +55,7 @@ export class EdsCardProject {
|
|
|
55
55
|
this.vertical ? 'flex-col gap-y-16' : 'flex-col gap-x-16 gap-y-12 lg:flex-row'
|
|
56
56
|
].join(' ');
|
|
57
57
|
const imageClasses = this.vertical ? '' : 'max-w-120 @md:max-w-192 order-first w-full lg:order-last';
|
|
58
|
-
return (h("article", { key: '
|
|
58
|
+
return (h("article", { key: '5f72c2dc52a8ef7edb004c6cf9a2035097c5aa28', class: cardClasses, onClick: (event) => this.handleClick(event) }, h("div", { key: '145809ee5e4800d852bb6d9b84a023160098f3c4', class: `flex grow flex-col ${this.vertical ? 'min-h-156' : ''}` }, h("div", { key: '3d77551f7518cf63f16daffc7d59a2dd23b66148', class: "lg:max-w-[720px]" }, h("eds-card-title", { key: '715a73ee7a013d13ef5e9f3f180eedf043998d76', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.titleProject, url: this.url }), this.editorialTitle && (h("span", { key: '418fc9fe39b480f4d1c9e99f2ef4361a6ad3827f', class: `block ${this.vertical ? 'f-ui-02' : 'mt-4 f-heading-06'}` }, this.editorialTitle))), this.categoryTitle && (h("div", { key: '58764ae4d610e2d1205cf09b7274a14a8bfb5694', class: "mt-auto flex items-center gap-x-12 pt-12" }, ((_a = this.categoryTitle) === null || _a === void 0 ? void 0 : _a.length) && h("eds-tag", { key: 'c552bbc88aca3e3b114aef1fbd3e3bdf3e334624', label: this.categoryTitle })))), this.parsedImage && (h("div", { key: '3e85ad957b7d782cc228a508ce8e76ccb7490a9c', class: imageClasses }, h("div", { key: '77e161fd2deb2c6ec3e30ad0ef34f934ba9197d1', class: "aspect-1x1 w-full" }, h("eds-img", Object.assign({ key: 'e9f0f4982bddba64ee979490024af471f4e9d8f8', sizes: this.vertical ? this.parsedImage.sizes || '' : '192px' }, this.parsedImage)))))));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "eds-card-project"; }
|
|
61
61
|
static get properties() {
|
package/dist/collection/{shared-ui → components/eds-cards}/eds-card-section/eds-card-section.js
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import { parseData } from "
|
|
2
|
+
import { parseData } from "../../../utils/sharedUtils";
|
|
3
3
|
/**
|
|
4
4
|
* `EdsCardSection` is a component that renders a section of cards in a customizable grid layout of 4 columns (grid-cols-4).
|
|
5
5
|
* Each card within the section can display various properties such as title, description, avatar, and additional content.
|
|
@@ -32,7 +32,7 @@ export class EdsCardSection {
|
|
|
32
32
|
* @returns {JSX.Element} The rendered section containing a list of cards.
|
|
33
33
|
*/
|
|
34
34
|
render() {
|
|
35
|
-
return (h("section", { key: '
|
|
35
|
+
return (h("section", { key: '4b30b9eb2585350196efa901f5b36d903e43af4d', class: "w-full" }, h("ul", { key: 'ab51c67c0f4095e70be1b1c2fdf9975726b50760', class: "grid-layout grid-cols-4 gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.parsedCards.map((card) => (h("li", { class: `grid-col-span-4 md:grid-col-span-${this.occupyCols} flex flex-col` }, h("eds-card-generic", { cardTitle: card.title, description: card.description, avatar: card.avatar, headingLevel: card.headingLevel, tags: card.tags, url: card.url, bg: card.bg, tiny: card.tiny, image: card.image, withHover: card.withHover })))))));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "eds-card-section"; }
|
|
38
38
|
static get encapsulation() { return "shadow"; }
|
|
@@ -57,8 +57,8 @@ export class EdsCardSection {
|
|
|
57
57
|
"references": {
|
|
58
58
|
"Card": {
|
|
59
59
|
"location": "local",
|
|
60
|
-
"path": "/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/src/
|
|
61
|
-
"id": "../../../packages/components/src/
|
|
60
|
+
"path": "/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/src/components/eds-cards/eds-card-section/eds-card-section.tsx",
|
|
61
|
+
"id": "../../../packages/components/src/components/eds-cards/eds-card-section/eds-card-section.tsx::Card"
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
},
|
|
@@ -64,7 +64,7 @@ export class EdsCardTool {
|
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
|
-
return (h("article", { key: '
|
|
67
|
+
return (h("article", { key: 'bde34da77105309a05bf36cc1cf24888e62dc826', class: `${this.el.tagName.toLowerCase()} ${this.articleClasses()}`, onClick: () => this.handleClick() }, h("eds-card-title", { key: '521f11ef8f9f13cdc35b27e45e20d0bec81cc3f8', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, "external-link": this.external, hierarchy: this.hierarchy }), this.description && (h("eds-card-desc", { key: '615ccb630818a49e278f1308aa95caec3a02e3fe', class: "mt-8", "truncate-lines": "3", description: this.description })), this.image ? (h("eds-img", { src: this.image, alt: "Sample Image", width: 200, height: 150 })) : this.avatar || this.shortAbbreviation ? (h("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, h("div", { key: '40cfa7d940136d4bce5de0c2b37fca91187110f8', class: "flex flex-wrap gap-y-4" }, this.parsedTags.map((tag, index) => (h("eds-tag", { key: index, intent: tag.style, label: tag.label }))))));
|
|
68
68
|
}
|
|
69
69
|
static get is() { return "eds-card-tool"; }
|
|
70
70
|
static get encapsulation() { return "shadow"; }
|
|
@@ -43,7 +43,7 @@ export class EdsGauge {
|
|
|
43
43
|
const textStyle = {
|
|
44
44
|
fontSize: `${fontSize}px`
|
|
45
45
|
};
|
|
46
|
-
return (h("div", { key: '
|
|
46
|
+
return (h("div", { key: '33388b250acd0aeaf3bf4888fd5ac72ba0337a42', role: "progressbar", "aria-valuemin": this.valueMin, "aria-valuemax": this.valueMax, "aria-valuenow": clamped, "aria-label": `Gauge value: ${clamped} of ${this.valueMax}`, class: "relative inline-block rounded-full overflow-hidden", style: containerStyle }, h("div", { key: 'b920dd12644a5457b512b65e2c093ef53f339969', class: "absolute bg-inverse rounded-full", style: maskStyle }), h("div", { key: '0149f680aad2c2b2cf4e308b1510d2fb3482a06f', class: "absolute inset-0 flex items-center justify-center" }, h("span", { key: '31fee43895b99a2c19358acce9eee0965eef574a', class: "f-body-01 text-default", style: textStyle }, clamped))));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "eds-gauge"; }
|
|
49
49
|
static get encapsulation() { return "shadow"; }
|
|
@@ -80,7 +80,7 @@ export class EdsCodeBlock {
|
|
|
80
80
|
return this.code; // Fallback if language is not provided or unsupported
|
|
81
81
|
}
|
|
82
82
|
render() {
|
|
83
|
-
return (h("div", { key: '
|
|
83
|
+
return (h("div", { key: 'bc74b6be37bcb24700d17b48b5398077e485abd7', class: "relative bg-stronger rounded-sm" }, h("div", { key: 'db0395bfd55eb3394ab2149c5c436f2a54e8afb0', class: "text-inverse flex justify-between items-center p-8" }, this.language ? (h("span", { class: "f-ui-03" }, this.language.toUpperCase())) : (h("pre", { class: "bg-stronger pl-8", role: "region", "aria-label": "Code block without language" }, h("code", { innerHTML: this.getHighlightedCode() }))), h("span", { key: '628ad41f15f3a38abe4b7c382074c8f5a8679a8c', "aria-hidden": "true", class: "w-20 h-20 mt-8" }, h("eds-icon-wrapper", { key: '1c95d57a5d8113d6ab7ebf7da713e058c7cc10f1', icon: this.copied ? 'success' : 'copy', onClick: () => this.copyToClipboard() })), h("span", { key: 'a64b2450b631835b6fc2c15047b09ceea5a9fc95', class: "sr-only" }, "Copy Code")), this.language && (h("pre", { key: '51945cbee1504625b54362505b60f1bd1784bdda', class: `language-${this.language} bg-stronger pl-8 pb-8`, role: "region", "aria-label": `Code block in ${this.language}` }, h("code", { key: '55961aa8278177451e13c929ec7f7065afcac93b', innerHTML: this.getHighlightedCode() })))));
|
|
84
84
|
}
|
|
85
85
|
static get is() { return "eds-code-block"; }
|
|
86
86
|
static get encapsulation() { return "shadow"; }
|
|
@@ -166,14 +166,14 @@ export class EdsDropdown {
|
|
|
166
166
|
* @returns {JSX.Element} The rendered dropdown component.
|
|
167
167
|
*/
|
|
168
168
|
render() {
|
|
169
|
-
return (h("div", { key: '
|
|
169
|
+
return (h("div", { key: 'ffc4915b2104e3d2dd347900acd897f56910a674', class: "z-focus relative", ref: (el) => (this.dropdownContent = el) }, h("eds-button", { key: 'ba48bdd7b75fd230bdc2dd564bd477f0349f5426', label: this.label, "aria-label": this.ariaLabel, icon: this.icon, intent: this.intent, onClick: this.handleClick, "aria-expanded": this.isOpen.toString(), "aria-haspopup": "menu" }), h("nav", { key: 'a29b57598a2ed8fcc9593c928df9443fd4449481', ref: (el) => (this.panelEl = el), role: "menu", class: {
|
|
170
170
|
'shadow-small bg-inverse border-softest z-10 z-on-top absolute top-full mt-4 flex flex-col gap-y-4 border-2 p-8': true,
|
|
171
171
|
'left-4': this.dropdownPos === 'left' && this.dropdownOffset,
|
|
172
172
|
'left-0': this.dropdownPos === 'left' && !this.dropdownOffset,
|
|
173
173
|
'right-4': this.dropdownPos === 'right' && this.dropdownOffset,
|
|
174
174
|
'right-0': this.dropdownPos === 'right' && !this.dropdownOffset,
|
|
175
175
|
'rounded-lg': this.rounded
|
|
176
|
-
}, style: { display: this.isOpen ? 'block' : 'none' }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, h("slot", { key: '
|
|
176
|
+
}, style: { display: this.isOpen ? 'block' : 'none' }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, h("slot", { key: 'ddf003345ef5181b968b4bfd8962805d09d15e89' }))));
|
|
177
177
|
}
|
|
178
178
|
static get is() { return "eds-dropdown"; }
|
|
179
179
|
static get encapsulation() { return "shadow"; }
|
|
@@ -52,7 +52,7 @@ export class EdsFeedback {
|
|
|
52
52
|
const HeadingTag = this.headingLevel;
|
|
53
53
|
const levelNum = this.headingLevel.replace('h', '');
|
|
54
54
|
const headingClass = `f-heading-${levelNum.padStart(2, '0')} my-4`;
|
|
55
|
-
return (h("div", { key: '
|
|
55
|
+
return (h("div", { key: '5405127cfc114d4906617955d7b1069a04ed7b8e', class: "grid inline" }, h(HeadingTag, { key: 'c0a2593d843577323b6a27d0f8fdca3b84063bd5', class: headingClass }, this.label), h("p", { key: '5b7ef9fbd8c5b4a9d3c7c39e3092244d08dde126', class: "f-body-01 text-light" }, this.description), h("eds-rating", { key: '2de1ad00dd21d987bc4a91438500a58a0bcd63a7', "rating-type": this.type, "rating-count": this.count }), this.selectedRating > 0 && this.parsedMappings[this.selectedRating - 1] && (h("span", { key: '3de038a0ae8ee334edde65194356f021e14e7cb3', class: "f-ui-04 text-lighter" }, this.parsedMappings[this.selectedRating - 1]))));
|
|
56
56
|
}
|
|
57
57
|
static get is() { return "eds-feedback"; }
|
|
58
58
|
static get encapsulation() { return "shadow"; }
|
|
@@ -58,9 +58,11 @@ export class EdsFooter {
|
|
|
58
58
|
* legal links such as "Cookies Preferences" and copyright information.
|
|
59
59
|
*/
|
|
60
60
|
render() {
|
|
61
|
-
|
|
61
|
+
const year = new Date().getFullYear();
|
|
62
|
+
const rights = this.rightsReserved || `${year} EBRAINS. All rights reserved.`;
|
|
63
|
+
return (h("footer", { key: 'bf9d98eea0bd151bf87818b770e85fe0cfa1044f' }, this.social ? (h("div", { class: "border-softest border-t-2 pt-20 md:pt-28" }, h("div", { class: "container pb-20" }, h("div", { class: "grid-layout" }, h("div", { class: "grid-col-span-12 lg:grid-col-span-5" }, h("eds-social-networks", { class: "mt-28" })))))) : null, h("div", { key: 'c0058cd32e2904e4e08ec46b99a0cbbabb5df588', class: `border-softest ${this.social ? 'border-t-2' : ''} pb-28 pt-20 md:pt-28` }, h("div", { key: '4f2993ccded30ca66da34eca632b62abf02e06d5', class: "container flex items-center gap-20 lg:flex-nowrap" }, h("div", { key: '81efd584b5de410522d338bb6ab4b53096a36868', class: "flex items-center gap-x-12" }, h("a", { key: '5a641163b3cb1549ee886e9029b65a012b31cd85', target: "_blank", rel: "noopener noreferrer", class: "effect-focus focus-visible:rounded-xs flex w-[54px] ml-0", href: "https://research-and-innovation.ec.europa.eu/funding/funding-opportunities/funding-programmes-and-open-calls/horizon-europe_en", "aria-label": "Learn about Horizon Europe funding" }, h("eds-img", { key: '6428f6d0b70f802a7eaa81fcce7641f754c0071a', width: 63, height: 50, src: "https://www.ebrains.eu/flags/4x3/eu.svg", alt: "European Union Flag" }))), h("div", { key: 'c3612f7c694abd66831a6c04f2d9f98bc9f8a2dd' }, h("div", { key: '7d16c929479ee8db9d981d6178f17fd832184e29', class: "f-ui-02 text-light" }, h("p", { key: '86c6e3eec115a886a37618963e973004f130950e' }, this.fundedBy), h("div", { key: '13e4e3925ea8f76865684cba29c91653bba0c45d', class: "mt-4 flex flex-wrap gap-12 lg:flex-nowrap inline-block" }, h("span", { key: '21c77485fffbe352edb8501dab07fd6628de62ba', class: "effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline mr-4" }, "\u00A9 ", rights), this.enableCookiesSettings ? (h("eds-link", { label: this.cookiesPreferences, intent: "underline", size: "small", onClick: () => {
|
|
62
64
|
this.toggleCookiesConsent();
|
|
63
|
-
} })) : null))), h("div", { key: '
|
|
65
|
+
} })) : null))), h("div", { key: '1c8417017493de5e446bfdeec248948d920c1a95', class: "ml-auto pl-12" }, this.enableScrollTop ? (h("div", { id: "toTop", class: "transition-all transition duration-75 opacity-0" }, h("eds-button", { id: "backToTop", "aria-label": this.backToTopAriaLabel, intent: "ghostInverse", icon: "chevron-up", onClick: this.backToTop, tabindex: "-1" }))) : null)))));
|
|
64
66
|
}
|
|
65
67
|
static get is() { return "eds-footer"; }
|
|
66
68
|
static get encapsulation() { return "shadow"; }
|
|
@@ -78,17 +78,41 @@ export class EdsForm {
|
|
|
78
78
|
}
|
|
79
79
|
const actual = this.values[field.condition.field];
|
|
80
80
|
const expected = field.condition.value;
|
|
81
|
-
// Handle
|
|
82
|
-
|
|
81
|
+
// Handle undefined/null/empty
|
|
82
|
+
if (actual == null) {
|
|
83
|
+
return expected == null || expected === '';
|
|
84
|
+
}
|
|
85
|
+
// Handle arrays (multi-select, checkboxes)
|
|
86
|
+
if (Array.isArray(actual)) {
|
|
87
|
+
return actual.some((val) => this.normalizeValue(val) === this.normalizeValue(expected));
|
|
88
|
+
}
|
|
89
|
+
// Handle comma-separated strings (from checkboxes stored as "val1,val2")
|
|
90
|
+
if (typeof actual === 'string' && actual.includes(',')) {
|
|
91
|
+
const values = actual.split(',').map((v) => v.trim());
|
|
92
|
+
return values.some((val) => this.normalizeValue(val) === this.normalizeValue(expected));
|
|
93
|
+
}
|
|
94
|
+
// Standard comparison with normalization
|
|
95
|
+
return this.normalizeValue(actual) === this.normalizeValue(expected);
|
|
96
|
+
}
|
|
97
|
+
normalizeValue(value) {
|
|
98
|
+
if (value == null) {
|
|
99
|
+
return '';
|
|
100
|
+
}
|
|
101
|
+
if (typeof value === 'boolean') {
|
|
102
|
+
return value ? 'true' : 'false';
|
|
103
|
+
}
|
|
104
|
+
if (typeof value === 'number') {
|
|
105
|
+
return String(value);
|
|
106
|
+
}
|
|
107
|
+
if (typeof value === 'string') {
|
|
108
|
+
return value.trim().toLowerCase();
|
|
109
|
+
}
|
|
110
|
+
return String(value).trim().toLowerCase();
|
|
83
111
|
}
|
|
84
112
|
validateForm() {
|
|
85
|
-
const { errors, hasError } = validateFormFields(this.parsedFields, this.formEl, this.values, (field,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
}
|
|
89
|
-
const parentValue = values[field.condition.field];
|
|
90
|
-
return parentValue === field.condition.value;
|
|
91
|
-
});
|
|
113
|
+
const { errors, hasError } = validateFormFields(this.parsedFields, this.formEl, this.values, (field, _values) =>
|
|
114
|
+
// Use a temporary object with the condition to reuse isFieldVisible logic
|
|
115
|
+
this.isFieldVisible(field));
|
|
92
116
|
this.errors = errors;
|
|
93
117
|
this.hasError = hasError;
|
|
94
118
|
}
|
|
@@ -102,8 +126,22 @@ export class EdsForm {
|
|
|
102
126
|
if (!field.condition) {
|
|
103
127
|
return true;
|
|
104
128
|
}
|
|
105
|
-
const
|
|
106
|
-
|
|
129
|
+
const actual = values[field.condition.field];
|
|
130
|
+
const expected = field.condition.value;
|
|
131
|
+
// Handle undefined/null/empty
|
|
132
|
+
if (actual == null) {
|
|
133
|
+
return expected == null || expected === '';
|
|
134
|
+
}
|
|
135
|
+
// Handle arrays
|
|
136
|
+
if (Array.isArray(actual)) {
|
|
137
|
+
return actual.some((val) => this.normalizeValue(val) === this.normalizeValue(expected));
|
|
138
|
+
}
|
|
139
|
+
// Handle comma-separated strings
|
|
140
|
+
if (typeof actual === 'string' && actual.includes(',')) {
|
|
141
|
+
const values = actual.split(',').map((v) => v.trim());
|
|
142
|
+
return values.some((val) => this.normalizeValue(val) === this.normalizeValue(expected));
|
|
143
|
+
}
|
|
144
|
+
return this.normalizeValue(actual) === this.normalizeValue(expected);
|
|
107
145
|
}
|
|
108
146
|
});
|
|
109
147
|
this.values = updatedValues;
|
|
@@ -170,8 +208,9 @@ export class EdsForm {
|
|
|
170
208
|
const hosts = Array.from(this.formEl.querySelectorAll('eds-input-field'));
|
|
171
209
|
hosts.forEach((host) => {
|
|
172
210
|
const root = host.shadowRoot;
|
|
173
|
-
if (!root)
|
|
211
|
+
if (!root) {
|
|
174
212
|
return;
|
|
213
|
+
}
|
|
175
214
|
const fileInputs = Array.from(root.querySelectorAll('input[type="file"][name]'));
|
|
176
215
|
console.log(fileInputs);
|
|
177
216
|
fileInputs.forEach((fi) => {
|
|
@@ -190,14 +229,13 @@ export class EdsForm {
|
|
|
190
229
|
// (Optional) mark that this payload includes files (handy in logs / policies)
|
|
191
230
|
// formData.set('_has_files', '1');
|
|
192
231
|
}
|
|
193
|
-
formData.forEach((value, key) => {
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
});
|
|
232
|
+
/*formData.forEach((value, key) => {
|
|
233
|
+
if (value instanceof File) {
|
|
234
|
+
console.log(`File field: ${key}, File name: ${value.name}, File size: ${value.size}`);
|
|
235
|
+
} else {
|
|
236
|
+
console.log(`Field: ${key}, Value: ${value}`);
|
|
237
|
+
}
|
|
238
|
+
});*/
|
|
201
239
|
return formData;
|
|
202
240
|
}
|
|
203
241
|
handleChange(e, field) {
|
|
@@ -311,8 +349,9 @@ export class EdsForm {
|
|
|
311
349
|
handleSubmit(e) {
|
|
312
350
|
var _a, _b;
|
|
313
351
|
e === null || e === void 0 ? void 0 : e.preventDefault();
|
|
314
|
-
if (this.isSubmitting)
|
|
352
|
+
if (this.isSubmitting) {
|
|
315
353
|
return;
|
|
354
|
+
}
|
|
316
355
|
this.isSubmitting = true;
|
|
317
356
|
this.validateForm();
|
|
318
357
|
if (this.hasError) {
|
|
@@ -394,7 +433,7 @@ export class EdsForm {
|
|
|
394
433
|
else if (field.type === 'nps') {
|
|
395
434
|
return (h("div", { class: "form-group nps-field", key: field.name }, h("div", { class: "flex justify-between" }, field && (h("eds-input-label", { name: `nps-${field.name}`, label: field.question, disabled: field.disabled, required: field.required }))), h("eds-nps", { id: `nps-${field.name}`, "right-label": field.rightLabel, "left-label": field.leftLabel, onNps: (e) => this.handleNPS(e, field) }), h("div", { class: "mt-6" }, h("eds-input-footer", { id: `${field.name}-footer`, name: field.name, "error-message": (_b = this.errors[field.name]) === null || _b === void 0 ? void 0 : _b.join('<br/>'), error: !!this.errors[field.name] }))));
|
|
396
435
|
}
|
|
397
|
-
return (h("eds-input-field", { key: field.name, name: field.name, label: field.label, placeholder: field.placeholder, type: field.type, value: this.values[field.name], required: field.required, hint: field.hint, message: field.message, error: !!this.errors[field.name], errorMessage: (_c = this.errors[field.name]) === null || _c === void 0 ? void 0 : _c.join('<br/>'), options: field.options, onInput: (e) => this.handleInput(e, field), onChangeNative: (e) => this.handleChange(e, field) }));
|
|
436
|
+
return (h("eds-input-field", { key: field.name, name: field.name, label: field.label, placeholder: field.placeholder, type: field.type, value: this.values[field.name], required: field.required, hint: field.hint, message: field.message, link: field.link, error: !!this.errors[field.name], errorMessage: (_c = this.errors[field.name]) === null || _c === void 0 ? void 0 : _c.join('<br/>'), options: field.options, onInput: (e) => this.handleInput(e, field), onChangeNative: (e) => this.handleChange(e, field) }));
|
|
398
437
|
}
|
|
399
438
|
async getData() {
|
|
400
439
|
return this.makeFormData();
|
|
@@ -407,9 +446,9 @@ export class EdsForm {
|
|
|
407
446
|
const styleClasses = this.formStyle === 'shadow'
|
|
408
447
|
? 'bg-inverse effect-shadow shadow-hover border-softer relative rounded-lg border-2 p-32'
|
|
409
448
|
: '';
|
|
410
|
-
return (h("form", { key: '
|
|
449
|
+
return (h("form", { key: 'a4b6cf51242567739fc3ff2da482c41edb4e4e57', class: styleClasses, ref: (el) => (this.formEl = el), autocomplete: "on", onSubmit: this.handleSubmit }, h("div", { key: '5f7e1d618f8a10a1cd6aa8d512c04064a484cd93', class: "flex flex-col gap-y-24" }, this.title && (h("span", { key: '283d752d3e9f4ede0f50493ba9e5010376ebfb1f', role: "heading", class: "f-heading-04" }, this.title)), this.description && h("span", { key: 'bd5866482b87bdc86a59594b884a9b81c676afdb', class: "f-body-02 text-light" }, this.description), h("slot", { key: 'b2de746ccf8743fdef545a70ab111dfff0d7912f' })), hiddenFields.map((field, index) => (h("eds-input", { key: index, type: "hidden", name: field.name, value: field.value }))), this.parsedGroups
|
|
411
450
|
.filter((g) => Array.isArray(buckets[g.id]) && buckets[g.id].length > 0)
|
|
412
|
-
.map((g) => (h("div", { class: "mt-32", key: g.id }, h("span", { class: "f-body-02" }, h("b", null, g.title)), h("div", { class: "border-group mt-32 mb-32 flex flex-col gap-y-24" }, buckets[g.id].map((f) => this.renderField(f)))))), h("div", { key: '
|
|
451
|
+
.map((g) => (h("div", { class: "mt-32", key: g.id }, h("span", { class: "f-body-02" }, h("b", null, g.title)), h("div", { class: "border-group mt-32 mb-32 flex flex-col gap-y-24" }, buckets[g.id].map((f) => this.renderField(f)))))), h("div", { key: '917c5bd2e6048a91487f0a66bd0426e529295f9e', class: "flex flex-col mt-32 gap-y-24" }, buckets['__ungrouped'].map((f) => this.renderField(f))), this.formBtn && (h("div", { key: '96abbd19ea2869c21146f0b37da7ff6b89fbf66c', class: "mt-32" }, h("eds-button", { key: '066348df32cf27fc6e56c94b9d5c455bc51b4adf', intent: this.buttonIntent, label: this.formBtnLabel, disabled: this.isSubmitting, loading: this.isSubmitting, onClick: () => this.handleSubmit() })))));
|
|
413
452
|
}
|
|
414
453
|
static get is() { return "eds-form"; }
|
|
415
454
|
static get encapsulation() { return "shadow"; }
|
|
@@ -84,7 +84,7 @@ export class EdsFrame {
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
render() {
|
|
87
|
-
return (h("div", { key: '
|
|
87
|
+
return (h("div", { key: '5bcdb5bdd66a7530a82662ff9b6ef06d3a1eb1d3', class: this.articleClasses() }, h("div", { key: '4c9e224f1a6421398cfef1fd89d113513727b6dd', class: "effect-height flex items-center justify-between py-8 px-12" }, h("span", { key: '7704b4f1d1a3e8a728f0ad751891ecbfd118411a', class: "f-ui-02" }, this.frameLabel), !this.iframeError && this.url && this.urlLabel ? (h("eds-link", { label: this.urlLabel, url: this.url, intent: this.intent, class: "ml-auto", external: true, disabled: false, icon: "arrow-diagonal" })) : null), h("div", { key: 'd4372713fc8984d14808171857d6efd40790dec2', class: "border-softer" }, this.iframeError ? (h("div", { class: "container ml-8 mr-8 mt-16" }, this.errorMessage)) : (h("iframe", { src: this.frameSrc, width: "100%", height: this.getFrameHeight(), title: this.frameLabel, frameBorder: "0", allowFullScreen: true })))));
|
|
88
88
|
}
|
|
89
89
|
static get is() { return "eds-frame"; }
|
|
90
90
|
static get encapsulation() { return "shadow"; }
|