@ebrains/components 0.8.0-alpha.0 → 0.9.1-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/LICENSE +21 -0
- package/README.md +5 -366
- 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_26.cjs.entry.js} +1031 -218
- package/dist/cjs/{eds-card-desc_3.cjs.entry.js → eds-card-desc_2.cjs.entry.js} +0 -35
- package/dist/cjs/eds-card-generic.cjs.entry.js +2 -2
- 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 +9 -9
- 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 +4 -4
- package/dist/cjs/eds-tabs.cjs.entry.js +5 -5
- 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 +76 -40
- 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 +5 -5
- package/dist/collection/components/eds-accordion/eds-accordion.stories.js +1 -1
- package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +8 -1
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.css +5 -0
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.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 +18 -6
- 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 +9 -9
- 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 +5 -2
- package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
- package/dist/collection/components/eds-switch/eds-switch.js +5 -5
- package/dist/collection/components/eds-table/eds-table.js +4 -4
- package/dist/collection/components/eds-tag/eds-tag.css +45 -0
- package/dist/collection/components/eds-tag/eds-tag.js +31 -5
- package/dist/collection/components/eds-tag/eds-tag.stories.js +11 -4
- package/dist/collection/components/eds-timeline/eds-timeline.css +51 -13
- 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-matomo-notice/eds-matomo-notice.js +3 -3
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +3 -3
- package/dist/collection/shared-ui/eds-splash-screen/eds-splash-screen.js +25 -13
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +51 -13
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +5 -5
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
- package/dist/collection/shared-ui/eds-user/eds-user.css +51 -13
- 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 +51 -13
- 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 +6 -6
- package/dist/components/eds-app-root.js +1 -1
- package/dist/components/eds-breadcrumb.js +8 -1
- package/dist/components/eds-card-generic2.js +2 -2
- 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-matomo-notice2.js +3 -3
- package/dist/components/eds-modal.js +10 -10
- 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 +3 -3
- package/dist/components/eds-spinner2.js +1 -1
- package/dist/components/eds-splash-screen2.js +25 -14
- package/dist/components/eds-switch.js +4 -4
- package/dist/components/eds-table2.js +4 -4
- package/dist/components/eds-tabs.js +6 -6
- package/dist/components/eds-tag2.js +15 -6
- 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-0467ceb5.entry.js +1 -0
- package/dist/components/p-05754401.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-07ba7c89.entry.js → p-1309a74c.entry.js} +1 -1
- 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-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-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-435a8942.entry.js +1 -0
- package/dist/components/p-4620ebf5.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-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-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-abaf04e1.entry.js → p-94b1f974.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-b73410de.js +1 -0
- package/dist/components/p-b76aa402.entry.js +1 -0
- package/dist/components/p-b931a634.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-c1e4ef92.js +1 -0
- package/dist/components/{p-9cbcccf8.entry.js → p-c5c782e7.entry.js} +1 -1
- 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-c99745a8.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-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-e42eb100.entry.js +1 -0
- package/dist/components/{p-f2e66c82.entry.js → p-e64cd6f7.entry.js} +1 -1
- package/dist/components/{p-5cf480a8.entry.js → p-e710c860.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-f4ce515a.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_26.entry.js} +1022 -218
- package/dist/esm/{eds-card-desc_3.entry.js → eds-card-desc_2.entry.js} +1 -35
- package/dist/esm/eds-card-generic.entry.js +2 -2
- 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 +9 -9
- 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 +4 -4
- package/dist/esm/eds-tabs.entry.js +5 -5
- 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 +76 -40
- 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 +1163 -631
- package/dist/hydrate/index.mjs +1163 -631
- package/dist/stencil.config.js +17 -2
- 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 +1 -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/eds-modal/eds-modal.d.ts +1 -1
- package/dist/types/components/eds-section/eds-section-heading/eds-section-heading.d.ts +3 -0
- package/dist/types/components/eds-switch/eds-switch.d.ts +1 -1
- package/dist/types/components/eds-tag/eds-tag.d.ts +5 -1
- package/dist/types/components/eds-tag/eds-tag.stories.d.ts +7 -0
- package/dist/types/components.d.ts +404 -237
- 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-matomo-notice/eds-matomo-notice.d.ts +1 -1
- package/dist/types/shared-ui/eds-social-networks/eds-social-networks.d.ts +1 -1
- package/dist/types/shared-ui/eds-splash-screen/eds-splash-screen.d.ts +2 -0
- package/dist/types/shared-ui/eds-tabs/eds-tabs.d.ts +1 -1
- package/dist/types/utils/eds-form/formUtils.d.ts +1 -1
- package/package.json +4 -4
- package/dist/cjs/eds-breadcrumb.cjs.entry.js +0 -139
- 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-a6bf9bf8.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-b47d115d.entry.js +0 -1
- package/dist/components/p-ceac6200.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-breadcrumb.entry.js +0 -135
- 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
|
@@ -141,7 +141,10 @@ function validateInputField(field, value, formEl) {
|
|
|
141
141
|
/**
|
|
142
142
|
* Updates state values based on draft data and, after a delay, updates the corresponding DOM inputs.
|
|
143
143
|
*/
|
|
144
|
-
function getFormInitData({ initData, parsedFields, currentValues
|
|
144
|
+
function getFormInitData({ initData, parsedFields, currentValues
|
|
145
|
+
//formEl,
|
|
146
|
+
//isFieldVisible
|
|
147
|
+
}) {
|
|
145
148
|
// Pass 1: Update state for all fields.
|
|
146
149
|
const updatedValues = Object.assign({}, currentValues);
|
|
147
150
|
parsedFields.forEach((field) => {
|
|
@@ -150,39 +153,6 @@ function getFormInitData({ initData, parsedFields, currentValues, formEl, isFiel
|
|
|
150
153
|
updatedValues[field.name] = value;
|
|
151
154
|
}
|
|
152
155
|
});
|
|
153
|
-
// Pass 2: Delay DOM updates to ensure nested fields are rendered.
|
|
154
|
-
setTimeout(() => {
|
|
155
|
-
parsedFields.forEach((field) => {
|
|
156
|
-
// Only update if the field is visible.
|
|
157
|
-
if (isFieldVisible(field, updatedValues)) {
|
|
158
|
-
const value = initData[field.name];
|
|
159
|
-
if (value !== undefined) {
|
|
160
|
-
if (field.type === 'checkbox' || field.type === 'radio') {
|
|
161
|
-
// Query all eds-input-field components and update matching inputs.
|
|
162
|
-
const elements = Array.from(formEl.querySelectorAll('eds-input-field'));
|
|
163
|
-
elements.forEach((element) => {
|
|
164
|
-
if (element.shadowRoot) {
|
|
165
|
-
const inputs = Array.from(element.shadowRoot.querySelectorAll(`[name="${field.name}"]`));
|
|
166
|
-
// Convert stored comma-separated value into a trimmed array.
|
|
167
|
-
const valuesArray = value.split(',').map((v) => v.trim());
|
|
168
|
-
inputs.forEach((inputEl) => {
|
|
169
|
-
// eslint-disable-next-line
|
|
170
|
-
inputEl.checked = valuesArray.includes(inputEl.value);
|
|
171
|
-
});
|
|
172
|
-
}
|
|
173
|
-
});
|
|
174
|
-
}
|
|
175
|
-
else {
|
|
176
|
-
// For non-checkbox/radio inputs, update the first matching element using findFieldElement.
|
|
177
|
-
const inputEl = findFieldElement(formEl, field.name);
|
|
178
|
-
if (inputEl) {
|
|
179
|
-
inputEl.value = value;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
});
|
|
185
|
-
}, 50); // A 50ms delay to allow re-render
|
|
186
156
|
return { updatedValues };
|
|
187
157
|
}
|
|
188
158
|
|
|
@@ -222,8 +192,7 @@ const EdsForm$1 = /*@__PURE__*/ proxyCustomElement(class EdsForm extends HTMLEle
|
|
|
222
192
|
}
|
|
223
193
|
}
|
|
224
194
|
get shouldFormProcessInitData() {
|
|
225
|
-
|
|
226
|
-
return !!((_a = this.initData) === null || _a === void 0 ? void 0 : _a._id);
|
|
195
|
+
return !!this.initData;
|
|
227
196
|
}
|
|
228
197
|
parseFields(newValue) {
|
|
229
198
|
this.parsedFields = parseData(newValue);
|
|
@@ -313,22 +282,57 @@ const EdsForm$1 = /*@__PURE__*/ proxyCustomElement(class EdsForm extends HTMLEle
|
|
|
313
282
|
});
|
|
314
283
|
return formData;
|
|
315
284
|
}
|
|
285
|
+
makeFormData() {
|
|
286
|
+
const formData = new FormData();
|
|
287
|
+
// Add the form name
|
|
288
|
+
formData.append('form_name', this.name);
|
|
289
|
+
// Add the form URL
|
|
290
|
+
if (this.setFormUrl && typeof window !== 'undefined') {
|
|
291
|
+
formData.set('form_url', window.location.href);
|
|
292
|
+
}
|
|
293
|
+
Object.keys(this.values).forEach((key) => {
|
|
294
|
+
// Append each key-value pair to the FormData object.
|
|
295
|
+
formData.append(key, this.values[key]);
|
|
296
|
+
});
|
|
297
|
+
return formData;
|
|
298
|
+
}
|
|
316
299
|
handleChange(e, field) {
|
|
317
300
|
const target = e.target;
|
|
318
|
-
|
|
319
|
-
|
|
301
|
+
if (target.type === 'checkbox') {
|
|
302
|
+
// Get the current comma separated string or default to an empty string.
|
|
303
|
+
const currentStr = this.values[field.name] || '';
|
|
304
|
+
// Convert the string into an array. If the string is empty, we get an empty array.
|
|
305
|
+
let valuesArray = currentStr ? currentStr.split(',') : [];
|
|
306
|
+
if (target.checked) {
|
|
307
|
+
// Only add if it's not already in the array.
|
|
308
|
+
if (!valuesArray.includes(target.value)) {
|
|
309
|
+
valuesArray.push(target.value);
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
else {
|
|
313
|
+
// Remove the value from the array if the checkbox is unchecked.
|
|
314
|
+
valuesArray = valuesArray.filter((item) => item !== target.value);
|
|
315
|
+
}
|
|
316
|
+
// Reassemble the comma separated string and update your form values.
|
|
317
|
+
this.values = Object.assign(Object.assign({}, this.values), { [field.name]: valuesArray.join(',') });
|
|
318
|
+
}
|
|
319
|
+
else {
|
|
320
|
+
// Handle non-checkbox input normally.
|
|
321
|
+
this.values = Object.assign(Object.assign({}, this.values), { [field.name]: target.value });
|
|
322
|
+
}
|
|
323
|
+
// Emit the updated form state.
|
|
320
324
|
this.form.emit({
|
|
321
325
|
event: 'change',
|
|
322
326
|
field: field.name,
|
|
323
|
-
value: target.value,
|
|
327
|
+
value: target.type === 'checkbox' ? this.values[field.name] : target.value,
|
|
324
328
|
message: `${field.name} updated`,
|
|
325
|
-
data: this.
|
|
329
|
+
data: this.makeFormData()
|
|
326
330
|
});
|
|
327
331
|
}
|
|
328
332
|
handleInput(e, field) {
|
|
329
333
|
const target = e.target;
|
|
330
334
|
// Update the field's value in state.
|
|
331
|
-
this.values =
|
|
335
|
+
//this.values = { ...this.values, [field.name]: target.value };
|
|
332
336
|
// Create a copy of the current errors.
|
|
333
337
|
const newErrors = Object.assign({}, this.errors);
|
|
334
338
|
// Use the utility to validate the field.
|
|
@@ -351,12 +355,13 @@ const EdsForm$1 = /*@__PURE__*/ proxyCustomElement(class EdsForm extends HTMLEle
|
|
|
351
355
|
this.isSubmitting = true;
|
|
352
356
|
this.validateForm();
|
|
353
357
|
if (this.hasError) {
|
|
358
|
+
this.isSubmitting = false;
|
|
354
359
|
this.form.emit({
|
|
355
360
|
event: 'submit',
|
|
356
361
|
validated: false,
|
|
357
362
|
success: false,
|
|
358
363
|
message: this.errorMessage,
|
|
359
|
-
data: this.
|
|
364
|
+
data: this.makeFormData()
|
|
360
365
|
}); // Emit form status submit false validation error
|
|
361
366
|
sendAnalytics({
|
|
362
367
|
category: 'ui-component',
|
|
@@ -398,13 +403,13 @@ const EdsForm$1 = /*@__PURE__*/ proxyCustomElement(class EdsForm extends HTMLEle
|
|
|
398
403
|
render() {
|
|
399
404
|
const hiddenFields = this.parsedFields.filter((field) => field.type === 'hidden');
|
|
400
405
|
const otherFields = this.parsedFields.filter((field) => field.type !== 'hidden');
|
|
401
|
-
return (h("form", { key: '
|
|
406
|
+
return (h("form", { key: '2f5651942cd01c0574b5a5f08483480c285472cb', ref: (el) => (this.formEl = el), autocomplete: "on", onSubmit: this.handleSubmit }, h("div", { key: '0dab281f049f6afb8cfbad146076d7f3015b8c17' }, h("slot", { key: '661b26b05023480447f87aa03e2f21b814355d00' }), hiddenFields.map((field, index) => (h("eds-input", { key: index, type: "hidden", name: field.name, value: field.value }))), otherFields.map((field, index) => {
|
|
402
407
|
var _a, _b;
|
|
403
408
|
if (!this.isFieldVisible(field)) {
|
|
404
409
|
return null;
|
|
405
410
|
}
|
|
406
|
-
return (h("eds-input-field", { key: index, name: field.name, id: `${this.name}_${field.name}`, label: field.label, type: field.type, icon: field.icon || null, required: field.required, maxLength: field.maxlength, hint: field.hint, error: ((_a = this.errors[field.name]) === null || _a === void 0 ? void 0 : _a.length) > 0, errorMessage: (_b = this.errors[field.name]) === null || _b === void 0 ? void 0 : _b.join('<br />'), onInput: (e) => this.handleInput(e, field), onChange: (e) => this.handleChange(e, field), class: index > 0 ? 'mt-20' : '', options: field.options }));
|
|
407
|
-
})), this.formBtn && (h("div", { key: '
|
|
411
|
+
return (h("eds-input-field", { key: index, name: field.name, id: `${this.name}_${field.name}`, label: field.label, value: this.values[field.name] || null, type: field.type, icon: field.icon || null, required: field.required, maxLength: field.maxlength, hint: field.hint, link: field.link, message: field.message, error: ((_a = this.errors[field.name]) === null || _a === void 0 ? void 0 : _a.length) > 0, errorMessage: (_b = this.errors[field.name]) === null || _b === void 0 ? void 0 : _b.join('<br />'), onInput: (e) => this.handleInput(e, field), onChange: (e) => this.handleChange(e, field), class: index > 0 ? 'mt-20' : '', options: field.options }));
|
|
412
|
+
})), this.formBtn && (h("div", { key: '3f250271116962a060359cf462b053234f059bd1', class: "mt-20" }, h("eds-button", { key: 'b234af290bcae3205c874edb4796e484320a5475', intent: "primary", label: this.formBtnLabel, disabled: this.isSubmitting, loading: this.isSubmitting, onClick: () => this.handleSubmit() })))));
|
|
408
413
|
}
|
|
409
414
|
get el() { return this; }
|
|
410
415
|
static get watchers() { return {
|
|
@@ -11,10 +11,10 @@ const EdsFrame$1 = /*@__PURE__*/ proxyCustomElement(class EdsFrame extends HTMLE
|
|
|
11
11
|
this.__registerHost();
|
|
12
12
|
this.__attachShadow();
|
|
13
13
|
this.frameLabel = undefined;
|
|
14
|
-
this.
|
|
15
|
-
this.
|
|
16
|
-
this.
|
|
17
|
-
this.
|
|
14
|
+
this.frameSrc = undefined;
|
|
15
|
+
this.urlLabel = 'Open';
|
|
16
|
+
this.errorMessage = 'Could not load the requested content. Please check the URL or try again later.';
|
|
17
|
+
this.url = undefined;
|
|
18
18
|
this.intent = 'strong';
|
|
19
19
|
this.size = 'auto';
|
|
20
20
|
this.iframeError = false;
|
|
@@ -75,23 +75,17 @@ const EdsFrame$1 = /*@__PURE__*/ proxyCustomElement(class EdsFrame extends HTMLE
|
|
|
75
75
|
this.iframeError = true;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
get storyLink() {
|
|
79
|
-
return `${this.storybookUrl}/?path=/story/${this.storyPath}`;
|
|
80
|
-
}
|
|
81
|
-
get frameSrc() {
|
|
82
|
-
return `${this.storybookUrl}/iframe.html?id=${this.storyPath}&viewMode=story`;
|
|
83
|
-
}
|
|
84
78
|
render() {
|
|
85
|
-
return (h("div", { key: '
|
|
79
|
+
return (h("div", { key: 'b26229611868992daf5f4ca5037e1e10b2540ee5', class: this.articleClasses() }, h("div", { key: '4cf9ff78b27ce7f88db50feccc9d267c2e727a2c', class: "effect-height flex items-center justify-between py-8 px-12" }, h("span", { key: 'bf2c1607d3fcbbf152691ec4e6134e737f6d1082', class: "f-ui-02" }, this.frameLabel), !this.iframeError ? (h("eds-link", { label: this.urlLabel, url: this.url, intent: this.intent, class: "ml-auto", external: true, disabled: false, icon: "arrow-diagonal" })) : null), h("div", { key: 'd9f059766c509d7325ea734c63e29d7995cc8065', class: "border-softer" }, this.iframeError ? (h("div", { class: "container ml-8 mr-8 mt-16" }, this.errorMessage)) : (h("iframe", { src: this.frameSrc, width: "100%", height: this.getFrameHeight(), title: this.frameLabel, frameBorder: "0", allowFullScreen: true })))));
|
|
86
80
|
}
|
|
87
81
|
get el() { return this; }
|
|
88
82
|
static get style() { return EdsFrameStyle0; }
|
|
89
83
|
}, [1, "eds-frame", {
|
|
90
84
|
"frameLabel": [1, "frame-label"],
|
|
85
|
+
"frameSrc": [1, "frame-src"],
|
|
91
86
|
"urlLabel": [1, "url-label"],
|
|
92
87
|
"errorMessage": [1, "error-message"],
|
|
93
|
-
"
|
|
94
|
-
"storyPath": [1, "story-path"],
|
|
88
|
+
"url": [1],
|
|
95
89
|
"intent": [1],
|
|
96
90
|
"size": [1],
|
|
97
91
|
"iframeError": [32]
|
|
@@ -73,8 +73,8 @@ const EdsHeader$1 = /*@__PURE__*/ proxyCustomElement(class EdsHeader extends HTM
|
|
|
73
73
|
return parseData(this.links);
|
|
74
74
|
}
|
|
75
75
|
render() {
|
|
76
|
-
return (h("header", { key: '
|
|
77
|
-
${this.inverseHeader ? 'text-inverse bg-strongest' : 'text-default bg-dark'}` }, h("div", { key: '
|
|
76
|
+
return (h("header", { key: 'eabb97331efd8b4aee5e1f249ebc60d38926eb5e', class: `flex items-center justify-between relative z-10
|
|
77
|
+
${this.inverseHeader ? 'text-inverse bg-strongest' : 'text-default bg-dark'}` }, h("div", { key: 'b561941a2e10252a45526e565e9711be6a0d2f41', class: "mr-auto w-[200px] h-[85px]" }, h("eds-logo", { key: 'fa1350f9b9584f7b5d128facd8077efcf117abe7', type: this.inverseHeader ? 'color-white' : 'color', href: this.homeUrl })), this.parsedLinks && (h("nav", { key: '6cc3c1b32250b671b394f0ac65b52e9b4491c57f', class: "absolute left-1/2 top-1/2 grow -translate-x-1/2 -translate-y-1/2 justify-center hidden md:flex" }, h("ul", { key: 'ce1277ca3a9082e1b639ae42b96bbc1d3d665edc', class: "flex gap-x-2" }, this.parsedLinks.map((link) => (h("eds-link", { label: link.label, "aria-label": link.label, url: link.url, intent: "ghost", size: "large", icon: link.icon, external: link.external, "extra-class": "after:effect-opacity aria-current-page:bg-darker whitespace-nowrap !text-current after:!border-transparent after:opacity-0 hover:after:!border-transparent hover:after:opacity-100" })))))), h("slot", { key: '7a1d67916c63dcab3d46d1223805a3c20af65d97' }), this.menuEnabled ? (h("div", { class: "md:hidden flex overflow-hidden px-16" }, h("eds-button", { "aria-label": "Menu", intent: "ghostInverse", icon: "menu", size: "small", onClick: () => this.handleToggleMenu() }))) : null));
|
|
78
78
|
}
|
|
79
79
|
get hostEl() { return this; }
|
|
80
80
|
static get style() { return EdsHeaderStyle0; }
|
|
@@ -8,7 +8,7 @@ const EdsIconBluesky$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconBluesky e
|
|
|
8
8
|
this.class = '';
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return h("span", { key: '
|
|
11
|
+
return h("span", { key: 'a06ab2e79a1ec7603244ec09649ccc2c9ea1950c', class: this.class, innerHTML: bluesky });
|
|
12
12
|
}
|
|
13
13
|
}, [0, "eds-icon-bluesky", {
|
|
14
14
|
"class": [1]
|
|
@@ -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 EdsIconBookmark extends Components.EdsIconBookmark, HTMLElement {}
|
|
4
|
+
export const EdsIconBookmark: {
|
|
5
|
+
prototype: EdsIconBookmark;
|
|
6
|
+
new (): EdsIconBookmark;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { b as bookmark } from './bookmark.js';
|
|
3
|
+
|
|
4
|
+
const EdsIconBookmark$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconBookmark extends HTMLElement {
|
|
5
|
+
constructor() {
|
|
6
|
+
super();
|
|
7
|
+
this.__registerHost();
|
|
8
|
+
this.class = '';
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
return h("span", { key: '9cc4aa1805e43ca6275305e26d2fff79e2818862', class: this.class, innerHTML: bookmark });
|
|
12
|
+
}
|
|
13
|
+
}, [0, "eds-icon-bookmark", {
|
|
14
|
+
"class": [1]
|
|
15
|
+
}]);
|
|
16
|
+
function defineCustomElement$1() {
|
|
17
|
+
if (typeof customElements === "undefined") {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const components = ["eds-icon-bookmark"];
|
|
21
|
+
components.forEach(tagName => { switch (tagName) {
|
|
22
|
+
case "eds-icon-bookmark":
|
|
23
|
+
if (!customElements.get(tagName)) {
|
|
24
|
+
customElements.define(tagName, EdsIconBookmark$1);
|
|
25
|
+
}
|
|
26
|
+
break;
|
|
27
|
+
} });
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const EdsIconBookmark = EdsIconBookmark$1;
|
|
31
|
+
const defineCustomElement = defineCustomElement$1;
|
|
32
|
+
|
|
33
|
+
export { EdsIconBookmark, defineCustomElement };
|
|
@@ -8,7 +8,7 @@ const EdsIconClose$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconClose exten
|
|
|
8
8
|
this.class = '';
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return h("span", { key: '
|
|
11
|
+
return h("span", { key: '95690e0a265a88172a33edfa456de45a9943578f', class: this.class, innerHTML: close });
|
|
12
12
|
}
|
|
13
13
|
}, [0, "eds-icon-close", {
|
|
14
14
|
"class": [1]
|
|
@@ -8,7 +8,7 @@ const EdsIconCopy$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconCopy extends
|
|
|
8
8
|
this.class = '';
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return h("span", { key: '
|
|
11
|
+
return h("span", { key: '2f2e67b6792ca2c4aa711526a3d69e7a9779e159', class: this.class, innerHTML: copy });
|
|
12
12
|
}
|
|
13
13
|
}, [0, "eds-icon-copy", {
|
|
14
14
|
"class": [1]
|
|
@@ -8,7 +8,7 @@ const EdsIconEu$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconEu extends HTM
|
|
|
8
8
|
this.class = '';
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return h("span", { key: '
|
|
11
|
+
return h("span", { key: '9758d733a6bdc751f059588ca8c3bc916f430968', class: this.class, innerHTML: euSvg });
|
|
12
12
|
}
|
|
13
13
|
}, [0, "eds-icon-eu", {
|
|
14
14
|
"class": [1]
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface EdsIconExternal extends Components.EdsIconExternal, HTMLElement {}
|
|
4
|
+
export const EdsIconExternal: {
|
|
5
|
+
prototype: EdsIconExternal;
|
|
6
|
+
new (): EdsIconExternal;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { a as arrowDiagonal } from './arrow-diagonal-black.js';
|
|
3
|
+
|
|
4
|
+
const EdsIconExternal$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconExternal extends HTMLElement {
|
|
5
|
+
constructor() {
|
|
6
|
+
super();
|
|
7
|
+
this.__registerHost();
|
|
8
|
+
this.class = '';
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
return h("span", { key: '8b5169456f56b7294d86af4e75a9aeec20a20174', class: this.class, innerHTML: arrowDiagonal });
|
|
12
|
+
}
|
|
13
|
+
}, [0, "eds-icon-external", {
|
|
14
|
+
"class": [1]
|
|
15
|
+
}]);
|
|
16
|
+
function defineCustomElement$1() {
|
|
17
|
+
if (typeof customElements === "undefined") {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const components = ["eds-icon-external"];
|
|
21
|
+
components.forEach(tagName => { switch (tagName) {
|
|
22
|
+
case "eds-icon-external":
|
|
23
|
+
if (!customElements.get(tagName)) {
|
|
24
|
+
customElements.define(tagName, EdsIconExternal$1);
|
|
25
|
+
}
|
|
26
|
+
break;
|
|
27
|
+
} });
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const EdsIconExternal = EdsIconExternal$1;
|
|
31
|
+
const defineCustomElement = defineCustomElement$1;
|
|
32
|
+
|
|
33
|
+
export { EdsIconExternal, defineCustomElement };
|
|
@@ -8,7 +8,7 @@ const EdsIconFacebook$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconFacebook
|
|
|
8
8
|
this.class = '';
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return h("span", { key: '
|
|
11
|
+
return h("span", { key: '62aec1f1d6b8e4844be83c94471b64a30c1212b9', class: this.class, innerHTML: facebook });
|
|
12
12
|
}
|
|
13
13
|
}, [0, "eds-icon-facebook", {
|
|
14
14
|
"class": [1]
|
|
@@ -8,7 +8,7 @@ const EdsIconGitlab$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconGitlab ext
|
|
|
8
8
|
this.class = '';
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return h("span", { key: '
|
|
11
|
+
return h("span", { key: '804e76ad1a00913b2e5ac695e43eeb33f1fd9727', class: this.class, innerHTML: gitlabBlack });
|
|
12
12
|
}
|
|
13
13
|
}, [0, "eds-icon-gitlab", {
|
|
14
14
|
"class": [1]
|
|
@@ -8,7 +8,7 @@ const EdsIconLinkedin$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconLinkedin
|
|
|
8
8
|
this.class = '';
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return h("span", { key: '
|
|
11
|
+
return h("span", { key: '72eb0709ccbfc7830ab146f936a2587407feb0bb', class: this.class, innerHTML: linkedin });
|
|
12
12
|
}
|
|
13
13
|
}, [0, "eds-icon-linkedin", {
|
|
14
14
|
"class": [1]
|
|
@@ -8,7 +8,7 @@ const EdsIconLoader$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconLoader ext
|
|
|
8
8
|
this.class = '';
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return h("span", { key: '
|
|
11
|
+
return h("span", { key: 'c7d6b2dae9717ba0e99a8ecb98e4f9b02c45be6d', class: this.class, innerHTML: loader });
|
|
12
12
|
}
|
|
13
13
|
}, [0, "eds-icon-loader", {
|
|
14
14
|
"class": [1]
|
|
@@ -8,7 +8,7 @@ const EdsIconMastodon$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconMastodon
|
|
|
8
8
|
this.class = '';
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return h("span", { key: '
|
|
11
|
+
return h("span", { key: '5388b5cef5d643984157e0bed9263e83934dc7e3', class: this.class, innerHTML: mastodon });
|
|
12
12
|
}
|
|
13
13
|
}, [0, "eds-icon-mastodon", {
|
|
14
14
|
"class": [1]
|
|
@@ -8,7 +8,7 @@ const EdsIconMenu$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconMenu extends
|
|
|
8
8
|
this.class = '';
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return h("span", { key: '
|
|
11
|
+
return h("span", { key: '3fcbaa6aba76b06be9f4e72bf7c61a0c3fbae9fd', class: this.class, innerHTML: menu });
|
|
12
12
|
}
|
|
13
13
|
}, [0, "eds-icon-menu", {
|
|
14
14
|
"class": [1]
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface EdsIconMinus extends Components.EdsIconMinus, HTMLElement {}
|
|
4
|
+
export const EdsIconMinus: {
|
|
5
|
+
prototype: EdsIconMinus;
|
|
6
|
+
new (): EdsIconMinus;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { m as minus } from './minus.js';
|
|
3
|
+
|
|
4
|
+
const EdsIconMinus$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconMinus extends HTMLElement {
|
|
5
|
+
constructor() {
|
|
6
|
+
super();
|
|
7
|
+
this.__registerHost();
|
|
8
|
+
this.class = '';
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
return h("span", { key: 'e615c57f7195878310f596124ede34304fcce5e1', class: this.class, innerHTML: minus });
|
|
12
|
+
}
|
|
13
|
+
}, [0, "eds-icon-minus", {
|
|
14
|
+
"class": [1]
|
|
15
|
+
}]);
|
|
16
|
+
function defineCustomElement$1() {
|
|
17
|
+
if (typeof customElements === "undefined") {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const components = ["eds-icon-minus"];
|
|
21
|
+
components.forEach(tagName => { switch (tagName) {
|
|
22
|
+
case "eds-icon-minus":
|
|
23
|
+
if (!customElements.get(tagName)) {
|
|
24
|
+
customElements.define(tagName, EdsIconMinus$1);
|
|
25
|
+
}
|
|
26
|
+
break;
|
|
27
|
+
} });
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const EdsIconMinus = EdsIconMinus$1;
|
|
31
|
+
const defineCustomElement = defineCustomElement$1;
|
|
32
|
+
|
|
33
|
+
export { EdsIconMinus, defineCustomElement };
|
|
@@ -8,7 +8,7 @@ const EdsIconMore$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconMore extends
|
|
|
8
8
|
this.class = '';
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return h("span", { key: '
|
|
11
|
+
return h("span", { key: '770c34b98ec0e0a7e16de4d7b5b41b4afec9911e', class: this.class, innerHTML: more });
|
|
12
12
|
}
|
|
13
13
|
}, [0, "eds-icon-more", {
|
|
14
14
|
"class": [1]
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface EdsIconPaper extends Components.EdsIconPaper, HTMLElement {}
|
|
4
|
+
export const EdsIconPaper: {
|
|
5
|
+
prototype: EdsIconPaper;
|
|
6
|
+
new (): EdsIconPaper;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { p as paper } from './paper.js';
|
|
3
|
+
|
|
4
|
+
const EdsIconPaper$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconPaper extends HTMLElement {
|
|
5
|
+
constructor() {
|
|
6
|
+
super();
|
|
7
|
+
this.__registerHost();
|
|
8
|
+
this.class = '';
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
return h("span", { key: 'cb9f7af8825527f86c200203611dae752cb3d647', class: this.class, innerHTML: paper });
|
|
12
|
+
}
|
|
13
|
+
}, [0, "eds-icon-paper", {
|
|
14
|
+
"class": [1]
|
|
15
|
+
}]);
|
|
16
|
+
function defineCustomElement$1() {
|
|
17
|
+
if (typeof customElements === "undefined") {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const components = ["eds-icon-paper"];
|
|
21
|
+
components.forEach(tagName => { switch (tagName) {
|
|
22
|
+
case "eds-icon-paper":
|
|
23
|
+
if (!customElements.get(tagName)) {
|
|
24
|
+
customElements.define(tagName, EdsIconPaper$1);
|
|
25
|
+
}
|
|
26
|
+
break;
|
|
27
|
+
} });
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const EdsIconPaper = EdsIconPaper$1;
|
|
31
|
+
const defineCustomElement = defineCustomElement$1;
|
|
32
|
+
|
|
33
|
+
export { EdsIconPaper, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface EdsIconPlus extends Components.EdsIconPlus, HTMLElement {}
|
|
4
|
+
export const EdsIconPlus: {
|
|
5
|
+
prototype: EdsIconPlus;
|
|
6
|
+
new (): EdsIconPlus;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { p as plus } from './plus.js';
|
|
3
|
+
|
|
4
|
+
const EdsIconPlus$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconPlus extends HTMLElement {
|
|
5
|
+
constructor() {
|
|
6
|
+
super();
|
|
7
|
+
this.__registerHost();
|
|
8
|
+
this.class = '';
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
return h("span", { key: '75a9d03500e01cc9d5f7b19a5afd2491ad2e6fee', class: this.class, innerHTML: plus });
|
|
12
|
+
}
|
|
13
|
+
}, [0, "eds-icon-plus", {
|
|
14
|
+
"class": [1]
|
|
15
|
+
}]);
|
|
16
|
+
function defineCustomElement$1() {
|
|
17
|
+
if (typeof customElements === "undefined") {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const components = ["eds-icon-plus"];
|
|
21
|
+
components.forEach(tagName => { switch (tagName) {
|
|
22
|
+
case "eds-icon-plus":
|
|
23
|
+
if (!customElements.get(tagName)) {
|
|
24
|
+
customElements.define(tagName, EdsIconPlus$1);
|
|
25
|
+
}
|
|
26
|
+
break;
|
|
27
|
+
} });
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const EdsIconPlus = EdsIconPlus$1;
|
|
31
|
+
const defineCustomElement = defineCustomElement$1;
|
|
32
|
+
|
|
33
|
+
export { EdsIconPlus, defineCustomElement };
|
|
@@ -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 EdsIconPortal extends Components.EdsIconPortal, HTMLElement {}
|
|
4
|
+
export const EdsIconPortal: {
|
|
5
|
+
prototype: EdsIconPortal;
|
|
6
|
+
new (): EdsIconPortal;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { p as portal } from './portal.js';
|
|
3
|
+
|
|
4
|
+
const EdsIconPortal$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconPortal extends HTMLElement {
|
|
5
|
+
constructor() {
|
|
6
|
+
super();
|
|
7
|
+
this.__registerHost();
|
|
8
|
+
this.class = '';
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
return h("span", { key: '260c4eeb69ff79d943571c1461346b9019ea513a', class: this.class, innerHTML: portal });
|
|
12
|
+
}
|
|
13
|
+
}, [0, "eds-icon-portal", {
|
|
14
|
+
"class": [1]
|
|
15
|
+
}]);
|
|
16
|
+
function defineCustomElement$1() {
|
|
17
|
+
if (typeof customElements === "undefined") {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const components = ["eds-icon-portal"];
|
|
21
|
+
components.forEach(tagName => { switch (tagName) {
|
|
22
|
+
case "eds-icon-portal":
|
|
23
|
+
if (!customElements.get(tagName)) {
|
|
24
|
+
customElements.define(tagName, EdsIconPortal$1);
|
|
25
|
+
}
|
|
26
|
+
break;
|
|
27
|
+
} });
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const EdsIconPortal = EdsIconPortal$1;
|
|
31
|
+
const defineCustomElement = defineCustomElement$1;
|
|
32
|
+
|
|
33
|
+
export { EdsIconPortal, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface EdsIconPrivate extends Components.EdsIconPrivate, HTMLElement {}
|
|
4
|
+
export const EdsIconPrivate: {
|
|
5
|
+
prototype: EdsIconPrivate;
|
|
6
|
+
new (): EdsIconPrivate;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|