@ebrains/components 2.0.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/clone-846acfdd.js +5 -0
- package/dist/cjs/color-primary-palette_6.cjs.entry.js +15 -15
- package/dist/cjs/components-section.cjs.entry.js +4 -6
- package/dist/cjs/components.cjs.js +2 -2
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +2 -2
- package/dist/cjs/docs-palettes.cjs.entry.js +2 -2
- package/dist/cjs/docs-tokens.cjs.entry.js +2 -2
- package/dist/cjs/download-9d17d025.js +20 -0
- package/dist/cjs/edit-ff5b84d8.js +5 -0
- package/dist/cjs/{eds-avatar_26.cjs.entry.js → eds-accordion_34.cjs.entry.js} +3597 -203
- package/dist/cjs/eds-app-root.cjs.entry.js +2 -2
- package/dist/cjs/eds-card-desc_2.cjs.entry.js +3 -3
- package/dist/cjs/eds-card-generic.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-project.cjs.entry.js +2 -2
- package/dist/cjs/eds-card-section.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-tags.cjs.entry.js +2 -2
- package/dist/cjs/eds-card-tool.cjs.entry.js +2 -2
- package/dist/cjs/eds-cookies-preference.cjs.entry.js +2 -2
- package/dist/cjs/eds-feedback.cjs.entry.js +2 -2
- package/dist/cjs/eds-footer.cjs.entry.js +9 -5
- package/dist/cjs/eds-frame.cjs.entry.js +2 -2
- package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +9 -4
- package/dist/cjs/eds-gauge.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-bin.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-bookmark.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-clone.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-close.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-copy.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-download.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-draft.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-edit.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-eu.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-external.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-facebook.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-gitlab.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-linkedin.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-loader.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-mastodon.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-menu.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-minus.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-more.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-paper.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-plus.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-portal.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-private.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-public.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-search.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-star.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-start.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-success.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-tutorial.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-unknown.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-updown.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-user.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-view.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-youtube.cjs.entry.js +2 -2
- package/dist/cjs/eds-modal.cjs.entry.js +3 -3
- package/dist/cjs/eds-pie.cjs.entry.js +1 -1
- package/dist/cjs/eds-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/eds-section-core_2.cjs.entry.js +4 -4
- package/dist/cjs/eds-social-networks.cjs.entry.js +3 -5
- package/dist/cjs/eds-spinner.cjs.entry.js +2 -2
- package/dist/cjs/eds-splash-screen.cjs.entry.js +1 -1
- package/dist/cjs/eds-timeline.cjs.entry.js +2 -2
- package/dist/cjs/eds-toast-manager.cjs.entry.js +2 -2
- package/dist/cjs/eds-trl.cjs.entry.js +2 -2
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +2 -2
- package/dist/cjs/{index-88c8039f.js → index-0249a32e.js} +19 -32
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/logo-space.cjs.entry.js +2 -2
- package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +3 -3
- package/dist/cjs/logo-variations-tabs.cjs.entry.js +2 -2
- package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
- package/dist/cjs/svg-repository.cjs.entry.js +10 -22
- package/dist/cjs/token-list_3.cjs.entry.js +4 -4
- package/dist/cjs/token-ratios.cjs.entry.js +2 -2
- package/dist/cjs/token-spacing.cjs.entry.js +2 -2
- package/dist/cjs/token-typography.cjs.entry.js +2 -2
- package/dist/cjs/view-80d5c6c8.js +5 -0
- package/dist/collection/collection-manifest.json +4 -0
- package/dist/collection/components/eds-accordion/eds-accordion.js +1 -1
- package/dist/collection/components/eds-alert/eds-alert.js +30 -3
- 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.css +4 -0
- package/dist/collection/components/eds-button/eds-button.js +19 -8
- 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-project/eds-card-project.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +1 -1
- package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.js +1 -1
- package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
- package/dist/collection/components/eds-dropdown/eds-dropdown.js +2 -2
- 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 +36 -0
- package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-download/eds-icon-download.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-draft/eds-icon-draft.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-edit/eds-icon-edit.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-external/eds-icon-external.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-minus/eds-icon-minus.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-paper/eds-icon-paper.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-start/eds-icon-start.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-view/eds-icon-view.js +36 -0
- 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 +3 -2
- package/dist/collection/components/eds-link/eds-link.js +27 -7
- package/dist/collection/components/eds-link/eds-link.stories.js +3 -1
- 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 +36 -0
- package/dist/collection/components/eds-nps/eds-nps.css +73 -0
- package/dist/collection/components/eds-nps/eds-nps.js +163 -0
- package/dist/collection/components/eds-pagination/eds-pagination.css +16 -0
- package/dist/collection/components/eds-pagination/eds-pagination.js +131 -51
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
- package/dist/collection/components/eds-rating/eds-rating.js +25 -3
- package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
- package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
- package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
- package/dist/collection/components/eds-switch/eds-switch.css +15 -5
- package/dist/collection/components/eds-switch/eds-switch.js +26 -4
- package/dist/collection/components/eds-table/eds-table.css +4 -0
- package/dist/collection/components/eds-table/eds-table.js +42 -39
- package/dist/collection/components/eds-table/eds-table.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/components/eds-tooltip/eds-tooltip.css +5 -0
- package/dist/collection/components/eds-tooltip/eds-tooltip.js +2 -2
- package/dist/collection/components/eds-trl/eds-trl.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
- package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
- package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/components-section/components-section.js +1 -1
- package/dist/collection/eds-docs-ui/components-section/functional/overview.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/docs-tokens/docs-tokens.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
- package/dist/collection/eds-docs-ui/docs-palettes/docs-palettes.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations-tabs/logo-variations.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
- package/dist/collection/eds-docs-ui/svg-repository/svg-repository.js +1 -1
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +1 -1
- package/dist/collection/shared-ui/eds-footer/eds-footer.js +13 -6
- package/dist/collection/shared-ui/eds-form/eds-form.css +72 -0
- package/dist/collection/shared-ui/eds-form/eds-form.js +110 -5
- package/dist/collection/shared-ui/eds-form/eds-form.stories.js +33 -4
- package/dist/collection/shared-ui/eds-frame/eds-frame.js +1 -1
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +50 -16
- package/dist/collection/shared-ui/eds-header/eds-header.js +1 -1
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +20 -8
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.css +0 -20
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -3
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.stories.js +6 -7
- package/dist/collection/shared-ui/eds-steps/eds-steps.css +136 -92
- package/dist/collection/shared-ui/eds-steps/eds-steps.js +234 -40
- package/dist/collection/shared-ui/eds-steps/eds-steps.stories.js +71 -7
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.css +44 -33
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.js +195 -19
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.stories.js +65 -4
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +26 -5
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +89 -31
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
- package/dist/collection/shared-ui/eds-user/eds-user.js +35 -1
- package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
- package/dist/collection/utils/eds-form/formValidators.js +34 -0
- package/dist/components/clone.js +3 -0
- package/dist/components/components-section.js +3 -5
- package/dist/components/components.css +7 -12
- package/dist/components/components.esm.js +1 -1
- package/dist/components/correct-use-of-colors.js +1 -1
- package/dist/components/docs-palettes.js +1 -1
- package/dist/components/docs-tokens.js +1 -1
- package/dist/components/download.js +18 -0
- package/dist/components/edit.js +1 -1
- package/dist/components/eds-accordion2.js +1 -1
- package/dist/components/eds-alert2.js +21 -5
- 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 +21 -10
- package/dist/components/eds-card-desc2.js +1 -1
- package/dist/components/eds-card-project.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 +8 -4
- package/dist/components/eds-form.js +100 -24
- package/dist/components/eds-frame.js +1 -1
- package/dist/components/eds-fullscreen-menu.js +8 -3
- package/dist/components/eds-gauge.js +1 -1
- package/dist/components/eds-header.js +1 -1
- package/dist/components/eds-icon-arrow-diagonal.js +1 -1
- package/dist/components/eds-icon-arrow-right.js +1 -1
- package/dist/components/eds-icon-bin.js +1 -1
- package/dist/components/eds-icon-bluesky.js +1 -1
- package/dist/components/eds-icon-bookmark.js +1 -1
- package/dist/components/eds-icon-chevron-down.js +1 -1
- package/dist/components/eds-icon-chevron-left.js +1 -1
- package/dist/components/eds-icon-chevron-right.js +1 -1
- package/dist/components/eds-icon-chevron-up.js +1 -1
- package/dist/components/eds-icon-clone.d.ts +11 -0
- package/dist/components/eds-icon-clone.js +33 -0
- package/dist/components/eds-icon-close.js +1 -1
- package/dist/components/eds-icon-copy.js +1 -1
- package/dist/components/eds-icon-download.d.ts +11 -0
- package/dist/components/eds-icon-download.js +33 -0
- package/dist/components/eds-icon-draft.js +1 -1
- package/dist/components/eds-icon-edit.js +1 -1
- package/dist/components/eds-icon-eu.js +1 -1
- package/dist/components/eds-icon-external.js +1 -1
- package/dist/components/eds-icon-facebook.js +1 -1
- package/dist/components/eds-icon-gitlab.js +1 -1
- package/dist/components/eds-icon-linkedin.js +1 -1
- package/dist/components/eds-icon-loader.js +1 -1
- package/dist/components/eds-icon-mastodon.js +1 -1
- package/dist/components/eds-icon-menu.js +1 -1
- package/dist/components/eds-icon-minus.js +1 -1
- package/dist/components/eds-icon-more.js +1 -1
- package/dist/components/eds-icon-paper.js +1 -1
- package/dist/components/eds-icon-plus.js +1 -1
- package/dist/components/eds-icon-portal.js +1 -1
- package/dist/components/eds-icon-private.js +1 -1
- package/dist/components/eds-icon-public.js +1 -1
- package/dist/components/eds-icon-search.js +1 -1
- package/dist/components/eds-icon-star.js +1 -1
- package/dist/components/eds-icon-start.js +1 -1
- package/dist/components/eds-icon-success.js +1 -1
- package/dist/components/eds-icon-thumbs-down.js +1 -1
- package/dist/components/eds-icon-thumbs-up.js +1 -1
- package/dist/components/eds-icon-tutorial.js +1 -1
- package/dist/components/eds-icon-twitter.js +1 -1
- package/dist/components/eds-icon-unknown.js +1 -1
- package/dist/components/eds-icon-updown.js +1 -1
- package/dist/components/eds-icon-user.js +1 -1
- package/dist/components/eds-icon-view.d.ts +11 -0
- package/dist/components/eds-icon-view.js +33 -0
- package/dist/components/eds-icon-youtube.js +1 -1
- package/dist/components/eds-img2.js +2 -2
- package/dist/components/eds-input-field2.js +4 -3
- package/dist/components/eds-input-footer2.js +1 -1
- package/dist/components/eds-input-label2.js +1 -1
- package/dist/components/eds-input-range2.js +1 -1
- package/dist/components/eds-input-search2.js +1 -1
- package/dist/components/eds-input-select2.js +2 -2
- package/dist/components/eds-input2.js +2 -2
- package/dist/components/eds-link2.js +27 -7
- package/dist/components/eds-logo2.js +1 -1
- package/dist/components/eds-modal.js +2 -2
- package/dist/components/eds-nps.d.ts +11 -0
- package/dist/components/eds-nps.js +6 -0
- package/dist/components/eds-nps2.js +120 -0
- package/dist/components/eds-pagination2.js +120 -53
- package/dist/components/eds-progress-bar2.js +1 -1
- package/dist/components/eds-rating2.js +25 -3
- package/dist/components/eds-section-core2.js +1 -1
- package/dist/components/eds-section-heading2.js +2 -2
- package/dist/components/eds-social-networks2.js +2 -4
- package/dist/components/eds-spinner2.js +1 -1
- package/dist/components/eds-steps-v2.js +35 -13
- package/dist/components/eds-steps2.js +54 -35
- package/dist/components/eds-switch.js +27 -5
- package/dist/components/eds-table2.js +74 -41
- package/dist/components/eds-tabs.js +90 -32
- package/dist/components/eds-tag2.js +1 -1
- package/dist/components/eds-timeline.js +1 -1
- package/dist/components/eds-toast-manager.js +1 -1
- package/dist/components/eds-tooltip.js +1 -50
- package/dist/components/eds-tooltip2.js +52 -0
- package/dist/components/eds-trl.js +37 -25
- package/dist/components/eds-user.js +12 -10
- package/dist/components/incorrect-use-of-colors.js +9 -3
- package/dist/components/logo-space.js +35 -23
- 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-0452fe52.entry.js +1 -0
- package/dist/components/p-04f288b1.entry.js +1 -0
- package/dist/components/p-06951aa3.entry.js +1 -0
- package/dist/components/p-0da7d1c9.js +1 -0
- package/dist/components/p-101392d0.entry.js +1 -0
- package/dist/components/{p-ed4d9bf5.entry.js → p-171f8e6b.entry.js} +1 -1
- package/dist/components/p-19e69c03.entry.js +1 -0
- package/dist/components/{p-e2e7250a.entry.js → p-1b032aa8.entry.js} +1 -1
- package/dist/components/{p-adbd0d7b.entry.js → p-265150a1.entry.js} +1 -1
- package/dist/components/p-27c4a06e.js +1 -0
- package/dist/components/p-28ec52a7.entry.js +1 -0
- package/dist/components/p-2f712656.entry.js +1 -0
- package/dist/components/p-3097c321.entry.js +1 -0
- package/dist/components/p-36db7db0.entry.js +1 -0
- package/dist/components/p-38b0ea8d.entry.js +1 -0
- package/dist/components/p-3b551ade.entry.js +9 -0
- package/dist/components/p-3fa4a703.entry.js +1 -0
- package/dist/components/p-3fa54526.entry.js +1 -0
- package/dist/components/p-42680319.entry.js +1 -0
- package/dist/components/{p-6d3b5818.entry.js → p-4c618a35.entry.js} +1 -1
- package/dist/components/p-4d207d0e.entry.js +1 -0
- package/dist/components/p-4db384d9.entry.js +1 -0
- package/dist/components/p-4eb2cf7f.js +1 -0
- package/dist/components/{p-70e8e66f.entry.js → p-50d7eed9.entry.js} +1 -1
- package/dist/components/p-5367bb59.entry.js +1 -0
- package/dist/components/{p-356846cd.entry.js → p-5479e43b.entry.js} +1 -1
- package/dist/components/{p-3e183368.entry.js → p-58c8c0d7.entry.js} +1 -1
- package/dist/components/p-5a88cdc2.entry.js +1 -0
- package/dist/components/p-5b574bb2.entry.js +1 -0
- package/dist/components/p-5ec9fc29.entry.js +1 -0
- package/dist/components/p-5f350866.entry.js +1 -0
- package/dist/components/p-5ff10b6f.entry.js +1 -0
- package/dist/components/p-6420754e.entry.js +1 -0
- package/dist/components/{p-b073d78f.entry.js → p-64b7a6fc.entry.js} +1 -1
- package/dist/components/{p-02d94d2d.entry.js → p-6614881d.entry.js} +1 -1
- package/dist/components/p-68a2cd95.entry.js +1 -0
- package/dist/components/{p-f6ca2aa6.entry.js → p-6a2d1e11.entry.js} +1 -1
- package/dist/components/p-6b988c76.entry.js +1 -0
- package/dist/components/p-7032a73b.entry.js +1 -0
- package/dist/components/p-7272628d.entry.js +1 -0
- package/dist/components/p-78c348e2.entry.js +1 -0
- package/dist/components/{p-8c0b0121.entry.js → p-79afd8aa.entry.js} +1 -1
- package/dist/components/p-7a5623b5.entry.js +1 -0
- package/dist/components/p-7fa46b01.entry.js +1 -0
- package/dist/components/p-86eff0cb.entry.js +1 -0
- package/dist/components/p-870001ee.entry.js +1 -0
- package/dist/components/p-88eeaeca.entry.js +1 -0
- package/dist/components/p-8b7910d2.entry.js +1 -0
- package/dist/components/p-8cf98230.entry.js +1 -0
- package/dist/components/{p-e35e156d.entry.js → p-8eced026.entry.js} +1 -1
- package/dist/components/{p-0687532c.entry.js → p-8edd07db.entry.js} +1 -1
- package/dist/components/p-8ef68d8a.entry.js +1 -0
- package/dist/components/p-8fb1eb43.entry.js +1 -0
- package/dist/components/p-9261d27c.entry.js +1 -0
- package/dist/components/{p-9d18d7b1.entry.js → p-94a223ec.entry.js} +1 -1
- package/dist/components/{p-1f5c19b9.entry.js → p-9c1c5e8d.entry.js} +1 -1
- package/dist/components/p-9cb14b1f.entry.js +1 -0
- package/dist/components/{p-024789cc.entry.js → p-a5fd4fc9.entry.js} +1 -1
- package/dist/components/p-a6586448.entry.js +1 -0
- package/dist/components/p-ad7d603b.entry.js +1 -0
- package/dist/components/p-b24ef7f7.entry.js +1 -0
- package/dist/components/{p-66f4cdd9.entry.js → p-b31babda.entry.js} +1 -1
- package/dist/components/p-baa2df0b.entry.js +1 -0
- package/dist/components/p-bfe9d934.entry.js +1 -0
- package/dist/components/p-c1943b8f.entry.js +1 -0
- package/dist/components/{p-b3a40663.entry.js → p-c66f4dd8.entry.js} +1 -1
- package/dist/components/{p-4e473b4e.entry.js → p-d1927da7.entry.js} +1 -1
- package/dist/components/{p-543f2347.entry.js → p-d2e485a1.entry.js} +1 -1
- package/dist/components/{p-794f11e7.entry.js → p-d3391236.entry.js} +1 -1
- package/dist/components/p-da0e9a75.entry.js +1 -0
- package/dist/components/p-dbe11048.entry.js +1 -0
- package/dist/components/{p-773a119a.entry.js → p-dd28ab38.entry.js} +1 -1
- package/dist/components/p-e42ac312.entry.js +1 -0
- package/dist/components/p-e6c3f38c.entry.js +1 -0
- package/dist/components/p-e7c37e5b.entry.js +1 -0
- package/dist/components/p-e8374410.entry.js +1 -0
- package/dist/components/p-e90da4ba.entry.js +1 -0
- package/dist/components/p-e9cd3c4b.entry.js +1 -0
- package/dist/components/p-ebd59113.entry.js +1 -0
- package/dist/components/{p-28ae3f3a.js → p-efbc374c.js} +2 -2
- package/dist/components/p-f092b706.entry.js +1 -0
- package/dist/components/p-f29e7506.entry.js +1 -0
- package/dist/components/p-f2abe4d8.js +1 -0
- package/dist/components/p-f40dd50d.entry.js +1 -0
- package/dist/components/p-fc099d59.entry.js +1 -0
- package/dist/components/p-fda3da92.entry.js +1 -0
- package/dist/components/{p-2839899a.entry.js → p-ff902c98.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 +41 -41
- 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/view.js +3 -0
- package/dist/esm/clone-dab56639.js +3 -0
- package/dist/esm/color-primary-palette_6.entry.js +15 -15
- package/dist/esm/components-section.entry.js +4 -6
- package/dist/esm/components.js +3 -3
- package/dist/esm/correct-use-of-colors.entry.js +2 -2
- package/dist/esm/docs-palettes.entry.js +2 -2
- package/dist/esm/docs-tokens.entry.js +2 -2
- package/dist/esm/download-47746956.js +18 -0
- package/dist/esm/edit-3893a517.js +3 -0
- package/dist/esm/{eds-avatar_26.entry.js → eds-accordion_34.entry.js} +3591 -205
- package/dist/esm/eds-app-root.entry.js +2 -2
- package/dist/esm/eds-card-desc_2.entry.js +3 -3
- package/dist/esm/eds-card-generic.entry.js +1 -1
- package/dist/esm/eds-card-project.entry.js +2 -2
- package/dist/esm/eds-card-section.entry.js +1 -1
- package/dist/esm/eds-card-tags.entry.js +2 -2
- package/dist/esm/eds-card-tool.entry.js +2 -2
- package/dist/esm/eds-cookies-preference.entry.js +2 -2
- package/dist/esm/eds-feedback.entry.js +2 -2
- package/dist/esm/eds-footer.entry.js +9 -5
- package/dist/esm/eds-frame.entry.js +2 -2
- package/dist/esm/eds-fullscreen-menu.entry.js +9 -4
- package/dist/esm/eds-gauge.entry.js +2 -2
- package/dist/esm/eds-icon-arrow-diagonal.entry.js +2 -2
- package/dist/esm/eds-icon-arrow-right.entry.js +2 -2
- package/dist/esm/eds-icon-bin.entry.js +2 -2
- package/dist/esm/eds-icon-bluesky.entry.js +2 -2
- package/dist/esm/eds-icon-bookmark.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-down.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-left.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-right.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-up.entry.js +2 -2
- package/dist/esm/eds-icon-clone.entry.js +14 -0
- package/dist/esm/eds-icon-close.entry.js +2 -2
- package/dist/esm/eds-icon-copy.entry.js +2 -2
- package/dist/esm/eds-icon-download.entry.js +14 -0
- package/dist/esm/eds-icon-draft.entry.js +2 -2
- package/dist/esm/eds-icon-edit.entry.js +3 -3
- package/dist/esm/eds-icon-eu.entry.js +2 -2
- package/dist/esm/eds-icon-external.entry.js +2 -2
- package/dist/esm/eds-icon-facebook.entry.js +2 -2
- package/dist/esm/eds-icon-gitlab.entry.js +2 -2
- package/dist/esm/eds-icon-linkedin.entry.js +2 -2
- package/dist/esm/eds-icon-loader.entry.js +2 -2
- package/dist/esm/eds-icon-mastodon.entry.js +2 -2
- package/dist/esm/eds-icon-menu.entry.js +2 -2
- package/dist/esm/eds-icon-minus.entry.js +2 -2
- package/dist/esm/eds-icon-more.entry.js +2 -2
- package/dist/esm/eds-icon-paper.entry.js +2 -2
- package/dist/esm/eds-icon-plus.entry.js +2 -2
- package/dist/esm/eds-icon-portal.entry.js +2 -2
- package/dist/esm/eds-icon-private.entry.js +2 -2
- package/dist/esm/eds-icon-public.entry.js +2 -2
- package/dist/esm/eds-icon-search.entry.js +2 -2
- package/dist/esm/eds-icon-star.entry.js +2 -2
- package/dist/esm/eds-icon-start.entry.js +2 -2
- package/dist/esm/eds-icon-success.entry.js +2 -2
- package/dist/esm/eds-icon-thumbs-down.entry.js +2 -2
- package/dist/esm/eds-icon-thumbs-up.entry.js +2 -2
- package/dist/esm/eds-icon-tutorial.entry.js +2 -2
- package/dist/esm/eds-icon-twitter.entry.js +2 -2
- package/dist/esm/eds-icon-unknown.entry.js +2 -2
- package/dist/esm/eds-icon-updown.entry.js +2 -2
- package/dist/esm/eds-icon-user.entry.js +2 -2
- package/dist/esm/eds-icon-view.entry.js +14 -0
- package/dist/esm/eds-icon-youtube.entry.js +2 -2
- package/dist/esm/eds-modal.entry.js +3 -3
- package/dist/esm/eds-pie.entry.js +1 -1
- package/dist/esm/eds-progress-bar.entry.js +2 -2
- package/dist/esm/eds-section-core_2.entry.js +4 -4
- package/dist/esm/eds-social-networks.entry.js +3 -5
- package/dist/esm/eds-spinner.entry.js +2 -2
- package/dist/esm/eds-splash-screen.entry.js +1 -1
- package/dist/esm/eds-timeline.entry.js +2 -2
- package/dist/esm/eds-toast-manager.entry.js +2 -2
- package/dist/esm/eds-trl.entry.js +2 -2
- package/dist/esm/incorrect-use-of-colors.entry.js +2 -2
- package/dist/esm/{index-fdb33359.js → index-e84b871c.js} +19 -32
- package/dist/esm/loader.js +3 -3
- package/dist/esm/logo-space.entry.js +2 -2
- package/dist/esm/logo-variations-horizontal_2.entry.js +3 -3
- package/dist/esm/logo-variations-tabs.entry.js +2 -2
- package/dist/esm/logo-wrong-usage.entry.js +2 -2
- package/dist/esm/svg-repository.entry.js +9 -21
- package/dist/esm/token-list_3.entry.js +4 -4
- package/dist/esm/token-ratios.entry.js +2 -2
- package/dist/esm/token-spacing.entry.js +2 -2
- package/dist/esm/token-typography.entry.js +2 -2
- package/dist/esm/view-e900f2d4.js +3 -0
- package/dist/hydrate/index.js +852 -327
- package/dist/hydrate/index.mjs +852 -327
- package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/lib/svgs.d.ts +3 -1
- package/dist/types/components/eds-alert/eds-alert.d.ts +6 -0
- package/dist/types/components/eds-button/eds-button.d.ts +1 -0
- package/dist/types/components/eds-icons/eds-icon-clone/eds-icon-clone.d.ts +10 -0
- package/dist/types/components/eds-icons/eds-icon-download/eds-icon-download.d.ts +10 -0
- package/dist/types/components/eds-icons/eds-icon-view/eds-icon-view.d.ts +10 -0
- package/dist/types/components/eds-link/eds-link.d.ts +1 -0
- package/dist/types/components/eds-nps/eds-npm.stories.d.ts +28 -0
- package/dist/types/components/eds-nps/eds-nps.d.ts +20 -0
- package/dist/types/components/eds-pagination/eds-pagination.d.ts +23 -2
- package/dist/types/components/eds-rating/eds-rating.d.ts +3 -1
- package/dist/types/components/eds-switch/eds-switch.d.ts +1 -0
- package/dist/types/components/eds-table/eds-table.d.ts +23 -8
- package/dist/types/components/eds-table/eds-table.stories.d.ts +7 -2
- package/dist/types/components.d.ts +421 -41
- package/dist/types/shared-ui/eds-footer/eds-footer.d.ts +4 -2
- package/dist/types/shared-ui/eds-form/eds-form.d.ts +18 -0
- package/dist/types/shared-ui/eds-form/eds-form.stories.d.ts +19 -0
- package/dist/types/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.d.ts +44 -13
- package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.d.ts +11 -3
- package/dist/types/shared-ui/eds-social-networks/eds-social-networks.d.ts +0 -2
- package/dist/types/shared-ui/eds-social-networks/eds-social-networks.stories.d.ts +1 -1
- package/dist/types/shared-ui/eds-steps/eds-steps.d.ts +72 -24
- package/dist/types/shared-ui/eds-steps/eds-steps.stories.d.ts +58 -0
- package/dist/types/shared-ui/eds-steps-v2/eds-steps-v2.d.ts +42 -19
- package/dist/types/shared-ui/eds-steps-v2/eds-steps-v2.stories.d.ts +33 -0
- package/dist/types/shared-ui/eds-tabs/eds-tabs.d.ts +7 -9
- package/dist/types/shared-ui/eds-user/eds-user.d.ts +5 -0
- package/dist/types/utils/eds-form/formValidators.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cjs/edit-5714c144.js +0 -5
- package/dist/cjs/eds-accordion.cjs.entry.js +0 -87
- package/dist/cjs/eds-alert.cjs.entry.js +0 -104
- package/dist/cjs/eds-breadcrumb.cjs.entry.js +0 -145
- package/dist/cjs/eds-code-block.cjs.entry.js +0 -2489
- package/dist/cjs/eds-matomo-notice.cjs.entry.js +0 -125
- package/dist/cjs/eds-switch.cjs.entry.js +0 -46
- package/dist/cjs/eds-tooltip.cjs.entry.js +0 -38
- package/dist/components/p-023bc47c.entry.js +0 -1
- package/dist/components/p-02df910c.entry.js +0 -1
- package/dist/components/p-0be79e08.entry.js +0 -1
- package/dist/components/p-0e74d8b4.entry.js +0 -1
- package/dist/components/p-11efb1d1.entry.js +0 -1
- package/dist/components/p-1791ce82.entry.js +0 -1
- package/dist/components/p-19d586e6.entry.js +0 -1
- package/dist/components/p-2679926c.entry.js +0 -1
- package/dist/components/p-2d1a7471.entry.js +0 -1
- package/dist/components/p-2ff16a39.entry.js +0 -1
- package/dist/components/p-32e18e48.entry.js +0 -1
- package/dist/components/p-38e99d4b.entry.js +0 -1
- package/dist/components/p-3a331c68.entry.js +0 -1
- package/dist/components/p-4088ae0e.entry.js +0 -1
- package/dist/components/p-4277fb1a.entry.js +0 -1
- package/dist/components/p-42a73db4.entry.js +0 -1
- package/dist/components/p-43468b0f.entry.js +0 -1
- package/dist/components/p-44055e68.entry.js +0 -1
- package/dist/components/p-4a5d0dcd.entry.js +0 -1
- package/dist/components/p-4a7412ec.entry.js +0 -1
- package/dist/components/p-4b88d84c.entry.js +0 -1
- package/dist/components/p-50f43dfd.entry.js +0 -1
- package/dist/components/p-562afa88.entry.js +0 -1
- package/dist/components/p-564431ad.entry.js +0 -1
- package/dist/components/p-5aa4065a.entry.js +0 -1
- package/dist/components/p-5ae1c931.entry.js +0 -1
- package/dist/components/p-634258e6.entry.js +0 -1
- package/dist/components/p-68f45098.entry.js +0 -1
- package/dist/components/p-73a44c48.entry.js +0 -1
- package/dist/components/p-73c74835.entry.js +0 -1
- package/dist/components/p-76905315.entry.js +0 -1
- package/dist/components/p-7dbe791f.entry.js +0 -1
- package/dist/components/p-7ec52188.entry.js +0 -1
- package/dist/components/p-7fc84bb2.js +0 -1
- package/dist/components/p-82559816.entry.js +0 -1
- package/dist/components/p-85683b18.entry.js +0 -1
- package/dist/components/p-8681e5d8.entry.js +0 -1
- package/dist/components/p-877d13d9.entry.js +0 -1
- package/dist/components/p-8dee879d.entry.js +0 -1
- package/dist/components/p-911b1c0b.entry.js +0 -1
- package/dist/components/p-93e6ba0f.entry.js +0 -1
- package/dist/components/p-960aa103.entry.js +0 -1
- package/dist/components/p-996005b7.entry.js +0 -1
- package/dist/components/p-9e53eca3.entry.js +0 -1
- package/dist/components/p-aa5e75b4.entry.js +0 -1
- package/dist/components/p-ae9393b6.entry.js +0 -1
- package/dist/components/p-af137162.entry.js +0 -1
- package/dist/components/p-b630e51a.entry.js +0 -1
- package/dist/components/p-bb9af709.entry.js +0 -1
- package/dist/components/p-c2dc3692.entry.js +0 -1
- package/dist/components/p-c91b4eec.entry.js +0 -1
- package/dist/components/p-caff3355.entry.js +0 -1
- package/dist/components/p-ce66ea37.entry.js +0 -1
- package/dist/components/p-d4f239d7.entry.js +0 -1
- package/dist/components/p-d7251d4d.entry.js +0 -1
- package/dist/components/p-deb9bbed.entry.js +0 -1
- package/dist/components/p-ed7696a2.entry.js +0 -1
- package/dist/components/p-f2416727.entry.js +0 -1
- package/dist/components/p-f28b5da7.entry.js +0 -1
- package/dist/components/p-f3839914.entry.js +0 -1
- package/dist/components/p-f42b6251.entry.js +0 -1
- package/dist/components/p-f7a31196.entry.js +0 -1
- package/dist/components/p-f973c83b.entry.js +0 -1
- package/dist/components/p-fe167c78.entry.js +0 -9
- package/dist/esm/edit-1dc8d11b.js +0 -3
- package/dist/esm/eds-accordion.entry.js +0 -83
- package/dist/esm/eds-alert.entry.js +0 -100
- package/dist/esm/eds-breadcrumb.entry.js +0 -141
- package/dist/esm/eds-code-block.entry.js +0 -2485
- package/dist/esm/eds-matomo-notice.entry.js +0 -121
- package/dist/esm/eds-switch.entry.js +0 -42
- package/dist/esm/eds-tooltip.entry.js +0 -34
- /package/dist/collection/shared-ui/eds-toast-manager/{eds-toast-manager.stories.js → eds-toast-manager.st.js} +0 -0
- /package/dist/types/shared-ui/eds-toast-manager/{eds-toast-manager.stories.d.ts → eds-toast-manager.st.d.ts} +0 -0
|
@@ -5,7 +5,7 @@ import { vLogoMargins } from "../../../../../../../../packages/svgs/src/index";
|
|
|
5
5
|
*/
|
|
6
6
|
export class LogoSpace {
|
|
7
7
|
render() {
|
|
8
|
-
return (h("div", { key: '
|
|
8
|
+
return (h("div", { key: '2ff3cdb12cbd61fc4053418d1a678409c05755f2', class: "container" }, h("ul", { key: 'abfc33d14841a457959f5b15e8542465e8a0f883', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'd81281a2d146a19d036678cb794f5224236ce521', class: "grid-col-span-6 xxl:grid-col-span-3 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: '9d3774468a2b09098b84a8354683b2c6940491f5', class: "logo-container mx-auto w-[300px]", innerHTML: vLogoMargins })), h("li", { key: 'cb4d4a3ff951b25fba627bd98cc1319dcb803158', class: "grid-col-span-6 xxl:grid-col-span-3 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'fa2f563d8ad8100b6d12c626f41b4552d99c743e', class: "text-center mt-16" }, h("p", { key: 'bda0bb099f9e82b9462bee494f7d417bdd9984b9', class: "f-body-01" }, "To ensure legibility, follow these minimum size guidelines:"), h("eds-table", { key: '92b100f67e3a7dd84d817b5dbc8cdfe76d6b2408', data: '[\n { "Media": "Print", "Landscape": "0.75 cm", "Portrait": "1.75 cm" },\n { "Media": "Web", "Landscape": "29 px", "Portrait": "50 px" }\n ]', config: '{\n "Media": { "format": "bold" }\n }' }))), h("li", { key: '4d6ad4aacf24c4386493fe74ed928321627602ac', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "logo-space"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js
CHANGED
|
@@ -4,7 +4,7 @@ import { h } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class LogoVariationsHorizontal {
|
|
6
6
|
render() {
|
|
7
|
-
return (h("div", { key: '
|
|
7
|
+
return (h("div", { key: 'd8357d0a4234d0c411881928a6daabdda928f272', class: "container" }, h("ul", { key: '30e3d8efd0f5fd173f48c6e1e02005e7da813ce9', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '751d2de97fe8774614b15de1feda7f59c8da2ef0', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: 'd0ba9b152a505a591cabf5a54b720b6e718173e0', class: "f-body-01 text-center my-4" }, "#1 Coloured"), h("div", { key: '81b91d5c53a7ac440364083dd06222f32bf5dc51', class: "coloured" }, h("eds-logo", { key: '921cac572b2da3871eff8c2912de79babb909c91', type: "no-bg", href: "#" }))), h("li", { key: '74cebe6855e0e23d95a3ec74927b569c29b34d07', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: 'ed5484e8ff8f85251f85a61fb53d21639dbb914b', class: "f-body-01 text-center my-4" }, "#2 Black & White"), h("div", { key: '7a5f1894fe514a323e8955c01d1ab071187c2a5c', class: "bg-default" }, h("eds-logo", { key: '9a072cdaf4f7f901b8cb91d3fe9bc85ddb0e8eba', type: "black", href: "#" }))), h("li", { key: 'ea3f60807f78264c6305061dc292d1d17f7fd173', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: '530e8f71e5d6f56a9f8981ad454ecbd00162030e', class: "f-body-01 text-center my-4" }, "#3 Dark"), h("div", { key: 'b74d2cfb21a8d6f8288444cfed8ba9dc80d929b7' }, h("eds-logo", { key: 'f31c76f4f3e3f03f02d2712a272ba893f7832a7a', type: "color-white", href: "#" }))))));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "logo-variations-horizontal"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js
CHANGED
|
@@ -8,7 +8,7 @@ export class LogoVariationsVertical {
|
|
|
8
8
|
this.type = undefined;
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h("div", { key: '
|
|
11
|
+
return (h("div", { key: '983decc613dcf98cc903eb0220e4604e6eaff4d0', class: "container" }, h("ul", { key: '4c76eb52168bc862e3d9ba4afcfce2feadb92ab8', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '4e51746424e45dcae4bd01fe5ff30a9634333e2f', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: '18227e8430d94259740bcbcfe100540831d2a857', class: "f-body-01 text-center my-4" }, "#1 Coloured"), h("div", { key: '374be81aba7532670ff470026317a49d78f54762', class: "mx-auto coloured w-[300px]" }, h("eds-logo", { key: 'fdfe6b1cc100dff3a53c9065bc16803043df97e5', orientation: "vertical", type: "no-bg", href: "#" }))), h("li", { key: '5aaf638a69109964188bbcad753f420177859107', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: 'aadc470260f28236f3f4628ebf5c7261915f1fb2', class: "f-body-01 text-center my-4" }, "#2 Black & White"), h("div", { key: '3fed72cb0a3f38c6619d78a6995746a3cee5ee0e', class: "mx-auto bg-default w-[300px]" }, h("eds-logo", { key: 'bcf169b31b33615c82b768f20a0b648236644c65', orientation: "vertical", type: "black", href: "#" }))), h("li", { key: '62f0c6803ca0ec6090db435388da6754054c2007', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: '32813722dca892164d108df2ef0a3048cb4ebbbd', class: "f-body-01 text-center my-4" }, "#3 Dark"), h("div", { key: 'e33669ea223f6d923d71e2a8568140ae5ef739e3', class: "mx-auto w-[300px]" }, h("eds-logo", { key: '4176811098a57727ed30bfc1db82fa16aa06bd6c', orientation: "vertical", type: "color-white", href: "#" }))))));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "logo-variations-vertical"; }
|
|
14
14
|
static get encapsulation() { return "shadow"; }
|
|
@@ -17,7 +17,7 @@ export class LogoVariationsTabs {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return h("div", { key: '
|
|
20
|
+
return h("div", { key: 'a7e8981363410d2a325478150990092516e74f2e', class: "container" }, this.renderContent());
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "logo-variations-tabs"; }
|
|
23
23
|
static get properties() {
|
|
@@ -5,7 +5,7 @@ import { hLogoColor } from "../../../../../../../../packages/svgs/src/index";
|
|
|
5
5
|
*/
|
|
6
6
|
export class LogoWrongUsage {
|
|
7
7
|
render() {
|
|
8
|
-
return (h("div", { key: '
|
|
8
|
+
return (h("div", { key: 'fa573cdaaa0d55c820b5a355bff48d5f1d10544a', class: "container" }, h("ul", { key: '5c1941d3c45fa4814ffbdfaf30af106542862802', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'fd02c67fbe23ebb78289e5281c5b4917a44c950e', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: '246527a7926c377c287a3c8073b06952b54dc694', class: "mx-auto no-other-bg-color logo", innerHTML: hLogoColor }), h("p", { key: '88ebc748214a558e6cee28b8624f287de2faf80c', class: "f-ui-02 text-center" }, "Do not use with backgrounds that make legibility difficult")), h("li", { key: 'dbf4655e3bbbad7566f64f5b8eb474c749967c38', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: '5d2c9c916bc81ce831daf99c6293024aa9b0b2f0', class: "mx-auto no-other-color logo non-brand-color", innerHTML: hLogoColor }), h("p", { key: 'f9a37e0a587b60bf607efd2e1f3aa4114f67ef33', class: "f-ui-02 text-center" }, "Do not apply other colors")), h("li", { key: '3e1126e6636e0064ce852cc4249a684b77d7ba0a', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'a1eb4d8ea7764734f24b39cb95b36d6718f331a3', class: "mx-auto distorted logo", innerHTML: hLogoColor }), h("p", { key: 'e3d0156ec563c657c03beaa61a7ae068e78df09c', class: "f-ui-02 text-center" }, "Do not deform the logo")), h("li", { key: '062a45841b978d79fe82e5773ba82c98e8f9eb6c', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'd0f276a91bf1ea13b4f482e39e9f83b7ef3f2593', class: "mx-auto effects logo", innerHTML: hLogoColor }), h("p", { key: '62f67b5f28839a5bb3706e78004c1989feced677', class: "f-ui-02 text-center" }, "Do not apply effects")), h("li", { key: 'c4d0025e06c8385935a4b6162d65f78bc3d7b94d', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'c6118e7d56abcf4a54f6f590d9a77a9397fa3209', class: "mx-auto rotated logo", innerHTML: hLogoColor }), h("p", { key: 'a6c71000e3cf8b6d3a28c8f8c0df0840fdf2a749', class: "f-ui-02 text-center" }, "Do not rotate the logo")), h("li", { key: 'd558e277275a305f3d491eba94aad8c1e7eec471', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: '56947add9521b76a88ea05f8f64b6f0f656a9863', class: "mx-auto outlined logo", innerHTML: hLogoColor }), h("p", { key: '0de198ca711a32e9b0f6ff7275af9dc2bce3c1b6', class: "f-ui-02 text-center" }, "Do not apply outlines")), h("li", { key: '12b7c15e994ae6b40041da68eaa609ee0ec499a7', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: '9ef38af84bee3b83b04f881e6481769fc39991ff', class: "mx-auto" }, h("div", { key: '7f793491cf76a2c937ab0ca820dfd3f2a5779728', class: "bg-accent p-16" }, h("div", { key: '60bfff8e962a543dcda5db9d1bdf75a3702f8b38', class: "text-inverse", innerHTML: hLogoColor })), h("p", { key: '8a0a6a43def963fd5bd00e857ab7e21d60e54454', class: "f-ui-02 text-center" }, "Do not use the green background for the logo version of the logo with backgrounds with the same tones"))))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "logo-wrong-usage"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -25,7 +25,7 @@ export class SvgRepository {
|
|
|
25
25
|
icon: { format: 'svg' },
|
|
26
26
|
name: { format: 'bold' }
|
|
27
27
|
};
|
|
28
|
-
return (h("div", { key: '
|
|
28
|
+
return (h("div", { key: '36ab796174ab215a5e8f834f0d6291853305e732', class: "full-width" }, h("eds-table", { key: '31fca470f340fa54137887ef426f4f7e1fc72f73', "table-data": JSON.stringify(svgData), config: JSON.stringify(tableConfig), "rows-per-page": 10, "search-enabled": true, "pagination-enabled": true })));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "svg-repository"; }
|
|
31
31
|
static get encapsulation() { return "shadow"; }
|
|
@@ -25,7 +25,7 @@ export class EdsCookiesPreference {
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (h("div", { key: '
|
|
28
|
+
return (h("div", { key: '030dd5db2221d5613fae0fb215cac7c20c815c2b' }, h("eds-link", { key: '61d1bdf5e4299e65d980a08d25bec93b089f5330', size: "small", intent: this.intent, label: this.buttonText, onClick: () => this.toggleCookiesPopup() }), this.showMatomoNotice && h("eds-matomo-notice", { "force-show": true, key: this.noticeKey })));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "eds-cookies-preference"; }
|
|
31
31
|
static get originalStyleUrls() {
|
|
@@ -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: '58d69e0acbaca740439666bb9da015eaa81d160a', class: "grid inline" }, h(HeadingTag, { key: 'f7b066a56636e6555ace1b4947e00c293961b4ca', class: headingClass }, this.label), h("p", { key: '9bfb1903e25ba6c1d53849874f3309845c1b86dc', class: "f-body-01 text-light" }, this.description), h("eds-rating", { key: '785ea01ac3d2f40bb148d52c9c18698c89424175', "rating-type": this.type, "rating-count": this.count }), this.selectedRating > 0 && this.parsedMappings[this.selectedRating - 1] && (h("span", { key: '16d5b1ab0ab56a5e320a878f8259dc643b533e16', 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"; }
|
|
@@ -42,6 +42,12 @@ export class EdsFooter {
|
|
|
42
42
|
}
|
|
43
43
|
const shouldShow = window.scrollY > 100 && document.body.scrollHeight > window.innerHeight;
|
|
44
44
|
this.backBtn.style.opacity = shouldShow ? '1' : '0';
|
|
45
|
+
this.backBtn.style.pointerEvents = shouldShow ? 'auto' : 'none';
|
|
46
|
+
const btn = this.backBtn.querySelector('eds-button');
|
|
47
|
+
if (btn) {
|
|
48
|
+
btn.removeAttribute('aria-hidden');
|
|
49
|
+
btn.setAttribute('tabindex', shouldShow ? '0' : '-1');
|
|
50
|
+
}
|
|
45
51
|
}
|
|
46
52
|
toggleCookiesConsent() {
|
|
47
53
|
this.cookies.emit('toggle');
|
|
@@ -50,13 +56,11 @@ export class EdsFooter {
|
|
|
50
56
|
* Renders the footer component with optional sections and elements,
|
|
51
57
|
* including social network links, a Horizon Europe funding acknowledgment, and
|
|
52
58
|
* legal links such as "Cookies Preferences" and copyright information.
|
|
53
|
-
*
|
|
54
|
-
* @returns {JSX.Element} The rendered JSX for the footer component.
|
|
55
59
|
*/
|
|
56
60
|
render() {
|
|
57
|
-
return (h("footer", { key: '
|
|
61
|
+
return (h("footer", { key: '844c47f7e5119a577b03d1bf4bb598e891d7f8c7' }, 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: '0a6f03f13cf5513758740ce6f3d3357cac413826', class: `border-softest ${this.social ? 'border-t-2' : ''} pb-28 pt-20 md:pt-28` }, h("div", { key: '1751d052c529e46de47bbe09ef24621b546b1514', class: "container flex items-center gap-20 lg:flex-nowrap" }, h("div", { key: '86b3c5fac384d1ae0f310d43f9a4492ce96866cf', class: "flex items-center gap-x-12" }, h("a", { key: '7fed16c8a7bb7c15ea59438427987303a5a0ae14', 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: '491b2691d011359df1dc24a2408347574a893ca8', width: 54, height: 41, src: "https://www.ebrains.eu/flags/4x3/eu.svg", alt: "European Union Flag" }))), h("div", { key: '50e5d853ee86066c932dd5fa3f04706d21b0d3aa' }, h("div", { key: 'ba36e26f29e1aee7d7da4cd91235419b18ab813a', class: "f-ui-04 text-light" }, h("p", { key: '120302d9cdad309da91bcd9f82e81f707f5f5b48' }, this.fundedBy), h("div", { key: '222a27fb7f085750312654c11d03793f02e29676', class: "mt-4 flex flex-wrap gap-12 lg:flex-nowrap inline-block" }, h("span", { key: '56db11dc4295c21c5e9d54cbc5568c5889f2dbb9', class: "effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline mr-4" }, "\u00A9 ", this.rightsReserved), this.enableCookiesSettings ? (h("eds-link", { label: this.cookiesPreferences, intent: "underline", "extra-class": "f-ui-04", onClick: () => {
|
|
58
62
|
this.toggleCookiesConsent();
|
|
59
|
-
} })) : null))), h("div", { key: '
|
|
63
|
+
} })) : null))), h("div", { key: '221f15b6c92e91835dcc2efa3d2247b055690a22', 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)))));
|
|
60
64
|
}
|
|
61
65
|
static get is() { return "eds-footer"; }
|
|
62
66
|
static get encapsulation() { return "shadow"; }
|
|
@@ -188,8 +192,11 @@ export class EdsFooter {
|
|
|
188
192
|
"required": false,
|
|
189
193
|
"optional": false,
|
|
190
194
|
"docs": {
|
|
191
|
-
"tags": [
|
|
192
|
-
|
|
195
|
+
"tags": [{
|
|
196
|
+
"name": "type",
|
|
197
|
+
"text": "{string}"
|
|
198
|
+
}],
|
|
199
|
+
"text": "Controls the display of the \"Cookies preferences\" link."
|
|
193
200
|
},
|
|
194
201
|
"attribute": "enable-cookies-settings",
|
|
195
202
|
"reflect": false,
|
|
@@ -25,6 +25,14 @@
|
|
|
25
25
|
letter-spacing: var(--f-body-01-letterSpacing);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
+
.f-body-02 {
|
|
29
|
+
font-family: var(--f-body-02-fontFamily);
|
|
30
|
+
font-weight: var(--f-body-02-fontWeight);
|
|
31
|
+
font-size: var(--f-body-02-fontSize);
|
|
32
|
+
line-height: var(--f-body-02-lineHeight);
|
|
33
|
+
letter-spacing: var(--f-body-02-letterSpacing);
|
|
34
|
+
}
|
|
35
|
+
|
|
28
36
|
.f-body-01 b, .f-body-01 strong {
|
|
29
37
|
font-weight: var(--f-body-01---bold-weight, bold);
|
|
30
38
|
}
|
|
@@ -41,6 +49,18 @@
|
|
|
41
49
|
letter-spacing: var(--f-heading-04-letterSpacing);
|
|
42
50
|
}
|
|
43
51
|
|
|
52
|
+
.f-heading-05 {
|
|
53
|
+
font-family: var(--f-heading-05-fontFamily);
|
|
54
|
+
font-weight: var(--f-heading-05-fontWeight);
|
|
55
|
+
font-size: var(--f-heading-05-fontSize);
|
|
56
|
+
line-height: var(--f-heading-05-lineHeight);
|
|
57
|
+
letter-spacing: var(--f-heading-05-letterSpacing);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.text-light {
|
|
61
|
+
color: var(--grey-700);
|
|
62
|
+
}
|
|
63
|
+
|
|
44
64
|
.rounded-sm {
|
|
45
65
|
border-radius: 8px;
|
|
46
66
|
}
|
|
@@ -96,4 +116,56 @@
|
|
|
96
116
|
.border-group {
|
|
97
117
|
border-left: 1px solid var(--soft-color, #ddd);
|
|
98
118
|
padding-left: 1rem;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.bg-inverse {
|
|
122
|
+
background-color: var(--white);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.effect-shadow {
|
|
126
|
+
transition-property: box-shadow;
|
|
127
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
128
|
+
transition-duration: 300ms;
|
|
129
|
+
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.shadow-hover {
|
|
133
|
+
--tw-shadow: 0px 0px 16px rgba(0, 0, 0, 0.2);
|
|
134
|
+
--tw-shadow-colored: 0px 0px 16px var(--tw-shadow-color);
|
|
135
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.cursor-pointer {
|
|
139
|
+
cursor: pointer;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.effect-focus-within {
|
|
143
|
+
outline-width: 3px;
|
|
144
|
+
outline-offset: 2px;
|
|
145
|
+
outline-color: var(--green-500);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.effect-focus-within:focus-within {
|
|
149
|
+
outline-style: solid;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.relative {
|
|
153
|
+
position: relative;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.rounded-lg {
|
|
157
|
+
border-radius: 16px;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.px-16 {
|
|
161
|
+
padding-left: 1rem;
|
|
162
|
+
padding-right: 1rem;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.pb-16 {
|
|
166
|
+
padding-bottom: 1rem;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.p-32 {
|
|
170
|
+
padding: 2rem;
|
|
99
171
|
}
|
|
@@ -19,13 +19,17 @@ import { getFormInitData } from "../../utils/eds-form/formUtils";
|
|
|
19
19
|
export class EdsForm {
|
|
20
20
|
constructor() {
|
|
21
21
|
this.name = 'eds-form';
|
|
22
|
+
this.title = undefined;
|
|
23
|
+
this.description = undefined;
|
|
22
24
|
this.setFormUrl = true;
|
|
23
25
|
this.formBtn = true;
|
|
24
26
|
this.formBtnLabel = 'Submit';
|
|
27
|
+
this.buttonIntent = 'primary';
|
|
25
28
|
this.errorMessage = 'Some fields in your form are incorrect.';
|
|
26
29
|
this.fields = [];
|
|
27
30
|
this.groups = [];
|
|
28
31
|
this.initData = {};
|
|
32
|
+
this.formStyle = 'default';
|
|
29
33
|
this.values = {};
|
|
30
34
|
this.isSubmitting = false;
|
|
31
35
|
this.hasError = false;
|
|
@@ -249,6 +253,25 @@ export class EdsForm {
|
|
|
249
253
|
message: `${field.name} updated`
|
|
250
254
|
});
|
|
251
255
|
}
|
|
256
|
+
handleNPS(e, field) {
|
|
257
|
+
const score = e.detail;
|
|
258
|
+
this.values = Object.assign(Object.assign({}, this.values), { [field.name]: score });
|
|
259
|
+
const newErrors = Object.assign({}, this.errors);
|
|
260
|
+
if (field.required && score === null) {
|
|
261
|
+
newErrors[field.name] = ['This field is required'];
|
|
262
|
+
}
|
|
263
|
+
else {
|
|
264
|
+
delete newErrors[field.name];
|
|
265
|
+
}
|
|
266
|
+
this.errors = newErrors;
|
|
267
|
+
this.hasError = Object.keys(newErrors).length > 0;
|
|
268
|
+
this.form.emit({
|
|
269
|
+
event: 'change',
|
|
270
|
+
field: field.name,
|
|
271
|
+
value: score,
|
|
272
|
+
message: `${field.name} updated`
|
|
273
|
+
});
|
|
274
|
+
}
|
|
252
275
|
handleSubmit() {
|
|
253
276
|
var _a, _b;
|
|
254
277
|
if (this.isSubmitting) {
|
|
@@ -304,10 +327,15 @@ export class EdsForm {
|
|
|
304
327
|
}
|
|
305
328
|
get groupedFields() {
|
|
306
329
|
const map = {};
|
|
307
|
-
// initialize buckets for each group
|
|
330
|
+
// initialize buckets for each declared group
|
|
308
331
|
this.parsedGroups.forEach((g) => (map[g.id] = []));
|
|
332
|
+
// always keep an ungrouped bucket
|
|
309
333
|
map['__ungrouped'] = [];
|
|
334
|
+
// only bucket fields that are currently visible
|
|
310
335
|
this.parsedFields.forEach((f) => {
|
|
336
|
+
if (!this.isFieldVisible(f)) {
|
|
337
|
+
return;
|
|
338
|
+
}
|
|
311
339
|
const gid = f.groupId || '__ungrouped';
|
|
312
340
|
if (!map[gid]) {
|
|
313
341
|
map[gid] = [];
|
|
@@ -317,7 +345,7 @@ export class EdsForm {
|
|
|
317
345
|
return map;
|
|
318
346
|
}
|
|
319
347
|
renderField(field) {
|
|
320
|
-
var _a, _b;
|
|
348
|
+
var _a, _b, _c;
|
|
321
349
|
if (!this.isFieldVisible(field)) {
|
|
322
350
|
return null;
|
|
323
351
|
}
|
|
@@ -327,7 +355,10 @@ export class EdsForm {
|
|
|
327
355
|
const val = this.values[field.name] || 0;
|
|
328
356
|
return (h("div", { class: "form-group rating-field", key: field.name }, h("div", { class: "flex justify-between" }, field && (h("eds-input-label", { name: `rating-${field.name}`, label: field.label, disabled: field.disabled, required: field.required }))), h("eds-rating", { id: `rating-${field.name}`, "rating-type": field.ratingType, "rating-count": field.ratingCount, "selected-rating": val, onRating: (e) => this.handleRating(e, field) }), h("div", { class: "mt-6" }, h("eds-input-footer", { id: `${field.name}-footer`, name: field.name, message: field.message, "error-message": (_a = this.errors[field.name]) === null || _a === void 0 ? void 0 : _a.join('<br/>'), error: !!this.errors[field.name], link: field.link }))));
|
|
329
357
|
}
|
|
330
|
-
|
|
358
|
+
else if (field.type === 'nps') {
|
|
359
|
+
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] }))));
|
|
360
|
+
}
|
|
361
|
+
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) }));
|
|
331
362
|
}
|
|
332
363
|
async getData() {
|
|
333
364
|
return this.makeFormData();
|
|
@@ -336,9 +367,13 @@ export class EdsForm {
|
|
|
336
367
|
const hiddenFields = this.parsedFields.filter((field) => field.type === 'hidden');
|
|
337
368
|
//const otherFields = this.parsedFields.filter((field) => field.type !== 'hidden');
|
|
338
369
|
const buckets = this.groupedFields;
|
|
339
|
-
|
|
370
|
+
// build the shadow/bg classes if formStyle="shadow"
|
|
371
|
+
const styleClasses = this.formStyle === 'shadow'
|
|
372
|
+
? 'bg-inverse effect-shadow shadow-hover border-softer relative rounded-lg border-2 p-32'
|
|
373
|
+
: '';
|
|
374
|
+
return (h("form", { key: 'ecf49eb81f18b444d059d3bdea4600f4ae594ea9', class: styleClasses, ref: (el) => (this.formEl = el), autocomplete: "on", onSubmit: this.handleSubmit }, h("div", { key: '65137fb770f274431c7906326cdf49e0fee73b18', class: "flex flex-col gap-y-24" }, this.title && (h("span", { key: 'e4c5b4a7883c4569a657cc234f18f995480ec8df', role: "heading", class: "f-heading-04" }, this.title)), this.description && h("span", { key: '65528e4600127f1cff4ce0e5be6f8a6bddc4c864', class: "f-body-02 text-light" }, this.description), h("slot", { key: '6230035a050386763723c2b60bd5e81b912762d7' })), hiddenFields.map((field, index) => (h("eds-input", { key: index, type: "hidden", name: field.name, value: field.value }))), this.parsedGroups
|
|
340
375
|
.filter((g) => Array.isArray(buckets[g.id]) && buckets[g.id].length > 0)
|
|
341
|
-
.map((g) => (h("div", { class: "container mt-
|
|
376
|
+
.map((g) => (h("div", { class: "container 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: '8116d30248f8461a842365470da9915200531028', class: "flex flex-col mt-32 gap-y-24" }, buckets['__ungrouped'].map((f) => this.renderField(f))), this.formBtn && (h("div", { key: 'e2f1d3ca6a9f6a3b44c45e576150505c49e41dd1', class: "mt-32" }, h("eds-button", { key: 'e312bf08b5db526c00497fafaa9476a225919aaf', intent: this.buttonIntent, label: this.formBtnLabel, disabled: this.isSubmitting, loading: this.isSubmitting, onClick: () => this.handleSubmit() })))));
|
|
342
377
|
}
|
|
343
378
|
static get is() { return "eds-form"; }
|
|
344
379
|
static get encapsulation() { return "shadow"; }
|
|
@@ -372,6 +407,40 @@ export class EdsForm {
|
|
|
372
407
|
"reflect": false,
|
|
373
408
|
"defaultValue": "'eds-form'"
|
|
374
409
|
},
|
|
410
|
+
"title": {
|
|
411
|
+
"type": "string",
|
|
412
|
+
"mutable": false,
|
|
413
|
+
"complexType": {
|
|
414
|
+
"original": "string",
|
|
415
|
+
"resolved": "string",
|
|
416
|
+
"references": {}
|
|
417
|
+
},
|
|
418
|
+
"required": false,
|
|
419
|
+
"optional": true,
|
|
420
|
+
"docs": {
|
|
421
|
+
"tags": [],
|
|
422
|
+
"text": "The title displayed above the form."
|
|
423
|
+
},
|
|
424
|
+
"attribute": "title",
|
|
425
|
+
"reflect": false
|
|
426
|
+
},
|
|
427
|
+
"description": {
|
|
428
|
+
"type": "string",
|
|
429
|
+
"mutable": false,
|
|
430
|
+
"complexType": {
|
|
431
|
+
"original": "string",
|
|
432
|
+
"resolved": "string",
|
|
433
|
+
"references": {}
|
|
434
|
+
},
|
|
435
|
+
"required": false,
|
|
436
|
+
"optional": true,
|
|
437
|
+
"docs": {
|
|
438
|
+
"tags": [],
|
|
439
|
+
"text": "The description displayed below the title."
|
|
440
|
+
},
|
|
441
|
+
"attribute": "description",
|
|
442
|
+
"reflect": false
|
|
443
|
+
},
|
|
375
444
|
"setFormUrl": {
|
|
376
445
|
"type": "boolean",
|
|
377
446
|
"mutable": false,
|
|
@@ -426,6 +495,24 @@ export class EdsForm {
|
|
|
426
495
|
"reflect": false,
|
|
427
496
|
"defaultValue": "'Submit'"
|
|
428
497
|
},
|
|
498
|
+
"buttonIntent": {
|
|
499
|
+
"type": "string",
|
|
500
|
+
"mutable": false,
|
|
501
|
+
"complexType": {
|
|
502
|
+
"original": "'primary' | 'secondary' | 'tertiary' | 'ghost'",
|
|
503
|
+
"resolved": "\"ghost\" | \"primary\" | \"secondary\" | \"tertiary\"",
|
|
504
|
+
"references": {}
|
|
505
|
+
},
|
|
506
|
+
"required": false,
|
|
507
|
+
"optional": true,
|
|
508
|
+
"docs": {
|
|
509
|
+
"tags": [],
|
|
510
|
+
"text": "Variant/style intent for the submit button (e.g., primary, secondary, tertiary, ghost)."
|
|
511
|
+
},
|
|
512
|
+
"attribute": "button-intent",
|
|
513
|
+
"reflect": false,
|
|
514
|
+
"defaultValue": "'primary'"
|
|
515
|
+
},
|
|
429
516
|
"errorMessage": {
|
|
430
517
|
"type": "string",
|
|
431
518
|
"mutable": false,
|
|
@@ -495,6 +582,24 @@ export class EdsForm {
|
|
|
495
582
|
"text": "The init data the form will attempt to populate in the provided fields."
|
|
496
583
|
},
|
|
497
584
|
"defaultValue": "{}"
|
|
585
|
+
},
|
|
586
|
+
"formStyle": {
|
|
587
|
+
"type": "string",
|
|
588
|
+
"mutable": false,
|
|
589
|
+
"complexType": {
|
|
590
|
+
"original": "'default' | 'shadow'",
|
|
591
|
+
"resolved": "\"default\" | \"shadow\"",
|
|
592
|
+
"references": {}
|
|
593
|
+
},
|
|
594
|
+
"required": false,
|
|
595
|
+
"optional": false,
|
|
596
|
+
"docs": {
|
|
597
|
+
"tags": [],
|
|
598
|
+
"text": "Choose between default layout or an always-shadow style.\nWhen \"shadow\", the form gets the same effect-shadow + shadow-hover classes"
|
|
599
|
+
},
|
|
600
|
+
"attribute": "form-style",
|
|
601
|
+
"reflect": false,
|
|
602
|
+
"defaultValue": "'default'"
|
|
498
603
|
}
|
|
499
604
|
};
|
|
500
605
|
}
|
|
@@ -4,6 +4,8 @@ export default {
|
|
|
4
4
|
component: 'eds-form',
|
|
5
5
|
argTypes: {
|
|
6
6
|
name: { control: 'text', description: 'Form name', defaultValue: 'extended-form' },
|
|
7
|
+
title: { control: 'text', description: 'Form title displayed above the form' },
|
|
8
|
+
description: { control: 'text', description: 'Form description displayed below the title' },
|
|
7
9
|
fields: {
|
|
8
10
|
control: 'object',
|
|
9
11
|
description: 'Form fields as JSON array'
|
|
@@ -21,23 +23,38 @@ export default {
|
|
|
21
23
|
control: 'text',
|
|
22
24
|
description: 'Form button Label',
|
|
23
25
|
defaultValue: 'Validate'
|
|
26
|
+
},
|
|
27
|
+
buttonIntent: {
|
|
28
|
+
control: { type: 'select' },
|
|
29
|
+
options: ['primary', 'secondary', 'tertiary', 'ghost'],
|
|
30
|
+
description: 'Variant/style intent for the submit button'
|
|
31
|
+
},
|
|
32
|
+
formStyle: {
|
|
33
|
+
control: 'select',
|
|
34
|
+
options: ['default', 'shadow']
|
|
24
35
|
}
|
|
25
36
|
}
|
|
26
37
|
};
|
|
27
38
|
const Template = (args) => html `
|
|
28
39
|
<eds-form
|
|
29
40
|
name="${args.name}"
|
|
41
|
+
title="${args.title}"
|
|
42
|
+
description="${args.description}"
|
|
30
43
|
.fields=${args.fields}
|
|
31
44
|
.groups=${args.groups}
|
|
32
45
|
.initData=${args.initData}
|
|
33
46
|
.setFormUrl=${args.setFormUrl}
|
|
34
47
|
form-btn="${args.formBtn}"
|
|
35
48
|
form-btn-label="${args.formBtnLabel}"
|
|
49
|
+
button-intent="${args.buttonIntent}"
|
|
50
|
+
form-style="${args.formStyle}"
|
|
36
51
|
></eds-form>
|
|
37
52
|
`;
|
|
38
53
|
export const Default = Template.bind({});
|
|
39
54
|
Default.args = {
|
|
40
55
|
name: 'extended-form',
|
|
56
|
+
title: 'User Details',
|
|
57
|
+
description: 'Please fill out the form below.',
|
|
41
58
|
fields: [
|
|
42
59
|
{ name: 'username', label: 'Username', type: 'text', required: true, maxlength: 10, placeholder: 'Username' },
|
|
43
60
|
{ name: 'email', label: 'Email', type: 'email', required: true },
|
|
@@ -80,7 +97,7 @@ Default.args = {
|
|
|
80
97
|
]
|
|
81
98
|
},
|
|
82
99
|
{ name: 'newsletter', label: 'Newsletter', type: 'checkbox', value: 'subscribe', required: true },
|
|
83
|
-
{ name: 'range', label: 'Range bar', type: 'range', min: '
|
|
100
|
+
{ name: 'range', label: 'Range bar', type: 'range', min: '1', max: '10', step: '1', required: true },
|
|
84
101
|
{
|
|
85
102
|
name: 'enable-me',
|
|
86
103
|
label: "I'm disabled - enable me",
|
|
@@ -91,12 +108,17 @@ Default.args = {
|
|
|
91
108
|
disabled: true
|
|
92
109
|
}
|
|
93
110
|
],
|
|
111
|
+
setFormUrl: true,
|
|
94
112
|
formBtn: true,
|
|
95
|
-
formBtnLabel: 'Validate'
|
|
113
|
+
formBtnLabel: 'Validate',
|
|
114
|
+
buttonIntent: 'primary',
|
|
115
|
+
formStyle: 'default'
|
|
96
116
|
};
|
|
97
117
|
export const WithGroups = Template.bind({});
|
|
98
118
|
WithGroups.args = {
|
|
99
119
|
name: 'grouped-form',
|
|
120
|
+
title: 'Grouped Form',
|
|
121
|
+
description: 'Form with grouped fields',
|
|
100
122
|
fields: [
|
|
101
123
|
{ name: 'firstName', label: 'First Name', type: 'text', required: true, groupId: 'personal' },
|
|
102
124
|
{ name: 'lastName', label: 'Last Name', type: 'text', required: true, groupId: 'personal' },
|
|
@@ -106,12 +128,17 @@ WithGroups.args = {
|
|
|
106
128
|
{ id: 'personal', title: 'Personal Info' },
|
|
107
129
|
{ id: 'comments', title: 'Comments' }
|
|
108
130
|
],
|
|
131
|
+
setFormUrl: true,
|
|
109
132
|
formBtn: true,
|
|
110
|
-
formBtnLabel: 'Submit'
|
|
133
|
+
formBtnLabel: 'Submit',
|
|
134
|
+
buttonIntent: 'secondary',
|
|
135
|
+
formStyle: 'default'
|
|
111
136
|
};
|
|
112
137
|
export const WithInitData = Template.bind({});
|
|
113
138
|
WithInitData.args = {
|
|
114
139
|
name: 'prefill-form',
|
|
140
|
+
title: 'Prefilled Form',
|
|
141
|
+
description: 'Form with initial values',
|
|
115
142
|
fields: [
|
|
116
143
|
{ name: 'username', label: 'Username', type: 'text', required: true },
|
|
117
144
|
{ name: 'email', label: 'Email', type: 'email', required: true }
|
|
@@ -123,5 +150,7 @@ WithInitData.args = {
|
|
|
123
150
|
},
|
|
124
151
|
setFormUrl: false,
|
|
125
152
|
formBtn: true,
|
|
126
|
-
formBtnLabel: 'Save'
|
|
153
|
+
formBtnLabel: 'Save',
|
|
154
|
+
buttonIntent: 'ghost',
|
|
155
|
+
formStyle: 'default'
|
|
127
156
|
};
|
|
@@ -84,7 +84,7 @@ export class EdsFrame {
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
render() {
|
|
87
|
-
return (h("div", { key: '
|
|
87
|
+
return (h("div", { key: '665bc189cd905a55a9c6ac31eb2ec82853552f34', class: this.articleClasses() }, h("div", { key: '6ad6183a94cd0cb26d3e5641c5e584e8afc652d7', class: "effect-height flex items-center justify-between py-8 px-12" }, h("span", { key: '85bd9a7a4475ca3664cadf17ef1e729643c758f6', 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: '4799d59442cabb05f3bfea26a02db22a429266e6', 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"; }
|