@ebrains/components 0.3.0-alpha.0 → 0.5.0-alpha.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/analytics-223ea8e5.js +51 -0
- package/dist/cjs/color-c00146a8.js +134 -0
- package/dist/cjs/color-primary-palette_6.cjs.entry.js +14 -14
- package/dist/cjs/components.cjs.js +1 -1
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/eds-accordion.cjs.entry.js +11 -20
- package/dist/cjs/{eds-avatar_17.cjs.entry.js → eds-alert_17.cjs.entry.js} +310 -372
- package/dist/cjs/{eds-card-desc_3.cjs.entry.js → eds-avatar_4.cjs.entry.js} +73 -3
- package/dist/cjs/eds-card-generic.cjs.entry.js +4 -5
- package/dist/cjs/eds-card-project.cjs.entry.js +4 -3
- package/dist/cjs/eds-card-section.cjs.entry.js +3 -3
- package/dist/cjs/eds-card-tags.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-tool.cjs.entry.js +3 -4
- package/dist/cjs/eds-card-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/eds-code-block.cjs.entry.js +49 -2
- package/dist/cjs/eds-components-section.cjs.entry.js +7 -3
- package/dist/cjs/eds-docs-palettes.cjs.entry.js +1 -1
- package/dist/cjs/eds-docs-tokens.cjs.entry.js +1 -1
- package/dist/cjs/eds-dropdown_2.cjs.entry.js +158 -0
- package/dist/cjs/eds-form.cjs.entry.js +62 -23
- package/dist/cjs/eds-frame.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-close.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-copy.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-eu.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-facebook.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-linkedin.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-loader.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-mastodon.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-menu.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-more.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-search.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-success.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-user.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
- package/dist/cjs/eds-input_7.cjs.entry.js +18 -10
- package/dist/cjs/eds-login.cjs.entry.js +60 -41
- package/dist/cjs/eds-logo-variations.cjs.entry.js +1 -1
- package/dist/cjs/eds-matomo-notice.cjs.entry.js +2 -3
- package/dist/cjs/eds-modal.cjs.entry.js +49 -38
- package/dist/cjs/eds-navigator.cjs.entry.js +1 -1
- package/dist/cjs/eds-pagination_2.cjs.entry.js +34 -17
- package/dist/cjs/eds-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
- package/dist/cjs/eds-svg-repository.cjs.entry.js +1 -1
- package/dist/cjs/eds-tab.cjs.entry.js +1 -1
- package/dist/cjs/eds-tabs-content.cjs.entry.js +4 -4
- package/dist/cjs/eds-tabs.cjs.entry.js +3 -3
- package/dist/cjs/eds-timeline.cjs.entry.js +3 -2
- package/dist/cjs/eds-tooltip.cjs.entry.js +10 -1
- package/dist/cjs/eds-trl.cjs.entry.js +7 -8
- package/dist/cjs/eds-user.cjs.entry.js +99 -0
- package/dist/cjs/eds-vertical-stepper.cjs.entry.js +45 -0
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/index-f08e4f5c.js +16 -12
- package/dist/cjs/{keycloak-5aaa21af.js → keycloak-93fc0315.js} +225 -170
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/logo-space.cjs.entry.js +1 -1
- package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +2 -2
- package/dist/cjs/logo-wrong-usage.cjs.entry.js +1 -1
- package/dist/cjs/token-list_3.cjs.entry.js +3 -3
- package/dist/cjs/token-ratios.cjs.entry.js +1 -1
- package/dist/cjs/token-spacing.cjs.entry.js +1 -1
- package/dist/cjs/token-typography.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +5 -2
- package/dist/collection/components/eds-accordion/eds-accordion.js +11 -20
- package/dist/collection/components/eds-alert/eds-alert.js +9 -8
- package/dist/collection/components/eds-alert/eds-alert.stories.js +4 -4
- package/dist/collection/components/eds-avatar/eds-avatar.js +8 -6
- package/dist/collection/components/eds-avatar/eds-avatar.stories.js +24 -22
- package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
- package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +23 -28
- package/dist/collection/components/eds-button/eds-button.js +20 -25
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +9 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-wrapper/eds-card-wrapper.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +15 -9
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.stories.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +3 -2
- package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +2 -2
- package/dist/collection/components/eds-code-block/eds-code-block.js +58 -3
- package/dist/collection/components/eds-code-block/eds-code-block.stories.js +78 -0
- package/dist/collection/components/eds-dropdown/eds-dropdown.js +11 -21
- package/dist/collection/components/eds-form/eds-form.js +71 -45
- package/dist/collection/components/eds-form/eds-form.stories.js +0 -3
- package/dist/collection/components/eds-frame/eds-frame.js +1 -1
- package/dist/collection/components/eds-frame/eds-frame.stories.js +19 -18
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-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/eds-icon-loader/eds-icon-loader.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.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 +13 -7
- package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +2 -2
- package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +2 -2
- 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 +14 -2
- package/dist/collection/components/eds-input-field/eds-input-field.js +2 -2
- package/dist/collection/components/eds-link/eds-link.js +8 -6
- package/dist/collection/components/eds-logo/eds-logo.js +21 -2
- package/dist/collection/components/eds-modal/eds-modal.css +16 -0
- package/dist/collection/components/eds-modal/eds-modal.js +75 -38
- package/dist/collection/components/eds-modal/eds-modal.stories.js +34 -18
- package/dist/collection/components/eds-navigator/eds-navigator.js +1 -1
- package/dist/collection/components/eds-pagination/eds-pagination.js +13 -9
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
- package/dist/collection/components/eds-rating/eds-rating.css +48 -0
- package/dist/collection/components/eds-rating/eds-rating.js +14 -14
- package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
- package/dist/collection/components/eds-section/eds-section-core/eds-section-core.stories.js +12 -11
- package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
- package/dist/collection/components/eds-steps/eds-steps.css +71 -0
- package/dist/collection/components/eds-steps/eds-steps.js +132 -0
- package/dist/collection/components/eds-steps/eds-steps.stories.js +35 -0
- package/dist/collection/components/eds-steps/eds-vertical-stepper.css +78 -0
- package/dist/collection/components/eds-steps/eds-vertical-stepper.js +72 -0
- package/dist/collection/components/eds-switch/eds-switch.css +59 -0
- package/dist/collection/components/eds-switch/eds-switch.js +131 -0
- package/dist/collection/components/eds-switch/eds-switch.stories.js +38 -0
- package/dist/collection/components/eds-tab/eds-tab.js +1 -1
- package/dist/collection/components/eds-table/eds-table.js +21 -8
- package/dist/collection/components/eds-tag/eds-tag.js +22 -1
- package/dist/collection/components/eds-timeline/eds-timeline.js +3 -2
- package/dist/collection/components/eds-toast/eds-toast.js +22 -1
- package/dist/collection/components/eds-tooltip/eds-tooltip.js +10 -1
- package/dist/collection/components/eds-trl/eds-trl.js +7 -8
- 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/design-tokens/token-list/token-list.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
- package/dist/collection/eds-docs-ui/eds-components-section/eds-components-section.js +1 -1
- package/dist/collection/eds-docs-ui/eds-docs-palettes/eds-docs-palettes.js +1 -1
- package/dist/collection/eds-docs-ui/eds-docs-tokens/eds-docs-tokens.js +1 -1
- package/dist/collection/eds-docs-ui/eds-logo-variations/eds-logo-variations.js +1 -1
- package/dist/collection/eds-docs-ui/eds-svg-repository/eds-svg-repository.js +1 -1
- package/dist/collection/eds-docs-ui/functional/installation.js +1 -1
- package/dist/collection/eds-docs-ui/functional/react.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
- package/dist/collection/shared-ui/eds-card-section/eds-card-section.js +14 -7
- package/dist/collection/shared-ui/eds-card-section/eds-card-section.stories.js +8 -39
- package/dist/collection/shared-ui/eds-footer/eds-footer.js +1 -1
- package/dist/collection/shared-ui/eds-header/eds-header.js +2 -75
- package/dist/collection/shared-ui/eds-login/eds-login.js +66 -58
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +1 -1
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -1
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +2 -2
- package/dist/collection/shared-ui/eds-tabs-content/eds-tabs-content.js +3 -3
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
- package/dist/collection/shared-ui/eds-user/eds-user.js +27 -24
- package/dist/collection/shared-ui/eds-user-modal/eds-user-modal.js +1 -1
- package/dist/collection/utils/analytics.js +85 -0
- package/dist/collection/utils/color.js +129 -0
- package/dist/collection/utils/global.js +8 -0
- package/dist/collection/utils/keycloak.js +11 -5
- package/dist/components/analytics.js +6 -1
- package/dist/components/color.js +0 -164
- package/dist/components/components.css +63 -0
- package/dist/components/components.esm.js +1 -1
- package/dist/components/correct-use-of-colors.js +1 -1
- package/dist/components/eds-accordion2.js +11 -20
- package/dist/components/eds-alert2.js +9 -8
- package/dist/components/eds-avatar2.js +3 -3
- package/dist/components/eds-block-break2.js +1 -1
- package/dist/components/eds-breadcrumb.js +23 -28
- package/dist/components/eds-button2.js +16 -14
- package/dist/components/eds-card-desc2.js +1 -1
- package/dist/components/eds-card-generic2.js +3 -4
- package/dist/components/eds-card-project.js +2 -2
- package/dist/components/eds-card-section.js +3 -3
- package/dist/components/eds-card-tags.js +1 -1
- package/dist/components/eds-card-title2.js +1 -1
- package/dist/components/eds-card-tool.js +1 -2
- package/dist/components/eds-card-wrapper.js +1 -1
- package/dist/components/eds-code-block2.js +49 -2
- package/dist/components/eds-components-section.js +7 -3
- package/dist/components/eds-docs-palettes.js +1 -1
- package/dist/components/eds-docs-tokens.js +1 -1
- package/dist/components/eds-dropdown2.js +11 -21
- package/dist/components/eds-footer2.js +1 -1
- package/dist/components/eds-form.js +67 -26
- package/dist/components/eds-frame.js +1 -1
- package/dist/components/eds-header.js +10 -48
- package/dist/components/eds-icon-arrow-diagonal.js +1 -1
- package/dist/components/eds-icon-arrow-right.js +1 -1
- package/dist/components/eds-icon-bluesky.js +1 -1
- package/dist/components/eds-icon-chevron-down.js +1 -1
- package/dist/components/eds-icon-chevron-left.js +1 -1
- package/dist/components/eds-icon-chevron-right.js +1 -1
- package/dist/components/eds-icon-chevron-up.js +1 -1
- package/dist/components/eds-icon-close.js +1 -1
- package/dist/components/eds-icon-copy.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-loader.js +1 -1
- package/dist/components/eds-icon-mastodon.js +1 -1
- package/dist/components/eds-icon-menu.js +1 -1
- package/dist/components/eds-icon-more.js +1 -1
- package/dist/components/eds-icon-search.js +1 -1
- package/dist/components/eds-icon-success.js +1 -1
- package/dist/components/eds-icon-twitter.js +1 -1
- package/dist/components/eds-icon-user.js +1 -1
- package/dist/components/eds-icon-youtube.js +1 -1
- package/dist/components/eds-img2.js +9 -4
- package/dist/components/eds-input-field2.js +2 -2
- package/dist/components/eds-input-footer2.js +1 -1
- package/dist/components/eds-input-label2.js +1 -1
- package/dist/components/eds-input-range2.js +2 -2
- package/dist/components/eds-input-search2.js +1 -1
- package/dist/components/eds-input-select2.js +11 -2
- package/dist/components/eds-input2.js +2 -2
- package/dist/components/eds-link2.js +7 -6
- package/dist/components/eds-login.js +60 -41
- package/dist/components/eds-logo-variations.js +1 -1
- package/dist/components/eds-logo2.js +4 -3
- package/dist/components/eds-matomo-notice.js +0 -1
- package/dist/components/eds-modal.js +51 -39
- package/dist/components/eds-navigator.js +1 -1
- package/dist/components/eds-pagination2.js +13 -9
- package/dist/components/eds-progress-bar2.js +1 -1
- package/dist/components/eds-rating.js +25 -13
- package/dist/components/eds-section-core2.js +1 -1
- package/dist/components/eds-section-heading2.js +2 -2
- package/dist/components/eds-social-networks2.js +1 -1
- package/dist/components/eds-steps.d.ts +11 -0
- package/dist/components/eds-steps.js +106 -0
- package/dist/components/eds-svg-repository.js +1 -1
- package/dist/components/eds-switch.d.ts +11 -0
- package/dist/components/eds-switch.js +57 -0
- package/dist/components/eds-tab2.js +1 -1
- package/dist/components/eds-table2.js +21 -8
- package/dist/components/eds-tabs-content.js +2 -3
- package/dist/components/eds-tabs.js +1 -2
- package/dist/components/eds-tag2.js +5 -1
- package/dist/components/eds-timeline.js +3 -2
- package/dist/components/eds-toast-manager.js +1 -1
- package/dist/components/eds-toast2.js +22 -1
- package/dist/components/eds-tooltip.js +10 -1
- package/dist/components/eds-trl.js +7 -8
- package/dist/components/eds-user-modal2.js +1 -1
- package/dist/components/eds-user.js +157 -1
- package/dist/components/eds-vertical-stepper.d.ts +11 -0
- package/dist/components/eds-vertical-stepper.js +86 -0
- package/dist/components/incorrect-use-of-colors.js +1 -1
- package/dist/components/keycloak.js +225 -170
- package/dist/components/logo-space.js +1 -1
- package/dist/components/logo-variations-horizontal2.js +1 -1
- package/dist/components/logo-variations-vertical2.js +1 -1
- package/dist/components/logo-wrong-usage.js +1 -1
- package/dist/components/p-030f67c1.entry.js +1 -0
- package/dist/components/{p-32f282a9.entry.js → p-06299762.entry.js} +1 -1
- package/dist/components/p-0ab85eee.entry.js +1 -0
- package/dist/components/p-0bafc5ae.entry.js +1 -0
- package/dist/components/p-0e0e1815.entry.js +1 -0
- package/dist/components/p-0e7bdd2c.entry.js +1 -0
- package/dist/components/p-1ed3fdb7.entry.js +1 -0
- package/dist/components/p-209fa119.entry.js +1 -0
- package/dist/components/p-2831a9d5.entry.js +1 -0
- package/dist/components/p-2c00bd76.entry.js +1 -0
- package/dist/components/p-38d70586.entry.js +1 -0
- package/dist/components/p-3babd772.entry.js +1 -0
- package/dist/components/p-4a12a131.entry.js +1 -0
- package/dist/components/p-505ddcda.entry.js +1 -0
- package/dist/components/{p-52ac3456.entry.js → p-59405ecf.entry.js} +1 -1
- package/dist/components/p-5980a142.entry.js +1 -0
- package/dist/components/p-599c7b97.entry.js +1 -0
- package/dist/components/{p-22762818.entry.js → p-65703520.entry.js} +1 -1
- package/dist/components/p-6af40c33.entry.js +1 -0
- package/dist/components/p-6df9db15.entry.js +1 -0
- package/dist/components/p-72b42d77.entry.js +1 -0
- package/dist/components/p-75795b05.entry.js +1 -0
- package/dist/components/{p-435a14c1.entry.js → p-759b2640.entry.js} +1 -1
- package/dist/components/p-80a185ba.entry.js +1 -0
- package/dist/components/p-81942665.entry.js +1 -0
- package/dist/components/p-86fbc239.entry.js +1 -0
- package/dist/components/p-89227919.js +1 -0
- package/dist/components/{p-6fc62452.entry.js → p-89f600a3.entry.js} +1 -1
- package/dist/components/{p-2e8459ef.entry.js → p-8b583210.entry.js} +1 -1
- package/dist/components/p-8c4a0fc9.entry.js +1 -0
- package/dist/components/p-8d19a05b.entry.js +1 -0
- package/dist/components/p-8eab748d.js +1 -0
- package/dist/components/p-911d9b37.entry.js +1 -0
- package/dist/components/p-92e16cc9.entry.js +1 -0
- package/dist/components/p-96fe2267.entry.js +1 -0
- package/dist/components/p-9739def5.entry.js +1 -0
- package/dist/components/p-9826acae.entry.js +1 -0
- package/dist/components/{p-87830085.entry.js → p-9b441a1f.entry.js} +1 -1
- package/dist/components/p-a2621d66.entry.js +1 -0
- package/dist/components/p-a535838c.entry.js +1 -0
- package/dist/components/p-a5b7d72d.entry.js +1 -0
- package/dist/components/p-a5d00633.entry.js +1 -0
- package/dist/components/p-a63bd0c9.entry.js +1 -0
- package/dist/components/{p-762c8c83.entry.js → p-a846dbca.entry.js} +1 -1
- package/dist/components/p-a927a455.entry.js +1 -0
- package/dist/components/p-aec9b8e1.entry.js +1 -0
- package/dist/components/{p-e6bfbf51.entry.js → p-b1af5000.entry.js} +2 -2
- package/dist/components/{p-d571d530.entry.js → p-b1de9a6c.entry.js} +1 -1
- package/dist/components/{p-0910d733.entry.js → p-b3c1aef5.entry.js} +1 -1
- package/dist/components/p-b60ed774.entry.js +1 -0
- package/dist/components/p-b67aafe7.entry.js +1 -0
- package/dist/components/p-b79999d5.entry.js +1 -0
- package/dist/components/{p-02e2a62f.entry.js → p-b80457ed.entry.js} +1 -1
- package/dist/components/p-b860b4aa.entry.js +1 -0
- package/dist/components/p-c034c395.entry.js +1 -0
- package/dist/components/p-c5fa170d.entry.js +1 -0
- package/dist/components/p-d69ef196.entry.js +1 -0
- package/dist/components/p-de12396f.entry.js +1 -0
- package/dist/components/p-de2fbcfc.entry.js +1 -0
- package/dist/components/p-def72462.entry.js +1 -0
- package/dist/components/p-e2c250c5.entry.js +1 -0
- package/dist/components/p-eb0b93d5.js +1 -0
- package/dist/components/p-eeeb0d83.entry.js +1 -0
- package/dist/components/p-f08eac56.entry.js +1 -0
- package/dist/components/p-f1cd83da.entry.js +1 -0
- package/dist/components/{p-22e6d7d5.entry.js → p-f36f2aeb.entry.js} +1 -1
- package/dist/components/p-f5dafbc8.entry.js +1 -0
- package/dist/components/p-f7493f41.entry.js +1 -0
- package/dist/components/p-fce25541.entry.js +1 -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/token-list2.js +1 -1
- package/dist/components/token-radii2.js +1 -1
- package/dist/components/token-ratios.js +1 -1
- package/dist/components/token-shadows2.js +1 -1
- package/dist/components/token-spacing.js +1 -1
- package/dist/components/token-typography.js +1 -1
- package/dist/esm/analytics-1cde8e4a.js +48 -0
- package/dist/esm/color-2554aad6.js +132 -0
- package/dist/esm/color-primary-palette_6.entry.js +14 -14
- package/dist/esm/components.js +1 -1
- package/dist/esm/correct-use-of-colors.entry.js +1 -1
- package/dist/esm/eds-accordion.entry.js +11 -20
- package/dist/esm/{eds-avatar_17.entry.js → eds-alert_17.entry.js} +304 -366
- package/dist/esm/{eds-card-desc_3.entry.js → eds-avatar_4.entry.js} +73 -4
- package/dist/esm/eds-card-generic.entry.js +3 -4
- package/dist/esm/eds-card-project.entry.js +3 -2
- package/dist/esm/eds-card-section.entry.js +3 -3
- package/dist/esm/eds-card-tags.entry.js +1 -1
- package/dist/esm/eds-card-tool.entry.js +2 -3
- package/dist/esm/eds-card-wrapper.entry.js +1 -1
- package/dist/esm/eds-code-block.entry.js +50 -3
- package/dist/esm/eds-components-section.entry.js +7 -3
- package/dist/esm/eds-docs-palettes.entry.js +1 -1
- package/dist/esm/eds-docs-tokens.entry.js +1 -1
- package/dist/esm/eds-dropdown_2.entry.js +153 -0
- package/dist/esm/eds-form.entry.js +62 -23
- package/dist/esm/eds-frame.entry.js +1 -1
- package/dist/esm/eds-icon-arrow-diagonal.entry.js +1 -1
- package/dist/esm/eds-icon-arrow-right.entry.js +1 -1
- package/dist/esm/eds-icon-bluesky.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-down.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-left.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-right.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-up.entry.js +1 -1
- package/dist/esm/eds-icon-close.entry.js +1 -1
- package/dist/esm/eds-icon-copy.entry.js +1 -1
- package/dist/esm/eds-icon-eu.entry.js +1 -1
- package/dist/esm/eds-icon-facebook.entry.js +1 -1
- package/dist/esm/eds-icon-gitlab.entry.js +1 -1
- package/dist/esm/eds-icon-linkedin.entry.js +1 -1
- package/dist/esm/eds-icon-loader.entry.js +1 -1
- package/dist/esm/eds-icon-mastodon.entry.js +1 -1
- package/dist/esm/eds-icon-menu.entry.js +1 -1
- package/dist/esm/eds-icon-more.entry.js +1 -1
- package/dist/esm/eds-icon-search.entry.js +1 -1
- package/dist/esm/eds-icon-success.entry.js +1 -1
- package/dist/esm/eds-icon-twitter.entry.js +1 -1
- package/dist/esm/eds-icon-user.entry.js +1 -1
- package/dist/esm/eds-icon-youtube.entry.js +1 -1
- package/dist/esm/eds-input_7.entry.js +18 -10
- package/dist/esm/eds-login.entry.js +60 -41
- package/dist/esm/eds-logo-variations.entry.js +1 -1
- package/dist/esm/eds-matomo-notice.entry.js +1 -2
- package/dist/esm/eds-modal.entry.js +49 -38
- package/dist/esm/eds-navigator.entry.js +1 -1
- package/dist/esm/eds-pagination_2.entry.js +34 -17
- package/dist/esm/eds-progress-bar.entry.js +1 -1
- package/dist/esm/eds-section-core_2.entry.js +3 -3
- package/dist/esm/eds-svg-repository.entry.js +1 -1
- package/dist/esm/eds-tab.entry.js +1 -1
- package/dist/esm/eds-tabs-content.entry.js +3 -3
- package/dist/esm/eds-tabs.entry.js +2 -2
- package/dist/esm/eds-timeline.entry.js +3 -2
- package/dist/esm/eds-tooltip.entry.js +10 -1
- package/dist/esm/eds-trl.entry.js +7 -8
- package/dist/esm/eds-user.entry.js +95 -0
- package/dist/esm/eds-vertical-stepper.entry.js +41 -0
- package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
- package/dist/esm/index-e96badea.js +16 -12
- package/dist/esm/{keycloak-13893af6.js → keycloak-d502ec16.js} +225 -170
- package/dist/esm/loader.js +1 -1
- package/dist/esm/logo-space.entry.js +1 -1
- package/dist/esm/logo-variations-horizontal_2.entry.js +2 -2
- package/dist/esm/logo-wrong-usage.entry.js +1 -1
- package/dist/esm/token-list_3.entry.js +3 -3
- package/dist/esm/token-ratios.entry.js +1 -1
- package/dist/esm/token-spacing.entry.js +1 -1
- package/dist/esm/token-typography.entry.js +1 -1
- package/dist/hydrate/index.js +992 -763
- package/dist/hydrate/index.mjs +992 -763
- package/dist/types/components/eds-accordion/eds-accordion.d.ts +5 -12
- package/dist/types/components/eds-alert/eds-alert.d.ts +1 -1
- package/dist/types/components/eds-avatar/eds-avatar.stories.d.ts +0 -18
- package/dist/types/components/eds-breadcrump/eds-breadcrump.d.ts +9 -8
- package/dist/types/components/eds-button/eds-button.d.ts +2 -3
- package/dist/types/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.d.ts +8 -0
- package/dist/types/components/eds-cards/eds-card-generic/eds-card-generic.d.ts +6 -2
- package/dist/types/components/eds-code-block/eds-code-block.d.ts +43 -3
- package/dist/types/components/eds-code-block/eds-code-block.stories.d.ts +54 -0
- package/dist/types/components/eds-dropdown/eds-dropdown.d.ts +0 -7
- package/dist/types/components/eds-form/eds-form.d.ts +3 -7
- package/dist/types/components/eds-form/eds-form.stories.d.ts +0 -5
- package/dist/types/components/eds-frame/eds-frame.stories.d.ts +0 -2
- package/dist/types/components/eds-img/eds-img.d.ts +3 -1
- package/dist/types/components/eds-input-elements/eds-input-select/eds-input-select.d.ts +9 -0
- package/dist/types/components/eds-link/eds-link.d.ts +1 -1
- package/dist/types/components/eds-logo/eds-logo.d.ts +1 -0
- package/dist/types/components/eds-modal/eds-modal.d.ts +20 -10
- package/dist/types/components/eds-modal/eds-modal.stories.d.ts +9 -0
- package/dist/types/components/eds-rating/eds-rating.d.ts +4 -7
- package/dist/types/components/eds-section/eds-section-core/eds-section-core.stories.d.ts +0 -1
- package/dist/types/components/eds-steps/eds-steps.d.ts +39 -0
- package/dist/types/components/eds-steps/eds-steps.stories.d.ts +34 -0
- package/dist/types/components/eds-steps/eds-vertical-stepper.d.ts +22 -0
- package/dist/types/components/eds-switch/eds-switch.d.ts +25 -0
- package/dist/types/components/eds-switch/eds-switch.stories.d.ts +32 -0
- package/dist/types/components/eds-table/eds-table.d.ts +5 -5
- package/dist/types/components/eds-tag/eds-tag.d.ts +5 -0
- package/dist/types/components/eds-toast/eds-toast.d.ts +9 -0
- package/dist/types/components.d.ts +227 -164
- package/dist/types/shared-ui/eds-card-section/eds-card-section.d.ts +28 -6
- package/dist/types/shared-ui/eds-card-section/eds-card-section.stories.d.ts +42 -21
- package/dist/types/shared-ui/eds-header/eds-header.d.ts +0 -20
- package/dist/types/shared-ui/eds-login/eds-login.d.ts +21 -18
- package/dist/types/shared-ui/eds-user/eds-user.d.ts +5 -5
- package/dist/types/utils/global.d.ts +1 -0
- package/dist/types/utils/keycloak.d.ts +2 -2
- package/package.json +1 -1
- package/dist/cjs/color-3ffe3072.js +0 -342
- package/dist/cjs/eds-alert.cjs.entry.js +0 -96
- package/dist/cjs/eds-rating.cjs.entry.js +0 -58
- package/dist/components/eds-user2.js +0 -156
- package/dist/components/p-005de86f.entry.js +0 -1
- package/dist/components/p-0c2e844e.entry.js +0 -1
- package/dist/components/p-145f13ad.entry.js +0 -1
- package/dist/components/p-16458a81.entry.js +0 -1
- package/dist/components/p-2851ff44.entry.js +0 -1
- package/dist/components/p-29648b47.entry.js +0 -1
- package/dist/components/p-297b2bc3.entry.js +0 -1
- package/dist/components/p-32cddd94.entry.js +0 -1
- package/dist/components/p-3617841d.entry.js +0 -1
- package/dist/components/p-373673ca.js +0 -1
- package/dist/components/p-388b4966.entry.js +0 -1
- package/dist/components/p-3ff76976.entry.js +0 -1
- package/dist/components/p-4037ad48.entry.js +0 -1
- package/dist/components/p-42b4ecff.entry.js +0 -1
- package/dist/components/p-490ba155.entry.js +0 -1
- package/dist/components/p-4932aab2.entry.js +0 -1
- package/dist/components/p-4a24c2ce.entry.js +0 -1
- package/dist/components/p-54c75346.entry.js +0 -1
- package/dist/components/p-57c964c5.entry.js +0 -1
- package/dist/components/p-5a43503a.entry.js +0 -1
- package/dist/components/p-5aad9d3f.entry.js +0 -1
- package/dist/components/p-5afb626c.entry.js +0 -1
- package/dist/components/p-5d7af761.entry.js +0 -1
- package/dist/components/p-5fc68438.entry.js +0 -1
- package/dist/components/p-6378fb3e.entry.js +0 -1
- package/dist/components/p-673dce11.entry.js +0 -1
- package/dist/components/p-7215789a.entry.js +0 -1
- package/dist/components/p-73bd0c97.entry.js +0 -1
- package/dist/components/p-7802e966.entry.js +0 -1
- package/dist/components/p-79887c2c.entry.js +0 -1
- package/dist/components/p-846fc91c.entry.js +0 -1
- package/dist/components/p-84957b6d.entry.js +0 -1
- package/dist/components/p-8c56e39a.entry.js +0 -1
- package/dist/components/p-96c4deda.entry.js +0 -1
- package/dist/components/p-a44a1abe.entry.js +0 -1
- package/dist/components/p-a4e9b68b.entry.js +0 -1
- package/dist/components/p-ac0112d5.entry.js +0 -1
- package/dist/components/p-acb16e1c.entry.js +0 -1
- package/dist/components/p-ae5dbd41.entry.js +0 -1
- package/dist/components/p-bdd86a3c.entry.js +0 -1
- package/dist/components/p-be6c80da.entry.js +0 -1
- package/dist/components/p-bf0f851d.entry.js +0 -1
- package/dist/components/p-c2d369bc.entry.js +0 -1
- package/dist/components/p-c9c417de.js +0 -1
- package/dist/components/p-d1670eec.entry.js +0 -1
- package/dist/components/p-d1f6a722.entry.js +0 -1
- package/dist/components/p-d53b7a75.entry.js +0 -1
- package/dist/components/p-d6d86366.entry.js +0 -1
- package/dist/components/p-d7a92efb.entry.js +0 -1
- package/dist/components/p-d9788b54.entry.js +0 -1
- package/dist/components/p-e20ed2c7.entry.js +0 -1
- package/dist/components/p-e74834bc.entry.js +0 -1
- package/dist/components/p-f7a6ce69.entry.js +0 -1
- package/dist/components/p-fd27e56c.entry.js +0 -1
- package/dist/esm/color-0ba8ed56.js +0 -338
- package/dist/esm/eds-alert.entry.js +0 -92
- package/dist/esm/eds-rating.entry.js +0 -54
- package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/utils/src/index.d.ts +0 -3
- package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/utils/src/lib/keycloak.d.ts +0 -30
- package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/utils/src/lib/render.d.ts +0 -8
- /package/dist/types/{Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/utils/src/lib → utils}/analytics.d.ts +0 -0
- /package/dist/types/{Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/utils/src/lib → utils}/color.d.ts +0 -0
|
@@ -47,6 +47,11 @@ export declare class EdsAccordion {
|
|
|
47
47
|
private wrapperRef;
|
|
48
48
|
/** Reference to the element containing the main content */
|
|
49
49
|
private childContentRef;
|
|
50
|
+
/**
|
|
51
|
+
* Lifecycle method that sets up the initial panel height and adds a resize event listener
|
|
52
|
+
* to recalculate height on window resize.
|
|
53
|
+
*/
|
|
54
|
+
componentDidLoad(): void;
|
|
50
55
|
/**
|
|
51
56
|
* Handles the click event on the accordion header to toggle expansion.
|
|
52
57
|
* Toggles the `isExpanded` state and emits the `accordionChange` event.
|
|
@@ -57,18 +62,6 @@ export declare class EdsAccordion {
|
|
|
57
62
|
* and adjusts based on the `shortContent` and `isExpanded` states.
|
|
58
63
|
*/
|
|
59
64
|
private setPanelHeight;
|
|
60
|
-
/**
|
|
61
|
-
* Lifecycle method that sets up the initial panel height and adds a resize event listener
|
|
62
|
-
* to recalculate height on window resize.
|
|
63
|
-
*/
|
|
64
|
-
componentDidLoad(): void;
|
|
65
|
-
/**
|
|
66
|
-
* Emits a custom event called `parentContext` for a given link element.
|
|
67
|
-
* This event provides context information about the breadcrumb component.
|
|
68
|
-
*
|
|
69
|
-
* @param linkElement - The link element to which the event will be dispatched.
|
|
70
|
-
*/
|
|
71
|
-
emitContext(linkElement: HTMLElement): void;
|
|
72
65
|
/**
|
|
73
66
|
* Lifecycle method that cleans up the resize event listener when the component is removed.
|
|
74
67
|
*/
|
|
@@ -32,11 +32,11 @@ export declare class EdsAlert {
|
|
|
32
32
|
*/
|
|
33
33
|
intent: 'default' | 'warning' | 'error' | 'success';
|
|
34
34
|
withBtn: boolean;
|
|
35
|
-
componentWillLoad(): void;
|
|
36
35
|
/**
|
|
37
36
|
* Reference to the host element.
|
|
38
37
|
*/
|
|
39
38
|
el: HTMLElement;
|
|
39
|
+
componentWillLoad(): void;
|
|
40
40
|
componentDidLoad(): void;
|
|
41
41
|
emitContext(linkElement: HTMLElement): void;
|
|
42
42
|
render(): any;
|
|
@@ -43,21 +43,3 @@ export declare const Default: {
|
|
|
43
43
|
rounded: boolean;
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
|
-
export declare const WithPicture: {
|
|
47
|
-
render: (args: any) => string;
|
|
48
|
-
args: {
|
|
49
|
-
firstName: string;
|
|
50
|
-
lastName: string;
|
|
51
|
-
picture: string;
|
|
52
|
-
rounded: boolean;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
export declare const BackgroundColorVariant: {
|
|
56
|
-
render: (args: any) => string;
|
|
57
|
-
args: {
|
|
58
|
-
firstName: string;
|
|
59
|
-
lastName: string;
|
|
60
|
-
color: string;
|
|
61
|
-
rounded: boolean;
|
|
62
|
-
};
|
|
63
|
-
};
|
|
@@ -36,11 +36,11 @@ export declare class EdsBreadcrumb {
|
|
|
36
36
|
*/
|
|
37
37
|
parsedItems: Link[];
|
|
38
38
|
/**
|
|
39
|
-
* Tracks the
|
|
39
|
+
* Tracks if the screen is small.
|
|
40
40
|
*/
|
|
41
41
|
isSmallScreen: boolean;
|
|
42
42
|
/**
|
|
43
|
-
* Tracks the
|
|
43
|
+
* Tracks the maximum number of visible breadcrumb items.
|
|
44
44
|
*/
|
|
45
45
|
maxVisibleItems: number;
|
|
46
46
|
/**
|
|
@@ -74,19 +74,20 @@ export declare class EdsBreadcrumb {
|
|
|
74
74
|
*/
|
|
75
75
|
emitContext(linkElement: HTMLElement): void;
|
|
76
76
|
/**
|
|
77
|
-
*
|
|
78
|
-
*
|
|
77
|
+
* Returns breadcrumb items with potential truncation if there are too many.
|
|
78
|
+
* It inserts an ellipsis item where necessary.
|
|
79
79
|
*/
|
|
80
80
|
getTruncatedItems(): RenderableLink[];
|
|
81
81
|
/**
|
|
82
|
-
*
|
|
83
|
-
*
|
|
82
|
+
* Helper to determine the display label and full label.
|
|
83
|
+
* If the label is longer than 15 characters and the item is not the current (last) item,
|
|
84
|
+
* we display a truncated version but use the full label for aria attributes.
|
|
84
85
|
*/
|
|
85
|
-
|
|
86
|
+
private getLabels;
|
|
86
87
|
/**
|
|
87
88
|
* Render method for the breadcrumb component.
|
|
88
89
|
* It creates a navigation element with an ordered list of breadcrumb links.
|
|
89
|
-
* The last link is
|
|
90
|
+
* The last link is marked as the current page.
|
|
90
91
|
*/
|
|
91
92
|
render(): any;
|
|
92
93
|
}
|
|
@@ -18,8 +18,9 @@ export declare class EdsButton {
|
|
|
18
18
|
label: string;
|
|
19
19
|
/**
|
|
20
20
|
* The accessible aria-label for the button, used when there is no visible label.
|
|
21
|
+
* Default is "Button" to ensure icon-only buttons are announced properly.
|
|
21
22
|
*/
|
|
22
|
-
ariaLabel: string
|
|
23
|
+
ariaLabel: string;
|
|
23
24
|
/**
|
|
24
25
|
* The HTML element type for the button (e.g., 'button', 'a'). Default is 'button'.
|
|
25
26
|
*/
|
|
@@ -68,8 +69,6 @@ export declare class EdsButton {
|
|
|
68
69
|
el: HTMLElement;
|
|
69
70
|
private button;
|
|
70
71
|
private iconCva;
|
|
71
|
-
private parentContext;
|
|
72
|
-
handleParentContext(event: CustomEvent): void;
|
|
73
72
|
private handleClick;
|
|
74
73
|
render(): any;
|
|
75
74
|
}
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `eds-card-desc` is a simple component that renders a card description.
|
|
3
|
+
*
|
|
4
|
+
* It displays a block of text with optional truncation applied using a CSS line clamp.
|
|
5
|
+
* You can customize the description styling via the `descClass` property and control
|
|
6
|
+
* whether or not the text is truncated and to how many lines.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
1
9
|
export declare class EdsCardDesc {
|
|
2
10
|
/**
|
|
3
11
|
* The description text to be displayed inside the card.
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
export interface Tag {
|
|
2
|
+
label: string;
|
|
3
|
+
style: 'accent' | 'default' | 'weak' | 'strong';
|
|
4
|
+
}
|
|
1
5
|
/**
|
|
2
6
|
* `EdsCardGeneric` is a versatile card component designed to display rich content such as titles, descriptions, images, and tags.
|
|
3
7
|
* The card supports various visual configurations, including hover effects, background styling, and compact layout options.
|
|
@@ -41,9 +45,9 @@ export declare class EdsCardGeneric {
|
|
|
41
45
|
*/
|
|
42
46
|
headingLevel: string;
|
|
43
47
|
/**
|
|
44
|
-
*
|
|
48
|
+
* Tags related to the card content.
|
|
45
49
|
*/
|
|
46
|
-
tags:
|
|
50
|
+
tags: string | Tag[];
|
|
47
51
|
/**
|
|
48
52
|
* A boolean that determines whether the card should be displayed with a smaller height.
|
|
49
53
|
* If true, the card will use the 'tiny' height class.
|
|
@@ -2,14 +2,54 @@ import 'prismjs/components/prism-python';
|
|
|
2
2
|
import 'prismjs/components/prism-bash';
|
|
3
3
|
import 'prismjs/components/prism-yaml';
|
|
4
4
|
import 'prismjs/components/prism-css';
|
|
5
|
+
/**
|
|
6
|
+
* A component that displays a code block with syntax highlighting.
|
|
7
|
+
*
|
|
8
|
+
* Uses Prism.js for syntax highlighting. Supports multiple languages such as JavaScript, HTML, CSS,
|
|
9
|
+
* Python, Bash/Shell, and YAML.
|
|
10
|
+
*
|
|
11
|
+
* */
|
|
5
12
|
export declare class EdsCodeBlock {
|
|
6
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* The code content to display.
|
|
15
|
+
*/
|
|
7
16
|
code: string;
|
|
8
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* The language type for syntax highlighting (e.g., 'javascript', 'html', 'css')
|
|
19
|
+
* */
|
|
9
20
|
language: string;
|
|
10
|
-
/**
|
|
21
|
+
/**
|
|
22
|
+
* Tooltip text for when the code is copied
|
|
23
|
+
* */
|
|
11
24
|
copied: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Host element reference
|
|
27
|
+
* */
|
|
28
|
+
el: HTMLElement;
|
|
29
|
+
/**
|
|
30
|
+
* Copies the current code content to the clipboard and sets a temporary copied state.
|
|
31
|
+
*
|
|
32
|
+
* @private
|
|
33
|
+
* @returns {void}
|
|
34
|
+
*/
|
|
12
35
|
private copyToClipboard;
|
|
36
|
+
/**
|
|
37
|
+
* Utility function that creates a human-friendly analytics name based on the code and language.
|
|
38
|
+
* It uses:
|
|
39
|
+
* - The language (in uppercase)
|
|
40
|
+
* - The number of non-empty lines in the code
|
|
41
|
+
* - The first non-empty line of code (truncated to 30 characters, if needed)
|
|
42
|
+
*
|
|
43
|
+
* returns A descriptive analytics name.
|
|
44
|
+
*/
|
|
45
|
+
/**
|
|
46
|
+
* Returns the syntax-highlighted HTML for the code.
|
|
47
|
+
* If the provided language is supported by Prism, this method returns the highlighted code.
|
|
48
|
+
* Otherwise, it logs a warning and returns the raw code.
|
|
49
|
+
*
|
|
50
|
+
* @private
|
|
51
|
+
* @returns {string} The highlighted HTML string for the code block.
|
|
52
|
+
*/
|
|
13
53
|
private getHighlightedCode;
|
|
14
54
|
render(): any;
|
|
15
55
|
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: string;
|
|
4
|
+
argTypes: {
|
|
5
|
+
code: {
|
|
6
|
+
control: string;
|
|
7
|
+
description: string;
|
|
8
|
+
};
|
|
9
|
+
language: {
|
|
10
|
+
control: string;
|
|
11
|
+
description: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
args: {
|
|
15
|
+
code: string;
|
|
16
|
+
language: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export default _default;
|
|
20
|
+
export declare const Default: {
|
|
21
|
+
render: (args: any) => string;
|
|
22
|
+
args: {
|
|
23
|
+
code: string;
|
|
24
|
+
language: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export declare const PythonExample: {
|
|
28
|
+
render: (args: any) => string;
|
|
29
|
+
args: {
|
|
30
|
+
code: string;
|
|
31
|
+
language: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export declare const BashExample: {
|
|
35
|
+
render: (args: any) => string;
|
|
36
|
+
args: {
|
|
37
|
+
code: string;
|
|
38
|
+
language: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export declare const YamlExample: {
|
|
42
|
+
render: (args: any) => string;
|
|
43
|
+
args: {
|
|
44
|
+
code: string;
|
|
45
|
+
language: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
export declare const UnsupportedLanguage: {
|
|
49
|
+
render: (args: any) => string;
|
|
50
|
+
args: {
|
|
51
|
+
code: string;
|
|
52
|
+
language: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
@@ -105,13 +105,6 @@ export declare class EdsDropdown {
|
|
|
105
105
|
* Initializes focusable items within the dropdown.
|
|
106
106
|
*/
|
|
107
107
|
componentDidLoad(): void;
|
|
108
|
-
/**
|
|
109
|
-
* Emits a custom event called `parentContext` for a given button element.
|
|
110
|
-
* Provides context information about the dropdown component.
|
|
111
|
-
*
|
|
112
|
-
* @param linkElement - The button element to which the event will be dispatched.
|
|
113
|
-
*/
|
|
114
|
-
emitContext(linkElement: HTMLElement): void;
|
|
115
108
|
/**
|
|
116
109
|
* Renders the dropdown component and displays its content when open.
|
|
117
110
|
* @returns {JSX.Element} The rendered dropdown component.
|
|
@@ -14,10 +14,6 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
14
14
|
* This component is ideal for implementing complex forms with specific validation and submission behaviors.
|
|
15
15
|
*/
|
|
16
16
|
export declare class EdsForm {
|
|
17
|
-
/**
|
|
18
|
-
* If `true`, displays a small alert for messages.
|
|
19
|
-
*/
|
|
20
|
-
smallAlert?: boolean;
|
|
21
17
|
/**
|
|
22
18
|
* If `true`, includes the current form URL in the submission data.
|
|
23
19
|
*/
|
|
@@ -60,7 +56,7 @@ export declare class EdsForm {
|
|
|
60
56
|
* ]
|
|
61
57
|
* ```
|
|
62
58
|
*/
|
|
63
|
-
fields: string;
|
|
59
|
+
fields: string | any[];
|
|
64
60
|
values: {
|
|
65
61
|
[key: string]: any;
|
|
66
62
|
};
|
|
@@ -102,10 +98,10 @@ export declare class EdsForm {
|
|
|
102
98
|
el: HTMLElement;
|
|
103
99
|
isAuthenticated: boolean;
|
|
104
100
|
authUser: any;
|
|
101
|
+
parsedFields: any[];
|
|
105
102
|
onAuthStatusChanged(event: CustomEvent<any>): void;
|
|
106
103
|
private formEl;
|
|
107
104
|
componentDidLoad(): void;
|
|
108
|
-
emitContext(linkElement: HTMLElement): void;
|
|
109
105
|
isFieldVisible(field: any): boolean;
|
|
110
106
|
validateField(name: string, value: string | number, type: string, required: boolean, maxLength?: number): string[];
|
|
111
107
|
validateFieldGroup(name: string, _type: string, required: boolean): string[];
|
|
@@ -115,6 +111,6 @@ export declare class EdsForm {
|
|
|
115
111
|
handleChange: (e: Event, field: any) => void;
|
|
116
112
|
handleSubmit: (e: Event) => Promise<void>;
|
|
117
113
|
getFormData(): Promise<FormData>;
|
|
118
|
-
|
|
114
|
+
parseFields(newValue: string | any[]): void;
|
|
119
115
|
render(): any;
|
|
120
116
|
}
|
|
@@ -24,8 +24,9 @@ export declare class EdsImg {
|
|
|
24
24
|
src: string;
|
|
25
25
|
/**
|
|
26
26
|
* The alternative text for the image.
|
|
27
|
+
* Defaults to an empty string so that decorative images are ignored by assistive technologies.
|
|
27
28
|
*/
|
|
28
|
-
alt
|
|
29
|
+
alt: string;
|
|
29
30
|
/**
|
|
30
31
|
* The width of the image in pixels.
|
|
31
32
|
*/
|
|
@@ -65,6 +66,7 @@ export declare class EdsImg {
|
|
|
65
66
|
img: HTMLImageElement | null;
|
|
66
67
|
componentDidLoad(): void;
|
|
67
68
|
handleLoad: () => void;
|
|
69
|
+
handleError: () => void;
|
|
68
70
|
handleTransitionEnd: () => void;
|
|
69
71
|
render(): any;
|
|
70
72
|
}
|
|
@@ -17,6 +17,9 @@ import { EventEmitter } from '../../../stencil-public-runtime';
|
|
|
17
17
|
*
|
|
18
18
|
* The component will automatically fetch data if a dynamic configuration is provided.
|
|
19
19
|
*/
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
20
23
|
export declare class EdsInputSelect {
|
|
21
24
|
/**
|
|
22
25
|
* Optional id for the input. If not provided, the component uses the `name` property.
|
|
@@ -97,6 +100,11 @@ export declare class EdsInputSelect {
|
|
|
97
100
|
* Internal state that holds the key used to map the option's display label.
|
|
98
101
|
*/
|
|
99
102
|
dynamicLabelKey: string;
|
|
103
|
+
/**
|
|
104
|
+
* Flag to indicate if dynamic options have already been fetched.
|
|
105
|
+
* Prevents duplicate API calls on subsequent updates.
|
|
106
|
+
*/
|
|
107
|
+
hasFetched: boolean;
|
|
100
108
|
/**
|
|
101
109
|
* Emitted when the value of the select input changes.
|
|
102
110
|
* @event changeEvent
|
|
@@ -120,5 +128,6 @@ export declare class EdsInputSelect {
|
|
|
120
128
|
* @param event The change event from the select input.
|
|
121
129
|
*/
|
|
122
130
|
handleChange: (event: Event) => void;
|
|
131
|
+
getValueByPath(obj: any, path: any): any;
|
|
123
132
|
render(): any;
|
|
124
133
|
}
|
|
@@ -74,7 +74,7 @@ export declare class EdsLink {
|
|
|
74
74
|
*/
|
|
75
75
|
el: HTMLElement;
|
|
76
76
|
private parentContext;
|
|
77
|
-
|
|
77
|
+
handleParentContext(event: CustomEvent): void;
|
|
78
78
|
private handleClick;
|
|
79
79
|
private getLinkSize;
|
|
80
80
|
private renderLeftIcon;
|
|
@@ -27,11 +27,29 @@ export declare class EdsModal {
|
|
|
27
27
|
* Default is 3 lines.
|
|
28
28
|
*/
|
|
29
29
|
truncateLines: string;
|
|
30
|
+
/**
|
|
31
|
+
* Specifies the position of the modal.
|
|
32
|
+
*
|
|
33
|
+
* Acceptable values are:
|
|
34
|
+
* - `"middle"` (default): The modal is centered both vertically and horizontally.
|
|
35
|
+
* - `"top"`: The modal is positioned near the top of the viewport.
|
|
36
|
+
* - `"bottom"`: The modal is positioned near the bottom of the viewport.
|
|
37
|
+
* - `"left"`: The modal is positioned on the left side of the viewport, centered vertically.
|
|
38
|
+
* - `"right"`: The modal is positioned on the right side of the viewport, centered vertically.
|
|
39
|
+
*/
|
|
40
|
+
position: 'middle' | 'top' | 'bottom' | 'left' | 'right';
|
|
30
41
|
/**
|
|
31
42
|
* Reference to the host element.
|
|
32
43
|
*/
|
|
33
44
|
el: HTMLElement;
|
|
34
45
|
private getTruncateClass;
|
|
46
|
+
/**
|
|
47
|
+
* Returns the Tailwind CSS classes to position the modal based on the `position` prop.
|
|
48
|
+
*
|
|
49
|
+
* @private
|
|
50
|
+
* @returns {string} The concatenated CSS classes for modal positioning.
|
|
51
|
+
*/
|
|
52
|
+
private getModalPositionClasses;
|
|
35
53
|
/**
|
|
36
54
|
* Opens the modal.
|
|
37
55
|
*/
|
|
@@ -45,16 +63,8 @@ export declare class EdsModal {
|
|
|
45
63
|
*/
|
|
46
64
|
toggle(): Promise<void>;
|
|
47
65
|
/**
|
|
48
|
-
*
|
|
49
|
-
* It emits a custom event for each `eds-button` element contained within the breadcrumb.
|
|
50
|
-
*/
|
|
51
|
-
componentDidLoad(): void;
|
|
52
|
-
/**
|
|
53
|
-
* Emits a custom event called `parentContext` for a given button element.
|
|
54
|
-
* This event provides context information about the eds-modal component.
|
|
55
|
-
*
|
|
56
|
-
* @param btnElement - The link element to which the event will be dispatched.
|
|
66
|
+
* Closes the modal when the Escape key is pressed.
|
|
57
67
|
*/
|
|
58
|
-
|
|
68
|
+
handleKeyDown(event: KeyboardEvent): void;
|
|
59
69
|
render(): any;
|
|
60
70
|
}
|
|
@@ -7,6 +7,15 @@ declare const _default: {
|
|
|
7
7
|
description: string;
|
|
8
8
|
defaultValue: string;
|
|
9
9
|
};
|
|
10
|
+
position: {
|
|
11
|
+
control: string;
|
|
12
|
+
options: string[];
|
|
13
|
+
description: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
args: {
|
|
17
|
+
title: string;
|
|
18
|
+
position: string;
|
|
10
19
|
};
|
|
11
20
|
};
|
|
12
21
|
export default _default;
|
|
@@ -5,13 +5,13 @@ export declare class EdsRating {
|
|
|
5
5
|
*/
|
|
6
6
|
stars: number;
|
|
7
7
|
/**
|
|
8
|
-
* The label text for the
|
|
8
|
+
* The label text for the rating component.
|
|
9
9
|
*/
|
|
10
10
|
label?: string;
|
|
11
11
|
/**
|
|
12
12
|
* Mapping of text to star ratings.
|
|
13
13
|
*/
|
|
14
|
-
textMapping: string |
|
|
14
|
+
textMapping: string | string[];
|
|
15
15
|
/**
|
|
16
16
|
* Current selected rating value.
|
|
17
17
|
*/
|
|
@@ -21,12 +21,9 @@ export declare class EdsRating {
|
|
|
21
21
|
*/
|
|
22
22
|
ratingChange: EventEmitter<number>;
|
|
23
23
|
/**
|
|
24
|
-
* Parses the `
|
|
25
|
-
* Returns an empty array if parsing fails or if `links` is not a valid JSON string or object.
|
|
26
|
-
*
|
|
27
|
-
* @returns {any[]} Array of parsed link objects
|
|
24
|
+
* Parses the `textMapping` prop into an array of strings.
|
|
28
25
|
*/
|
|
29
|
-
get parsedMappings():
|
|
26
|
+
get parsedMappings(): string[];
|
|
30
27
|
/**
|
|
31
28
|
* Handles the click event on a star.
|
|
32
29
|
* @param rating - The selected rating value.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export interface Step {
|
|
3
|
+
title: string;
|
|
4
|
+
content?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare class EdsSteps {
|
|
7
|
+
/**
|
|
8
|
+
* JSON string containing an array of step objects.
|
|
9
|
+
* Example:
|
|
10
|
+
* '[
|
|
11
|
+
* { "title": "Get Access...", "content": "To participate..." },
|
|
12
|
+
* { "title": "Subscribe...", "content": "Technical Coordination..." },
|
|
13
|
+
* { "title": "Confirm Your Subscription" }
|
|
14
|
+
* ]'
|
|
15
|
+
*/
|
|
16
|
+
steps: string | Step[];
|
|
17
|
+
/**
|
|
18
|
+
* The type of stepper. Default is "static" (all steps visible, no buttons).
|
|
19
|
+
* If set to "linear", then only one step is visible at a time with navigation.
|
|
20
|
+
*/
|
|
21
|
+
type: 'static' | 'linear';
|
|
22
|
+
/**
|
|
23
|
+
* The index of the currently active step (used in linear mode).
|
|
24
|
+
*/
|
|
25
|
+
activeStep: number;
|
|
26
|
+
/**
|
|
27
|
+
* Emits when a step is clicked, providing the step's index.
|
|
28
|
+
*/
|
|
29
|
+
stepClick: EventEmitter<number>;
|
|
30
|
+
private handleStepClick;
|
|
31
|
+
/**
|
|
32
|
+
* Parse the JSON string into an array of steps.
|
|
33
|
+
*/
|
|
34
|
+
private get parsedSteps();
|
|
35
|
+
private handleNext;
|
|
36
|
+
private handleBack;
|
|
37
|
+
private handleReset;
|
|
38
|
+
render(): any;
|
|
39
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: string;
|
|
4
|
+
argTypes: {
|
|
5
|
+
type: {
|
|
6
|
+
control: {
|
|
7
|
+
type: string;
|
|
8
|
+
};
|
|
9
|
+
options: string[];
|
|
10
|
+
mapping: {
|
|
11
|
+
static: string;
|
|
12
|
+
linear: string;
|
|
13
|
+
};
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
16
|
+
steps: {
|
|
17
|
+
control: {
|
|
18
|
+
type: string;
|
|
19
|
+
};
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
args: {
|
|
24
|
+
type: string;
|
|
25
|
+
steps: {
|
|
26
|
+
title: string;
|
|
27
|
+
content: string;
|
|
28
|
+
}[];
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export default _default;
|
|
32
|
+
export declare const Default: {
|
|
33
|
+
render: (args: any) => string;
|
|
34
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface Step {
|
|
2
|
+
label: string;
|
|
3
|
+
description: string;
|
|
4
|
+
}
|
|
5
|
+
export declare class EdsVerticalStepper {
|
|
6
|
+
/**
|
|
7
|
+
* JSON string containing an array of steps.
|
|
8
|
+
* Example:
|
|
9
|
+
* '[
|
|
10
|
+
* { "label": "Select campaign settings", "description": "For each ad campaign..." },
|
|
11
|
+
* { "label": "Create an ad group", "description": "An ad group contains one or more ads..." },
|
|
12
|
+
* { "label": "Create an ad", "description": "Try out different ad text..." }
|
|
13
|
+
* ]'
|
|
14
|
+
*/
|
|
15
|
+
steps: string;
|
|
16
|
+
activeStep: number;
|
|
17
|
+
private get parsedSteps();
|
|
18
|
+
private handleNext;
|
|
19
|
+
private handleBack;
|
|
20
|
+
private handleReset;
|
|
21
|
+
render(): any;
|
|
22
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export declare class EdsSwitch {
|
|
3
|
+
/**
|
|
4
|
+
* Indicates whether the switch is checked.
|
|
5
|
+
*/
|
|
6
|
+
checked: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Disables the switch if true.
|
|
9
|
+
*/
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Label to display when the switch is ON.
|
|
13
|
+
*/
|
|
14
|
+
labelOn: string;
|
|
15
|
+
/**
|
|
16
|
+
* Label to display when the switch is OFF.
|
|
17
|
+
*/
|
|
18
|
+
labelOff: string;
|
|
19
|
+
/**
|
|
20
|
+
* Emitted when the switch is toggled.
|
|
21
|
+
*/
|
|
22
|
+
change: EventEmitter<boolean>;
|
|
23
|
+
private toggleSwitch;
|
|
24
|
+
render(): any;
|
|
25
|
+
}
|