@ebrains/components 0.9.1-beta → 0.9.3-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/color-primary-palette_6.cjs.entry.js +14 -14
- package/dist/cjs/components-section.cjs.entry.js +1 -1
- package/dist/cjs/components.cjs.js +1 -1
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/docs-palettes.cjs.entry.js +1 -1
- package/dist/cjs/docs-tokens.cjs.entry.js +1 -1
- package/dist/cjs/eds-accordion.cjs.entry.js +2 -2
- package/dist/cjs/eds-alert.cjs.entry.js +2 -2
- package/dist/cjs/eds-app-root.cjs.entry.js +1 -1
- package/dist/cjs/{eds-avatar_26.cjs.entry.js → eds-avatar_27.cjs.entry.js} +168 -45
- package/dist/cjs/eds-card-desc_2.cjs.entry.js +2 -2
- package/dist/cjs/eds-card-project.cjs.entry.js +1 -1
- 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-cookies-preference.cjs.entry.js +1 -1
- package/dist/cjs/eds-feedback.cjs.entry.js +1 -1
- package/dist/cjs/eds-frame.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-bookmark.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-external.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-minus.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-more.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-paper.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-plus.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-portal.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-private.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-public.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-search.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-star.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-success.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-tutorial.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-unknown.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-updown.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-login_2.cjs.entry.js +1 -1
- package/dist/cjs/eds-matomo-notice.cjs.entry.js +3 -3
- package/dist/cjs/eds-pagination_2.cjs.entry.js +5 -5
- package/dist/cjs/eds-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/eds-rating.cjs.entry.js +1 -1
- package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
- package/dist/cjs/eds-spinner.cjs.entry.js +1 -1
- package/dist/cjs/eds-switch.cjs.entry.js +2 -2
- package/dist/cjs/eds-tabs.cjs.entry.js +2 -2
- package/dist/cjs/eds-timeline.cjs.entry.js +2 -2
- package/dist/cjs/eds-toast-manager.cjs.entry.js +1 -1
- package/dist/cjs/eds-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/eds-trl.cjs.entry.js +1 -1
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/index-2f63169d.js +2 -6
- 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-variations-tabs.cjs.entry.js +1 -1
- package/dist/cjs/logo-wrong-usage.cjs.entry.js +1 -1
- package/dist/cjs/svg-repository.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-typography.cjs.entry.js +1 -1
- package/dist/collection/components/eds-accordion/eds-accordion.js +2 -2
- package/dist/collection/components/eds-alert/eds-alert.js +2 -2
- package/dist/collection/components/eds-avatar/eds-avatar.js +1 -1
- package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
- package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +7 -8
- package/dist/collection/components/eds-button/eds-button.js +1 -1
- 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-project/eds-card-project.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +1 -1
- package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
- package/dist/collection/components/eds-dropdown/eds-dropdown.js +2 -2
- 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-bookmark/eds-icon-bookmark.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-external/eds-icon-external.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-minus/eds-icon-minus.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-paper/eds-icon-paper.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.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 +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-thumbs-down/eds-icon-thumbs-down.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.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 +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 +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +2 -2
- package/dist/collection/components/eds-input-field/eds-input-field.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.css +47 -1
- package/dist/collection/components/eds-modal/eds-modal.js +52 -30
- package/dist/collection/components/eds-modal/eds-modal.stories.js +24 -15
- 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.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/eds-switch/eds-switch.js +2 -2
- package/dist/collection/components/eds-table/eds-table.js +4 -4
- package/dist/collection/components/eds-tag/eds-tag.js +1 -1
- package/dist/collection/components/eds-timeline/eds-timeline.css +12 -15
- package/dist/collection/components/eds-timeline/eds-timeline.js +1 -1
- 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/components-section/components-section.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/docs-tokens/docs-tokens.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
- package/dist/collection/eds-docs-ui/docs-palettes/docs-palettes.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -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-variations-tabs/logo-variations.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
- package/dist/collection/eds-docs-ui/svg-repository/svg-repository.js +1 -1
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +1 -1
- package/dist/collection/shared-ui/eds-footer/eds-footer.js +2 -2
- package/dist/collection/shared-ui/eds-footer/eds-footer.stories.js +16 -8
- package/dist/collection/shared-ui/eds-form/eds-form.js +3 -3
- package/dist/collection/shared-ui/eds-form/eds-form.stories.js +11 -2
- package/dist/collection/shared-ui/eds-frame/eds-frame.js +1 -1
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +1 -1
- package/dist/collection/shared-ui/eds-header/eds-header.js +5 -5
- package/dist/collection/shared-ui/eds-header/eds-header.stories.js +1 -0
- package/dist/collection/shared-ui/eds-login/eds-login.js +1 -1
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +3 -3
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.js +3 -9
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -1
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.css +26 -2
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.js +3 -3
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.stories.js +79 -0
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +12 -15
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +1 -1
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
- package/dist/collection/shared-ui/eds-user/eds-user.css +12 -15
- package/dist/collection/shared-ui/eds-user/eds-user.js +1 -1
- package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
- package/dist/components/components-section.js +1 -1
- package/dist/components/components.css +12 -15
- package/dist/components/components.esm.js +1 -1
- package/dist/components/correct-use-of-colors.js +1 -1
- package/dist/components/docs-palettes.js +1 -1
- package/dist/components/docs-tokens.js +1 -1
- package/dist/components/eds-accordion2.js +2 -2
- package/dist/components/eds-alert2.js +2 -2
- package/dist/components/eds-app-root.js +1 -1
- package/dist/components/eds-avatar2.js +1 -1
- package/dist/components/eds-block-break2.js +1 -1
- package/dist/components/eds-breadcrumb.js +7 -8
- package/dist/components/eds-button2.js +1 -1
- package/dist/components/eds-card-desc2.js +1 -1
- package/dist/components/eds-card-project.js +1 -1
- 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 -1
- package/dist/components/eds-card-wrapper.js +1 -1
- package/dist/components/eds-code-block2.js +1 -1
- package/dist/components/eds-cookies-preference.js +1 -1
- package/dist/components/eds-dropdown2.js +2 -2
- package/dist/components/eds-feedback.js +1 -1
- package/dist/components/eds-footer2.js +2 -2
- package/dist/components/eds-form.js +3 -3
- package/dist/components/eds-frame.js +1 -1
- package/dist/components/eds-fullscreen-menu.js +1 -1
- package/dist/components/eds-header.js +4 -4
- 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-bookmark.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-external.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-minus.js +1 -1
- package/dist/components/eds-icon-more.js +1 -1
- package/dist/components/eds-icon-paper.js +1 -1
- package/dist/components/eds-icon-plus.js +1 -1
- package/dist/components/eds-icon-portal.js +1 -1
- package/dist/components/eds-icon-private.js +1 -1
- package/dist/components/eds-icon-public.js +1 -1
- package/dist/components/eds-icon-search.js +1 -1
- package/dist/components/eds-icon-star.js +1 -1
- package/dist/components/eds-icon-success.js +1 -1
- package/dist/components/eds-icon-thumbs-down.js +1 -1
- package/dist/components/eds-icon-thumbs-up.js +1 -1
- package/dist/components/eds-icon-tutorial.js +1 -1
- package/dist/components/eds-icon-twitter.js +1 -1
- package/dist/components/eds-icon-unknown.js +1 -1
- package/dist/components/eds-icon-updown.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 +1 -1
- package/dist/components/eds-input-search2.js +1 -1
- package/dist/components/eds-input-select2.js +2 -2
- package/dist/components/eds-input2.js +2 -2
- package/dist/components/eds-link2.js +1 -1
- package/dist/components/eds-login2.js +1 -1
- package/dist/components/eds-logo2.js +1 -1
- package/dist/components/eds-matomo-notice2.js +3 -3
- package/dist/components/eds-modal.js +37 -15
- package/dist/components/eds-pagination2.js +1 -1
- package/dist/components/eds-progress-bar2.js +1 -1
- package/dist/components/eds-rating2.js +1 -1
- 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-spinner2.js +1 -1
- package/dist/components/eds-steps-v2.js +4 -4
- package/dist/components/eds-switch.js +2 -2
- package/dist/components/eds-table2.js +4 -4
- package/dist/components/eds-tabs.js +2 -2
- package/dist/components/eds-tag2.js +1 -1
- package/dist/components/eds-timeline.js +2 -2
- 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 +2 -2
- 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-tabs.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-4620ebf5.entry.js → p-037975af.entry.js} +1 -1
- package/dist/components/p-05549a74.entry.js +1 -0
- package/dist/components/p-05b272e5.entry.js +1 -0
- package/dist/components/p-0b99fd3c.entry.js +1 -0
- package/dist/components/p-0e378e0e.entry.js +1 -0
- package/dist/components/p-1ec25dc2.entry.js +1 -0
- package/dist/components/{p-1309a74c.entry.js → p-202f78cc.entry.js} +1 -1
- package/dist/components/{p-2c1be2bb.entry.js → p-22b76c3c.entry.js} +1 -1
- package/dist/components/p-24300934.entry.js +1 -0
- package/dist/components/p-25f1cc6c.entry.js +1 -0
- package/dist/components/{p-d94a44b9.entry.js → p-29ad9c73.entry.js} +1 -1
- package/dist/components/p-31ca07fd.entry.js +1 -0
- package/dist/components/p-342bc3d8.entry.js +1 -0
- package/dist/components/p-35068b80.entry.js +1 -0
- package/dist/components/p-3950debe.entry.js +1 -0
- package/dist/components/p-3d74d4b1.entry.js +1 -0
- package/dist/components/{p-91440d2f.entry.js → p-42f19373.entry.js} +1 -1
- package/dist/components/{p-e42eb100.entry.js → p-4ecaedbc.entry.js} +1 -1
- package/dist/components/p-5055eb25.entry.js +1 -0
- package/dist/components/{p-21a746a4.entry.js → p-55e3683c.entry.js} +1 -1
- package/dist/components/p-5646902d.entry.js +1 -0
- package/dist/components/p-5ff68e7d.entry.js +1 -0
- package/dist/components/p-63cc5d3d.entry.js +1 -0
- package/dist/components/p-6506cf52.entry.js +1 -0
- package/dist/components/{p-ea089f4e.entry.js → p-67c72c20.entry.js} +1 -1
- package/dist/components/{p-063b0683.entry.js → p-688e07d6.entry.js} +1 -1
- package/dist/components/p-6aa17003.entry.js +1 -0
- package/dist/components/p-6e273e0f.entry.js +1 -0
- package/dist/components/p-6fcb754e.entry.js +1 -0
- package/dist/components/{p-622dd2a1.entry.js → p-70c9af1e.entry.js} +1 -1
- package/dist/components/{p-18eb23ff.entry.js → p-7180a36b.entry.js} +1 -1
- package/dist/components/p-7351cad3.entry.js +1 -0
- package/dist/components/{p-4e8a317b.entry.js → p-751497f4.entry.js} +1 -1
- package/dist/components/p-75cc9f9e.entry.js +1 -0
- package/dist/components/{p-3a7be9a7.entry.js → p-75d37c48.entry.js} +1 -1
- package/dist/components/{p-c99745a8.entry.js → p-7a31c31f.entry.js} +1 -1
- package/dist/components/{p-3f480c3c.entry.js → p-7a550385.entry.js} +1 -1
- package/dist/components/{p-941240b5.entry.js → p-7ac9881e.entry.js} +1 -1
- package/dist/components/{p-e710c860.entry.js → p-7cb60f9c.entry.js} +1 -1
- package/dist/components/{p-c8abff96.entry.js → p-7db75d62.entry.js} +1 -1
- package/dist/components/p-888c3471.entry.js +1 -0
- package/dist/components/{p-cccff1e3.entry.js → p-892362e0.entry.js} +1 -1
- package/dist/components/{p-1aab55cf.entry.js → p-8a4d9b9b.entry.js} +1 -1
- package/dist/components/p-8b7f5204.entry.js +1 -0
- package/dist/components/p-8db820ef.entry.js +1 -0
- package/dist/components/{p-c86243a3.entry.js → p-aa2e6fec.entry.js} +1 -1
- package/dist/components/p-ae4f5e3a.entry.js +1 -0
- package/dist/components/p-b024183c.entry.js +1 -0
- package/dist/components/{p-0ce924b1.entry.js → p-b115c3f1.entry.js} +1 -1
- package/dist/components/p-b3a3ae59.entry.js +1 -0
- package/dist/components/p-b4595a9e.entry.js +1 -0
- package/dist/components/{p-f48a4313.entry.js → p-b817dceb.entry.js} +1 -1
- package/dist/components/p-b8ca2127.entry.js +1 -0
- package/dist/components/{p-ff7acb55.entry.js → p-ba6cc102.entry.js} +1 -1
- package/dist/components/{p-c935aa46.entry.js → p-c4db0829.entry.js} +1 -1
- package/dist/components/p-c51b5f04.entry.js +1 -0
- package/dist/components/{p-94b1f974.entry.js → p-c5a7d2b1.entry.js} +1 -1
- package/dist/components/p-c5f98369.entry.js +1 -0
- package/dist/components/p-c604063d.entry.js +1 -0
- package/dist/components/p-c9a19e93.entry.js +1 -0
- package/dist/components/p-d164a75d.entry.js +1 -0
- package/dist/components/{p-526cdc57.entry.js → p-d4c920fa.entry.js} +1 -1
- package/dist/components/p-d82cc261.entry.js +1 -0
- package/dist/components/{p-e64cd6f7.entry.js → p-d83d2815.entry.js} +1 -1
- package/dist/components/p-da6e49a9.entry.js +1 -0
- package/dist/components/{p-6dc26e53.entry.js → p-e089797c.entry.js} +1 -1
- package/dist/components/{p-9a1a6df1.entry.js → p-e2b00067.entry.js} +1 -1
- package/dist/components/p-e8a2d709.entry.js +1 -0
- package/dist/components/{p-8527ef5f.entry.js → p-ea942740.entry.js} +1 -1
- package/dist/components/p-ece20356.entry.js +1 -0
- package/dist/components/p-ed6fd4b8.entry.js +1 -0
- package/dist/components/{p-7fa88255.entry.js → p-f3822d6b.entry.js} +1 -1
- package/dist/components/p-f539febe.entry.js +1 -0
- package/dist/components/p-f7f4b247.entry.js +1 -0
- package/dist/components/p-fdbfa776.entry.js +1 -0
- package/dist/components/p-fe27f4a9.entry.js +1 -0
- package/dist/components/primary.js +1 -1
- package/dist/components/primary2.js +1 -1
- package/dist/components/secondary.js +1 -1
- package/dist/components/secondary2.js +7 -7
- package/dist/components/support.js +1 -1
- package/dist/components/support2.js +3 -3
- package/dist/components/svg-repository.js +1 -1
- 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 +14 -14
- package/dist/esm/components-section.entry.js +1 -1
- package/dist/esm/components.js +1 -1
- package/dist/esm/correct-use-of-colors.entry.js +1 -1
- package/dist/esm/docs-palettes.entry.js +1 -1
- package/dist/esm/docs-tokens.entry.js +1 -1
- package/dist/esm/eds-accordion.entry.js +2 -2
- package/dist/esm/eds-alert.entry.js +2 -2
- package/dist/esm/eds-app-root.entry.js +1 -1
- package/dist/esm/{eds-avatar_26.entry.js → eds-avatar_27.entry.js} +168 -46
- package/dist/esm/eds-card-desc_2.entry.js +2 -2
- package/dist/esm/eds-card-project.entry.js +1 -1
- 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-cookies-preference.entry.js +1 -1
- package/dist/esm/eds-feedback.entry.js +1 -1
- package/dist/esm/eds-frame.entry.js +1 -1
- package/dist/esm/eds-icon-arrow-diagonal.entry.js +1 -1
- package/dist/esm/eds-icon-arrow-right.entry.js +1 -1
- package/dist/esm/eds-icon-bluesky.entry.js +1 -1
- package/dist/esm/eds-icon-bookmark.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-external.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-minus.entry.js +1 -1
- package/dist/esm/eds-icon-more.entry.js +1 -1
- package/dist/esm/eds-icon-paper.entry.js +1 -1
- package/dist/esm/eds-icon-plus.entry.js +1 -1
- package/dist/esm/eds-icon-portal.entry.js +1 -1
- package/dist/esm/eds-icon-private.entry.js +1 -1
- package/dist/esm/eds-icon-public.entry.js +1 -1
- package/dist/esm/eds-icon-search.entry.js +1 -1
- package/dist/esm/eds-icon-star.entry.js +1 -1
- package/dist/esm/eds-icon-success.entry.js +1 -1
- package/dist/esm/eds-icon-thumbs-down.entry.js +1 -1
- package/dist/esm/eds-icon-thumbs-up.entry.js +1 -1
- package/dist/esm/eds-icon-tutorial.entry.js +1 -1
- package/dist/esm/eds-icon-twitter.entry.js +1 -1
- package/dist/esm/eds-icon-unknown.entry.js +1 -1
- package/dist/esm/eds-icon-updown.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-login_2.entry.js +1 -1
- package/dist/esm/eds-matomo-notice.entry.js +3 -3
- package/dist/esm/eds-pagination_2.entry.js +5 -5
- package/dist/esm/eds-progress-bar.entry.js +1 -1
- package/dist/esm/eds-rating.entry.js +1 -1
- package/dist/esm/eds-section-core_2.entry.js +3 -3
- package/dist/esm/eds-spinner.entry.js +1 -1
- package/dist/esm/eds-switch.entry.js +2 -2
- package/dist/esm/eds-tabs.entry.js +2 -2
- package/dist/esm/eds-timeline.entry.js +2 -2
- package/dist/esm/eds-toast-manager.entry.js +1 -1
- package/dist/esm/eds-tooltip.entry.js +1 -1
- package/dist/esm/eds-trl.entry.js +1 -1
- package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
- package/dist/esm/index-8a71b9a7.js +2 -6
- 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-variations-tabs.entry.js +1 -1
- package/dist/esm/logo-wrong-usage.entry.js +1 -1
- package/dist/esm/svg-repository.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-typography.entry.js +1 -1
- package/dist/hydrate/index.js +187 -166
- package/dist/hydrate/index.mjs +187 -166
- package/dist/stencil.config.js +1 -1
- package/dist/types/components/eds-modal/eds-modal.d.ts +12 -12
- package/dist/types/components/eds-modal/eds-modal.stories.d.ts +17 -0
- package/dist/types/components.d.ts +15 -15
- package/dist/types/shared-ui/eds-header/eds-header.d.ts +1 -1
- package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.d.ts +0 -5
- package/dist/types/shared-ui/eds-steps-v2/eds-steps-v2.stories.d.ts +48 -0
- package/package.json +1 -1
- package/dist/cjs/eds-modal.cjs.entry.js +0 -109
- package/dist/collection/shared-ui/eds-login/eds-login.stories.js +0 -37
- package/dist/components/p-0467ceb5.entry.js +0 -1
- package/dist/components/p-20b3a999.entry.js +0 -1
- package/dist/components/p-20e9ae7f.entry.js +0 -1
- package/dist/components/p-29e807f5.entry.js +0 -1
- package/dist/components/p-35ed7ebf.entry.js +0 -1
- package/dist/components/p-376b706b.entry.js +0 -1
- package/dist/components/p-3932d0af.entry.js +0 -1
- package/dist/components/p-3af94671.entry.js +0 -1
- package/dist/components/p-41e89554.entry.js +0 -1
- package/dist/components/p-435a8942.entry.js +0 -1
- package/dist/components/p-4c7852f8.entry.js +0 -1
- package/dist/components/p-52913e2e.entry.js +0 -1
- package/dist/components/p-6404e157.entry.js +0 -1
- package/dist/components/p-66bb44c9.entry.js +0 -1
- package/dist/components/p-78fa7132.entry.js +0 -1
- package/dist/components/p-7dce734a.entry.js +0 -1
- package/dist/components/p-83936521.entry.js +0 -1
- package/dist/components/p-8653bc36.entry.js +0 -1
- package/dist/components/p-8baa7e01.entry.js +0 -1
- package/dist/components/p-8e3c6c63.entry.js +0 -1
- package/dist/components/p-923f67b5.entry.js +0 -1
- package/dist/components/p-93093977.entry.js +0 -1
- package/dist/components/p-97e95520.entry.js +0 -1
- package/dist/components/p-9873ebec.entry.js +0 -1
- package/dist/components/p-9dc879c9.entry.js +0 -1
- package/dist/components/p-a1d55013.entry.js +0 -1
- package/dist/components/p-a56f0579.entry.js +0 -1
- package/dist/components/p-a8b0fe92.entry.js +0 -1
- package/dist/components/p-acc4d234.entry.js +0 -1
- package/dist/components/p-b0b37831.entry.js +0 -1
- package/dist/components/p-b299b89a.entry.js +0 -1
- package/dist/components/p-b2b46793.entry.js +0 -1
- package/dist/components/p-b76aa402.entry.js +0 -1
- package/dist/components/p-b931a634.entry.js +0 -1
- package/dist/components/p-b96fc468.entry.js +0 -1
- package/dist/components/p-bab07ba6.entry.js +0 -1
- package/dist/components/p-cd624044.entry.js +0 -1
- package/dist/components/p-cdc36ea8.entry.js +0 -1
- package/dist/components/p-d525ed36.entry.js +0 -1
- package/dist/components/p-dbcf1f0e.entry.js +0 -1
- package/dist/components/p-dcc08064.entry.js +0 -1
- package/dist/components/p-eebf7ebf.entry.js +0 -1
- package/dist/components/p-efc73304.entry.js +0 -1
- package/dist/components/p-f13e9ab1.entry.js +0 -1
- package/dist/components/p-f4ce515a.entry.js +0 -1
- package/dist/esm/eds-modal.entry.js +0 -105
- package/dist/types/shared-ui/eds-login/eds-login.stories.d.ts +0 -33
|
@@ -57,19 +57,19 @@ export class GradientSecondaryPalette {
|
|
|
57
57
|
];
|
|
58
58
|
}
|
|
59
59
|
render() {
|
|
60
|
-
return (h("div", { key: '
|
|
60
|
+
return (h("div", { key: '10c513243cdbc57d018445e4413d4a1940616be1' }, h("ul", { key: 'c28494f2db389b90b82b18663d3ff2cae3528fc7', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '9b93b139f06b5cf2bf40ea9576a16f1f95b47cef', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '32aea8893b8c109ac13bb4fa87f81fdfbb31211c', class: "effect-height flex items-center justify-between p-16", style: {
|
|
61
61
|
background: this.colors[0].background
|
|
62
|
-
} }, h("div", { key: '
|
|
62
|
+
} }, h("div", { key: '0881e06d858eb7ec8681d201abf2d6b19f89052f', class: "grid" }, h("span", { key: '9d94677102fc1ee3720b2d845038968b38143afc', class: "f-body-02" }, this.colors[0].rgb), h("span", { key: 'a11ac3d683540f396dd6a22250773d9bbc6b7c86', class: "f-body-02 w-full" }, this.colors[0].cmyk), h("eds-code-block", { key: 'aaf6227e91efb700dee4dd14a99f0f803902a348', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'aefdddab57b6f487a9b9b28bf9931b43924d7fb9', class: "grid" }, h("span", { key: '5ff736d1d6d0a6919899a58970042157970fa9df', class: "f-body-02" }, this.colors[0].pantoneC), h("span", { key: '668f276d932498e064c51637157d34c416a82c35', class: "f-body-02" }, this.colors[0].pantoneU))), h("div", { key: '8797049389313e6627574e97e609572979b16ec0', class: "effect-height flex items-center justify-between p-16", style: {
|
|
63
63
|
background: this.colors[1].background
|
|
64
|
-
} }, h("div", { key: '
|
|
64
|
+
} }, h("div", { key: '44ee397cf746e87daa52979200c270703d1bc55e', class: "grid" }, h("span", { key: '65bc43371dee383f17da6cf366520ca6499db61d', class: "f-body-02" }, this.colors[1].rgb), h("span", { key: '3afcdc449bb40583bec4a64229beb176644c6d86', class: "f-body-02 w-full" }, this.colors[1].cmyk), h("eds-code-block", { key: '9356d97b5db02857d89215ea40bd2d17917fb032', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'e4515e8ff06d5da2530754720753562fd12282a2', class: "grid" }, h("span", { key: '208101b85d06b7a9fa5c1a0d0eb470c48c55c8d6', class: "f-body-02" }, this.colors[1].pantoneC), h("span", { key: '73b9ffdae670b0977b71eb5a5540c6ca5cdf850a', class: "f-body-02" }, this.colors[1].pantoneU))))), h("eds-block-break", { key: 'a6b352c935c7c548647ec33f548f5963d3fb2771' }), h("ul", { key: 'b17a428d35de0e5fd34f93b5e5d7eea10bd97c05', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'bf11a3863db3b16410bb33b63e589f08d3ac9f10', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: 'ab6c9f7addcbcedc3686f95e4955b9e7ab14b6fc', class: "effect-height flex items-center justify-between p-16", style: {
|
|
65
65
|
background: this.colors[2].background
|
|
66
|
-
} }, h("div", { key: '
|
|
66
|
+
} }, h("div", { key: '4a1b5ad1af1f12ecf5d0e3d29af852f8c9a68c8a', class: "grid" }, h("span", { key: '3ce666f09c7de2488d94698a19ae1c51ddecbf7b', class: "f-body-02" }, this.colors[2].rgb), h("span", { key: '10301ea300f2b1a6d827bf56fd8b8e0e0cc858f6', class: "f-body-02 w-full" }, this.colors[2].cmyk), h("eds-code-block", { key: '2db903a2fe58581b0e6d7b9adc984f4320dc8a09', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'afe001eb4a52f6a05b38ffcc71d538ec22a98022', class: "grid" }, h("span", { key: '62fc31bde6e3b34327e41cd39fc80cab32faa94d', class: "f-body-02" }, this.colors[2].pantoneC), h("span", { key: '2ca52fff58fcef2660e80f2a847c45d08438f14e', class: "f-body-02" }, this.colors[2].pantoneU))), h("div", { key: '85e4a7be29033cdaf374b27ceed588c825ace64f', class: "effect-height flex items-center justify-between p-16", style: {
|
|
67
67
|
background: this.colors[3].background
|
|
68
|
-
} }, h("div", { key: '
|
|
68
|
+
} }, h("div", { key: '16193b9db41b2296de12684ac3f9274436aac1fa', class: "grid" }, h("span", { key: '809a4b38fe70a64bdd823093aeb0278b181fd9b8', class: "f-body-02" }, this.colors[3].rgb), h("span", { key: '96bd1f267b3fc2dc280a683d92bbc872ec446f6b', class: "f-body-02 w-full" }, this.colors[3].cmyk), h("eds-code-block", { key: '217931cdbd3da0f016253e61ef19e74e4df4f669', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '03b91a07130bc1d4c811759085174f794f66d143', class: "grid" }, h("span", { key: 'bdc570cfb341c90b7e89100af5034496c1b369ee', class: "f-body-02" }, this.colors[3].pantoneC), h("span", { key: 'cc10a8ba6a2cf4470bbbf16c03f513273411db4b', class: "f-body-02" }, this.colors[3].pantoneU))))), h("eds-block-break", { key: '45e15e96024ba30a44ae8fff1b1484ca036e2d89' }), h("ul", { key: 'a487cf89f96a29775770ba4a5a80019387d179bc', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '15018fc0724f6b1e62b5b37922dc924ec2fb41d8', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: 'b2b27ed4e039ab44c9514ddfc3dbe928ce0aa46b', class: "effect-height flex items-center justify-between p-16", style: {
|
|
69
69
|
background: this.colors[4].background
|
|
70
|
-
} }, h("div", { key: '
|
|
70
|
+
} }, h("div", { key: '8714548cc695018bb413d3e72ea8e580cc9bc98f', class: "grid" }, h("span", { key: '28e8f390390f82e5cbad32394e46a4606feeec6b', class: "f-body-02" }, this.colors[4].rgb), h("span", { key: '5b6f7f1ee8484f99e9421af84835ed4bf6765db4', class: "f-body-02 w-full" }, this.colors[4].cmyk), h("eds-code-block", { key: '84c6ddd8728a2a39c8863af7a6ad181f321efd7f', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '7ddccbf76753340f715d4fbfcd31bab083bf3725', class: "grid" }, h("span", { key: 'f2a84a9e46d18015b45f052dc8786ac7c1fc3bb3', class: "f-body-02" }, this.colors[4].pantoneC), h("span", { key: '741fd132025aa0c0a1da6d8a88273a1cd19aeae7', class: "f-body-02" }, this.colors[4].pantoneU))), h("div", { key: 'e0d48d68d5487c82149c90cc0e726370f0d25960', class: "effect-height flex items-center justify-between p-16", style: {
|
|
71
71
|
background: this.colors[5].background
|
|
72
|
-
} }, h("div", { key: '
|
|
72
|
+
} }, h("div", { key: '16b56121efc5527b8eb3dad7e119840102d1d390', class: "grid" }, h("span", { key: '5f326a2653de6dcc8c85ad88c5554214519fa1fd', class: "f-body-02" }, this.colors[5].rgb), h("span", { key: '1cb2c712393855e7b01bf1e083444e2c170d7b0b', class: "f-body-02 w-full" }, this.colors[5].cmyk), h("eds-code-block", { key: '6cc534503946d6aee5b562b2b1b713988df963ac', code: this.colors[5].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'd79c852afae4fbe6b360cc319b8d3bf22ce7b194', class: "grid" }, h("span", { key: 'cab85faa9f7cd31c14a15a014f8a95c39b6e631d', class: "f-body-02" }, this.colors[5].pantoneC), h("span", { key: 'ea3a9fafeee11b75663bd753c75b7cbcfdb9c5c1', class: "f-body-02" }, this.colors[5].pantoneU)))))));
|
|
73
73
|
}
|
|
74
74
|
static get is() { return "gradient-secondary-palette"; }
|
|
75
75
|
}
|
|
@@ -49,11 +49,11 @@ export class GradientSupportPalette {
|
|
|
49
49
|
];
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
|
-
return (h("ul", { key: '
|
|
52
|
+
return (h("ul", { key: '2735f6a59037973febc2ee871464146b3a12e69b', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'a861d0c4ea7545d55b8c324f916e1831e271bb47', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '93a8c04259ed46a2c520c1355efaaa2ecf0c4714', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[0].background } }, h("div", { key: '554964ca9e800dd356fcddfcc82004e7a6131d21', class: "grid" }, h("span", { key: 'e91f746f3ce067afe57835da2996804dba471ce3', class: "f-body-02" }, this.colors[0].rgb), h("span", { key: '41d7dd9aa7ec450f35ae6587b51a5d7c639cb1fa', class: "f-body-02 w-full" }, this.colors[0].cmyk), h("eds-code-block", { key: '4e0d93b261af040d0aa82c8043542a751915786f', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'f1c2c77f37d5e80b6574e68c9454cac46cd99c9f', class: "grid" }, h("span", { key: '8e216418f476d026cb59dbbdab802bb4bdf7a4e4', class: "f-body-02" }, this.colors[0].pantoneC || 'N/A'), h("span", { key: '5b978c9f6206ba4a57645dd5b107ace27be515a9', class: "f-body-02" }, this.colors[0].pantoneU || 'N/A')))), h("li", { key: '232cd30eb6c637d31f80cf8281fb434e9837e9b8', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '61a073ea3b4bc8134ad539b941a6bc1b3a914a11', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[1].background } }, h("div", { key: '22a69e75c01842e67d87126f3d34e9a19ead4ab1', class: "grid" }, h("span", { key: 'b537d9e9cb0429677656c068a0a81499d42cac30', class: "f-body-02" }, this.colors[1].rgb), h("span", { key: 'ab35b28dec337cb81ad50372e7c071c7d8f3b785', class: "f-body-02 w-full" }, this.colors[1].cmyk), h("eds-code-block", { key: 'a0bea555719eacc8f0730300ebab6ae98ea6771a', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '8458087421b893504829ed46b05ba44acb0c5f53', class: "grid" }, h("span", { key: '2ec00ee996a3184afe07c27e45e999c4740b93a1', class: "f-body-02" }, this.colors[1].pantoneC || 'N/A'), h("span", { key: '7d48ea6d5b12c6a1ced3812fdc4cb39cd3afaed4', class: "f-body-02" }, this.colors[1].pantoneU || 'N/A')))), h("li", { key: 'b2ac623c59d1dc2ab14cc2775c5b95b4d02fc72f', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '6152411685ae903a22bf9b06db18182c35bea246', class: "effect-height flex items-center justify-between p-16", style: {
|
|
53
53
|
background: this.colors[2].background
|
|
54
|
-
} }, h("div", { key: '
|
|
54
|
+
} }, h("div", { key: 'fa8fb3b382d53be84413643cb12a58b4a41202ca', class: "grid" }, h("span", { key: '026b5ed6229ef0e89636fce8643264ba47255249', class: "f-body-02" }, this.colors[2].rgb), h("span", { key: 'bc5784f779096d92229abc19c003df07ee7acf1c', class: "f-body-02 w-full" }, this.colors[2].cmyk), h("eds-code-block", { key: '76e8f012cb9d7994906e2d9ce55d7eb47c5cbd0f', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '0410c816d39550853c240894811717c427fa3dee', class: "grid" }, h("span", { key: 'b1f2869cc28a05e0c52f7bd8cec85d170d6250a7', class: "f-body-02" }, this.colors[2].pantoneC), h("span", { key: 'f53078949c7803385c6616325670143e1af08abe', class: "f-body-02" }, this.colors[2].pantoneU))), h("div", { key: '2076894246cdbcdc0557e70ef9ca857f8fb825cf', class: "effect-height flex items-center justify-between p-16", style: {
|
|
55
55
|
background: this.colors[3].background
|
|
56
|
-
} }, h("div", { key: '
|
|
56
|
+
} }, h("div", { key: '5f8b1cf3e3529c9e54185cd6bb8c1aaaa0ebc359', class: "grid" }, h("span", { key: '06f7ef3d3e164a632f2bc9c5e99642a827a79e27', class: "f-body-02" }, this.colors[3].rgb), h("span", { key: '21a313355fa68a829619d9da29000acef0509fba', class: "f-body-02 w-full" }, this.colors[3].cmyk), h("eds-code-block", { key: '859bc066d1756b9ac5f72de7fcd0b4bd3013f8f4', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '5a4ffa55b941478f5f18e764fc54421b4dd33141', class: "grid" }, h("span", { key: 'b42265cfe889bcb45270c21016134fa72ba18e5d', class: "f-body-02" }, this.colors[3].pantoneC), h("span", { key: '6b478b1526fbd5e5175f67dbb5b9e30e21dc56bb', class: "f-body-02" }, this.colors[3].pantoneU)))), h("li", { key: '7a92c596887e9c42c2c79c208ed82810b8f6a714', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: 'edcc8539e72b7497a0bb49d442774903116bf916', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[4].background } }, h("div", { key: 'a65cdaa466210da348bf54e36c4e805ae26e36fa', class: "grid" }, h("span", { key: '894bc12a1b61925db0ec12b82f2f938805b71f46', class: "f-body-02" }, this.colors[4].rgb), h("span", { key: '0b7f7cf4c514ccc4bd3c3a1f1bce75f23bbcc2cb', class: "f-body-02 w-full" }, this.colors[4].cmyk), h("eds-code-block", { key: 'bc3b15dd7eb559b10fc64b08fc6c4d7681209d3c', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '57be009b3ec863485042af43ca0dabcceb5a317b', class: "grid" }, h("span", { key: 'f7e10fda97f12f55d4756014f296e710793c38f4', class: "f-body-02" }, this.colors[4].pantoneC || 'N/A'), h("span", { key: 'e16fc4ac9a8639bda71bb814992bf6416949fd06', class: "f-body-02" }, this.colors[4].pantoneU || 'N/A'))))));
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "gradient-support-palette"; }
|
|
59
59
|
}
|
|
@@ -60,7 +60,7 @@ const red = [
|
|
|
60
60
|
*/
|
|
61
61
|
export class CorrectUseOfColors {
|
|
62
62
|
render() {
|
|
63
|
-
return (h("div", { key: '
|
|
63
|
+
return (h("div", { key: '9f7fbb8254528663d833da6bb683c2bb19e2837b', class: "container" }, h("p", { key: '71cdde5e7a803ccfbe49bfea00f208a23a10ab8d', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: 'fecaba6a82952070d3deb88cf22e335e6e0d7a08', label: "primary", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", h("eds-link", { key: '0fb583c3d4542134f921649aef5f07738e00b086', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), h("div", { key: '3bfb272e2e2d5ab823f157aa1add3511f34a4c27', class: "flex" }, h("div", { key: 'baaf45c1f7b749b6f8f4035b1c62942e320d77d3', class: "w-full" }, h("ul", { key: '7e6d1a2051e98d7af54ef7061f39edaf2c7beb0a', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, primary.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[150px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), h("div", { key: '1bf98fe26e99af8473077ac13d3d9b8c405bf1c4', class: "w-full" }, h("ul", { key: '1402fcefd163737b10c5b0d12014bc6e3fd66780', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }))))))), h("p", { key: 'b9bc90a0d0cc539349f10c51a1b3dfd19bb453ea', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: '40a8a92005d47099d518281ed61f31888169dfcd', label: "purple", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", h("eds-link", { key: '7b530b15d10ce8591b2cd42299f2d6a0b6de575e', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), h("div", { key: 'c2b1599f407579d58e36effc3d4ba0115f4fa453', class: "flex" }, h("div", { key: '514a3c8c3a04f8e5607a606bf310b6173b973ba8', class: "w-full" }, h("ul", { key: '81c56759b2aaf2153cf6150f892ba23f67b8296e', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, purple.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), h("div", { key: 'ef65f00f5fbf77af47292e570e98d465d553a03a', class: "w-full" }, h("ul", { key: '8fb9499e6c4587db8a188aad5120c1a1bd93b049', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }))))))), h("p", { key: '045fe17ef474b7d7c55ee50b183ea8e40439f034', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: '20147150cb42c6105559457d364c28b09f9ba171', label: "blue", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", h("eds-link", { key: '37093d1dda45c1c114e95533bbf560934d529e4a', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), h("div", { key: '1d53f16c58afa8f537d384434a6ac68e2d14c707', class: "flex" }, h("div", { key: 'cdd9390005122023dec3b5abcb88bf996e833c70', class: "w-full" }, h("ul", { key: 'e76d12d0b57b810c95788e9ccb0d39d4ab9ceb4e', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, blue.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), h("div", { key: '3ff4f5c0ba01b4723e8e664633f7220c9703905f', class: "w-full" }, h("ul", { key: 'f69b766d268d5e1d10972723a4ebdc5d9e0cae07', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }))))))), h("p", { key: '6591ea37bd86b328c1c55a5150f8ce44d24f8f52', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: '47110ceefffb0f391443845425d0e9d07a15e779', label: "redish", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", h("eds-link", { key: '0e034de1c3c0ea2f1c0e71f1e1a0024e6bc66d79', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), h("div", { key: '0b0d5484f0d3569bfdc529ef49af00a6c41a25ce', class: "flex" }, h("div", { key: '66e8d6d41bab4c18846885814b5a7aad6c08d240', class: "w-full" }, h("ul", { key: 'b9093c38be4aaca5045c62911cd6c789fdc12438', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, red.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), h("div", { key: 'eb682711d6439a79719062057440de519ba48ecb', class: "w-full" }, h("ul", { key: '79805bba02241029b99027dab0f9cf6673e0e1c3', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))))));
|
|
64
64
|
}
|
|
65
65
|
static get is() { return "correct-use-of-colors"; }
|
|
66
66
|
}
|
|
@@ -38,7 +38,7 @@ const incorrect = [
|
|
|
38
38
|
*/
|
|
39
39
|
export class IncorrectUseOfColors {
|
|
40
40
|
render() {
|
|
41
|
-
return (h("div", { key: '
|
|
41
|
+
return (h("div", { key: '1cfc3c78012371498476886214e85fbf6e387626', class: "container" }, h("eds-alert", { key: '33449eeae0bca270a82d32de75d5d7c54d8b8c6c', message: "Note that, each of the four colour tones cannot be mixed in the same composition.", intent: "error" }), h("div", { key: 'd436f34bf074c175c6308b822c820604a5e272bc', class: "flex" }, h("div", { key: '5f839c0f214b774f13af1499fe3e5f8485f959c5', class: "w-full" }, h("ul", { key: '5cbb81288c0e61431aed523d77f2c6d231c8ce7e', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, primary.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[150px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), h("div", { key: '3622c7c8376208843d3e59c6548e41d9ca8c2b21', class: "w-full" }, h("ul", { key: 'd74e34f45e1d377be5f1087a345dee219b1fc5a3', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, incorrect.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "incorrect-use-of-colors"; }
|
|
44
44
|
}
|
|
@@ -28,7 +28,7 @@ export class ComponentsSection {
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
|
-
return h("div", { key: '
|
|
31
|
+
return h("div", { key: 'ee1dd33b05afae12511c5876db4e8bd771117853', class: "container" }, this.renderContent());
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "components-section"; }
|
|
34
34
|
static get properties() {
|
|
@@ -25,7 +25,7 @@ export class DocsContent {
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return h("div", { key: '
|
|
28
|
+
return h("div", { key: '2d4d06ef8d68dc42280f71042322a5f3ca528564', class: "container" }, this.renderContent());
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "docs-tokens"; }
|
|
31
31
|
static get properties() {
|
|
@@ -69,7 +69,7 @@ export class TokenList {
|
|
|
69
69
|
render() {
|
|
70
70
|
// Check if `show` prop is provided; if not, display all sections
|
|
71
71
|
const sectionsToDisplay = this.show ? { [this.show]: colors[this.show] } : colors;
|
|
72
|
-
return (h("section", { key: '
|
|
72
|
+
return (h("section", { key: '61b0561443787bdc5d1fdf6db0bed0bebe8ba6cb', class: "w-full mt-28" }, Object.entries(sectionsToDisplay).map(([sectionName, sectionContent]) =>
|
|
73
73
|
// Only render sections that exist in `colors`
|
|
74
74
|
sectionContent ? this.renderSection(sectionName, sectionContent) : null)));
|
|
75
75
|
}
|
|
@@ -5,7 +5,7 @@ import radii from "../../../../../../../../packages/assets/tokens/radii"; // Adj
|
|
|
5
5
|
*/
|
|
6
6
|
export class TokenRadii {
|
|
7
7
|
render() {
|
|
8
|
-
return (h("section", { key: '
|
|
8
|
+
return (h("section", { key: 'f6e277d8d84957ad05f027a7a151f2dd0b5c6e21', class: "w-full mt-28" }, h("ul", { key: 'feeef0a573d704dc010b76fc94a5ac9a9a05f0da', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(radii).map(([key, value]) => (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-16 block lg:flex items-center justify-center text-center border-3 border-soft rounded-${key}` }, h("eds-code-block", { language: "Utility Class", code: `rounded-${key}`, class: "mx-auto min-w-[200px] sm:mb-4 sm:max-w-[200px] mr-auto" }), h("eds-code-block", { code: `border-radius:${value}`, language: "css", class: "mx-auto min-w-[200px] sm:max-w-[200px] ml-auto" }))))))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "token-radii"; }
|
|
11
11
|
}
|
|
@@ -5,7 +5,7 @@ import ratios from "../../../../../../../../packages/assets/tokens/ratios"; // A
|
|
|
5
5
|
*/
|
|
6
6
|
export class TokenRatios {
|
|
7
7
|
render() {
|
|
8
|
-
return (h("section", { key: '
|
|
8
|
+
return (h("section", { key: 'c4348ae18a2c7644f7a191aa5190ac3b98b5ccb9', class: "w-full" }, h("eds-section-core", { key: '6f148fc0c0ebbaef05761fa1a773cf026e308517', tag: "div", "section-title": "Aspect Ratios", "heading-level": "h3" }, h("ul", { key: 'eb932db069683046fcda8ea950bac277e1387c33', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(ratios).map(([key, value]) => (h("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { class: "container ratio-box flex items-center justify-center text-center border-2 border-soft", style: {
|
|
9
9
|
aspectRatio: value.replace('/', ':'), // Cast to string to resolve TypeScript error
|
|
10
10
|
width: '100%', // Full width to show the aspect ratio correctly
|
|
11
11
|
maxWidth: '300px'
|
|
@@ -5,7 +5,7 @@ import shadowTokens from "../../../../../../../../packages/assets/tokens/shadows
|
|
|
5
5
|
*/
|
|
6
6
|
export class TokenShadows {
|
|
7
7
|
render() {
|
|
8
|
-
return (h("section", { key: '
|
|
8
|
+
return (h("section", { key: '0d61c0eee38fbcffe111031da0829b3a9050bc8d', class: "w-full mt-28" }, h("ul", { key: '587c263280d086c23351c6bbeaf01f37c307ce65', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(shadowTokens).map(([category, tokens]) => Object.entries(tokens).map(([key, value]) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col items-center mt-16" }, h("div", { class: "w-full p-16 block lg:flex items-center justify-center text-center border-2 border-soft", style: { boxShadow: value } }, h("eds-code-block", { code: `${category}-${key}`, language: "Utility Class", class: "mr-auto sm:mb-4 min-w-[200px]" }), h("eds-code-block", { code: `${value}`, language: "css", class: "ml-auto min-w-[200px]" })))))))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "token-shadows"; }
|
|
11
11
|
}
|
|
@@ -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: '00ca04338f0cb9233be63327e07c2bde4fdcde82', class: "w-full" }, h("ul", { key: '0228f39058d93ca3ef569040b8e035c89c7a8df4', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '470f8a49cd45dedde63f70c6ec6f79b97000bed1', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: 'f238156d3bef14454a9f17bcbc403f5b20b2fdce', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '8815c4d93ca0c3bc757d801bb2ea951b93424ff1', class: "spacing-sample m-16 bg-strong" }, h("span", { key: 'dfbcf9555690912be569bb01dbf20c44f7cd0a31', class: "f-body-01 text-inverse" }, "Margin: 1rem / m-16")))), h("li", { key: '09764bbf15a7289d72e15096a5179c9378aad1a0', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '5f393cb3ed589009b6d12281d92f9128ef986191', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '980a9f253177cb3c9486c84baa11215222148e01', class: "spacing-sample ml-64 bg-strong" }, h("span", { key: '83bf097e6cba62e5195594968355c59f663b36e5', class: "f-body-01 text-inverse" }, "Margin Left: 4rem / ml-64")))), h("li", { key: '79b6dcfa4d469db308d116d98deda673bea35da4', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '19d5e0f7a987e5e252b7f65380caff58ee8bf900', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '6c03b5c8b9635c6786c6904c11e6d531a252c050', class: "spacing-sample mt-32 bg-strong" }, h("span", { key: '08245fe30349011f8607260ccf950eae211bb511', class: "f-body-01 text-inverse" }, "Margin Top: 2rem / mt-32")))), h("li", { key: '20e990162a6d8a6bb7c3756b471d06b0a812176e', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: 'cfb4e834829eab6dc889577b3c9686147fcc6314', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '79e124f2b2f4ae780f80187cef9d551995e1217c', class: "spacing-sample p-32 bg-strong" }, h("span", { key: '9ce890898292b81968ff5a6e10e38083cf63ab52', class: "f-body-01 text-inverse" }, "Padding: 2rem / p-32")))), h("li", { key: '34a9a0933249e75a0cf00c1ee12d55dc999ee60c', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '510d4573b38d5e9a6db1c3ef9494b9dfe1ac8e78', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '90902dd8f7ac70b377884b9ed9c8cebd3f87447d', class: "spacing-sample pt-32 bg-strong" }, h("span", { key: '6b9041a4d3d1870362a0e168a31e0e890ca3b417', class: "f-body-01 text-inverse" }, "Padding Top: 2rem / pt-32")))), h("li", { key: '6c656fd467a8df4aa2d0781ac9a5687c407bd282', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: 'e2332aa81af3e9e35dfebb4b8938acf8649240b8', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: 'ca08cc17910e818d2537cb9e4d1f4dbef68be02b', class: "spacing-sample pl-32 bg-strong" }, h("span", { key: '6efb039d88c8995fcbdf7ea31485a06f6bdd793d', class: "f-body-01 text-inverse" }, "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: '2448267dd93e815f2def0a4b711f28325d906d61', class: "w-full" }, h("ul", { key: 'ac73af17e45045d2122d54dd357f1141b3a5bad7', 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,
|
|
@@ -17,7 +17,7 @@ export class DocsPalettes {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return h("div", { key: '
|
|
20
|
+
return h("div", { key: '41ac7248f45204f420ab2954e26529577e2cb27f', class: "container" }, this.renderContent());
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "docs-palettes"; }
|
|
23
23
|
static get properties() {
|
|
@@ -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: 'ac45631802109b60cbccb09102ba1e0aa0fca3e6', class: "container" }, h("ul", { key: '8739e8d9facd30229db4f9dad4f21c1491513945', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'e5d12885d0faf35153d13e8da6d576ed421139b9', class: "grid-col-span-6 xxl:grid-col-span-3 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'f754292bf3d3f3c39773e6fced7893a79ea5eda3', class: "logo-container mx-auto w-[300px]", innerHTML: vLogoMargins })), h("li", { key: 'de9d24e26be14bb0e975ebbc3568a38cfea69420', class: "grid-col-span-6 xxl:grid-col-span-3 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'f040d91a7af79e939d3d5aa5c92d2c1527b0b2cb', class: "text-center mt-16" }, h("p", { key: '49759b744d2e71318d80712bfd3d6b19229a8a33', class: "f-body-01" }, "To ensure legibility, follow these minimum size guidelines:"), h("eds-table", { key: '54d2f4512baa60fa4c6d1bf9b96f5ee59fc32911', data: '[\n { "Media": "Print", "Landscape": "0.75 cm", "Portrait": "1.75 cm" },\n { "Media": "Web", "Landscape": "29 px", "Portrait": "50 px" }\n ]', config: '{\n "Media": { "format": "bold" }\n }' }))), h("li", { key: '060029fa1f01bca29cb7450c8be43ce0705effe3', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }))));
|
|
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: '303b9b6eaf8926bac5e0a36834fcd4f3ffbc239f', class: "container" }, h("ul", { key: '79498e5d6218fd979da5b658e083f3941811d16e', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'b7af4d1c59ae2c8fd72e4328b9789c82f2631151', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: '05ac2498be41b34c65d7c427426bd860c34a9de6', class: "f-body-01 text-center my-4" }, "#1 Coloured"), h("div", { key: 'da35b27637ff24021defda4fa7e30dd25e24b33e', class: "coloured" }, h("eds-logo", { key: '6d9df95299de4f880ef937a3aeb95f855c2db4f1', type: "no-bg", href: "#" }))), h("li", { key: '259b8e02669bee318d7f07a8b35ac12bca18c089', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: 'a7c2453fe76f06c589cf4d877a870af88dfb6e0b', class: "f-body-01 text-center my-4" }, "#2 Black & White"), h("div", { key: '0579383e0f27625c33621f239901eb2726681c4c', class: "bg-default" }, h("eds-logo", { key: 'f496baea986ebe432c2fe98576f74947df9e79dd', type: "black", href: "#" }))), h("li", { key: '7bd878285bb3145c23ee87ab31c94583be5b9bab', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: 'c769dac987be6708208de115c1578c4d477fca22', class: "f-body-01 text-center my-4" }, "#3 Dark"), h("div", { key: '793108fc4fd8119b5eefc1c14a4ffc2e11f6ccca' }, h("eds-logo", { key: '2cf9e56591026c45d4cb074ec0cc8d4dd894ed97', 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: '98119d5c92d137e01d050699991658c764e9cb1b', class: "container" }, h("ul", { key: '191909da09aefdd362d8125790a1fe07f5f93293', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '1ce2f0a7266e25e132d6f52b04f15b526787a12c', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: 'e62d64aa3747eede49fe9687a73067a8dec5b54f', class: "f-body-01 text-center my-4" }, "#1 Coloured"), h("div", { key: '7ae9e21a9684d00c9ad91ccf70173e81bf8c707a', class: "mx-auto coloured w-[300px]" }, h("eds-logo", { key: '73aeaf945b418210481fbeabf7db1d320108cbce', orientation: "vertical", type: "no-bg", href: "#" }))), h("li", { key: '45494f2903afdb8a67b9a063a547f8b166bfc22f', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: 'd1c2475c0e32aba56377211b63ba139fd1d77c68', class: "f-body-01 text-center my-4" }, "#2 Black & White"), h("div", { key: '880d39be54129b285feec50302cf31c8cc52e9d9', class: "mx-auto bg-default w-[300px]" }, h("eds-logo", { key: '17eecfd918fb83aef6820576cfb0730328f5e442', orientation: "vertical", type: "black", href: "#" }))), h("li", { key: '48b40e5870cccea3eb0260697b1caddcab6cbed0', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: '206c2b8286a9fe665a1a356ebd87082adfe5e4bf', class: "f-body-01 text-center my-4" }, "#3 Dark"), h("div", { key: '1d4b01ef162611ce1c2cc56d1ad7a44a10aacdd3', class: "mx-auto w-[300px]" }, h("eds-logo", { key: 'b6826d25f29634a7df4f51b4b66868ae06487b8b', orientation: "vertical", type: "color-white", href: "#" }))))));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "logo-variations-vertical"; }
|
|
14
14
|
static get encapsulation() { return "shadow"; }
|
|
@@ -17,7 +17,7 @@ export class LogoVariationsTabs {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return h("div", { key: '
|
|
20
|
+
return h("div", { key: 'c08e3e918cdad5cde3ccc7279faa6a0401379c4d', class: "container" }, this.renderContent());
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "logo-variations-tabs"; }
|
|
23
23
|
static get properties() {
|
|
@@ -5,7 +5,7 @@ import { hLogoColor } from "../../../../../../../../packages/svgs/src/index";
|
|
|
5
5
|
*/
|
|
6
6
|
export class LogoWrongUsage {
|
|
7
7
|
render() {
|
|
8
|
-
return (h("div", { key: '
|
|
8
|
+
return (h("div", { key: '29efde52c2dd279e53de859e2d55f13ef456fbb7', class: "container" }, h("ul", { key: '47ec32e39e00a93c9fd0ee9353d2e87a5530d937', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '0890b62f9594e3533c9373d7dd69c9a523459d2d', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: '29ab45edf20e7e5a5e09ba2b885ab728b20e03ea', class: "mx-auto no-other-bg-color logo", innerHTML: hLogoColor }), h("p", { key: '9ef9b01748e1ba30658714883b0997578c8b5e65', class: "f-ui-02 text-center" }, "Do not use with backgrounds that make legibility difficult")), h("li", { key: '86e3b5b446bec5b603a4805dfbd0178db38c9e7a', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'a4162957d768f7cc4a2ed37ea54936deb51b5139', class: "mx-auto no-other-color logo non-brand-color", innerHTML: hLogoColor }), h("p", { key: 'e191bfc6f34d3abb9932f0ee1a292a1ef2c014e4', class: "f-ui-02 text-center" }, "Do not apply other colors")), h("li", { key: '2ff5502d05c7250a96e713ae9262e196713972a0', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: '7fd6ae31c854500d409c1a7ded46701fd3594048', class: "mx-auto distorted logo", innerHTML: hLogoColor }), h("p", { key: '1ba0aa443e530fabe50a1c35424dbff92af91b26', class: "f-ui-02 text-center" }, "Do not deform the logo")), h("li", { key: 'd559f9daac4e6c9aaa4aede80674dcc8e08de6ca', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: '8a055314d4e27ff21d1cc549015c99bb9e902701', class: "mx-auto effects logo", innerHTML: hLogoColor }), h("p", { key: '89f33c8671e0fd28c5af8b043ac272bad057bb09', class: "f-ui-02 text-center" }, "Do not apply effects")), h("li", { key: 'cebc53c3b9587b6d7716024a1a918981091336d7', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: '5174d83109b26e78025e8423f7d8efb23645fcfe', class: "mx-auto rotated logo", innerHTML: hLogoColor }), h("p", { key: '11ad5211fe42aac40850750430f09fdf90ab7550', class: "f-ui-02 text-center" }, "Do not rotate the logo")), h("li", { key: 'a9d64273d612e625507e118e1eb026e46dbb2327', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: '23b94e3540210c8167250a3ea949811e38a4c54e', class: "mx-auto outlined logo", innerHTML: hLogoColor }), h("p", { key: '3540516d624e796c46ad8dde67c9894a12c46139', class: "f-ui-02 text-center" }, "Do not apply outlines")), h("li", { key: '5b727526d27d8451eaed5fdcfcbc6c5fb63d47bf', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: '3db0e0d743e3c4ea7de0d7acd9bd352bc13c884a', class: "mx-auto" }, h("div", { key: '813f12df22dc5216791bd7f830e487f7c7067a1d', class: "bg-accent p-16" }, h("div", { key: 'd0d7436a198169184ccf797fa9ab04502b629ab0', class: "text-inverse", innerHTML: hLogoColor })), h("p", { key: 'ef6e1a7df5f3d5ea40b4ea9ca39461da0413ba5c', class: "f-ui-02 text-center" }, "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"; }
|
|
@@ -25,7 +25,7 @@ export class SvgRepository {
|
|
|
25
25
|
icon: { format: 'svg' },
|
|
26
26
|
name: { format: 'bold' }
|
|
27
27
|
};
|
|
28
|
-
return (h("div", { key: '
|
|
28
|
+
return (h("div", { key: '337ffab9c7167da8c4e7300297faf0e7dd5886e0', class: "full-width" }, h("eds-table", { key: '686e28e32060b5b4f72769744569460555466bb9', "table-data": JSON.stringify(svgData), config: JSON.stringify(tableConfig), "rows-per-page": 10, "search-enabled": true, "pagination-enabled": true })));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "svg-repository"; }
|
|
31
31
|
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: 'ce716958892ee4d324efeb2399885c13d63ff0bb' }, h("eds-link", { key: 'de191023658c2f4c59144d334075d8e1f4fa6133', 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 originalStyleUrls() {
|
|
@@ -47,7 +47,7 @@ export class EdsFeedback {
|
|
|
47
47
|
this.selectedRating = e.detail;
|
|
48
48
|
}
|
|
49
49
|
render() {
|
|
50
|
-
return (h("div", { key: '
|
|
50
|
+
return (h("div", { key: 'a8cf97bdcd7957b98dfca11e178361acf667c23c', class: "grid inline" }, h("h1", { key: '231bb9f49dc6084045a392b1d93c9b4454bbf268', class: "f-heading-01 my-4" }, this.label), h("p", { key: 'a70274de05139c8ab40b5a4a2e599dc14b3d3a9f', class: "f-body-01 text-light" }, this.description), h("eds-rating", { key: '5353b7616112591240819e4b762790224a1b7cc7', "rating-type": this.type, "rating-count": this.count }), this.selectedRating > 0 && this.parsedMappings[this.selectedRating - 1] && (h("span", { key: 'e5f8f10fb052a6de080b61cf78c309a55d081576', class: "f-ui-04 text-lighter" }, this.parsedMappings[this.selectedRating - 1]))));
|
|
51
51
|
}
|
|
52
52
|
static get is() { return "eds-feedback"; }
|
|
53
53
|
static get encapsulation() { return "shadow"; }
|
|
@@ -41,9 +41,9 @@ export class EdsFooter {
|
|
|
41
41
|
* @returns {JSX.Element} The rendered JSX for the footer component.
|
|
42
42
|
*/
|
|
43
43
|
render() {
|
|
44
|
-
return (h("footer", { key: '
|
|
44
|
+
return (h("footer", { key: '2a99348e9f64c79f7b1944ace75655baebd50e3c', class: `pb-banner` }, this.social ? (h("div", { class: "border-softest border-t-2 pt-20 md:pt-28" }, h("div", { class: "container pb-20" }, h("div", { class: "grid-layout" }, h("div", { class: "grid-col-span-12 lg:grid-col-span-5" }, h("eds-social-networks", { class: "mt-28" })))))) : null, h("div", { key: '412b84850076b915f826eb7d3ff1c2d1c67a21ea', class: `border-softest ${this.social ? 'border-t-2' : ''} pb-28 pt-20 md:pt-28` }, h("div", { key: '9eadb5d7ee3dff852926ea9f21f4f579ab1517bf', class: "container flex items-center gap-20 lg:flex-nowrap" }, h("div", { key: 'f937513ea871cd6f0a4199ec604680bc739e51f8', class: "flex items-center gap-x-12" }, h("a", { key: '7c5907699897549ee2d28740ebee93cbd0e8def6', target: "_blank", rel: "noopener noreferrer", class: "effect-focus focus-visible:rounded-xs flex w-[54px] ml-0", href: "https://research-and-innovation.ec.europa.eu/funding/funding-opportunities/funding-programmes-and-open-calls/horizon-2020_en", "aria-label": "Learn about Horizon 2020 funding" }, h("eds-img", { key: '9975d54dc532c325fd87231b1985df40a2c2e945', width: 54, height: 41, src: "https://www.ebrains.eu/flags/4x3/eu.svg", alt: "European Union Flag" }))), h("div", { key: '6deeebdaef90c09f0f1ca6c8913dff6de9d7b169' }, h("div", { key: '6aaa0969bf9a6df1426ed6f6b27ba4d7800802be', class: "f-ui-04 text-light" }, h("p", { key: 'bc7eb7b7e97e4a919d677a628318c71e751cefbf' }, this.fundedBy), h("div", { key: 'd4ed7e30c1b8f8fd2a53ba4a929b002792bff6d9', class: "mt-4 flex flex-wrap gap-12 lg:flex-nowrap inline-block" }, h("span", { key: '7ac4133476c345752c725ffab175bd5d58875d3e', class: "effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline" }, "\u00A9 ", this.rightsReserved), this.enableCookiesSettings ? (h("eds-link", { label: "Cookies preferences", intent: "weak", "extra-class": "f-ui-04 ml-4 cursor-pointer effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline", onClick: () => {
|
|
45
45
|
this.toggleCookiesConsent();
|
|
46
|
-
} })) : null))), h("div", { key: '
|
|
46
|
+
} })) : null))), h("div", { key: '8b17a14ccdca13e9e60065b7dd5e904dbebc586e', class: "ml-auto pl-12" }, this.enableScrollTop ? (h("eds-button", { id: "backToTop", "aria-hidden": "true", "aria-label": "Back to Top", intent: "ghostInverse", icon: "chevron-up", onClick: this.backToTop, class: "transition-all transition duration-75 opacity-0 " })) : null)))));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "eds-footer"; }
|
|
49
49
|
static get encapsulation() { return "shadow"; }
|
|
@@ -33,12 +33,20 @@ export default {
|
|
|
33
33
|
parameters: {}
|
|
34
34
|
};
|
|
35
35
|
export const Default = {
|
|
36
|
-
render: (args) =>
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
36
|
+
render: (args) => {
|
|
37
|
+
const notice = args.enableCookiesSettings
|
|
38
|
+
? `
|
|
39
|
+
<eds-alert message="When cookies consent is enabled, please include <code>eds-matomo-notice</code> in your page"></eds-alert>`
|
|
40
|
+
: '';
|
|
41
|
+
return `
|
|
42
|
+
${notice}
|
|
43
|
+
<eds-footer
|
|
44
|
+
social="${args.social}"
|
|
45
|
+
funded-by="${args.fundedBy}"
|
|
46
|
+
rights-reserved="${args.rightsReserved}"
|
|
47
|
+
enable-scroll-top="${args.enableScrollTop}"
|
|
48
|
+
enable-cookies-settings="${args.enableCookiesSettings}"
|
|
49
|
+
></eds-footer>
|
|
50
|
+
`;
|
|
51
|
+
}
|
|
44
52
|
};
|
|
@@ -256,13 +256,13 @@ export class EdsForm {
|
|
|
256
256
|
render() {
|
|
257
257
|
const hiddenFields = this.parsedFields.filter((field) => field.type === 'hidden');
|
|
258
258
|
const otherFields = this.parsedFields.filter((field) => field.type !== 'hidden');
|
|
259
|
-
return (h("form", { key: '
|
|
259
|
+
return (h("form", { key: '90512ed881a2380f190d82f06b7bee4ae05e9ecf', ref: (el) => (this.formEl = el), autocomplete: "on", onSubmit: this.handleSubmit }, h("div", { key: '15184e8e234572b2d5bf538259eea923dce2719b' }, h("slot", { key: 'f583356adf08622d9c7a4d957cd17a70287a619c' }), hiddenFields.map((field, index) => (h("eds-input", { key: index, type: "hidden", name: field.name, value: field.value }))), otherFields.map((field, index) => {
|
|
260
260
|
var _a, _b;
|
|
261
261
|
if (!this.isFieldVisible(field)) {
|
|
262
262
|
return null;
|
|
263
263
|
}
|
|
264
|
-
return (h("eds-input-field", { key: index, name: field.name, id: `${this.name}_${field.name}`, label: field.label, value: this.values[field.name] || null, type: field.type, icon: field.icon || null, required: field.required, maxLength: field.maxlength, hint: field.hint, link: field.link, message: field.message, error: ((_a = this.errors[field.name]) === null || _a === void 0 ? void 0 : _a.length) > 0, errorMessage: (_b = this.errors[field.name]) === null || _b === void 0 ? void 0 : _b.join('<br />'), onInput: (e) => this.handleInput(e, field), onChange: (e) => this.handleChange(e, field), class: index > 0 ? 'mt-20' : '', options: field.options }));
|
|
265
|
-
})), this.formBtn && (h("div", { key: '
|
|
264
|
+
return (h("eds-input-field", { key: index, name: field.name, id: `${this.name}_${field.name}`, label: field.label, placeholder: field.placeholder, value: this.values[field.name] || null, type: field.type, icon: field.icon || null, disabled: field.disabled, required: field.required, maxLength: field.maxlength, hint: field.hint, link: field.link, message: field.message, error: ((_a = this.errors[field.name]) === null || _a === void 0 ? void 0 : _a.length) > 0, errorMessage: (_b = this.errors[field.name]) === null || _b === void 0 ? void 0 : _b.join('<br />'), onInput: (e) => this.handleInput(e, field), onChange: (e) => this.handleChange(e, field), class: index > 0 ? 'mt-20' : '', options: field.options }));
|
|
265
|
+
})), this.formBtn && (h("div", { key: 'b60ae579201c95ce875f2e576cda679226aa0402', class: "mt-20" }, h("eds-button", { key: '7d603382885467496204956b66e156ef9f5bbb4d', intent: "primary", label: this.formBtnLabel, disabled: this.isSubmitting, loading: this.isSubmitting, onClick: () => this.handleSubmit() })))));
|
|
266
266
|
}
|
|
267
267
|
static get is() { return "eds-form"; }
|
|
268
268
|
static get encapsulation() { return "shadow"; }
|
|
@@ -25,7 +25,7 @@ export const Default = Template.bind({});
|
|
|
25
25
|
Default.args = {
|
|
26
26
|
name: 'extended-form',
|
|
27
27
|
fields: [
|
|
28
|
-
{ name: 'username', label: 'Username', type: 'text', required: true, maxlength: 10 },
|
|
28
|
+
{ name: 'username', label: 'Username', type: 'text', required: true, maxlength: 10, placeholder: 'Username' },
|
|
29
29
|
{ name: 'email', label: 'Email', type: 'email', required: true },
|
|
30
30
|
{ name: 'number', label: 'Number', type: 'number', required: true },
|
|
31
31
|
{ name: 'password', label: 'Password', type: 'password', required: true, maxlength: 50 },
|
|
@@ -66,7 +66,16 @@ Default.args = {
|
|
|
66
66
|
]
|
|
67
67
|
},
|
|
68
68
|
{ name: 'newsletter', label: 'Newsletter', type: 'checkbox', value: 'subscribe', required: true },
|
|
69
|
-
{ name: 'range', label: 'Range bar', type: 'range', min: '0', max: '10', step: '1', required: true }
|
|
69
|
+
{ name: 'range', label: 'Range bar', type: 'range', min: '0', max: '10', step: '1', required: true },
|
|
70
|
+
{
|
|
71
|
+
name: 'enable-me',
|
|
72
|
+
label: "I'm disabled - enable me",
|
|
73
|
+
type: 'text',
|
|
74
|
+
required: true,
|
|
75
|
+
maxlength: 10,
|
|
76
|
+
placeholder: 'Enable me from this story input fields',
|
|
77
|
+
disabled: true
|
|
78
|
+
}
|
|
70
79
|
],
|
|
71
80
|
formBtn: true,
|
|
72
81
|
formBtnLabel: 'Validate'
|
|
@@ -84,7 +84,7 @@ export class EdsFrame {
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
render() {
|
|
87
|
-
return (h("div", { key: '
|
|
87
|
+
return (h("div", { key: '69d47526ffca56defb1e9da214c46822fa963c14', class: this.articleClasses() }, h("div", { key: 'cab7cd55b15afaa77a4f4b713c55a6776dcb6a2d', class: "effect-height flex items-center justify-between py-8 px-12" }, h("span", { key: '99b5499c4bf992cc7101d6ea6812000283a34968', class: "f-ui-02" }, this.frameLabel), !this.iframeError ? (h("eds-link", { label: this.urlLabel, url: this.url, intent: this.intent, class: "ml-auto", external: true, disabled: false, icon: "arrow-diagonal" })) : null), h("div", { key: '275490ec93896eafe8a7042b86769b1f96e8bc8f', 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 })))));
|
|
88
88
|
}
|
|
89
89
|
static get is() { return "eds-frame"; }
|
|
90
90
|
static get encapsulation() { return "shadow"; }
|