@ebrains/components 0.6.0-alpha.0 → 0.7.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/color-primary-palette_6.cjs.entry.js +15 -15
- package/dist/cjs/components.cjs.js +2 -2
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +2 -2
- package/dist/cjs/eds-accordion_22.cjs.entry.js +1959 -0
- package/dist/cjs/eds-alert.cjs.entry.js +1 -1
- package/dist/cjs/eds-app-root.cjs.entry.js +37 -0
- package/dist/cjs/eds-avatar_4.cjs.entry.js +180 -0
- package/dist/cjs/eds-breadcrumb.cjs.entry.js +4 -18
- package/dist/cjs/eds-card-generic.cjs.entry.js +92 -0
- package/dist/cjs/eds-card-project.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-section.cjs.entry.js +39 -0
- package/dist/cjs/eds-card-tags.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-tool.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/eds-code-block.cjs.entry.js +1 -1
- package/dist/cjs/eds-components-section.cjs.entry.js +2 -2
- package/dist/cjs/eds-cookies-preference.cjs.entry.js +2 -2
- package/dist/cjs/eds-docs-palettes.cjs.entry.js +2 -2
- package/dist/cjs/eds-docs-tokens.cjs.entry.js +2 -2
- package/dist/cjs/{eds-dropdown_2.cjs.entry.js → eds-dropdown.cjs.entry.js} +8 -41
- package/dist/cjs/eds-feedback.cjs.entry.js +66 -0
- package/dist/cjs/eds-form.cjs.entry.js +237 -254
- package/dist/cjs/eds-frame.cjs.entry.js +32 -32
- package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-close.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-copy.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-eu.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-facebook.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-gitlab.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-linkedin.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-loader.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-mastodon.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-menu.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-more.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-search.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-star.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-success.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-user.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-youtube.cjs.entry.js +2 -2
- package/dist/{components/keycloak.js → cjs/eds-login_2.cjs.entry.js} +144 -1
- package/dist/cjs/eds-logo-variations.cjs.entry.js +2 -2
- package/dist/cjs/eds-modal.cjs.entry.js +15 -3
- package/dist/cjs/eds-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/eds-rating.cjs.entry.js +31 -25
- package/dist/cjs/eds-section-core_2.cjs.entry.js +4 -4
- package/dist/cjs/eds-spinner.cjs.entry.js +54 -0
- package/dist/cjs/eds-steps.cjs.entry.js +9 -19
- package/dist/cjs/eds-svg-repository.cjs.entry.js +9 -3
- package/dist/cjs/eds-switch.cjs.entry.js +3 -3
- package/dist/cjs/eds-tabs.cjs.entry.js +10 -24
- package/dist/cjs/eds-timeline.cjs.entry.js +4 -22
- package/dist/cjs/eds-toast-manager.cjs.entry.js +46 -0
- package/dist/cjs/eds-toast.cjs.entry.js +76 -0
- package/dist/cjs/eds-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/eds-trl.cjs.entry.js +2 -2
- package/dist/cjs/eds-user.cjs.entry.js +9 -79
- package/dist/cjs/eds-vertical-stepper.cjs.entry.js +2 -2
- package/dist/cjs/formUtils-4315a99c.js +228 -0
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +2 -2
- package/dist/cjs/{index-f08e4f5c.js → index-2f63169d.js} +51 -54
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/logo-space.cjs.entry.js +2 -2
- package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +3 -3
- package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
- package/dist/cjs/sharedUtils-8e287250.js +21 -0
- package/dist/cjs/star-942eee9f.js +7 -0
- package/dist/cjs/thumbs-down-714036b1.js +7 -0
- package/dist/cjs/thumbs-up-411babb8.js +8 -0
- package/dist/cjs/token-list_3.cjs.entry.js +4 -4
- package/dist/cjs/token-ratios.cjs.entry.js +2 -2
- package/dist/cjs/token-spacing.cjs.entry.js +2 -2
- package/dist/cjs/token-typography.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +10 -6
- package/dist/collection/components/eds-accordion/eds-accordion.js +7 -7
- package/dist/collection/components/eds-accordion/eds-accordion.stories.js +2 -2
- package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +3 -17
- package/dist/collection/components/eds-button/eds-button.css +1 -19
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +3 -15
- package/dist/collection/components/eds-dropdown/eds-dropdown.js +24 -2
- package/dist/collection/components/eds-form/eds-form.js +278 -268
- package/dist/collection/components/eds-form-v2/eds-form-v2.css +7153 -0
- package/dist/collection/components/eds-form-v2/eds-form-v2.js +405 -0
- package/dist/collection/components/eds-form-v2/eds-form-v2.stories.js +73 -0
- 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-star/eds-icon-star.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +36 -0
- 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 +2 -2
- 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 +57 -9
- package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +1 -1
- package/dist/collection/components/eds-input-field/eds-input-field.js +2 -2
- package/dist/collection/components/eds-link/eds-link.js +1 -1
- package/dist/collection/components/eds-logo/eds-logo.js +1 -1
- package/dist/collection/components/eds-modal/eds-modal.js +26 -2
- package/dist/collection/components/eds-pagination/eds-pagination.js +3 -3
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
- package/dist/collection/components/eds-rating/eds-rating.css +31 -74
- package/dist/collection/components/eds-rating/eds-rating.js +44 -56
- package/dist/collection/components/eds-rating/eds-rating.stories.js +18 -51
- 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-spinner/eds-spinner.css +17 -0
- package/dist/collection/components/eds-spinner/eds-spinner.js +166 -0
- package/dist/collection/components/eds-spinner/eds-spinner.stories.js +52 -0
- package/dist/collection/components/eds-steps/eds-steps.css +1 -1
- package/dist/collection/components/eds-steps/eds-steps.js +8 -18
- package/dist/collection/components/eds-steps/eds-vertical-stepper.js +1 -1
- package/dist/collection/components/eds-switch/eds-switch.css +57 -58
- package/dist/collection/components/eds-switch/eds-switch.js +2 -2
- package/dist/collection/components/eds-table/eds-table.js +11 -8
- package/dist/collection/components/eds-table/eds-table.stories.js +11 -6
- package/dist/collection/components/eds-tag/eds-tag.js +1 -1
- package/dist/collection/components/eds-timeline/eds-timeline.js +3 -21
- package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
- 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-frame/eds-frame.css +113 -0
- package/dist/collection/{components → eds-docs-ui}/eds-frame/eds-frame.js +47 -76
- package/dist/collection/eds-docs-ui/eds-frame/eds-frame.stories.js +52 -0
- 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/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 +3 -19
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.css +155 -0
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +191 -0
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.stories.js +121 -0
- package/dist/collection/shared-ui/eds-footer/eds-footer.js +1 -1
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +3 -28
- package/dist/collection/shared-ui/eds-header/eds-header.js +4 -20
- package/dist/collection/shared-ui/eds-header/eds-header.stories.js +1 -37
- package/dist/collection/shared-ui/eds-login/eds-login.js +34 -10
- package/dist/collection/{components → shared-ui}/eds-matomo-notice/eds-matomo-notice.js +32 -63
- package/dist/collection/{components → shared-ui}/eds-matomo-notice/eds-matomo-notice.stories.js +6 -4
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -1
- package/dist/collection/shared-ui/eds-splash-screen/eds-splash-screen.css +29 -0
- package/dist/collection/shared-ui/eds-splash-screen/eds-splash-screen.js +124 -0
- package/dist/collection/shared-ui/eds-splash-screen/eds-splash-screen.stories.js +23 -0
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +7774 -0
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +12 -25
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.stories.js +17 -30
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +4 -1
- package/dist/collection/shared-ui/eds-user/eds-user.js +17 -150
- package/dist/collection/shared-ui/eds-user/eds-user.stories.js +45 -0
- package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +39 -0
- package/dist/collection/utils/api.js +27 -0
- package/dist/collection/utils/eds-form/formUtils.js +95 -0
- package/dist/collection/utils/eds-form/formValidators.js +64 -0
- package/dist/collection/utils/eds-form/individualValidator.js +46 -0
- package/dist/collection/utils/eds-form/validateInput.js +23 -0
- package/dist/collection/utils/sharedUtils.js +17 -0
- package/dist/components/components.css +48 -72
- package/dist/components/components.esm.js +1 -1
- package/dist/components/correct-use-of-colors.js +1 -1
- package/dist/components/eds-accordion2.js +5 -5
- package/dist/components/{eds-navigator.d.ts → eds-app-root.d.ts} +4 -4
- package/dist/components/eds-app-root.js +89 -0
- package/dist/components/eds-breadcrumb.js +3 -17
- package/dist/components/eds-button2.js +1 -1
- package/dist/components/eds-card-generic2.js +3 -15
- package/dist/components/eds-card-section.js +3 -19
- package/dist/components/eds-components-section.js +1 -1
- package/dist/components/eds-cookies-preference.js +1 -1
- package/dist/components/eds-docs-palettes.js +1 -1
- package/dist/components/eds-docs-tokens.js +1 -1
- package/dist/components/eds-dropdown2.js +8 -3
- package/dist/components/{eds-user-modal.d.ts → eds-feedback.d.ts} +4 -4
- package/dist/components/eds-feedback.js +105 -0
- package/dist/components/eds-footer2.js +1 -1
- package/dist/components/{eds-tab.d.ts → eds-form-v2.d.ts} +4 -4
- package/dist/{esm/eds-accordion_13.entry.js → components/eds-form-v2.js} +276 -854
- package/dist/components/eds-form.js +240 -255
- package/dist/components/eds-frame.js +33 -34
- package/dist/components/eds-fullscreen-menu.js +3 -28
- package/dist/components/eds-header.js +4 -20
- 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-tabs-content.d.ts → eds-icon-star.d.ts} +4 -4
- package/dist/components/eds-icon-star.js +33 -0
- package/dist/components/eds-icon-success.js +1 -1
- package/dist/components/eds-icon-thumbs-down.d.ts +11 -0
- package/dist/components/eds-icon-thumbs-down.js +33 -0
- package/dist/components/eds-icon-thumbs-up.d.ts +11 -0
- package/dist/components/eds-icon-thumbs-up.js +33 -0
- 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 +2 -2
- 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 +24 -9
- package/dist/components/eds-input-select2.js +1 -1
- package/dist/components/eds-input2.js +2 -2
- package/dist/components/eds-link2.js +1 -1
- package/dist/components/eds-login.js +1 -118
- package/dist/{cjs/keycloak-93fc0315.js → components/eds-login2.js} +128 -7
- package/dist/components/eds-logo-variations.js +1 -1
- package/dist/components/eds-logo2.js +1 -1
- package/dist/components/eds-matomo-notice2.js +16 -13
- package/dist/components/eds-modal.js +15 -3
- package/dist/components/eds-pagination2.js +2 -2
- package/dist/components/eds-progress-bar2.js +1 -1
- package/dist/components/eds-rating.js +1 -84
- package/dist/components/eds-rating2.js +91 -0
- 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-spinner.d.ts +11 -0
- package/dist/components/eds-spinner.js +6 -0
- package/dist/components/eds-spinner2.js +72 -0
- package/dist/components/eds-splash-screen.d.ts +11 -0
- package/dist/components/eds-splash-screen.js +6 -0
- package/dist/components/eds-splash-screen2.js +78 -0
- package/dist/components/eds-steps.js +8 -18
- package/dist/components/eds-svg-repository.js +8 -2
- package/dist/components/eds-switch.js +2 -2
- package/dist/components/eds-table2.js +11 -8
- package/dist/components/eds-tabs.js +12 -31
- package/dist/components/eds-tag2.js +1 -1
- package/dist/components/eds-timeline.js +3 -21
- package/dist/components/eds-toast-manager.js +1 -1
- package/dist/components/eds-tooltip.js +1 -1
- package/dist/components/eds-trl.js +1 -1
- package/dist/components/eds-user.js +23 -105
- package/dist/components/eds-vertical-stepper.js +1 -1
- package/dist/components/formUtils.js +223 -0
- package/dist/components/incorrect-use-of-colors.js +1 -1
- 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-033480b2.entry.js +1 -0
- package/dist/components/{p-89f600a3.entry.js → p-0443ac40.entry.js} +1 -1
- package/dist/components/{p-a2621d66.entry.js → p-066f6d27.entry.js} +1 -1
- package/dist/components/p-0e0106fc.entry.js +1 -0
- package/dist/components/p-117d180f.entry.js +1 -0
- package/dist/components/p-20e9ae7f.entry.js +1 -0
- package/dist/components/{p-a535838c.entry.js → p-2354daeb.entry.js} +1 -1
- package/dist/components/{p-5097066f.entry.js → p-2b31ca60.entry.js} +1 -1
- package/dist/components/p-3368cfd5.entry.js +1 -0
- package/dist/components/p-33c5b937.entry.js +1 -0
- package/dist/components/p-3af94671.entry.js +1 -0
- package/dist/components/{p-b1af5000.entry.js → p-43350dff.entry.js} +2 -2
- package/dist/components/p-43b3579a.entry.js +1 -0
- package/dist/components/p-467fe746.entry.js +1 -0
- package/dist/components/p-46a6042d.entry.js +1 -0
- package/dist/components/p-4a860d5b.entry.js +1 -0
- package/dist/components/p-4ac27fe7.entry.js +1 -0
- package/dist/components/p-4b2e6f03.entry.js +1 -0
- package/dist/components/{p-b50c8d49.entry.js → p-4cd69983.entry.js} +1 -1
- package/dist/components/p-5520a3b6.entry.js +1 -0
- package/dist/components/p-552b6a50.entry.js +1 -0
- package/dist/components/p-56b4e0fe.entry.js +1 -0
- package/dist/components/{p-f36f2aeb.entry.js → p-56ec190f.entry.js} +1 -1
- package/dist/components/p-5aff1ea0.entry.js +1 -0
- package/dist/components/p-5c12a0df.entry.js +1 -0
- package/dist/components/{p-5ff31f14.entry.js → p-5e2216ae.entry.js} +1 -1
- package/dist/components/p-5e63e8a5.entry.js +1 -0
- package/dist/components/p-60e7e745.entry.js +1 -0
- package/dist/components/p-62f2f274.entry.js +1 -0
- package/dist/components/p-6404e157.entry.js +1 -0
- package/dist/components/p-69c5074b.js +1 -0
- package/dist/components/p-6fd0c3b3.entry.js +1 -0
- package/dist/components/p-77cc7c02.entry.js +1 -0
- package/dist/components/p-79c14cf1.entry.js +1 -0
- package/dist/components/{p-c034c395.entry.js → p-7dd81017.entry.js} +1 -1
- package/dist/components/p-7e0dd5d8.entry.js +1 -0
- package/dist/components/p-80dba155.js +1 -0
- package/dist/components/{p-b860b4aa.entry.js → p-8154d013.entry.js} +1 -1
- package/dist/components/p-86eed1b7.entry.js +1 -0
- package/dist/components/{p-d56d9dda.entry.js → p-8b70a350.entry.js} +1 -1
- package/dist/components/p-8e548691.entry.js +1 -0
- package/dist/components/p-90503a64.entry.js +1 -0
- package/dist/components/p-90f85604.entry.js +1 -0
- package/dist/components/p-94698510.entry.js +1 -0
- package/dist/components/p-950ecb1c.entry.js +1 -0
- package/dist/components/p-9b9fba38.entry.js +1 -0
- package/dist/components/p-9dc879c9.entry.js +1 -0
- package/dist/components/{p-b1de9a6c.entry.js → p-9eb2e870.entry.js} +1 -1
- package/dist/components/p-9ebc84d6.entry.js +1 -0
- package/dist/components/p-a56f0579.entry.js +1 -0
- package/dist/components/{p-88751c8b.entry.js → p-a5c61d1c.entry.js} +1 -1
- package/dist/components/p-a6cd418e.entry.js +1 -0
- package/dist/components/p-a8dd1953.entry.js +1 -0
- package/dist/components/{p-045681d7.entry.js → p-a91ab66e.entry.js} +1 -1
- package/dist/components/p-ab292dd5.entry.js +1 -0
- package/dist/components/p-ad746789.entry.js +1 -0
- package/dist/components/p-b80a9020.entry.js +1 -0
- package/dist/components/p-b8ba7e5c.entry.js +1 -0
- package/dist/components/p-ba720bf3.js +1 -0
- package/dist/components/p-c06d4f14.entry.js +1 -0
- package/dist/components/p-c12d9350.entry.js +1 -0
- package/dist/components/p-c3dda942.entry.js +1 -0
- package/dist/components/p-c6b32753.entry.js +1 -0
- package/dist/components/p-c776b6f8.js +1 -0
- package/dist/components/p-c935aa46.entry.js +1 -0
- package/dist/components/{p-7a8b9de5.js → p-cccacbd3.js} +2 -2
- package/dist/components/p-dbcf1f0e.entry.js +1 -0
- package/dist/components/p-dcc08064.entry.js +1 -0
- package/dist/components/p-dcd4de1f.entry.js +1 -0
- package/dist/components/p-e2d5a487.js +1 -0
- package/dist/components/p-e64cd6f7.entry.js +1 -0
- package/dist/components/p-e9a533e0.entry.js +1 -0
- package/dist/components/p-eac63c82.entry.js +1 -0
- package/dist/components/p-f5959676.entry.js +1 -0
- package/dist/components/{p-fad10768.entry.js → p-f905ac92.entry.js} +1 -1
- package/dist/components/p-fba4080d.entry.js +1 -0
- package/dist/components/p-fc619588.entry.js +1 -0
- package/dist/components/p-fcc32210.entry.js +1 -0
- package/dist/components/{p-81942665.entry.js → p-ff7acb55.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/sharedUtils.js +19 -0
- package/dist/components/star.js +5 -0
- package/dist/components/support.js +1 -1
- package/dist/components/support2.js +3 -3
- package/dist/components/thumbs-down.js +5 -0
- package/dist/components/thumbs-up.js +6 -0
- 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/color-primary-palette_6.entry.js +15 -15
- package/dist/esm/components.js +3 -3
- package/dist/esm/correct-use-of-colors.entry.js +2 -2
- package/dist/esm/eds-accordion_22.entry.js +1934 -0
- package/dist/esm/eds-alert.entry.js +1 -1
- package/dist/esm/eds-app-root.entry.js +33 -0
- package/dist/esm/eds-avatar_4.entry.js +173 -0
- package/dist/esm/eds-breadcrumb.entry.js +4 -18
- package/dist/esm/eds-card-generic.entry.js +88 -0
- package/dist/esm/eds-card-project.entry.js +1 -1
- package/dist/esm/eds-card-section.entry.js +35 -0
- package/dist/esm/eds-card-tags.entry.js +1 -1
- package/dist/esm/eds-card-tool.entry.js +1 -1
- package/dist/esm/eds-card-wrapper.entry.js +1 -1
- package/dist/esm/eds-code-block.entry.js +1 -1
- package/dist/esm/eds-components-section.entry.js +2 -2
- package/dist/esm/eds-cookies-preference.entry.js +2 -2
- package/dist/esm/eds-docs-palettes.entry.js +2 -2
- package/dist/esm/eds-docs-tokens.entry.js +2 -2
- package/dist/esm/{eds-dropdown_2.entry.js → eds-dropdown.entry.js} +9 -41
- package/dist/esm/eds-feedback.entry.js +62 -0
- package/dist/esm/eds-form.entry.js +237 -254
- package/dist/esm/eds-frame.entry.js +32 -32
- package/dist/esm/eds-icon-arrow-diagonal.entry.js +2 -2
- package/dist/esm/eds-icon-arrow-right.entry.js +2 -2
- package/dist/esm/eds-icon-bluesky.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-down.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-left.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-right.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-up.entry.js +2 -2
- package/dist/esm/eds-icon-close.entry.js +2 -2
- package/dist/esm/eds-icon-copy.entry.js +2 -2
- package/dist/esm/eds-icon-eu.entry.js +2 -2
- package/dist/esm/eds-icon-facebook.entry.js +2 -2
- package/dist/esm/eds-icon-gitlab.entry.js +2 -2
- package/dist/esm/eds-icon-linkedin.entry.js +2 -2
- package/dist/esm/eds-icon-loader.entry.js +2 -2
- package/dist/esm/eds-icon-mastodon.entry.js +2 -2
- package/dist/esm/eds-icon-menu.entry.js +2 -2
- package/dist/esm/eds-icon-more.entry.js +2 -2
- package/dist/esm/eds-icon-search.entry.js +2 -2
- package/dist/esm/eds-icon-star.entry.js +14 -0
- package/dist/esm/eds-icon-success.entry.js +2 -2
- package/dist/esm/eds-icon-thumbs-down.entry.js +14 -0
- package/dist/esm/eds-icon-thumbs-up.entry.js +14 -0
- package/dist/esm/eds-icon-twitter.entry.js +2 -2
- package/dist/esm/eds-icon-user.entry.js +2 -2
- package/dist/esm/eds-icon-youtube.entry.js +2 -2
- package/dist/esm/{keycloak-d502ec16.js → eds-login_2.entry.js} +139 -1
- package/dist/esm/eds-logo-variations.entry.js +2 -2
- package/dist/esm/eds-modal.entry.js +15 -3
- package/dist/esm/eds-progress-bar.entry.js +2 -2
- package/dist/esm/eds-rating.entry.js +31 -25
- package/dist/esm/eds-section-core_2.entry.js +4 -4
- package/dist/esm/eds-spinner.entry.js +50 -0
- package/dist/esm/eds-steps.entry.js +9 -19
- package/dist/esm/eds-svg-repository.entry.js +9 -3
- package/dist/esm/eds-switch.entry.js +3 -3
- package/dist/esm/eds-tabs.entry.js +10 -24
- package/dist/esm/eds-timeline.entry.js +4 -22
- package/dist/esm/eds-toast-manager.entry.js +42 -0
- package/dist/esm/eds-toast.entry.js +72 -0
- package/dist/esm/eds-tooltip.entry.js +2 -2
- package/dist/esm/eds-trl.entry.js +2 -2
- package/dist/esm/eds-user.entry.js +9 -79
- package/dist/esm/eds-vertical-stepper.entry.js +2 -2
- package/dist/esm/formUtils-ac68474d.js +223 -0
- package/dist/esm/incorrect-use-of-colors.entry.js +2 -2
- package/dist/esm/{index-e96badea.js → index-8a71b9a7.js} +51 -55
- package/dist/esm/loader.js +3 -3
- package/dist/esm/logo-space.entry.js +2 -2
- package/dist/esm/logo-variations-horizontal_2.entry.js +3 -3
- package/dist/esm/logo-wrong-usage.entry.js +2 -2
- package/dist/esm/sharedUtils-a550989c.js +19 -0
- package/dist/esm/star-0da9b5e9.js +5 -0
- package/dist/esm/thumbs-down-a18fd049.js +5 -0
- package/dist/esm/thumbs-up-c19a71bc.js +6 -0
- package/dist/esm/token-list_3.entry.js +4 -4
- package/dist/esm/token-ratios.entry.js +2 -2
- package/dist/esm/token-spacing.entry.js +2 -2
- package/dist/esm/token-typography.entry.js +2 -2
- package/dist/hydrate/index.js +1353 -1001
- package/dist/hydrate/index.mjs +1353 -1001
- package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/lib/svgs.d.ts +4 -1
- package/dist/types/components/eds-accordion/eds-accordion.d.ts +3 -3
- package/dist/types/components/eds-dropdown/eds-dropdown.d.ts +5 -0
- package/dist/types/components/eds-form/eds-form.d.ts +52 -20
- package/dist/types/components/eds-form-v2/eds-form-v2.d.ts +99 -0
- package/dist/types/components/eds-form-v2/eds-form-v2.stories.d.ts +27 -0
- package/dist/types/components/eds-icons/eds-icon-star/eds-icon-star.d.ts +10 -0
- package/dist/types/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.d.ts +10 -0
- package/dist/types/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.d.ts +10 -0
- package/dist/types/components/eds-input-elements/eds-input-search/eds-input-search.d.ts +6 -1
- package/dist/types/components/eds-modal/eds-modal.d.ts +8 -0
- package/dist/types/components/eds-pagination/eds-pagination.d.ts +1 -1
- package/dist/types/components/eds-rating/eds-rating.d.ts +19 -11
- package/dist/types/components/eds-rating/eds-rating.stories.d.ts +13 -27
- package/dist/types/components/eds-spinner/eds-spinner.d.ts +27 -0
- package/dist/types/components/eds-spinner/eds-spinner.stories.d.ts +42 -0
- package/dist/types/components/eds-steps/eds-steps.d.ts +1 -1
- package/dist/types/components/eds-table/eds-table.stories.d.ts +6 -0
- package/dist/types/components.d.ts +610 -321
- package/dist/types/{components → eds-docs-ui}/eds-frame/eds-frame.d.ts +26 -6
- package/dist/types/{components → eds-docs-ui}/eds-frame/eds-frame.stories.d.ts +8 -13
- package/dist/types/shared-ui/eds-feedback/eds-feedback.d.ts +56 -0
- package/dist/types/shared-ui/eds-feedback/eds-feedback.stories.d.ts +77 -0
- package/dist/types/shared-ui/eds-header/eds-header.stories.d.ts +0 -28
- package/dist/types/shared-ui/eds-login/eds-login.d.ts +12 -1
- package/dist/types/{components → shared-ui}/eds-matomo-notice/eds-matomo-notice.d.ts +5 -12
- package/dist/types/{components → shared-ui}/eds-matomo-notice/eds-matomo-notice.stories.d.ts +2 -1
- package/dist/types/shared-ui/eds-splash-screen/eds-splash-screen.d.ts +31 -0
- package/dist/types/shared-ui/eds-splash-screen/eds-splash-screen.stories.d.ts +22 -0
- package/dist/types/shared-ui/eds-tabs/eds-tabs.d.ts +3 -3
- package/dist/types/shared-ui/eds-tabs/eds-tabs.stories.d.ts +5 -2
- package/dist/types/shared-ui/eds-toast-manager/eds-toast-manager.d.ts +3 -0
- package/dist/types/shared-ui/eds-user/eds-user.d.ts +12 -66
- package/dist/types/shared-ui/eds-user/eds-user.stories.d.ts +32 -0
- package/dist/types/shared-ui/examples/eds-app-root/eds-app-root.d.ts +9 -0
- package/dist/types/utils/api.d.ts +5 -0
- package/dist/types/utils/eds-form/formUtils.d.ts +38 -0
- package/dist/types/utils/eds-form/formValidators.d.ts +17 -0
- package/dist/types/utils/eds-form/individualValidator.d.ts +3 -0
- package/dist/types/utils/eds-form/validateInput.d.ts +10 -0
- package/dist/types/utils/sharedUtils.d.ts +1 -0
- package/package.json +3 -3
- package/dist/cjs/eds-accordion_13.cjs.entry.js +0 -911
- package/dist/cjs/eds-block-break.cjs.entry.js +0 -21
- package/dist/cjs/eds-footer.cjs.entry.js +0 -41
- package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +0 -100
- package/dist/cjs/eds-header.cjs.entry.js +0 -97
- package/dist/cjs/eds-input_7.cjs.entry.js +0 -324
- package/dist/cjs/eds-link.cjs.entry.js +0 -214
- package/dist/cjs/eds-login.cjs.entry.js +0 -91
- package/dist/cjs/eds-logo.cjs.entry.js +0 -78
- package/dist/cjs/eds-navigator.cjs.entry.js +0 -43
- package/dist/cjs/eds-pagination_2.cjs.entry.js +0 -386
- package/dist/cjs/eds-social-networks.cjs.entry.js +0 -66
- package/dist/cjs/eds-tab.cjs.entry.js +0 -40
- package/dist/cjs/eds-tabs-content.cjs.entry.js +0 -133
- package/dist/collection/components/eds-frame/eds-frame.stories.js +0 -68
- package/dist/collection/components/eds-navigator/eds-navigator.js +0 -147
- package/dist/collection/components/eds-navigator/eds-navigator.stories.js +0 -101
- package/dist/collection/components/eds-tab/eds-tab.js +0 -109
- package/dist/collection/shared-ui/eds-tabs-content/eds-tabs-content.js +0 -194
- package/dist/collection/shared-ui/eds-tabs-content/eds-tabs-content.stories.js +0 -112
- package/dist/collection/shared-ui/eds-user-modal/eds-user-modal.js +0 -109
- package/dist/components/eds-navigator.js +0 -75
- package/dist/components/eds-tab.js +0 -6
- package/dist/components/eds-tab2.js +0 -55
- package/dist/components/eds-tabs-content.js +0 -159
- package/dist/components/eds-user-modal.js +0 -6
- package/dist/components/eds-user-modal2.js +0 -87
- package/dist/components/p-06299762.entry.js +0 -1
- package/dist/components/p-0a3b2576.entry.js +0 -1
- package/dist/components/p-0ab85eee.entry.js +0 -1
- package/dist/components/p-0e7bdd2c.entry.js +0 -1
- package/dist/components/p-10b81c47.entry.js +0 -1
- package/dist/components/p-1ae529f3.entry.js +0 -1
- package/dist/components/p-1ed3fdb7.entry.js +0 -1
- package/dist/components/p-21d42cf3.entry.js +0 -1
- package/dist/components/p-2831a9d5.entry.js +0 -1
- package/dist/components/p-2c00bd76.entry.js +0 -1
- package/dist/components/p-34a65e58.entry.js +0 -1
- package/dist/components/p-38d70586.entry.js +0 -1
- package/dist/components/p-3a7aa1eb.entry.js +0 -1
- package/dist/components/p-42d3c324.entry.js +0 -1
- package/dist/components/p-4a12a131.entry.js +0 -1
- package/dist/components/p-4b3fbd6d.entry.js +0 -1
- package/dist/components/p-4ea027ac.entry.js +0 -1
- package/dist/components/p-5980a142.entry.js +0 -1
- package/dist/components/p-599c7b97.entry.js +0 -1
- package/dist/components/p-5a2b8b6c.entry.js +0 -1
- package/dist/components/p-65703520.entry.js +0 -1
- package/dist/components/p-659ed449.entry.js +0 -1
- package/dist/components/p-6af40c33.entry.js +0 -1
- package/dist/components/p-6df9db15.entry.js +0 -1
- package/dist/components/p-759b2640.entry.js +0 -1
- package/dist/components/p-7b3b26b0.entry.js +0 -1
- package/dist/components/p-80a185ba.entry.js +0 -1
- package/dist/components/p-86fbc239.entry.js +0 -1
- package/dist/components/p-8c4a0fc9.entry.js +0 -1
- package/dist/components/p-8eab748d.js +0 -1
- package/dist/components/p-911d9b37.entry.js +0 -1
- package/dist/components/p-9579f9c2.entry.js +0 -1
- package/dist/components/p-96fe2267.entry.js +0 -1
- package/dist/components/p-9739def5.entry.js +0 -1
- package/dist/components/p-9b441a1f.entry.js +0 -1
- package/dist/components/p-a5b7d72d.entry.js +0 -1
- package/dist/components/p-a5d00633.entry.js +0 -1
- package/dist/components/p-a63bd0c9.entry.js +0 -1
- package/dist/components/p-a846dbca.entry.js +0 -1
- package/dist/components/p-a927a455.entry.js +0 -1
- package/dist/components/p-aec9b8e1.entry.js +0 -1
- package/dist/components/p-b3c1aef5.entry.js +0 -1
- package/dist/components/p-b60ed774.entry.js +0 -1
- package/dist/components/p-b67aafe7.entry.js +0 -1
- package/dist/components/p-b79999d5.entry.js +0 -1
- package/dist/components/p-b80457ed.entry.js +0 -1
- package/dist/components/p-bd43d83c.entry.js +0 -1
- package/dist/components/p-c5fa170d.entry.js +0 -1
- package/dist/components/p-c683be2c.entry.js +0 -1
- package/dist/components/p-d2a0b896.entry.js +0 -1
- package/dist/components/p-d5850ab3.entry.js +0 -1
- package/dist/components/p-de12396f.entry.js +0 -1
- package/dist/components/p-de2fbcfc.entry.js +0 -1
- package/dist/components/p-e2c250c5.entry.js +0 -1
- package/dist/components/p-e334f5bc.entry.js +0 -1
- package/dist/components/p-f1cd83da.entry.js +0 -1
- package/dist/components/p-f5dafbc8.entry.js +0 -1
- package/dist/components/p-f7493f41.entry.js +0 -1
- package/dist/components/p-fce25541.entry.js +0 -1
- package/dist/esm/eds-block-break.entry.js +0 -17
- package/dist/esm/eds-footer.entry.js +0 -37
- package/dist/esm/eds-fullscreen-menu.entry.js +0 -96
- package/dist/esm/eds-header.entry.js +0 -93
- package/dist/esm/eds-input_7.entry.js +0 -314
- package/dist/esm/eds-link.entry.js +0 -210
- package/dist/esm/eds-login.entry.js +0 -87
- package/dist/esm/eds-logo.entry.js +0 -74
- package/dist/esm/eds-navigator.entry.js +0 -39
- package/dist/esm/eds-pagination_2.entry.js +0 -381
- package/dist/esm/eds-social-networks.entry.js +0 -62
- package/dist/esm/eds-tab.entry.js +0 -36
- package/dist/esm/eds-tabs-content.entry.js +0 -129
- package/dist/types/components/eds-navigator/eds-navigator.d.ts +0 -42
- package/dist/types/components/eds-navigator/eds-navigator.stories.d.ts +0 -46
- package/dist/types/components/eds-tab/eds-tab.d.ts +0 -15
- package/dist/types/shared-ui/eds-tabs-content/eds-tabs-content.d.ts +0 -36
- package/dist/types/shared-ui/eds-tabs-content/eds-tabs-content.stories.d.ts +0 -16
- package/dist/types/shared-ui/eds-user-modal/eds-user-modal.d.ts +0 -47
- /package/dist/collection/{components → shared-ui}/eds-matomo-notice/eds-matomo-notice.css +0 -0
|
@@ -4,7 +4,7 @@ import { h } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class TokenSpacing {
|
|
6
6
|
render() {
|
|
7
|
-
return (h("div", { key: '
|
|
7
|
+
return (h("div", { key: '356476122714281daec61c548440aebde6539707', class: "w-full" }, h("ul", { key: '970f3773e8974095cc033f903f064184ce2efbf7', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '09633a00f33076131e1af2c84897fc5e427cb8fe', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '0f6fa253191124f68f38e252cbdd816b2e6a4fed', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '3ea0d517cda698486a86d84b08638e0571a83cbd', class: "spacing-sample m-32 bg-darker" }, h("span", { key: '705336858b45b26fc7949af2c06c7aa0caf06521', class: "text-white" }, "Margin: 2rem / m-32")))), h("li", { key: '0f6db988457ea76155bc8d0f7aa24a6a987b0faa', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '8eefc5b4f1c1decfb77d54b03ab3fd00a303142c', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: 'ee398d39118bf544bc6b02b4788b53f6625af2f8', class: "spacing-sample ml-64 bg-darker" }, h("span", { key: 'dfc2b6c02727298e8d307c26b00c77cbad7c741d', class: "text-white" }, "Margin Left: 4rem / ml-64")))), h("li", { key: 'f2f058f6576c56b4785675b173a5720bc8b8b5a2', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '79b1d6d5d1a5adf9168d48f21917fd5a45921d4d', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '037bc78f10b1aa70d8dd658d4d0f2f5c4689b9b4', class: "spacing-sample mt-32 bg-darker" }, h("span", { key: '44f1f4a3c85670448aa3888a28d9c977ca786f86', class: "text-white" }, "Margin Top: 2rem / mt-32")))), h("li", { key: '7c20e01a04b1d76d4dcffc14f4df75f5021ece20', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '07a56f648b690e078b21070a55a605c02347d609', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '231c4279bdae8065ef24fec89eecb78651e04611', class: "spacing-sample p-32 bg-darker" }, h("span", { key: 'a07ed52edd29aa0aa6f6b3f246f5a9c0ae01a1d7', class: "text-white" }, "Padding: 2rem / p-32")))), h("li", { key: '9d03ce15cd0d729158e95aa57cfa16ffc198d61f', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '96166a0e3ecfd6c6a66c994964fa15bee8bde642', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '5ab66866c84be4bce570f0b88893b897e9055975', class: "spacing-sample pt-32 bg-darker" }, h("span", { key: '97a396c5d1411994f85e02da470c225a61ceecc3', class: "text-white" }, "Padding Top: 2rem / pt-32")))), h("li", { key: '73e0a494873f0223be3631e317a0de839837c6c0', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: 'b6d16c13e18c51a9e458beb6a09ba8363016f78f', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '31ecca8519713956f36adeab4ec9d948366ef60c', class: "spacing-sample pl-32 bg-darker" }, h("span", { key: '5be84ed80ae0f13b350a69bced77af95ab9b9a12', class: "text-white" }, "Padding Left: 2rem / pl-32")))))));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "token-spacing"; }
|
|
10
10
|
}
|
|
@@ -5,7 +5,7 @@ import typography from "../../../../../../../../packages/assets/tokens/typograph
|
|
|
5
5
|
*/
|
|
6
6
|
export class TokenTypography {
|
|
7
7
|
render() {
|
|
8
|
-
return (h("section", { key: '
|
|
8
|
+
return (h("section", { key: 'a3e3710a2d2f37c3da3e6c1d17565ba8a2324843', class: "w-full" }, h("ul", { key: '74e72785acae0c6f507d64f5121fee1ffdab7f49', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(typography.typesets)
|
|
9
9
|
.filter(([typeKey]) => typeKey !== 'displays') // Exclude "displays"
|
|
10
10
|
.flatMap(([typeKey, typeValues]) => Object.entries(typeValues).map(([size, style]) => (h("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { class: "w-full p-4 block lg:flex items-center border border-soft rounded" }, h("div", { class: "mr-auto hidden lg:block", style: {
|
|
11
11
|
fontFamily: typography.families.sans,
|
|
@@ -28,7 +28,7 @@ export class EdsComponentsSection {
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
|
-
return h("div", { key: '
|
|
31
|
+
return h("div", { key: '69eda93b8845c5fdf5edc0f58ede763866b5f8c7', class: "container" }, this.renderContent());
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "eds-components-section"; }
|
|
34
34
|
static get properties() {
|
|
@@ -17,7 +17,7 @@ export class EdsDocsPalettes {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return h("div", { key: '
|
|
20
|
+
return h("div", { key: '80f0922a40e212252a858b019d88f104defc2632', class: "container" }, this.renderContent());
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "eds-docs-palettes"; }
|
|
23
23
|
static get properties() {
|
|
@@ -25,7 +25,7 @@ export class EdsDocsContent {
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return h("div", { key: '
|
|
28
|
+
return h("div", { key: 'cf676cf54781de4a4f8b75d174201d24d30d3538', class: "container" }, this.renderContent());
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "eds-docs-tokens"; }
|
|
31
31
|
static get properties() {
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
.bg-inverse {
|
|
2
|
+
background-color: var(--white);
|
|
3
|
+
}
|
|
4
|
+
.min-h-156 {
|
|
5
|
+
min-height: 156px;
|
|
6
|
+
}
|
|
7
|
+
.rounded {
|
|
8
|
+
border-radius: 0.25rem;
|
|
9
|
+
}
|
|
10
|
+
.rounded-full {
|
|
11
|
+
border-radius: 9999px;
|
|
12
|
+
}
|
|
13
|
+
.rounded-lg {
|
|
14
|
+
border-radius: 16px;
|
|
15
|
+
}
|
|
16
|
+
.rounded-md {
|
|
17
|
+
border-radius: 12px;
|
|
18
|
+
}
|
|
19
|
+
.border-soft {
|
|
20
|
+
border-color: rgba(0, 0, 0, .15 );
|
|
21
|
+
}
|
|
22
|
+
.border-softer {
|
|
23
|
+
border-color: rgba(0, 0, 0, .1 );
|
|
24
|
+
}
|
|
25
|
+
.border-softest {
|
|
26
|
+
border-color: rgba(0, 0, 0, .05 );
|
|
27
|
+
}
|
|
28
|
+
.effect-focus-within {
|
|
29
|
+
outline-width: 3px;
|
|
30
|
+
outline-offset: 2px;
|
|
31
|
+
outline-color: var(--green-500);
|
|
32
|
+
}
|
|
33
|
+
.effect-focus-within:focus-within {
|
|
34
|
+
outline-style: solid;
|
|
35
|
+
}
|
|
36
|
+
.relative {
|
|
37
|
+
position: relative;
|
|
38
|
+
}
|
|
39
|
+
.flex {
|
|
40
|
+
display: flex;
|
|
41
|
+
}
|
|
42
|
+
.grow {
|
|
43
|
+
flex-grow: 1;
|
|
44
|
+
}
|
|
45
|
+
.flex-col {
|
|
46
|
+
flex-direction: column;
|
|
47
|
+
}
|
|
48
|
+
.border-2 {
|
|
49
|
+
border-width: 2px;
|
|
50
|
+
}
|
|
51
|
+
.w-full {
|
|
52
|
+
width: 100%;
|
|
53
|
+
}
|
|
54
|
+
.h-full {
|
|
55
|
+
height: 100%;
|
|
56
|
+
}
|
|
57
|
+
.effect-height {
|
|
58
|
+
transition-duration: 300ms;
|
|
59
|
+
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
60
|
+
transition-property: height;
|
|
61
|
+
}
|
|
62
|
+
.items-center {
|
|
63
|
+
align-items: center;
|
|
64
|
+
}
|
|
65
|
+
.justify-between {
|
|
66
|
+
justify-content: space-between;
|
|
67
|
+
}
|
|
68
|
+
.py-8 {
|
|
69
|
+
padding-top: 0.5rem;
|
|
70
|
+
padding-bottom: 0.5rem;
|
|
71
|
+
}
|
|
72
|
+
.px-12 {
|
|
73
|
+
padding-left: 0.75rem;
|
|
74
|
+
padding-right: 0.75rem;
|
|
75
|
+
}
|
|
76
|
+
.f-ui-02 {
|
|
77
|
+
font-family: var(--f-ui-02-fontFamily);
|
|
78
|
+
font-weight: var(--f-ui-02-fontWeight);
|
|
79
|
+
font-size: var(--f-ui-02-fontSize);
|
|
80
|
+
line-height: var(--f-ui-02-lineHeight);
|
|
81
|
+
letter-spacing: var(--f-ui-02-letterSpacing);
|
|
82
|
+
}
|
|
83
|
+
.ml-auto {
|
|
84
|
+
margin-left: auto;
|
|
85
|
+
}
|
|
86
|
+
.border-t-2 {
|
|
87
|
+
border-top-width: 2px;
|
|
88
|
+
}
|
|
89
|
+
.border {
|
|
90
|
+
border: 1px solid rgba(0, 0, 0, .1 );
|
|
91
|
+
}
|
|
92
|
+
.border-2 {
|
|
93
|
+
border: 1px solid rgba(0, 0, 0, .1 );
|
|
94
|
+
}
|
|
95
|
+
.container {
|
|
96
|
+
width: calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));
|
|
97
|
+
margin-right: auto;
|
|
98
|
+
margin-left: auto;
|
|
99
|
+
}
|
|
100
|
+
.container > * {
|
|
101
|
+
--container-outer-gutter: 0;
|
|
102
|
+
--breakout-container-outer-gutter: 0;
|
|
103
|
+
}
|
|
104
|
+
.ml-8 {
|
|
105
|
+
margin-left: 0.5rem;
|
|
106
|
+
}
|
|
107
|
+
.mr-8 {
|
|
108
|
+
margin-right: 0.5rem;
|
|
109
|
+
}
|
|
110
|
+
.mt-16 {
|
|
111
|
+
margin-top: 1rem;
|
|
112
|
+
}
|
|
113
|
+
|
|
@@ -21,16 +21,37 @@ export class EdsFrame {
|
|
|
21
21
|
this.storybookUrl = undefined;
|
|
22
22
|
this.storyPath = undefined;
|
|
23
23
|
this.intent = 'strong';
|
|
24
|
-
this.tiny = false;
|
|
25
24
|
this.size = 'auto';
|
|
26
|
-
this.bg = true;
|
|
27
25
|
this.iframeError = false;
|
|
28
26
|
}
|
|
27
|
+
componentWillLoad() {
|
|
28
|
+
this.checkIframeAvailability();
|
|
29
|
+
}
|
|
30
|
+
componentDidLoad() {
|
|
31
|
+
// Emit context for each eds-link element after the component is fully loaded
|
|
32
|
+
const links = this.el.querySelectorAll('eds-link');
|
|
33
|
+
links.forEach((link) => {
|
|
34
|
+
this.emitContext(link);
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Emits a custom event called `parentContext` for a given link element.
|
|
39
|
+
* This event provides context information about the breadcrumb component.
|
|
40
|
+
*
|
|
41
|
+
* @param linkElement - The link element to which the event will be dispatched.
|
|
42
|
+
*/
|
|
43
|
+
emitContext(linkElement) {
|
|
44
|
+
const event = new CustomEvent('parentContext', {
|
|
45
|
+
detail: {
|
|
46
|
+
componentName: this.el.tagName.toLowerCase(),
|
|
47
|
+
identifier: this.frameLabel
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
linkElement.dispatchEvent(event);
|
|
51
|
+
}
|
|
29
52
|
articleClasses() {
|
|
30
53
|
return [
|
|
31
|
-
|
|
32
|
-
this.bg ? 'bg-inverse' : 'bg-default',
|
|
33
|
-
'rounded border-softer effect-focus-within relative flex grow flex-col border-2',
|
|
54
|
+
'bg-inverse min-h-156 rounded border-softer effect-focus-within relative flex grow flex-col border-2',
|
|
34
55
|
'w-full h-full'
|
|
35
56
|
].join(' ');
|
|
36
57
|
}
|
|
@@ -59,31 +80,6 @@ export class EdsFrame {
|
|
|
59
80
|
this.iframeError = true;
|
|
60
81
|
}
|
|
61
82
|
}
|
|
62
|
-
componentWillLoad() {
|
|
63
|
-
this.checkIframeAvailability();
|
|
64
|
-
}
|
|
65
|
-
componentDidLoad() {
|
|
66
|
-
// Emit context for each eds-link element after the component is fully loaded
|
|
67
|
-
const links = this.el.querySelectorAll('eds-link');
|
|
68
|
-
links.forEach((link) => {
|
|
69
|
-
this.emitContext(link);
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* Emits a custom event called `parentContext` for a given link element.
|
|
74
|
-
* This event provides context information about the breadcrumb component.
|
|
75
|
-
*
|
|
76
|
-
* @param linkElement - The link element to which the event will be dispatched.
|
|
77
|
-
*/
|
|
78
|
-
emitContext(linkElement) {
|
|
79
|
-
const event = new CustomEvent('parentContext', {
|
|
80
|
-
detail: {
|
|
81
|
-
componentName: this.el.tagName.toLowerCase(),
|
|
82
|
-
identifier: this.frameLabel
|
|
83
|
-
}
|
|
84
|
-
});
|
|
85
|
-
linkElement.dispatchEvent(event);
|
|
86
|
-
}
|
|
87
83
|
get storyLink() {
|
|
88
84
|
return `${this.storybookUrl}/?path=/story/${this.storyPath}`;
|
|
89
85
|
}
|
|
@@ -91,9 +87,20 @@ export class EdsFrame {
|
|
|
91
87
|
return `${this.storybookUrl}/iframe.html?id=${this.storyPath}&viewMode=story`;
|
|
92
88
|
}
|
|
93
89
|
render() {
|
|
94
|
-
return (h("div", { key: '
|
|
90
|
+
return (h("div", { key: 'e4b72fab30dcf1eeee6fdf3c63719599eafedb6d', class: this.articleClasses() }, h("div", { key: 'f8643db32120c14dd18b3d44ae530a83e81e59e0', class: "effect-height flex items-center justify-between py-8 px-12" }, h("span", { key: '7b40c644e142e6a6356e4d6a683b9c1c57104f5d', class: "f-ui-02" }, this.frameLabel), !this.iframeError ? (h("eds-link", { label: this.urlLabel, url: this.storyLink, intent: this.intent, class: "ml-auto", external: true, disabled: false, icon: "arrow-diagonal" })) : null), h("div", { key: '8a1fe80134dadd38d113968ad0c825a6f9426921', class: "border-softer" }, this.iframeError ? (h("div", { class: "container ml-8 mr-8 mt-16" }, this.errorMessage)) : (h("iframe", { src: this.frameSrc, width: "100%", height: this.getFrameHeight(), title: this.frameLabel, frameBorder: "0", allowFullScreen: true })))));
|
|
95
91
|
}
|
|
96
92
|
static get is() { return "eds-frame"; }
|
|
93
|
+
static get encapsulation() { return "shadow"; }
|
|
94
|
+
static get originalStyleUrls() {
|
|
95
|
+
return {
|
|
96
|
+
"$": ["eds-frame.css"]
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
static get styleUrls() {
|
|
100
|
+
return {
|
|
101
|
+
"$": ["eds-frame.css"]
|
|
102
|
+
};
|
|
103
|
+
}
|
|
97
104
|
static get properties() {
|
|
98
105
|
return {
|
|
99
106
|
"frameLabel": {
|
|
@@ -108,7 +115,7 @@ export class EdsFrame {
|
|
|
108
115
|
"optional": false,
|
|
109
116
|
"docs": {
|
|
110
117
|
"tags": [],
|
|
111
|
-
"text": ""
|
|
118
|
+
"text": "The label displayed at the top left of the frame."
|
|
112
119
|
},
|
|
113
120
|
"attribute": "frame-label",
|
|
114
121
|
"reflect": false
|
|
@@ -125,7 +132,7 @@ export class EdsFrame {
|
|
|
125
132
|
"optional": true,
|
|
126
133
|
"docs": {
|
|
127
134
|
"tags": [],
|
|
128
|
-
"text": ""
|
|
135
|
+
"text": "The label for the external link at the top right of the frame. Defaults to 'Open in Storybook'."
|
|
129
136
|
},
|
|
130
137
|
"attribute": "url-label",
|
|
131
138
|
"reflect": false,
|
|
@@ -143,7 +150,7 @@ export class EdsFrame {
|
|
|
143
150
|
"optional": true,
|
|
144
151
|
"docs": {
|
|
145
152
|
"tags": [],
|
|
146
|
-
"text": ""
|
|
153
|
+
"text": "The error message displayed if the iframe fails to load."
|
|
147
154
|
},
|
|
148
155
|
"attribute": "error-message",
|
|
149
156
|
"reflect": false,
|
|
@@ -161,7 +168,7 @@ export class EdsFrame {
|
|
|
161
168
|
"optional": false,
|
|
162
169
|
"docs": {
|
|
163
170
|
"tags": [],
|
|
164
|
-
"text": ""
|
|
171
|
+
"text": "The base URL of the Storybook instance."
|
|
165
172
|
},
|
|
166
173
|
"attribute": "storybook-url",
|
|
167
174
|
"reflect": false
|
|
@@ -178,7 +185,7 @@ export class EdsFrame {
|
|
|
178
185
|
"optional": false,
|
|
179
186
|
"docs": {
|
|
180
187
|
"tags": [],
|
|
181
|
-
"text": ""
|
|
188
|
+
"text": "The story path identifier used to generate the iframe URL."
|
|
182
189
|
},
|
|
183
190
|
"attribute": "story-path",
|
|
184
191
|
"reflect": false
|
|
@@ -187,38 +194,20 @@ export class EdsFrame {
|
|
|
187
194
|
"type": "string",
|
|
188
195
|
"mutable": false,
|
|
189
196
|
"complexType": {
|
|
190
|
-
"original": "'primary' | 'secondary' | 'tertiary' | 'ghost' | 'strong' | 'weak' | '
|
|
191
|
-
"resolved": "\"ghost\" | \"
|
|
197
|
+
"original": "'primary' | 'secondary' | 'tertiary' | 'ghost' | 'strong' | 'weak' | 'underline'",
|
|
198
|
+
"resolved": "\"ghost\" | \"primary\" | \"secondary\" | \"strong\" | \"tertiary\" | \"underline\" | \"weak\"",
|
|
192
199
|
"references": {}
|
|
193
200
|
},
|
|
194
201
|
"required": false,
|
|
195
202
|
"optional": false,
|
|
196
203
|
"docs": {
|
|
197
204
|
"tags": [],
|
|
198
|
-
"text": ""
|
|
205
|
+
"text": "The intent for styling the link (e.g., primary, secondary, tertiary, etc.)."
|
|
199
206
|
},
|
|
200
207
|
"attribute": "intent",
|
|
201
208
|
"reflect": false,
|
|
202
209
|
"defaultValue": "'strong'"
|
|
203
210
|
},
|
|
204
|
-
"tiny": {
|
|
205
|
-
"type": "boolean",
|
|
206
|
-
"mutable": false,
|
|
207
|
-
"complexType": {
|
|
208
|
-
"original": "boolean",
|
|
209
|
-
"resolved": "boolean",
|
|
210
|
-
"references": {}
|
|
211
|
-
},
|
|
212
|
-
"required": false,
|
|
213
|
-
"optional": false,
|
|
214
|
-
"docs": {
|
|
215
|
-
"tags": [],
|
|
216
|
-
"text": ""
|
|
217
|
-
},
|
|
218
|
-
"attribute": "tiny",
|
|
219
|
-
"reflect": false,
|
|
220
|
-
"defaultValue": "false"
|
|
221
|
-
},
|
|
222
211
|
"size": {
|
|
223
212
|
"type": "string",
|
|
224
213
|
"mutable": false,
|
|
@@ -231,29 +220,11 @@ export class EdsFrame {
|
|
|
231
220
|
"optional": false,
|
|
232
221
|
"docs": {
|
|
233
222
|
"tags": [],
|
|
234
|
-
"text": ""
|
|
223
|
+
"text": "The size of the frame controlling its height.\nOptions: 'auto', 'sm', 'md', 'lg', 'xl'"
|
|
235
224
|
},
|
|
236
225
|
"attribute": "size",
|
|
237
226
|
"reflect": false,
|
|
238
227
|
"defaultValue": "'auto'"
|
|
239
|
-
},
|
|
240
|
-
"bg": {
|
|
241
|
-
"type": "boolean",
|
|
242
|
-
"mutable": false,
|
|
243
|
-
"complexType": {
|
|
244
|
-
"original": "boolean",
|
|
245
|
-
"resolved": "boolean",
|
|
246
|
-
"references": {}
|
|
247
|
-
},
|
|
248
|
-
"required": false,
|
|
249
|
-
"optional": false,
|
|
250
|
-
"docs": {
|
|
251
|
-
"tags": [],
|
|
252
|
-
"text": ""
|
|
253
|
-
},
|
|
254
|
-
"attribute": "bg",
|
|
255
|
-
"reflect": false,
|
|
256
|
-
"defaultValue": "true"
|
|
257
228
|
}
|
|
258
229
|
};
|
|
259
230
|
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { html } from "lit-html";
|
|
2
|
+
export default {
|
|
3
|
+
title: 'Components/Frame',
|
|
4
|
+
component: 'eds-frame',
|
|
5
|
+
argTypes: {
|
|
6
|
+
frameLabel: {
|
|
7
|
+
control: 'text',
|
|
8
|
+
description: 'The label of the frame. This is displayed as the title.'
|
|
9
|
+
},
|
|
10
|
+
urlLabel: {
|
|
11
|
+
control: 'text',
|
|
12
|
+
description: 'The label for the URL link.'
|
|
13
|
+
},
|
|
14
|
+
storybookUrl: {
|
|
15
|
+
control: 'text',
|
|
16
|
+
description: 'The base URL for Storybook (e.g., https://gitlab-org.gitlab.io/gitlab-ui).'
|
|
17
|
+
},
|
|
18
|
+
storyPath: {
|
|
19
|
+
control: 'text',
|
|
20
|
+
description: 'The story path to display (e.g., base-card--default).'
|
|
21
|
+
},
|
|
22
|
+
size: {
|
|
23
|
+
control: { type: 'select' },
|
|
24
|
+
options: ['auto', 'sm', 'md', 'lg', 'xl'],
|
|
25
|
+
description: 'Size of the frame which controls the iframe height.'
|
|
26
|
+
},
|
|
27
|
+
intent: {
|
|
28
|
+
control: { type: 'select' },
|
|
29
|
+
options: ['primary', 'secondary', 'tertiary', 'ghost', 'strong', 'weak', 'inverse', 'underline'],
|
|
30
|
+
description: 'Intent for styling the link.'
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
const Template = ({ frameLabel, urlLabel, storybookUrl, storyPath, intent, size }) => html `
|
|
35
|
+
<eds-frame
|
|
36
|
+
frame-label=${frameLabel}
|
|
37
|
+
url-label=${urlLabel}
|
|
38
|
+
storybook-url=${storybookUrl}
|
|
39
|
+
story-path=${storyPath}
|
|
40
|
+
intent=${intent}
|
|
41
|
+
size=${size}
|
|
42
|
+
></eds-frame>
|
|
43
|
+
`;
|
|
44
|
+
export const Default = Template.bind({});
|
|
45
|
+
Default.args = {
|
|
46
|
+
frameLabel: 'Default Frame',
|
|
47
|
+
urlLabel: 'Visit Storybook',
|
|
48
|
+
storybookUrl: 'https://gitlab-org.gitlab.io/gitlab-ui',
|
|
49
|
+
storyPath: 'base-card--default',
|
|
50
|
+
intent: 'primary',
|
|
51
|
+
size: 'auto'
|
|
52
|
+
};
|
|
@@ -17,7 +17,7 @@ export class EdsLogoVariations {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return h("div", { key: '
|
|
20
|
+
return h("div", { key: '0b23fee608fcbe7059fce155bd65a0c0a4d16e07', class: "container" }, this.renderContent());
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "eds-logo-variations"; }
|
|
23
23
|
static get properties() {
|
|
@@ -25,7 +25,7 @@ export class EdsSvgRepository {
|
|
|
25
25
|
icon: { format: 'svg' },
|
|
26
26
|
name: { format: 'bold' }
|
|
27
27
|
};
|
|
28
|
-
return (h("eds-table", { key: '
|
|
28
|
+
return (h("eds-table", { key: 'e4c454638f02e043a5ad466ee95558be8723d214', data: JSON.stringify(svgData), config: JSON.stringify(tableConfig), "rows-per-page": 10, "search-enabled": true, "pagination-enabled": true, "host-width": this.hostWidth }));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "eds-svg-repository"; }
|
|
31
31
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5,7 +5,7 @@ import { vLogoMargins } from "../../../../../../../../packages/svgs/src/index";
|
|
|
5
5
|
*/
|
|
6
6
|
export class LogoSpace {
|
|
7
7
|
render() {
|
|
8
|
-
return (h("div", { key: '
|
|
8
|
+
return (h("div", { key: '99d8b66bf2f31a5563ff9872077c7c3879dc8813', class: "container my-20" }, h("div", { key: '76b8453c9d261b1b4772fc7e234b415f1ae3493b', class: "w-[300px]" }, h("div", { key: '03b7569121f1c2c1f74e1117805f754c4f548a70', class: "bg-dark" }, h("div", { key: '374de6bab6ef662acc860625a21a1002e6195b6e', class: "logo-container", innerHTML: vLogoMargins })))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "logo-space"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js
CHANGED
|
@@ -4,7 +4,7 @@ import { h } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class LogoVariationsHorizontal {
|
|
6
6
|
render() {
|
|
7
|
-
return (h("div", { key: '
|
|
7
|
+
return (h("div", { key: '5eca7ecd4f36c805e14973af64b20867b0354eba' }, h("div", { key: '3896fcc0a5a184de969d521132bcac78f9372654', class: "container my-16" }, h("h3", { key: '714d83271de13b290885b365ca911ea202aab604', class: "f-heading03" }, "Coloured Background"), h("div", { key: 'c80218b00edd13614c82e41f26316efbfd8e8b4e', class: "coloured lg:w-[500px] md:w-[300px]" }, h("eds-logo", { key: '406c7fab328969d4fa7663acda6771d8c447807b', type: "no-bg", href: "#" }))), h("div", { key: '2788972ad7f53db9f2a8ab23a458055e28c657fb', class: "container my-16" }, h("h3", { key: '1abeb7a38b87517f9fa4bed9e047dfbf3ea84aa8', class: "f-heading03" }, "Black and White Background"), h("div", { key: 'af8a7938a847e36d577dea7120e97dd9cf1b4343', class: "bg-default lg:w-[500px] md:w-[300px]" }, h("eds-logo", { key: 'b8dbc675fc435a322f1b93ab14224df17ccac7d0', type: "black", href: "#" }))), h("div", { key: 'e4068eb7d86e04c6ac3da79ef44fbc577083ecee', class: "container my-16" }, h("h3", { key: '44ffa680543f41764c478e43828c86116d3dc059', class: "f-heading03" }, "Dark Background "), h("div", { key: 'ae0c8d9dc9f563af9b756f9112847bae88d82f2f', class: "lg:w-[500px] md:w-[300px]" }, h("eds-logo", { key: '5f8d4e32308c9c7e9f285a39b9cbaf6cf4104ed6', type: "color-white", href: "#" })))));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "logo-variations-horizontal"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js
CHANGED
|
@@ -8,7 +8,7 @@ export class LogoVariationsVertical {
|
|
|
8
8
|
this.type = undefined;
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h("div", { key: '
|
|
11
|
+
return (h("div", { key: '82d99f40e7360943ca9a2df59dc8a9db4a22a83b' }, h("div", { key: '27ed1ecf7a6a161244c3b2d1c01bc5196e15caac', class: "container my-16" }, h("h3", { key: '62363c39920cefe5086a934f36dbc9a684f3984b', class: "f-heading03" }, "Coloured Background"), h("div", { key: '8577199e6f5b9c6f97afc31620513805d06e94c6', class: "coloured w-[200px]" }, h("eds-logo", { key: 'd627ea9deef5766a160e1b97f129e2b0000b1b62', orientation: "vertical", type: "no-bg", href: "#" }))), h("div", { key: '8d7565fa14e8eabd6e44295b530600ba20c24820', class: "container my-16" }, h("h3", { key: 'f071d16ed3f22bb58401c493594b8d919f9a5698', class: "f-heading03" }, "Black and White Background"), h("div", { key: 'bd6abebec1b49aed0dcf5cdafda0790b137b6b3d', class: "bg-default w-[200px]" }, h("eds-logo", { key: 'be68411a8d9e75e0c78d440635631af2f449e4cf', orientation: "vertical", type: "black", href: "#" }))), h("div", { key: '2cd4a5fb78b387bfebefeb57880d308b9e3cf96b', class: "container my-16" }, h("h3", { key: 'f74c7d823aae3ed352db73ec288b32110db9867a', class: "f-heading03" }, "Dark Background "), h("div", { key: '1a47847d582e18ca35a6b3cf76bd1e21f1dbfac2', class: "w-[200px]" }, h("eds-logo", { key: 'b35710d4795dd179a9dc0c007a2a477be3891984', orientation: "vertical", type: "color-white", href: "#" })))));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "logo-variations-vertical"; }
|
|
14
14
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5,7 +5,7 @@ import { hLogoColor } from "../../../../../../../../packages/svgs/src/index";
|
|
|
5
5
|
*/
|
|
6
6
|
export class LogoWrongUsage {
|
|
7
7
|
render() {
|
|
8
|
-
return (h("ul", { key: '
|
|
8
|
+
return (h("ul", { key: 'bc42810801b7692a7cce35d1b3d44ae70bf79db7', class: "container grid-layout gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("span", { key: '5961e3d0148ddfdb9d77c72c5cb8dd6733cdbc1c', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, h("div", { key: 'fe06a82d62bb7bedc6880991c45c099c1e4f913e', class: "example" }, h("div", { key: '3f851373000c1b0cb1ecf0c42add9eef09d7e969', class: "bg-dark " }, h("div", { key: '2cdcc5b3419e5a9bdfde2c6ebeeafe482b060808', class: "no-other-bg-color logo", innerHTML: hLogoColor })), h("p", { key: '027a7e9000a7b0e18697e1add62fb52bc340e56d', class: "f-ui-02" }, "Do not use with backgrounds that make legibility difficult"))), h("span", { key: '37821295b19c46c6bd23f75ff090f42513f2c52a', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, h("div", { key: '7f4fb4c6e94d1cfa0080bf4716d386a64cc588a6', class: "example" }, h("div", { key: '9b580db406baa9ab882042693238d96db83099b1', class: "no-other-color p-16" }, h("div", { key: '6c1b3d0668acae7f1542fddbd83444c187f8f447', class: "logo non-brand-color", innerHTML: hLogoColor })), h("p", { key: '644fb68b648f330c80ff295f9a4d74924b44e5dd', class: "f-ui-02" }, "Do not apply other colors"))), h("span", { key: '651a9bf67507fdfe1289d1afaced18bdc739313c', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, h("div", { key: '211ca59ce2d0760a752fa2fd087a43e9b61bdd9b', class: "example" }, h("div", { key: '526628247fe9587785c79bef6e16630a988a2af9', class: "bg-light p-16" }, h("div", { key: 'fd9b59d40e805902bd628a04525d27fcbe6d99b1', class: "logo distorted", innerHTML: hLogoColor })), h("p", { key: '97e0a604d08be01ac7956fe284f2325a680496d2', class: "f-ui-02" }, "Do not deform the logo"))), h("span", { key: '23cf6c4f70ededbfd3347f31adc749e4e411c5b2', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, h("div", { key: '5d1702074e065740261bb7a86ce18139c2336dd6', class: "example" }, h("div", { key: '1b0fcc5f673339bf8ac84ed317ba4c214f5f2618', class: "bg-white p-16" }, h("div", { key: '708f276b908ee858a634034a0a9d025fe3f0515d', class: "logo effects", innerHTML: hLogoColor })), h("p", { key: 'cb99b28a2154bf90565480386d8b3b67de0b76bb', class: "f-ui-02" }, "Do not apply effects"))), h("span", { key: '96f8a61f549c8e83f8a81bfba629a40eb26716a9', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, h("div", { key: 'd1cf64b340f6551e4f4a8189c355a22e95d8b3c9', class: "example" }, h("div", { key: '264fc7c03ad4b17a9631d7ede8714f4e91aec931', class: "bg-white p-16" }, h("div", { key: 'a39c949f0b7494bfc08d689e21f84303fd9f9327', class: "logo rotated", innerHTML: hLogoColor })), h("p", { key: 'e1b264ef7f8b68fd0dd0f9271d26db65c355497b', class: "f-ui-02" }, "Do not rotate the logo"))), h("span", { key: '3dada86d19486aefe9970a5555caa14e2abaad8f', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, h("div", { key: '973e204cb94bda151712b413f38e5a03df46ffdf', class: "example" }, h("div", { key: 'cc9f9d40a9736663c426a9bea6e3060a847a9be5', class: "bg-light p-16" }, h("div", { key: '60bde7eea395d1454e2f9a47535b92752430043f', class: "logo outlined", innerHTML: hLogoColor })), h("p", { key: '9469d10927d103ceb37b8b192ac220d53db06196', class: "f-ui-02" }, "Do not apply outlines"))), h("span", { key: 'a4cdf1201a61559fed04eef9c20511a242ba0306', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }), h("span", { key: '6fbc736e477be9d0952053abc687e9b08dcba324', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, h("div", { key: 'ae655c9985d173716e6c0ff62683efa887998910', class: "example" }, h("div", { key: 'd1597bb34428986cf534ec74cedfa5656b6fe1c8', class: "bg-accent p-16" }, h("div", { key: 'ed43780afc9ae3e9f85c8168f1182be9a29b36ce', class: "text-inverse", innerHTML: hLogoColor })), h("p", { key: '1232c6e2018bfc9cb6fc39d076049ce9cd949775', class: "f-ui-02" }, "Do not use the green background for the logo version of the logo with backgrounds with the same tones")))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "logo-wrong-usage"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
+
import { parseData } from "../../utils/sharedUtils";
|
|
2
3
|
/**
|
|
3
4
|
* `EdsCardSection` is a component that renders a section of cards in a customizable grid layout of 4 columns (grid-cols-4).
|
|
4
5
|
* Each card within the section can display various properties such as title, description, avatar, and additional content.
|
|
@@ -21,24 +22,7 @@ export class EdsCardSection {
|
|
|
21
22
|
* @returns {any[]} An array of parsed card objects.
|
|
22
23
|
*/
|
|
23
24
|
get parsedCards() {
|
|
24
|
-
|
|
25
|
-
if (Array.isArray(this.cards)) {
|
|
26
|
-
return this.cards;
|
|
27
|
-
}
|
|
28
|
-
if (typeof this.cards === 'object') {
|
|
29
|
-
return this.cards;
|
|
30
|
-
}
|
|
31
|
-
else if (typeof this.cards === 'string') {
|
|
32
|
-
try {
|
|
33
|
-
return JSON.parse(this.cards);
|
|
34
|
-
}
|
|
35
|
-
catch (e) {
|
|
36
|
-
// eslint-disable-next-line
|
|
37
|
-
console.error('Error parsing cards prop:', e);
|
|
38
|
-
return [];
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
return [];
|
|
25
|
+
return parseData(this.cards);
|
|
42
26
|
}
|
|
43
27
|
/**
|
|
44
28
|
* Renders the card section as a grid layout.
|
|
@@ -48,7 +32,7 @@ export class EdsCardSection {
|
|
|
48
32
|
* @returns {JSX.Element} The rendered section containing a list of cards.
|
|
49
33
|
*/
|
|
50
34
|
render() {
|
|
51
|
-
return (h("section", { key: '
|
|
35
|
+
return (h("section", { key: 'eb64be830a5a1b752fadd0a8a76be9240b70cfe8', class: "w-full" }, h("ul", { key: 'd4eb8d8492a67f7491535953e0e37172fc9e09ff', class: "grid-layout grid-cols-4 gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.parsedCards.map((card) => (h("li", { class: `grid-col-span-4 md:grid-col-span-${this.occupyCols} flex flex-col` }, h("eds-card-generic", { cardTitle: card.title, description: card.description, avatar: card.avatar, headingLevel: card.headingLevel, tags: card.tags, url: card.url, bg: card.bg, tiny: card.tiny, image: card.image, withHover: card.withHover })))))));
|
|
52
36
|
}
|
|
53
37
|
static get is() { return "eds-card-section"; }
|
|
54
38
|
static get encapsulation() { return "shadow"; }
|
|
@@ -25,7 +25,7 @@ export class EdsCookiesPreference {
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (h("div", { key: '
|
|
28
|
+
return (h("div", { key: '48f67648644ae9c8e645791ad3cbba5491866dc5' }, h("eds-link", { key: '50154721f0f44e811ebe362e18bcf8cfb77b8f64', size: "small", intent: this.intent, label: this.buttonText, onClick: () => this.toggleCookiesPopup() }), this.showMatomoNotice && h("eds-matomo-notice", { "force-show": true, key: this.noticeKey })));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "eds-cookies-preference"; }
|
|
31
31
|
static get encapsulation() { return "shadow"; }
|