@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
|
@@ -4,11 +4,12 @@ function isMatomoAvailable() {
|
|
|
4
4
|
}
|
|
5
5
|
// General function to push data to Matomo
|
|
6
6
|
function pushToMatomo(action, ...args) {
|
|
7
|
-
console.log('Pushing Matomo')
|
|
7
|
+
//console.log('Pushing Matomo')
|
|
8
8
|
if (isMatomoAvailable()) {
|
|
9
9
|
window._paq.push([action, ...args]);
|
|
10
10
|
}
|
|
11
11
|
else {
|
|
12
|
+
// eslint-disable-next-line
|
|
12
13
|
console.warn('Matomo is not available or not initialized.');
|
|
13
14
|
}
|
|
14
15
|
}
|
|
@@ -16,7 +17,9 @@ function pushToMatomo(action, ...args) {
|
|
|
16
17
|
function sendAnalytics(eventData) {
|
|
17
18
|
var _a;
|
|
18
19
|
if (!isMatomoAvailable()) {
|
|
20
|
+
// eslint-disable-next-line
|
|
19
21
|
console.warn('Matomo is not available or not initialized.');
|
|
22
|
+
// eslint-disable-next-line
|
|
20
23
|
console.log(Object.assign({}, eventData));
|
|
21
24
|
return;
|
|
22
25
|
}
|
|
@@ -30,12 +33,14 @@ function sendAnalytics(eventData) {
|
|
|
30
33
|
const name = nameParts.join('/');
|
|
31
34
|
//console.log('trackEvent', eventData.category, eventData.action, name)
|
|
32
35
|
pushToMatomo('trackEvent', eventData.category, eventData.action, name);
|
|
36
|
+
// eslint-disable-next-line
|
|
33
37
|
console.log(Object.assign({}, eventData));
|
|
34
38
|
}
|
|
35
39
|
// Function to opt-in the user
|
|
36
40
|
function matomoOptIn() {
|
|
37
41
|
if (isMatomoAvailable()) {
|
|
38
42
|
window._paq.push(['rememberConsentGiven']);
|
|
43
|
+
// eslint-disable-next-line
|
|
39
44
|
console.log('User has opted in to tracking');
|
|
40
45
|
}
|
|
41
46
|
}
|
package/dist/components/color.js
CHANGED
|
@@ -1,169 +1,5 @@
|
|
|
1
1
|
import { c as cva } from './index2.js';
|
|
2
2
|
|
|
3
|
-
[
|
|
4
|
-
['eds-header', {
|
|
5
|
-
'home-url': '/',
|
|
6
|
-
'user-feature': 'false',
|
|
7
|
-
'keycloak-url': 'http://localhost:8080',
|
|
8
|
-
'keycloak-realm': 'nigeor-realm',
|
|
9
|
-
'keycloak-client-id': 'stencil-app',
|
|
10
|
-
links: JSON.stringify([
|
|
11
|
-
{ label: 'About', url: '/about' },
|
|
12
|
-
{ label: 'Focus Areas', url: '/focus-areas' },
|
|
13
|
-
{ label: 'News & Events', url: '/news-and-events' },
|
|
14
|
-
{ label: 'Contact', url: '/contact' },
|
|
15
|
-
]),
|
|
16
|
-
}],
|
|
17
|
-
['eds-block-break', {}],
|
|
18
|
-
['eds-footer', {}],
|
|
19
|
-
['eds-block-break', {}],
|
|
20
|
-
['eds-tabs', {
|
|
21
|
-
tabs: JSON.stringify([
|
|
22
|
-
{ label: 'Home', url: '#', active: true, ariaLabel: 'Home Tab' },
|
|
23
|
-
{ label: 'Profile', url: '#', active: false, ariaLabel: 'Profile Tab' },
|
|
24
|
-
{ label: 'Settings', url: '#', active: false, ariaLabel: 'Settings Tab' },
|
|
25
|
-
]),
|
|
26
|
-
}],
|
|
27
|
-
['eds-block-break', {}],
|
|
28
|
-
['eds-card-section', {
|
|
29
|
-
cards: JSON.stringify([
|
|
30
|
-
{ title: 'Card 1', description: 'Description 1', tags: 'tag1, tag2', url: '/link1' },
|
|
31
|
-
{ title: 'Card 2', description: 'Description 2', tags: 'tag3', url: '/link2' },
|
|
32
|
-
]),
|
|
33
|
-
cols: '4',
|
|
34
|
-
}],
|
|
35
|
-
['eds-block-break', {}],
|
|
36
|
-
['eds-link', {
|
|
37
|
-
label: 'Main Link Click Me',
|
|
38
|
-
url: 'https://example.com',
|
|
39
|
-
intent: 'primary'
|
|
40
|
-
}],
|
|
41
|
-
['eds-block-break', {}],
|
|
42
|
-
['eds-avatar', { 'first-name': 'John', 'last-name': 'Doe' }],
|
|
43
|
-
['eds-block-break', {}],
|
|
44
|
-
['eds-breadcrumb', {
|
|
45
|
-
items: JSON.stringify([
|
|
46
|
-
{ label: 'Home', url: '/' },
|
|
47
|
-
{ label: 'Products', url: '/products' },
|
|
48
|
-
{ label: 'Electronics', url: '/products/electronics' },
|
|
49
|
-
{ label: 'Laptops', url: '/products/electronics/laptops' },
|
|
50
|
-
]),
|
|
51
|
-
intent: 'primary',
|
|
52
|
-
}],
|
|
53
|
-
['eds-block-break', {}],
|
|
54
|
-
['eds-card-generic', {
|
|
55
|
-
'card-title': 'The Future of AI in Healthcare',
|
|
56
|
-
url: 'https://example.com/ai-healthcare',
|
|
57
|
-
description: 'Explore how AI is transforming the healthcare industry with cutting-edge technologies and research.',
|
|
58
|
-
avatar: 'https://files.ebrains.eu/img/686e0edc-f3be-4d79-aa02-373c32c08d65/ebrains-logo-high-resolution.png?fit=max&q=80&fm=webp&crop=879%2C879%2C597%2C0&w=200',
|
|
59
|
-
'short-abbreviation': 'AI',
|
|
60
|
-
'heading-level': 'h2',
|
|
61
|
-
tags: 'Technology,AI,Healthcare',
|
|
62
|
-
tiny: 'false',
|
|
63
|
-
bg: 'true',
|
|
64
|
-
'with-hover': 'true',
|
|
65
|
-
}],
|
|
66
|
-
['eds-block-break', {}],
|
|
67
|
-
['eds-code-block', {
|
|
68
|
-
code: 'Hello',
|
|
69
|
-
language: 'javascript',
|
|
70
|
-
}],
|
|
71
|
-
['eds-block-break', {}],
|
|
72
|
-
['eds-dropdown', {
|
|
73
|
-
'aria-label': 'More options',
|
|
74
|
-
'rounded-btn': 'true',
|
|
75
|
-
'dropdown-pos': 'right',
|
|
76
|
-
'dropdown-offset': 'true',
|
|
77
|
-
}],
|
|
78
|
-
['eds-block-break', {}],
|
|
79
|
-
['eds-form', {
|
|
80
|
-
name: 'extended-form',
|
|
81
|
-
endpoint: 'http://127.0.0.1:5000/api/data',
|
|
82
|
-
fields: JSON.stringify([
|
|
83
|
-
{ name: 'username', label: 'Username', type: 'text', required: true, maxlength: 10 },
|
|
84
|
-
{ name: 'email', label: 'Email', type: 'email', required: true },
|
|
85
|
-
{ name: 'number', label: 'Number', type: 'number', required: true },
|
|
86
|
-
{ name: 'password', label: 'Password', type: 'password', required: true, maxlength: 50 },
|
|
87
|
-
{ name: 'date', label: 'Date', type: 'date', required: true },
|
|
88
|
-
{ name: 'file', label: 'File', type: 'file', required: false },
|
|
89
|
-
{ name: 'hiddenField', type: 'hidden', value: 'hiddenValue' },
|
|
90
|
-
{ name: 'bio', label: 'Biography', type: 'textarea', required: true, maxlength: 300 },
|
|
91
|
-
{ name: 'role', label: 'Role', type: 'select', required: true, options: [
|
|
92
|
-
{ label: 'Admin', value: 'admin' },
|
|
93
|
-
{ label: 'Editor', value: 'editor' },
|
|
94
|
-
{ label: 'Viewer', value: 'viewer' },
|
|
95
|
-
] },
|
|
96
|
-
{ name: 'preferences', type: 'checkbox', label: 'Select your preferences', options: [
|
|
97
|
-
{ value: 'option1', label: 'Option 1' },
|
|
98
|
-
{ value: 'option2', label: 'Option 2' },
|
|
99
|
-
{ value: 'option3', label: 'Option 3' },
|
|
100
|
-
], required: true },
|
|
101
|
-
{ name: 'gender', type: 'radio', label: 'Select your gender', options: [
|
|
102
|
-
{ value: 'female', label: 'Female' },
|
|
103
|
-
{ value: 'male', label: 'Male' },
|
|
104
|
-
], required: true },
|
|
105
|
-
{ name: 'newsletter', label: 'newsletter', type: 'checkbox', value: 'subscribe', required: true },
|
|
106
|
-
{ name: 'range', label: 'Range bar', type: 'range', min: '0', max: '10', step: '1', required: true },
|
|
107
|
-
]),
|
|
108
|
-
'success-message': 'Form submitted successfully!',
|
|
109
|
-
'error-message': 'Please fix the errors in the form.',
|
|
110
|
-
'submit-btn': 'true',
|
|
111
|
-
'small-alert': 'false',
|
|
112
|
-
'set-form-url': 'true',
|
|
113
|
-
}],
|
|
114
|
-
['eds-block-break', {}],
|
|
115
|
-
['eds-img', {
|
|
116
|
-
src: 'https://files.ebrains.eu/img/f999348c-beaa-40f8-ba60-230316d4a947/EBRAINS-BernsteinConference01.jpg',
|
|
117
|
-
alt: 'EBRAINS Bernstein Conference',
|
|
118
|
-
width: '400',
|
|
119
|
-
height: '225',
|
|
120
|
-
srcset: 'https://files.ebrains.eu/img/f999348c-beaa-40f8-ba60-230316d4a947/EBRAINS-BernsteinConference01.jpg 720w, https://files.ebrains.eu/img/f999348c-beaa-40f8-ba60-230316d4a947/EBRAINS-BernsteinConference01.jpg 1080w, https://files.ebrains.eu/img/f999348c-beaa-40f8-ba60-230316d4a947/EBRAINS-BernsteinConference01.jpg 1440w',
|
|
121
|
-
sizes: '(max-width: 600px) 100vw, (max-width: 1200px) 50vw, 33vw',
|
|
122
|
-
formats: JSON.stringify([
|
|
123
|
-
{ type: 'image/webp', srcset: 'https://files.ebrains.eu/img/f999348c-beaa-40f8-ba60-230316d4a947/EBRAINS-BernsteinConference01.webp 720w, https://files.ebrains.eu/img/f999348c-beaa-40f8-ba60-230316d4a947/EBRAINS-BernsteinConference01.webp 1080w' },
|
|
124
|
-
{ type: 'image/jpeg', srcset: 'https://files.ebrains.eu/img/f999348c-beaa-40f8-ba60-230316d4a947/EBRAINS-BernsteinConference01.jpg 720w, https://files.ebrains.eu/img/f999348c-beaa-40f8-ba60-230316d4a947/EBRAINS-BernsteinConference01.jpg 1080w' },
|
|
125
|
-
]),
|
|
126
|
-
lazyload: 'true',
|
|
127
|
-
'with-bg': 'true',
|
|
128
|
-
}],
|
|
129
|
-
['eds-block-break', {}],
|
|
130
|
-
['eds-input-field', {
|
|
131
|
-
name: 'username',
|
|
132
|
-
'input-id': 'username',
|
|
133
|
-
label: 'Username',
|
|
134
|
-
placeholder: 'Enter your username',
|
|
135
|
-
required: 'true',
|
|
136
|
-
hint: 'Your unique username',
|
|
137
|
-
message: 'This field is required',
|
|
138
|
-
'error-message': 'Invalid username',
|
|
139
|
-
type: 'text',
|
|
140
|
-
}],
|
|
141
|
-
['eds-block-break', {}],
|
|
142
|
-
['eds-pagination', {
|
|
143
|
-
'current-page': '1',
|
|
144
|
-
'last-page': '10',
|
|
145
|
-
'per-page': '5',
|
|
146
|
-
total: '50',
|
|
147
|
-
mode: 'default',
|
|
148
|
-
}],
|
|
149
|
-
['eds-block-break', {}],
|
|
150
|
-
['eds-progress-bar', { value: '75' }],
|
|
151
|
-
['eds-table', {
|
|
152
|
-
data: JSON.stringify([
|
|
153
|
-
{ Property: 'username', Type: 'string', Required: 'Yes' },
|
|
154
|
-
{ Property: 'password', Type: 'string', Required: 'Yes' },
|
|
155
|
-
{ Property: 'email', Type: 'string', Required: 'No' },
|
|
156
|
-
]),
|
|
157
|
-
config: JSON.stringify({
|
|
158
|
-
Type: { format: 'uppercase' },
|
|
159
|
-
Property: { format: 'code' },
|
|
160
|
-
Required: { hidden: true },
|
|
161
|
-
}),
|
|
162
|
-
}],
|
|
163
|
-
['eds-block-break', {}],
|
|
164
|
-
['eds-tag', { label: 'Default Tag', intent: 'default' }],
|
|
165
|
-
];
|
|
166
|
-
|
|
167
3
|
const GRADIANT_TOKENS = ['green', 'yellow', 'among-blue', 'purple'];
|
|
168
4
|
const gradientBGColorVariants = cva([], {
|
|
169
5
|
variants: {
|
|
@@ -5664,6 +5664,24 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
5664
5664
|
background-size: 16px 16px;
|
|
5665
5665
|
}
|
|
5666
5666
|
}
|
|
5667
|
+
.effect-bg-behind {
|
|
5668
|
+
position: relative;
|
|
5669
|
+
}
|
|
5670
|
+
.effect-bg-behind::before {
|
|
5671
|
+
position: absolute;
|
|
5672
|
+
inset: 0rem;
|
|
5673
|
+
z-index: -1;
|
|
5674
|
+
--tw-content: '';
|
|
5675
|
+
content: var(--tw-content);
|
|
5676
|
+
}
|
|
5677
|
+
.effect-bg-behind {
|
|
5678
|
+
|
|
5679
|
+
&:before {
|
|
5680
|
+
background-size: calc(100% + 6px) calc(100% + 6px) !important;
|
|
5681
|
+
background-position: -4px -4px !important;
|
|
5682
|
+
background-repeat: no-repeat !important;
|
|
5683
|
+
}
|
|
5684
|
+
}
|
|
5667
5685
|
.effect-bg-behind-link {
|
|
5668
5686
|
position: relative;
|
|
5669
5687
|
}
|
|
@@ -5733,6 +5751,9 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
5733
5751
|
.bottom-0 {
|
|
5734
5752
|
bottom: 0rem;
|
|
5735
5753
|
}
|
|
5754
|
+
.bottom-20 {
|
|
5755
|
+
bottom: 1.25rem;
|
|
5756
|
+
}
|
|
5736
5757
|
.bottom-4 {
|
|
5737
5758
|
bottom: 0.25rem;
|
|
5738
5759
|
}
|
|
@@ -5745,6 +5766,9 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
5745
5766
|
.left-1\/2 {
|
|
5746
5767
|
left: 50%;
|
|
5747
5768
|
}
|
|
5769
|
+
.left-20 {
|
|
5770
|
+
left: 1.25rem;
|
|
5771
|
+
}
|
|
5748
5772
|
.left-4 {
|
|
5749
5773
|
left: 0.25rem;
|
|
5750
5774
|
}
|
|
@@ -5754,6 +5778,9 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
5754
5778
|
.right-0 {
|
|
5755
5779
|
right: 0rem;
|
|
5756
5780
|
}
|
|
5781
|
+
.right-20 {
|
|
5782
|
+
right: 1.25rem;
|
|
5783
|
+
}
|
|
5757
5784
|
.right-4 {
|
|
5758
5785
|
right: 0.25rem;
|
|
5759
5786
|
}
|
|
@@ -5772,6 +5799,9 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
5772
5799
|
.top-16 {
|
|
5773
5800
|
top: 1rem;
|
|
5774
5801
|
}
|
|
5802
|
+
.top-20 {
|
|
5803
|
+
top: 1.25rem;
|
|
5804
|
+
}
|
|
5775
5805
|
.top-full {
|
|
5776
5806
|
top: 100%;
|
|
5777
5807
|
}
|
|
@@ -6463,6 +6493,9 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
6463
6493
|
.p-16 {
|
|
6464
6494
|
padding: 1rem;
|
|
6465
6495
|
}
|
|
6496
|
+
.p-2 {
|
|
6497
|
+
padding: 0.125rem;
|
|
6498
|
+
}
|
|
6466
6499
|
.p-20 {
|
|
6467
6500
|
padding: 1.25rem;
|
|
6468
6501
|
}
|
|
@@ -6832,6 +6865,12 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
6832
6865
|
transition-duration: 300ms;
|
|
6833
6866
|
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
6834
6867
|
}
|
|
6868
|
+
.before\:effect-opacity::before {
|
|
6869
|
+
transition-property: opacity;
|
|
6870
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
6871
|
+
transition-duration: 300ms;
|
|
6872
|
+
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
6873
|
+
}
|
|
6835
6874
|
@media (min-width: 750px) {
|
|
6836
6875
|
.md\:grid-col-span-4 {
|
|
6837
6876
|
--container-grid-columns: 4;
|
|
@@ -7104,6 +7143,30 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
7104
7143
|
.before\:bg-gradient-y::before {
|
|
7105
7144
|
background: linear-gradient(to bottom, transparent, ease-in-out, black);
|
|
7106
7145
|
}
|
|
7146
|
+
.before\:bg-gradient-01-top::before {
|
|
7147
|
+
background: linear-gradient(to bottom, #00E766, ease-in-out, #E6E6E6);
|
|
7148
|
+
}
|
|
7149
|
+
.before\:bg-gradient-01-bottom::before {
|
|
7150
|
+
background: linear-gradient(to top, #00E766, ease-in-out, #E6E6E6);
|
|
7151
|
+
}
|
|
7152
|
+
.before\:bg-gradient-02-top::before {
|
|
7153
|
+
background: linear-gradient(to bottom, #F3F30A, ease-in-out, #E6E6E6);
|
|
7154
|
+
}
|
|
7155
|
+
.before\:bg-gradient-02-bottom::before {
|
|
7156
|
+
background: linear-gradient(to top, #F3F30A, ease-in-out, #E6E6E6);
|
|
7157
|
+
}
|
|
7158
|
+
.before\:bg-gradient-03-top::before {
|
|
7159
|
+
background: linear-gradient(to bottom, #C461FF, ease-in-out, #E6E6E6);
|
|
7160
|
+
}
|
|
7161
|
+
.before\:bg-gradient-03-bottom::before {
|
|
7162
|
+
background: linear-gradient(to top, #C461FF, ease-in-out, #E6E6E6);
|
|
7163
|
+
}
|
|
7164
|
+
.before\:bg-gradient-04-top::before {
|
|
7165
|
+
background: linear-gradient(to bottom, #2B69FC, ease-in-out, #E6E6E6);
|
|
7166
|
+
}
|
|
7167
|
+
.before\:bg-gradient-04-bottom::before {
|
|
7168
|
+
background: linear-gradient(to top, #2B69FC, ease-in-out, #E6E6E6);
|
|
7169
|
+
}
|
|
7107
7170
|
.hover\:before\:opacity-100:hover::before {
|
|
7108
7171
|
opacity: 1;
|
|
7109
7172
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as a}from"./p-7a8b9de5.js";export{s as setNonce}from"./p-7a8b9de5.js";import{g as t}from"./p-e1255160.js";(()=>{const a=import.meta.url,s={};return""!==a&&(s.resourcesUrl=new URL(".",a).href),e(s)})().then((async e=>(await t(),a(JSON.parse('[["p-84957b6d",[[4,"eds-header",{"homeUrl":[513,"home-url"],"links":[1],"inverseHeader":[4,"inverse-header"],"userFeature":[4,"user-feature"],"menuEnabled":[4,"menu-enabled"],"keycloakUrl":[1,"keycloak-url"],"keycloakRealm":[1,"keycloak-realm"],"keycloakClientId":[1,"keycloak-client-id"],"isMenuOpen":[32],"isUserMenuOpen":[32],"isAuthenticated":[32]},[[16,"authStatusChanged","onAuthStatusChanged"]]],[0,"eds-fullscreen-menu",{"links":[1],"menuLinks":[1,"menu-links"],"homeUrl":[1,"home-url"],"inverseHeader":[4,"inverse-header"],"isMenuOpen":[32]},[[16,"toggleMenu","handleToggleMenu"]]],[0,"eds-toast-manager",{"toasts":[32]}],[1,"eds-breadcrumb",{"items":[1],"intent":[1],"parsedItems":[32],"isSmallScreen":[32],"maxVisibleItems":[32]},null,{"items":["parseItems"]}],[0,"eds-user",{"keycloakUrl":[1,"keycloak-url"],"keycloakRealm":[1,"keycloak-realm"],"keycloakClientId":[1,"keycloak-client-id"],"user":[32],"authenticated":[32],"serverAvailable":[32],"username":[32]}],[0,"eds-footer",{"extraClass":[1,"extra-class"],"social":[4],"hasCookiesSetUp":[4,"has-cookies-set-up"],"enableScrollTop":[4,"enable-scroll-top"],"fundedBy":[1,"funded-by"],"rightsReserved":[1,"rights-reserved"],"cookiesPreference":[1,"cookies-preference"]}],[0,"eds-toast",{"message":[1],"intent":[1],"duration":[2],"visible":[32]}],[0,"eds-user-modal",{"user":[1],"links":[1],"onLogout":[16],"parsedUser":[32],"parsedLinks":[32]},null,{"user":["parseUserProp"],"links":["parseLinksProp"]}],[1,"eds-dropdown",{"icon":[1],"label":[1],"rounded":[4],"ariaLabel":[1,"aria-label"],"asNav":[4,"as-nav"],"dropdownPos":[1,"dropdown-pos"],"dropdownOffset":[4,"dropdown-offset"],"intent":[1],"isOpen":[32],"focusIndex":[32]},[[8,"click","handleWindowClick"],[8,"keydown","handleKeyDown"]]],[1,"eds-social-networks",{"title":[1]}],[1,"eds-block-break",{"extraClass":[1,"extra-class"]}],[1,"eds-logo",{"href":[1],"orientation":[1],"type":[1]}],[1,"eds-avatar",{"firstName":[1,"first-name"],"lastName":[1,"last-name"],"picture":[1],"initials":[1],"color":[1],"rounded":[4],"initialsStrong":[4,"initials-strong"]}],[1,"eds-img",{"src":[1],"alt":[1],"width":[2],"height":[2],"srcset":[1],"sizes":[1],"formats":[16],"lazyload":[4],"withBg":[4,"with-bg"],"loaded":[32],"showBg":[32]}],[1,"eds-button",{"label":[1],"ariaLabel":[1,"aria-label"],"elementType":[1,"element-type"],"intent":[1],"loading":[4],"disabled":[4],"pill":[4],"icon":[1],"size":[1],"iconPos":[1,"icon-pos"],"iconSmall":[4,"icon-small"],"extraClass":[1,"extra-class"],"triggerClick":[16]},[[0,"parentContext","handleParentContext"]]],[1,"eds-link",{"label":[1],"intent":[1],"icon":[1],"iconPos":[1,"icon-pos"],"iconSmall":[4,"icon-small"],"size":[1],"external":[4],"current":[4],"download":[4],"url":[1],"ariaLabel":[1,"aria-label"],"disabled":[4],"hideLabelOnSmallScreen":[4,"hide-label-on-small-screen"],"extraClass":[1,"extra-class"]},[[0,"parentContext","handleBreadcrumbContext"]]],[0,"eds-icon-wrapper",{"icon":[1],"class":[1],"IconComponent":[32]},null,{"icon":["iconChanged"]}]]],["p-5afb626c",[[0,"eds-trl",{"applications":[1]}]]],["p-7215789a",[[4,"eds-form",{"smallAlert":[4,"small-alert"],"setFormUrl":[4,"set-form-url"],"submitBtn":[4,"submit-btn"],"submitBtnLabel":[1,"submit-btn-label"],"successMessage":[1,"success-message"],"errorMessage":[1,"error-message"],"submitBtnHintMessage":[1,"submit-btn-hint-message"],"endpoint":[1],"name":[1],"fields":[1],"coupleAuth":[4,"couple-auth"],"values":[32],"formSubmitted":[32],"hasError":[32],"errors":[32],"isSubmitting":[32],"alertMessage":[32],"isAuthenticated":[32],"authUser":[32]},[[16,"authStatusChanged","onAuthStatusChanged"]]]]],["p-762c8c83",[[1,"eds-svg-repository"]]],["p-87830085",[[0,"eds-docs-palettes",{"tabIndex":[2,"tab-index"]}]]],["p-5d7af761",[[1,"eds-card-section",{"cards":[1],"cols":[2]}]]],["p-ac0112d5",[[0,"eds-components-section",{"tabIndex":[2,"tab-index"]}]]],["p-3617841d",[[0,"eds-timeline",{"events":[1],"selectedEvent":[32],"parsedEvents":[32]},null,{"events":["parseEvents"]}]]],["p-e20ed2c7",[[1,"eds-card-tool",{"cardTitle":[1,"card-title"],"url":[1],"description":[1],"image":[8],"avatar":[1],"shortAbbreviation":[1,"short-abbreviation"],"headingLevel":[1,"heading-level"],"tags":[8],"tiny":[4],"bg":[4],"withHover":[4,"with-hover"],"external":[4],"hierarchy":[4]}]]],["p-0910d733",[[0,"eds-docs-tokens",{"tabIndex":[2,"tab-index"]}]]],["p-73bd0c97",[[0,"eds-card-project",{"image":[8],"editorialTitle":[1,"editorial-title"],"headingLevel":[1,"heading-level"],"categoryTitle":[1,"category-title"],"color":[1],"bgOnHover":[4,"bg-on-hover"],"vertical":[4],"titleProject":[1,"title-project"],"url":[1],"parsedImage":[32]}]]],["p-ae5dbd41",[[0,"eds-logo-variations",{"tabIndex":[2,"tab-index"]}]]],["p-d9788b54",[[1,"eds-matomo-notice",{"title":[1],"description":[1],"showNotice":[32]}]]],["p-acb16e1c",[[0,"incorrect-use-of-colors"]]],["p-5a43503a",[[0,"correct-use-of-colors"]]],["p-32f282a9",[[0,"eds-frame",{"frameLabel":[1,"frame-label"],"urlLabel":[1,"url-label"],"errorMessage":[1,"error-message"],"storybookUrl":[1,"storybook-url"],"storyPath":[1,"story-path"],"intent":[1],"tiny":[4],"size":[1],"bg":[4],"iframeError":[32]}]]],["p-005de86f",[[1,"eds-login",{"keycloakUrl":[1,"keycloak-url"],"keycloakRealm":[1,"keycloak-realm"],"keycloakClientId":[1,"keycloak-client-id"],"authenticated":[32],"user":[32]}]]],["p-96c4deda",[[1,"eds-modal",{"title":[1],"truncate":[4],"truncateLines":[1,"truncate-lines"],"isOpen":[32],"open":[64],"close":[64],"toggle":[64]}]]],["p-22762818",[[0,"eds-navigator",{"prevLabel":[1,"prev-label"],"nextLabel":[1,"next-label"],"prevUrl":[1,"prev-url"],"nextUrl":[1,"next-url"],"linkSize":[1,"link-size"],"linkIntent":[1,"link-intent"]}]]],["p-2851ff44",[[0,"token-ratios"]]],["p-22e6d7d5",[[0,"token-typography"]]],["p-02e2a62f",[[1,"eds-card-tags",{"accent":[4],"tags":[16]}]]],["p-52ac3456",[[0,"eds-tabs",{"id":[1],"navAriaLabel":[1,"nav-aria-label"],"tabs":[1],"parsedTabs":[32],"activeIndex":[32]},null,{"tabs":["parseTabs"]}]]],["p-2e8459ef",[[4,"eds-tabs-content",{"navAriaLabel":[1,"nav-aria-label"],"tabs":[1],"parsedTabs":[32],"activeIndex":[32]},null,{"tabs":["parseTabs"]}]]],["p-6fc62452",[[4,"eds-card-wrapper",{"tiny":[4],"withBg":[4,"with-bg"],"withHover":[4,"with-hover"]}]]],["p-32cddd94",[[0,"eds-icon-arrow-diagonal",{"addClass":[1,"add-class"]}]]],["p-f7a6ce69",[[0,"eds-icon-arrow-right",{"class":[1]}]]],["p-4037ad48",[[0,"eds-icon-bluesky",{"class":[1]}]]],["p-5aad9d3f",[[0,"eds-icon-chevron-down",{"class":[1]}]]],["p-a44a1abe",[[0,"eds-icon-chevron-left",{"class":[1]}]]],["p-145f13ad",[[0,"eds-icon-chevron-right",{"class":[1]}]]],["p-5fc68438",[[0,"eds-icon-chevron-up",{"class":[1]}]]],["p-8c56e39a",[[0,"eds-icon-close",{"class":[1]}]]],["p-490ba155",[[0,"eds-icon-copy",{"class":[1]}]]],["p-c2d369bc",[[0,"eds-icon-eu",{"class":[1]}]]],["p-d1670eec",[[0,"eds-icon-facebook",{"class":[1]}]]],["p-bf0f851d",[[0,"eds-icon-gitlab",{"class":[1]}]]],["p-297b2bc3",[[0,"eds-icon-linkedin",{"class":[1]}]]],["p-4a24c2ce",[[0,"eds-icon-loader",{"class":[1]}]]],["p-673dce11",[[0,"eds-icon-mastodon",{"class":[1]}]]],["p-d6d86366",[[0,"eds-icon-menu",{"class":[1]}]]],["p-4932aab2",[[0,"eds-icon-more",{"class":[1]}]]],["p-846fc91c",[[0,"eds-icon-search",{"class":[1]}]]],["p-bdd86a3c",[[0,"eds-icon-success",{"class":[1]}]]],["p-388b4966",[[0,"eds-icon-twitter",{"class":[1]}]]],["p-0c2e844e",[[0,"eds-icon-user",{"class":[1]}]]],["p-a4e9b68b",[[0,"eds-icon-youtube",{"class":[1]}]]],["p-42b4ecff",[[1,"eds-rating",{"stars":[2],"label":[1],"textMapping":[8,"text-mapping"],"selectedRating":[32]}]]],["p-54c75346",[[1,"eds-tooltip",{"content":[1],"position":[1],"isVisible":[32],"isPositioned":[32],"tooltipStyle":[32]},[[1,"mouseover","showTooltip"],[1,"mouseout","hideTooltip"],[8,"keydown","handleKeyPress"]]]]],["p-435a14c1",[[1,"logo-space"]]],["p-d53b7a75",[[1,"logo-wrong-usage"]]],["p-7802e966",[[0,"token-spacing"]]],["p-79887c2c",[[1,"eds-accordion",{"title":[1],"description":[1],"switchBg":[4,"switch-bg"],"expanded":[4],"clampText":[4,"clamp-text"],"minHeightContent":[4,"min-height-content"],"isExpanded":[32],"panelHeight":[32],"shortContent":[32]}]]],["p-57c964c5",[[1,"eds-progress-bar",{"value":[1026],"updateValue":[64]}]]],["p-d1f6a722",[[1,"eds-card-generic",{"cardTitle":[1,"card-title"],"url":[1],"description":[1],"image":[8],"avatar":[1],"shortAbbreviation":[1,"short-abbreviation"],"headingLevel":[1,"heading-level"],"tags":[8],"tiny":[4],"bg":[4],"withHover":[4,"with-hover"],"hierarchy":[4],"parsedImage":[32]},[[0,"parentContext","handleParentContext"]]]]],["p-6378fb3e",[[1,"logo-variations-horizontal"],[1,"logo-variations-vertical",{"orientation":[1],"type":[1]}]]],["p-e74834bc",[[0,"eds-tab",{"label":[1],"url":[1],"active":[4],"ariaLabel":[1,"aria-label"]}]]],["p-d571d530",[[0,"token-list",{"show":[1]}],[0,"token-radii"],[0,"token-shadows"]]],["p-fd27e56c",[[1,"eds-alert",{"message":[1],"pressableLabel":[1,"pressable-label"],"pressableUrl":[1,"pressable-url"],"direction":[1],"intent":[1],"withBtn":[32]}]]],["p-d7a92efb",[[1,"eds-table",{"data":[1],"endpoint":[1],"config":[1],"rowsPerPage":[2,"rows-per-page"],"paginationEnabled":[4,"pagination-enabled"],"searchEnabled":[4,"search-enabled"],"hostWidth":[1,"host-width"],"columnSize":[1,"column-size"],"tableData":[32],"columns":[32],"currentPage":[32],"parsedConfig":[32],"totalRows":[32],"searchQuery":[32]},null,{"data":["handleDataChange","parseData"],"config":["handleConfigChange"]}],[1,"eds-pagination",{"currentPage":[2,"current-page"],"lastPage":[2,"last-page"],"perPage":[2,"per-page"],"total":[2],"url":[1],"mode":[1],"prevLabel":[1,"prev-label"],"nextLabel":[1,"next-label"],"prevUrl":[1,"prev-url"],"nextUrl":[1,"next-url"],"links":[32]},null,{"currentPage":["onPageOrLastPageChange"],"lastPage":["onPageOrLastPageChange"]}]]],["p-16458a81",[[4,"eds-section-core",{"tag":[1],"sectionTitle":[1,"section-title"],"headingLevel":[1,"heading-level"]}],[0,"eds-section-heading",{"sectionTitle":[1,"section-title"],"withContainer":[4,"with-container"],"headingLevel":[1,"heading-level"],"tag":[1],"spacingLarge":[4,"spacing-large"]}]]],["p-e6bfbf51",[[1,"eds-code-block",{"code":[1],"language":[1],"copied":[32]}]]],["p-29648b47",[[0,"gradient-secondary-palette"],[0,"color-primary-palette"],[0,"color-secondary-palette",{"show":[1]}],[0,"color-support-palette"],[0,"gradient-primary-palette"],[0,"gradient-support-palette"]]],["p-be6c80da",[[1,"eds-card-desc",{"description":[1],"descClass":[1,"desc-class"],"truncate":[4],"truncateLines":[1,"truncate-lines"]}],[1,"eds-card-title",{"url":[1],"titleClass":[1,"title-class"],"headingLevel":[1,"heading-level"],"externalLink":[4,"external-link"],"cardTitle":[1,"card-title"],"hierarchy":[4]}],[1,"eds-tag",{"label":[1],"intent":[1]}]]],["p-3ff76976",[[1,"eds-input-field",{"name":[1],"inputId":[1,"input-id"],"placeholder":[1],"disabled":[4],"onChange":[16],"onInput":[16],"type":[1],"required":[4],"label":[1],"hint":[1],"icon":[1],"link":[16],"message":[1],"error":[4],"checked":[4],"errorMessage":[1,"error-message"],"value":[8],"maxLength":[2,"max-length"],"options":[1]}],[0,"eds-input",{"name":[1],"inputId":[1,"input-id"],"placeholder":[1],"disabled":[4],"hasMessage":[4,"has-message"],"error":[4],"checked":[4],"type":[1],"required":[4],"value":[8],"icon":[1],"maxLength":[2,"max-length"],"options":[16],"extraClass":[1,"extra-class"],"innerVal":[32],"maxLengthReached":[32]},null,{"value":["onValueChanged"]}],[0,"eds-input-footer",{"name":[1],"errorMessage":[1,"error-message"],"message":[1],"error":[4],"link":[16]}],[0,"eds-input-search",{"name":[1],"inputId":[1,"input-id"],"placeholder":[1],"value":[1],"disabled":[4],"required":[4],"getInputElement":[64]}],[0,"eds-input-select",{"inputId":[1,"input-id"],"name":[1],"placeholder":[1],"disabled":[4],"hasMessage":[4,"has-message"],"error":[4],"required":[4],"options":[16],"labelKey":[1,"label-key"],"valueKey":[1,"value-key"],"value":[8],"dynamicOptions":[32],"loading":[32],"dynamicValueKey":[32],"dynamicLabelKey":[32]},null,{"options":["loadOptions"]}],[0,"eds-input-label",{"label":[1],"name":[1],"required":[4],"disabled":[4]}],[0,"eds-input-range",{"name":[1],"inputId":[1,"input-id"],"disabled":[4],"required":[4],"min":[2],"max":[2],"step":[2],"sliderVal":[32],"getInputElement":[64]}]]]]'),e))));
|
|
1
|
+
import{p as e,b as a}from"./p-7a8b9de5.js";export{s as setNonce}from"./p-7a8b9de5.js";import{g as t}from"./p-e1255160.js";(()=>{const a=import.meta.url,s={};return""!==a&&(s.resourcesUrl=new URL(".",a).href),e(s)})().then((async e=>(await t(),a(JSON.parse('[["p-3babd772",[[0,"eds-fullscreen-menu",{"links":[1],"menuLinks":[1,"menu-links"],"homeUrl":[1,"home-url"],"inverseHeader":[4,"inverse-header"],"isMenuOpen":[32]},[[16,"toggleMenu","handleToggleMenu"]]],[4,"eds-header",{"homeUrl":[513,"home-url"],"links":[1],"inverseHeader":[4,"inverse-header"],"menuEnabled":[4,"menu-enabled"],"isMenuOpen":[32],"isUserMenuOpen":[32],"isAuthenticated":[32]},[[16,"authStatusChanged","onAuthStatusChanged"]]],[0,"eds-steps",{"steps":[1],"type":[1],"activeStep":[32]}],[0,"eds-toast-manager",{"toasts":[32]}],[1,"eds-breadcrumb",{"items":[1],"intent":[1],"parsedItems":[32],"isSmallScreen":[32],"maxVisibleItems":[32]},null,{"items":["parseItems"]}],[1,"eds-rating",{"stars":[2],"label":[1],"textMapping":[1,"text-mapping"],"selectedRating":[32]}],[1,"eds-switch",{"checked":[1540],"disabled":[4],"labelOn":[1,"label-on"],"labelOff":[1,"label-off"]}],[0,"eds-footer",{"extraClass":[1,"extra-class"],"social":[4],"hasCookiesSetUp":[4,"has-cookies-set-up"],"enableScrollTop":[4,"enable-scroll-top"],"fundedBy":[1,"funded-by"],"rightsReserved":[1,"rights-reserved"],"cookiesPreference":[1,"cookies-preference"]}],[0,"eds-toast",{"message":[1],"intent":[1],"duration":[2],"visible":[32]}],[1,"eds-social-networks",{"title":[1]}],[1,"eds-block-break",{"extraClass":[1,"extra-class"]}],[1,"eds-alert",{"message":[1],"pressableLabel":[1,"pressable-label"],"pressableUrl":[1,"pressable-url"],"direction":[1],"intent":[1],"withBtn":[32]}],[1,"eds-logo",{"href":[1],"orientation":[1],"type":[1],"label":[1]}],[1,"eds-img",{"src":[1],"alt":[1],"width":[2],"height":[2],"srcset":[1],"sizes":[1],"formats":[16],"lazyload":[4],"withBg":[4,"with-bg"],"loaded":[32],"showBg":[32]}],[1,"eds-button",{"label":[1],"ariaLabel":[1,"aria-label"],"elementType":[1,"element-type"],"intent":[1],"loading":[4],"disabled":[4],"pill":[4],"icon":[1],"size":[1],"iconPos":[1,"icon-pos"],"iconSmall":[4,"icon-small"],"extraClass":[1,"extra-class"],"triggerClick":[16]}],[1,"eds-link",{"label":[1],"intent":[1],"icon":[1],"iconPos":[1,"icon-pos"],"iconSmall":[4,"icon-small"],"size":[1],"external":[4],"current":[4],"download":[4],"url":[1],"ariaLabel":[1,"aria-label"],"disabled":[4],"hideLabelOnSmallScreen":[4,"hide-label-on-small-screen"],"extraClass":[1,"extra-class"]},[[0,"parentContext","handleParentContext"]]],[0,"eds-icon-wrapper",{"icon":[1],"class":[1],"IconComponent":[32]},null,{"icon":["iconChanged"]}]]],["p-a2621d66",[[0,"eds-trl",{"applications":[1]}]]],["p-030f67c1",[[4,"eds-form",{"setFormUrl":[4,"set-form-url"],"submitBtn":[4,"submit-btn"],"submitBtnLabel":[1,"submit-btn-label"],"successMessage":[1,"success-message"],"errorMessage":[1,"error-message"],"submitBtnHintMessage":[1,"submit-btn-hint-message"],"endpoint":[1],"name":[1],"fields":[1],"coupleAuth":[4,"couple-auth"],"values":[32],"formSubmitted":[32],"hasError":[32],"errors":[32],"isSubmitting":[32],"alertMessage":[32],"isAuthenticated":[32],"authUser":[32],"parsedFields":[32]},[[16,"authStatusChanged","onAuthStatusChanged"]],{"fields":["parseFields"]}]]],["p-a846dbca",[[1,"eds-svg-repository"]]],["p-9b441a1f",[[0,"eds-docs-palettes",{"tabIndex":[2,"tab-index"]}]]],["p-209fa119",[[0,"eds-user",{"keycloakUrl":[1,"keycloak-url"],"keycloakRealm":[1,"keycloak-realm"],"keycloakClientId":[1,"keycloak-client-id"],"user":[32],"authenticated":[32],"username":[32],"serverAvailable":[32]}]]],["p-0bafc5ae",[[1,"eds-card-section",{"cards":[1],"cols":[2]}]]],["p-b860b4aa",[[0,"eds-components-section",{"tabIndex":[2,"tab-index"]}]]],["p-fce25541",[[0,"eds-timeline",{"events":[1],"selectedEvent":[32],"parsedEvents":[32]},null,{"events":["parseEvents"]}]]],["p-72b42d77",[[1,"eds-card-tool",{"cardTitle":[1,"card-title"],"url":[1],"description":[1],"image":[8],"avatar":[1],"shortAbbreviation":[1,"short-abbreviation"],"headingLevel":[1,"heading-level"],"tags":[8],"tiny":[4],"bg":[4],"withHover":[4,"with-hover"],"external":[4],"hierarchy":[4]}]]],["p-b3c1aef5",[[0,"eds-docs-tokens",{"tabIndex":[2,"tab-index"]}]]],["p-c034c395",[[1,"eds-vertical-stepper",{"steps":[1],"activeStep":[32]}]]],["p-def72462",[[0,"eds-card-project",{"image":[8],"editorialTitle":[1,"editorial-title"],"headingLevel":[1,"heading-level"],"categoryTitle":[1,"category-title"],"color":[1],"bgOnHover":[4,"bg-on-hover"],"vertical":[4],"titleProject":[1,"title-project"],"url":[1],"parsedImage":[32]}]]],["p-38d70586",[[0,"eds-logo-variations",{"tabIndex":[2,"tab-index"]}]]],["p-eeeb0d83",[[1,"eds-matomo-notice",{"title":[1],"description":[1],"showNotice":[32]}]]],["p-b67aafe7",[[0,"incorrect-use-of-colors"]]],["p-5980a142",[[0,"correct-use-of-colors"]]],["p-06299762",[[0,"eds-frame",{"frameLabel":[1,"frame-label"],"urlLabel":[1,"url-label"],"errorMessage":[1,"error-message"],"storybookUrl":[1,"storybook-url"],"storyPath":[1,"story-path"],"intent":[1],"tiny":[4],"size":[1],"bg":[4],"iframeError":[32]}]]],["p-92e16cc9",[[1,"eds-login",{"keycloakUrl":[1,"keycloak-url"],"keycloakRealm":[1,"keycloak-realm"],"keycloakClientId":[1,"keycloak-client-id"],"authenticated":[32],"user":[32]}]]],["p-75795b05",[[1,"eds-modal",{"title":[1],"truncate":[4],"truncateLines":[1,"truncate-lines"],"position":[1],"isOpen":[32],"open":[64],"close":[64],"toggle":[64]},[[8,"keydown","handleKeyDown"]]]]],["p-65703520",[[0,"eds-navigator",{"prevLabel":[1,"prev-label"],"nextLabel":[1,"next-label"],"prevUrl":[1,"prev-url"],"nextUrl":[1,"next-url"],"linkSize":[1,"link-size"],"linkIntent":[1,"link-intent"]}]]],["p-a535838c",[[0,"token-ratios"]]],["p-f36f2aeb",[[0,"token-typography"]]],["p-b80457ed",[[1,"eds-card-tags",{"accent":[4],"tags":[16]}]]],["p-89f600a3",[[4,"eds-card-wrapper",{"tiny":[4],"withBg":[4,"with-bg"],"withHover":[4,"with-hover"]}]]],["p-911d9b37",[[0,"eds-icon-arrow-diagonal",{"addClass":[1,"add-class"]}]]],["p-80a185ba",[[0,"eds-icon-arrow-right",{"class":[1]}]]],["p-1ed3fdb7",[[0,"eds-icon-bluesky",{"class":[1]}]]],["p-f1cd83da",[[0,"eds-icon-chevron-down",{"class":[1]}]]],["p-aec9b8e1",[[0,"eds-icon-chevron-left",{"class":[1]}]]],["p-e2c250c5",[[0,"eds-icon-chevron-right",{"class":[1]}]]],["p-6df9db15",[[0,"eds-icon-chevron-up",{"class":[1]}]]],["p-a927a455",[[0,"eds-icon-close",{"class":[1]}]]],["p-2831a9d5",[[0,"eds-icon-copy",{"class":[1]}]]],["p-2c00bd76",[[0,"eds-icon-eu",{"class":[1]}]]],["p-96fe2267",[[0,"eds-icon-facebook",{"class":[1]}]]],["p-a63bd0c9",[[0,"eds-icon-gitlab",{"class":[1]}]]],["p-a5d00633",[[0,"eds-icon-linkedin",{"class":[1]}]]],["p-c5fa170d",[[0,"eds-icon-loader",{"class":[1]}]]],["p-86fbc239",[[0,"eds-icon-mastodon",{"class":[1]}]]],["p-de12396f",[[0,"eds-icon-menu",{"class":[1]}]]],["p-b60ed774",[[0,"eds-icon-more",{"class":[1]}]]],["p-9739def5",[[0,"eds-icon-search",{"class":[1]}]]],["p-a5b7d72d",[[0,"eds-icon-success",{"class":[1]}]]],["p-599c7b97",[[0,"eds-icon-twitter",{"class":[1]}]]],["p-0ab85eee",[[0,"eds-icon-user",{"class":[1]}]]],["p-f7493f41",[[0,"eds-tab",{"label":[1],"url":[1],"active":[4],"ariaLabel":[1,"aria-label"]}]]],["p-59405ecf",[[0,"eds-tabs",{"id":[1],"navAriaLabel":[1,"nav-aria-label"],"tabs":[1],"parsedTabs":[32],"activeIndex":[32]},null,{"tabs":["parseTabs"]}]]],["p-8b583210",[[4,"eds-tabs-content",{"navAriaLabel":[1,"nav-aria-label"],"tabs":[1],"parsedTabs":[32],"activeIndex":[32]},null,{"tabs":["parseTabs"]}]]],["p-f5dafbc8",[[0,"eds-icon-youtube",{"class":[1]}]]],["p-0e0e1815",[[1,"eds-tooltip",{"content":[1],"position":[1],"isVisible":[32],"isPositioned":[32],"tooltipStyle":[32]},[[1,"mouseover","showTooltip"],[1,"mouseout","hideTooltip"],[8,"keydown","handleKeyPress"]]]]],["p-759b2640",[[1,"logo-space"]]],["p-8c4a0fc9",[[1,"logo-wrong-usage"]]],["p-b79999d5",[[0,"token-spacing"]]],["p-9826acae",[[1,"eds-accordion",{"title":[1],"description":[1],"switchBg":[4,"switch-bg"],"expanded":[4],"clampText":[4,"clamp-text"],"minHeightContent":[4,"min-height-content"],"isExpanded":[32],"panelHeight":[32],"shortContent":[32]}]]],["p-81942665",[[1,"eds-progress-bar",{"value":[1026],"updateValue":[64]}]]],["p-505ddcda",[[1,"eds-card-desc",{"description":[1],"descClass":[1,"desc-class"],"truncate":[4],"truncateLines":[1,"truncate-lines"]}],[1,"eds-card-title",{"url":[1],"titleClass":[1,"title-class"],"headingLevel":[1,"heading-level"],"externalLink":[4,"external-link"],"cardTitle":[1,"card-title"],"hierarchy":[4]}],[1,"eds-avatar",{"firstName":[1,"first-name"],"lastName":[1,"last-name"],"picture":[1],"initials":[1],"color":[1],"rounded":[4],"initialsStrong":[4,"initials-strong"]}],[1,"eds-tag",{"label":[1],"ariaLabel":[1,"aria-label"],"intent":[1]}]]],["p-f08eac56",[[0,"eds-user-modal",{"user":[1],"links":[1],"onLogout":[16],"parsedUser":[32],"parsedLinks":[32]},null,{"user":["parseUserProp"],"links":["parseLinksProp"]}],[1,"eds-dropdown",{"icon":[1],"label":[1],"rounded":[4],"ariaLabel":[1,"aria-label"],"asNav":[4,"as-nav"],"dropdownPos":[1,"dropdown-pos"],"dropdownOffset":[4,"dropdown-offset"],"intent":[1],"isOpen":[32],"focusIndex":[32]},[[8,"click","handleWindowClick"],[8,"keydown","handleKeyDown"]]]]],["p-8d19a05b",[[1,"eds-card-generic",{"cardTitle":[1,"card-title"],"url":[1],"description":[1],"image":[8],"avatar":[1],"shortAbbreviation":[1,"short-abbreviation"],"headingLevel":[1,"heading-level"],"tags":[1],"tiny":[4],"bg":[4],"withHover":[4,"with-hover"],"hierarchy":[4],"parsedImage":[32]},[[0,"parentContext","handleParentContext"]]]]],["p-de2fbcfc",[[1,"logo-variations-horizontal"],[1,"logo-variations-vertical",{"orientation":[1],"type":[1]}]]],["p-b1de9a6c",[[0,"token-list",{"show":[1]}],[0,"token-radii"],[0,"token-shadows"]]],["p-d69ef196",[[1,"eds-table",{"data":[1],"endpoint":[1],"config":[1],"rowsPerPage":[2,"rows-per-page"],"paginationEnabled":[4,"pagination-enabled"],"searchEnabled":[4,"search-enabled"],"hostWidth":[1,"host-width"],"columnSize":[1,"column-size"],"tableData":[32],"columns":[32],"currentPage":[32],"parsedConfig":[32],"totalRows":[32],"searchQuery":[32]},null,{"data":["handleDataChange","parseData"],"config":["handleConfigChange"]}],[1,"eds-pagination",{"currentPage":[2,"current-page"],"lastPage":[2,"last-page"],"perPage":[2,"per-page"],"total":[2],"url":[1],"mode":[1],"prevLabel":[1,"prev-label"],"nextLabel":[1,"next-label"],"prevUrl":[1,"prev-url"],"nextUrl":[1,"next-url"],"links":[32]},null,{"currentPage":["onPageOrLastPageChange"],"lastPage":["onPageOrLastPageChange"]}]]],["p-4a12a131",[[4,"eds-section-core",{"tag":[1],"sectionTitle":[1,"section-title"],"headingLevel":[1,"heading-level"]}],[0,"eds-section-heading",{"sectionTitle":[1,"section-title"],"withContainer":[4,"with-container"],"headingLevel":[1,"heading-level"],"tag":[1],"spacingLarge":[4,"spacing-large"]}]]],["p-b1af5000",[[1,"eds-code-block",{"code":[1],"language":[1],"copied":[32]}]]],["p-0e7bdd2c",[[0,"gradient-secondary-palette"],[0,"color-primary-palette"],[0,"color-secondary-palette",{"show":[1]}],[0,"color-support-palette"],[0,"gradient-primary-palette"],[0,"gradient-support-palette"]]],["p-6af40c33",[[1,"eds-input-field",{"name":[1],"inputId":[1,"input-id"],"placeholder":[1],"disabled":[4],"onChange":[16],"onInput":[16],"type":[1],"required":[4],"label":[1],"hint":[1],"icon":[1],"link":[16],"message":[1],"error":[4],"checked":[4],"errorMessage":[1,"error-message"],"value":[8],"maxLength":[2,"max-length"],"options":[1]}],[0,"eds-input",{"name":[1],"inputId":[1,"input-id"],"placeholder":[1],"disabled":[4],"hasMessage":[4,"has-message"],"error":[4],"checked":[4],"type":[1],"required":[4],"value":[8],"icon":[1],"maxLength":[2,"max-length"],"options":[16],"extraClass":[1,"extra-class"],"innerVal":[32],"maxLengthReached":[32]},null,{"value":["onValueChanged"]}],[0,"eds-input-footer",{"name":[1],"errorMessage":[1,"error-message"],"message":[1],"error":[4],"link":[16]}],[0,"eds-input-search",{"name":[1],"inputId":[1,"input-id"],"placeholder":[1],"value":[1],"disabled":[4],"required":[4],"getInputElement":[64]}],[0,"eds-input-select",{"inputId":[1,"input-id"],"name":[1],"placeholder":[1],"disabled":[4],"hasMessage":[4,"has-message"],"error":[4],"required":[4],"options":[16],"labelKey":[1,"label-key"],"valueKey":[1,"value-key"],"value":[8],"dynamicOptions":[32],"loading":[32],"dynamicValueKey":[32],"dynamicLabelKey":[32],"hasFetched":[32]},null,{"options":["loadOptions"]}],[0,"eds-input-label",{"label":[1],"name":[1],"required":[4],"disabled":[4]}],[0,"eds-input-range",{"name":[1],"inputId":[1,"input-id"],"disabled":[4],"required":[4],"min":[2],"max":[2],"step":[2],"sliderVal":[32],"getInputElement":[64]}]]]]'),e))));
|
|
@@ -60,7 +60,7 @@ const CorrectUseOfColors$1 = /*@__PURE__*/ proxyCustomElement(class CorrectUseOf
|
|
|
60
60
|
this.__registerHost();
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (h("div", { key: '
|
|
63
|
+
return (h("div", { key: '58274bc750821893f1ff6db6af0c92557e2037dc', class: "container" }, h("p", { key: 'f16ae70777dc595edb9f8ef20df33721816a472a', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: 'c98c49daddf43987002dd69ab1c00dffbae5e69a', label: "primary", size: "small", intent: "blueish", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", h("eds-link", { key: 'e466f6f7e05f68896114551f59673c707d5fd30f', label: "support", size: "small", intent: "blueish", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), h("div", { key: '32dfc27beebbbab3949c7695293800a2ff552ceb', class: "flex" }, h("div", { key: 'e01d74cf63c84f66d868e180589b45cbc59ebff7', class: "w-full" }, h("ul", { key: '162e9c5ed57689a94c5c59e2664bba2adfcd60fc', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, primary.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[150px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), h("div", { key: 'bb71abb645789030487eccdd0abaf9b223c12ec8', class: "w-full" }, h("ul", { key: 'f85702460f89881d6b8642decad848affdc7002f', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }))))))), h("p", { key: '7b5b8b9c0013a91c97f24c239bde32a727695707', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: '81dc2c31eb283a2f64a1fd32329b35b1d04afc12', label: "purple", size: "small", intent: "blueish", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", h("eds-link", { key: 'd90877918d973595a7b8bdacd6bb80f1f04cab5b', label: "support", size: "small", intent: "blueish", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), h("div", { key: '81cf06bb6932b2120b210e7d1ee9d556cedc949b', class: "flex" }, h("div", { key: '2cc1571fe83620fcfa8f961af93b7b0e8e970eb2', class: "w-full" }, h("ul", { key: 'b6b1f7f874dbd8784a0253187438c2eb6282a815', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, purple.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), h("div", { key: '49a874de125699d800aee6256bb5b3bf9a0bf907', class: "w-full" }, h("ul", { key: '10d41b5ab948c87c8db43fbddefbe3453c5384a9', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }))))))), h("p", { key: 'bc7c40435b87cd31b5bbb2315b3f50fa88b5bafb', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: 'd5a9f4c30d9108bd8c8207ee0130a15b9c7ff53f', label: "blue", size: "small", intent: "blueish", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", h("eds-link", { key: '35c2440f2c606cd4e8e69b33850ca908f6f36a4a', label: "support", size: "small", intent: "blueish", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), h("div", { key: 'cf9dde65d107b20c67e0036e891ad37c1d685477', class: "flex" }, h("div", { key: '807350f20ee902df273ce35c217bcaa134502d13', class: "w-full" }, h("ul", { key: '8198d1e59cb9477978a0b78714e7884a75ce52c0', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, blue.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), h("div", { key: 'ed4f89cd3d5544a199d0a516e23ee877c16dad6a', class: "w-full" }, h("ul", { key: '47f8617629f34252b2d533f5932dd14b9117f601', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }))))))), h("p", { key: '7b99385726cda59f07b66ff99e050588d5778421', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: 'f3719f08484d40ceb9ece89474f473cf9e44ee53', label: "redish", size: "small", intent: "blueish", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", h("eds-link", { key: 'f1ee0fbf78a5da5f6a7a0836f63cc3312f68a547', label: "support", size: "small", intent: "blueish", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), h("div", { key: '833dcd6ad96a0c36a127c5384d0858b879bf0b05', class: "flex" }, h("div", { key: 'cf1297f1dfed3e70c184cdb3f4e116292ce1e57f', class: "w-full" }, h("ul", { key: '9d8d9e0f78348cee56f6c91b3289a90f25c088e4', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, red.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), h("div", { key: '836dfd427a087ee512970bf52ee0612a24cfaa72', class: "w-full" }, h("ul", { key: '08e2b7603c2c093b2bd8931d1993aca89801ad1d', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))))));
|
|
64
64
|
}
|
|
65
65
|
}, [0, "correct-use-of-colors"]);
|
|
66
66
|
function defineCustomElement$1() {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { s as sendAnalytics } from './analytics.js';
|
|
2
3
|
import { d as defineCustomElement$2 } from './eds-button2.js';
|
|
3
4
|
import { d as defineCustomElement$1 } from './eds-icon-wrapper2.js';
|
|
4
5
|
|
|
@@ -16,9 +17,17 @@ const EdsAccordion = /*@__PURE__*/ proxyCustomElement(class EdsAccordion extends
|
|
|
16
17
|
* Toggles the `isExpanded` state and emits the `accordionChange` event.
|
|
17
18
|
*/
|
|
18
19
|
this.handleClick = () => {
|
|
20
|
+
var _a;
|
|
19
21
|
this.isExpanded = !this.isExpanded;
|
|
20
22
|
this.accordionChange.emit(this.isExpanded);
|
|
21
23
|
this.setPanelHeight();
|
|
24
|
+
sendAnalytics({
|
|
25
|
+
category: 'ui-component',
|
|
26
|
+
parentContext: null,
|
|
27
|
+
tag: this.el.tagName.toLowerCase(),
|
|
28
|
+
name: ((_a = this.title) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || '',
|
|
29
|
+
action: this.isExpanded ? 'expanded' : 'collapsed'
|
|
30
|
+
});
|
|
22
31
|
};
|
|
23
32
|
/**
|
|
24
33
|
* Calculates and sets the panel height based on the content height
|
|
@@ -49,26 +58,8 @@ const EdsAccordion = /*@__PURE__*/ proxyCustomElement(class EdsAccordion extends
|
|
|
49
58
|
*/
|
|
50
59
|
componentDidLoad() {
|
|
51
60
|
this.setPanelHeight();
|
|
52
|
-
// Emit context for each eds-link element after the component is fully loaded
|
|
53
|
-
const btn = this.el.shadowRoot.querySelector('eds-button');
|
|
54
|
-
this.emitContext(btn);
|
|
55
61
|
window.addEventListener('resize', this.setPanelHeight);
|
|
56
62
|
}
|
|
57
|
-
/**
|
|
58
|
-
* Emits a custom event called `parentContext` for a given link element.
|
|
59
|
-
* This event provides context information about the breadcrumb component.
|
|
60
|
-
*
|
|
61
|
-
* @param linkElement - The link element to which the event will be dispatched.
|
|
62
|
-
*/
|
|
63
|
-
emitContext(linkElement) {
|
|
64
|
-
const event = new CustomEvent('parentContext', {
|
|
65
|
-
detail: {
|
|
66
|
-
componentName: this.el.tagName.toLowerCase(),
|
|
67
|
-
identifier: null
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
linkElement.dispatchEvent(event);
|
|
71
|
-
}
|
|
72
63
|
/**
|
|
73
64
|
* Lifecycle method that cleans up the resize event listener when the component is removed.
|
|
74
65
|
*/
|
|
@@ -81,10 +72,10 @@ const EdsAccordion = /*@__PURE__*/ proxyCustomElement(class EdsAccordion extends
|
|
|
81
72
|
*/
|
|
82
73
|
render() {
|
|
83
74
|
const minHeightContentClass = this.minHeightContent ? 'min-h-56' : '';
|
|
84
|
-
return (h("div", { key: '
|
|
75
|
+
return (h("div", { key: '00bd9a34ceb469bef74c827bd1f48bf3d4b545b6', ref: (el) => (this.wrapperRef = el), class: `container flex effect-color border-softer relative grid overflow-hidden rounded-lg border-2 p-16
|
|
85
76
|
${this.switchBg && this.isExpanded ? 'bg-inverse' : 'bg-default'}
|
|
86
77
|
${this.switchBg ? 'hover:bg-inverse' : ''}
|
|
87
|
-
${minHeightContentClass}` }, h("h3", { key: '
|
|
78
|
+
${minHeightContentClass}` }, h("h3", { key: 'ab6a953797e0a8379a01a9a2f00a4988d4fc8357', class: "mr-auto f-heading-06 text-left absolute inset-x-16 top-16 line-clamp-1" }, this.title), h("div", { key: 'cfd6f4ad2ec5e412cdf2348d188dfcf90770012d', class: "ml-auto" }, h("eds-button", { key: 'beaee69d610727b397645fc0a507b234003fde5e', id: "toggleAccordion", intent: "tertiary", "aria-expanded": this.isExpanded || this.shortContent, "aria-label": "Toggle accordion", "aria-controls": "accordionSection", class: `effect-color flex w-full items-center justify-between rounded-md outline-none focus:outline-none`, onClick: this.handleClick, icon: "chevron-down" })), h("div", { key: '795f14c0930a0b0862a86451cc7b7e807cb79c37', class: `w-full` }, this.description ? (h("span", { class: `text-light ${!this.isExpanded && this.clampText ? 'line-clamp-1' : ''}` }, this.description)) : null, h("section", { key: '28f6cba233cdee58743faaacc992bf7497c2ff2e', id: "accordionSection", role: "region", "aria-labelledby": "accordionHeader", "aria-hidden": !this.isExpanded, class: `z-1 effect-height relative h-0 w-full ${!this.isExpanded && this.clampText ? 'overflow-hidden' : ''}`, style: { height: this.isExpanded ? 'auto' : '0' } }, h("div", { key: '939e442c55babfd3f1750d20d9b95f664c3a67c8', ref: (el) => (this.childContentRef = el), class: `accordion-content effect-color pt-20`, "aria-hidden": !this.isExpanded }, h("span", { key: '648d16ed84cb3da227a10e6370004c6479789aed', class: `${!this.isExpanded && this.clampText ? 'line-clamp-2' : ''}` }, h("slot", { key: '90ca94f15e408b4b05c0eac4bd20fa21766cbb19' })))))));
|
|
88
79
|
}
|
|
89
80
|
get el() { return this; }
|
|
90
81
|
static get style() { return EdsAccordionStyle0; }
|
|
@@ -66,11 +66,12 @@ const EdsAlert = /*@__PURE__*/ proxyCustomElement(class EdsAlert extends HTMLEle
|
|
|
66
66
|
this.withBtn = Boolean(this.pressableLabel);
|
|
67
67
|
}
|
|
68
68
|
componentDidLoad() {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
69
|
+
var _a;
|
|
70
|
+
// Query for the 'eds-link' element inside the shadow root.
|
|
71
|
+
const lnk = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('eds-link');
|
|
72
|
+
if (lnk) {
|
|
73
|
+
this.emitContext(lnk);
|
|
74
|
+
}
|
|
74
75
|
}
|
|
75
76
|
emitContext(linkElement) {
|
|
76
77
|
const event = new CustomEvent('parentContext', {
|
|
@@ -82,12 +83,12 @@ const EdsAlert = /*@__PURE__*/ proxyCustomElement(class EdsAlert extends HTMLEle
|
|
|
82
83
|
linkElement.dispatchEvent(event);
|
|
83
84
|
}
|
|
84
85
|
render() {
|
|
85
|
-
return (h("div", { key: '
|
|
86
|
+
return (h("div", { key: '519742081f681d6d67bc1b42c89fe1b6d005fe0f', class: alertStyles({
|
|
86
87
|
intent: this.intent,
|
|
87
88
|
direction: this.direction,
|
|
88
89
|
withBtn: this.withBtn
|
|
89
|
-
}), role: "alert" }, h("p", { key: '
|
|
90
|
-
(this.pressableUrl ? (h("eds-link", { class: "eds-alert-link", label: this.pressableLabel, url: this.pressableUrl, intent: "secondary" })) : null)));
|
|
90
|
+
}), role: "alert" }, h("p", { key: '6a5d11fdc2a975512b12c307286b0a8b06998bec', class: "f-ui-01 py-8" }, this.message), this.withBtn &&
|
|
91
|
+
(this.pressableUrl ? (h("eds-link", { class: "eds-alert-link", label: this.pressableLabel, url: this.pressableUrl, intent: "secondary", external: true })) : null)));
|
|
91
92
|
}
|
|
92
93
|
get el() { return this; }
|
|
93
94
|
static get style() { return EdsAlertStyle0; }
|
|
@@ -10,8 +10,8 @@ const EdsAvatar = /*@__PURE__*/ proxyCustomElement(class EdsAvatar extends HTMLE
|
|
|
10
10
|
super();
|
|
11
11
|
this.__registerHost();
|
|
12
12
|
this.__attachShadow();
|
|
13
|
-
this.firstName =
|
|
14
|
-
this.lastName =
|
|
13
|
+
this.firstName = 'User';
|
|
14
|
+
this.lastName = 'Avatar';
|
|
15
15
|
this.picture = undefined;
|
|
16
16
|
this.initials = undefined;
|
|
17
17
|
this.color = undefined;
|
|
@@ -64,7 +64,7 @@ const EdsAvatar = /*@__PURE__*/ proxyCustomElement(class EdsAvatar extends HTMLE
|
|
|
64
64
|
* @returns {JSX.Element} The rendered avatar component.
|
|
65
65
|
*/
|
|
66
66
|
render() {
|
|
67
|
-
return (h("div", { key: '
|
|
67
|
+
return (h("div", { key: '47ee5ffd12c0f90c536dea77b3ffa9120d67f37f', class: this.containerClasses }, this.picture ? (h("eds-img", { src: this.picture, width: 54, height: 54, sizes: "120px", alt: `${this.firstName} ${this.lastName}`, lazyload: true, withBg: true })) : (h("abbr", { title: this.computedInitials || `${this.firstName} ${this.lastName}`, class: "!no-underline f-ui-01" }, this.computedInitials))));
|
|
68
68
|
}
|
|
69
69
|
static get style() { return EdsAvatarStyle0; }
|
|
70
70
|
}, [1, "eds-avatar", {
|
|
@@ -11,7 +11,7 @@ const EdsBlockBreak = /*@__PURE__*/ proxyCustomElement(class EdsBlockBreak exten
|
|
|
11
11
|
this.extraClass = '';
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return h("hr", { key: '
|
|
14
|
+
return h("hr", { key: '8cb39dda5d7f909b459390fe7e3f86dfd147ba98', class: `border-softer my-20 inline-block w-full border-t-2 ${this.extraClass}` });
|
|
15
15
|
}
|
|
16
16
|
static get style() { return EdsBlockBreakStyle0; }
|
|
17
17
|
}, [1, "eds-block-break", {
|