@ebrains/components 0.7.0-alpha.1 → 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/components-section.cjs.entry.js +139 -0
- 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-alert.cjs.entry.js +11 -4
- package/dist/cjs/eds-app-root.cjs.entry.js +1 -1
- package/dist/cjs/eds-avatar_24.cjs.entry.js +2100 -0
- package/dist/cjs/eds-breadcrumb.cjs.entry.js +6 -2
- package/dist/cjs/{eds-avatar_4.cjs.entry.js → eds-card-desc_3.cjs.entry.js} +3 -70
- package/dist/cjs/eds-card-generic.cjs.entry.js +1 -1
- 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 +2 -2
- package/dist/cjs/eds-frame.cjs.entry.js +7 -13
- package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-bookmark.cjs.entry.js +18 -0
- 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 +18 -0
- package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-loader.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-unknown.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-updown.cjs.entry.js +18 -0
- 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 +403 -0
- package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
- 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 +5 -1
- 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 +82 -50
- 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} +31 -26
- 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 +19 -9
- package/dist/collection/components/eds-accordion/eds-accordion.css +18 -12
- package/dist/collection/components/eds-accordion/eds-accordion.js +9 -24
- package/dist/collection/components/eds-accordion/eds-accordion.stories.js +2 -2
- package/dist/collection/components/eds-alert/eds-alert.css +223 -91
- package/dist/collection/components/eds-alert/eds-alert.js +28 -3
- package/dist/collection/components/eds-alert/eds-alert.stories.js +10 -2
- package/dist/collection/components/eds-avatar/eds-avatar.css +38 -0
- package/dist/collection/components/eds-avatar/eds-avatar.js +11 -40
- package/dist/collection/components/eds-avatar/eds-avatar.stories.js +19 -46
- package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
- package/dist/collection/components/eds-breadcrump/eds-breadcrumb.css +1 -0
- package/dist/collection/components/eds-breadcrump/eds-breadcrumb.stories.js +14 -6
- package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +6 -2
- package/dist/collection/components/eds-button/eds-button.css +8420 -6638
- 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 +4 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-wrapper/eds-card-wrapper.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.css +133 -102
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.stories.js +10 -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.css +30 -3
- package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
- package/dist/collection/components/eds-dropdown/eds-dropdown.js +4 -3
- 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 +4 -4
- 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 +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-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 +5 -5
- package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +66 -11
- package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +49 -10
- 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.css +651 -52
- 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 +24 -204
- package/dist/collection/components/eds-link/eds-link.js +21 -13
- 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.css +137 -109
- package/dist/collection/components/eds-pagination/eds-pagination.stories.js +0 -6
- package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +3 -3
- package/dist/collection/components/eds-steps/eds-steps.js +48 -1
- package/dist/collection/components/eds-switch/eds-switch.js +2 -2
- package/dist/collection/components/eds-table/eds-table.js +42 -27
- package/dist/collection/components/eds-table/eds-table.stories.js +1 -1
- package/dist/collection/components/eds-tag/eds-tag.js +1 -1
- package/dist/collection/components/eds-timeline/eds-timeline.css +7776 -0
- package/dist/collection/components/eds-timeline/eds-timeline.js +12 -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/components-section/functional/overview.js +19 -0
- 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/svg-repository/svg-repository.css +5 -0
- package/dist/collection/eds-docs-ui/{eds-svg-repository/eds-svg-repository.js → svg-repository/svg-repository.js} +13 -3
- package/dist/collection/shared-ui/eds-card-section/eds-card-section.stories.js +1 -6
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -2
- 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.css +226 -0
- package/dist/collection/shared-ui/eds-footer/eds-footer.js +44 -23
- package/dist/collection/shared-ui/eds-footer/eds-footer.stories.js +10 -16
- package/dist/collection/shared-ui/eds-form/eds-form.css +3 -0
- package/dist/collection/{components/eds-form-v2/eds-form-v2.js → shared-ui/eds-form/eds-form.js} +51 -15
- package/dist/collection/{components/eds-form-v2/eds-form-v2.stories.js → shared-ui/eds-form/eds-form.stories.js} +4 -4
- package/dist/collection/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.css +3 -0
- package/dist/collection/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.js +29 -32
- package/dist/collection/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.stories.js +13 -13
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.css +120 -0
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +2 -1
- package/dist/collection/shared-ui/eds-header/eds-header.css +138 -0
- package/dist/collection/shared-ui/eds-header/eds-header.js +3 -2
- package/dist/collection/shared-ui/eds-login/eds-login.js +4 -1
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.css +4 -0
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +57 -3
- 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-steps-v2/eds-steps-v2.css +361 -0
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.js +219 -0
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +63 -61
- 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 +7776 -0
- package/dist/collection/shared-ui/eds-user/eds-user.js +44 -14
- package/dist/collection/shared-ui/eds-user/eds-user.stories.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/components-section.js +202 -0
- package/dist/components/components.css +63 -61
- 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/{eds-form-v2.d.ts → docs-tokens.d.ts} +4 -4
- package/dist/components/{eds-docs-tokens.js → docs-tokens.js} +8 -8
- package/dist/components/eds-accordion2.js +10 -8
- package/dist/components/eds-alert2.js +12 -4
- package/dist/components/eds-app-root.js +1 -1
- package/dist/components/eds-avatar2.js +13 -8
- package/dist/components/eds-block-break2.js +1 -1
- package/dist/components/eds-breadcrumb.js +6 -2
- package/dist/components/eds-button2.js +2 -2
- package/dist/components/eds-card-desc2.js +1 -1
- package/dist/components/eds-card-generic2.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 +2 -3
- package/dist/components/eds-dropdown2.js +4 -3
- package/dist/components/eds-feedback.js +2 -2
- package/dist/components/eds-footer2.js +13 -6
- package/dist/components/eds-form.js +247 -197
- package/dist/components/eds-frame.js +9 -15
- package/dist/components/eds-fullscreen-menu.js +4 -3
- package/dist/components/eds-header.js +5 -4
- package/dist/components/eds-icon-arrow-diagonal.js +3 -3
- package/dist/components/eds-icon-arrow-right.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-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.d.ts +11 -0
- package/dist/components/eds-icon-external.js +33 -0
- package/dist/components/eds-icon-gitlab.js +1 -1
- package/dist/components/eds-icon-loader.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-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-input-field2.js +38 -6
- 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 -5
- package/dist/components/eds-input-search2.js +24 -2
- package/dist/components/eds-input-select2.js +4 -1
- package/dist/components/eds-input2.js +3 -5
- package/dist/components/eds-link2.js +22 -14
- package/dist/components/eds-login2.js +1 -1
- package/dist/components/eds-matomo-notice2.js +32 -4
- package/dist/components/eds-modal.js +6 -6
- package/dist/components/eds-section-heading2.js +3 -3
- package/dist/components/eds-social-networks2.js +1 -1
- package/dist/components/eds-splash-screen2.js +25 -14
- package/dist/components/eds-steps-v2.d.ts +11 -0
- package/dist/components/eds-steps-v2.js +137 -0
- package/dist/components/eds-steps.js +1 -92
- package/dist/{esm/eds-steps.entry.js → components/eds-steps2.js} +86 -9
- package/dist/components/eds-switch.js +2 -2
- package/dist/components/eds-table2.js +41 -26
- package/dist/components/eds-tabs.js +2 -2
- package/dist/components/eds-tag2.js +1 -1
- package/dist/components/eds-timeline.js +7 -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 +36 -25
- 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-058cf100.entry.js +1 -0
- 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-43b3579a.entry.js → p-1aab55cf.entry.js} +1 -1
- 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-43350dff.entry.js → p-21a746a4.entry.js} +1 -1
- package/dist/components/p-29e807f5.entry.js +1 -0
- package/dist/components/{p-a5c61d1c.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-376b706b.entry.js +1 -0
- package/dist/components/p-3932d0af.entry.js +1 -0
- package/dist/components/{p-56ec190f.entry.js → p-3a7be9a7.entry.js} +1 -1
- package/dist/components/{p-5e2216ae.entry.js → p-3f480c3c.entry.js} +1 -1
- package/dist/components/p-41e89554.entry.js +1 -0
- package/dist/components/{p-8b70a350.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-ad746789.entry.js → p-526cdc57.entry.js} +1 -1
- package/dist/components/p-52913e2e.entry.js +1 -0
- package/dist/components/{p-8e548691.entry.js → p-59d963d1.entry.js} +1 -1
- package/dist/components/{p-0443ac40.entry.js → p-622dd2a1.entry.js} +1 -1
- package/dist/components/p-66bb44c9.entry.js +1 -0
- package/dist/components/p-694fc085.js +1 -0
- package/dist/components/{p-5c12a0df.entry.js → p-6dc26e53.entry.js} +1 -1
- 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-62f2f274.entry.js → p-7fa88255.entry.js} +1 -1
- package/dist/components/p-83936521.entry.js +1 -0
- package/dist/components/p-8527ef5f.entry.js +1 -0
- package/dist/components/{p-4cd69983.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-8baa7e01.entry.js +1 -0
- package/dist/components/p-8e3c6c63.entry.js +1 -0
- package/dist/components/{p-f905ac92.entry.js → p-91440d2f.entry.js} +1 -1
- package/dist/components/p-923f67b5.entry.js +1 -0
- package/dist/components/p-93093977.entry.js +1 -0
- package/dist/components/{p-a91ab66e.entry.js → p-941240b5.entry.js} +1 -1
- package/dist/components/p-97e95520.entry.js +1 -0
- package/dist/components/p-9873ebec.entry.js +1 -0
- package/dist/components/{p-9eb2e870.entry.js → p-9a1a6df1.entry.js} +1 -1
- package/dist/components/{p-0e0106fc.entry.js → p-9cbcccf8.entry.js} +1 -1
- package/dist/components/p-a1d55013.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-b299b89a.entry.js +1 -0
- package/dist/components/p-b2b46793.entry.js +1 -0
- package/dist/components/p-b47d115d.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-bcbc7b7f.entry.js +1 -0
- package/dist/components/p-c1e4ef92.js +1 -0
- package/dist/components/p-c86243a3.entry.js +1 -0
- package/dist/components/p-c8abff96.entry.js +1 -0
- package/dist/components/p-cccff1e3.entry.js +1 -0
- package/dist/components/p-cd624044.entry.js +1 -0
- package/dist/components/p-cdc36ea8.entry.js +1 -0
- package/dist/components/p-cdf19579.js +1 -0
- package/dist/components/p-d525ed36.entry.js +1 -0
- package/dist/components/p-d94a44b9.entry.js +1 -0
- package/dist/components/p-d962849c.js +1 -0
- 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/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} +35 -30
- 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/components-section.entry.js +135 -0
- 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-alert.entry.js +11 -4
- package/dist/esm/eds-app-root.entry.js +1 -1
- package/dist/esm/eds-avatar_24.entry.js +2073 -0
- package/dist/esm/eds-breadcrumb.entry.js +6 -2
- package/dist/esm/{eds-avatar_4.entry.js → eds-card-desc_3.entry.js} +4 -70
- package/dist/esm/eds-card-generic.entry.js +1 -1
- 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 +2 -2
- package/dist/esm/eds-frame.entry.js +7 -13
- package/dist/esm/eds-icon-arrow-diagonal.entry.js +2 -2
- package/dist/esm/eds-icon-arrow-right.entry.js +1 -1
- package/dist/esm/eds-icon-bookmark.entry.js +14 -0
- 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 +14 -0
- package/dist/esm/eds-icon-gitlab.entry.js +1 -1
- package/dist/esm/eds-icon-loader.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-unknown.entry.js +14 -0
- package/dist/esm/eds-icon-updown.entry.js +14 -0
- 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 +398 -0
- package/dist/esm/eds-section-core_2.entry.js +3 -3
- 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 +5 -1
- 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 +82 -50
- 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} +30 -25
- 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 +1492 -1176
- package/dist/hydrate/index.mjs +1492 -1176
- package/dist/stencil.config.js +1 -32
- 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.d.ts +4 -2
- package/dist/types/components/eds-accordion/eds-accordion.stories.d.ts +1 -1
- package/dist/types/components/eds-alert/eds-alert.d.ts +5 -0
- package/dist/types/components/eds-alert/eds-alert.stories.d.ts +7 -0
- package/dist/types/components/eds-avatar/eds-avatar.d.ts +0 -2
- package/dist/types/components/eds-avatar/eds-avatar.stories.d.ts +0 -9
- package/dist/types/components/eds-breadcrump/eds-breadcrumb.stories.d.ts +8 -3
- package/dist/types/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.d.ts +3 -0
- package/dist/types/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.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-label/eds-input-label.d.ts +13 -0
- package/dist/types/components/eds-input-elements/eds-input-range/eds-input-range.d.ts +33 -0
- package/dist/types/components/eds-input-elements/eds-input-search/eds-input-search.d.ts +39 -0
- package/dist/types/components/eds-input-field/eds-input-field.d.ts +3 -0
- package/dist/types/components/eds-pagination/eds-pagination.stories.d.ts +0 -8
- package/dist/types/components/eds-steps/eds-steps.d.ts +17 -0
- package/dist/types/components/eds-table/eds-table.d.ts +5 -1
- package/dist/types/components.d.ts +594 -470
- 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-card-section/eds-card-section.stories.d.ts +1 -6
- package/dist/types/shared-ui/eds-footer/eds-footer.d.ts +4 -5
- package/dist/types/shared-ui/eds-footer/eds-footer.stories.d.ts +4 -9
- package/dist/types/{components/eds-form-v2/eds-form-v2.d.ts → shared-ui/eds-form/eds-form.d.ts} +2 -1
- package/dist/types/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.d.ts +10 -9
- package/dist/types/{eds-docs-ui → 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-matomo-notice/eds-matomo-notice.d.ts +11 -0
- package/dist/types/shared-ui/eds-splash-screen/eds-splash-screen.d.ts +2 -0
- package/dist/types/shared-ui/eds-steps-v2/eds-steps-v2.d.ts +57 -0
- package/dist/types/shared-ui/eds-user/eds-user.d.ts +13 -11
- package/dist/types/utils/eds-form/formUtils.d.ts +1 -1
- package/package.json +4 -4
- package/dist/cjs/eds-accordion_22.cjs.entry.js +0 -1959
- package/dist/cjs/eds-components-section.cjs.entry.js +0 -120
- package/dist/cjs/eds-dropdown.cjs.entry.js +0 -125
- package/dist/cjs/eds-form.cjs.entry.js +0 -344
- package/dist/cjs/eds-steps.cjs.entry.js +0 -55
- package/dist/cjs/eds-user.cjs.entry.js +0 -29
- package/dist/cjs/eds-vertical-stepper.cjs.entry.js +0 -45
- package/dist/cjs/formUtils-4315a99c.js +0 -228
- package/dist/cjs/token-spacing.cjs.entry.js +0 -16
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.stories.js +0 -31
- package/dist/collection/components/eds-form/eds-form.css +0 -7153
- package/dist/collection/components/eds-form/eds-form.js +0 -609
- package/dist/collection/components/eds-form/eds-form.stories.js +0 -86
- package/dist/collection/components/eds-form-v2/eds-form-v2.css +0 -7153
- package/dist/collection/components/eds-steps/eds-vertical-stepper.css +0 -78
- package/dist/collection/components/eds-steps/eds-vertical-stepper.js +0 -72
- 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/overview.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/eds-components-section.js +0 -171
- package/dist/components/eds-form-v2.js +0 -317
- package/dist/components/eds-vertical-stepper.d.ts +0 -11
- package/dist/components/eds-vertical-stepper.js +0 -86
- package/dist/components/formUtils.js +0 -223
- package/dist/components/p-033480b2.entry.js +0 -1
- package/dist/components/p-066f6d27.entry.js +0 -1
- package/dist/components/p-117d180f.entry.js +0 -1
- package/dist/components/p-2354daeb.entry.js +0 -1
- package/dist/components/p-2b31ca60.entry.js +0 -1
- package/dist/components/p-3368cfd5.entry.js +0 -1
- package/dist/components/p-33c5b937.entry.js +0 -1
- package/dist/components/p-467fe746.entry.js +0 -1
- package/dist/components/p-46a6042d.entry.js +0 -1
- package/dist/components/p-4a860d5b.entry.js +0 -1
- package/dist/components/p-4ac27fe7.entry.js +0 -1
- package/dist/components/p-4b2e6f03.entry.js +0 -1
- package/dist/components/p-5520a3b6.entry.js +0 -1
- package/dist/components/p-552b6a50.entry.js +0 -1
- package/dist/components/p-56b4e0fe.entry.js +0 -1
- package/dist/components/p-5aff1ea0.entry.js +0 -1
- package/dist/components/p-5e63e8a5.entry.js +0 -1
- package/dist/components/p-60e7e745.entry.js +0 -1
- package/dist/components/p-6fd0c3b3.entry.js +0 -1
- package/dist/components/p-77cc7c02.entry.js +0 -1
- package/dist/components/p-79c14cf1.entry.js +0 -1
- package/dist/components/p-7dd81017.entry.js +0 -1
- package/dist/components/p-7e0dd5d8.entry.js +0 -1
- package/dist/components/p-80dba155.js +0 -1
- package/dist/components/p-8154d013.entry.js +0 -1
- package/dist/components/p-86eed1b7.entry.js +0 -1
- package/dist/components/p-90503a64.entry.js +0 -1
- package/dist/components/p-90f85604.entry.js +0 -1
- package/dist/components/p-94698510.entry.js +0 -1
- package/dist/components/p-950ecb1c.entry.js +0 -1
- package/dist/components/p-9b9fba38.entry.js +0 -1
- package/dist/components/p-9ebc84d6.entry.js +0 -1
- package/dist/components/p-a6cd418e.entry.js +0 -1
- package/dist/components/p-a8dd1953.entry.js +0 -1
- package/dist/components/p-ab292dd5.entry.js +0 -1
- package/dist/components/p-b80a9020.entry.js +0 -1
- package/dist/components/p-c06d4f14.entry.js +0 -1
- package/dist/components/p-c12d9350.entry.js +0 -1
- package/dist/components/p-c3dda942.entry.js +0 -1
- package/dist/components/p-c6b32753.entry.js +0 -1
- package/dist/components/p-e9a533e0.entry.js +0 -1
- package/dist/components/p-eac63c82.entry.js +0 -1
- package/dist/components/p-f5959676.entry.js +0 -1
- package/dist/components/p-fba4080d.entry.js +0 -1
- package/dist/components/p-fc619588.entry.js +0 -1
- package/dist/components/p-fcc32210.entry.js +0 -1
- package/dist/eds/components.js +0 -18
- package/dist/eds/components.js.map +0 -1
- package/dist/esm/eds-accordion_22.entry.js +0 -1934
- package/dist/esm/eds-components-section.entry.js +0 -116
- package/dist/esm/eds-dropdown.entry.js +0 -121
- package/dist/esm/eds-form.entry.js +0 -340
- package/dist/esm/eds-user.entry.js +0 -25
- package/dist/esm/eds-vertical-stepper.entry.js +0 -41
- package/dist/esm/formUtils-ac68474d.js +0 -223
- package/dist/esm/token-spacing.entry.js +0 -12
- package/dist/types/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.stories.d.ts +0 -32
- package/dist/types/components/eds-form/eds-form.d.ts +0 -148
- package/dist/types/components/eds-form/eds-form.stories.d.ts +0 -42
- package/dist/types/components/eds-steps/eds-vertical-stepper.d.ts +0 -22
- 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/types/{components/eds-form-v2/eds-form-v2.stories.d.ts → shared-ui/eds-form/eds-form.stories.d.ts} +0 -0
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
display: block;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.stepper-container {
|
|
6
|
-
/*max-width: 400px;*/
|
|
7
|
-
margin: 0 auto;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.stepper {
|
|
11
|
-
position: sticky;
|
|
12
|
-
margin-left: 16px;
|
|
13
|
-
margin-bottom: 12px;
|
|
14
|
-
border-left: 1px solid var(--soft-color, #ddd); /* replace var() with your color if needed */
|
|
15
|
-
padding-left: 24px;
|
|
16
|
-
counter-reset: step;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.step {
|
|
20
|
-
margin-bottom: 24px;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.step-label {
|
|
24
|
-
counter-increment: step;
|
|
25
|
-
/* Example font style; adjust to your design */
|
|
26
|
-
font-size: 1.25rem;
|
|
27
|
-
font-weight: 600;
|
|
28
|
-
position: relative;
|
|
29
|
-
margin-top: 1em;
|
|
30
|
-
margin-bottom: 1em;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/* Numbering similar to CSS counters */
|
|
34
|
-
.step-label::before {
|
|
35
|
-
content: counter(step);
|
|
36
|
-
position: absolute;
|
|
37
|
-
left: -40px;
|
|
38
|
-
top: 0;
|
|
39
|
-
display: flex;
|
|
40
|
-
align-items: center;
|
|
41
|
-
justify-content: center;
|
|
42
|
-
width: 30px;
|
|
43
|
-
height: 30px;
|
|
44
|
-
font-size: 1rem;
|
|
45
|
-
border: 1px solid #ccc; /* adjust border style as needed */
|
|
46
|
-
background:var(--grey-900); /* adjust background color as needed */
|
|
47
|
-
color: #fff; /* adjust text color as needed */
|
|
48
|
-
border-radius: 50%;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.optional {
|
|
52
|
-
font-size: 0.8rem;
|
|
53
|
-
color: #888;
|
|
54
|
-
margin-left: 8px;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.step-content {
|
|
58
|
-
/*margin-left: 16px;*/
|
|
59
|
-
margin-top: 8px;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.step-buttons {
|
|
63
|
-
margin-top: 12px;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.step-buttons button {
|
|
67
|
-
margin-right: 8px;
|
|
68
|
-
padding: 6px 12px;
|
|
69
|
-
font-size: 0.875rem;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.completed {
|
|
73
|
-
padding: 16px;
|
|
74
|
-
border: 1px solid #ddd;
|
|
75
|
-
margin-top: 16px;
|
|
76
|
-
text-align: center;
|
|
77
|
-
}
|
|
78
|
-
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { h } from "@stencil/core";
|
|
2
|
-
export class EdsVerticalStepper {
|
|
3
|
-
constructor() {
|
|
4
|
-
this.handleNext = () => {
|
|
5
|
-
if (this.activeStep < this.parsedSteps.length) {
|
|
6
|
-
this.activeStep = this.activeStep + 1;
|
|
7
|
-
}
|
|
8
|
-
};
|
|
9
|
-
this.handleBack = () => {
|
|
10
|
-
if (this.activeStep > 0) {
|
|
11
|
-
this.activeStep = this.activeStep - 1;
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
this.handleReset = () => {
|
|
15
|
-
this.activeStep = 0;
|
|
16
|
-
};
|
|
17
|
-
this.steps = '[]';
|
|
18
|
-
this.activeStep = 0;
|
|
19
|
-
}
|
|
20
|
-
get parsedSteps() {
|
|
21
|
-
try {
|
|
22
|
-
return JSON.parse(this.steps);
|
|
23
|
-
}
|
|
24
|
-
catch (error) {
|
|
25
|
-
//console.error('Invalid steps JSON', error);
|
|
26
|
-
return [];
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
render() {
|
|
30
|
-
const steps = this.parsedSteps;
|
|
31
|
-
return (h("div", { key: '89344ad340f9eb8d20f463d3990ec4832cbdc900', class: "stepper-container" }, h("div", { key: 'da8d7fae2b30cfc93d04d5d8c3a61d95ccf91383', class: "stepper" }, steps.map((step, index) => (h("div", { class: "step", key: index }, h("div", { class: "step-label" }, h("span", null, step.label), index === steps.length - 1 && h("span", { class: "f-ui-03 text-lightest ml-4" }, "(Last step)")), this.activeStep === index && (h("div", { class: "step-content" }, h("p", null, step.description), h("div", { class: "step-buttons" }, h("eds-button", { label: index === steps.length - 1 ? 'Finish' : 'Continue', class: "next-btn", onClick: this.handleNext }), h("eds-button", { label: "Back", intent: "ghostInverse", onClick: this.handleBack, disabled: index === 0, "extra-class": index === 0 ? 'hidden' : 'ml-8 block' })))))))), this.activeStep === steps.length && (h("div", { key: '1e3272723281d9a10603b4d1e79badfdd6591cc5', class: "" }, h("eds-alert", { key: '7cc81e7e7097891364ff9894d383fd7bb9f7fce4', intent: "success", message: "All steps completed - you're finished!" }), h("eds-button", { key: 'a4d68698fa7831c7e2b6afae435979ccac46a726', label: "Start again", onClick: this.handleReset, "extra-class": "mt-4" })))));
|
|
32
|
-
}
|
|
33
|
-
static get is() { return "eds-vertical-stepper"; }
|
|
34
|
-
static get encapsulation() { return "shadow"; }
|
|
35
|
-
static get originalStyleUrls() {
|
|
36
|
-
return {
|
|
37
|
-
"$": ["eds-vertical-stepper.css"]
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
static get styleUrls() {
|
|
41
|
-
return {
|
|
42
|
-
"$": ["eds-vertical-stepper.css"]
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
static get properties() {
|
|
46
|
-
return {
|
|
47
|
-
"steps": {
|
|
48
|
-
"type": "string",
|
|
49
|
-
"mutable": false,
|
|
50
|
-
"complexType": {
|
|
51
|
-
"original": "string",
|
|
52
|
-
"resolved": "string",
|
|
53
|
-
"references": {}
|
|
54
|
-
},
|
|
55
|
-
"required": false,
|
|
56
|
-
"optional": false,
|
|
57
|
-
"docs": {
|
|
58
|
-
"tags": [],
|
|
59
|
-
"text": "JSON string containing an array of steps.\nExample:\n'[\n { \"label\": \"Select campaign settings\", \"description\": \"For each ad campaign...\" },\n { \"label\": \"Create an ad group\", \"description\": \"An ad group contains one or more ads...\" },\n { \"label\": \"Create an ad\", \"description\": \"Try out different ad text...\" }\n]'"
|
|
60
|
-
},
|
|
61
|
-
"attribute": "steps",
|
|
62
|
-
"reflect": false,
|
|
63
|
-
"defaultValue": "'[]'"
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
static get states() {
|
|
68
|
-
return {
|
|
69
|
-
"activeStep": {}
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { h } from "@stencil/core";
|
|
2
|
-
export const EdsDocsAngular = () => (h("div", null, h("h2", null, "Angular Wrappers"), h("p", null, "Learn how to use our components in a Angular Application."), h("eds-code-block", { code: "npm install @ebrains/angular", language: "javascript", "copy-label": "Copy Code" }), h("p", null, "Define the custom elements"), h("eds-code-block", { code: "import { defineCustomElements } from '@ebrains/components/loader';\ndefineCustomElements();", language: "javascript", "copy-label": "Copy Code" }), h("p", null, "Angular Custom Elements Schema"), h("eds-code-block", { code: 'import { CUSTOM_ELEMENTS_SCHEMA } from "@angular/core";', language: "javascript", "copy-label": "Copy Code" }), h("eds-section-core", { "section-title": "Example Angular App", "heading-level": "h3" }, 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" }))));
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { h } from "@stencil/core";
|
|
2
|
-
export const EdsDocsInstallation = () => (h("div", null, 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."), h("div", { class: "my-8" }, h("eds-code-block", { code: "npm install @ebrains/components", language: "html", "copy-label": "Copy Code" })), h("div", { class: "my-8" }, h("eds-code-block", { code: "npm install @ebrains/assets", language: "html", "copy-label": "Copy Code" })), h("div", { class: "my-8" }, h("eds-code-block", { code: "npm install @ebrains/react", language: "html", "copy-label": "Copy Code" })), h("div", { class: "my-8" }, h("eds-code-block", { code: "npm install @ebrains/vue", language: "html", "copy-label": "Copy Code" })), h("div", { class: "my-8" }, h("eds-code-block", { code: "npm install @ebrains/angular", language: "html", "copy-label": "Copy Code" }))));
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { h } from "@stencil/core";
|
|
2
|
-
export const EdsComponentsOverview = () => (h("div", { class: "static-content container" }, h("h2", null, "Load the module"), h("p", null, "Integrating EDSs 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", ' ', h("code", null, "head"), "."), h("eds-code-block", { code: "<script type='module'>\n import { defineCustomElements } from 'https://unpkg.com/@ebrains/components@latest/loader/index.js'; \n // Define custom elements\n defineCustomElements(window);\n</script>", language: "javascript", "copy-label": "Copy Code" }), h("h2", null, "Load the styles"), h("p", null, "To directly use the produced css framework with a few predefined custom utility classes, add the tag below to the", ' ', h("code", null, "head")), h("eds-code-block", { code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/output.css"/>', language: "css", "copy-label": "Copy Code" }), h("div", { class: "my-4" }, h("eds-alert", { message: "Note that, loading the predefined CSS framework above, automatically loads the fonts so you can skip loading them separately.", intent: "warning" })), h("h2", null, "Load the fonts"), h("p", null, "To load the webfonts, add the tag below to the ", h("code", null, "head")), h("eds-code-block", { code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@0.0.1/styles/base/fonts.css"/>', language: "css", "copy-label": "Copy Code" }), h("h2", null, "Component Usage"), h("p", null, "Once included, components can be used in your markup like any other regular HTML elements:"), h("eds-code-block", { code: '<eds-button \n label="my bytton" \n intent="primary">\n</eds-button>', language: "html", "copy-label": "Copy Code" })));
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { h } from "@stencil/core";
|
|
2
|
-
export const EdsDocsReact = () => (h("div", null, h("h2", null, "React Wrappers"), h("p", null, "Learn how to use our components in a React Application.Simple install the package below and check out the examples"), h("div", { class: "my-8" }, h("eds-code-block", { code: "npm install @ebrains/react", language: "javascript", "copy-label": "Copy Code" })), h("eds-section-core", { "section-title": "Example React App", "heading-level": "h3" }, h("eds-code-block", { code: '\nimport {\n EdsHeader,\n EdsFullscreenMenu,\n EdsUser\n} from "@ebrains/react";\n\ninterface User {\n firstname: string;\n lastname: string;\n // Add any other properties your user object might have\n}\n\ninterface AuthStatus {\n authenticated: boolean;\n user: User | null;\n}\n\nimport { useEffect, useState } from "react";\n\nexport function App() {\n const [authStatus, setAuthStatus] = useState<AuthStatus>({\n authenticated: false,\n user: null,\n });\n const [activeTabIndex, setActiveTabIndex] = useState<number>(0);\n\n // Use useEffect to render Stencil components dynamically after the component mounts\n useEffect(() => {\n const handleAuthStatusChange = (event: CustomEvent) => {\n console.log(event.detail);\n setAuthStatus(event.detail); // Set the entire object\n };\n\n document.addEventListener(\n "authStatusChanged",\n handleAuthStatusChange as EventListener,\n );\n\n return () => {\n document.removeEventListener(\n "authStatusChanged",\n handleAuthStatusChange as EventListener,\n );\n };\n }, []);\n\n return (\n <div>\n <EdsHeader\n homeUrl="/"\n menuEnabled={true}\n inverseHeader={false}\n links={[\n { label: "About", url: "#" },\n { label: "Focus Areas", url: "#" },\n { label: "News & Events", url: "#" },\n { label: "Contact", url: "#" }\n ]}\n >\n <div className="px-16">\n <EdsUser\n keycloak-url="http://localhost:8080"\n keycloak-realm="nigeor-realm"\n keycloak-client-id="stencil-app"\n ></EdsUser>\n </div>\n </EdsHeader>\n\n <EdsFullscreenMenu\n home-url="/"\n links={[\n { label: "About", url: "#" },\n { label: "Focus Areas", url: "#" },\n { label: "News & Events", url: "#" },\n { label: "Contact", url: "#" }\n ]}\n ></EdsFullscreenMenu>\n \n <div>\n User is{" "}\n {authStatus.authenticated ? "authenticated" : "not authenticated"}\n </div>\n {authStatus.user && <div>Welcome, {authStatus.user.firstname}</div>}\n\n <div id="main"></div>\n </div>\n );\n}\n\nexport default App;\n\n', language: "javascript", "copy-label": "Copy Code" }))));
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { h } from "@stencil/core";
|
|
2
|
-
export const EdsDocsVue = () => (h("div", null, h("h2", null, "Vue Wrappers"), h("p", null, "Learn how to use our components in a Vue Application."), h("p", null, "Simply install the latest version of our NPM package."), h("eds-code-block", { code: "npm install @ebrains/vue", language: "javascript", "copy-label": "Copy Code" }), h("p", null, "Our NPM package already includes the custom elements definitions. However, you can use the components as they are by simply importing and executing the initialization command in your \"main.ts\" file."), h("eds-code-block", { code: "import { defineCustomElements } from '@ebrains/components/loader';\ndefineCustomElements();", language: "javascript", "copy-label": "Copy Code" }), h("h2", null, "Passing Properties to Custom Elements Using the ", h("b", null, ".prop"), " Modifier in Vue Wrappers"), h("p", null, "When using Vue wrappers for Stencil components (or any custom elements), you might encounter issues with property names being altered due to HTML\u2019s attribute handling. By default, Vue binds values as HTML attributes, and HTML attributes are case-insensitive. This means that camelCase property names can be transformed into lowercase strings, which can prevent your component from receiving the correct data."), h("h3", null, "How to Use the ", h("b", null, ".prop"), " Modifier"), h("p", null, "When using Vue wrappers, you can pass properties with the .prop modifier by adding it to your binding expression. Here\u2019s an example of how to do it:"), h("div", { class: "mt-8" }, h("eds-alert", { message: "This may lead to issues because Vue binds these as attributes .", intent: "error" })), 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" }), h("div", { class: "mt-8" }, h("eds-alert", { message: "Use the .prop modifier to ensure properties are passed correctly.", intent: "success" })), 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" }), h("p", null, "Using the ", h("b", null, ".prop"), " 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."), h("eds-section-core", { "section-title": "Example Vue App", "heading-level": "h3" }, h("eds-code-block", { code: '\n<template>\n <EdsHeader \n :inverseHeader.prop="true"\n :menuEnabled.prop="true">\n </EdsHeader>\n</template>\n\n<script>\n\nimport { EdsHeader } from "@ebrains/vue";\n\nexport default {\n name: "App",\n components: {\n EdsHeader,\n }\n};\n</script>\n', language: "javascript", "copy-label": "Copy Code" }))));
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface EdsComponentsSection extends Components.EdsComponentsSection, HTMLElement {}
|
|
4
|
-
export const EdsComponentsSection: {
|
|
5
|
-
prototype: EdsComponentsSection;
|
|
6
|
-
new (): EdsComponentsSection;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
import { h, proxyCustomElement, HTMLElement } from '@stencil/core/internal/client';
|
|
2
|
-
import { d as defineCustomElement$7 } from './eds-alert2.js';
|
|
3
|
-
import { d as defineCustomElement$6 } from './eds-code-block2.js';
|
|
4
|
-
import { d as defineCustomElement$5 } from './eds-icon-wrapper2.js';
|
|
5
|
-
import { d as defineCustomElement$4 } from './eds-link2.js';
|
|
6
|
-
import { d as defineCustomElement$3 } from './eds-section-core2.js';
|
|
7
|
-
import { d as defineCustomElement$2 } from './eds-section-heading2.js';
|
|
8
|
-
|
|
9
|
-
const EdsComponentsOverview = () => (h("div", { class: "static-content container" },
|
|
10
|
-
h("h2", null, "Load the module"),
|
|
11
|
-
h("p", null,
|
|
12
|
-
"Integrating EDSs 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",
|
|
13
|
-
' ',
|
|
14
|
-
h("code", null, "head"),
|
|
15
|
-
"."),
|
|
16
|
-
h("eds-code-block", { code: "<script type='module'>\n import { defineCustomElements } from 'https://unpkg.com/@ebrains/components@latest/loader/index.js'; \n // Define custom elements\n defineCustomElements(window);\n</script>", language: "javascript", "copy-label": "Copy Code" }),
|
|
17
|
-
h("h2", null, "Load the styles"),
|
|
18
|
-
h("p", null,
|
|
19
|
-
"To directly use the produced css framework with a few predefined custom utility classes, add the tag below to the",
|
|
20
|
-
' ',
|
|
21
|
-
h("code", null, "head")),
|
|
22
|
-
h("eds-code-block", { code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/output.css"/>', language: "css", "copy-label": "Copy Code" }),
|
|
23
|
-
h("div", { class: "my-4" },
|
|
24
|
-
h("eds-alert", { message: "Note that, loading the predefined CSS framework above, automatically loads the fonts so you can skip loading them separately.", intent: "warning" })),
|
|
25
|
-
h("h2", null, "Load the fonts"),
|
|
26
|
-
h("p", null,
|
|
27
|
-
"To load the webfonts, add the tag below to the ",
|
|
28
|
-
h("code", null, "head")),
|
|
29
|
-
h("eds-code-block", { code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@0.0.1/styles/base/fonts.css"/>', language: "css", "copy-label": "Copy Code" }),
|
|
30
|
-
h("h2", null, "Component Usage"),
|
|
31
|
-
h("p", null, "Once included, components can be used in your markup like any other regular HTML elements:"),
|
|
32
|
-
h("eds-code-block", { code: '<eds-button \n label="my bytton" \n intent="primary">\n</eds-button>', language: "html", "copy-label": "Copy Code" })));
|
|
33
|
-
|
|
34
|
-
const EdsDocsInstallation = () => (h("div", null,
|
|
35
|
-
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."),
|
|
36
|
-
h("div", { class: "my-8" },
|
|
37
|
-
h("eds-code-block", { code: "npm install @ebrains/components", language: "html", "copy-label": "Copy Code" })),
|
|
38
|
-
h("div", { class: "my-8" },
|
|
39
|
-
h("eds-code-block", { code: "npm install @ebrains/assets", language: "html", "copy-label": "Copy Code" })),
|
|
40
|
-
h("div", { class: "my-8" },
|
|
41
|
-
h("eds-code-block", { code: "npm install @ebrains/react", language: "html", "copy-label": "Copy Code" })),
|
|
42
|
-
h("div", { class: "my-8" },
|
|
43
|
-
h("eds-code-block", { code: "npm install @ebrains/vue", language: "html", "copy-label": "Copy Code" })),
|
|
44
|
-
h("div", { class: "my-8" },
|
|
45
|
-
h("eds-code-block", { code: "npm install @ebrains/angular", language: "html", "copy-label": "Copy Code" }))));
|
|
46
|
-
|
|
47
|
-
const EdsDocsReact = () => (h("div", null,
|
|
48
|
-
h("h2", null, "React Wrappers"),
|
|
49
|
-
h("p", null, "Learn how to use our components in a React Application.Simple install the package below and check out the examples"),
|
|
50
|
-
h("div", { class: "my-8" },
|
|
51
|
-
h("eds-code-block", { code: "npm install @ebrains/react", language: "javascript", "copy-label": "Copy Code" })),
|
|
52
|
-
h("eds-section-core", { "section-title": "Example React App", "heading-level": "h3" },
|
|
53
|
-
h("eds-code-block", { code: '\nimport {\n EdsHeader,\n EdsFullscreenMenu,\n EdsUser\n} from "@ebrains/react";\n\ninterface User {\n firstname: string;\n lastname: string;\n // Add any other properties your user object might have\n}\n\ninterface AuthStatus {\n authenticated: boolean;\n user: User | null;\n}\n\nimport { useEffect, useState } from "react";\n\nexport function App() {\n const [authStatus, setAuthStatus] = useState<AuthStatus>({\n authenticated: false,\n user: null,\n });\n const [activeTabIndex, setActiveTabIndex] = useState<number>(0);\n\n // Use useEffect to render Stencil components dynamically after the component mounts\n useEffect(() => {\n const handleAuthStatusChange = (event: CustomEvent) => {\n console.log(event.detail);\n setAuthStatus(event.detail); // Set the entire object\n };\n\n document.addEventListener(\n "authStatusChanged",\n handleAuthStatusChange as EventListener,\n );\n\n return () => {\n document.removeEventListener(\n "authStatusChanged",\n handleAuthStatusChange as EventListener,\n );\n };\n }, []);\n\n return (\n <div>\n <EdsHeader\n homeUrl="/"\n menuEnabled={true}\n inverseHeader={false}\n links={[\n { label: "About", url: "#" },\n { label: "Focus Areas", url: "#" },\n { label: "News & Events", url: "#" },\n { label: "Contact", url: "#" }\n ]}\n >\n <div className="px-16">\n <EdsUser\n keycloak-url="http://localhost:8080"\n keycloak-realm="nigeor-realm"\n keycloak-client-id="stencil-app"\n ></EdsUser>\n </div>\n </EdsHeader>\n\n <EdsFullscreenMenu\n home-url="/"\n links={[\n { label: "About", url: "#" },\n { label: "Focus Areas", url: "#" },\n { label: "News & Events", url: "#" },\n { label: "Contact", url: "#" }\n ]}\n ></EdsFullscreenMenu>\n \n <div>\n User is{" "}\n {authStatus.authenticated ? "authenticated" : "not authenticated"}\n </div>\n {authStatus.user && <div>Welcome, {authStatus.user.firstname}</div>}\n\n <div id="main"></div>\n </div>\n );\n}\n\nexport default App;\n\n', language: "javascript", "copy-label": "Copy Code" }))));
|
|
54
|
-
|
|
55
|
-
const EdsDocsVue = () => (h("div", null,
|
|
56
|
-
h("h2", null, "Vue Wrappers"),
|
|
57
|
-
h("p", null, "Learn how to use our components in a Vue Application."),
|
|
58
|
-
h("p", null, "Simply install the latest version of our NPM package."),
|
|
59
|
-
h("eds-code-block", { code: "npm install @ebrains/vue", language: "javascript", "copy-label": "Copy Code" }),
|
|
60
|
-
h("p", null, "Our NPM package already includes the custom elements definitions. However, you can use the components as they are by simply importing and executing the initialization command in your \"main.ts\" file."),
|
|
61
|
-
h("eds-code-block", { code: "import { defineCustomElements } from '@ebrains/components/loader';\ndefineCustomElements();", language: "javascript", "copy-label": "Copy Code" }),
|
|
62
|
-
h("h2", null,
|
|
63
|
-
"Passing Properties to Custom Elements Using the ",
|
|
64
|
-
h("b", null, ".prop"),
|
|
65
|
-
" Modifier in Vue Wrappers"),
|
|
66
|
-
h("p", null, "When using Vue wrappers for Stencil components (or any custom elements), you might encounter issues with property names being altered due to HTML\u2019s attribute handling. By default, Vue binds values as HTML attributes, and HTML attributes are case-insensitive. This means that camelCase property names can be transformed into lowercase strings, which can prevent your component from receiving the correct data."),
|
|
67
|
-
h("h3", null,
|
|
68
|
-
"How to Use the ",
|
|
69
|
-
h("b", null, ".prop"),
|
|
70
|
-
" Modifier"),
|
|
71
|
-
h("p", null, "When using Vue wrappers, you can pass properties with the .prop modifier by adding it to your binding expression. Here\u2019s an example of how to do it:"),
|
|
72
|
-
h("div", { class: "mt-8" },
|
|
73
|
-
h("eds-alert", { message: "This may lead to issues because Vue binds these as attributes .", intent: "error" })),
|
|
74
|
-
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" }),
|
|
75
|
-
h("div", { class: "mt-8" },
|
|
76
|
-
h("eds-alert", { message: "Use the .prop modifier to ensure properties are passed correctly.", intent: "success" })),
|
|
77
|
-
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" }),
|
|
78
|
-
h("p", null,
|
|
79
|
-
"Using the ",
|
|
80
|
-
h("b", null, ".prop"),
|
|
81
|
-
" 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."),
|
|
82
|
-
h("eds-section-core", { "section-title": "Example Vue App", "heading-level": "h3" },
|
|
83
|
-
h("eds-code-block", { code: '\n<template>\n <EdsHeader \n :inverseHeader.prop="true"\n :menuEnabled.prop="true">\n </EdsHeader>\n</template>\n\n<script>\n\nimport { EdsHeader } from "@ebrains/vue";\n\nexport default {\n name: "App",\n components: {\n EdsHeader,\n }\n};\n</script>\n', language: "javascript", "copy-label": "Copy Code" }))));
|
|
84
|
-
|
|
85
|
-
const EdsDocsAngular = () => (h("div", null,
|
|
86
|
-
h("h2", null, "Angular Wrappers"),
|
|
87
|
-
h("p", null, "Learn how to use our components in a Angular Application."),
|
|
88
|
-
h("eds-code-block", { code: "npm install @ebrains/angular", language: "javascript", "copy-label": "Copy Code" }),
|
|
89
|
-
h("p", null, "Define the custom elements"),
|
|
90
|
-
h("eds-code-block", { code: "import { defineCustomElements } from '@ebrains/components/loader';\ndefineCustomElements();", language: "javascript", "copy-label": "Copy Code" }),
|
|
91
|
-
h("p", null, "Angular Custom Elements Schema"),
|
|
92
|
-
h("eds-code-block", { code: 'import { CUSTOM_ELEMENTS_SCHEMA } from "@angular/core";', language: "javascript", "copy-label": "Copy Code" }),
|
|
93
|
-
h("eds-section-core", { "section-title": "Example Angular App", "heading-level": "h3" },
|
|
94
|
-
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" }))));
|
|
95
|
-
|
|
96
|
-
const EdsComponentsSection$1 = /*@__PURE__*/ proxyCustomElement(class EdsComponentsSection extends HTMLElement {
|
|
97
|
-
constructor() {
|
|
98
|
-
super();
|
|
99
|
-
this.__registerHost();
|
|
100
|
-
this.tabIndex = undefined;
|
|
101
|
-
}
|
|
102
|
-
renderContent() {
|
|
103
|
-
switch (this.tabIndex) {
|
|
104
|
-
case 0:
|
|
105
|
-
return h(EdsComponentsOverview, null);
|
|
106
|
-
case 1:
|
|
107
|
-
return h(EdsDocsInstallation, null);
|
|
108
|
-
case 2:
|
|
109
|
-
return h(EdsDocsReact, null);
|
|
110
|
-
case 3:
|
|
111
|
-
return h(EdsDocsVue, null);
|
|
112
|
-
case 4:
|
|
113
|
-
return h(EdsDocsAngular, null);
|
|
114
|
-
default:
|
|
115
|
-
return h("p", null, "Content not available.");
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
render() {
|
|
119
|
-
return h("div", { key: '69eda93b8845c5fdf5edc0f58ede763866b5f8c7', class: "container" }, this.renderContent());
|
|
120
|
-
}
|
|
121
|
-
}, [0, "eds-components-section", {
|
|
122
|
-
"tabIndex": [2, "tab-index"]
|
|
123
|
-
}]);
|
|
124
|
-
function defineCustomElement$1() {
|
|
125
|
-
if (typeof customElements === "undefined") {
|
|
126
|
-
return;
|
|
127
|
-
}
|
|
128
|
-
const components = ["eds-components-section", "eds-alert", "eds-code-block", "eds-icon-wrapper", "eds-link", "eds-section-core", "eds-section-heading"];
|
|
129
|
-
components.forEach(tagName => { switch (tagName) {
|
|
130
|
-
case "eds-components-section":
|
|
131
|
-
if (!customElements.get(tagName)) {
|
|
132
|
-
customElements.define(tagName, EdsComponentsSection$1);
|
|
133
|
-
}
|
|
134
|
-
break;
|
|
135
|
-
case "eds-alert":
|
|
136
|
-
if (!customElements.get(tagName)) {
|
|
137
|
-
defineCustomElement$7();
|
|
138
|
-
}
|
|
139
|
-
break;
|
|
140
|
-
case "eds-code-block":
|
|
141
|
-
if (!customElements.get(tagName)) {
|
|
142
|
-
defineCustomElement$6();
|
|
143
|
-
}
|
|
144
|
-
break;
|
|
145
|
-
case "eds-icon-wrapper":
|
|
146
|
-
if (!customElements.get(tagName)) {
|
|
147
|
-
defineCustomElement$5();
|
|
148
|
-
}
|
|
149
|
-
break;
|
|
150
|
-
case "eds-link":
|
|
151
|
-
if (!customElements.get(tagName)) {
|
|
152
|
-
defineCustomElement$4();
|
|
153
|
-
}
|
|
154
|
-
break;
|
|
155
|
-
case "eds-section-core":
|
|
156
|
-
if (!customElements.get(tagName)) {
|
|
157
|
-
defineCustomElement$3();
|
|
158
|
-
}
|
|
159
|
-
break;
|
|
160
|
-
case "eds-section-heading":
|
|
161
|
-
if (!customElements.get(tagName)) {
|
|
162
|
-
defineCustomElement$2();
|
|
163
|
-
}
|
|
164
|
-
break;
|
|
165
|
-
} });
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
const EdsComponentsSection = EdsComponentsSection$1;
|
|
169
|
-
const defineCustomElement = defineCustomElement$1;
|
|
170
|
-
|
|
171
|
-
export { EdsComponentsSection, defineCustomElement };
|