@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
|
@@ -3,7 +3,7 @@ import { d as defineCustomElement$3 } from './eds-button2.js';
|
|
|
3
3
|
import { d as defineCustomElement$2 } from './eds-icon-wrapper2.js';
|
|
4
4
|
import { d as defineCustomElement$1 } from './eds-input-label2.js';
|
|
5
5
|
|
|
6
|
-
const edsNpsCss = ".flex{display:flex}.justify-between{justify-content:space-between}.mt-4{margin-top:0.25rem}.mt-8{margin-top:0.5rem}.ml-4{margin-left:0.25rem}.mr-4{margin-right:0.25rem}.grid{display:grid}.grid-col-span-1{--container-grid-columns:1;grid-column:span 1 / span 1}.grid-cols-11{grid-template-columns:repeat(11, minmax(0, 1fr))}.grid-cols-11[class*=\"grid-line-x\"][class*=\"grid-line-x\"]>*:nth-child(n)::before{border-bottom-width:1px}.grid-cols-11[class*=\"grid-line-xfull\"]>*:nth-child(n)::before{inset-inline-start:calc(var(--inner-gutter) / -2);inset-inline-end:calc(var(--inner-gutter) / -2)}.grid-cols-11[class*=\"grid-line-x\"]>*:nth-child(11n+1)::before{inset-inline-start:0}.grid-cols-11[class*=\"grid-line-x\"]>*:nth-child(11n+11)::before{inset-inline-end:0}.grid-cols-11[class*=\"grid-line-x\"]>*:nth-child(11n+1):nth-last-child(-n+11)::before{border-bottom-width:0}.grid-cols-11[class*=\"grid-line-x\"]>*:nth-child(11n+1):nth-last-child(-n+11)~*::before{border-bottom-width:0}.grid-cols-11[class*=\"grid-line-y\"][class*=\"grid-line-y\"]>*:nth-child(n)::after{border-inline-end-width:1px}.grid-cols-11[class*=\"grid-line-y\"][class*=\"grid-line-y\"]>*:nth-child(11n+11)::after{border-inline-end-width:0}.grid-cols-11[class*=\"grid-line-y\"][class*=\"grid-line-y\"]>*:nth-child(-n+11)::after{top:0}.grid-cols-11[class*=\"grid-line-y\"][class*=\"grid-line-y\"]>*:nth-child(11n+1):nth-last-child(-n+11)::after{bottom:0}.grid-cols-11[class*=\"grid-line-y\"][class*=\"grid-line-y\"]>*:nth-child(11n+1):nth-last-child(-n+11)~li::after{bottom:0}.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-
|
|
6
|
+
const edsNpsCss = ".flex{display:flex}.justify-between{justify-content:space-between}.mt-4{margin-top:0.25rem}.mt-8{margin-top:0.5rem}.ml-4{margin-left:0.25rem}.mr-4{margin-right:0.25rem}.gap-2{gap:0.125rem}.gap-4{gap:0.25rem}.grid{display:grid}.grid-col-span-1{--container-grid-columns:1;grid-column:span 1 / span 1}.grid-cols-11{grid-template-columns:repeat(11, minmax(0, 1fr))}.grid-cols-11[class*=\"grid-line-x\"][class*=\"grid-line-x\"]>*:nth-child(n)::before{border-bottom-width:1px}.grid-cols-11[class*=\"grid-line-xfull\"]>*:nth-child(n)::before{inset-inline-start:calc(var(--inner-gutter) / -2);inset-inline-end:calc(var(--inner-gutter) / -2)}.grid-cols-11[class*=\"grid-line-x\"]>*:nth-child(11n+1)::before{inset-inline-start:0}.grid-cols-11[class*=\"grid-line-x\"]>*:nth-child(11n+11)::before{inset-inline-end:0}.grid-cols-11[class*=\"grid-line-x\"]>*:nth-child(11n+1):nth-last-child(-n+11)::before{border-bottom-width:0}.grid-cols-11[class*=\"grid-line-x\"]>*:nth-child(11n+1):nth-last-child(-n+11)~*::before{border-bottom-width:0}.grid-cols-11[class*=\"grid-line-y\"][class*=\"grid-line-y\"]>*:nth-child(n)::after{border-inline-end-width:1px}.grid-cols-11[class*=\"grid-line-y\"][class*=\"grid-line-y\"]>*:nth-child(11n+11)::after{border-inline-end-width:0}.grid-cols-11[class*=\"grid-line-y\"][class*=\"grid-line-y\"]>*:nth-child(-n+11)::after{top:0}.grid-cols-11[class*=\"grid-line-y\"][class*=\"grid-line-y\"]>*:nth-child(11n+1):nth-last-child(-n+11)::after{bottom:0}.grid-cols-11[class*=\"grid-line-y\"][class*=\"grid-line-y\"]>*:nth-child(11n+1):nth-last-child(-n+11)~li::after{bottom:0}.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-dark)}.flex-wrap{flex-wrap:wrap}";
|
|
7
7
|
const EdsNpsStyle0 = edsNpsCss;
|
|
8
8
|
|
|
9
9
|
const EdsNps = /*@__PURE__*/ proxyCustomElement(class EdsNps extends HTMLElement {
|
|
@@ -16,9 +16,8 @@ const EdsNps = /*@__PURE__*/ proxyCustomElement(class EdsNps extends HTMLElement
|
|
|
16
16
|
this.max = 10;
|
|
17
17
|
this.btnRefs = [];
|
|
18
18
|
this.onSelect = (value) => {
|
|
19
|
-
this.
|
|
19
|
+
this.internalValue = value;
|
|
20
20
|
this.nps.emit(value);
|
|
21
|
-
// Move focus to the selected button (like your rating component)
|
|
22
21
|
requestAnimationFrame(() => {
|
|
23
22
|
var _a, _b;
|
|
24
23
|
const idx = value - this.min;
|
|
@@ -33,8 +32,7 @@ const EdsNps = /*@__PURE__*/ proxyCustomElement(class EdsNps extends HTMLElement
|
|
|
33
32
|
}
|
|
34
33
|
e.preventDefault();
|
|
35
34
|
const count = this.max - this.min + 1;
|
|
36
|
-
|
|
37
|
-
let currentIdx = this.selectedValue == null ? 0 : this.selectedValue - this.min;
|
|
35
|
+
let currentIdx = this.internalValue == null ? 0 : this.internalValue - this.min;
|
|
38
36
|
switch (key) {
|
|
39
37
|
case 'ArrowRight':
|
|
40
38
|
currentIdx = Math.min(count - 1, currentIdx + 1);
|
|
@@ -61,14 +59,25 @@ const EdsNps = /*@__PURE__*/ proxyCustomElement(class EdsNps extends HTMLElement
|
|
|
61
59
|
this.leftLabel = undefined;
|
|
62
60
|
this.rightLabel = undefined;
|
|
63
61
|
this.selectedValue = null;
|
|
62
|
+
this.internalValue = null;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Watch for changes to the selectedValue prop and sync internal state.
|
|
66
|
+
*/
|
|
67
|
+
handleSelectedValueChange(newValue) {
|
|
68
|
+
this.internalValue = newValue;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Initialize internal value from prop on component load.
|
|
72
|
+
*/
|
|
73
|
+
componentWillLoad() {
|
|
74
|
+
this.internalValue = this.selectedValue;
|
|
64
75
|
}
|
|
65
76
|
/** Move visual highlight & roving tabindex; optionally commit selection */
|
|
66
77
|
setActiveByIndex(index, commit = false) {
|
|
67
78
|
var _a;
|
|
68
79
|
const value = this.min + index;
|
|
69
|
-
|
|
70
|
-
this.selectedValue = value;
|
|
71
|
-
// Focus the button host (ensure eds-button forwards focus to its inner <button>)
|
|
80
|
+
this.internalValue = value;
|
|
72
81
|
const target = this.btnRefs[index];
|
|
73
82
|
typeof (target === null || target === void 0 ? void 0 : target.focusInner) === 'function' ? target.focusInner() : (_a = target === null || target === void 0 ? void 0 : target.focus) === null || _a === void 0 ? void 0 : _a.call(target);
|
|
74
83
|
if (commit) {
|
|
@@ -77,29 +86,28 @@ const EdsNps = /*@__PURE__*/ proxyCustomElement(class EdsNps extends HTMLElement
|
|
|
77
86
|
}
|
|
78
87
|
render() {
|
|
79
88
|
const count = this.max - this.min + 1;
|
|
80
|
-
return (h("div", { key: '
|
|
89
|
+
return (h("div", { key: '932d0a62e52376c1ddaf71e8d21bf5437c2d0b9f', class: "eds-nps" }, h("eds-input-label", { key: '60f5b6849dcc53f2a0d46fa5e44499076bd46174', id: "nps-question", name: "nps-question", label: this.question }), h("div", { key: '14d032aa6dc6b2cc67189f6e11a0fc59ca420cbb', id: "nps-buttons", role: "radiogroup", "aria-labelledby": "nps-question", onKeyDown: this.handleKeyNav, class: "flex flex-wrap gap-2 my-8" }, Array.from({ length: count }, (_, i) => {
|
|
81
90
|
const val = this.min + i;
|
|
82
|
-
const isSelected = val === this.
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
// Use onClick so keyboard activation on inner <button> works natively
|
|
87
|
-
onClick: () => this.onSelect(val), tabIndex: tabIndex, intent: isSelected ? 'primary' : 'ghost', "extra-class": "!block !px-0 w-full", label: `${val}`,
|
|
88
|
-
// Optional: keep highlight in sync when tabbing into the group
|
|
89
|
-
onFocus: () => {
|
|
90
|
-
// Only move highlight on initial focus or when roving; remove if you
|
|
91
|
-
// want focus without highlight.
|
|
92
|
-
this.selectedValue = val;
|
|
91
|
+
const isSelected = val === this.internalValue;
|
|
92
|
+
const tabIndex = isSelected || (this.internalValue == null && i === 0) ? 0 : -1;
|
|
93
|
+
return (h("div", { class: "flex", key: val }, h("eds-button", { ref: (el) => (this.btnRefs[i] = el), size: "large", role: "radio", "aria-checked": isSelected ? 'true' : 'false', "aria-label": `${val}`, onClick: () => this.onSelect(val), tabIndex: tabIndex, intent: isSelected ? 'brand' : 'neutral', "extra-class": "!block !px-0 w-full", label: `${val}`, pill: true, onFocus: () => {
|
|
94
|
+
this.internalValue = val;
|
|
93
95
|
} })));
|
|
94
|
-
})), h("div", { key: '
|
|
96
|
+
})), h("div", { key: 'f1fd58c7c1003f144b816c9a1d169a2edec4a768', class: "flex justify-between mt-8" }, h("span", { key: '476a3c3b3ef1c43744b8a69e577e597fff887beb', class: "f-ui-04 text-light ml-4" }, this.leftLabel), h("span", { key: '275ec0c204781365c2e57283c1096fadb853dbe5', class: "f-ui-04 text-light mr-4" }, this.rightLabel))));
|
|
95
97
|
}
|
|
96
98
|
get el() { return this; }
|
|
99
|
+
static get watchers() { return {
|
|
100
|
+
"selectedValue": ["handleSelectedValueChange"]
|
|
101
|
+
}; }
|
|
97
102
|
static get style() { return EdsNpsStyle0; }
|
|
98
103
|
}, [1, "eds-nps", {
|
|
99
104
|
"question": [1],
|
|
100
105
|
"leftLabel": [1, "left-label"],
|
|
101
106
|
"rightLabel": [1, "right-label"],
|
|
102
|
-
"selectedValue": [
|
|
107
|
+
"selectedValue": [2, "selected-value"],
|
|
108
|
+
"internalValue": [32]
|
|
109
|
+
}, undefined, {
|
|
110
|
+
"selectedValue": ["handleSelectedValueChange"]
|
|
103
111
|
}]);
|
|
104
112
|
function defineCustomElement() {
|
|
105
113
|
if (typeof customElements === "undefined") {
|
|
@@ -246,7 +246,7 @@ const EdsPagination = /*@__PURE__*/ proxyCustomElement(class EdsPagination exten
|
|
|
246
246
|
}
|
|
247
247
|
render() {
|
|
248
248
|
const navigableIndex = -1; // Track index for keyboard navigation
|
|
249
|
-
return (h("div", { key: '
|
|
249
|
+
return (h("div", { key: '6d7dea7a6d544bf79e944dfeb80cffb2f5a0b0cb' }, this.total > 0 && this.mode === 'default' && (h("p", { key: '77da5262419978bf0806155727f64c2c957e3bb1', class: "f-ui-03 text-light mb-28 w-full text-center", "aria-live": "polite", id: "pagination-info" }, h("span", { key: '537551dfe8de1af55d3350cef4fa62f503aba3c1', class: "text-light sr-only" }, "Results:"), this.pageResults())), this.mode === 'navigator' || (this.lastPage && this.lastPage > 1) ? (h("nav", { "aria-label": "Pagination Navigation", "aria-describedby": this.mode === 'default' ? 'pagination-info' : undefined, onKeyDown: this.handleKeyDown }, h("ul", { class: "flex items-center justify-center gap-x-8", role: "list" }, h("li", { class: "mr-auto" }, this.useButtons ? (h("div", { class: "pagination-button-wrapper", onFocus: () => this.handleItemFocus(navigableIndex) }, h("eds-button", { label: this.prevLabel, disabled: this.mode === 'navigator' ? !this.prevUrl : this.isFirstPage(), "aria-label": "Go to previous page", icon: "chevron-left", "icon-pos": "left", size: "small", "icon-small": "true", intent: "secondary", "extra-class": "!p-8 lg:!pr-12 pagination-button", onClick: (event) => {
|
|
250
250
|
if (this.mode === 'default' && !this.isFirstPage()) {
|
|
251
251
|
this.handlePageClick(event, (this.currentPage || 1) - 1);
|
|
252
252
|
}
|
|
@@ -255,7 +255,7 @@ const EdsPagination = /*@__PURE__*/ proxyCustomElement(class EdsPagination exten
|
|
|
255
255
|
: this.isFirstPage()
|
|
256
256
|
? '#'
|
|
257
257
|
: this.generateLink(this.currentPage - 1).url, disabled: this.mode === 'navigator' ? !this.prevUrl : this.isFirstPage(), "aria-label": "Go to previous page", icon: "chevron-left", "icon-pos": "left", size: "small", "icon-small": "true", intent: "strong", "hide-label-on-small-screen": true, class: "!p-8 lg:!pr-12" }))), this.mode === 'default' &&
|
|
258
|
-
this.links.map((link, index) => (h("li", { key: index, class: "f-ui-02 flex h-36 items-center justify-center" }, typeof link === 'string' ? (h("span", { class: "flex items-center justify-center", "aria-hidden": "true" }, link)) : this.useButtons ? (h("div", { class: "pagination-button-wrapper", onFocus: () => this.handleItemFocus(navigableIndex) }, h("eds-button", { label: link.label, "aria-label": link.current ? `Current page, page ${link.label}` : `Go to page ${link.label}`, "aria-current": link.current ? 'page' : undefined, size: "small", "extra-class": "!p-8 pagination-button", intent: link.current ? '
|
|
258
|
+
this.links.map((link, index) => (h("li", { key: index, class: "f-ui-02 flex h-36 items-center justify-center" }, typeof link === 'string' ? (h("span", { class: "flex items-center justify-center", "aria-hidden": "true" }, link)) : this.useButtons ? (h("div", { class: "pagination-button-wrapper", onFocus: () => this.handleItemFocus(navigableIndex) }, h("eds-button", { label: link.label, "aria-label": link.current ? `Current page, page ${link.label}` : `Go to page ${link.label}`, "aria-current": link.current ? 'page' : undefined, size: "small", "extra-class": "!p-8 pagination-button", intent: link.current ? 'primary' : 'secondary', onClick: (event) => this.handlePageClick(event, parseInt(link.label)) }))) : (h("eds-link", { url: link.url, "aria-label": link.ariaLabel, label: link.label, current: link.current, "aria-current": link.current ? 'page' : undefined, size: "small", class: "!p-8", intent: link.current ? 'primary' : 'secondary', onClick: (event) => this.handlePageClick(event, parseInt(link.label)) }))))), h("li", { class: "ml-auto" }, this.useButtons ? (h("div", { class: "pagination-button-wrapper", onFocus: () => this.handleItemFocus(navigableIndex) }, h("eds-button", { label: this.nextLabel, disabled: this.mode === 'navigator' ? !this.nextUrl : this.isLastPage(), "aria-label": "Go to next page", size: "small", "icon-small": "true", icon: "chevron-right", intent: "secondary", "extra-class": "!p-8 lg:!pl-12 pagination-button", onClick: (event) => {
|
|
259
259
|
if (this.mode === 'default' && !this.isLastPage()) {
|
|
260
260
|
this.handlePageClick(event, (this.currentPage || 1) + 1);
|
|
261
261
|
}
|
|
@@ -51,7 +51,7 @@ const EdsPie$1 = /*@__PURE__*/ proxyCustomElement(class EdsPie extends HTMLEleme
|
|
|
51
51
|
const angle = (s.value / total) * 360;
|
|
52
52
|
const start = cumulative, end = cumulative + angle;
|
|
53
53
|
cumulative = end;
|
|
54
|
-
const color = s.color || palette.shift() || '
|
|
54
|
+
const color = s.color || palette.shift() || '#8c8c8c';
|
|
55
55
|
return Object.assign(Object.assign({}, s), { start, end, color });
|
|
56
56
|
});
|
|
57
57
|
const diameter = this.size;
|
|
@@ -66,7 +66,7 @@ const EdsPie$1 = /*@__PURE__*/ proxyCustomElement(class EdsPie extends HTMLEleme
|
|
|
66
66
|
const ariaLabel = processed
|
|
67
67
|
.map((s) => `${s.label}: ${this.display === 'percent' ? `${Math.round((s.value / total) * 100)}%` : s.value}`)
|
|
68
68
|
.join(', ');
|
|
69
|
-
return (h(Host, null, h("div", { class: "wrapper" }, h("svg", { width: diameter, height: diameter, role: "img", "aria-label": `Pie chart: ${ariaLabel}`, class: "pie-chart" }, h("title", null, "Pie chart"), h("g", null, processed.map((s) => (h("path", { key: s.id, d: this.describeArc(radius, radius, outerRadius, s.start, s.end), fill: s.color }))), innerRadius > 0 && h("circle", { cx: radius, cy: radius, r: innerRadius, fill: "
|
|
69
|
+
return (h(Host, null, h("div", { class: "wrapper" }, h("svg", { width: diameter, height: diameter, role: "img", "aria-label": `Pie chart: ${ariaLabel}`, class: "pie-chart" }, h("title", null, "Pie chart"), h("g", null, processed.map((s) => (h("path", { key: s.id, d: this.describeArc(radius, radius, outerRadius, s.start, s.end), fill: s.color }))), innerRadius > 0 && h("circle", { cx: radius, cy: radius, r: innerRadius, fill: "#FFFFFF" }), processed.map((s) => {
|
|
70
70
|
const midAngle = s.start + (s.end - s.start) / 2;
|
|
71
71
|
const { x, y } = this.polarToCartesian(radius, radius, labelRadius, midAngle);
|
|
72
72
|
const text = this.display === 'percent' ? `${Math.round((s.value / total) * 100)}%` : String(s.value);
|
|
@@ -85,26 +85,26 @@ const EdsPie$1 = /*@__PURE__*/ proxyCustomElement(class EdsPie extends HTMLEleme
|
|
|
85
85
|
EdsPie$1.MAX_SLICES = 9;
|
|
86
86
|
EdsPie$1.PALETTES = {
|
|
87
87
|
semantic: [
|
|
88
|
-
'
|
|
89
|
-
'
|
|
90
|
-
'
|
|
91
|
-
'
|
|
92
|
-
'
|
|
93
|
-
'
|
|
94
|
-
'
|
|
95
|
-
'
|
|
96
|
-
'
|
|
88
|
+
'#00e766', // green-500
|
|
89
|
+
'#666666', // grey-700
|
|
90
|
+
'#00c959', // green-600
|
|
91
|
+
'#8c8c8c', // grey-500
|
|
92
|
+
'#63fb92', // green-400
|
|
93
|
+
'#d8d8d8', // grey-400
|
|
94
|
+
'#9dffb4', // green-300
|
|
95
|
+
'#e6e6e6', // grey-300
|
|
96
|
+
'#d3ffdc', // green-200
|
|
97
97
|
],
|
|
98
98
|
mono: [
|
|
99
|
-
'
|
|
100
|
-
'
|
|
101
|
-
'
|
|
102
|
-
'
|
|
103
|
-
'
|
|
104
|
-
'
|
|
105
|
-
'
|
|
106
|
-
'
|
|
107
|
-
'
|
|
99
|
+
'#666666', // grey-700
|
|
100
|
+
'#8c8c8c', // grey-500
|
|
101
|
+
'#e6e6e6', // grey-300
|
|
102
|
+
'#f8f8f8', // grey-100
|
|
103
|
+
'#4d4d4d', // grey-800
|
|
104
|
+
'#6e6e6e', // grey-600
|
|
105
|
+
'#d8d8d8', // grey-400
|
|
106
|
+
'#f2f2f2', // grey-200
|
|
107
|
+
'#242424', // grey-900
|
|
108
108
|
]
|
|
109
109
|
};
|
|
110
110
|
function defineCustomElement$1() {
|
|
@@ -1,4 +1,83 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
|
|
3
|
+
const edsProgressBarCss = ".w-full{width:100%}.h-full{height:100%}.bg-default{background-color:var(--grey-light)}.rounded-lg{border-radius:16px}.h-24{height:1.5rem}.border{border-width:1px}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.overflow-hidden{overflow:hidden}.bg-accent{background-color:var(--brand-green)}.bg-\\[\\#0034CB\\]{--tw-text-opacity:1;background-color:rgb(0 52 203 / var(--tw-text-opacity))}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.duration-300{transition-duration:300ms}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.text-default{color:var(--brand-black)}.text-inverse{color:var(--white)}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.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-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.absolute{position:absolute}.relative{position:relative}.z-0{z-index:0}.z-10{z-index:10}.inset-0{inset:0rem}.pointer-events-none{pointer-events:none}.brand-gradient{background:linear-gradient(90deg, var(--brand-green-dark) 0%, var(--brand-green) 100%)}.brand-glow{box-shadow:0 0 8px rgba(0, 255, 157, 0.5)}.transition-width{transition:width 0.5s cubic-bezier(0.4, 0, 0.2, 1)}.h-10{height:10px}.mb-12{margin-bottom:0.75rem}.bg-inverse{background-color:var(--white)}.bg-grey-light{background-color:var(--grey-light)}.bg-brand-black{background-color:var(--brand-black)}.text-brand-green-dark{color:var(--brand-green-dark)}.justify-start{justify-content:flex-start}.px-48{padding-left:3rem;padding-right:3rem}.pt-16{padding-top:1rem}.pb-12{padding-bottom:0.75rem}.items-center{align-items:center}";
|
|
4
|
+
const EdsProgressBarStyle0 = edsProgressBarCss;
|
|
5
|
+
|
|
6
|
+
const EdsProgressBar$1 = /*@__PURE__*/ proxyCustomElement(class EdsProgressBar extends HTMLElement {
|
|
7
|
+
constructor() {
|
|
8
|
+
super();
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
this.__attachShadow();
|
|
11
|
+
this.value = 0;
|
|
12
|
+
this.showLabel = false;
|
|
13
|
+
this.variant = 'default';
|
|
14
|
+
this.labelPaddingX = '3rem';
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Method to update the progress value externally.
|
|
18
|
+
* @param newValue The new progress value (0-100).
|
|
19
|
+
*/
|
|
20
|
+
async updateValue(newValue) {
|
|
21
|
+
this.value = Math.min(100, Math.max(0, newValue)); // Clamp 0–100
|
|
22
|
+
}
|
|
23
|
+
render() {
|
|
24
|
+
const progressValue = Math.min(100, Math.max(0, this.value));
|
|
25
|
+
const isBrand = this.variant === 'brand';
|
|
26
|
+
if (isBrand) {
|
|
27
|
+
// Build inline styles for label container with custom padding
|
|
28
|
+
const labelContainerStyle = {
|
|
29
|
+
paddingLeft: this.labelPaddingX,
|
|
30
|
+
paddingRight: this.labelPaddingX
|
|
31
|
+
};
|
|
32
|
+
// Brand style - minimal container with gradient fill and top-aligned text
|
|
33
|
+
return (h("div", { class: "w-full" }, this.showLabel && (h("div", { class: "flex items-center pt-16 pb-12 bg-inverse", style: labelContainerStyle }, h("span", { class: "f-ui-03 text-brand-green-dark" }, "Progress: ", progressValue, "%"))), h("div", { role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": progressValue, "aria-valuetext": `${progressValue}%`, class: "w-full h-10 bg-grey-light overflow-hidden relative" }, h("div", { class: "h-full brand-gradient brand-glow transition-width", style: { width: `${progressValue}%` } }))));
|
|
34
|
+
}
|
|
35
|
+
// Default style - original implementation
|
|
36
|
+
const outerClasses = [
|
|
37
|
+
'outer',
|
|
38
|
+
'w-full',
|
|
39
|
+
'h-24',
|
|
40
|
+
'bg-default',
|
|
41
|
+
'border',
|
|
42
|
+
'border-softer',
|
|
43
|
+
'overflow-hidden',
|
|
44
|
+
'relative'
|
|
45
|
+
]
|
|
46
|
+
.filter(Boolean)
|
|
47
|
+
.join(' ');
|
|
48
|
+
const fillClasses = [
|
|
49
|
+
'inner',
|
|
50
|
+
'h-full',
|
|
51
|
+
'transition-all',
|
|
52
|
+
'duration-300',
|
|
53
|
+
'bg-accent',
|
|
54
|
+
'z-0'
|
|
55
|
+
]
|
|
56
|
+
.filter(Boolean)
|
|
57
|
+
.join(' ');
|
|
58
|
+
return (h("div", { role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": progressValue, "aria-valuetext": `${progressValue}%`, class: outerClasses }, h("div", { class: fillClasses, style: { width: `${progressValue}%` } }), h("div", { class: "absolute inset-0 flex items-center justify-center pointer-events-none z-10" }, h("span", { class: "text-default f-ui-01" }, progressValue, "%"))));
|
|
59
|
+
}
|
|
60
|
+
static get style() { return EdsProgressBarStyle0; }
|
|
61
|
+
}, [1, "eds-progress-bar", {
|
|
62
|
+
"value": [1026],
|
|
63
|
+
"showLabel": [4, "show-label"],
|
|
64
|
+
"variant": [1],
|
|
65
|
+
"labelPaddingX": [1, "label-padding-x"],
|
|
66
|
+
"updateValue": [64]
|
|
67
|
+
}]);
|
|
68
|
+
function defineCustomElement$1() {
|
|
69
|
+
if (typeof customElements === "undefined") {
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
const components = ["eds-progress-bar"];
|
|
73
|
+
components.forEach(tagName => { switch (tagName) {
|
|
74
|
+
case "eds-progress-bar":
|
|
75
|
+
if (!customElements.get(tagName)) {
|
|
76
|
+
customElements.define(tagName, EdsProgressBar$1);
|
|
77
|
+
}
|
|
78
|
+
break;
|
|
79
|
+
} });
|
|
80
|
+
}
|
|
2
81
|
|
|
3
82
|
const EdsProgressBar = EdsProgressBar$1;
|
|
4
83
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/i
|
|
|
2
2
|
import { d as defineCustomElement$2 } from './eds-button2.js';
|
|
3
3
|
import { d as defineCustomElement$1 } from './eds-icon-wrapper2.js';
|
|
4
4
|
|
|
5
|
-
const edsRatingCss = ":host{display:inline-block}.block{display:block}.stars{display:flex;gap:0.25rem;cursor:pointer}.star{color:var(--star-empty-color, #ccc);transition:color 0.2s ease-in-out}.star.filled{color:var(--green
|
|
5
|
+
const edsRatingCss = ":host{display:inline-block}.block{display:block}.stars{display:flex;gap:0.25rem;cursor:pointer}.star{color:var(--star-empty-color, #ccc);transition:color 0.2s ease-in-out}.star.filled{color:var(--brand-green);}.star:hover,.star.filled:hover{transform:scale(1.2)}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.mt-4{margin-top:0.25rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.my-4{margin-top:0.25rem;margin-bottom:0.25rem}.my-8{margin-top:0.5rem;margin-bottom:0.5rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.0625rem * var(--tw-space-x-reverse));margin-left:calc(0.0625rem * calc(1 - var(--tw-space-x-reverse)))}";
|
|
6
6
|
const EdsRatingStyle0 = edsRatingCss;
|
|
7
7
|
|
|
8
8
|
const EdsRating = /*@__PURE__*/ proxyCustomElement(class EdsRating extends HTMLElement {
|
|
@@ -15,6 +15,19 @@ const EdsRating = /*@__PURE__*/ proxyCustomElement(class EdsRating extends HTMLE
|
|
|
15
15
|
this.ratingType = 'star';
|
|
16
16
|
this.ratingCount = 5;
|
|
17
17
|
this.selectedRating = 0;
|
|
18
|
+
this.internalRating = 0;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Watch for changes to the selectedRating prop and sync internal state.
|
|
22
|
+
*/
|
|
23
|
+
handleSelectedRatingChange(newValue) {
|
|
24
|
+
this.internalRating = newValue;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Initialize internal rating from prop on component load.
|
|
28
|
+
*/
|
|
29
|
+
componentWillLoad() {
|
|
30
|
+
this.internalRating = this.selectedRating;
|
|
18
31
|
}
|
|
19
32
|
/**
|
|
20
33
|
* Lifecycle method that runs when the component has fully loaded.
|
|
@@ -36,7 +49,7 @@ const EdsRating = /*@__PURE__*/ proxyCustomElement(class EdsRating extends HTMLE
|
|
|
36
49
|
const event = new CustomEvent('parentContext', {
|
|
37
50
|
detail: {
|
|
38
51
|
componentName: this.el.tagName.toLowerCase(),
|
|
39
|
-
identifier: this.
|
|
52
|
+
identifier: this.internalRating
|
|
40
53
|
}
|
|
41
54
|
});
|
|
42
55
|
btnElement.dispatchEvent(event);
|
|
@@ -46,7 +59,7 @@ const EdsRating = /*@__PURE__*/ proxyCustomElement(class EdsRating extends HTMLE
|
|
|
46
59
|
* @param rating - The selected rating value.
|
|
47
60
|
*/
|
|
48
61
|
onSelect(rating) {
|
|
49
|
-
this.
|
|
62
|
+
this.internalRating = rating;
|
|
50
63
|
this.rating.emit(rating);
|
|
51
64
|
setTimeout(() => {
|
|
52
65
|
const btn = this.buttonRefs[rating - 1];
|
|
@@ -60,7 +73,7 @@ const EdsRating = /*@__PURE__*/ proxyCustomElement(class EdsRating extends HTMLE
|
|
|
60
73
|
}
|
|
61
74
|
e.preventDefault();
|
|
62
75
|
const increment = key === 'ArrowRight' || key === 'ArrowDown' ? 1 : -1;
|
|
63
|
-
let next = (this.
|
|
76
|
+
let next = (this.internalRating || 1) + increment;
|
|
64
77
|
if (next > this.ratingCount) {
|
|
65
78
|
next = 1;
|
|
66
79
|
}
|
|
@@ -70,21 +83,26 @@ const EdsRating = /*@__PURE__*/ proxyCustomElement(class EdsRating extends HTMLE
|
|
|
70
83
|
this.onSelect(next);
|
|
71
84
|
}
|
|
72
85
|
render() {
|
|
73
|
-
return (h("div", { key: '
|
|
86
|
+
return (h("div", { key: '89671afe2d02d527001009ee83fb0d4e48550479', id: "rating-buttons", role: "group", "aria-labelledby": "rating", class: "stars flex space-x-1 my-8", onKeyDown: (e) => this.handleKeyNav(e) }, Array.from({ length: this.ratingCount }, (_, index) => {
|
|
74
87
|
const starRating = index + 1;
|
|
75
|
-
const isSelected = starRating <= this.
|
|
88
|
+
const isSelected = starRating <= this.internalRating;
|
|
76
89
|
// Use the mapping text if available; otherwise, fall back to a generic label.
|
|
77
|
-
const checked = this.
|
|
78
|
-
return (h("eds-button", { ref: (el) => (this.buttonRefs[index] = el), icon: this.ratingType, "aria-label": `${starRating} ${this.ratingType}${starRating > 1 ? 's' : ''}`, onClick: () => this.onSelect(starRating), tabIndex: checked || (this.
|
|
79
|
-
}));
|
|
90
|
+
const checked = this.internalRating === starRating;
|
|
91
|
+
return (h("eds-button", { ref: (el) => (this.buttonRefs[index] = el), icon: this.ratingType, "aria-label": `${starRating} ${this.ratingType}${starRating > 1 ? 's' : ''}`, onClick: () => this.onSelect(starRating), tabIndex: checked || (this.internalRating === 0 && index === 0) ? 0 : -1, intent: isSelected ? 'brand' : 'neutral', size: "large" }));
|
|
80
92
|
})));
|
|
81
93
|
}
|
|
82
94
|
get el() { return this; }
|
|
95
|
+
static get watchers() { return {
|
|
96
|
+
"selectedRating": ["handleSelectedRatingChange"]
|
|
97
|
+
}; }
|
|
83
98
|
static get style() { return EdsRatingStyle0; }
|
|
84
99
|
}, [1, "eds-rating", {
|
|
85
100
|
"ratingType": [1, "rating-type"],
|
|
86
101
|
"ratingCount": [2, "rating-count"],
|
|
87
|
-
"selectedRating": [
|
|
102
|
+
"selectedRating": [2, "selected-rating"],
|
|
103
|
+
"internalRating": [32]
|
|
104
|
+
}, undefined, {
|
|
105
|
+
"selectedRating": ["handleSelectedRatingChange"]
|
|
88
106
|
}]);
|
|
89
107
|
function defineCustomElement() {
|
|
90
108
|
if (typeof customElements === "undefined") {
|
|
@@ -15,7 +15,7 @@ const EdsSectionCore = /*@__PURE__*/ proxyCustomElement(class EdsSectionCore ext
|
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
17
|
const TagType = this.tag; // Set dynamic tag type (div or section)
|
|
18
|
-
return (h(TagType, { key: '
|
|
18
|
+
return (h(TagType, { key: '65cb765fe9b997b5e573f5befd4ca1ea6611f1c5' }, h("eds-section-heading", { key: 'a48c9fef0a45fbed08749e8b4f17d762d38bbb5b', headingLevel: this.headingLevel, sectionTitle: this.sectionTitle }), h("slot", { key: '7e26bc40132c32670db60f5765b412d00d64c129' })));
|
|
19
19
|
}
|
|
20
20
|
static get style() { return EdsSectionCoreStyle0; }
|
|
21
21
|
}, [1, "eds-section-core", {
|
|
@@ -26,12 +26,12 @@ const EdsSectionHeading = /*@__PURE__*/ proxyCustomElement(class EdsSectionHeadi
|
|
|
26
26
|
render() {
|
|
27
27
|
const TagType = this.tag; // Dynamically set tag type for the container
|
|
28
28
|
const HeadingTag = this.headingLevel; // Dynamically set heading level
|
|
29
|
-
return (h(TagType, { key: '
|
|
29
|
+
return (h(TagType, { key: '032f8629ef5ea1c45f40a135a54c32337f7181e9', class: {
|
|
30
30
|
'ui-section-header flex flex-wrap items-center justify-between gap-x-12 gap-y-8': true,
|
|
31
31
|
container: this.withContainer,
|
|
32
32
|
'pt-48': this.spacingLarge,
|
|
33
33
|
'pt-28': !this.spacingLarge
|
|
34
|
-
} }, h(HeadingTag, { key: '
|
|
34
|
+
} }, h(HeadingTag, { key: '37f821426fe05dba66445745da3d23c9ff75345e', class: this.getHeadingClass() }, this.sectionTitle)));
|
|
35
35
|
}
|
|
36
36
|
}, [0, "eds-section-heading", {
|
|
37
37
|
"sectionTitle": [1, "section-title"],
|
|
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/
|
|
|
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 edsSidebarCss = ":host{display:block;width:100%;height:100%;overflow-y:auto;overflow-x:hidden;transition:width 0.3s ease}:host(.collapsed){width:4rem}:host::-webkit-scrollbar{width:8px}:host::-webkit-scrollbar-track{background:transparent}:host::-webkit-scrollbar-thumb{background:rgba(0, 0, 0, 0.2);border-radius:4px}:host::-webkit-scrollbar-thumb:hover{background:rgba(0, 0, 0, 0.3)}.sidebar-nav{padding:0.5rem 0}.sidebar-header{display:flex;justify-content:flex-end;padding:0.5rem 0.75rem;margin-bottom:0.5rem}:host(.collapsed) .sidebar-header{justify-content:center;padding:0.5rem}.collapse-toggle{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;background:none;border:none;cursor:pointer;padding:0;border-radius:0.375rem;transition:background-color 0.15s ease;color:inherit}.collapse-toggle:hover{background-color:rgba(0, 0, 0, 0.08)}.collapse-toggle:focus-visible{outline:2px solid var(--eds-focus-color, #0066cc);outline-offset:2px}.sidebar-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:0.125rem}.sidebar-item{display:flex;flex-direction:column}.sidebar-item-content{display:flex;align-items:center;gap:0.5rem;padding:0.5rem 0.75rem;cursor:pointer;user-select:none;word-break:break-word;transition:background-color 0.15s ease;border-radius:0.375rem;margin:0 0.5rem;position:relative}:host(.collapsed) .sidebar-item-content{justify-content:center;padding:0.75rem;margin:0 0.5rem}.sidebar-item-content:hover{background-color:rgba(0, 0, 0, 0.04)}.sidebar-item-content:focus-visible{outline:2px solid var(--eds-focus-color, #0066cc);outline-offset:-2px;z-index:1}.sidebar-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:1.25rem;height:1.25rem}.sidebar-content-wrapper{display:flex;align-items:center;gap:0.5rem;flex:1;min-width:0}.sidebar-toggle{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:1.25rem;height:1.25rem;padding:0;margin:-0.125rem 0;pointer-events:none}.sidebar-link-wrapper{flex:1;min-width:0;pointer-events:none}.sidebar-link{font-weight:400;pointer-events:none}.sidebar-children{list-style:none;margin:0.25rem 0 0 0;padding:0;display:flex;flex-direction:column;gap:0.125rem;overflow:hidden;animation:slideDown 0.2s ease}@keyframes slideDown{from{opacity:0;transform:translateY(-0.25rem)}to{opacity:1;transform:translateY(0)}}.sidebar-item.level-0 .sidebar-item-content{padding-left:0.75rem}:host(.collapsed) .sidebar-item.level-0 .sidebar-item-content{padding-left:0.75rem}.sidebar-item.level-1 .sidebar-item-content{padding-left:2rem}.sidebar-item.level-2 .sidebar-item-content{padding-left:3.25rem}.sidebar-item.level-3 .sidebar-item-content{padding-left:4.5rem}.sidebar-item.level-4 .sidebar-item-content{padding-left:5.75rem}.sidebar-item.level-5 .sidebar-item-content{padding-left:7rem}:host(.theme-default) .sidebar-item-content{border-radius:0.375rem;margin:0 0.5rem;padding:0.5rem 0.75rem}:host(.theme-default.collapsed) .sidebar-item-content{margin:0 0.5rem;border-radius:0.375rem}:host(.theme-default) .sidebar-item-content:hover{background-color:rgba(0, 0, 0, 0.04)}:host(.theme-default) .sidebar-item.active>.sidebar-item-content{background-color:transparent}:host(.theme-default) .sidebar-item.active>.sidebar-item-content .sidebar-link{font-weight:600}:host(.theme-default) .sidebar-item.level-0 .sidebar-item-content{padding-left:0.75rem}:host(.theme-default) .sidebar-item.level-1 .sidebar-item-content{padding-left:2rem}:host(.theme-default) .sidebar-item.level-2 .sidebar-item-content{padding-left:3.25rem}:host(.theme-default) .sidebar-item.level-3 .sidebar-item-content{padding-left:4.5rem}:host(.theme-default) .sidebar-item.level-4 .sidebar-item-content{padding-left:5.75rem}:host(.theme-minimal) .sidebar-item-content{border-radius:0;margin:0;padding-left:1rem;padding-right:1rem}:host(.theme-minimal.collapsed) .sidebar-item-content{margin:0 0.25rem;border-radius:0.375rem}:host(.theme-minimal) .sidebar-item-content:hover{background-color:var(--
|
|
5
|
+
const edsSidebarCss = ":host{display:block;width:100%;height:100%;overflow-y:auto;overflow-x:hidden;transition:width 0.3s ease}:host(.collapsed){width:4rem}:host::-webkit-scrollbar{width:8px}:host::-webkit-scrollbar-track{background:transparent}:host::-webkit-scrollbar-thumb{background:rgba(0, 0, 0, 0.2);border-radius:4px}:host::-webkit-scrollbar-thumb:hover{background:rgba(0, 0, 0, 0.3)}.sidebar-nav{padding:0.5rem 0}.sidebar-header{display:flex;justify-content:flex-end;padding:0.5rem 0.75rem;margin-bottom:0.5rem}:host(.collapsed) .sidebar-header{justify-content:center;padding:0.5rem}.collapse-toggle{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;background:none;border:none;cursor:pointer;padding:0;border-radius:0.375rem;transition:background-color 0.15s ease;color:inherit}.collapse-toggle:hover{background-color:rgba(0, 0, 0, 0.08)}.collapse-toggle:focus-visible{outline:2px solid var(--eds-focus-color, #0066cc);outline-offset:2px}.sidebar-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:0.125rem}.sidebar-item{display:flex;flex-direction:column}.sidebar-item-content{display:flex;align-items:center;gap:0.5rem;padding:0.5rem 0.75rem;cursor:pointer;user-select:none;word-break:break-word;transition:background-color 0.15s ease;border-radius:0.375rem;margin:0 0.5rem;position:relative}:host(.collapsed) .sidebar-item-content{justify-content:center;padding:0.75rem;margin:0 0.5rem}.sidebar-item-content:hover{background-color:rgba(0, 0, 0, 0.04)}.sidebar-item-content:focus-visible{outline:2px solid var(--eds-focus-color, #0066cc);outline-offset:-2px;z-index:1}.sidebar-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:1.25rem;height:1.25rem}.sidebar-content-wrapper{display:flex;align-items:center;gap:0.5rem;flex:1;min-width:0}.sidebar-toggle{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:1.25rem;height:1.25rem;padding:0;margin:-0.125rem 0;pointer-events:none}.sidebar-link-wrapper{flex:1;min-width:0;pointer-events:none}.sidebar-link{font-weight:400;pointer-events:none}.sidebar-children{list-style:none;margin:0.25rem 0 0 0;padding:0;display:flex;flex-direction:column;gap:0.125rem;overflow:hidden;animation:slideDown 0.2s ease}@keyframes slideDown{from{opacity:0;transform:translateY(-0.25rem)}to{opacity:1;transform:translateY(0)}}.sidebar-item.level-0 .sidebar-item-content{padding-left:0.75rem}:host(.collapsed) .sidebar-item.level-0 .sidebar-item-content{padding-left:0.75rem}.sidebar-item.level-1 .sidebar-item-content{padding-left:2rem}.sidebar-item.level-2 .sidebar-item-content{padding-left:3.25rem}.sidebar-item.level-3 .sidebar-item-content{padding-left:4.5rem}.sidebar-item.level-4 .sidebar-item-content{padding-left:5.75rem}.sidebar-item.level-5 .sidebar-item-content{padding-left:7rem}:host(.theme-default) .sidebar-item-content{border-radius:0.375rem;margin:0 0.5rem;padding:0.5rem 0.75rem}:host(.theme-default.collapsed) .sidebar-item-content{margin:0 0.5rem;border-radius:0.375rem}:host(.theme-default) .sidebar-item-content:hover{background-color:rgba(0, 0, 0, 0.04)}:host(.theme-default) .sidebar-item.active>.sidebar-item-content{background-color:transparent}:host(.theme-default) .sidebar-item.active>.sidebar-item-content .sidebar-link{font-weight:600}:host(.theme-default) .sidebar-item.level-0 .sidebar-item-content{padding-left:0.75rem}:host(.theme-default) .sidebar-item.level-1 .sidebar-item-content{padding-left:2rem}:host(.theme-default) .sidebar-item.level-2 .sidebar-item-content{padding-left:3.25rem}:host(.theme-default) .sidebar-item.level-3 .sidebar-item-content{padding-left:4.5rem}:host(.theme-default) .sidebar-item.level-4 .sidebar-item-content{padding-left:5.75rem}:host(.theme-minimal) .sidebar-item-content{border-radius:0;margin:0;padding-left:1rem;padding-right:1rem}:host(.theme-minimal.collapsed) .sidebar-item-content{margin:0 0.25rem;border-radius:0.375rem}:host(.theme-minimal) .sidebar-item-content:hover{background-color:rgba(0, 255, 157, 0.05);color:var(--brand-black, #07140D)}:host(.theme-minimal) .sidebar-item.active>.sidebar-item-content{background-color:rgba(0, 255, 157, 0.1);border-left:3px solid var(--brand-green-dark, #00C87B);padding-left:calc(1rem - 3px);color:var(--brand-black, #07140D);font-weight:500}:host(.theme-minimal.collapsed) .sidebar-item.active>.sidebar-item-content{border-left:none;border-radius:0.375rem;padding-left:0.75rem;background-color:rgba(0, 255, 157, 0.1);color:var(--brand-black, #07140D)}:host(.theme-minimal) .sidebar-item.level-1.active>.sidebar-item-content{padding-left:calc(2rem - 3px)}:host(.theme-minimal) .sidebar-item.level-2.active>.sidebar-item-content{padding-left:calc(3.25rem - 3px)}:host(.theme-minimal) .sidebar-item.level-3.active>.sidebar-item-content{padding-left:calc(4.5rem - 3px)}:host(.theme-minimal) .sidebar-item.level-4.active>.sidebar-item-content{padding-left:calc(5.75rem - 3px)}:host(.theme-minimal) .sidebar-item.level-0 .sidebar-item-content{padding-left:1rem}:host(.theme-minimal) .sidebar-item.level-1 .sidebar-item-content{padding-left:2rem}:host(.theme-minimal) .sidebar-item.level-2 .sidebar-item-content{padding-left:3.25rem}:host(.theme-minimal) .sidebar-item.level-3 .sidebar-item-content{padding-left:4.5rem}:host(.theme-minimal) .sidebar-item.level-4 .sidebar-item-content{padding-left:5.75rem}:host(.theme-minimal) .sidebar-children{position:relative}:host(.theme-ebrains) .sidebar-item-content{padding:0.5rem 1rem;border-radius:0.5rem;margin:0 0.5rem}:host(.theme-ebrains.collapsed) .sidebar-item-content{padding:0.75rem}:host(.theme-ebrains) .sidebar-item-content:hover{background-color:rgba(0, 0, 0, 0.05)}:host(.theme-ebrains) .sidebar-item.active>.sidebar-item-content{background-color:var(--brand-green-dark, #22c55e);color:white}:host(.theme-ebrains) .sidebar-item.active>.sidebar-item-content .sidebar-link{--eds-link-color:white;--eds-link-hover-color:white}:host(.theme-ebrains) .sidebar-item.active>.sidebar-item-content .sidebar-toggle{color:white}:host(.theme-ebrains) .sidebar-item.active>.sidebar-item-content .sidebar-icon{color:white}:host(.theme-ebrains) .sidebar-item.level-0 .sidebar-item-content{padding-left:1rem}:host(.theme-ebrains) .sidebar-item.level-1 .sidebar-item-content{padding-left:2.25rem}:host(.theme-ebrains) .sidebar-item.level-2 .sidebar-item-content{padding-left:3.5rem}:host(.theme-ebrains) .sidebar-item.level-3 .sidebar-item-content{padding-left:4.75rem}:host(.theme-ebrains) .sidebar-item.level-4 .sidebar-item-content{padding-left:6rem}@media (prefers-color-scheme: dark){.collapse-toggle:hover{background-color:rgba(255, 255, 255, 0.08)}:host(.theme-default) .sidebar-item-content:hover{background-color:rgba(255, 255, 255, 0.05)}:host(.theme-default) .sidebar-item.active>.sidebar-item-content{background-color:rgba(0, 102, 204, 0.15)}:host(.theme-minimal) .sidebar-item-content:hover{background-color:rgba(255, 255, 255, 0.06)}:host::-webkit-scrollbar-thumb{background:rgba(255, 255, 255, 0.2)}:host::-webkit-scrollbar-thumb:hover{background:rgba(255, 255, 255, 0.3)}}.sidebar-toggle eds-icon-wrapper,.sidebar-icon eds-icon-wrapper,.collapse-toggle eds-icon-wrapper{transition:transform 0.15s ease;display:flex;align-items:center;justify-content:center}.sidebar-item-content:focus-visible .sidebar-link{text-decoration:underline}.sidebar-item.active>.sidebar-item-content .sidebar-link{font-weight:500}:host(.collapsed) .sidebar-item-content::after{content:attr(title);position:absolute;left:100%;top:50%;transform:translateY(-50%);margin-left:0.5rem;padding:0.5rem 0.75rem;background:rgba(0, 0, 0, 0.9);color:white;border-radius:0.375rem;white-space:nowrap;font-size:0.875rem;opacity:0;pointer-events:none;transition:opacity 0.2s ease;z-index:1000}:host(.collapsed) .sidebar-item-content:hover::after{opacity:1;transition-delay:0.3s}.-ml-4{margin-left:-0.25rem}.mt-2{margin-top:0.125rem}";
|
|
6
6
|
const EdsSidebarStyle0 = edsSidebarCss;
|
|
7
7
|
|
|
8
8
|
const EdsSidebar$1 = /*@__PURE__*/ proxyCustomElement(class EdsSidebar extends HTMLElement {
|
|
@@ -152,13 +152,13 @@ const EdsSidebar$1 = /*@__PURE__*/ proxyCustomElement(class EdsSidebar extends H
|
|
|
152
152
|
e.preventDefault();
|
|
153
153
|
this.handleItemClick(item, e);
|
|
154
154
|
}
|
|
155
|
-
} }, hasChildren && (h("span", { class: "sidebar-toggle
|
|
155
|
+
} }, hasChildren && (h("span", { class: "sidebar-toggle -ml-4", "aria-hidden": "true" }, h("eds-icon-wrapper", { name: isOpen ? 'chevron-down' : 'chevron-right' }))), h("span", { class: "sidebar-link-wrapper" }, h("eds-link", { label: item.title, url: item.url || '#', intent: isActive ? 'strong' : 'weak', size: "small", "aria-label": item.title, "extra-class": "sidebar-link", tabindex: "-1" }))), hasChildren && isOpen && (h("ul", { id: childrenId, class: "sidebar-children" }, item.children.map((child) => this.renderItem(child, level + 1))))));
|
|
156
156
|
}
|
|
157
157
|
render() {
|
|
158
|
-
return (h(Host, { key: '
|
|
158
|
+
return (h(Host, { key: 'a56e293e9b53b0dbffd6268c117f77828ba5f41a', class: {
|
|
159
159
|
'eds-sidebar': true,
|
|
160
160
|
[`theme-${this.theme}`]: true
|
|
161
|
-
} }, h("nav", { key: '
|
|
161
|
+
} }, h("nav", { key: '07ca17add683f976b30e736389eddc473e1e5669', class: "sidebar-nav", "aria-label": "Sidebar" }, h("ul", { key: 'a102418d399f14715eddf34e1c3373cf1be9d4aa', class: "sidebar-list" }, this.parsedItems.map((item) => this.renderItem(item, 0))))));
|
|
162
162
|
}
|
|
163
163
|
get el() { return this; }
|
|
164
164
|
static get watchers() { return {
|
|
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/clien
|
|
|
2
2
|
import { d as defineCustomElement$2 } from './eds-icon-wrapper2.js';
|
|
3
3
|
import { d as defineCustomElement$1 } from './eds-link2.js';
|
|
4
4
|
|
|
5
|
-
const edsSocialNetworksCss = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.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)}.mt-12{margin-top:0.75rem}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.gap-4{gap:0.25rem}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.hover\\:text-default:hover{color:var(--black)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-sm{border-radius:8px}";
|
|
5
|
+
const edsSocialNetworksCss = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.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)}.mt-12{margin-top:0.75rem}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.gap-4{gap:0.25rem}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-inverse{color:var(--white)}.hover\\:text-default:hover{color:var(--black)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-sm{border-radius:8px}";
|
|
6
6
|
const EdsSocialNetworksStyle0 = edsSocialNetworksCss;
|
|
7
7
|
|
|
8
8
|
const EdsSocialNetworks = /*@__PURE__*/ proxyCustomElement(class EdsSocialNetworks extends HTMLElement {
|
|
@@ -50,17 +50,22 @@ const EdsSocialNetworks = /*@__PURE__*/ proxyCustomElement(class EdsSocialNetwor
|
|
|
50
50
|
}
|
|
51
51
|
];
|
|
52
52
|
this.heading = 'Follow EBRAINS to keep up-to-date';
|
|
53
|
+
this.variant = 'default';
|
|
53
54
|
}
|
|
54
55
|
/**
|
|
55
56
|
* Renders the component's HTML structure with links to EBRAINS social profiles.
|
|
56
57
|
* Each social network link uses the `eds-link` component with specific classes and styles.
|
|
57
58
|
*/
|
|
58
59
|
render() {
|
|
59
|
-
|
|
60
|
+
const isInverse = this.variant === 'inverse';
|
|
61
|
+
const textClass = isInverse ? 'text-inverse' : '';
|
|
62
|
+
const linkIntent = isInverse ? 'inverse' : 'strong';
|
|
63
|
+
return (h("nav", { key: '11b876483142bb98c686a4cb722d28022ca9f40c', "aria-label": "Social media" }, h("p", { key: 'daf2865247ed69ab3e4233d191d8abb8d5be584f', class: `f-ui-02 ${textClass}` }, this.heading), h("ul", { key: '47918284e8a158d523d3329eb28f4881ac27233e', class: "mt-12 flex gap-4" }, this.socialNetworks.map((network, index) => (h("li", { key: index }, h("eds-link", { external: true, "aria-label": `EBRAINS on ${network.label}`, url: network.url, icon: network.icon, intent: linkIntent })))))));
|
|
60
64
|
}
|
|
61
65
|
static get style() { return EdsSocialNetworksStyle0; }
|
|
62
66
|
}, [1, "eds-social-networks", {
|
|
63
|
-
"heading": [1, "title"]
|
|
67
|
+
"heading": [1, "title"],
|
|
68
|
+
"variant": [1]
|
|
64
69
|
}]);
|
|
65
70
|
function defineCustomElement() {
|
|
66
71
|
if (typeof customElements === "undefined") {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
|
|
3
|
-
const edsSpinnerCss = ":host{display:block}.spinner{box-sizing:border-box;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.f-
|
|
3
|
+
const edsSpinnerCss = ":host{display:block}.spinner{box-sizing:border-box;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}";
|
|
4
4
|
const EdsSpinnerStyle0 = edsSpinnerCss;
|
|
5
5
|
|
|
6
6
|
const EdsSpinner = /*@__PURE__*/ proxyCustomElement(class EdsSpinner extends HTMLElement {
|
|
@@ -11,7 +11,7 @@ const EdsSpinner = /*@__PURE__*/ proxyCustomElement(class EdsSpinner extends HTM
|
|
|
11
11
|
this.size = 'md';
|
|
12
12
|
this.variant = 'secondary';
|
|
13
13
|
this.message = undefined;
|
|
14
|
-
this.background = 'var(--grey-
|
|
14
|
+
this.background = 'var(--grey-light)';
|
|
15
15
|
this.fullscreen = false;
|
|
16
16
|
}
|
|
17
17
|
get spinnerSize() {
|
|
@@ -46,8 +46,8 @@ const EdsSpinner = /*@__PURE__*/ proxyCustomElement(class EdsSpinner extends HTM
|
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
// derive colors from variant
|
|
49
|
-
const borderColor = this.variant === 'primary' ? 'var(--
|
|
50
|
-
const bottomColor = this.variant === 'primary' ? 'var(--green
|
|
49
|
+
const borderColor = this.variant === 'primary' ? 'var(--brand-black)' : 'var(--grey-dark)';
|
|
50
|
+
const bottomColor = this.variant === 'primary' ? 'var(--brand-green)' : 'var(--brand-black)';
|
|
51
51
|
const spinnerStyle = Object.assign({ width: this.spinnerSize, height: this.spinnerSize, border: `${this.spinnerThickness} solid ${borderColor}`, borderBottomColor: bottomColor }, (!this.fullscreen && { display: 'inline-block' }));
|
|
52
52
|
// Overlay style: use fixed positioning for fullscreen,
|
|
53
53
|
// and absolute positioning for inline mode.
|
|
@@ -78,7 +78,7 @@ const EdsSpinner = /*@__PURE__*/ proxyCustomElement(class EdsSpinner extends HTM
|
|
|
78
78
|
alignItems: 'center',
|
|
79
79
|
justifyContent: 'center'
|
|
80
80
|
};
|
|
81
|
-
return (h(Host, { key: '
|
|
81
|
+
return (h(Host, { key: '16d20431aaa90a29b6e3d32cbd3403ece1f45345' }, h("div", { key: '0e29dafa5eb3a84f31305614ae083356604a81bf', class: "spinner-overlay", style: overlayStyle }, h("span", { key: 'cf63a83095e35a1ca4328fd14293e6895d8d9811', class: "spinner", style: spinnerStyle }), this.message && h("p", { key: '7bb83c40db5dc985c429ca6ac171145db80c011d', class: "f-ui-01" }, this.message))));
|
|
82
82
|
}
|
|
83
83
|
static get style() { return EdsSpinnerStyle0; }
|
|
84
84
|
}, [1, "eds-spinner", {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { d as defineCustomElement$
|
|
3
|
-
import { d as defineCustomElement$1 } from './eds-spinner2.js';
|
|
2
|
+
import { d as defineCustomElement$1 } from './eds-logo2.js';
|
|
4
3
|
|
|
5
|
-
const edsSplashScreenCss = ".splash-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:9999999;background-color:var(--grey-200);display:flex;flex-direction:column;align-items:center;justify-content:center}.logo-container{width:
|
|
4
|
+
const edsSplashScreenCss = ".splash-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:9999999;background-color:var(--grey-200);display:flex;flex-direction:column;align-items:center;justify-content:center}.logo-container{width:300px;height:60px;animation:loading-pulse 1.5s ease-in-out infinite}@keyframes loading-pulse{0%,100%{opacity:1}50%{opacity:0.6}}";
|
|
6
5
|
const EdsSplashScreenStyle0 = edsSplashScreenCss;
|
|
7
6
|
|
|
8
7
|
const EdsSplashScreen = /*@__PURE__*/ proxyCustomElement(class EdsSplashScreen extends HTMLElement {
|
|
@@ -49,7 +48,7 @@ const EdsSplashScreen = /*@__PURE__*/ proxyCustomElement(class EdsSplashScreen e
|
|
|
49
48
|
if (!this.isVisible) {
|
|
50
49
|
return null;
|
|
51
50
|
}
|
|
52
|
-
return (h(Host, null, h("div", { class: "splash-overlay", style: { background: this.inverse ? 'black' : 'var(--grey-
|
|
51
|
+
return (h(Host, null, h("div", { class: "splash-overlay", style: { background: this.inverse ? 'var(--brand-black)' : 'var(--grey-light)' } }, h("div", { class: "logo-container" }, this.inverse ? h("eds-logo", { variant: "negative" }) : h("eds-logo", { variant: "positive" })))));
|
|
53
52
|
}
|
|
54
53
|
static get watchers() { return {
|
|
55
54
|
"initPromise": ["watchInitPromise"]
|
|
@@ -66,7 +65,7 @@ function defineCustomElement() {
|
|
|
66
65
|
if (typeof customElements === "undefined") {
|
|
67
66
|
return;
|
|
68
67
|
}
|
|
69
|
-
const components = ["eds-splash-screen", "eds-logo"
|
|
68
|
+
const components = ["eds-splash-screen", "eds-logo"];
|
|
70
69
|
components.forEach(tagName => { switch (tagName) {
|
|
71
70
|
case "eds-splash-screen":
|
|
72
71
|
if (!customElements.get(tagName)) {
|
|
@@ -74,11 +73,6 @@ function defineCustomElement() {
|
|
|
74
73
|
}
|
|
75
74
|
break;
|
|
76
75
|
case "eds-logo":
|
|
77
|
-
if (!customElements.get(tagName)) {
|
|
78
|
-
defineCustomElement$2();
|
|
79
|
-
}
|
|
80
|
-
break;
|
|
81
|
-
case "eds-spinner":
|
|
82
76
|
if (!customElements.get(tagName)) {
|
|
83
77
|
defineCustomElement$1();
|
|
84
78
|
}
|