@ebrains/components 0.8.0-alpha.0 → 0.9.0-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/bookmark-c61853d9.js +18 -0
- package/dist/cjs/color-primary-palette_6.cjs.entry.js +44 -31
- package/dist/cjs/{eds-components-section.cjs.entry.js → components-section.cjs.entry.js} +22 -17
- package/dist/cjs/components.cjs.js +1 -1
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/{eds-docs-palettes.cjs.entry.js → docs-palettes.cjs.entry.js} +3 -3
- package/dist/cjs/{eds-docs-tokens.cjs.entry.js → docs-tokens.cjs.entry.js} +3 -3
- package/dist/cjs/eds-accordion.cjs.entry.js +86 -0
- package/dist/cjs/eds-app-root.cjs.entry.js +1 -1
- package/dist/cjs/{eds-accordion_17.cjs.entry.js → eds-avatar_24.cjs.entry.js} +848 -216
- package/dist/cjs/eds-card-desc_3.cjs.entry.js +1 -1
- package/dist/cjs/eds-cookies-preference.cjs.entry.js +1 -1
- package/dist/cjs/eds-feedback.cjs.entry.js +2 -2
- package/dist/cjs/eds-frame.cjs.entry.js +5 -11
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-bookmark.cjs.entry.js +18 -0
- 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 +18 -0
- 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 +18 -0
- package/dist/cjs/eds-icon-more.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-paper.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-plus.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-portal.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-private.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-public.cjs.entry.js +18 -0
- 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 +18 -0
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-unknown.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-updown.cjs.entry.js +18 -0
- 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 +23 -14
- package/dist/cjs/eds-matomo-notice.cjs.entry.js +123 -0
- package/dist/cjs/eds-modal.cjs.entry.js +6 -6
- 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 +74 -34
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/logo-space.cjs.entry.js +2 -2
- package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +4 -4
- package/dist/cjs/{eds-logo-variations.cjs.entry.js → logo-variations-tabs.cjs.entry.js} +3 -3
- package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
- package/dist/cjs/minus-1da6a98a.js +13 -0
- package/dist/cjs/paper-0d6302f6.js +17 -0
- package/dist/cjs/plus-d0e00ad0.js +14 -0
- package/dist/cjs/portal-46212559.js +20 -0
- package/dist/cjs/private-38835fe7.js +27 -0
- package/dist/cjs/public-b519b1f6.js +18 -0
- package/dist/cjs/{eds-svg-repository.cjs.entry.js → svg-repository.cjs.entry.js} +30 -29
- package/dist/cjs/token-list_3.cjs.entry.js +5 -5
- package/dist/cjs/token-ratios.cjs.entry.js +1 -1
- package/dist/cjs/token-typography.cjs.entry.js +3 -3
- package/dist/cjs/tutotial-7855df3c.js +29 -0
- package/dist/cjs/unknown-6814e551.js +24 -0
- package/dist/cjs/up-and-down-d71df67d.js +14 -0
- package/dist/collection/collection-manifest.json +16 -5
- package/dist/collection/components/eds-accordion/eds-accordion.css +6 -4
- package/dist/collection/components/eds-accordion/eds-accordion.js +1 -1
- package/dist/collection/components/eds-accordion/eds-accordion.stories.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.js +36 -0
- 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 +36 -0
- 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 +36 -0
- 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 +36 -0
- package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.js +36 -0
- 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 +36 -0
- package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.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 -21
- 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 +59 -2
- package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +4 -1
- package/dist/collection/components/eds-input-field/eds-input-field.js +37 -5
- package/dist/collection/components/eds-input-field/eds-input-field.stories.js +1 -0
- package/dist/collection/components/eds-link/eds-link.css +12 -0
- package/dist/collection/components/eds-link/eds-link.js +17 -9
- package/dist/collection/components/eds-logo/eds-logo.js +1 -1
- package/dist/collection/components/eds-modal/eds-modal.css +32 -1
- package/dist/collection/components/eds-modal/eds-modal.js +5 -5
- 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 +35 -17
- 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 +31 -18
- 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/{eds-components-section/eds-components-section.js → components-section/components-section.js} +13 -13
- package/dist/collection/eds-docs-ui/components-section/functional/angular.js +2 -0
- package/dist/collection/eds-docs-ui/components-section/functional/installation.js +2 -0
- package/dist/collection/eds-docs-ui/{functional → components-section/functional}/overview.js +2 -2
- package/dist/collection/eds-docs-ui/components-section/functional/react.js +2 -0
- package/dist/collection/eds-docs-ui/components-section/functional/usage.js +2 -0
- package/dist/collection/eds-docs-ui/components-section/functional/vue.js +2 -0
- package/dist/collection/eds-docs-ui/{eds-docs-tokens/eds-docs-tokens.js → design-tokens/docs-tokens/docs-tokens.js} +3 -3
- package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +3 -3
- 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 +3 -3
- package/dist/collection/eds-docs-ui/{eds-docs-palettes/eds-docs-palettes.js → docs-palettes/docs-palettes.js} +3 -3
- package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.css +144 -43
- 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.css +149 -68
- 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.css +158 -53
- package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
- package/dist/collection/eds-docs-ui/{eds-logo-variations/eds-logo-variations.js → logo/logo-variations-tabs/logo-variations.js} +3 -3
- package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.css +199 -169
- package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
- package/dist/collection/eds-docs-ui/{eds-svg-repository/eds-svg-repository.js → svg-repository/svg-repository.js} +5 -5
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.css +8 -0
- 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-form/eds-form.js +46 -11
- package/dist/collection/shared-ui/eds-frame/eds-frame.js +28 -31
- package/dist/collection/shared-ui/eds-frame/eds-frame.stories.js +12 -12
- package/dist/collection/shared-ui/eds-header/eds-header.js +2 -2
- package/dist/collection/shared-ui/eds-login/eds-login.js +4 -1
- 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.js +25 -13
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +35 -17
- 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 +35 -17
- 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/collection/utils/eds-form/formUtils.js +4 -34
- package/dist/components/bookmark.js +16 -0
- package/dist/components/{eds-logo-variations.d.ts → components-section.d.ts} +4 -4
- package/dist/components/{eds-components-section.js → components-section.js} +27 -22
- package/dist/components/components.css +35 -17
- package/dist/components/components.esm.js +1 -1
- package/dist/components/correct-use-of-colors.js +1 -1
- package/dist/components/{eds-svg-repository.d.ts → docs-palettes.d.ts} +4 -4
- package/dist/components/{eds-docs-palettes.js → docs-palettes.js} +8 -8
- package/dist/components/docs-tokens.d.ts +11 -0
- package/dist/components/{eds-docs-tokens.js → docs-tokens.js} +8 -8
- package/dist/components/eds-accordion2.js +2 -2
- package/dist/components/eds-app-root.js +1 -1
- package/dist/components/eds-cookies-preference.js +1 -1
- package/dist/components/eds-feedback.js +2 -2
- package/dist/components/eds-footer2.js +2 -2
- package/dist/components/eds-form.js +50 -45
- package/dist/components/eds-frame.js +7 -13
- package/dist/components/eds-header.js +2 -2
- package/dist/components/eds-icon-bluesky.js +1 -1
- package/dist/components/{eds-docs-palettes.d.ts → eds-icon-bookmark.d.ts} +4 -4
- package/dist/components/eds-icon-bookmark.js +33 -0
- 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.d.ts +11 -0
- package/dist/components/eds-icon-external.js +33 -0
- 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.d.ts +11 -0
- package/dist/components/eds-icon-minus.js +33 -0
- package/dist/components/eds-icon-more.js +1 -1
- package/dist/components/eds-icon-paper.d.ts +11 -0
- package/dist/components/eds-icon-paper.js +33 -0
- package/dist/components/eds-icon-plus.d.ts +11 -0
- package/dist/components/eds-icon-plus.js +33 -0
- package/dist/components/{eds-docs-tokens.d.ts → eds-icon-portal.d.ts} +4 -4
- package/dist/components/eds-icon-portal.js +33 -0
- package/dist/components/eds-icon-private.d.ts +11 -0
- package/dist/components/eds-icon-private.js +33 -0
- package/dist/components/eds-icon-public.d.ts +11 -0
- package/dist/components/eds-icon-public.js +33 -0
- 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.d.ts +11 -0
- package/dist/components/eds-icon-tutorial.js +33 -0
- package/dist/components/eds-icon-twitter.js +1 -1
- package/dist/components/eds-icon-unknown.d.ts +11 -0
- package/dist/components/eds-icon-unknown.js +33 -0
- package/dist/components/eds-icon-updown.d.ts +11 -0
- package/dist/components/eds-icon-updown.js +33 -0
- 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 +37 -5
- 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 +26 -3
- package/dist/components/eds-input-search2.js +1 -1
- package/dist/components/eds-input-select2.js +4 -1
- package/dist/components/eds-input2.js +3 -5
- package/dist/components/eds-link2.js +18 -10
- package/dist/components/eds-login2.js +1 -1
- package/dist/components/eds-logo2.js +1 -1
- package/dist/components/eds-modal.js +6 -6
- 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-splash-screen2.js +25 -14
- 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 +12 -18
- package/dist/components/incorrect-use-of-colors.js +1 -1
- package/dist/components/logo-space.js +69 -3
- package/dist/components/logo-variations-horizontal2.js +2 -2
- package/dist/components/logo-variations-tabs.d.ts +11 -0
- package/dist/components/{eds-logo-variations.js → logo-variations-tabs.js} +8 -8
- package/dist/components/logo-variations-vertical2.js +2 -2
- package/dist/components/logo-wrong-usage.js +2 -2
- package/dist/components/minus.js +11 -0
- package/dist/components/p-024c7937.js +1 -0
- package/dist/components/p-032f9f64.entry.js +1 -0
- package/dist/components/p-05754401.js +1 -0
- package/dist/components/{p-ceac6200.entry.js → p-058cf100.entry.js} +1 -1
- package/dist/components/p-063b0683.entry.js +1 -0
- package/dist/components/p-0ce924b1.entry.js +1 -0
- package/dist/components/p-18eb23ff.entry.js +1 -0
- package/dist/components/p-1aab55cf.entry.js +1 -0
- package/dist/components/p-1b2913c8.js +1 -0
- package/dist/components/p-1b4e9576.entry.js +1 -0
- package/dist/components/p-20b3a999.entry.js +1 -0
- package/dist/components/p-20e9ae7f.entry.js +1 -0
- package/dist/components/p-29e807f5.entry.js +1 -0
- package/dist/components/{p-d17ea8af.entry.js → p-2c1be2bb.entry.js} +1 -1
- package/dist/components/p-30a319d5.entry.js +1 -0
- package/dist/components/p-35ed7ebf.entry.js +1 -0
- package/dist/components/p-3932d0af.entry.js +1 -0
- package/dist/components/{p-4d295eb7.entry.js → p-3a7be9a7.entry.js} +1 -1
- package/dist/components/p-3af94671.entry.js +1 -0
- package/dist/components/p-41e89554.entry.js +1 -0
- package/dist/components/{p-07ba7c89.entry.js → p-424ba743.entry.js} +1 -1
- package/dist/components/p-435a8942.entry.js +1 -0
- package/dist/components/p-4c7852f8.entry.js +1 -0
- package/dist/components/p-4e8a317b.entry.js +1 -0
- package/dist/components/{p-0f73391d.entry.js → p-526cdc57.entry.js} +1 -1
- package/dist/components/p-52913e2e.entry.js +1 -0
- package/dist/components/{p-5cf480a8.entry.js → p-59d963d1.entry.js} +1 -1
- package/dist/components/p-6404e157.entry.js +1 -0
- package/dist/components/p-66bb44c9.entry.js +1 -0
- package/dist/components/p-694fc085.js +1 -0
- package/dist/components/p-6dc26e53.entry.js +1 -0
- package/dist/components/p-7198c024.js +1 -0
- package/dist/components/p-78fa7132.entry.js +1 -0
- package/dist/components/p-7dce734a.entry.js +1 -0
- package/dist/components/{p-01cb7ceb.entry.js → p-7fa88255.entry.js} +1 -1
- package/dist/components/p-83936521.entry.js +1 -0
- package/dist/components/{p-a6bf9bf8.entry.js → p-85ad681a.entry.js} +1 -1
- package/dist/components/p-8653bc36.entry.js +1 -0
- package/dist/components/p-86bb73dc.js +1 -0
- package/dist/components/p-8e3c6c63.entry.js +1 -0
- package/dist/components/p-923f67b5.entry.js +1 -0
- package/dist/components/p-93093977.entry.js +1 -0
- package/dist/components/{p-a02c5c4a.entry.js → p-941240b5.entry.js} +1 -1
- package/dist/components/p-97e95520.entry.js +1 -0
- package/dist/components/{p-4df00ba5.entry.js → p-9a1a6df1.entry.js} +1 -1
- package/dist/components/p-9dc879c9.entry.js +1 -0
- package/dist/components/p-a56f0579.entry.js +1 -0
- package/dist/components/p-a8b0fe92.entry.js +1 -0
- package/dist/components/p-acc4d234.entry.js +1 -0
- package/dist/components/p-b0b37831.entry.js +1 -0
- package/dist/components/p-b2b46793.entry.js +1 -0
- package/dist/components/p-b55b0091.entry.js +1 -0
- package/dist/components/p-b73410de.js +1 -0
- package/dist/components/p-b76aa402.entry.js +1 -0
- package/dist/components/p-b96fc468.entry.js +1 -0
- package/dist/components/p-bab07ba6.entry.js +1 -0
- package/dist/components/{p-abaf04e1.entry.js → p-bcbc7b7f.entry.js} +1 -1
- package/dist/components/p-c1e4ef92.js +1 -0
- package/dist/components/p-c8abff96.entry.js +1 -0
- package/dist/components/{p-24507e71.entry.js → p-c935aa46.entry.js} +1 -1
- package/dist/components/p-cccff1e3.entry.js +1 -0
- package/dist/components/p-cd624044.entry.js +1 -0
- package/dist/components/p-cdf19579.js +1 -0
- package/dist/components/{p-7ba154c5.entry.js → p-d525ed36.entry.js} +1 -1
- package/dist/components/p-d94a44b9.entry.js +1 -0
- package/dist/components/p-d962849c.js +1 -0
- package/dist/components/p-dbcf1f0e.entry.js +1 -0
- package/dist/components/p-dcc08064.entry.js +1 -0
- package/dist/components/{p-f2e66c82.entry.js → p-e64cd6f7.entry.js} +1 -1
- package/dist/components/p-ea089f4e.entry.js +1 -0
- package/dist/components/p-eebf7ebf.entry.js +1 -0
- package/dist/components/p-efc73304.entry.js +1 -0
- package/dist/components/p-f13e9ab1.entry.js +1 -0
- package/dist/components/p-f48a4313.entry.js +1 -0
- package/dist/components/{p-f223a835.entry.js → p-ff7acb55.entry.js} +1 -1
- package/dist/components/paper.js +15 -0
- package/dist/components/plus.js +12 -0
- package/dist/components/portal.js +18 -0
- package/dist/components/primary.js +1 -1
- package/dist/components/primary2.js +1 -1
- package/dist/components/private.js +25 -0
- package/dist/components/public.js +16 -0
- package/dist/components/secondary.js +1 -1
- package/dist/components/secondary2.js +7 -7
- package/dist/components/support.js +31 -18
- package/dist/components/support2.js +3 -3
- package/dist/components/svg-repository.d.ts +11 -0
- package/dist/components/{eds-svg-repository.js → svg-repository.js} +34 -33
- package/dist/components/token-list2.js +3 -3
- 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 +3 -3
- package/dist/components/tutotial.js +27 -0
- package/dist/components/unknown.js +22 -0
- package/dist/components/up-and-down.js +12 -0
- package/dist/esm/bookmark-c200037c.js +16 -0
- package/dist/esm/color-primary-palette_6.entry.js +44 -31
- package/dist/esm/{eds-components-section.entry.js → components-section.entry.js} +22 -17
- package/dist/esm/components.js +1 -1
- package/dist/esm/correct-use-of-colors.entry.js +1 -1
- package/dist/esm/{eds-docs-palettes.entry.js → docs-palettes.entry.js} +3 -3
- package/dist/esm/{eds-docs-tokens.entry.js → docs-tokens.entry.js} +3 -3
- package/dist/esm/eds-accordion.entry.js +82 -0
- package/dist/esm/eds-app-root.entry.js +1 -1
- package/dist/esm/{eds-accordion_17.entry.js → eds-avatar_24.entry.js} +841 -216
- package/dist/esm/eds-card-desc_3.entry.js +1 -1
- package/dist/esm/eds-cookies-preference.entry.js +1 -1
- package/dist/esm/eds-feedback.entry.js +2 -2
- package/dist/esm/eds-frame.entry.js +5 -11
- package/dist/esm/eds-icon-bluesky.entry.js +1 -1
- package/dist/esm/eds-icon-bookmark.entry.js +14 -0
- 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 +14 -0
- 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 +14 -0
- package/dist/esm/eds-icon-more.entry.js +1 -1
- package/dist/esm/eds-icon-paper.entry.js +14 -0
- package/dist/esm/eds-icon-plus.entry.js +14 -0
- package/dist/esm/eds-icon-portal.entry.js +14 -0
- package/dist/esm/eds-icon-private.entry.js +14 -0
- package/dist/esm/eds-icon-public.entry.js +14 -0
- 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 +14 -0
- package/dist/esm/eds-icon-twitter.entry.js +1 -1
- package/dist/esm/eds-icon-unknown.entry.js +14 -0
- package/dist/esm/eds-icon-updown.entry.js +14 -0
- 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 +23 -14
- package/dist/esm/eds-matomo-notice.entry.js +119 -0
- package/dist/esm/eds-modal.entry.js +6 -6
- 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 +74 -34
- package/dist/esm/loader.js +1 -1
- package/dist/esm/logo-space.entry.js +2 -2
- package/dist/esm/logo-variations-horizontal_2.entry.js +4 -4
- package/dist/esm/{eds-logo-variations.entry.js → logo-variations-tabs.entry.js} +3 -3
- package/dist/esm/logo-wrong-usage.entry.js +2 -2
- package/dist/esm/minus-b30a7c71.js +11 -0
- package/dist/esm/paper-8e74ea31.js +15 -0
- package/dist/esm/plus-89c07be2.js +12 -0
- package/dist/esm/portal-d6c8ce56.js +18 -0
- package/dist/esm/private-1c25ff8e.js +25 -0
- package/dist/esm/public-d4d8c585.js +16 -0
- package/dist/esm/{eds-svg-repository.entry.js → svg-repository.entry.js} +29 -28
- package/dist/esm/token-list_3.entry.js +5 -5
- package/dist/esm/token-ratios.entry.js +1 -1
- package/dist/esm/token-typography.entry.js +3 -3
- package/dist/esm/tutotial-150ee1fd.js +27 -0
- package/dist/esm/unknown-ed01a24c.js +22 -0
- package/dist/esm/up-and-down-d747abee.js +12 -0
- package/dist/hydrate/index.js +1122 -609
- package/dist/hydrate/index.mjs +1122 -609
- package/dist/stencil.config.js +1 -1
- package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/lib/svgs.d.ts +11 -1
- package/dist/types/components/eds-accordion/eds-accordion.stories.d.ts +1 -1
- package/dist/types/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.d.ts +10 -0
- package/dist/types/components/eds-icons/eds-icon-external/eds-icon-external.d.ts +10 -0
- package/dist/types/components/eds-icons/eds-icon-minus/eds-icon-minus.d.ts +10 -0
- package/dist/types/components/eds-icons/eds-icon-paper/eds-icon-paper.d.ts +10 -0
- package/dist/types/components/eds-icons/eds-icon-plus/eds-icon-plus.d.ts +10 -0
- package/dist/types/components/eds-icons/eds-icon-portal/eds-icon-portal.d.ts +10 -0
- package/dist/types/components/eds-icons/eds-icon-private/eds-icon-private.d.ts +10 -0
- package/dist/types/components/eds-icons/eds-icon-public/eds-icon-public.d.ts +10 -0
- package/dist/types/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.d.ts +10 -0
- package/dist/types/components/eds-icons/eds-icon-unknown/eds-icon-unknown.d.ts +10 -0
- package/dist/types/components/eds-icons/eds-icon-updown/eds-icon-updown.d.ts +10 -0
- package/dist/types/components/eds-input-elements/eds-input/eds-input.d.ts +0 -2
- package/dist/types/components/eds-input-elements/eds-input-range/eds-input-range.d.ts +12 -0
- package/dist/types/components/eds-input-field/eds-input-field.d.ts +3 -0
- package/dist/types/components.d.ts +364 -173
- package/dist/types/eds-docs-ui/colors/color-palette/support.d.ts +1 -0
- package/dist/types/eds-docs-ui/{eds-logo-variations/eds-logo-variations.d.ts → components-section/components-section.d.ts} +1 -1
- package/dist/types/eds-docs-ui/components-section/functional/angular.d.ts +2 -0
- package/dist/types/eds-docs-ui/components-section/functional/installation.d.ts +2 -0
- package/dist/types/eds-docs-ui/components-section/functional/overview.d.ts +2 -0
- package/dist/types/eds-docs-ui/components-section/functional/react.d.ts +2 -0
- package/dist/types/eds-docs-ui/components-section/functional/usage.d.ts +2 -0
- package/dist/types/eds-docs-ui/components-section/functional/vue.d.ts +2 -0
- package/dist/types/eds-docs-ui/{eds-docs-tokens/eds-docs-tokens.d.ts → design-tokens/docs-tokens/docs-tokens.d.ts} +1 -1
- package/dist/types/eds-docs-ui/{eds-docs-palettes/eds-docs-palettes.d.ts → docs-palettes/docs-palettes.d.ts} +1 -1
- package/dist/types/eds-docs-ui/{eds-components-section/eds-components-section.d.ts → logo/logo-variations-tabs/logo-variations.d.ts} +1 -1
- package/dist/types/eds-docs-ui/{eds-svg-repository/eds-svg-repository.d.ts → svg-repository/svg-repository.d.ts} +1 -1
- package/dist/types/shared-ui/eds-form/eds-form.d.ts +1 -0
- package/dist/types/shared-ui/eds-frame/eds-frame.d.ts +10 -9
- package/dist/types/shared-ui/eds-frame/eds-frame.stories.d.ts +3 -3
- package/dist/types/shared-ui/eds-login/eds-login.d.ts +3 -0
- package/dist/types/shared-ui/eds-splash-screen/eds-splash-screen.d.ts +2 -0
- package/dist/types/utils/eds-form/formUtils.d.ts +1 -1
- package/package.json +4 -4
- package/README.md +0 -370
- package/dist/cjs/eds-form.cjs.entry.js +0 -409
- package/dist/cjs/eds-input_7.cjs.entry.js +0 -357
- package/dist/cjs/token-spacing.cjs.entry.js +0 -16
- package/dist/collection/eds-docs-ui/functional/angular.js +0 -2
- package/dist/collection/eds-docs-ui/functional/installation.js +0 -2
- package/dist/collection/eds-docs-ui/functional/react.js +0 -2
- package/dist/collection/eds-docs-ui/functional/usage.js +0 -2
- package/dist/collection/eds-docs-ui/functional/vue.js +0 -2
- package/dist/components/eds-components-section.d.ts +0 -11
- package/dist/components/p-03a38eab.entry.js +0 -1
- package/dist/components/p-05d8fdc3.entry.js +0 -1
- package/dist/components/p-0918a2e2.entry.js +0 -1
- package/dist/components/p-096d3274.entry.js +0 -1
- package/dist/components/p-10a318e0.entry.js +0 -1
- package/dist/components/p-16e0b902.entry.js +0 -1
- package/dist/components/p-18e10983.entry.js +0 -1
- package/dist/components/p-215f3b21.entry.js +0 -1
- package/dist/components/p-30075622.entry.js +0 -1
- package/dist/components/p-32a7f571.entry.js +0 -1
- package/dist/components/p-3f0fd469.entry.js +0 -1
- package/dist/components/p-4675ac16.entry.js +0 -1
- package/dist/components/p-46c9a35e.entry.js +0 -1
- package/dist/components/p-4aefc66e.entry.js +0 -1
- package/dist/components/p-4bcf6077.entry.js +0 -1
- package/dist/components/p-5d26f527.entry.js +0 -1
- package/dist/components/p-64f6f07e.entry.js +0 -1
- package/dist/components/p-69e5af42.entry.js +0 -1
- package/dist/components/p-6a73ac42.entry.js +0 -1
- package/dist/components/p-70201ae6.entry.js +0 -1
- package/dist/components/p-7ba4ca15.entry.js +0 -1
- package/dist/components/p-84faf1b3.entry.js +0 -1
- package/dist/components/p-8803ecf9.entry.js +0 -1
- package/dist/components/p-8cf4ee6e.entry.js +0 -1
- package/dist/components/p-9e2a0f5a.entry.js +0 -1
- package/dist/components/p-9f4ad4e4.entry.js +0 -1
- package/dist/components/p-a0abe772.entry.js +0 -1
- package/dist/components/p-ae60f98b.entry.js +0 -1
- package/dist/components/p-b2f0f40b.entry.js +0 -1
- package/dist/components/p-b4332c34.entry.js +0 -1
- package/dist/components/p-cee891dc.entry.js +0 -1
- package/dist/components/p-d06faa08.entry.js +0 -1
- package/dist/components/p-d2159cc9.entry.js +0 -1
- package/dist/components/p-d895d036.entry.js +0 -1
- package/dist/components/p-db970de6.entry.js +0 -1
- package/dist/components/p-e343cd31.entry.js +0 -1
- package/dist/components/p-e3811d4b.entry.js +0 -1
- package/dist/components/p-e8bd6106.entry.js +0 -1
- package/dist/components/p-e96a5c8e.entry.js +0 -1
- package/dist/components/p-fec4cba7.entry.js +0 -1
- package/dist/esm/eds-form.entry.js +0 -405
- package/dist/esm/eds-input_7.entry.js +0 -347
- package/dist/esm/token-spacing.entry.js +0 -12
- package/dist/types/eds-docs-ui/functional/angular.d.ts +0 -2
- package/dist/types/eds-docs-ui/functional/installation.d.ts +0 -2
- package/dist/types/eds-docs-ui/functional/overview.d.ts +0 -2
- package/dist/types/eds-docs-ui/functional/react.d.ts +0 -2
- package/dist/types/eds-docs-ui/functional/usage.d.ts +0 -2
- package/dist/types/eds-docs-ui/functional/vue.d.ts +0 -2
- /package/dist/collection/eds-docs-ui/{eds-svg-repository/eds-svg-repository.css → svg-repository/svg-repository.css} +0 -0
|
@@ -6282,8 +6282,8 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
6282
6282
|
.m-0 {
|
|
6283
6283
|
margin: 0rem;
|
|
6284
6284
|
}
|
|
6285
|
-
.m-
|
|
6286
|
-
margin:
|
|
6285
|
+
.m-16 {
|
|
6286
|
+
margin: 1rem;
|
|
6287
6287
|
}
|
|
6288
6288
|
.mx-auto {
|
|
6289
6289
|
margin-left: auto;
|
|
@@ -6311,6 +6311,9 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
6311
6311
|
.-mr-16 {
|
|
6312
6312
|
margin-right: -1rem;
|
|
6313
6313
|
}
|
|
6314
|
+
.-mr-4 {
|
|
6315
|
+
margin-right: -0.25rem;
|
|
6316
|
+
}
|
|
6314
6317
|
.mb-10 {
|
|
6315
6318
|
margin-bottom: 0.625rem;
|
|
6316
6319
|
}
|
|
@@ -6500,6 +6503,9 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
6500
6503
|
.h-full {
|
|
6501
6504
|
height: 100%;
|
|
6502
6505
|
}
|
|
6506
|
+
.\!min-h-0 {
|
|
6507
|
+
min-height: 0rem !important;
|
|
6508
|
+
}
|
|
6503
6509
|
.\!min-h-20 {
|
|
6504
6510
|
min-height: 1.25rem !important;
|
|
6505
6511
|
}
|
|
@@ -6617,11 +6623,6 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
6617
6623
|
.resize {
|
|
6618
6624
|
resize: both;
|
|
6619
6625
|
}
|
|
6620
|
-
.appearance-none {
|
|
6621
|
-
-webkit-appearance: none;
|
|
6622
|
-
-moz-appearance: none;
|
|
6623
|
-
appearance: none;
|
|
6624
|
-
}
|
|
6625
6626
|
.grid-cols-1 {
|
|
6626
6627
|
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
6627
6628
|
}
|
|
@@ -7037,10 +7038,6 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
7037
7038
|
padding-left: 0.25rem;
|
|
7038
7039
|
padding-right: 0.25rem;
|
|
7039
7040
|
}
|
|
7040
|
-
.px-6 {
|
|
7041
|
-
padding-left: 0.375rem;
|
|
7042
|
-
padding-right: 0.375rem;
|
|
7043
|
-
}
|
|
7044
7041
|
.py-1 {
|
|
7045
7042
|
padding-top: 0.0625rem;
|
|
7046
7043
|
padding-bottom: 0.0625rem;
|
|
@@ -7129,6 +7126,9 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
7129
7126
|
.pt-32 {
|
|
7130
7127
|
padding-top: 2rem;
|
|
7131
7128
|
}
|
|
7129
|
+
.pt-4 {
|
|
7130
|
+
padding-top: 0.25rem;
|
|
7131
|
+
}
|
|
7132
7132
|
.pt-48 {
|
|
7133
7133
|
padding-top: 3rem;
|
|
7134
7134
|
}
|
|
@@ -7377,6 +7377,10 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
7377
7377
|
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
7378
7378
|
}
|
|
7379
7379
|
@media (min-width: 750px) {
|
|
7380
|
+
.md\:grid-col-span-3 {
|
|
7381
|
+
--container-grid-columns: 3;
|
|
7382
|
+
grid-column: span 3 / span 3;
|
|
7383
|
+
}
|
|
7380
7384
|
.md\:grid-col-span-4 {
|
|
7381
7385
|
--container-grid-columns: 4;
|
|
7382
7386
|
grid-column: span 4 / span 4;
|
|
@@ -7387,6 +7391,10 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
7387
7391
|
}
|
|
7388
7392
|
}
|
|
7389
7393
|
@media (min-width: 900px) {
|
|
7394
|
+
.lg\:grid-col-span-3 {
|
|
7395
|
+
--container-grid-columns: 3;
|
|
7396
|
+
grid-column: span 3 / span 3;
|
|
7397
|
+
}
|
|
7390
7398
|
.lg\:grid-col-span-5 {
|
|
7391
7399
|
--container-grid-columns: 5;
|
|
7392
7400
|
grid-column: span 5 / span 5;
|
|
@@ -7399,6 +7407,22 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
7399
7407
|
grid-column-start: 7;
|
|
7400
7408
|
}
|
|
7401
7409
|
}
|
|
7410
|
+
@media (min-width: 1024px) {
|
|
7411
|
+
.xl\:grid-col-span-3 {
|
|
7412
|
+
--container-grid-columns: 3;
|
|
7413
|
+
grid-column: span 3 / span 3;
|
|
7414
|
+
}
|
|
7415
|
+
}
|
|
7416
|
+
@media (min-width: 1280px) {
|
|
7417
|
+
.xxl\:grid-col-span-2 {
|
|
7418
|
+
--container-grid-columns: 2;
|
|
7419
|
+
grid-column: span 2 / span 2;
|
|
7420
|
+
}
|
|
7421
|
+
.xxl\:grid-col-span-3 {
|
|
7422
|
+
--container-grid-columns: 3;
|
|
7423
|
+
grid-column: span 3 / span 3;
|
|
7424
|
+
}
|
|
7425
|
+
}
|
|
7402
7426
|
.even\:bg-inverse-softer:nth-child(even) {
|
|
7403
7427
|
background-color: rgba(255, 255, 255, .15);
|
|
7404
7428
|
}
|
|
@@ -7675,9 +7699,6 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
7675
7699
|
.md\:hidden {
|
|
7676
7700
|
display: none;
|
|
7677
7701
|
}
|
|
7678
|
-
.md\:w-\[300px\] {
|
|
7679
|
-
width: 300px;
|
|
7680
|
-
}
|
|
7681
7702
|
.md\:-translate-x-1\/2 {
|
|
7682
7703
|
--tw-translate-x: -50%;
|
|
7683
7704
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
@@ -7715,9 +7736,6 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
7715
7736
|
.lg\:hidden {
|
|
7716
7737
|
display: none;
|
|
7717
7738
|
}
|
|
7718
|
-
.lg\:w-\[500px\] {
|
|
7719
|
-
width: 500px;
|
|
7720
|
-
}
|
|
7721
7739
|
.lg\:w-auto {
|
|
7722
7740
|
width: auto;
|
|
7723
7741
|
}
|
|
@@ -113,7 +113,7 @@ export class EdsTabs {
|
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
115
|
render() {
|
|
116
|
-
return (h("div", { key: '
|
|
116
|
+
return (h("div", { key: '2e29d6b12d150ea47cee107ae7b8cdf56723a98f', id: `${this.id}`, class: "after:border-softest before:bg-gradient-y relative overflow-x-hidden before:absolute before:inset-x-0 before:bottom-0 before:h-12 before:opacity-5 before:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:border-b-2 after:content-['']" }, h("div", { key: '4b129292420834f09e80d8d897d56435edc0e576', class: "scroller-x overflow-x-auto max-w-xxxl xxxl:px-0 relative z-[1] mx-auto px-16 pt-8 lg:px-28" }, h("nav", { key: '9ba32403c167846ddc7c66536d8ccd72d736d9e0', ref: (el) => (this.tabContainer = el), class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((tab, index) => {
|
|
117
117
|
const TabComponent = tab.active ? 'span' : 'a';
|
|
118
118
|
const tabProps = this.getTabOptions(tab.active, index);
|
|
119
119
|
return (h(TabComponent, Object.assign({}, tabProps, { "aria-label": tab.label, "aria-current": index === this.activeIndex, onClick: () => this.handleTabClick(index, tab.label) }), tab.label || tab.ariaLabel));
|
|
@@ -31,7 +31,7 @@ export class EdsToastManager {
|
|
|
31
31
|
this.toasts = this.toasts.filter((t) => t.id !== id);
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h("div", { key: '
|
|
34
|
+
return (h("div", { key: '0ca6de02db6bd537c7efe007c898480d07f69bc6', class: "toast-container" }, this.toasts.map((t) => (h("div", { key: t.id }, h("eds-toast", { message: t.message, intent: t.intent, onClick: () => this.removeToast(t.id) }))))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "eds-toast-manager"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6282,8 +6282,8 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
6282
6282
|
.m-0 {
|
|
6283
6283
|
margin: 0rem;
|
|
6284
6284
|
}
|
|
6285
|
-
.m-
|
|
6286
|
-
margin:
|
|
6285
|
+
.m-16 {
|
|
6286
|
+
margin: 1rem;
|
|
6287
6287
|
}
|
|
6288
6288
|
.mx-auto {
|
|
6289
6289
|
margin-left: auto;
|
|
@@ -6311,6 +6311,9 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
6311
6311
|
.-mr-16 {
|
|
6312
6312
|
margin-right: -1rem;
|
|
6313
6313
|
}
|
|
6314
|
+
.-mr-4 {
|
|
6315
|
+
margin-right: -0.25rem;
|
|
6316
|
+
}
|
|
6314
6317
|
.mb-10 {
|
|
6315
6318
|
margin-bottom: 0.625rem;
|
|
6316
6319
|
}
|
|
@@ -6500,6 +6503,9 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
6500
6503
|
.h-full {
|
|
6501
6504
|
height: 100%;
|
|
6502
6505
|
}
|
|
6506
|
+
.\!min-h-0 {
|
|
6507
|
+
min-height: 0rem !important;
|
|
6508
|
+
}
|
|
6503
6509
|
.\!min-h-20 {
|
|
6504
6510
|
min-height: 1.25rem !important;
|
|
6505
6511
|
}
|
|
@@ -6617,11 +6623,6 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
6617
6623
|
.resize {
|
|
6618
6624
|
resize: both;
|
|
6619
6625
|
}
|
|
6620
|
-
.appearance-none {
|
|
6621
|
-
-webkit-appearance: none;
|
|
6622
|
-
-moz-appearance: none;
|
|
6623
|
-
appearance: none;
|
|
6624
|
-
}
|
|
6625
6626
|
.grid-cols-1 {
|
|
6626
6627
|
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
6627
6628
|
}
|
|
@@ -7037,10 +7038,6 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
7037
7038
|
padding-left: 0.25rem;
|
|
7038
7039
|
padding-right: 0.25rem;
|
|
7039
7040
|
}
|
|
7040
|
-
.px-6 {
|
|
7041
|
-
padding-left: 0.375rem;
|
|
7042
|
-
padding-right: 0.375rem;
|
|
7043
|
-
}
|
|
7044
7041
|
.py-1 {
|
|
7045
7042
|
padding-top: 0.0625rem;
|
|
7046
7043
|
padding-bottom: 0.0625rem;
|
|
@@ -7129,6 +7126,9 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
7129
7126
|
.pt-32 {
|
|
7130
7127
|
padding-top: 2rem;
|
|
7131
7128
|
}
|
|
7129
|
+
.pt-4 {
|
|
7130
|
+
padding-top: 0.25rem;
|
|
7131
|
+
}
|
|
7132
7132
|
.pt-48 {
|
|
7133
7133
|
padding-top: 3rem;
|
|
7134
7134
|
}
|
|
@@ -7377,6 +7377,10 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
7377
7377
|
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
7378
7378
|
}
|
|
7379
7379
|
@media (min-width: 750px) {
|
|
7380
|
+
.md\:grid-col-span-3 {
|
|
7381
|
+
--container-grid-columns: 3;
|
|
7382
|
+
grid-column: span 3 / span 3;
|
|
7383
|
+
}
|
|
7380
7384
|
.md\:grid-col-span-4 {
|
|
7381
7385
|
--container-grid-columns: 4;
|
|
7382
7386
|
grid-column: span 4 / span 4;
|
|
@@ -7387,6 +7391,10 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
7387
7391
|
}
|
|
7388
7392
|
}
|
|
7389
7393
|
@media (min-width: 900px) {
|
|
7394
|
+
.lg\:grid-col-span-3 {
|
|
7395
|
+
--container-grid-columns: 3;
|
|
7396
|
+
grid-column: span 3 / span 3;
|
|
7397
|
+
}
|
|
7390
7398
|
.lg\:grid-col-span-5 {
|
|
7391
7399
|
--container-grid-columns: 5;
|
|
7392
7400
|
grid-column: span 5 / span 5;
|
|
@@ -7399,6 +7407,22 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
7399
7407
|
grid-column-start: 7;
|
|
7400
7408
|
}
|
|
7401
7409
|
}
|
|
7410
|
+
@media (min-width: 1024px) {
|
|
7411
|
+
.xl\:grid-col-span-3 {
|
|
7412
|
+
--container-grid-columns: 3;
|
|
7413
|
+
grid-column: span 3 / span 3;
|
|
7414
|
+
}
|
|
7415
|
+
}
|
|
7416
|
+
@media (min-width: 1280px) {
|
|
7417
|
+
.xxl\:grid-col-span-2 {
|
|
7418
|
+
--container-grid-columns: 2;
|
|
7419
|
+
grid-column: span 2 / span 2;
|
|
7420
|
+
}
|
|
7421
|
+
.xxl\:grid-col-span-3 {
|
|
7422
|
+
--container-grid-columns: 3;
|
|
7423
|
+
grid-column: span 3 / span 3;
|
|
7424
|
+
}
|
|
7425
|
+
}
|
|
7402
7426
|
.even\:bg-inverse-softer:nth-child(even) {
|
|
7403
7427
|
background-color: rgba(255, 255, 255, .15);
|
|
7404
7428
|
}
|
|
@@ -7675,9 +7699,6 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
7675
7699
|
.md\:hidden {
|
|
7676
7700
|
display: none;
|
|
7677
7701
|
}
|
|
7678
|
-
.md\:w-\[300px\] {
|
|
7679
|
-
width: 300px;
|
|
7680
|
-
}
|
|
7681
7702
|
.md\:-translate-x-1\/2 {
|
|
7682
7703
|
--tw-translate-x: -50%;
|
|
7683
7704
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
@@ -7715,9 +7736,6 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
7715
7736
|
.lg\:hidden {
|
|
7716
7737
|
display: none;
|
|
7717
7738
|
}
|
|
7718
|
-
.lg\:w-\[500px\] {
|
|
7719
|
-
width: 500px;
|
|
7720
|
-
}
|
|
7721
7739
|
.lg\:w-auto {
|
|
7722
7740
|
width: auto;
|
|
7723
7741
|
}
|
|
@@ -33,7 +33,7 @@ export class EdsUser {
|
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
35
|
const user = this.parsedUser;
|
|
36
|
-
return (h("div", { key: '
|
|
36
|
+
return (h("div", { key: '099427eda976cd3fffcd201a2629d9db752f427d', class: "block" }, h("div", { key: '33e8e4a2aca3fa48420abbd9304ed1d681dbad60', class: "flex items-center" }, h("eds-dropdown", { key: '6f25836fbe49e6cb08e7fe8f057a094e21271784', label: `Welcome, ${user.preferred_username}`, intent: "tertiary", "aria-label": "User Menu", "dropdown-pos": "right", "dropdown-offset": "false", icon: "chevron-down", class: "text-default" }, h("div", { key: '143b3561a2b0484f60df993882d1c9e74e413859', class: "min-w-[280px] p-8" }, h("div", { key: '5f178c0ce2a4b08a4bef0e2a2348b5372fc1a723', class: "flex gap-x-16 pb-16 border-b-2 border-softer" }, h("eds-avatar", { key: '6ee2187e673738f3ac5e8bbd5ef56b4df69a51f5', "first-name": user.given_name, "last-name": user.family_name, initials: this.initials, color: "grey" }), h("div", { key: '73a58dfadc56f71e75f14d7edf4385682d45126a', class: "max-w-full" }, user.name && h("p", { key: '17d87baf2254d8b1667eb2ba196acc783f66a5d7', class: "f-ui-01 text-default w-full text-ellipsis" }, user.name), user.preferred_username && h("p", { key: 'cc8c94e020735521b046805067c1ecef86ccb4bf', class: "f-ui-03-light text-light mt-4" }, user.preferred_username), user.email && h("p", { key: '70989c3cc79d174f3ad99dc40db7b69a22f14d34', class: "f-ui-03-light text-light mt-4" }, user.email))), h("div", { key: 'f028bde937b98a01c2f9d5028bdd5038003193a0', class: "text-default mt-16 flex w-full flex-col gap-y-8" }, h("slot", { key: '3f6d7c1c540f93c9a35e6c6fa30c68bf06fa1a92' })))))));
|
|
37
37
|
}
|
|
38
38
|
static get is() { return "eds-user"; }
|
|
39
39
|
static get encapsulation() { return "shadow"; }
|
|
@@ -27,7 +27,7 @@ export class EdsAppRoot {
|
|
|
27
27
|
this.combinedInitPromise = Promise.all([initKeycloakPromise, authStatusPromise]);
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return (h("div", { key: '
|
|
30
|
+
return (h("div", { key: '7b0b74c02f9fa25dc3d3e5a0fd10d8b4c3a59ffe' }, h("eds-splash-screen", { key: 'e1fabb47903b011c397af3a8da59130e8455280f', inverse: true, initPromise: this.combinedInitPromise }), h("eds-login", { key: '30d8ca5116c5b8a18972df9c55bd4a947226d682', "keycloak-url": "http://localhost:8080", "keycloak-realm": "nigeor-realm", "keycloak-client-id": "stencil-app" }), h("main", { key: '16ead78b24f561049fb12609b23bff028262d9d5' }, this.isAuthenticated ? h("h1", null, "Welcome, authenticated user!") : h("h1", null, "Please log in."))));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "eds-app-root"; }
|
|
33
33
|
static get encapsulation() { return "shadow"; }
|
|
@@ -2,7 +2,10 @@ import { findFieldElement } from "./formValidators";
|
|
|
2
2
|
/**
|
|
3
3
|
* Updates state values based on draft data and, after a delay, updates the corresponding DOM inputs.
|
|
4
4
|
*/
|
|
5
|
-
export function getFormInitData({ initData, parsedFields, currentValues
|
|
5
|
+
export function getFormInitData({ initData, parsedFields, currentValues
|
|
6
|
+
//formEl,
|
|
7
|
+
//isFieldVisible
|
|
8
|
+
}) {
|
|
6
9
|
// Pass 1: Update state for all fields.
|
|
7
10
|
const updatedValues = Object.assign({}, currentValues);
|
|
8
11
|
parsedFields.forEach((field) => {
|
|
@@ -11,39 +14,6 @@ export function getFormInitData({ initData, parsedFields, currentValues, formEl,
|
|
|
11
14
|
updatedValues[field.name] = value;
|
|
12
15
|
}
|
|
13
16
|
});
|
|
14
|
-
// Pass 2: Delay DOM updates to ensure nested fields are rendered.
|
|
15
|
-
setTimeout(() => {
|
|
16
|
-
parsedFields.forEach((field) => {
|
|
17
|
-
// Only update if the field is visible.
|
|
18
|
-
if (isFieldVisible(field, updatedValues)) {
|
|
19
|
-
const value = initData[field.name];
|
|
20
|
-
if (value !== undefined) {
|
|
21
|
-
if (field.type === 'checkbox' || field.type === 'radio') {
|
|
22
|
-
// Query all eds-input-field components and update matching inputs.
|
|
23
|
-
const elements = Array.from(formEl.querySelectorAll('eds-input-field'));
|
|
24
|
-
elements.forEach((element) => {
|
|
25
|
-
if (element.shadowRoot) {
|
|
26
|
-
const inputs = Array.from(element.shadowRoot.querySelectorAll(`[name="${field.name}"]`));
|
|
27
|
-
// Convert stored comma-separated value into a trimmed array.
|
|
28
|
-
const valuesArray = value.split(',').map((v) => v.trim());
|
|
29
|
-
inputs.forEach((inputEl) => {
|
|
30
|
-
// eslint-disable-next-line
|
|
31
|
-
inputEl.checked = valuesArray.includes(inputEl.value);
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
else {
|
|
37
|
-
// For non-checkbox/radio inputs, update the first matching element using findFieldElement.
|
|
38
|
-
const inputEl = findFieldElement(formEl, field.name);
|
|
39
|
-
if (inputEl) {
|
|
40
|
-
inputEl.value = value;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
});
|
|
46
|
-
}, 50); // A 50ms delay to allow re-render
|
|
47
17
|
return { updatedValues };
|
|
48
18
|
}
|
|
49
19
|
/**
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const bookmark = ` <svg
|
|
2
|
+
width="20"
|
|
3
|
+
height="20"
|
|
4
|
+
viewBox="0 0 20 20"
|
|
5
|
+
fill="none"
|
|
6
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
+
>
|
|
8
|
+
<path
|
|
9
|
+
d="M5 4H15V16L10 12.0138L5 16V4Z"
|
|
10
|
+
stroke="currentColor"
|
|
11
|
+
stroke-width="1.5"
|
|
12
|
+
stroke-linejoin="round"
|
|
13
|
+
/>
|
|
14
|
+
</svg>`;
|
|
15
|
+
|
|
16
|
+
export { bookmark as b };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Components, JSX } from "../types/components";
|
|
2
2
|
|
|
3
|
-
interface
|
|
4
|
-
export const
|
|
5
|
-
prototype:
|
|
6
|
-
new ():
|
|
3
|
+
interface ComponentsSection extends Components.ComponentsSection, HTMLElement {}
|
|
4
|
+
export const ComponentsSection: {
|
|
5
|
+
prototype: ComponentsSection;
|
|
6
|
+
new (): ComponentsSection;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -8,7 +8,7 @@ import { d as defineCustomElement$4 } from './eds-section-core2.js';
|
|
|
8
8
|
import { d as defineCustomElement$3 } from './eds-section-heading2.js';
|
|
9
9
|
import { d as defineCustomElement$2 } from './eds-steps2.js';
|
|
10
10
|
|
|
11
|
-
const
|
|
11
|
+
const DocsOverview = () => (h("div", { class: "static-content container" },
|
|
12
12
|
h("h2", null, "Load the module"),
|
|
13
13
|
h("p", null,
|
|
14
14
|
"Integrating the EBRAINS UI Components to a project without a JavaScript framework is straight forward. If you\u2019re working on a simple HTML page, you can start using the components immediately by adding the tags below to the",
|
|
@@ -43,15 +43,19 @@ const EdsComponentsOverview = () => (h("div", { class: "static-content container
|
|
|
43
43
|
' ',
|
|
44
44
|
h("code", null, "head")),
|
|
45
45
|
h("eds-code-block", { code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/output.css"/>', language: "css", "copy-label": "Copy Code" }),
|
|
46
|
+
h("p", null,
|
|
47
|
+
"To directly use only the produced variables add the tag below to the ",
|
|
48
|
+
h("code", null, "head")),
|
|
49
|
+
h("eds-code-block", { code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/vars.css"/>', language: "css", "copy-label": "Copy Code" }),
|
|
46
50
|
h("p", null,
|
|
47
51
|
"Note that, loading the predefined CSS framework above,",
|
|
48
52
|
' ',
|
|
49
53
|
h("b", null, "automatically loads the fonts so you can skip loading them separately"),
|
|
50
54
|
". If you wish, however, to load the fonts, add the tag below to the ",
|
|
51
55
|
h("code", null, "head")),
|
|
52
|
-
h("eds-code-block", { code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@
|
|
56
|
+
h("eds-code-block", { code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/base/fonts.css"/>', language: "css", "copy-label": "Copy Code" })));
|
|
53
57
|
|
|
54
|
-
const
|
|
58
|
+
const DocsInstallation = () => (h("div", null,
|
|
55
59
|
h("p", null, "Before proceeding, ensure that Node.js is installed on your machine\u2014you can download the latest version from the official website. If your project doesn\u2019t already use npm and you plan to integrate EBRAINS Components, you'll need to create a package.json file by running npm init and following the on-screen instructions."),
|
|
56
60
|
h("div", { class: "my-8" },
|
|
57
61
|
h("eds-code-block", { code: "npm install @ebrains/components", language: "html", "copy-label": "Copy Code" })),
|
|
@@ -64,14 +68,15 @@ const EdsDocsInstallation = () => (h("div", null,
|
|
|
64
68
|
h("div", { class: "my-8" },
|
|
65
69
|
h("eds-code-block", { code: "npm install @ebrains/angular", language: "html", "copy-label": "Copy Code" }))));
|
|
66
70
|
|
|
67
|
-
const
|
|
71
|
+
const DocsReact = () => (h("div", null,
|
|
68
72
|
h("h2", null, "React Wrappers"),
|
|
69
73
|
h("p", null, "To use the EBRAINS web components in a React Application, simple install the package below and check out the examples"),
|
|
70
74
|
h("eds-code-block", { code: "npm install @ebrains/react", language: "javascript", "copy-label": "Copy Code" }),
|
|
71
75
|
h("eds-section-core", { "section-title": "Example React App", "heading-level": "h3" },
|
|
72
|
-
h("
|
|
76
|
+
h("p", null, "This code displays a Stencil-based splash screen that stays visible until an initialization promise resolves (or errors), then hides itself and reveals the main React app content."),
|
|
77
|
+
h("eds-code-block", { code: "\nimport React, { useMemo, useState } from 'react';\nimport {\n EdsHeader\n EdsSplashScreen,\n EdsMatomoNotice,\n EdsSteps\n} from '@ebrains/react';\nimport './app.css';\n\n// simulate 2s\nfunction fakeInit(): Promise<void> {\n return new Promise(resolve => setTimeout(resolve, 2000));\n}\n\nexport function App() {\n // 1) create init promise\n const initPromise = useMemo(() => fakeInit(), []);\n\n // 2) is splash still visible\n const [splashVisible, setSplashVisible] = useState(true);\n const [initError, setInitError] = useState<string | null>(null);\n\n // 3) show the UI after the splash has hidden\n const showApp = !splashVisible && !initError;\n\n return (\n <div>\n {splashVisible && (\n <EdsSplashScreen\n inverse={false}\n initPromise={initPromise}\n onSplash={(e: CustomEvent) => {\n if (e.detail.type === 'hidden') {\n setSplashVisible(false);\n } else if (e.detail.type === 'error') {\n setInitError(e.detail.message);\n setSplashVisible(false);\n }\n }}\n />\n )}\n\n {initError && (\n <div className='error'>\n Failed to initialize: {initError}\n </div>\n )}\n\n {/* Show App only when ready */}\n {showApp && (\n <>\n <EdsHeader></EdsHeader>\n <EdsSteps\n steps={[\n {\n title: 'Introduction',\n content: 'Begin by familiarizing yourself with the overall process.'\n },\n {\n title: 'Process Overview',\n content: 'Review the detailed steps and understand the workflow.'\n }\n ]}\n type='linear'\n />\n\n <EdsMatomoNotice />\n\n <div id='root'></div>\n </>\n )}\n </div>\n );\n}\nexport default App;\n", language: "javascript", "copy-label": "Copy Code" }))));
|
|
73
78
|
|
|
74
|
-
const
|
|
79
|
+
const DocsVue = () => (h("div", null,
|
|
75
80
|
h("h2", null, "Vue Wrappers"),
|
|
76
81
|
h("p", null, "To use the EBRAINS web components in a Vue Application, simple install the package below and check out the examples."),
|
|
77
82
|
h("eds-code-block", { code: "npm install @ebrains/vue", language: "javascript", "copy-label": "Copy Code" }),
|
|
@@ -89,16 +94,16 @@ const EdsDocsVue = () => (h("div", null,
|
|
|
89
94
|
h("eds-alert", { message: "This may lead to issues because Vue binds these as attributes .", intent: "error" })),
|
|
90
95
|
h("eds-code-block", { code: '<EdsAlert\n message="This is a default informational alert."\n intent="default"\n :pressableLabel="Press Me"\n :pressableUrl="https://ebrains.eu"\n></EdsAlert>', language: "javascript", "copy-label": "Copy Code" }),
|
|
91
96
|
h("div", { class: "my-8" },
|
|
92
|
-
h("eds-alert", { message: "Use the .prop modifier to ensure properties are passed correctly.", intent: "
|
|
97
|
+
h("eds-alert", { message: "Use the .prop modifier to ensure properties are passed correctly.", intent: "default" })),
|
|
93
98
|
h("eds-code-block", { code: '<EdsAlert\n message="This is a default informational alert."\n intent="default"\n :pressableLabel.prop="Press Me"\n :pressableUrl.prop="https://ebrains.eu"\n></EdsAlert>', language: "javascript", "copy-label": "Copy Code" }),
|
|
94
99
|
h("p", null,
|
|
95
100
|
"Using the ",
|
|
96
101
|
h("b", null, ".prop"),
|
|
97
102
|
" modifier in Vue ensures that the data you pass to your custom elements is received as intended. It prevents Vue (and the browser) from transforming camelCase property names into lowercase attributes, thereby maintaining the correct data mapping in your Stencil components."),
|
|
98
103
|
h("eds-section-core", { "section-title": "Example Vue App", "heading-level": "h3" },
|
|
99
|
-
h("eds-code-block", { code: '\n<template>\n <EdsHeader \n
|
|
104
|
+
h("eds-code-block", { code: '\n<template>\n <div>\n <EdsHeader></EdsHeader>\n <!-- render the splash until we manually hide it -->\n <EdsSplashScreen inverse="false" />\n\n <!-- then show main UI -->\n <div v-if="!splashVisible" class="container my-16">\n <EdsSteps \n :steps="JSON.stringify(stepsdata)"\n type="linear"\n />\n </div>\n </div>\n</template>\n\n<script>\nimport { EdsSplashScreen, EdsSteps, EdsHeader } from "@ebrains/vue";\n\nexport default {\n name: "App",\n components: { EdsHeader, EdsSplashScreen, EdsSteps },\n data() {\n return {\n stepsdata: [\n { title: "Introduction", content: "Begin by familiarizing yourself with the overall process." },\n { title: "Process Overview", content: "Review the detailed steps and understand the workflow." }\n ],\n splashVisible: true\n };\n },\n methods: {\n delay(ms) {\n return new Promise(resolve => setTimeout(resolve, ms));\n },\n async initialize() {\n try {\n // simulate your init work\n await this.delay(2000);\n\n // fire the built-in event that EdsSplashScreen listens for\n window.dispatchEvent(new Event("hideSplash"));\n } catch (e) {\n console.error("Init error", e);\n window.dispatchEvent(new Event("hideSplash"));\n } finally {\n // show the rest of the app\n this.splashVisible = false;\n }\n }\n },\n mounted() {\n this.initialize();\n }\n};\n</script>\n', language: "javascript", "copy-label": "Copy Code" }))));
|
|
100
105
|
|
|
101
|
-
const
|
|
106
|
+
const DocsAngular = () => (h("div", null,
|
|
102
107
|
h("h2", null, "Angular Wrappers"),
|
|
103
108
|
h("p", null, "To use the EBRAINS web components in an Angular Application, simple install the package below and check out the examples."),
|
|
104
109
|
h("eds-code-block", { code: "npm install @ebrains/angular", language: "javascript", "copy-label": "Copy Code" }),
|
|
@@ -109,7 +114,7 @@ const EdsDocsAngular = () => (h("div", null,
|
|
|
109
114
|
h("eds-section-core", { "section-title": "Example Angular App", "heading-level": "h3" },
|
|
110
115
|
h("eds-code-block", { code: '\n<div class="container">\n <eds-breadcrumb\n intent="tertiary"\n items="[\n { "label": "Home", "url": "#" },\n { "label": "Products", "url": "#" },\n ]">\n </eds-breadcrumb>\n <eds-footer></eds-footer>\n</div>', language: "javascript", "copy-label": "Copy Code" }))));
|
|
111
116
|
|
|
112
|
-
const
|
|
117
|
+
const ComponentsSection$1 = /*@__PURE__*/ proxyCustomElement(class ComponentsSection extends HTMLElement {
|
|
113
118
|
constructor() {
|
|
114
119
|
super();
|
|
115
120
|
this.__registerHost();
|
|
@@ -118,34 +123,34 @@ const EdsComponentsSection$1 = /*@__PURE__*/ proxyCustomElement(class EdsCompone
|
|
|
118
123
|
renderContent() {
|
|
119
124
|
switch (this.tabIndex) {
|
|
120
125
|
case 0:
|
|
121
|
-
return h(
|
|
126
|
+
return h(DocsOverview, null);
|
|
122
127
|
case 1:
|
|
123
|
-
return h(
|
|
128
|
+
return h(DocsInstallation, null);
|
|
124
129
|
case 2:
|
|
125
|
-
return h(
|
|
130
|
+
return h(DocsReact, null);
|
|
126
131
|
case 3:
|
|
127
|
-
return h(
|
|
132
|
+
return h(DocsVue, null);
|
|
128
133
|
case 4:
|
|
129
|
-
return h(
|
|
134
|
+
return h(DocsAngular, null);
|
|
130
135
|
default:
|
|
131
136
|
return h("p", null, "Content not available.");
|
|
132
137
|
}
|
|
133
138
|
}
|
|
134
139
|
render() {
|
|
135
|
-
return h("div", { key: '
|
|
140
|
+
return h("div", { key: 'ee8facfaad3786770fd3ea39f1db7922a67ffd3e', class: "container" }, this.renderContent());
|
|
136
141
|
}
|
|
137
|
-
}, [0, "
|
|
142
|
+
}, [0, "components-section", {
|
|
138
143
|
"tabIndex": [2, "tab-index"]
|
|
139
144
|
}]);
|
|
140
145
|
function defineCustomElement$1() {
|
|
141
146
|
if (typeof customElements === "undefined") {
|
|
142
147
|
return;
|
|
143
148
|
}
|
|
144
|
-
const components = ["
|
|
149
|
+
const components = ["components-section", "eds-alert", "eds-button", "eds-code-block", "eds-icon-wrapper", "eds-link", "eds-section-core", "eds-section-heading", "eds-steps"];
|
|
145
150
|
components.forEach(tagName => { switch (tagName) {
|
|
146
|
-
case "
|
|
151
|
+
case "components-section":
|
|
147
152
|
if (!customElements.get(tagName)) {
|
|
148
|
-
customElements.define(tagName,
|
|
153
|
+
customElements.define(tagName, ComponentsSection$1);
|
|
149
154
|
}
|
|
150
155
|
break;
|
|
151
156
|
case "eds-alert":
|
|
@@ -191,7 +196,7 @@ function defineCustomElement$1() {
|
|
|
191
196
|
} });
|
|
192
197
|
}
|
|
193
198
|
|
|
194
|
-
const
|
|
199
|
+
const ComponentsSection = ComponentsSection$1;
|
|
195
200
|
const defineCustomElement = defineCustomElement$1;
|
|
196
201
|
|
|
197
|
-
export {
|
|
202
|
+
export { ComponentsSection, defineCustomElement };
|
|
@@ -6282,8 +6282,8 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
6282
6282
|
.m-0 {
|
|
6283
6283
|
margin: 0rem;
|
|
6284
6284
|
}
|
|
6285
|
-
.m-
|
|
6286
|
-
margin:
|
|
6285
|
+
.m-16 {
|
|
6286
|
+
margin: 1rem;
|
|
6287
6287
|
}
|
|
6288
6288
|
.mx-auto {
|
|
6289
6289
|
margin-left: auto;
|
|
@@ -6311,6 +6311,9 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
6311
6311
|
.-mr-16 {
|
|
6312
6312
|
margin-right: -1rem;
|
|
6313
6313
|
}
|
|
6314
|
+
.-mr-4 {
|
|
6315
|
+
margin-right: -0.25rem;
|
|
6316
|
+
}
|
|
6314
6317
|
.mb-10 {
|
|
6315
6318
|
margin-bottom: 0.625rem;
|
|
6316
6319
|
}
|
|
@@ -6500,6 +6503,9 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
6500
6503
|
.h-full {
|
|
6501
6504
|
height: 100%;
|
|
6502
6505
|
}
|
|
6506
|
+
.\!min-h-0 {
|
|
6507
|
+
min-height: 0rem !important;
|
|
6508
|
+
}
|
|
6503
6509
|
.\!min-h-20 {
|
|
6504
6510
|
min-height: 1.25rem !important;
|
|
6505
6511
|
}
|
|
@@ -6617,11 +6623,6 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
6617
6623
|
.resize {
|
|
6618
6624
|
resize: both;
|
|
6619
6625
|
}
|
|
6620
|
-
.appearance-none {
|
|
6621
|
-
-webkit-appearance: none;
|
|
6622
|
-
-moz-appearance: none;
|
|
6623
|
-
appearance: none;
|
|
6624
|
-
}
|
|
6625
6626
|
.grid-cols-1 {
|
|
6626
6627
|
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
6627
6628
|
}
|
|
@@ -7037,10 +7038,6 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
7037
7038
|
padding-left: 0.25rem;
|
|
7038
7039
|
padding-right: 0.25rem;
|
|
7039
7040
|
}
|
|
7040
|
-
.px-6 {
|
|
7041
|
-
padding-left: 0.375rem;
|
|
7042
|
-
padding-right: 0.375rem;
|
|
7043
|
-
}
|
|
7044
7041
|
.py-1 {
|
|
7045
7042
|
padding-top: 0.0625rem;
|
|
7046
7043
|
padding-bottom: 0.0625rem;
|
|
@@ -7129,6 +7126,9 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
7129
7126
|
.pt-32 {
|
|
7130
7127
|
padding-top: 2rem;
|
|
7131
7128
|
}
|
|
7129
|
+
.pt-4 {
|
|
7130
|
+
padding-top: 0.25rem;
|
|
7131
|
+
}
|
|
7132
7132
|
.pt-48 {
|
|
7133
7133
|
padding-top: 3rem;
|
|
7134
7134
|
}
|
|
@@ -7377,6 +7377,10 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
7377
7377
|
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
7378
7378
|
}
|
|
7379
7379
|
@media (min-width: 750px) {
|
|
7380
|
+
.md\:grid-col-span-3 {
|
|
7381
|
+
--container-grid-columns: 3;
|
|
7382
|
+
grid-column: span 3 / span 3;
|
|
7383
|
+
}
|
|
7380
7384
|
.md\:grid-col-span-4 {
|
|
7381
7385
|
--container-grid-columns: 4;
|
|
7382
7386
|
grid-column: span 4 / span 4;
|
|
@@ -7387,6 +7391,10 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
7387
7391
|
}
|
|
7388
7392
|
}
|
|
7389
7393
|
@media (min-width: 900px) {
|
|
7394
|
+
.lg\:grid-col-span-3 {
|
|
7395
|
+
--container-grid-columns: 3;
|
|
7396
|
+
grid-column: span 3 / span 3;
|
|
7397
|
+
}
|
|
7390
7398
|
.lg\:grid-col-span-5 {
|
|
7391
7399
|
--container-grid-columns: 5;
|
|
7392
7400
|
grid-column: span 5 / span 5;
|
|
@@ -7399,6 +7407,22 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
7399
7407
|
grid-column-start: 7;
|
|
7400
7408
|
}
|
|
7401
7409
|
}
|
|
7410
|
+
@media (min-width: 1024px) {
|
|
7411
|
+
.xl\:grid-col-span-3 {
|
|
7412
|
+
--container-grid-columns: 3;
|
|
7413
|
+
grid-column: span 3 / span 3;
|
|
7414
|
+
}
|
|
7415
|
+
}
|
|
7416
|
+
@media (min-width: 1280px) {
|
|
7417
|
+
.xxl\:grid-col-span-2 {
|
|
7418
|
+
--container-grid-columns: 2;
|
|
7419
|
+
grid-column: span 2 / span 2;
|
|
7420
|
+
}
|
|
7421
|
+
.xxl\:grid-col-span-3 {
|
|
7422
|
+
--container-grid-columns: 3;
|
|
7423
|
+
grid-column: span 3 / span 3;
|
|
7424
|
+
}
|
|
7425
|
+
}
|
|
7402
7426
|
.even\:bg-inverse-softer:nth-child(even) {
|
|
7403
7427
|
background-color: rgba(255, 255, 255, .15);
|
|
7404
7428
|
}
|
|
@@ -7675,9 +7699,6 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
7675
7699
|
.md\:hidden {
|
|
7676
7700
|
display: none;
|
|
7677
7701
|
}
|
|
7678
|
-
.md\:w-\[300px\] {
|
|
7679
|
-
width: 300px;
|
|
7680
|
-
}
|
|
7681
7702
|
.md\:-translate-x-1\/2 {
|
|
7682
7703
|
--tw-translate-x: -50%;
|
|
7683
7704
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
@@ -7715,9 +7736,6 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
7715
7736
|
.lg\:hidden {
|
|
7716
7737
|
display: none;
|
|
7717
7738
|
}
|
|
7718
|
-
.lg\:w-\[500px\] {
|
|
7719
|
-
width: 500px;
|
|
7720
|
-
}
|
|
7721
7739
|
.lg\:w-auto {
|
|
7722
7740
|
width: auto;
|
|
7723
7741
|
}
|