@ebrains/components 0.4.0-alpha.0 → 0.6.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-d8fb3fdd.js +60 -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_13.cjs.entry.js +911 -0
- package/dist/cjs/eds-alert.cjs.entry.js +97 -0
- package/dist/cjs/eds-block-break.cjs.entry.js +21 -0
- package/dist/cjs/eds-breadcrumb.cjs.entry.js +149 -0
- package/dist/cjs/eds-card-project.cjs.entry.js +4 -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 +2 -2
- package/dist/cjs/eds-components-section.cjs.entry.js +7 -3
- package/dist/cjs/eds-cookies-preference.cjs.entry.js +39 -0
- 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-footer.cjs.entry.js +41 -0
- package/dist/cjs/eds-form.cjs.entry.js +361 -0
- package/dist/cjs/eds-frame.cjs.entry.js +91 -0
- package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +100 -0
- package/dist/cjs/eds-header.cjs.entry.js +97 -0
- 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 +324 -0
- package/dist/cjs/eds-link.cjs.entry.js +214 -0
- 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-logo.cjs.entry.js +78 -0
- package/dist/cjs/eds-modal.cjs.entry.js +97 -0
- package/dist/cjs/eds-navigator.cjs.entry.js +1 -1
- package/dist/cjs/eds-pagination_2.cjs.entry.js +9 -10
- package/dist/cjs/eds-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/eds-rating.cjs.entry.js +10 -8
- package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
- package/dist/cjs/eds-social-networks.cjs.entry.js +66 -0
- package/dist/cjs/eds-steps.cjs.entry.js +65 -0
- package/dist/cjs/eds-svg-repository.cjs.entry.js +1 -1
- package/dist/cjs/eds-switch.cjs.entry.js +38 -0
- 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 +1 -1
- package/dist/cjs/eds-tooltip.cjs.entry.js +3 -4
- package/dist/cjs/eds-trl.cjs.entry.js +1 -1
- 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 +76 -8
- 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 +6 -2
- package/dist/collection/components/eds-accordion/eds-accordion.js +3 -3
- package/dist/collection/components/eds-alert/eds-alert.js +8 -5
- package/dist/collection/components/eds-avatar/eds-avatar.js +8 -6
- package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
- package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +23 -29
- package/dist/collection/components/eds-button/eds-button.js +9 -9
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-wrapper/eds-card-wrapper.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +2 -2
- 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 +3 -3
- package/dist/collection/components/eds-dropdown/eds-dropdown.js +3 -3
- package/dist/collection/components/eds-form/eds-form.js +32 -16
- package/dist/collection/components/eds-frame/eds-frame.js +1 -1
- 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 +11 -2
- package/dist/collection/components/eds-input-field/eds-input-field.js +2 -2
- package/dist/collection/components/eds-link/eds-link.css +6793 -6676
- package/dist/collection/components/eds-link/eds-link.js +6 -3
- package/dist/collection/components/eds-logo/eds-logo.js +21 -2
- package/dist/collection/components/eds-matomo-notice/eds-matomo-notice.js +207 -0
- package/dist/collection/{shared-ui → components}/eds-matomo-notice/eds-matomo-notice.stories.js +1 -1
- package/dist/collection/components/eds-modal/eds-modal.js +19 -24
- package/dist/collection/components/eds-navigator/eds-navigator.js +1 -1
- package/dist/collection/components/eds-pagination/eds-pagination.js +1 -1
- 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 +10 -8
- package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
- package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
- package/dist/collection/components/eds-steps/eds-steps.css +126 -0
- package/dist/collection/components/eds-steps/eds-steps.js +133 -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 +8 -8
- package/dist/collection/components/eds-tag/eds-tag.js +4 -14
- package/dist/collection/components/eds-timeline/eds-timeline.js +1 -1
- package/dist/collection/components/eds-toast/eds-toast.css +91 -0
- package/dist/collection/components/eds-toast/eds-toast.js +18 -9
- package/dist/collection/components/eds-tooltip/eds-tooltip.js +2 -2
- package/dist/collection/components/eds-trl/eds-trl.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
- package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
- package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/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.css +236 -140
- package/dist/collection/shared-ui/eds-card-section/eds-card-section.js +19 -13
- package/dist/collection/shared-ui/eds-card-section/eds-card-section.stories.js +2 -2
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.css +0 -0
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +87 -0
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.st.js +31 -0
- package/dist/collection/shared-ui/eds-footer/eds-footer.js +7 -53
- 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-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.css +1 -1
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +2 -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 +15 -2
- package/dist/components/color.js +0 -164
- package/dist/components/components.css +571 -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 +2 -3
- package/dist/components/eds-alert2.js +8 -5
- package/dist/components/eds-avatar2.js +3 -3
- package/dist/components/eds-block-break2.js +1 -1
- package/dist/components/eds-breadcrumb.js +23 -29
- package/dist/components/eds-button2.js +2 -4
- package/dist/components/eds-card-desc2.js +1 -1
- package/dist/components/eds-card-generic2.js +1 -2
- package/dist/components/eds-card-project.js +2 -2
- package/dist/components/eds-card-section.js +4 -4
- 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 +2 -2
- package/dist/components/eds-components-section.js +7 -3
- package/dist/components/eds-cookies-preference.d.ts +11 -0
- package/dist/components/eds-cookies-preference.js +88 -0
- package/dist/components/eds-docs-palettes.js +1 -1
- package/dist/components/eds-docs-tokens.js +1 -1
- package/dist/components/eds-dropdown2.js +2 -3
- package/dist/components/eds-footer2.js +3 -13
- package/dist/components/eds-form.js +32 -16
- 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 +6 -4
- 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 +1 -141
- package/dist/components/eds-matomo-notice2.js +127 -0
- package/dist/components/eds-modal.js +10 -24
- package/dist/components/eds-navigator.js +1 -1
- package/dist/components/eds-pagination2.js +1 -1
- package/dist/components/eds-progress-bar2.js +1 -1
- package/dist/components/eds-rating.js +23 -9
- 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 +107 -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 +6 -7
- package/dist/components/eds-tabs-content.js +2 -3
- package/dist/components/eds-tabs.js +1 -2
- package/dist/components/eds-tag2.js +1 -5
- package/dist/components/eds-timeline.js +1 -1
- package/dist/components/eds-toast-manager.js +4 -3
- package/dist/components/eds-toast2.js +13 -10
- package/dist/components/eds-tooltip.js +1 -2
- package/dist/components/eds-trl.js +1 -1
- 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-045681d7.entry.js +1 -0
- package/dist/components/p-06299762.entry.js +1 -0
- package/dist/components/p-0a3b2576.entry.js +1 -0
- package/dist/components/p-0ab85eee.entry.js +1 -0
- package/dist/components/p-0e7bdd2c.entry.js +1 -0
- package/dist/components/p-10b81c47.entry.js +1 -0
- package/dist/components/p-13efafb9.js +1 -0
- package/dist/components/p-1ae529f3.entry.js +1 -0
- package/dist/components/p-1ed3fdb7.entry.js +1 -0
- package/dist/components/p-21d42cf3.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-34a65e58.entry.js +1 -0
- package/dist/components/p-38d70586.entry.js +1 -0
- package/dist/components/p-3a7aa1eb.entry.js +1 -0
- package/dist/components/p-42d3c324.entry.js +1 -0
- package/dist/components/p-4a12a131.entry.js +1 -0
- package/dist/components/p-4b3fbd6d.entry.js +1 -0
- package/dist/components/p-4ea027ac.entry.js +1 -0
- package/dist/components/p-5097066f.entry.js +1 -0
- package/dist/components/p-5980a142.entry.js +1 -0
- package/dist/components/p-599c7b97.entry.js +1 -0
- package/dist/components/p-5a2b8b6c.entry.js +1 -0
- package/dist/components/p-5ff31f14.entry.js +1 -0
- package/dist/components/{p-22762818.entry.js → p-65703520.entry.js} +1 -1
- package/dist/components/p-659ed449.entry.js +1 -0
- package/dist/components/p-6af40c33.entry.js +1 -0
- package/dist/components/p-6df9db15.entry.js +1 -0
- package/dist/components/{p-435a14c1.entry.js → p-759b2640.entry.js} +1 -1
- package/dist/components/p-7b3b26b0.entry.js +1 -0
- 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-88751c8b.entry.js +1 -0
- package/dist/components/{p-c3b294a0.entry.js → p-89f600a3.entry.js} +1 -1
- package/dist/components/p-8c4a0fc9.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-ba6bafef.entry.js → p-9579f9c2.entry.js} +1 -1
- package/dist/components/p-96fe2267.entry.js +1 -0
- package/dist/components/p-9739def5.entry.js +1 -0
- package/dist/components/{p-87830085.entry.js → p-9b441a1f.entry.js} +1 -1
- package/dist/components/{p-c72c8fb0.entry.js → p-a2621d66.entry.js} +1 -1
- 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-5398d652.entry.js → p-b1af5000.entry.js} +1 -1
- 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-b50c8d49.entry.js +1 -0
- 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-b80457ed.entry.js +1 -0
- package/dist/components/p-b860b4aa.entry.js +1 -0
- package/dist/components/{p-8ddc67a1.entry.js → p-bd43d83c.entry.js} +1 -1
- package/dist/components/p-c034c395.entry.js +1 -0
- package/dist/components/p-c5fa170d.entry.js +1 -0
- package/dist/components/p-c683be2c.entry.js +1 -0
- package/dist/components/p-d2a0b896.entry.js +1 -0
- package/dist/components/p-d56d9dda.entry.js +1 -0
- package/dist/components/p-d5850ab3.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-e2c250c5.entry.js +1 -0
- package/dist/components/p-e334f5bc.entry.js +1 -0
- package/dist/components/p-eb0b93d5.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-fad10768.entry.js +1 -0
- package/dist/components/{p-dd6daa96.entry.js → p-fce25541.entry.js} +1 -1
- package/dist/components/primary.js +1 -1
- package/dist/components/primary2.js +1 -1
- package/dist/components/secondary.js +1 -1
- package/dist/components/secondary2.js +7 -7
- package/dist/components/support.js +1 -1
- package/dist/components/support2.js +3 -3
- package/dist/components/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-44b1416b.js +56 -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_13.entry.js +895 -0
- package/dist/esm/eds-alert.entry.js +93 -0
- package/dist/esm/eds-block-break.entry.js +17 -0
- package/dist/esm/eds-breadcrumb.entry.js +145 -0
- package/dist/esm/eds-card-project.entry.js +3 -2
- 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 +2 -2
- package/dist/esm/eds-components-section.entry.js +7 -3
- package/dist/esm/eds-cookies-preference.entry.js +35 -0
- 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-footer.entry.js +37 -0
- package/dist/esm/eds-form.entry.js +357 -0
- package/dist/esm/eds-frame.entry.js +87 -0
- package/dist/esm/eds-fullscreen-menu.entry.js +96 -0
- package/dist/esm/eds-header.entry.js +93 -0
- 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 +314 -0
- package/dist/esm/eds-link.entry.js +210 -0
- package/dist/esm/eds-login.entry.js +60 -41
- package/dist/esm/eds-logo-variations.entry.js +1 -1
- package/dist/esm/eds-logo.entry.js +74 -0
- package/dist/esm/eds-modal.entry.js +93 -0
- package/dist/esm/eds-navigator.entry.js +1 -1
- package/dist/esm/eds-pagination_2.entry.js +8 -9
- package/dist/esm/eds-progress-bar.entry.js +1 -1
- package/dist/esm/eds-rating.entry.js +10 -8
- package/dist/esm/eds-section-core_2.entry.js +3 -3
- package/dist/esm/eds-social-networks.entry.js +62 -0
- package/dist/esm/eds-steps.entry.js +61 -0
- package/dist/esm/eds-svg-repository.entry.js +1 -1
- package/dist/esm/eds-switch.entry.js +34 -0
- 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 +1 -1
- package/dist/esm/eds-tooltip.entry.js +2 -3
- package/dist/esm/eds-trl.entry.js +1 -1
- 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 +76 -8
- 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 +1067 -959
- package/dist/hydrate/index.mjs +1067 -959
- package/dist/types/components/eds-alert/eds-alert.d.ts +1 -1
- package/dist/types/components/eds-breadcrump/eds-breadcrump.d.ts +9 -8
- package/dist/types/components/eds-button/eds-button.d.ts +3 -2
- package/dist/types/components/eds-form/eds-form.d.ts +0 -1
- 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 +6 -0
- package/dist/types/components/eds-logo/eds-logo.d.ts +1 -0
- package/dist/types/components/eds-matomo-notice/eds-matomo-notice.d.ts +53 -0
- package/dist/types/components/eds-modal/eds-modal.d.ts +2 -7
- package/dist/types/components/eds-rating/eds-rating.d.ts +1 -2
- package/dist/types/components/eds-steps/eds-steps.d.ts +38 -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-tag/eds-tag.d.ts +1 -20
- package/dist/types/components/eds-toast/eds-toast.d.ts +4 -5
- package/dist/types/components.d.ts +256 -162
- package/dist/types/shared-ui/eds-card-section/eds-card-section.d.ts +33 -6
- package/dist/types/shared-ui/eds-card-section/eds-card-section.stories.d.ts +1 -1
- package/dist/types/shared-ui/eds-cookies-preference/eds-cookies-preference.d.ts +27 -0
- package/dist/types/shared-ui/eds-cookies-preference/eds-cookies-preference.st.d.ts +27 -0
- package/dist/types/shared-ui/eds-footer/eds-footer.d.ts +2 -15
- 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-88793e49.js +0 -342
- package/dist/cjs/eds-accordion_33.cjs.entry.js +0 -2670
- package/dist/cjs/eds-card-section.cjs.entry.js +0 -55
- package/dist/cjs/eds-matomo-notice.cjs.entry.js +0 -110
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +0 -164
- 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-2dda1ec4.entry.js +0 -1
- package/dist/components/p-32cddd94.entry.js +0 -1
- package/dist/components/p-35ec730b.entry.js +0 -1
- package/dist/components/p-388b4966.entry.js +0 -1
- package/dist/components/p-4037ad48.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-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-5fc68438.entry.js +0 -1
- package/dist/components/p-610db2b2.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-7802e966.entry.js +0 -1
- package/dist/components/p-832dc95a.entry.js +0 -1
- package/dist/components/p-846fc91c.entry.js +0 -1
- package/dist/components/p-855aa1a3.entry.js +0 -1
- package/dist/components/p-8c56e39a.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-ab32b3fc.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-b04eff31.entry.js +0 -1
- package/dist/components/p-b86a4985.js +0 -1
- package/dist/components/p-bdd86a3c.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-c6038449.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-d53b7a75.entry.js +0 -1
- package/dist/components/p-d6d86366.entry.js +0 -1
- package/dist/components/p-df94285c.entry.js +0 -1
- package/dist/components/p-e74834bc.entry.js +0 -1
- package/dist/components/p-f7a6ce69.entry.js +0 -1
- package/dist/esm/color-bb472c37.js +0 -338
- package/dist/esm/eds-accordion_33.entry.js +0 -2634
- package/dist/esm/eds-card-section.entry.js +0 -51
- package/dist/esm/eds-matomo-notice.entry.js +0 -106
- 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/shared-ui/eds-matomo-notice/eds-matomo-notice.d.ts +0 -77
- /package/dist/collection/{shared-ui → components}/eds-matomo-notice/eds-matomo-notice.css +0 -0
- /package/dist/types/{shared-ui → components}/eds-matomo-notice/eds-matomo-notice.stories.d.ts +0 -0
- /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
|
@@ -1,9 +1,36 @@
|
|
|
1
|
+
export interface Tag {
|
|
2
|
+
label: string;
|
|
3
|
+
style: 'accent' | 'default' | 'weak' | 'strong';
|
|
4
|
+
}
|
|
5
|
+
export interface CardImage {
|
|
6
|
+
src: string;
|
|
7
|
+
alt: string;
|
|
8
|
+
srcset?: string;
|
|
9
|
+
sizes?: string;
|
|
10
|
+
width?: number;
|
|
11
|
+
height?: number;
|
|
12
|
+
lazyload?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface Card {
|
|
15
|
+
title: string;
|
|
16
|
+
url?: string;
|
|
17
|
+
description?: string;
|
|
18
|
+
image?: CardImage | string;
|
|
19
|
+
avatar?: string;
|
|
20
|
+
shortAbbreviation?: string;
|
|
21
|
+
headingLevel?: string;
|
|
22
|
+
tags?: string | Tag[];
|
|
23
|
+
tiny?: boolean;
|
|
24
|
+
bg?: boolean;
|
|
25
|
+
withHover?: boolean;
|
|
26
|
+
hierarchy?: boolean;
|
|
27
|
+
}
|
|
1
28
|
/**
|
|
2
|
-
* `EdsCardSection` is a component that renders a section of cards in a customizable grid layout.
|
|
29
|
+
* `EdsCardSection` is a component that renders a section of cards in a customizable grid layout of 4 columns (grid-cols-4).
|
|
3
30
|
* Each card within the section can display various properties such as title, description, avatar, and additional content.
|
|
4
31
|
*
|
|
5
32
|
* Key Features:
|
|
6
|
-
* - Accepts a JSON string of card objects, each defining its properties like title, description, avatar, tags, URL, and image.
|
|
33
|
+
* - Accepts a JSON string or array of card objects, each defining its properties like title, description, avatar, tags, URL, and image.
|
|
7
34
|
* - Configurable grid layout with adjustable column span for each card, optimizing display on different screen sizes.
|
|
8
35
|
*
|
|
9
36
|
* This component is ideal for displaying a structured section of cards with varying content in a responsive grid format.
|
|
@@ -18,13 +45,13 @@ export declare class EdsCardSection {
|
|
|
18
45
|
* '[{"title": "Card Title", "description": "Description", "avatar": "/path/to/avatar.jpg", "url": "http://example.com"}]'
|
|
19
46
|
* ```
|
|
20
47
|
*/
|
|
21
|
-
cards: string | [];
|
|
48
|
+
cards: string | Card[];
|
|
22
49
|
/**
|
|
23
|
-
* Number of columns to span for each card in the grid layout.
|
|
50
|
+
* Number of columns to span for each card in the grid layout four.
|
|
24
51
|
* This value sets the column span on medium (md) and larger screen sizes.
|
|
25
|
-
* Default is `
|
|
52
|
+
* Default is `1`.
|
|
26
53
|
*/
|
|
27
|
-
|
|
54
|
+
occupyCols: 1 | 2 | 3 | 4;
|
|
28
55
|
/**
|
|
29
56
|
* Parses the `cards` JSON string prop into an array of card objects.
|
|
30
57
|
* If parsing fails, returns an empty array.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
*/
|
|
4
|
+
export declare class EdsCookiesPreference {
|
|
5
|
+
/**
|
|
6
|
+
* Text to display on the cookies preference button.
|
|
7
|
+
*/
|
|
8
|
+
buttonText: string;
|
|
9
|
+
/**
|
|
10
|
+
* The visual intent or style of the button.
|
|
11
|
+
*/
|
|
12
|
+
intent?: 'primary' | 'secondary' | 'tertiary' | 'ghost' | 'strong' | 'weak' | 'inverse' | 'underline' | 'blueish';
|
|
13
|
+
/**
|
|
14
|
+
* State to control whether the eds-matomo-notice popup is visible.
|
|
15
|
+
*/
|
|
16
|
+
showMatomoNotice: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* A key to force remounting of the eds-matomo-notice component.
|
|
19
|
+
*/
|
|
20
|
+
noticeKey: number;
|
|
21
|
+
/**
|
|
22
|
+
* Always shows the eds-matomo-notice popup.
|
|
23
|
+
* Every click removes the "matomo-deferred" key and forces a remount.
|
|
24
|
+
*/
|
|
25
|
+
private toggleCookiesPopup;
|
|
26
|
+
render(): any;
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: string;
|
|
4
|
+
argTypes: {
|
|
5
|
+
buttonText: {
|
|
6
|
+
control: string;
|
|
7
|
+
description: string;
|
|
8
|
+
};
|
|
9
|
+
intent: {
|
|
10
|
+
control: string;
|
|
11
|
+
options: string[];
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
args: {
|
|
16
|
+
buttonText: string;
|
|
17
|
+
intent: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export default _default;
|
|
21
|
+
export declare const Default: {
|
|
22
|
+
render: (args: any) => string;
|
|
23
|
+
args: {
|
|
24
|
+
buttonText: string;
|
|
25
|
+
intent: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -24,12 +24,6 @@ export declare class EdsFooter {
|
|
|
24
24
|
* @type {boolean}
|
|
25
25
|
*/
|
|
26
26
|
social: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Controls the display of the "Cookies Preferences" button.
|
|
29
|
-
* When true, the button appears in the footer.
|
|
30
|
-
* @type {boolean}
|
|
31
|
-
*/
|
|
32
|
-
hasCookiesSetUp: boolean;
|
|
33
27
|
/**
|
|
34
28
|
* Controls the display of the "Back to Top" button.
|
|
35
29
|
* When true, the button appears in the footer.
|
|
@@ -47,22 +41,15 @@ export declare class EdsFooter {
|
|
|
47
41
|
*/
|
|
48
42
|
rightsReserved: string;
|
|
49
43
|
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {string}
|
|
44
|
+
* State to control whether the eds-matomo-notice popup is visible.
|
|
52
45
|
*/
|
|
53
|
-
|
|
46
|
+
showMatomoNotice: boolean;
|
|
54
47
|
/**
|
|
55
48
|
* Scrolls the page smoothly back to the top.
|
|
56
49
|
* Called when the "Back to top" button is clicked.
|
|
57
50
|
* @private
|
|
58
51
|
*/
|
|
59
52
|
private backToTop;
|
|
60
|
-
/**
|
|
61
|
-
* Toggles the cookie preferences popup, if available.
|
|
62
|
-
* The actual implementation for handling cookie preferences should be defined here.
|
|
63
|
-
* @private
|
|
64
|
-
*/
|
|
65
|
-
private toggleCookiesPopup;
|
|
66
53
|
/**
|
|
67
54
|
* Renders the footer component with optional sections and elements,
|
|
68
55
|
* including social network links, a Horizon Europe funding acknowledgment, and
|
|
@@ -33,32 +33,12 @@ export declare class EdsHeader {
|
|
|
33
33
|
* When true, the header applies styles suitable for a dark background.
|
|
34
34
|
*/
|
|
35
35
|
inverseHeader: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Flag to enable or disable user authentication features.
|
|
38
|
-
* When true, displays the authentication options in the header.
|
|
39
|
-
*/
|
|
40
|
-
userFeature: boolean;
|
|
41
36
|
/**
|
|
42
37
|
* Flag to enable or disable header menu toggle feature.
|
|
43
38
|
* When true, displays the toggle in the header.
|
|
44
39
|
* Requires the <eds-fullscreen-menu> to properly work.
|
|
45
40
|
*/
|
|
46
41
|
menuEnabled: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* The URL of the Keycloak server.
|
|
49
|
-
* Required if `userFeature` is enabled.
|
|
50
|
-
*/
|
|
51
|
-
keycloakUrl: string;
|
|
52
|
-
/**
|
|
53
|
-
* The Keycloak Realm for authentication.
|
|
54
|
-
* Required if `userFeature` is enabled.
|
|
55
|
-
*/
|
|
56
|
-
keycloakRealm: string;
|
|
57
|
-
/**
|
|
58
|
-
* The Keycloak Client ID for the application.
|
|
59
|
-
* Required if `userFeature` is enabled.
|
|
60
|
-
*/
|
|
61
|
-
keycloakClientId: string;
|
|
62
42
|
/**
|
|
63
43
|
* State indicating whether the main menu is open.
|
|
64
44
|
* Controls the visibility of the fullscreen main menu.
|
|
@@ -1,16 +1,8 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
/**
|
|
3
|
-
* `EdsLogin` is a login component that integrates Keycloak authentication,
|
|
4
|
-
* allowing users to log in and out and manage authentication states.
|
|
5
|
-
* This component is used to handle user login, logout, and authentication status display.
|
|
6
|
-
*
|
|
7
|
-
* This component is ideal for applications that require Keycloak-based authentication,
|
|
8
|
-
* providing a simple login/logout interface and managing user session states.
|
|
9
|
-
*/
|
|
10
2
|
export declare class EdsLogin {
|
|
11
3
|
/**
|
|
12
4
|
* The URL of the Keycloak server.
|
|
13
|
-
* This is the base URL where your Keycloak instance is hosted
|
|
5
|
+
* This is the base URL where your Keycloak instance is hosted.
|
|
14
6
|
*/
|
|
15
7
|
keycloakUrl: string;
|
|
16
8
|
/**
|
|
@@ -28,23 +20,34 @@ export declare class EdsLogin {
|
|
|
28
20
|
*/
|
|
29
21
|
keycloakClientId: string;
|
|
30
22
|
authenticated: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* The user object containing user information.
|
|
33
|
-
* This is populated after a successful authentication.
|
|
34
|
-
*/
|
|
35
23
|
user: any;
|
|
36
24
|
/**
|
|
37
25
|
* Event emitted when the authentication status changes.
|
|
38
|
-
* It emits a boolean value indicating the new authentication status.
|
|
39
26
|
*/
|
|
40
27
|
authStatusChanged: EventEmitter<{
|
|
41
28
|
authenticated: boolean;
|
|
42
29
|
user: any;
|
|
43
30
|
}>;
|
|
31
|
+
/**
|
|
32
|
+
* Lifecycle method that runs when the component is about to load.
|
|
33
|
+
* It initializes authentication by calling the `initAuth` method.
|
|
34
|
+
*/
|
|
44
35
|
componentWillLoad(): Promise<void>;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
36
|
+
/**
|
|
37
|
+
* Initializes the Keycloak authentication by configuring Keycloak with the provided props.
|
|
38
|
+
* Sets the `authenticated` state and `user` data if the user is authenticated.
|
|
39
|
+
* Emits `authStatusChanged` event with the authentication status.
|
|
40
|
+
*/
|
|
41
|
+
initAuth(): Promise<void>;
|
|
42
|
+
/**
|
|
43
|
+
* Handles user login by invoking the Keycloak `login` function.
|
|
44
|
+
* Only triggers login if the user is not already authenticated.
|
|
45
|
+
*/
|
|
46
|
+
handleLogin: () => Promise<void>;
|
|
47
|
+
/**
|
|
48
|
+
* Handles user logout by invoking the Keycloak `logout` function.
|
|
49
|
+
* Resets the `authenticated` state to `false` after logout.
|
|
50
|
+
*/
|
|
51
|
+
handleLogout: () => Promise<void>;
|
|
49
52
|
render(): any;
|
|
50
53
|
}
|
|
@@ -37,15 +37,15 @@ export declare class EdsUser {
|
|
|
37
37
|
* This is set to `true` if the user is successfully authenticated with Keycloak.
|
|
38
38
|
*/
|
|
39
39
|
authenticated: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Indicates whether the Keycloak server is available.
|
|
42
|
-
*/
|
|
43
|
-
serverAvailable: boolean;
|
|
44
40
|
/**
|
|
45
41
|
* The username of the authenticated user.
|
|
46
42
|
* This is extracted from the `user` object after successful authentication.
|
|
47
43
|
*/
|
|
48
44
|
username: string;
|
|
45
|
+
/**
|
|
46
|
+
* Indicates whether the Keycloak server is available.
|
|
47
|
+
*/
|
|
48
|
+
serverAvailable: boolean;
|
|
49
49
|
/**
|
|
50
50
|
* Event emitted when the authentication status changes.
|
|
51
51
|
* It emits an object {authenticated, user} indicating the new authentication status and the user's information.
|
|
@@ -75,6 +75,6 @@ export declare class EdsUser {
|
|
|
75
75
|
* Handles user logout by invoking the Keycloak `logout` function.
|
|
76
76
|
* Resets the `authenticated` state to `false` after logout.
|
|
77
77
|
*/
|
|
78
|
-
handleLogout: () => void
|
|
78
|
+
handleLogout: () => Promise<void>;
|
|
79
79
|
render(): any;
|
|
80
80
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,342 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const index = require('./index-ab9fbefe.js');
|
|
4
|
-
|
|
5
|
-
[
|
|
6
|
-
['eds-header', {
|
|
7
|
-
'home-url': '/',
|
|
8
|
-
'user-feature': 'false',
|
|
9
|
-
'keycloak-url': 'http://localhost:8080',
|
|
10
|
-
'keycloak-realm': 'nigeor-realm',
|
|
11
|
-
'keycloak-client-id': 'stencil-app',
|
|
12
|
-
links: JSON.stringify([
|
|
13
|
-
{ label: 'About', url: '/about' },
|
|
14
|
-
{ label: 'Focus Areas', url: '/focus-areas' },
|
|
15
|
-
{ label: 'News & Events', url: '/news-and-events' },
|
|
16
|
-
{ label: 'Contact', url: '/contact' },
|
|
17
|
-
]),
|
|
18
|
-
}],
|
|
19
|
-
['eds-block-break', {}],
|
|
20
|
-
['eds-footer', {}],
|
|
21
|
-
['eds-block-break', {}],
|
|
22
|
-
['eds-tabs', {
|
|
23
|
-
tabs: JSON.stringify([
|
|
24
|
-
{ label: 'Home', url: '#', active: true, ariaLabel: 'Home Tab' },
|
|
25
|
-
{ label: 'Profile', url: '#', active: false, ariaLabel: 'Profile Tab' },
|
|
26
|
-
{ label: 'Settings', url: '#', active: false, ariaLabel: 'Settings Tab' },
|
|
27
|
-
]),
|
|
28
|
-
}],
|
|
29
|
-
['eds-block-break', {}],
|
|
30
|
-
['eds-card-section', {
|
|
31
|
-
cards: JSON.stringify([
|
|
32
|
-
{ title: 'Card 1', description: 'Description 1', tags: 'tag1, tag2', url: '/link1' },
|
|
33
|
-
{ title: 'Card 2', description: 'Description 2', tags: 'tag3', url: '/link2' },
|
|
34
|
-
]),
|
|
35
|
-
cols: '4',
|
|
36
|
-
}],
|
|
37
|
-
['eds-block-break', {}],
|
|
38
|
-
['eds-link', {
|
|
39
|
-
label: 'Main Link Click Me',
|
|
40
|
-
url: 'https://example.com',
|
|
41
|
-
intent: 'primary'
|
|
42
|
-
}],
|
|
43
|
-
['eds-block-break', {}],
|
|
44
|
-
['eds-avatar', { 'first-name': 'John', 'last-name': 'Doe' }],
|
|
45
|
-
['eds-block-break', {}],
|
|
46
|
-
['eds-breadcrumb', {
|
|
47
|
-
items: JSON.stringify([
|
|
48
|
-
{ label: 'Home', url: '/' },
|
|
49
|
-
{ label: 'Products', url: '/products' },
|
|
50
|
-
{ label: 'Electronics', url: '/products/electronics' },
|
|
51
|
-
{ label: 'Laptops', url: '/products/electronics/laptops' },
|
|
52
|
-
]),
|
|
53
|
-
intent: 'primary',
|
|
54
|
-
}],
|
|
55
|
-
['eds-block-break', {}],
|
|
56
|
-
['eds-card-generic', {
|
|
57
|
-
'card-title': 'The Future of AI in Healthcare',
|
|
58
|
-
url: 'https://example.com/ai-healthcare',
|
|
59
|
-
description: 'Explore how AI is transforming the healthcare industry with cutting-edge technologies and research.',
|
|
60
|
-
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',
|
|
61
|
-
'short-abbreviation': 'AI',
|
|
62
|
-
'heading-level': 'h2',
|
|
63
|
-
tags: 'Technology,AI,Healthcare',
|
|
64
|
-
tiny: 'false',
|
|
65
|
-
bg: 'true',
|
|
66
|
-
'with-hover': 'true',
|
|
67
|
-
}],
|
|
68
|
-
['eds-block-break', {}],
|
|
69
|
-
['eds-code-block', {
|
|
70
|
-
code: 'Hello',
|
|
71
|
-
language: 'javascript',
|
|
72
|
-
}],
|
|
73
|
-
['eds-block-break', {}],
|
|
74
|
-
['eds-dropdown', {
|
|
75
|
-
'aria-label': 'More options',
|
|
76
|
-
'rounded-btn': 'true',
|
|
77
|
-
'dropdown-pos': 'right',
|
|
78
|
-
'dropdown-offset': 'true',
|
|
79
|
-
}],
|
|
80
|
-
['eds-block-break', {}],
|
|
81
|
-
['eds-form', {
|
|
82
|
-
name: 'extended-form',
|
|
83
|
-
endpoint: 'http://127.0.0.1:5000/api/data',
|
|
84
|
-
fields: JSON.stringify([
|
|
85
|
-
{ name: 'username', label: 'Username', type: 'text', required: true, maxlength: 10 },
|
|
86
|
-
{ name: 'email', label: 'Email', type: 'email', required: true },
|
|
87
|
-
{ name: 'number', label: 'Number', type: 'number', required: true },
|
|
88
|
-
{ name: 'password', label: 'Password', type: 'password', required: true, maxlength: 50 },
|
|
89
|
-
{ name: 'date', label: 'Date', type: 'date', required: true },
|
|
90
|
-
{ name: 'file', label: 'File', type: 'file', required: false },
|
|
91
|
-
{ name: 'hiddenField', type: 'hidden', value: 'hiddenValue' },
|
|
92
|
-
{ name: 'bio', label: 'Biography', type: 'textarea', required: true, maxlength: 300 },
|
|
93
|
-
{ name: 'role', label: 'Role', type: 'select', required: true, options: [
|
|
94
|
-
{ label: 'Admin', value: 'admin' },
|
|
95
|
-
{ label: 'Editor', value: 'editor' },
|
|
96
|
-
{ label: 'Viewer', value: 'viewer' },
|
|
97
|
-
] },
|
|
98
|
-
{ name: 'preferences', type: 'checkbox', label: 'Select your preferences', options: [
|
|
99
|
-
{ value: 'option1', label: 'Option 1' },
|
|
100
|
-
{ value: 'option2', label: 'Option 2' },
|
|
101
|
-
{ value: 'option3', label: 'Option 3' },
|
|
102
|
-
], required: true },
|
|
103
|
-
{ name: 'gender', type: 'radio', label: 'Select your gender', options: [
|
|
104
|
-
{ value: 'female', label: 'Female' },
|
|
105
|
-
{ value: 'male', label: 'Male' },
|
|
106
|
-
], required: true },
|
|
107
|
-
{ name: 'newsletter', label: 'newsletter', type: 'checkbox', value: 'subscribe', required: true },
|
|
108
|
-
{ name: 'range', label: 'Range bar', type: 'range', min: '0', max: '10', step: '1', required: true },
|
|
109
|
-
]),
|
|
110
|
-
'success-message': 'Form submitted successfully!',
|
|
111
|
-
'error-message': 'Please fix the errors in the form.',
|
|
112
|
-
'submit-btn': 'true',
|
|
113
|
-
'small-alert': 'false',
|
|
114
|
-
'set-form-url': 'true',
|
|
115
|
-
}],
|
|
116
|
-
['eds-block-break', {}],
|
|
117
|
-
['eds-img', {
|
|
118
|
-
src: 'https://files.ebrains.eu/img/f999348c-beaa-40f8-ba60-230316d4a947/EBRAINS-BernsteinConference01.jpg',
|
|
119
|
-
alt: 'EBRAINS Bernstein Conference',
|
|
120
|
-
width: '400',
|
|
121
|
-
height: '225',
|
|
122
|
-
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',
|
|
123
|
-
sizes: '(max-width: 600px) 100vw, (max-width: 1200px) 50vw, 33vw',
|
|
124
|
-
formats: JSON.stringify([
|
|
125
|
-
{ 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' },
|
|
126
|
-
{ 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' },
|
|
127
|
-
]),
|
|
128
|
-
lazyload: 'true',
|
|
129
|
-
'with-bg': 'true',
|
|
130
|
-
}],
|
|
131
|
-
['eds-block-break', {}],
|
|
132
|
-
['eds-input-field', {
|
|
133
|
-
name: 'username',
|
|
134
|
-
'input-id': 'username',
|
|
135
|
-
label: 'Username',
|
|
136
|
-
placeholder: 'Enter your username',
|
|
137
|
-
required: 'true',
|
|
138
|
-
hint: 'Your unique username',
|
|
139
|
-
message: 'This field is required',
|
|
140
|
-
'error-message': 'Invalid username',
|
|
141
|
-
type: 'text',
|
|
142
|
-
}],
|
|
143
|
-
['eds-block-break', {}],
|
|
144
|
-
['eds-pagination', {
|
|
145
|
-
'current-page': '1',
|
|
146
|
-
'last-page': '10',
|
|
147
|
-
'per-page': '5',
|
|
148
|
-
total: '50',
|
|
149
|
-
mode: 'default',
|
|
150
|
-
}],
|
|
151
|
-
['eds-block-break', {}],
|
|
152
|
-
['eds-progress-bar', { value: '75' }],
|
|
153
|
-
['eds-table', {
|
|
154
|
-
data: JSON.stringify([
|
|
155
|
-
{ Property: 'username', Type: 'string', Required: 'Yes' },
|
|
156
|
-
{ Property: 'password', Type: 'string', Required: 'Yes' },
|
|
157
|
-
{ Property: 'email', Type: 'string', Required: 'No' },
|
|
158
|
-
]),
|
|
159
|
-
config: JSON.stringify({
|
|
160
|
-
Type: { format: 'uppercase' },
|
|
161
|
-
Property: { format: 'code' },
|
|
162
|
-
Required: { hidden: true },
|
|
163
|
-
}),
|
|
164
|
-
}],
|
|
165
|
-
['eds-block-break', {}],
|
|
166
|
-
['eds-tag', { label: 'Default Tag', intent: 'default' }],
|
|
167
|
-
];
|
|
168
|
-
|
|
169
|
-
// Helper function to check if Matomo is initialized
|
|
170
|
-
function isMatomoAvailable() {
|
|
171
|
-
return typeof window !== 'undefined' && typeof window._paq !== 'undefined';
|
|
172
|
-
}
|
|
173
|
-
// General function to push data to Matomo
|
|
174
|
-
function pushToMatomo(action, ...args) {
|
|
175
|
-
//console.log('Pushing Matomo')
|
|
176
|
-
if (isMatomoAvailable()) {
|
|
177
|
-
window._paq.push([action, ...args]);
|
|
178
|
-
}
|
|
179
|
-
else {
|
|
180
|
-
console.warn('Matomo is not available or not initialized.');
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
// Function to send analytics data
|
|
184
|
-
function sendAnalytics(eventData) {
|
|
185
|
-
var _a;
|
|
186
|
-
if (!isMatomoAvailable()) {
|
|
187
|
-
console.warn('Matomo is not available or not initialized.');
|
|
188
|
-
//console.log({ ...eventData });
|
|
189
|
-
return;
|
|
190
|
-
}
|
|
191
|
-
// Conditionally build the name field
|
|
192
|
-
const nameParts = [];
|
|
193
|
-
if ((_a = eventData.parentContext) === null || _a === void 0 ? void 0 : _a.componentName) {
|
|
194
|
-
nameParts.push(eventData.parentContext.componentName);
|
|
195
|
-
}
|
|
196
|
-
nameParts.push(eventData.tag || 'unknown-tag');
|
|
197
|
-
nameParts.push(eventData.name || 'unknown-name');
|
|
198
|
-
const name = nameParts.join('/');
|
|
199
|
-
//console.log('trackEvent', eventData.category, eventData.action, name)
|
|
200
|
-
pushToMatomo('trackEvent', eventData.category, eventData.action, name);
|
|
201
|
-
console.log(Object.assign({}, eventData));
|
|
202
|
-
}
|
|
203
|
-
// Function to opt-in the user
|
|
204
|
-
function matomoOptIn() {
|
|
205
|
-
if (isMatomoAvailable()) {
|
|
206
|
-
window._paq.push(['rememberConsentGiven']);
|
|
207
|
-
console.log('User has opted in to tracking');
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
const GRADIANT_TOKENS = ['green', 'yellow', 'among-blue', 'purple'];
|
|
212
|
-
const gradientBGColorVariants = index.cva([], {
|
|
213
|
-
variants: {
|
|
214
|
-
color: GRADIANT_TOKENS.reduce((acc, token) => (Object.assign(Object.assign({}, acc), { [token]: '' })), {}),
|
|
215
|
-
direction: {
|
|
216
|
-
top: '',
|
|
217
|
-
bottom: ''
|
|
218
|
-
},
|
|
219
|
-
pseudo: {
|
|
220
|
-
true: 'before:effect-opacity effect-bg-behind',
|
|
221
|
-
false: ''
|
|
222
|
-
},
|
|
223
|
-
hover: {
|
|
224
|
-
true: 'before:opacity-0 hover:before:opacity-100',
|
|
225
|
-
false: ''
|
|
226
|
-
}
|
|
227
|
-
},
|
|
228
|
-
compoundVariants: [
|
|
229
|
-
// region GREEN
|
|
230
|
-
{
|
|
231
|
-
color: 'green',
|
|
232
|
-
direction: 'top',
|
|
233
|
-
pseudo: true,
|
|
234
|
-
className: 'before:bg-gradient-01-top'
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
color: 'green',
|
|
238
|
-
pseudo: true,
|
|
239
|
-
direction: 'bottom',
|
|
240
|
-
className: 'before:bg-gradient-01-bottom'
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
color: 'green',
|
|
244
|
-
direction: 'top',
|
|
245
|
-
pseudo: false,
|
|
246
|
-
className: 'bg-gradient-01-top'
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
color: 'green',
|
|
250
|
-
pseudo: false,
|
|
251
|
-
direction: 'bottom',
|
|
252
|
-
className: 'bg-gradient-01-bottom'
|
|
253
|
-
},
|
|
254
|
-
// endregion
|
|
255
|
-
// region YELLOW
|
|
256
|
-
{
|
|
257
|
-
color: 'yellow',
|
|
258
|
-
direction: 'top',
|
|
259
|
-
pseudo: true,
|
|
260
|
-
className: 'before:bg-gradient-02-top'
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
color: 'yellow',
|
|
264
|
-
direction: 'bottom',
|
|
265
|
-
pseudo: true,
|
|
266
|
-
className: 'before:bg-gradient-02-bottom'
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
color: 'yellow',
|
|
270
|
-
direction: 'top',
|
|
271
|
-
pseudo: false,
|
|
272
|
-
className: 'bg-gradient-02-top'
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
color: 'yellow',
|
|
276
|
-
direction: 'bottom',
|
|
277
|
-
pseudo: false,
|
|
278
|
-
className: 'bg-gradient-02-bottom'
|
|
279
|
-
},
|
|
280
|
-
// endregion
|
|
281
|
-
// region PURPLE
|
|
282
|
-
{
|
|
283
|
-
color: 'purple',
|
|
284
|
-
direction: 'top',
|
|
285
|
-
pseudo: true,
|
|
286
|
-
class: 'before:bg-gradient-03-top'
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
color: 'purple',
|
|
290
|
-
direction: 'bottom',
|
|
291
|
-
pseudo: true,
|
|
292
|
-
class: 'before:bg-gradient-03-bottom'
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
color: 'purple',
|
|
296
|
-
direction: 'top',
|
|
297
|
-
pseudo: false,
|
|
298
|
-
class: 'bg-gradient-03-top'
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
color: 'purple',
|
|
302
|
-
direction: 'bottom',
|
|
303
|
-
pseudo: false,
|
|
304
|
-
class: 'bg-gradient-03-bottom'
|
|
305
|
-
},
|
|
306
|
-
// endregion
|
|
307
|
-
// region AMONG-BLUE
|
|
308
|
-
{
|
|
309
|
-
color: 'among-blue',
|
|
310
|
-
direction: 'top',
|
|
311
|
-
pseudo: true,
|
|
312
|
-
class: 'before:bg-gradient-04-top'
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
color: 'among-blue',
|
|
316
|
-
direction: 'bottom',
|
|
317
|
-
pseudo: true,
|
|
318
|
-
class: 'before:bg-gradient-04-bottom'
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
color: 'among-blue',
|
|
322
|
-
direction: 'top',
|
|
323
|
-
pseudo: false,
|
|
324
|
-
class: 'bg-gradient-04-top'
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
color: 'among-blue',
|
|
328
|
-
direction: 'bottom',
|
|
329
|
-
pseudo: false,
|
|
330
|
-
class: 'bg-gradient-04-bottom'
|
|
331
|
-
}
|
|
332
|
-
// endregion
|
|
333
|
-
],
|
|
334
|
-
defaultVariants: {
|
|
335
|
-
direction: 'top',
|
|
336
|
-
pseudo: true
|
|
337
|
-
}
|
|
338
|
-
});
|
|
339
|
-
|
|
340
|
-
exports.gradientBGColorVariants = gradientBGColorVariants;
|
|
341
|
-
exports.matomoOptIn = matomoOptIn;
|
|
342
|
-
exports.sendAnalytics = sendAnalytics;
|