@ebrains/components 2.4.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/color-primary-palette_6.cjs.entry.js +14 -14
- package/dist/cjs/components-section.cjs.entry.js +1 -1
- package/dist/cjs/components.cjs.js +1 -1
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/docs-palettes.cjs.entry.js +1 -1
- package/dist/cjs/docs-tokens.cjs.entry.js +1 -1
- package/dist/cjs/eds-accordion_52.cjs.entry.js +10419 -0
- package/dist/cjs/eds-app-root.cjs.entry.js +1 -1
- package/dist/cjs/eds-cookies-preference.cjs.entry.js +2 -2
- package/dist/cjs/eds-feedback.cjs.entry.js +1 -1
- package/dist/cjs/eds-frame.cjs.entry.js +3 -3
- package/dist/cjs/eds-gauge.cjs.entry.js +5 -6
- package/dist/cjs/eds-gitlab-contributors.cjs.entry.js +248 -0
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-eu.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-facebook.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-linkedin.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-mastodon.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
- package/dist/cjs/eds-modal.cjs.entry.js +84 -13
- package/dist/cjs/eds-pie.cjs.entry.js +20 -20
- package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
- package/dist/cjs/eds-splash-screen.cjs.entry.js +2 -2
- package/dist/cjs/eds-timeline.cjs.entry.js +2 -2
- package/dist/cjs/eds-toast-manager.cjs.entry.js +1 -1
- package/dist/cjs/eu-271d44ae.js +9 -0
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/index-50bc1aa4.js +4 -184
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/logo-space.cjs.entry.js +1 -2
- package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +2 -2
- package/dist/cjs/logo-variations-tabs.cjs.entry.js +1 -1
- package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
- package/dist/cjs/negative-c61d13b5.js +106 -0
- package/dist/cjs/positive-fdcd161e.js +67 -0
- package/dist/cjs/svg-repository.cjs.entry.js +6 -263
- package/dist/cjs/token-list_3.cjs.entry.js +91 -49
- package/dist/cjs/token-ratios.cjs.entry.js +1 -1
- package/dist/cjs/token-spacing.cjs.entry.js +1 -1
- package/dist/cjs/token-typography.cjs.entry.js +73 -42
- package/dist/collection/collection-manifest.json +9 -40
- package/dist/collection/components/eds-accordion/eds-accordion.css +138 -194
- package/dist/collection/components/eds-accordion/eds-accordion.js +68 -81
- package/dist/collection/components/eds-accordion/eds-accordion.stories.js +90 -41
- package/dist/collection/components/eds-alert/eds-alert.css +122 -95
- package/dist/collection/components/eds-alert/eds-alert.js +89 -104
- package/dist/collection/components/eds-alert/eds-alert.stories.js +180 -30
- package/dist/collection/components/eds-avatar/eds-avatar.css +6 -6
- package/dist/collection/components/eds-avatar/eds-avatar.js +1 -1
- package/dist/collection/components/eds-block-break/eds-block-break.css +1 -1
- package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
- package/dist/collection/components/eds-breadcrump/eds-breadcrumb.stories.js +1 -1
- package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +5 -5
- package/dist/collection/components/eds-button/eds-button.css +352 -90
- package/dist/collection/components/eds-button/eds-button.js +114 -43
- package/dist/collection/components/eds-button/eds-button.stories.js +3 -3
- package/dist/collection/components/eds-cards/eds-card-app/eds-card-app.css +116 -0
- package/dist/collection/components/eds-cards/eds-card-app/eds-card-app.js +187 -0
- package/dist/collection/components/eds-cards/eds-card-app/eds-card-app.stories.js +52 -0
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.css +13 -6
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +20 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.css +22 -6
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +51 -78
- package/dist/collection/components/eds-cards/eds-card-cta/eds-card-cta.css +138 -0
- package/dist/collection/components/eds-cards/eds-card-cta/eds-card-cta.js +217 -0
- package/dist/collection/components/eds-cards/eds-card-cta/eds-card-cta.stories.js +77 -0
- package/dist/collection/components/eds-cards/eds-card-feature/eds-card-feature.css +108 -0
- package/dist/collection/components/eds-cards/eds-card-feature/eds-card-feature.js +156 -0
- package/dist/collection/components/eds-cards/eds-card-feature/eds-card-feature.stories.js +55 -0
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.css +105 -4
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +70 -150
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.stories.js +72 -112
- package/dist/collection/components/eds-cards/eds-card-hero/eds-card-hero.css +127 -0
- package/dist/collection/components/eds-cards/eds-card-hero/eds-card-hero.js +181 -0
- package/dist/collection/components/eds-cards/eds-card-hero/eds-card-hero.stories.js +62 -0
- package/dist/collection/components/eds-cards/eds-card-stat/eds-card-stat.css +128 -0
- package/dist/collection/components/eds-cards/eds-card-stat/eds-card-stat.js +149 -0
- package/dist/collection/components/eds-cards/eds-card-stat/eds-card-stat.stories.js +50 -0
- package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.js +5 -6
- package/dist/collection/components/eds-charts/eds-pie/eds-pie.js +20 -20
- package/dist/collection/components/eds-code-block/eds-code-block.css +84 -120
- package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
- package/dist/collection/components/eds-dropdown/eds-dropdown.js +22 -41
- package/dist/collection/components/eds-feedback/eds-feedback.js +1 -1
- package/dist/collection/components/eds-feedback/eds-feedback.stories.js +5 -1
- package/dist/collection/components/eds-footer/eds-footer.css +55 -3
- package/dist/collection/components/eds-footer/eds-footer.js +28 -2
- package/dist/collection/components/eds-form/eds-form.css +100 -4
- package/dist/collection/components/eds-form/eds-form.js +172 -46
- package/dist/collection/components/eds-form/eds-form.stories.js +3 -11
- package/dist/collection/components/eds-frame/eds-frame.css +34 -22
- package/dist/collection/components/eds-frame/eds-frame.js +5 -5
- package/dist/collection/components/eds-frame/eds-frame.stories.js +1 -1
- package/dist/collection/components/eds-fullscreen-menu/eds-fullscreen-menu.css +9 -5
- package/dist/collection/components/eds-fullscreen-menu/eds-fullscreen-menu.js +4 -1
- package/dist/collection/components/eds-header/eds-header.css +20 -4
- package/dist/collection/components/eds-header/eds-header.js +17 -15
- package/dist/collection/components/eds-header/eds-header.stories.js +0 -2
- package/dist/collection/components/eds-icon-wrapper/eds-icon-wrapper.css +32 -0
- package/dist/collection/components/eds-icon-wrapper/eds-icon-wrapper.js +43 -61
- package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +1 -1
- package/dist/collection/components/eds-img/eds-img.js +2 -2
- package/dist/collection/components/eds-input-dropzone/eds-input-dropzone.css +195 -0
- package/dist/collection/components/eds-input-dropzone/eds-input-dropzone.js +300 -0
- package/dist/collection/components/eds-input-dropzone/eds-input-dropzone.stories.js +34 -0
- package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +11 -5
- package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.css +16 -1
- 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 +5 -3
- package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +2 -2
- package/dist/collection/components/eds-input-field/eds-input-field.css +69 -69
- package/dist/collection/components/eds-input-field/eds-input-field.js +31 -6
- package/dist/collection/components/eds-input-file/eds-input-file.css +140 -0
- package/dist/collection/components/eds-input-file/eds-input-file.js +249 -0
- package/dist/collection/components/eds-link/eds-link.css +197 -22
- package/dist/collection/components/eds-link/eds-link.js +110 -38
- package/dist/collection/components/eds-link/eds-link.stories.js +3 -3
- package/dist/collection/components/eds-logo/eds-logo.css +3 -1
- package/dist/collection/components/eds-logo/eds-logo.js +12 -35
- package/dist/collection/components/eds-logo/eds-logo.stories.js +12 -29
- package/dist/collection/components/eds-modal/eds-modal.css +115 -19
- package/dist/collection/components/eds-modal/eds-modal.js +109 -17
- package/dist/collection/components/eds-nps/eds-nps.css +10 -1
- package/dist/collection/components/eds-nps/eds-nps.js +48 -22
- package/dist/collection/components/eds-pagination/eds-pagination.js +2 -2
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.css +83 -9
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +55 -10
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.stories.js +83 -10
- package/dist/collection/components/eds-rating/eds-rating.css +1 -1
- package/dist/collection/components/eds-rating/eds-rating.js +54 -12
- package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
- package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
- package/dist/collection/components/eds-sidebar/eds-sidebar.css +9 -4
- package/dist/collection/components/eds-sidebar/eds-sidebar.js +4 -4
- package/dist/collection/components/eds-social-networks/eds-social-networks.css +12 -0
- package/dist/collection/components/eds-social-networks/eds-social-networks.js +26 -1
- package/dist/collection/components/eds-spinner/eds-spinner.css +6 -6
- package/dist/collection/components/eds-spinner/eds-spinner.js +5 -5
- package/dist/collection/components/eds-splash-screen/eds-splash-screen.css +12 -12
- package/dist/collection/components/eds-splash-screen/eds-splash-screen.js +1 -1
- package/dist/collection/components/eds-steps/eds-steps.css +101 -15
- package/dist/collection/components/eds-steps/eds-steps.js +45 -6
- package/dist/collection/components/eds-steps/eds-steps.stories.js +7 -31
- package/dist/collection/components/eds-steps-v2/eds-steps-v2.css +172 -17
- package/dist/collection/components/eds-steps-v2/eds-steps-v2.js +50 -7
- package/dist/collection/components/eds-steps-v2/eds-steps-v2.stories.js +16 -30
- package/dist/collection/components/eds-switch/eds-switch.css +65 -3
- package/dist/collection/components/eds-switch/eds-switch.js +46 -2
- package/dist/collection/components/eds-switch/eds-switch.stories.js +91 -24
- package/dist/collection/components/eds-table/eds-table.css +253 -3
- package/dist/collection/components/eds-table/eds-table.js +123 -40
- package/dist/collection/components/eds-table/eds-table.stories.js +130 -32
- package/dist/collection/components/eds-tabs/eds-tabs.css +68 -358
- package/dist/collection/components/eds-tabs/eds-tabs.js +43 -87
- package/dist/collection/components/eds-tabs/eds-tabs.stories.js +82 -37
- package/dist/collection/components/eds-tag/eds-tag.css +151 -8
- package/dist/collection/components/eds-tag/eds-tag.js +17 -18
- package/dist/collection/components/eds-tag/eds-tag.stories.js +25 -5
- package/dist/collection/components/eds-timeline/eds-timeline.js +2 -2
- package/dist/collection/components/eds-toast/eds-toast.css +70 -10
- package/dist/collection/components/eds-toast/eds-toast.js +9 -7
- package/dist/collection/components/eds-toast/eds-toast.stories.js +25 -1
- package/dist/collection/components/eds-toast-manager/eds-toast-manager.js +1 -1
- package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
- package/dist/collection/components/eds-user/eds-user.js +5 -5
- package/dist/collection/components/eds-user/eds-user.stories.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
- package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
- package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/components-section/components-section.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/docs-tokens/docs-tokens.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +8 -7
- package/dist/collection/eds-docs-ui/docs-palettes/docs-palettes.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -2
- package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations-tabs/logo-variations.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +2 -2
- package/dist/collection/eds-docs-ui/svg-repository/svg-repository.js +1 -1
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +6 -5
- package/dist/collection/shared-ui/eds-gitlab-contributors/eds-gitlab-contributors.css +143 -0
- package/dist/collection/shared-ui/eds-gitlab-contributors/eds-gitlab-contributors.js +440 -0
- package/dist/collection/shared-ui/eds-global-search/eds-global-search.css +99 -24
- package/dist/collection/shared-ui/eds-global-search/eds-global-search.js +124 -5
- package/dist/collection/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.css +8 -0
- package/dist/collection/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.js +370 -0
- package/dist/collection/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.stories.js +87 -0
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.css +4 -0
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +1 -1
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.js +71 -4
- package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
- package/dist/collection/utils/eds-form/formValidators.js +5 -8
- package/dist/collection/utils/eds-form/individualValidator.js +22 -0
- package/dist/collection/utils/icons.js +169 -0
- package/dist/components/components-section.js +1 -1
- package/dist/components/components.css +747 -537
- package/dist/components/components.esm.js +1 -1
- package/dist/components/correct-use-of-colors.js +1 -1
- package/dist/components/docs-palettes.js +1 -1
- package/dist/components/docs-tokens.js +1 -1
- package/dist/components/eds-accordion2.js +19 -51
- package/dist/components/eds-alert2.js +32 -82
- package/dist/components/eds-app-root.js +3 -9
- package/dist/components/eds-avatar2.js +2 -2
- package/dist/components/eds-block-break2.js +2 -2
- package/dist/components/eds-breadcrumb.js +2 -2
- package/dist/components/eds-button2.js +69 -27
- package/dist/components/{eds-icon-bin.d.ts → eds-card-app.d.ts} +4 -4
- package/dist/components/eds-card-app.js +82 -0
- package/dist/components/{eds-trl.d.ts → eds-card-cta.d.ts} +4 -4
- package/dist/components/eds-card-cta.js +95 -0
- package/dist/components/eds-card-desc2.js +5 -3
- package/dist/components/{eds-card-project.d.ts → eds-card-feature.d.ts} +4 -4
- package/dist/components/eds-card-feature.js +64 -0
- package/dist/components/eds-card-generic2.js +46 -55
- package/dist/components/{eds-icon-edit.d.ts → eds-card-hero.d.ts} +4 -4
- package/dist/components/eds-card-hero.js +75 -0
- package/dist/components/{eds-icon-copy.d.ts → eds-card-stat.d.ts} +4 -4
- package/dist/components/eds-card-stat.js +67 -0
- package/dist/components/eds-card-title2.js +28 -39
- package/dist/components/eds-code-block2.js +2 -2
- package/dist/components/eds-cookies-preference.js +2 -2
- package/dist/components/eds-dropdown2.js +5 -8
- package/dist/components/eds-feedback.js +1 -1
- package/dist/components/eds-footer2.js +13 -13
- package/dist/components/eds-form.js +195 -66
- package/dist/components/eds-frame.js +3 -3
- package/dist/components/eds-fullscreen-menu.js +10 -16
- package/dist/components/eds-gauge.js +5 -6
- package/dist/components/eds-gitlab-contributors.d.ts +11 -0
- package/dist/components/eds-gitlab-contributors.js +317 -0
- package/dist/components/eds-global-search.js +83 -26
- package/dist/components/eds-header.js +15 -13
- package/dist/components/eds-icon-bluesky.js +1 -1
- package/dist/components/eds-icon-eu.js +1 -1
- package/dist/components/eds-icon-facebook.js +1 -1
- package/dist/components/eds-icon-gitlab.js +1 -1
- package/dist/components/eds-icon-linkedin.js +1 -1
- package/dist/components/eds-icon-mastodon.js +1 -1
- package/dist/components/eds-icon-twitter.js +1 -1
- package/dist/components/eds-icon-wrapper2.js +2435 -32
- package/dist/components/eds-icon-youtube.js +1 -1
- package/dist/components/eds-img2.js +2 -2
- package/dist/components/{eds-icon-chevron-up.d.ts → eds-input-dropzone.d.ts} +4 -4
- package/dist/components/eds-input-dropzone.js +6 -0
- package/dist/components/eds-input-dropzone2.js +133 -0
- package/dist/components/eds-input-field2.js +39 -8
- package/dist/components/{eds-icon-close.d.ts → eds-input-file.d.ts} +4 -4
- package/dist/components/eds-input-file.js +6 -0
- package/dist/components/eds-input-file2.js +100 -0
- package/dist/components/eds-input-footer2.js +2 -2
- package/dist/components/eds-input-label2.js +1 -1
- package/dist/components/eds-input-range2.js +5 -3
- 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-kg-web-services-select.d.ts +11 -0
- package/dist/components/eds-kg-web-services-select.js +6 -0
- package/dist/components/eds-kg-web-services-select2.js +192 -0
- package/dist/components/eds-link2.js +82 -33
- package/dist/components/eds-logo2.js +9 -33
- package/dist/components/eds-matomo-notice2.js +2 -2
- package/dist/components/eds-modal.js +85 -13
- package/dist/components/eds-nps2.js +30 -22
- package/dist/components/eds-pagination2.js +2 -2
- package/dist/components/eds-pie.js +20 -20
- package/dist/components/eds-progress-bar.js +80 -1
- package/dist/components/eds-rating2.js +28 -10
- package/dist/components/eds-section-core2.js +1 -1
- package/dist/components/eds-section-heading2.js +2 -2
- package/dist/components/eds-sidebar.js +4 -4
- package/dist/components/eds-social-networks2.js +8 -3
- package/dist/components/eds-spinner2.js +5 -5
- package/dist/components/eds-splash-screen2.js +4 -10
- package/dist/components/eds-steps-v2.js +16 -7
- package/dist/components/eds-steps2.js +11 -6
- package/dist/components/eds-switch.js +1 -82
- package/dist/components/eds-switch2.js +111 -0
- package/dist/components/eds-table2.js +96 -51
- package/dist/components/eds-tabs.js +16 -80
- package/dist/components/eds-tag2.js +14 -15
- package/dist/components/eds-timeline.js +5 -11
- package/dist/components/eds-toast-manager.js +1 -1
- package/dist/components/eds-toast2.js +8 -6
- package/dist/components/eds-tooltip2.js +1 -1
- package/dist/components/eds-user.js +3 -3
- package/dist/components/eu.js +5 -28
- package/dist/components/incorrect-use-of-colors.js +1 -1
- package/dist/components/logo-space.js +47 -24
- package/dist/components/logo-variations-horizontal2.js +1 -1
- package/dist/components/logo-variations-tabs.js +1 -1
- package/dist/components/logo-variations-vertical2.js +1 -1
- package/dist/components/logo-wrong-usage.js +2 -2
- package/dist/components/negative.js +104 -0
- package/dist/components/p-04e9c2d7.entry.js +1 -0
- package/dist/components/{p-5e6f5588.entry.js → p-0d7aee0b.entry.js} +1 -1
- package/dist/components/{p-07d5560c.entry.js → p-0fe10e6c.entry.js} +1 -1
- package/dist/components/p-18e852e1.entry.js +1 -0
- package/dist/components/p-1cc26ddf.entry.js +1 -0
- package/dist/components/p-3ccd6948.entry.js +1 -0
- package/dist/components/p-3d3841d6.entry.js +1 -0
- package/dist/components/p-3f38df99.entry.js +1 -0
- package/dist/components/p-527e71d0.entry.js +1 -0
- package/dist/components/p-55047f7f.entry.js +9 -0
- package/dist/components/{p-721431b8.entry.js → p-64c23098.entry.js} +1 -1
- package/dist/components/p-74b9c9a8.entry.js +1 -0
- package/dist/components/p-773bd015.entry.js +1 -0
- package/dist/components/p-7aa4edef.entry.js +1 -0
- package/dist/components/p-7b93a385.entry.js +1 -0
- package/dist/components/p-7baaf1a1.entry.js +1 -0
- package/dist/components/p-7ce1cf13.js +1 -0
- package/dist/components/p-878f65a6.entry.js +1 -0
- package/dist/components/p-92f6d9c0.entry.js +1 -0
- package/dist/components/{p-28ce55ae.entry.js → p-940a2d42.entry.js} +1 -1
- package/dist/components/p-9eedf771.entry.js +1 -0
- package/dist/components/{p-5ba1c4b4.entry.js → p-a63e14bb.entry.js} +1 -1
- package/dist/components/{p-67c3bedc.entry.js → p-a6dc1f88.entry.js} +1 -1
- package/dist/components/p-b4355cec.entry.js +1 -0
- package/dist/components/{p-21510f7a.entry.js → p-c2fc62f7.entry.js} +1 -1
- package/dist/components/p-c46675c8.entry.js +1 -0
- package/dist/components/p-caa71345.js +1 -0
- package/dist/components/p-d16b5363.entry.js +1 -0
- package/dist/components/{p-1f0819cf.entry.js → p-d1b3aa52.entry.js} +1 -1
- package/dist/components/{p-632bd36e.entry.js → p-d2576747.entry.js} +1 -1
- package/dist/components/p-d2f17fac.entry.js +1 -0
- package/dist/components/p-db5eea95.entry.js +1 -0
- package/dist/components/p-ddb9ce00.entry.js +1 -0
- package/dist/components/p-dfe93385.entry.js +1 -0
- package/dist/components/p-e0ee2386.js +1 -0
- package/dist/components/p-e205c269.entry.js +1 -0
- package/dist/components/p-f364296f.entry.js +1 -0
- package/dist/components/{p-801f67a1.entry.js → p-f55dd314.entry.js} +1 -1
- package/dist/components/p-f88b5f21.entry.js +1 -0
- package/dist/components/positive.js +65 -0
- package/dist/components/primary.js +1 -1
- package/dist/components/primary2.js +1 -1
- package/dist/components/secondary.js +1 -1
- package/dist/components/secondary2.js +7 -7
- package/dist/components/support.js +1 -1
- package/dist/components/support2.js +3 -3
- package/dist/components/svg-repository.js +45 -284
- package/dist/components/token-list2.js +57 -40
- package/dist/components/token-radii2.js +1 -1
- package/dist/components/token-ratios.js +1 -1
- package/dist/components/token-shadows2.js +33 -8
- package/dist/components/token-spacing.js +1 -1
- package/dist/components/token-typography.js +73 -42
- package/dist/esm/color-primary-palette_6.entry.js +14 -14
- package/dist/esm/components-section.entry.js +1 -1
- package/dist/esm/components.js +1 -1
- package/dist/esm/correct-use-of-colors.entry.js +1 -1
- package/dist/esm/docs-palettes.entry.js +1 -1
- package/dist/esm/docs-tokens.entry.js +1 -1
- package/dist/esm/eds-accordion_52.entry.js +10364 -0
- package/dist/esm/eds-app-root.entry.js +1 -1
- package/dist/esm/eds-cookies-preference.entry.js +2 -2
- package/dist/esm/eds-feedback.entry.js +1 -1
- package/dist/esm/eds-frame.entry.js +3 -3
- package/dist/esm/eds-gauge.entry.js +5 -6
- package/dist/esm/eds-gitlab-contributors.entry.js +244 -0
- package/dist/esm/eds-icon-bluesky.entry.js +1 -1
- package/dist/esm/eds-icon-eu.entry.js +2 -2
- package/dist/esm/eds-icon-facebook.entry.js +1 -1
- package/dist/esm/eds-icon-gitlab.entry.js +1 -1
- package/dist/esm/eds-icon-linkedin.entry.js +1 -1
- package/dist/esm/eds-icon-mastodon.entry.js +1 -1
- package/dist/esm/eds-icon-twitter.entry.js +1 -1
- package/dist/esm/eds-icon-youtube.entry.js +1 -1
- package/dist/esm/eds-modal.entry.js +84 -13
- package/dist/esm/eds-pie.entry.js +20 -20
- package/dist/esm/eds-section-core_2.entry.js +3 -3
- package/dist/esm/eds-splash-screen.entry.js +2 -2
- package/dist/esm/eds-timeline.entry.js +2 -2
- package/dist/esm/eds-toast-manager.entry.js +1 -1
- package/dist/esm/eu-8ac3e99c.js +7 -0
- package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
- package/dist/esm/index-870ab08f.js +4 -184
- package/dist/esm/loader.js +1 -1
- package/dist/esm/logo-space.entry.js +1 -2
- package/dist/esm/logo-variations-horizontal_2.entry.js +2 -2
- package/dist/esm/logo-variations-tabs.entry.js +1 -1
- package/dist/esm/logo-wrong-usage.entry.js +2 -2
- package/dist/esm/negative-84eec72e.js +104 -0
- package/dist/esm/positive-cc986d7c.js +65 -0
- package/dist/esm/svg-repository.entry.js +6 -263
- package/dist/esm/token-list_3.entry.js +91 -49
- package/dist/esm/token-ratios.entry.js +1 -1
- package/dist/esm/token-spacing.entry.js +1 -1
- package/dist/esm/token-typography.entry.js +73 -42
- package/dist/hydrate/index.js +4762 -4031
- package/dist/hydrate/index.mjs +4762 -4031
- package/dist/types/Users/nikolaosgeorgomanolis/Documents/EBRAINS/Projects/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/lib/svgs.d.ts +12 -0
- package/dist/types/components/eds-accordion/eds-accordion.d.ts +17 -53
- package/dist/types/components/eds-accordion/eds-accordion.stories.d.ts +36 -24
- package/dist/types/components/eds-alert/eds-alert.d.ts +32 -21
- package/dist/types/components/eds-alert/eds-alert.stories.d.ts +84 -11
- package/dist/types/components/eds-breadcrump/eds-breadcrump.d.ts +2 -2
- package/dist/types/components/eds-button/eds-button.d.ts +31 -14
- package/dist/types/components/eds-cards/eds-card-app/eds-card-app.d.ts +57 -0
- package/dist/types/components/eds-cards/eds-card-app/eds-card-app.stories.d.ts +60 -0
- package/dist/types/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.d.ts +1 -0
- package/dist/types/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.d.ts +5 -17
- package/dist/types/components/eds-cards/eds-card-cta/eds-card-cta.d.ts +64 -0
- package/dist/types/components/eds-cards/eds-card-cta/eds-card-cta.stories.d.ts +76 -0
- package/dist/types/components/eds-cards/eds-card-feature/eds-card-feature.d.ts +43 -0
- package/dist/types/components/eds-cards/eds-card-feature/eds-card-feature.stories.d.ts +53 -0
- package/dist/types/components/eds-cards/eds-card-generic/eds-card-generic.d.ts +12 -40
- package/dist/types/components/eds-cards/eds-card-generic/eds-card-generic.stories.d.ts +43 -44
- package/dist/types/components/eds-cards/eds-card-hero/eds-card-hero.d.ts +54 -0
- package/dist/types/components/eds-cards/eds-card-hero/eds-card-hero.stories.d.ts +65 -0
- package/dist/types/components/eds-cards/eds-card-stat/eds-card-stat.d.ts +41 -0
- package/dist/types/components/eds-cards/eds-card-stat/eds-card-stat.stories.d.ts +47 -0
- package/dist/types/components/eds-dropdown/eds-dropdown.d.ts +5 -10
- package/dist/types/components/eds-footer/eds-footer.d.ts +7 -0
- package/dist/types/components/eds-form/eds-form.d.ts +16 -5
- package/dist/types/components/eds-form/eds-form.stories.d.ts +0 -5
- package/dist/types/components/eds-frame/eds-frame.d.ts +1 -1
- package/dist/types/components/eds-fullscreen-menu/eds-fullscreen-menu.d.ts +3 -0
- package/dist/types/components/eds-header/eds-header.d.ts +3 -3
- package/dist/types/components/eds-icon-wrapper/eds-icon-wrapper.d.ts +3 -25
- package/dist/types/components/eds-input-dropzone/eds-input-dropzone.d.ts +51 -0
- package/dist/types/components/eds-input-dropzone/eds-input-dropzone.stories.d.ts +54 -0
- package/dist/types/components/eds-input-elements/eds-input/eds-input.d.ts +2 -1
- package/dist/types/components/eds-input-field/eds-input-field.d.ts +3 -1
- package/dist/types/components/eds-input-file/eds-input-file.d.ts +43 -0
- package/dist/types/components/eds-link/eds-link.d.ts +9 -3
- package/dist/types/components/eds-logo/eds-logo.d.ts +3 -3
- package/dist/types/components/eds-logo/eds-logo.stories.d.ts +1 -19
- package/dist/types/components/eds-modal/eds-modal.d.ts +15 -3
- package/dist/types/components/eds-nps/eds-nps.d.ts +11 -2
- package/dist/types/components/eds-progress-bar/eds-progress-bar.d.ts +13 -2
- package/dist/types/components/eds-progress-bar/eds-progress-bar.stories.d.ts +40 -1
- package/dist/types/components/eds-rating/eds-rating.d.ts +15 -2
- package/dist/types/components/eds-social-networks/eds-social-networks.d.ts +7 -0
- package/dist/types/components/eds-steps/eds-steps.d.ts +8 -0
- package/dist/types/components/eds-steps/eds-steps.stories.d.ts +2 -27
- package/dist/types/components/eds-steps-v2/eds-steps-v2.d.ts +8 -0
- package/dist/types/components/eds-steps-v2/eds-steps-v2.stories.d.ts +3 -6
- package/dist/types/components/eds-switch/eds-switch.d.ts +6 -0
- package/dist/types/components/eds-switch/eds-switch.stories.d.ts +49 -0
- package/dist/types/components/eds-table/eds-table.d.ts +45 -11
- package/dist/types/components/eds-table/eds-table.stories.d.ts +108 -9
- package/dist/types/components/eds-tabs/eds-tabs.d.ts +15 -17
- package/dist/types/components/eds-tabs/eds-tabs.stories.d.ts +57 -6
- package/dist/types/components/eds-tag/eds-tag.d.ts +1 -1
- package/dist/types/components/eds-tag/eds-tag.stories.d.ts +6 -0
- package/dist/types/components/eds-toast/eds-toast.d.ts +1 -1
- package/dist/types/components/eds-toast/eds-toast.stories.d.ts +10 -0
- package/dist/types/components/eds-user/eds-user.d.ts +1 -1
- package/dist/types/components.d.ts +1470 -1516
- package/dist/types/shared-ui/eds-cookies-preference/eds-cookies-preference.d.ts +1 -1
- package/dist/types/shared-ui/eds-gitlab-contributors/eds-gitlab-contributors.d.ts +114 -0
- package/dist/types/shared-ui/eds-global-search/eds-global-search.d.ts +18 -0
- package/dist/types/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.d.ts +98 -0
- package/dist/types/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.stories.d.ts +60 -0
- package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.d.ts +26 -0
- package/dist/types/utils/icons.d.ts +78 -0
- package/package.json +1 -1
- package/dist/cjs/arrow-diagonal-black-0eb8640e.js +0 -5
- package/dist/cjs/arrow-right-3e38e8a9.js +0 -7
- package/dist/cjs/bin-c07eeedc.js +0 -5
- package/dist/cjs/bookmark-c61853d9.js +0 -18
- package/dist/cjs/chevron-down-27344777.js +0 -14
- package/dist/cjs/chevron-left-6fc9c6ef.js +0 -13
- package/dist/cjs/chevron-right-6d95a117.js +0 -7
- package/dist/cjs/chevron-up-e37d7713.js +0 -14
- package/dist/cjs/clone-846acfdd.js +0 -5
- package/dist/cjs/close-51284af5.js +0 -7
- package/dist/cjs/copy-53102d0c.js +0 -7
- package/dist/cjs/download-9d17d025.js +0 -20
- package/dist/cjs/draft-05bd8904.js +0 -5
- package/dist/cjs/edit-ff5b84d8.js +0 -5
- package/dist/cjs/eds-accordion_37.cjs.entry.js +0 -6908
- package/dist/cjs/eds-card-desc_2.cjs.entry.js +0 -77
- package/dist/cjs/eds-card-generic.cjs.entry.js +0 -91
- package/dist/cjs/eds-card-project.cjs.entry.js +0 -195
- package/dist/cjs/eds-card-section.cjs.entry.js +0 -39
- package/dist/cjs/eds-card-tags.cjs.entry.js +0 -22
- package/dist/cjs/eds-card-tool.cjs.entry.js +0 -79
- package/dist/cjs/eds-footer.cjs.entry.js +0 -67
- package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +0 -91
- package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-bin.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-bookmark.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-clone.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-close.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-copy.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-download.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-draft.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-edit.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-external.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-loader.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-menu.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-minus.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-more.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-paper.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-plus.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-portal.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-private.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-public.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-search.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-star.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-start.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-success.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-tutorial.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-unknown.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-updown.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-user.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-view.cjs.entry.js +0 -18
- package/dist/cjs/eds-progress-bar.cjs.entry.js +0 -56
- package/dist/cjs/eds-social-networks.cjs.entry.js +0 -64
- package/dist/cjs/eds-trl.cjs.entry.js +0 -51
- package/dist/cjs/eu-b9665157.js +0 -32
- package/dist/cjs/index-ab9fbefe.js +0 -48
- package/dist/cjs/loader-72f9d178.js +0 -32
- package/dist/cjs/logo-color-6c787ac1.js +0 -117
- package/dist/cjs/logo-color-margins-b49c0f46.js +0 -120
- package/dist/cjs/logo-white-no-bg-4a0e0f4b.js +0 -1039
- package/dist/cjs/menu-7050a6d1.js +0 -13
- package/dist/cjs/minus-1da6a98a.js +0 -13
- package/dist/cjs/more-1d3dd8bc.js +0 -15
- package/dist/cjs/paper-0d6302f6.js +0 -17
- package/dist/cjs/plus-d0e00ad0.js +0 -14
- package/dist/cjs/portal-46212559.js +0 -20
- package/dist/cjs/private-38835fe7.js +0 -27
- package/dist/cjs/public-b519b1f6.js +0 -18
- package/dist/cjs/search-5533d877.js +0 -14
- package/dist/cjs/star-942eee9f.js +0 -7
- package/dist/cjs/start-c0ccfddd.js +0 -5
- package/dist/cjs/success-ef661a11.js +0 -20
- package/dist/cjs/thumbs-down-714036b1.js +0 -7
- package/dist/cjs/thumbs-up-411babb8.js +0 -8
- package/dist/cjs/tutotial-7855df3c.js +0 -29
- package/dist/cjs/unknown-6814e551.js +0 -24
- package/dist/cjs/up-and-down-6f179dd8.js +0 -14
- package/dist/cjs/user-a3c2230f.js +0 -18
- package/dist/cjs/view-80d5c6c8.js +0 -5
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.css +0 -9
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js +0 -63
- package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +0 -227
- package/dist/collection/components/eds-cards/eds-card-section/eds-card-section.css +0 -249
- package/dist/collection/components/eds-cards/eds-card-section/eds-card-section.js +0 -95
- package/dist/collection/components/eds-cards/eds-card-section/eds-card-section.stories.js +0 -71
- package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.css +0 -103
- package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +0 -314
- package/dist/collection/components/eds-fullscreen-menu/eds-fullscreen-menu.stories.js +0 -77
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +0 -36
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +0 -36
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +0 -36
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-bin/eds-icon-bin.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-clone/eds-icon-clone.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-download/eds-icon-download.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-draft/eds-icon-draft.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-edit/eds-icon-edit.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-external/eds-icon-external.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-minus/eds-icon-minus.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-paper/eds-icon-paper.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-start/eds-icon-start.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-view/eds-icon-view.js +0 -36
- package/dist/collection/components/eds-trl/eds-trl.js +0 -68
- package/dist/components/arrow-diagonal-black.js +0 -3
- package/dist/components/arrow-right.js +0 -5
- package/dist/components/bin.js +0 -3
- package/dist/components/bookmark.js +0 -16
- package/dist/components/chevron-down.js +0 -12
- package/dist/components/chevron-left.js +0 -11
- package/dist/components/chevron-right.js +0 -5
- package/dist/components/chevron-up.js +0 -12
- package/dist/components/clone.js +0 -3
- package/dist/components/close.js +0 -5
- package/dist/components/copy.js +0 -5
- package/dist/components/download.js +0 -18
- package/dist/components/draft.js +0 -3
- package/dist/components/edit.js +0 -3
- package/dist/components/eds-card-project.js +0 -237
- package/dist/components/eds-card-section.d.ts +0 -11
- package/dist/components/eds-card-section.js +0 -92
- package/dist/components/eds-card-tags.d.ts +0 -11
- package/dist/components/eds-card-tags.js +0 -45
- package/dist/components/eds-card-tool.d.ts +0 -11
- package/dist/components/eds-card-tool.js +0 -137
- package/dist/components/eds-icon-arrow-diagonal.d.ts +0 -11
- package/dist/components/eds-icon-arrow-diagonal.js +0 -33
- package/dist/components/eds-icon-arrow-right.d.ts +0 -11
- package/dist/components/eds-icon-arrow-right.js +0 -33
- package/dist/components/eds-icon-bin.js +0 -33
- package/dist/components/eds-icon-bookmark.d.ts +0 -11
- package/dist/components/eds-icon-bookmark.js +0 -33
- package/dist/components/eds-icon-chevron-down.d.ts +0 -11
- package/dist/components/eds-icon-chevron-down.js +0 -33
- package/dist/components/eds-icon-chevron-left.d.ts +0 -11
- package/dist/components/eds-icon-chevron-left.js +0 -33
- package/dist/components/eds-icon-chevron-right.d.ts +0 -11
- package/dist/components/eds-icon-chevron-right.js +0 -33
- package/dist/components/eds-icon-chevron-up.js +0 -33
- package/dist/components/eds-icon-clone.d.ts +0 -11
- package/dist/components/eds-icon-clone.js +0 -33
- package/dist/components/eds-icon-close.js +0 -33
- package/dist/components/eds-icon-copy.js +0 -33
- package/dist/components/eds-icon-download.d.ts +0 -11
- package/dist/components/eds-icon-download.js +0 -33
- package/dist/components/eds-icon-draft.d.ts +0 -11
- package/dist/components/eds-icon-draft.js +0 -33
- package/dist/components/eds-icon-edit.js +0 -33
- package/dist/components/eds-icon-external.d.ts +0 -11
- package/dist/components/eds-icon-external.js +0 -33
- package/dist/components/eds-icon-loader.d.ts +0 -11
- package/dist/components/eds-icon-loader.js +0 -33
- package/dist/components/eds-icon-menu.d.ts +0 -11
- package/dist/components/eds-icon-menu.js +0 -33
- package/dist/components/eds-icon-minus.d.ts +0 -11
- package/dist/components/eds-icon-minus.js +0 -33
- package/dist/components/eds-icon-more.d.ts +0 -11
- package/dist/components/eds-icon-more.js +0 -33
- package/dist/components/eds-icon-paper.d.ts +0 -11
- package/dist/components/eds-icon-paper.js +0 -33
- package/dist/components/eds-icon-plus.d.ts +0 -11
- package/dist/components/eds-icon-plus.js +0 -33
- package/dist/components/eds-icon-portal.d.ts +0 -11
- package/dist/components/eds-icon-portal.js +0 -33
- package/dist/components/eds-icon-private.d.ts +0 -11
- package/dist/components/eds-icon-private.js +0 -33
- package/dist/components/eds-icon-public.d.ts +0 -11
- package/dist/components/eds-icon-public.js +0 -33
- package/dist/components/eds-icon-search.d.ts +0 -11
- package/dist/components/eds-icon-search.js +0 -33
- package/dist/components/eds-icon-star.d.ts +0 -11
- package/dist/components/eds-icon-star.js +0 -33
- package/dist/components/eds-icon-start.d.ts +0 -11
- package/dist/components/eds-icon-start.js +0 -33
- package/dist/components/eds-icon-success.d.ts +0 -11
- package/dist/components/eds-icon-success.js +0 -33
- package/dist/components/eds-icon-thumbs-down.d.ts +0 -11
- package/dist/components/eds-icon-thumbs-down.js +0 -33
- package/dist/components/eds-icon-thumbs-up.d.ts +0 -11
- package/dist/components/eds-icon-thumbs-up.js +0 -33
- package/dist/components/eds-icon-tutorial.d.ts +0 -11
- package/dist/components/eds-icon-tutorial.js +0 -33
- package/dist/components/eds-icon-unknown.d.ts +0 -11
- package/dist/components/eds-icon-unknown.js +0 -33
- package/dist/components/eds-icon-updown.d.ts +0 -11
- package/dist/components/eds-icon-updown.js +0 -33
- package/dist/components/eds-icon-user.d.ts +0 -11
- package/dist/components/eds-icon-user.js +0 -33
- package/dist/components/eds-icon-view.d.ts +0 -11
- package/dist/components/eds-icon-view.js +0 -33
- package/dist/components/eds-progress-bar2.js +0 -71
- package/dist/components/eds-trl.js +0 -150
- package/dist/components/loader.js +0 -30
- package/dist/components/logo-color-margins.js +0 -118
- package/dist/components/logo-color.js +0 -115
- package/dist/components/logo-white-no-bg.js +0 -1029
- package/dist/components/menu.js +0 -11
- package/dist/components/minus.js +0 -11
- package/dist/components/more.js +0 -13
- package/dist/components/p-024c7937.js +0 -1
- package/dist/components/p-05754401.js +0 -1
- package/dist/components/p-062d2f91.entry.js +0 -1
- package/dist/components/p-0725a684.entry.js +0 -1
- package/dist/components/p-0be28996.js +0 -1
- package/dist/components/p-0da7d1c9.js +0 -1
- package/dist/components/p-0e6d43c5.js +0 -1
- package/dist/components/p-112122d6.js +0 -1
- package/dist/components/p-13f74e41.entry.js +0 -1
- package/dist/components/p-15dc5ecf.entry.js +0 -1
- package/dist/components/p-15df046d.entry.js +0 -1
- package/dist/components/p-15f94425.entry.js +0 -1
- package/dist/components/p-1ded61bd.js +0 -1
- package/dist/components/p-1f74c192.entry.js +0 -1
- package/dist/components/p-2066b033.js +0 -1
- package/dist/components/p-20e711e6.entry.js +0 -1
- package/dist/components/p-2117611b.js +0 -1
- package/dist/components/p-2692f93d.js +0 -1
- package/dist/components/p-277d0045.entry.js +0 -1
- package/dist/components/p-27c4a06e.js +0 -1
- package/dist/components/p-29041952.js +0 -1
- package/dist/components/p-30e88fc2.entry.js +0 -1
- package/dist/components/p-314aa952.entry.js +0 -1
- package/dist/components/p-32e6c4df.js +0 -1
- package/dist/components/p-355df495.entry.js +0 -1
- package/dist/components/p-366c5c03.entry.js +0 -1
- package/dist/components/p-38113b9c.entry.js +0 -1
- package/dist/components/p-3a1e54bd.entry.js +0 -1
- package/dist/components/p-3ad7a15b.entry.js +0 -1
- package/dist/components/p-3b838def.entry.js +0 -1
- package/dist/components/p-454bdd5a.js +0 -1
- package/dist/components/p-4587d0ef.js +0 -1
- package/dist/components/p-46d0716d.js +0 -1
- package/dist/components/p-48825534.entry.js +0 -1
- package/dist/components/p-4cebd89e.entry.js +0 -1
- package/dist/components/p-4eb2cf7f.js +0 -1
- package/dist/components/p-51d0e443.entry.js +0 -1
- package/dist/components/p-52c28fa2.js +0 -1
- package/dist/components/p-53f6527b.entry.js +0 -1
- package/dist/components/p-553ca350.js +0 -1
- package/dist/components/p-58967f53.js +0 -1
- package/dist/components/p-5d046674.js +0 -1
- package/dist/components/p-6197c589.entry.js +0 -1
- package/dist/components/p-65948a6e.entry.js +0 -1
- package/dist/components/p-694fc085.js +0 -1
- package/dist/components/p-7198c024.js +0 -1
- package/dist/components/p-7737d5c7.entry.js +0 -1
- package/dist/components/p-78e85217.entry.js +0 -1
- package/dist/components/p-7a62ae0d.entry.js +0 -1
- package/dist/components/p-7aa97ad6.entry.js +0 -1
- package/dist/components/p-7f820989.entry.js +0 -1
- package/dist/components/p-80ced58a.entry.js +0 -1
- package/dist/components/p-83dde536.entry.js +0 -1
- package/dist/components/p-83ff4a95.js +0 -1
- package/dist/components/p-86bb73dc.js +0 -1
- package/dist/components/p-87481169.entry.js +0 -1
- package/dist/components/p-87df6442.entry.js +0 -1
- package/dist/components/p-8983de37.js +0 -1
- package/dist/components/p-8bd954b5.entry.js +0 -1
- package/dist/components/p-8c520685.entry.js +0 -1
- package/dist/components/p-941dc156.entry.js +0 -1
- package/dist/components/p-9afd31cb.entry.js +0 -1
- package/dist/components/p-9c5a453b.js +0 -1
- package/dist/components/p-9cd1cc1e.entry.js +0 -1
- package/dist/components/p-9d57b51f.entry.js +0 -1
- package/dist/components/p-a61dbad5.entry.js +0 -1
- package/dist/components/p-a7323642.entry.js +0 -1
- package/dist/components/p-a83c336c.entry.js +0 -1
- package/dist/components/p-ab4acc26.entry.js +0 -1
- package/dist/components/p-ac501eb6.entry.js +0 -1
- package/dist/components/p-ad036475.entry.js +0 -1
- package/dist/components/p-ad295d47.entry.js +0 -1
- package/dist/components/p-ad6e7daf.entry.js +0 -1
- package/dist/components/p-ae471b33.entry.js +0 -1
- package/dist/components/p-aefcb641.js +0 -1
- package/dist/components/p-b64f8ffc.entry.js +0 -1
- package/dist/components/p-b73410de.js +0 -1
- package/dist/components/p-b822abb7.js +0 -1
- package/dist/components/p-ba720bf3.js +0 -1
- package/dist/components/p-bb800eec.entry.js +0 -1
- package/dist/components/p-bfb00131.entry.js +0 -1
- package/dist/components/p-c07e3269.entry.js +0 -1
- package/dist/components/p-c1e4ef92.js +0 -1
- package/dist/components/p-c286e9d3.entry.js +0 -1
- package/dist/components/p-c38c527e.entry.js +0 -1
- package/dist/components/p-c404226a.entry.js +0 -1
- package/dist/components/p-c776b6f8.js +0 -1
- package/dist/components/p-c8e7c854.js +0 -1
- package/dist/components/p-c9d60f21.entry.js +0 -1
- package/dist/components/p-cdf19579.js +0 -1
- package/dist/components/p-d29676a0.entry.js +0 -1
- package/dist/components/p-d962849c.js +0 -1
- package/dist/components/p-da96c7cd.entry.js +0 -1
- package/dist/components/p-df5fc158.entry.js +0 -1
- package/dist/components/p-e2d5a487.js +0 -1
- package/dist/components/p-e311fe9e.entry.js +0 -1
- package/dist/components/p-e4f0f24a.entry.js +0 -1
- package/dist/components/p-ece618b3.js +0 -1
- package/dist/components/p-eda55db0.entry.js +0 -1
- package/dist/components/p-ee93afac.entry.js +0 -1
- package/dist/components/p-f0993844.entry.js +0 -1
- package/dist/components/p-f1c8f841.entry.js +0 -1
- package/dist/components/p-f227bac5.entry.js +0 -1
- package/dist/components/p-f24bfc6a.entry.js +0 -1
- package/dist/components/p-f2abe4d8.js +0 -1
- package/dist/components/p-f3754a20.entry.js +0 -1
- package/dist/components/p-f4c954ec.entry.js +0 -1
- package/dist/components/p-f6baca73.entry.js +0 -9
- package/dist/components/p-f7b88ef5.entry.js +0 -1
- package/dist/components/p-fda3df86.entry.js +0 -1
- package/dist/components/paper.js +0 -15
- package/dist/components/plus.js +0 -12
- package/dist/components/portal.js +0 -18
- package/dist/components/private.js +0 -25
- package/dist/components/public.js +0 -16
- package/dist/components/search.js +0 -12
- package/dist/components/star.js +0 -5
- package/dist/components/start.js +0 -3
- package/dist/components/success.js +0 -18
- package/dist/components/thumbs-down.js +0 -5
- package/dist/components/thumbs-up.js +0 -6
- package/dist/components/tutotial.js +0 -27
- package/dist/components/unknown.js +0 -22
- package/dist/components/up-and-down.js +0 -12
- package/dist/components/user.js +0 -16
- package/dist/components/view.js +0 -3
- package/dist/esm/arrow-diagonal-black-8f0494c3.js +0 -3
- package/dist/esm/arrow-right-9322ba8a.js +0 -5
- package/dist/esm/bin-37cad2f0.js +0 -3
- package/dist/esm/bookmark-c200037c.js +0 -16
- package/dist/esm/chevron-down-6144c823.js +0 -12
- package/dist/esm/chevron-left-ca6c66e1.js +0 -11
- package/dist/esm/chevron-right-b88ed2d4.js +0 -5
- package/dist/esm/chevron-up-c66bd477.js +0 -12
- package/dist/esm/clone-dab56639.js +0 -3
- package/dist/esm/close-87fc0d63.js +0 -5
- package/dist/esm/copy-03b72cb6.js +0 -5
- package/dist/esm/download-47746956.js +0 -18
- package/dist/esm/draft-dd5dada2.js +0 -3
- package/dist/esm/edit-3893a517.js +0 -3
- package/dist/esm/eds-accordion_37.entry.js +0 -6868
- package/dist/esm/eds-card-desc_2.entry.js +0 -72
- package/dist/esm/eds-card-generic.entry.js +0 -87
- package/dist/esm/eds-card-project.entry.js +0 -191
- package/dist/esm/eds-card-section.entry.js +0 -35
- package/dist/esm/eds-card-tags.entry.js +0 -18
- package/dist/esm/eds-card-tool.entry.js +0 -75
- package/dist/esm/eds-footer.entry.js +0 -63
- package/dist/esm/eds-fullscreen-menu.entry.js +0 -87
- package/dist/esm/eds-icon-arrow-diagonal.entry.js +0 -14
- package/dist/esm/eds-icon-arrow-right.entry.js +0 -14
- package/dist/esm/eds-icon-bin.entry.js +0 -14
- package/dist/esm/eds-icon-bookmark.entry.js +0 -14
- package/dist/esm/eds-icon-chevron-down.entry.js +0 -14
- package/dist/esm/eds-icon-chevron-left.entry.js +0 -14
- package/dist/esm/eds-icon-chevron-right.entry.js +0 -14
- package/dist/esm/eds-icon-chevron-up.entry.js +0 -14
- package/dist/esm/eds-icon-clone.entry.js +0 -14
- package/dist/esm/eds-icon-close.entry.js +0 -14
- package/dist/esm/eds-icon-copy.entry.js +0 -14
- package/dist/esm/eds-icon-download.entry.js +0 -14
- package/dist/esm/eds-icon-draft.entry.js +0 -14
- package/dist/esm/eds-icon-edit.entry.js +0 -14
- package/dist/esm/eds-icon-external.entry.js +0 -14
- package/dist/esm/eds-icon-loader.entry.js +0 -14
- package/dist/esm/eds-icon-menu.entry.js +0 -14
- package/dist/esm/eds-icon-minus.entry.js +0 -14
- package/dist/esm/eds-icon-more.entry.js +0 -14
- package/dist/esm/eds-icon-paper.entry.js +0 -14
- package/dist/esm/eds-icon-plus.entry.js +0 -14
- package/dist/esm/eds-icon-portal.entry.js +0 -14
- package/dist/esm/eds-icon-private.entry.js +0 -14
- package/dist/esm/eds-icon-public.entry.js +0 -14
- package/dist/esm/eds-icon-search.entry.js +0 -14
- package/dist/esm/eds-icon-star.entry.js +0 -14
- package/dist/esm/eds-icon-start.entry.js +0 -14
- package/dist/esm/eds-icon-success.entry.js +0 -14
- package/dist/esm/eds-icon-thumbs-down.entry.js +0 -14
- package/dist/esm/eds-icon-thumbs-up.entry.js +0 -14
- package/dist/esm/eds-icon-tutorial.entry.js +0 -14
- package/dist/esm/eds-icon-unknown.entry.js +0 -14
- package/dist/esm/eds-icon-updown.entry.js +0 -14
- package/dist/esm/eds-icon-user.entry.js +0 -14
- package/dist/esm/eds-icon-view.entry.js +0 -14
- package/dist/esm/eds-progress-bar.entry.js +0 -52
- package/dist/esm/eds-social-networks.entry.js +0 -60
- package/dist/esm/eds-trl.entry.js +0 -47
- package/dist/esm/eu-9ddde93a.js +0 -30
- package/dist/esm/index-39c58238.js +0 -46
- package/dist/esm/loader-c9628637.js +0 -30
- package/dist/esm/logo-color-7f1fd803.js +0 -115
- package/dist/esm/logo-color-margins-ff8ce71b.js +0 -118
- package/dist/esm/logo-white-no-bg-f382f86f.js +0 -1029
- package/dist/esm/menu-340ea948.js +0 -11
- package/dist/esm/minus-b30a7c71.js +0 -11
- package/dist/esm/more-4449d549.js +0 -13
- package/dist/esm/paper-8e74ea31.js +0 -15
- package/dist/esm/plus-89c07be2.js +0 -12
- package/dist/esm/portal-d6c8ce56.js +0 -18
- package/dist/esm/private-1c25ff8e.js +0 -25
- package/dist/esm/public-d4d8c585.js +0 -16
- package/dist/esm/search-fbcd79c2.js +0 -12
- package/dist/esm/star-0da9b5e9.js +0 -5
- package/dist/esm/start-65126a4f.js +0 -3
- package/dist/esm/success-443809da.js +0 -18
- package/dist/esm/thumbs-down-a18fd049.js +0 -5
- package/dist/esm/thumbs-up-c19a71bc.js +0 -6
- package/dist/esm/tutotial-150ee1fd.js +0 -27
- package/dist/esm/unknown-ed01a24c.js +0 -22
- package/dist/esm/up-and-down-8b69ca97.js +0 -12
- package/dist/esm/user-71ebdc15.js +0 -16
- package/dist/esm/view-e900f2d4.js +0 -3
- package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/lib/svgs.d.ts +0 -65
- package/dist/types/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.d.ts +0 -15
- package/dist/types/components/eds-cards/eds-card-project/eds-card-project.d.ts +0 -54
- package/dist/types/components/eds-cards/eds-card-section/eds-card-section.d.ts +0 -70
- package/dist/types/components/eds-cards/eds-card-section/eds-card-section.stories.d.ts +0 -68
- package/dist/types/components/eds-cards/eds-card-tool/eds-card-tool.d.ts +0 -79
- package/dist/types/components/eds-fullscreen-menu/eds-fullscreen-menu.stories.d.ts +0 -29
- package/dist/types/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.d.ts +0 -10
- package/dist/types/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.d.ts +0 -10
- package/dist/types/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.d.ts +0 -10
- package/dist/types/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-bin/eds-icon-bin.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-clone/eds-icon-clone.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-close/eds-icon-close.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-copy/eds-icon-copy.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-download/eds-icon-download.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-draft/eds-icon-draft.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-edit/eds-icon-edit.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-external/eds-icon-external.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-loader/eds-icon-loader.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-menu/eds-icon-menu.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-minus/eds-icon-minus.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-more/eds-icon-more.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-paper/eds-icon-paper.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-plus/eds-icon-plus.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-portal/eds-icon-portal.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-private/eds-icon-private.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-public/eds-icon-public.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-search/eds-icon-search.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-star/eds-icon-star.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-start/eds-icon-start.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-success/eds-icon-success.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-unknown/eds-icon-unknown.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-updown/eds-icon-updown.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-user/eds-icon-user.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-view/eds-icon-view.d.ts +0 -10
- package/dist/types/components/eds-trl/eds-trl.d.ts +0 -12
- /package/dist/types/Users/{nigeor/Documents/Projects/EBRAINS → nikolaosgeorgomanolis/Documents/EBRAINS/Projects}/ebrains-ui-ecosystem/packages/components/.stencil/packages/components/stencil.config.d.ts +0 -0
- /package/dist/types/Users/{nigeor/Documents/Projects/EBRAINS → nikolaosgeorgomanolis/Documents/EBRAINS/Projects}/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/index.d.ts +0 -0
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { d as defineCustomElement$
|
|
3
|
-
import { d as defineCustomElement$
|
|
4
|
-
import { d as defineCustomElement$3 } from './eds-img2.js';
|
|
2
|
+
import { d as defineCustomElement$4 } from './eds-button2.js';
|
|
3
|
+
import { d as defineCustomElement$3 } from './eds-icon-wrapper2.js';
|
|
5
4
|
import { d as defineCustomElement$2 } from './eds-link2.js';
|
|
6
5
|
import { d as defineCustomElement$1 } from './eds-social-networks2.js';
|
|
7
6
|
|
|
8
|
-
const edsFooterCss = "p{margin:0}.cursor-pointer{cursor:pointer}.ml-4{margin-left:0.25rem}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.bg-darker{background-color:var(--grey-
|
|
7
|
+
const edsFooterCss = "p{margin:0}footer{position:relative}.cursor-pointer{cursor:pointer}.ml-4{margin-left:0.25rem}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.bg-darker{background-color:var(--grey-light)}.bg-strongest{background-color:var(--brand-black)}.border-softest{border-color:rgba(0, 0, 0, .05)}.border-inverse-softer{border-color:rgba(255, 255, 255, .15)}.border-t-2{border-top-width:2px}.pt-20{padding-top:1.25rem}.pb-28{padding-bottom:1.75rem}.grid-layout{display:grid;grid-template-columns:repeat(var(--container-grid-columns, var(--grid-columns)), 1fr);grid-gap:var(--inner-gutter)}.grid-col-span-12{--container-grid-columns:12;grid-column:span 12 / span 12}.mt-28{margin-top:1.75rem}.gap-y-12{row-gap:0.75rem}.gap-x-12{-moz-column-gap:0.75rem;column-gap:0.75rem}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-20{gap:1.25rem}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--brand-green)}.effect-focus:focus-visible{outline-style:solid}.focus-visible\\:rounded-xs:focus-visible{border-radius:4px}.flex{display:flex}.w-\\[54px\\]{width:54px}.ml-0{margin-left:0rem}.order-last{order:9999}.w-full{width:100%}.h-auto{height:auto}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.text-light{color:var(--grey-light)}.text-default{color:var(--brand-black)}.text-inverse{color:var(--white)}.mt-4{margin-top:0.25rem}.mr-4{margin-right:0.25rem}.gap-12{gap:0.75rem}.inline-block{display:inline-block}.\\!no-underline{text-decoration-line:none !important}.decoration-2{text-decoration-thickness:2px}.underline-offset-4{text-underline-offset:4px}.hover\\:\\!underline:hover{text-decoration-line:underline !important}.ml-auto{margin-left:auto}.pl-12{padding-left:0.75rem}.opacity-0{opacity:0}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.transition{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.duration-75{transition-duration:75ms}@media (min-width: 750px){.md\\:pt-28{padding-top:1.75rem}}@media (min-width: 900px){.lg\\:grid-col-span-5{--container-grid-columns:5;grid-column:span 5 / span 5}.lg\\:grid-col-span-6{--container-grid-columns:6;grid-column:span 6 / span 6}.lg\\:grid-col-start-7{grid-column-start:7}.lg\\:mt-0{margin-top:0rem}.lg\\:flex-nowrap{flex-wrap:nowrap}.lg\\:order-none{order:0}.lg\\:w-auto{width:auto}}@media (min-width: 1024px){.xl\\:pb-40{padding-bottom:2.5rem}}";
|
|
9
8
|
const EdsFooterStyle0 = edsFooterCss;
|
|
10
9
|
|
|
11
10
|
const EdsFooter = /*@__PURE__*/ proxyCustomElement(class EdsFooter extends HTMLElement {
|
|
@@ -23,6 +22,7 @@ const EdsFooter = /*@__PURE__*/ proxyCustomElement(class EdsFooter extends HTMLE
|
|
|
23
22
|
window.scrollTo({ top: 0, behavior: 'smooth' });
|
|
24
23
|
};
|
|
25
24
|
this.social = false;
|
|
25
|
+
this.variant = 'default';
|
|
26
26
|
this.enableScrollTop = false;
|
|
27
27
|
this.fundedBy = 'EBRAINS is funded by the Horizon Europe Framework Programme.';
|
|
28
28
|
this.rightsReserved = `${new Date().getFullYear()} EBRAINS. All rights reserved.`;
|
|
@@ -59,14 +59,19 @@ const EdsFooter = /*@__PURE__*/ proxyCustomElement(class EdsFooter extends HTMLE
|
|
|
59
59
|
render() {
|
|
60
60
|
const year = new Date().getFullYear();
|
|
61
61
|
const rights = this.rightsReserved || `${year} EBRAINS. All rights reserved.`;
|
|
62
|
-
|
|
62
|
+
const isInverse = this.variant === 'inverse';
|
|
63
|
+
const footerClasses = isInverse ? 'bg-strongest text-inverse' : '';
|
|
64
|
+
const borderClasses = isInverse ? 'border-inverse-softer' : 'border-softest';
|
|
65
|
+
const textClasses = isInverse ? 'text-inverse' : 'text-default';
|
|
66
|
+
return (h("footer", { key: 'ffe47afda9981e367f24d2525a5b21e96f4f3d10', class: footerClasses }, this.social ? (h("div", { class: `${borderClasses} 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", variant: this.variant })))))) : null, h("div", { key: '2e884f06ca55ea5837aabfd7d726a79b72365ab3', class: `${borderClasses} ${this.social ? 'border-t-2' : ''} pb-28 pt-20 md:pt-28` }, h("div", { key: 'f601602dd39c564ce77d978325cbacaa752bd5f0', class: "container flex items-center gap-20 lg:flex-nowrap" }, h("div", { key: '94d6bf12bca8a37560124de2a9114a4566494883', class: "flex items-center gap-x-12" }, h("a", { key: '8c9bf0a41cce7e043311b39c6418d2dc3541694f', 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("svg", { key: '5d0c96911aa0069dd7c0ef6a5690d5ac59dbc737', class: "h-auto w-full", width: "63", height: "50", viewBox: "0 0 640 480", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'bab3fd3f37857e99c2a525b7a9553d4c706d247c', d: "M0 0h640v480H0V0z", fill: "#039" }), h("path", { key: 'e77d6f1fc21f36083196adcb4f6b7a3e70105b0f', d: "M325.032 93.15l17.513-.398-14.401 9.972 5.789 16.53L320 108.639l-13.933 10.615 5.789-16.531-14.399-9.97 17.51.396L320 76.374l5.032 16.775zm0 284.444l17.513-.398-14.401 9.972 5.789 16.53L320 393.083l-13.933 10.615 5.789-16.531-14.399-9.97 17.51.397L320 360.818l5.032 16.776zm-147.25-158.983l5.029 16.761 17.511-.397-14.4 9.969 5.79 16.533-13.933-10.616-13.932 10.616 5.788-16.531-14.401-9.971 17.511.397 5.028-16.761.004-.015.001.003.001-.003.003.015zm77.885-105.334l17.511-.397-14.401 9.971 5.79 16.531-13.932-10.614-13.933 10.615 5.788-16.531-14.4-9.971h.005l-.003-.001 17.51.397 5.033-16.775 5.032 16.775zm-52.729 52.729l17.511-.398h.002l-14.402 9.971 5.79 16.531-13.933-10.615-13.932 10.615 5.789-16.532-14.4-9.97 17.51.397 5.033-16.776 5.032 16.777zm-5.001 125.803l5.027 16.759 17.513-.397-14.401 9.971 5.79 16.531-.005-.005.003.006-13.932-10.615-13.933 10.615 5.788-16.532-14.398-9.97 17.51.396 5.029-16.759.004-.016v.003l.002-.003.003.016zm51.445 47.71l5.027 16.76 17.513-.397-14.401 9.97 5.791 16.532-.004-.004.002.004-13.933-10.615-13.933 10.615 5.788-16.532-14.398-9.97 17.51.397 5.029-16.76.004-.016v.003l.002-.003.003.016zm217.873-104.147l17.511-.397-14.401 9.969 5.79 16.533-13.934-10.616-13.931 10.616 5.789-16.533-14.399-9.969 17.509.397 5.034-16.776 5.032 16.776zm-63.958-95.997l-5.786-16.522 14.401-9.972-17.511.398-5.033-16.778-5.034 16.777-17.51-.398 14.4 9.972-5.789 16.53 13.932-10.614 13.934 10.614-.004-.007zm38.797 42.122l13.934 10.614-.004-.007-5.787-16.524 14.401-9.971-17.51.399-5.033-16.778-5.033 16.777-17.51-.398h-.001l14.399 9.972-5.787 16.529 13.931-10.613zm5.007 127.071l17.51-.397-14.4 9.971 5.79 16.531-13.933-10.614-13.932 10.615 5.788-16.531-14.401-9.971h.005l-.003-.001 17.51.397 5.033-16.775 5.033 16.775zm-51.446 47.711l17.511-.397-14.4 9.97 5.79 16.532-13.933-10.615-13.933 10.615 5.789-16.531-14.401-9.971h.002l17.51.397 5.033-16.776 5.032 16.776z", fill: "#FC0" })))), h("div", { key: '3057a627d8cc6e524f6381f21bb34b549d45021f' }, h("div", { key: 'd6397eaa434f15d415bff0c5171b4f71295dabc3', class: `f-ui-02 ${textClasses}` }, h("p", { key: 'cc9e370cd5b4238fcd76bc8f1f84c54af2873bab' }, this.fundedBy), h("div", { key: '9af9a16cf3cc6fc4223c1b5eac13f96894b92962', class: "mt-4 flex flex-wrap gap-12 lg:flex-nowrap inline-block" }, h("span", { key: 'e86c83c7504f60831dc9d4239b3e2b551b2765b6', 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: () => {
|
|
63
67
|
this.toggleCookiesConsent();
|
|
64
|
-
} })) : null))), h("div", { key: '
|
|
68
|
+
} })) : null))), h("div", { key: 'd2dcb8a3a99c5aa368d6d710e125e3a9f8fefd25', 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: isInverse ? 'ghostInverse' : 'ghost', size: "large", icon: "chevron-up", onClick: this.backToTop, tabindex: "-1" }))) : null)))));
|
|
65
69
|
}
|
|
66
70
|
get el() { return this; }
|
|
67
71
|
static get style() { return EdsFooterStyle0; }
|
|
68
72
|
}, [1, "eds-footer", {
|
|
69
73
|
"social": [4],
|
|
74
|
+
"variant": [1],
|
|
70
75
|
"enableScrollTop": [4, "enable-scroll-top"],
|
|
71
76
|
"fundedBy": [1, "funded-by"],
|
|
72
77
|
"rightsReserved": [1, "rights-reserved"],
|
|
@@ -79,7 +84,7 @@ function defineCustomElement() {
|
|
|
79
84
|
if (typeof customElements === "undefined") {
|
|
80
85
|
return;
|
|
81
86
|
}
|
|
82
|
-
const components = ["eds-footer", "eds-button", "eds-icon-wrapper", "eds-
|
|
87
|
+
const components = ["eds-footer", "eds-button", "eds-icon-wrapper", "eds-link", "eds-social-networks"];
|
|
83
88
|
components.forEach(tagName => { switch (tagName) {
|
|
84
89
|
case "eds-footer":
|
|
85
90
|
if (!customElements.get(tagName)) {
|
|
@@ -87,16 +92,11 @@ function defineCustomElement() {
|
|
|
87
92
|
}
|
|
88
93
|
break;
|
|
89
94
|
case "eds-button":
|
|
90
|
-
if (!customElements.get(tagName)) {
|
|
91
|
-
defineCustomElement$5();
|
|
92
|
-
}
|
|
93
|
-
break;
|
|
94
|
-
case "eds-icon-wrapper":
|
|
95
95
|
if (!customElements.get(tagName)) {
|
|
96
96
|
defineCustomElement$4();
|
|
97
97
|
}
|
|
98
98
|
break;
|
|
99
|
-
case "eds-
|
|
99
|
+
case "eds-icon-wrapper":
|
|
100
100
|
if (!customElements.get(tagName)) {
|
|
101
101
|
defineCustomElement$3();
|
|
102
102
|
}
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { s as sendAnalytics } from './analytics.js';
|
|
3
3
|
import { p as parseData } from './sharedUtils.js';
|
|
4
|
-
import { d as defineCustomElement$
|
|
5
|
-
import { d as defineCustomElement$
|
|
6
|
-
import { d as defineCustomElement$
|
|
7
|
-
import { d as defineCustomElement$
|
|
8
|
-
import { d as defineCustomElement$
|
|
9
|
-
import { d as defineCustomElement$
|
|
10
|
-
import { d as defineCustomElement$
|
|
11
|
-
import { d as defineCustomElement$
|
|
12
|
-
import { d as defineCustomElement$
|
|
4
|
+
import { d as defineCustomElement$g } from './eds-button2.js';
|
|
5
|
+
import { d as defineCustomElement$f } from './eds-icon-wrapper2.js';
|
|
6
|
+
import { d as defineCustomElement$e } from './eds-input2.js';
|
|
7
|
+
import { d as defineCustomElement$d } from './eds-input-dropzone2.js';
|
|
8
|
+
import { d as defineCustomElement$c } from './eds-input-field2.js';
|
|
9
|
+
import { d as defineCustomElement$b } from './eds-input-file2.js';
|
|
10
|
+
import { d as defineCustomElement$a } from './eds-input-footer2.js';
|
|
11
|
+
import { d as defineCustomElement$9 } from './eds-input-label2.js';
|
|
12
|
+
import { d as defineCustomElement$8 } from './eds-input-range2.js';
|
|
13
|
+
import { d as defineCustomElement$7 } from './eds-input-search2.js';
|
|
14
|
+
import { d as defineCustomElement$6 } from './eds-input-select2.js';
|
|
15
|
+
import { d as defineCustomElement$5 } from './eds-kg-web-services-select2.js';
|
|
13
16
|
import { d as defineCustomElement$4 } from './eds-link2.js';
|
|
14
17
|
import { d as defineCustomElement$3 } from './eds-nps2.js';
|
|
15
18
|
import { d as defineCustomElement$2 } from './eds-rating2.js';
|
|
@@ -39,9 +42,31 @@ function validateField(name, value, type, required, maxLength, min, max) {
|
|
|
39
42
|
if (maxLength && typeof value === 'string' && value.length > maxLength) {
|
|
40
43
|
errors.push(`${name} must be at most ${maxLength} characters.`);
|
|
41
44
|
}
|
|
45
|
+
// Email validation
|
|
42
46
|
if (type === 'email' && value && !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(value.toString())) {
|
|
43
47
|
errors.push('Invalid email format.');
|
|
44
48
|
}
|
|
49
|
+
// URL validation
|
|
50
|
+
if (type === 'url' && value) {
|
|
51
|
+
try {
|
|
52
|
+
new URL(value.toString());
|
|
53
|
+
}
|
|
54
|
+
catch (_a) {
|
|
55
|
+
errors.push('Invalid URL format.');
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
// Tel validation - must contain at least one digit and only valid phone characters
|
|
59
|
+
if (type === 'tel' && value) {
|
|
60
|
+
const telValue = value.toString();
|
|
61
|
+
const hasDigit = /\d/.test(telValue);
|
|
62
|
+
const onlyValidChars = /^[\d\s\-\+\(\)\.]+$/.test(telValue);
|
|
63
|
+
if (!hasDigit) {
|
|
64
|
+
errors.push('Phone number must contain at least one digit.');
|
|
65
|
+
}
|
|
66
|
+
else if (!onlyValidChars) {
|
|
67
|
+
errors.push('Phone number contains invalid characters. Use only digits, spaces, +, -, (, ), or .');
|
|
68
|
+
}
|
|
69
|
+
}
|
|
45
70
|
return errors;
|
|
46
71
|
}
|
|
47
72
|
function validateFieldGroup(name, required, formEl) {
|
|
@@ -115,7 +140,6 @@ isFieldVisible) {
|
|
|
115
140
|
const errors = {};
|
|
116
141
|
let hasError = false;
|
|
117
142
|
parsedFields.forEach((field) => {
|
|
118
|
-
var _a;
|
|
119
143
|
// Only validate fields that are visible.
|
|
120
144
|
if (!isFieldVisible(field, values)) {
|
|
121
145
|
// If a field is hidden, clear its error.
|
|
@@ -154,12 +178,10 @@ isFieldVisible) {
|
|
|
154
178
|
// NPS type
|
|
155
179
|
else if (field.type === 'nps') {
|
|
156
180
|
const npsEl = findNpsElement(formEl);
|
|
157
|
-
if (npsEl
|
|
158
|
-
const raw =
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
const value = Number.isInteger(parsed) && parsed >= 0 && parsed <= 10 ? parsed : NaN;
|
|
162
|
-
if (isNaN(value)) {
|
|
181
|
+
if (npsEl) {
|
|
182
|
+
const raw = npsEl.getAttribute('selected-value');
|
|
183
|
+
const value = raw !== null ? parseInt(raw, 10) : null;
|
|
184
|
+
if (value === null || isNaN(value)) {
|
|
163
185
|
// eslint-disable-next-line
|
|
164
186
|
if (field.required) {
|
|
165
187
|
errors[field.name] = ['This field is required.'];
|
|
@@ -225,7 +247,7 @@ function getFormInitData({ initData, parsedFields, currentValues
|
|
|
225
247
|
return { updatedValues };
|
|
226
248
|
}
|
|
227
249
|
|
|
228
|
-
const edsFormCss = ".container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.flex{display:flex}.flex-col{flex-direction:column}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-body-01 b,.f-body-01 strong{font-weight:var(--f-body-01---bold-weight, bold)}.f-body-02 b,.f-body-02 strong{font-weight:var(--f-body-02---bold-weight, bold)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:
|
|
250
|
+
const edsFormCss = ".container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.flex{display:flex}.flex-col{flex-direction:column}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-body-01 b,.f-body-01 strong{font-weight:var(--f-body-01---bold-weight, bold)}.f-body-02 b,.f-body-02 strong{font-weight:var(--f-body-02---bold-weight, bold)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:600;font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:600;font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing);overflow:visible}.text-light{color:var(--grey-dark)}.rounded-xs{border-radius:4px}.rounded-sm{border-radius:8px}.border-softer{border-color:rgba(0, 0, 0, .1)}.border-2{border-width:2px}.border-t-2{border-top-width:2px}.mt-20{margin-top:1.25rem}.mt-32{margin-top:2rem}.mt-64{margin-top:4rem}.mb-32{margin-bottom:2rem}.pt-28{padding-top:1.75rem}.pt-32{padding-top:2rem}.pt-64{padding-top:4rem}.pl-8{padding-left:0.5rem}.pl-16{padding-left:1rem}.border-l-2{border-left-width:2px}.gap-y-8{row-gap:0.5rem}.gap-y-16{row-gap:1rem}.gap-y-20{row-gap:1.25rem}.gap-y-24{row-gap:1.5rem}.border-group{border-left:1px solid var(--soft-color, #ddd);padding-left:1rem}.bg-inverse{background-color:var(--white)}.form-brand{box-shadow:0 2px 12px rgba(0, 0, 0, 0.08);border-left:4px solid var(--brand-green);animation:fadeInUp 0.6s ease}@keyframes fadeInUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.shadow-hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--brand-green)}.effect-focus-within:focus-within{outline-style:solid}.relative{position:relative}.rounded-sm{border-radius:8px}.rounded-lg{border-radius:16px}.px-16{padding-left:1rem;padding-right:1rem}.pb-4{padding-bottom:0.25rem}.pb-16{padding-bottom:1rem}.p-32{padding:2rem}.mr-auto{margin-right:auto}.ml-auto{margin-left:auto}.w-full{width:100%}.justify-between{justify-content:space-between}.items-center{align-items:center}@media (min-width: 750px){.md\\:flex-row-reverse{flex-direction:row-reverse}.md\\:justify-between{justify-content:space-between}.md\\:gap-y-0{row-gap:0}.md\\:w-auto{width:auto}.md\\:mt-64{margin-top:4rem}.md\\:pt-64{padding-top:4rem}}";
|
|
229
251
|
const EdsFormStyle0 = edsFormCss;
|
|
230
252
|
|
|
231
253
|
const EdsForm$1 = /*@__PURE__*/ proxyCustomElement(class EdsForm extends HTMLElement {
|
|
@@ -241,6 +263,8 @@ const EdsForm$1 = /*@__PURE__*/ proxyCustomElement(class EdsForm extends HTMLEle
|
|
|
241
263
|
this.formBtn = true;
|
|
242
264
|
this.formBtnLabel = 'Submit';
|
|
243
265
|
this.buttonIntent = 'primary';
|
|
266
|
+
this.clearBtn = false;
|
|
267
|
+
this.clearBtnLabel = 'Clear';
|
|
244
268
|
this.errorMessage = 'Some fields in your form are incorrect.';
|
|
245
269
|
this.fields = [];
|
|
246
270
|
this.groups = [];
|
|
@@ -414,8 +438,24 @@ const EdsForm$1 = /*@__PURE__*/ proxyCustomElement(class EdsForm extends HTMLEle
|
|
|
414
438
|
formData.set('form_url', window.location.href);
|
|
415
439
|
}
|
|
416
440
|
Object.keys(this.values).forEach((key) => {
|
|
417
|
-
|
|
418
|
-
|
|
441
|
+
const value = this.values[key];
|
|
442
|
+
// Handle File arrays (from file inputs)
|
|
443
|
+
if (Array.isArray(value)) {
|
|
444
|
+
// Check if it's a File array (could be empty or have files)
|
|
445
|
+
if (value.length === 0 || value[0] instanceof File) {
|
|
446
|
+
// Append each file, or skip if empty array
|
|
447
|
+
value.forEach((file) => formData.append(key, file));
|
|
448
|
+
return;
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
// Handle single File
|
|
452
|
+
if (value instanceof File) {
|
|
453
|
+
formData.append(key, value);
|
|
454
|
+
}
|
|
455
|
+
// Handle all other values (string, number, boolean, etc.)
|
|
456
|
+
else if (value !== undefined && value !== null) {
|
|
457
|
+
formData.append(key, value);
|
|
458
|
+
}
|
|
419
459
|
});
|
|
420
460
|
// 2) Only do the (slower) DOM scan if we actually have file fields in the config
|
|
421
461
|
const hasFileField = (_a = this.parsedFields) === null || _a === void 0 ? void 0 : _a.some((f) => (f === null || f === void 0 ? void 0 : f.type) === 'file');
|
|
@@ -428,7 +468,6 @@ const EdsForm$1 = /*@__PURE__*/ proxyCustomElement(class EdsForm extends HTMLEle
|
|
|
428
468
|
return;
|
|
429
469
|
}
|
|
430
470
|
const fileInputs = Array.from(root.querySelectorAll('input[type="file"][name]'));
|
|
431
|
-
console.log(fileInputs);
|
|
432
471
|
fileInputs.forEach((fi) => {
|
|
433
472
|
const name = fi.name;
|
|
434
473
|
const files = fi.files ? Array.from(fi.files) : [];
|
|
@@ -451,33 +490,41 @@ const EdsForm$1 = /*@__PURE__*/ proxyCustomElement(class EdsForm extends HTMLEle
|
|
|
451
490
|
return formData;
|
|
452
491
|
}
|
|
453
492
|
handleChange(e, field) {
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
if (
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
493
|
+
let newValue;
|
|
494
|
+
// Check if it's a CustomEvent (from eds-input-field or eds-kg-web-services-select)
|
|
495
|
+
if (e instanceof CustomEvent && e.detail && 'value' in e.detail) {
|
|
496
|
+
newValue = e.detail.value;
|
|
497
|
+
}
|
|
498
|
+
else {
|
|
499
|
+
// Handle native events
|
|
500
|
+
const target = e.target;
|
|
501
|
+
newValue = target.value;
|
|
502
|
+
if (target.type === 'checkbox') {
|
|
503
|
+
// Get the current comma separated string or default to an empty string.
|
|
504
|
+
const currentStr = this.values[field.name] || '';
|
|
505
|
+
// Convert the string into an array. If the string is empty, we get an empty array.
|
|
506
|
+
let valuesArray = currentStr ? currentStr.split(',') : [];
|
|
507
|
+
if (target.checked) {
|
|
508
|
+
// Only add if it's not already in the array.
|
|
509
|
+
if (!valuesArray.includes(target.value)) {
|
|
510
|
+
valuesArray.push(target.value);
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
else {
|
|
514
|
+
// Remove the value from the array if the checkbox is unchecked.
|
|
515
|
+
valuesArray = valuesArray.filter((item) => item !== target.value);
|
|
465
516
|
}
|
|
517
|
+
newValue = valuesArray.join(',');
|
|
466
518
|
}
|
|
467
|
-
else {
|
|
468
|
-
|
|
469
|
-
|
|
519
|
+
else if (target.type === 'radio') {
|
|
520
|
+
if (!target.checked) {
|
|
521
|
+
return;
|
|
522
|
+
} // Only react to the selected radio
|
|
523
|
+
newValue = target.value;
|
|
470
524
|
}
|
|
471
|
-
newValue = valuesArray.join(',');
|
|
472
|
-
}
|
|
473
|
-
else if (target.type === 'radio') {
|
|
474
|
-
if (!target.checked) {
|
|
475
|
-
return;
|
|
476
|
-
} // Only react to the selected radio
|
|
477
|
-
newValue = target.value;
|
|
478
525
|
}
|
|
479
526
|
this.values = Object.assign(Object.assign({}, this.values), { [field.name]: newValue });
|
|
480
|
-
// If it
|
|
527
|
+
// If it's the password field, return here for no event emission
|
|
481
528
|
if (field.name === 'password') {
|
|
482
529
|
return;
|
|
483
530
|
}
|
|
@@ -491,17 +538,25 @@ const EdsForm$1 = /*@__PURE__*/ proxyCustomElement(class EdsForm extends HTMLEle
|
|
|
491
538
|
});
|
|
492
539
|
}
|
|
493
540
|
handleInput(e, field) {
|
|
494
|
-
|
|
495
|
-
if (
|
|
496
|
-
|
|
541
|
+
let newValue;
|
|
542
|
+
// Check if it's a CustomEvent (from eds-input-field or eds-kg-web-services-select)
|
|
543
|
+
if (e instanceof CustomEvent && e.detail && 'value' in e.detail) {
|
|
544
|
+
newValue = e.detail.value;
|
|
545
|
+
}
|
|
546
|
+
else {
|
|
547
|
+
// Handle native events
|
|
548
|
+
const target = e.target;
|
|
549
|
+
if (target.type === 'radio' && !target.checked) {
|
|
550
|
+
return;
|
|
551
|
+
}
|
|
552
|
+
newValue = target.value;
|
|
497
553
|
}
|
|
498
|
-
const newValue = target.value;
|
|
499
554
|
// Update the field's value in state.
|
|
500
|
-
//this.values = { ...this.values, [field.name]:
|
|
555
|
+
//this.values = { ...this.values, [field.name]: newValue };
|
|
501
556
|
// Create a copy of the current errors.
|
|
502
557
|
const newErrors = Object.assign({}, this.errors);
|
|
503
558
|
// Use the utility to validate the field.
|
|
504
|
-
const fieldErrors = validateInputField(field,
|
|
559
|
+
const fieldErrors = validateInputField(field, newValue, this.formEl);
|
|
505
560
|
if (fieldErrors.length > 0) {
|
|
506
561
|
newErrors[field.name] = fieldErrors;
|
|
507
562
|
}
|
|
@@ -612,6 +667,51 @@ const EdsForm$1 = /*@__PURE__*/ proxyCustomElement(class EdsForm extends HTMLEle
|
|
|
612
667
|
this.isSubmitting = false;
|
|
613
668
|
return;
|
|
614
669
|
}
|
|
670
|
+
handleClear(e) {
|
|
671
|
+
var _a, _b;
|
|
672
|
+
e === null || e === void 0 ? void 0 : e.preventDefault();
|
|
673
|
+
// Reset form element
|
|
674
|
+
this.formEl.reset();
|
|
675
|
+
// Clear values state - create new object reference to trigger re-render
|
|
676
|
+
// This will automatically reset rating and nps components through prop changes
|
|
677
|
+
this.values = Object.assign({});
|
|
678
|
+
// Clear errors
|
|
679
|
+
this.errors = {};
|
|
680
|
+
this.hasError = false;
|
|
681
|
+
// Query all input fields in the shadow DOM and manually reset them
|
|
682
|
+
// This is needed because shadow DOM isolates the fields from form.reset()
|
|
683
|
+
const inputFields = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('eds-input-field');
|
|
684
|
+
inputFields === null || inputFields === void 0 ? void 0 : inputFields.forEach((field) => {
|
|
685
|
+
var _a;
|
|
686
|
+
if (field) {
|
|
687
|
+
const inputEl = (_a = field.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('input, select, textarea');
|
|
688
|
+
if (inputEl) {
|
|
689
|
+
const inputType = inputEl.type;
|
|
690
|
+
// Handle checkboxes and radios - they need 'checked' property
|
|
691
|
+
if (inputType === 'checkbox' || inputType === 'radio') {
|
|
692
|
+
inputEl.checked = false;
|
|
693
|
+
}
|
|
694
|
+
else {
|
|
695
|
+
// Handle text, select, textarea, date, number, email, etc.
|
|
696
|
+
inputEl.value = '';
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
});
|
|
701
|
+
// Emit event
|
|
702
|
+
this.form.emit({
|
|
703
|
+
event: 'change',
|
|
704
|
+
message: 'Form cleared',
|
|
705
|
+
success: true
|
|
706
|
+
});
|
|
707
|
+
sendAnalytics({
|
|
708
|
+
category: 'ui-component',
|
|
709
|
+
parentContext: null,
|
|
710
|
+
tag: this.el.tagName.toLowerCase(),
|
|
711
|
+
name: `${(_b = this.clearBtnLabel) === null || _b === void 0 ? void 0 : _b.toLowerCase()}/clear` || '',
|
|
712
|
+
action: 'click'
|
|
713
|
+
});
|
|
714
|
+
}
|
|
615
715
|
get groupedFields() {
|
|
616
716
|
const map = {};
|
|
617
717
|
// initialize buckets for each declared group
|
|
@@ -632,7 +732,7 @@ const EdsForm$1 = /*@__PURE__*/ proxyCustomElement(class EdsForm extends HTMLEle
|
|
|
632
732
|
return map;
|
|
633
733
|
}
|
|
634
734
|
renderField(field) {
|
|
635
|
-
var _a, _b, _c;
|
|
735
|
+
var _a, _b, _c, _d;
|
|
636
736
|
if (!this.isFieldVisible(field)) {
|
|
637
737
|
return null;
|
|
638
738
|
}
|
|
@@ -643,9 +743,14 @@ const EdsForm$1 = /*@__PURE__*/ proxyCustomElement(class EdsForm extends HTMLEle
|
|
|
643
743
|
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 }))));
|
|
644
744
|
}
|
|
645
745
|
else if (field.type === 'nps') {
|
|
646
|
-
|
|
746
|
+
// pull the current value (or null)
|
|
747
|
+
const val = this.values[field.name] !== undefined ? this.values[field.name] : null;
|
|
748
|
+
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, "selected-value": val, 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] }))));
|
|
647
749
|
}
|
|
648
|
-
|
|
750
|
+
else if (field.type === 'kg-web-service') {
|
|
751
|
+
return (h("eds-kg-web-services-select", { key: field.name, name: field.name, label: field.label, "api-endpoint": field.apiEndpoint || '/api/v1/kg/web-services/cached', placeholder: field.placeholder, required: field.required, disabled: field.disabled, hint: field.hint, message: field.message, error: !!this.errors[field.name], "error-message": (_c = this.errors[field.name]) === null || _c === void 0 ? void 0 : _c.join('<br/>'), value: this.values[field.name], size: field.size || 500, onEdsinput: (e) => this.handleInput(e, field), onEdschange: (e) => this.handleChange(e, field) }));
|
|
752
|
+
}
|
|
753
|
+
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: (_d = this.errors[field.name]) === null || _d === void 0 ? void 0 : _d.join('<br/>'), options: field.options, onInput: (e) => this.handleInput(e, field), onChangeNative: (e) => this.handleChange(e, field) }));
|
|
649
754
|
}
|
|
650
755
|
async getData() {
|
|
651
756
|
return this.makeFormData();
|
|
@@ -654,13 +759,20 @@ const EdsForm$1 = /*@__PURE__*/ proxyCustomElement(class EdsForm extends HTMLEle
|
|
|
654
759
|
const hiddenFields = this.parsedFields.filter((field) => field.type === 'hidden');
|
|
655
760
|
//const otherFields = this.parsedFields.filter((field) => field.type !== 'hidden');
|
|
656
761
|
const buckets = this.groupedFields;
|
|
657
|
-
// build the
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
762
|
+
// build the styling classes based on formStyle prop
|
|
763
|
+
let styleClasses = '';
|
|
764
|
+
if (this.formStyle === 'default') {
|
|
765
|
+
styleClasses = 'bg-inverse border-softer relative rounded-xs border-2 p-32';
|
|
766
|
+
}
|
|
767
|
+
else if (this.formStyle === 'shadow') {
|
|
768
|
+
styleClasses = 'bg-inverse effect-shadow shadow-hover border-softer relative rounded-xs border-2 p-32';
|
|
769
|
+
}
|
|
770
|
+
else if (this.formStyle === 'brand') {
|
|
771
|
+
styleClasses = 'bg-inverse form-brand relative rounded-xs p-32';
|
|
772
|
+
}
|
|
773
|
+
return (h("form", { key: '5e58460e52950974cdf11001123f9ffb23dc659e', class: styleClasses, ref: (el) => (this.formEl = el), autocomplete: "on", onSubmit: this.handleSubmit }, h("div", { key: 'ff3a33e3a8d311c86712daa68c80aac767d82a9b', class: "flex flex-col gap-y-20 overflow-visible" }, this.title && (h("span", { key: 'b1f363c03074f944a8f60387a40cef6fa791b188', role: "heading", class: "f-heading-05 pb-4 block" }, this.title)), this.description && h("span", { key: '7a9b5ea5451cf59ac47ec81dd1a44c7c9e6326a3', class: "f-body-02 text-light" }, this.description), h("slot", { key: '1e50a245fa37b73149a22308fda4039051d4639c' })), hiddenFields.map((field, index) => (h("eds-input", { key: index, type: "hidden", name: field.name, value: field.value }))), this.parsedGroups
|
|
662
774
|
.filter((g) => Array.isArray(buckets[g.id]) && buckets[g.id].length > 0)
|
|
663
|
-
.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: '
|
|
775
|
+
.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: '6cd08f342c0f9004d10628827720cb641339fcd5', class: "flex flex-col mt-32 gap-y-24" }, buckets['__ungrouped'].map((f) => this.renderField(f))), (this.formBtn || this.clearBtn) && (h("div", { key: 'e8d37bedbd49c9fc94cbd2e2a887448f3764b8f9', class: "mt-32 md:mt-64 flex flex-col items-center md:flex-row-reverse md:justify-between gap-y-16 md:gap-y-0" }, this.formBtn && (h("eds-button", { key: 'ec878c5edaa87cf9bff0424b92e5c82605856e67', intent: this.buttonIntent, pill: true, label: this.formBtnLabel, disabled: this.isSubmitting, loading: this.isSubmitting, icon: 'arrow-right', size: "large", onClick: () => this.handleSubmit() })), this.clearBtn && (h("eds-button", { key: '1158dc2af47f9f523ccd2ee1435a4147fc0a646c', intent: "neutral", pill: true, size: "large", label: this.clearBtnLabel, disabled: this.isSubmitting || !this.values || Object.keys(this.values).length === 0, onClick: (e) => this.handleClear(e) }))))));
|
|
664
776
|
}
|
|
665
777
|
get el() { return this; }
|
|
666
778
|
static get watchers() { return {
|
|
@@ -676,6 +788,8 @@ const EdsForm$1 = /*@__PURE__*/ proxyCustomElement(class EdsForm extends HTMLEle
|
|
|
676
788
|
"formBtn": [4, "form-btn"],
|
|
677
789
|
"formBtnLabel": [1, "form-btn-label"],
|
|
678
790
|
"buttonIntent": [1, "button-intent"],
|
|
791
|
+
"clearBtn": [4, "clear-btn"],
|
|
792
|
+
"clearBtnLabel": [1, "clear-btn-label"],
|
|
679
793
|
"errorMessage": [1, "error-message"],
|
|
680
794
|
"fields": [1],
|
|
681
795
|
"groups": [1],
|
|
@@ -697,7 +811,7 @@ function defineCustomElement$1() {
|
|
|
697
811
|
if (typeof customElements === "undefined") {
|
|
698
812
|
return;
|
|
699
813
|
}
|
|
700
|
-
const components = ["eds-form", "eds-button", "eds-icon-wrapper", "eds-input", "eds-input-field", "eds-input-footer", "eds-input-label", "eds-input-range", "eds-input-search", "eds-input-select", "eds-link", "eds-nps", "eds-rating"];
|
|
814
|
+
const components = ["eds-form", "eds-button", "eds-icon-wrapper", "eds-input", "eds-input-dropzone", "eds-input-field", "eds-input-file", "eds-input-footer", "eds-input-label", "eds-input-range", "eds-input-search", "eds-input-select", "eds-kg-web-services-select", "eds-link", "eds-nps", "eds-rating"];
|
|
701
815
|
components.forEach(tagName => { switch (tagName) {
|
|
702
816
|
case "eds-form":
|
|
703
817
|
if (!customElements.get(tagName)) {
|
|
@@ -706,45 +820,60 @@ function defineCustomElement$1() {
|
|
|
706
820
|
break;
|
|
707
821
|
case "eds-button":
|
|
708
822
|
if (!customElements.get(tagName)) {
|
|
709
|
-
defineCustomElement$
|
|
823
|
+
defineCustomElement$g();
|
|
710
824
|
}
|
|
711
825
|
break;
|
|
712
826
|
case "eds-icon-wrapper":
|
|
713
827
|
if (!customElements.get(tagName)) {
|
|
714
|
-
defineCustomElement$
|
|
828
|
+
defineCustomElement$f();
|
|
715
829
|
}
|
|
716
830
|
break;
|
|
717
831
|
case "eds-input":
|
|
718
832
|
if (!customElements.get(tagName)) {
|
|
719
|
-
defineCustomElement$
|
|
833
|
+
defineCustomElement$e();
|
|
834
|
+
}
|
|
835
|
+
break;
|
|
836
|
+
case "eds-input-dropzone":
|
|
837
|
+
if (!customElements.get(tagName)) {
|
|
838
|
+
defineCustomElement$d();
|
|
720
839
|
}
|
|
721
840
|
break;
|
|
722
841
|
case "eds-input-field":
|
|
723
842
|
if (!customElements.get(tagName)) {
|
|
724
|
-
defineCustomElement$
|
|
843
|
+
defineCustomElement$c();
|
|
844
|
+
}
|
|
845
|
+
break;
|
|
846
|
+
case "eds-input-file":
|
|
847
|
+
if (!customElements.get(tagName)) {
|
|
848
|
+
defineCustomElement$b();
|
|
725
849
|
}
|
|
726
850
|
break;
|
|
727
851
|
case "eds-input-footer":
|
|
728
852
|
if (!customElements.get(tagName)) {
|
|
729
|
-
defineCustomElement$
|
|
853
|
+
defineCustomElement$a();
|
|
730
854
|
}
|
|
731
855
|
break;
|
|
732
856
|
case "eds-input-label":
|
|
733
857
|
if (!customElements.get(tagName)) {
|
|
734
|
-
defineCustomElement$
|
|
858
|
+
defineCustomElement$9();
|
|
735
859
|
}
|
|
736
860
|
break;
|
|
737
861
|
case "eds-input-range":
|
|
738
862
|
if (!customElements.get(tagName)) {
|
|
739
|
-
defineCustomElement$
|
|
863
|
+
defineCustomElement$8();
|
|
740
864
|
}
|
|
741
865
|
break;
|
|
742
866
|
case "eds-input-search":
|
|
743
867
|
if (!customElements.get(tagName)) {
|
|
744
|
-
defineCustomElement$
|
|
868
|
+
defineCustomElement$7();
|
|
745
869
|
}
|
|
746
870
|
break;
|
|
747
871
|
case "eds-input-select":
|
|
872
|
+
if (!customElements.get(tagName)) {
|
|
873
|
+
defineCustomElement$6();
|
|
874
|
+
}
|
|
875
|
+
break;
|
|
876
|
+
case "eds-kg-web-services-select":
|
|
748
877
|
if (!customElements.get(tagName)) {
|
|
749
878
|
defineCustomElement$5();
|
|
750
879
|
}
|
|
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/clien
|
|
|
2
2
|
import { d as defineCustomElement$3 } from './eds-icon-wrapper2.js';
|
|
3
3
|
import { d as defineCustomElement$2 } from './eds-link2.js';
|
|
4
4
|
|
|
5
|
-
const edsFrameCss = ".bg-inverse{background-color:
|
|
5
|
+
const edsFrameCss = ".bg-inverse{background-color:#FFFFFF;border:1px solid #ECECEC;color:#07140D}.min-h-156{min-height:156px}.rounded{border-radius:0.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:16px}.rounded-md{border-radius:12px}.border-soft{border-color:#ECECEC}.border-softer{border-color:#ECECEC}.border-softest{border-color:#f2f2f2}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:#00FF9D}.effect-focus-within:focus-within{outline-style:solid}.relative{position:relative}.flex{display:flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.border-2{border-width:0}.w-full{width:100%}.h-full{height:100%}.h-auto{height:auto}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.items-center{align-items:center}.justify-between{justify-content:space-between}.py-8{padding-top:0.75rem;padding-bottom:0.75rem}.px-12{padding-left:1rem;padding-right:1rem}.py-8.px-12{border-bottom:1px solid #ECECEC}.f-ui-02{font-family:'IBM Plex Sans', sans-serif;font-size:0.8125rem;font-weight:600;color:#07140D;line-height:1.4}.ml-auto{margin-left:auto}.border-t-2{border-top-width:1px;border-color:#ECECEC}.border{border:1px solid #ECECEC}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto;color:#7A7B7A}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.ml-8{margin-left:0.5rem}.mr-8{margin-right:0.5rem}.mt-16{margin-top:1rem}iframe{border-radius:0 0 12px 12px}";
|
|
6
6
|
const EdsFrameStyle0 = edsFrameCss;
|
|
7
7
|
|
|
8
8
|
const EdsFrame$1 = /*@__PURE__*/ proxyCustomElement(class EdsFrame extends HTMLElement {
|
|
@@ -15,7 +15,7 @@ const EdsFrame$1 = /*@__PURE__*/ proxyCustomElement(class EdsFrame extends HTMLE
|
|
|
15
15
|
this.urlLabel = 'Open';
|
|
16
16
|
this.errorMessage = 'Could not load the requested content. Please check the URL or try again later.';
|
|
17
17
|
this.url = undefined;
|
|
18
|
-
this.intent = '
|
|
18
|
+
this.intent = 'cta';
|
|
19
19
|
this.size = 'auto';
|
|
20
20
|
this.iframeError = false;
|
|
21
21
|
}
|
|
@@ -76,7 +76,7 @@ const EdsFrame$1 = /*@__PURE__*/ proxyCustomElement(class EdsFrame extends HTMLE
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
render() {
|
|
79
|
-
return (h("div", { key: '
|
|
79
|
+
return (h("div", { key: '0fa74cf426f9d934a035b5e3f6c9e5722c40beab', class: this.articleClasses() }, h("div", { key: '65ab4084241ce1b5337e9bfaaffb5c2aaceec28e', class: "effect-height flex items-center justify-between py-8 px-12" }, h("span", { key: 'f1cda1a4d61b47550d9d8cd08986f2253710c4ea', 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-up-right" })) : null), h("div", { key: 'e02ffe4f38f1375a0694f2acec72406824745437', 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 })))));
|
|
80
80
|
}
|
|
81
81
|
get el() { return this; }
|
|
82
82
|
static get style() { return EdsFrameStyle0; }
|