@ebrains/components 0.5.0-alpha.0 → 0.7.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{analytics-223ea8e5.js → analytics-d8fb3fdd.js} +9 -0
- package/dist/cjs/color-primary-palette_6.cjs.entry.js +15 -15
- package/dist/cjs/components.cjs.js +2 -2
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +2 -2
- package/dist/cjs/eds-accordion_22.cjs.entry.js +1959 -0
- package/dist/cjs/eds-alert.cjs.entry.js +97 -0
- package/dist/cjs/eds-app-root.cjs.entry.js +37 -0
- package/dist/cjs/eds-avatar_4.cjs.entry.js +2 -9
- package/dist/cjs/eds-breadcrumb.cjs.entry.js +135 -0
- package/dist/cjs/eds-card-generic.cjs.entry.js +5 -17
- package/dist/cjs/eds-card-project.cjs.entry.js +2 -2
- package/dist/cjs/eds-card-section.cjs.entry.js +6 -22
- package/dist/cjs/eds-card-tags.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-tool.cjs.entry.js +2 -2
- package/dist/cjs/eds-card-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/eds-code-block.cjs.entry.js +1 -1
- package/dist/cjs/eds-components-section.cjs.entry.js +2 -2
- package/dist/cjs/eds-cookies-preference.cjs.entry.js +39 -0
- package/dist/cjs/eds-docs-palettes.cjs.entry.js +2 -2
- package/dist/cjs/eds-docs-tokens.cjs.entry.js +2 -2
- package/dist/cjs/{eds-dropdown_2.cjs.entry.js → eds-dropdown.cjs.entry.js} +9 -42
- package/dist/cjs/eds-feedback.cjs.entry.js +66 -0
- package/dist/cjs/eds-form.cjs.entry.js +238 -255
- package/dist/cjs/eds-frame.cjs.entry.js +32 -32
- package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-close.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-copy.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-eu.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-facebook.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-gitlab.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-linkedin.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-loader.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-mastodon.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-menu.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-more.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-search.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-star.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-success.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-user.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-youtube.cjs.entry.js +2 -2
- package/dist/{components/keycloak.js → cjs/eds-login_2.cjs.entry.js} +144 -1
- package/dist/cjs/eds-logo-variations.cjs.entry.js +2 -2
- package/dist/cjs/eds-modal.cjs.entry.js +16 -4
- package/dist/cjs/eds-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/eds-rating.cjs.entry.js +64 -0
- package/dist/cjs/eds-section-core_2.cjs.entry.js +4 -4
- package/dist/cjs/eds-spinner.cjs.entry.js +54 -0
- package/dist/cjs/eds-steps.cjs.entry.js +55 -0
- package/dist/cjs/eds-svg-repository.cjs.entry.js +9 -3
- package/dist/cjs/eds-switch.cjs.entry.js +38 -0
- package/dist/cjs/eds-tabs.cjs.entry.js +11 -25
- package/dist/cjs/eds-timeline.cjs.entry.js +4 -22
- package/dist/cjs/eds-toast-manager.cjs.entry.js +46 -0
- package/dist/cjs/eds-toast.cjs.entry.js +76 -0
- package/dist/cjs/eds-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/eds-trl.cjs.entry.js +2 -2
- package/dist/cjs/eds-user.cjs.entry.js +9 -79
- package/dist/cjs/eds-vertical-stepper.cjs.entry.js +2 -2
- package/dist/cjs/formUtils-4315a99c.js +228 -0
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +2 -2
- package/dist/cjs/{index-f08e4f5c.js → index-2f63169d.js} +57 -28
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/logo-space.cjs.entry.js +2 -2
- package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +3 -3
- package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
- package/dist/cjs/sharedUtils-8e287250.js +21 -0
- package/dist/cjs/star-942eee9f.js +7 -0
- package/dist/cjs/thumbs-down-714036b1.js +7 -0
- package/dist/cjs/thumbs-up-411babb8.js +8 -0
- package/dist/cjs/token-list_3.cjs.entry.js +4 -4
- package/dist/cjs/token-ratios.cjs.entry.js +2 -2
- package/dist/cjs/token-spacing.cjs.entry.js +2 -2
- package/dist/cjs/token-typography.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +10 -5
- package/dist/collection/components/eds-accordion/eds-accordion.js +7 -7
- package/dist/collection/components/eds-accordion/eds-accordion.stories.js +2 -2
- package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +3 -17
- package/dist/collection/components/eds-button/eds-button.css +1 -19
- package/dist/collection/components/eds-button/eds-button.js +21 -16
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +3 -15
- package/dist/collection/components/eds-dropdown/eds-dropdown.js +24 -2
- package/dist/collection/components/eds-form/eds-form.js +278 -268
- package/dist/collection/components/eds-form-v2/eds-form-v2.css +7153 -0
- package/dist/collection/components/eds-form-v2/eds-form-v2.js +405 -0
- package/dist/collection/components/eds-form-v2/eds-form-v2.stories.js +73 -0
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +1 -1
- package/dist/collection/components/eds-img/eds-img.js +2 -2
- package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +2 -2
- package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +2 -2
- package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +57 -9
- package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +1 -1
- package/dist/collection/components/eds-input-field/eds-input-field.js +2 -2
- package/dist/collection/components/eds-link/eds-link.css +6793 -6676
- package/dist/collection/components/eds-link/eds-link.js +1 -1
- package/dist/collection/components/eds-logo/eds-logo.js +1 -1
- package/dist/collection/components/eds-modal/eds-modal.js +26 -2
- package/dist/collection/components/eds-pagination/eds-pagination.js +3 -3
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
- package/dist/collection/components/eds-rating/eds-rating.css +31 -74
- package/dist/collection/components/eds-rating/eds-rating.js +44 -56
- package/dist/collection/components/eds-rating/eds-rating.stories.js +18 -51
- package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
- package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
- package/dist/collection/components/eds-spinner/eds-spinner.css +17 -0
- package/dist/collection/components/eds-spinner/eds-spinner.js +166 -0
- package/dist/collection/components/eds-spinner/eds-spinner.stories.js +52 -0
- package/dist/collection/components/eds-steps/eds-steps.css +61 -6
- package/dist/collection/components/eds-steps/eds-steps.js +10 -19
- package/dist/collection/components/eds-steps/eds-vertical-stepper.js +1 -1
- package/dist/collection/components/eds-switch/eds-switch.css +57 -58
- package/dist/collection/components/eds-switch/eds-switch.js +2 -2
- package/dist/collection/components/eds-table/eds-table.js +11 -8
- package/dist/collection/components/eds-table/eds-table.stories.js +11 -6
- package/dist/collection/components/eds-tag/eds-tag.js +4 -35
- package/dist/collection/components/eds-timeline/eds-timeline.js +3 -21
- package/dist/collection/components/eds-toast/eds-toast.css +91 -0
- package/dist/collection/components/eds-toast/eds-toast.js +18 -9
- package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
- package/dist/collection/components/eds-trl/eds-trl.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
- package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
- package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
- package/dist/collection/eds-docs-ui/eds-components-section/eds-components-section.js +1 -1
- package/dist/collection/eds-docs-ui/eds-docs-palettes/eds-docs-palettes.js +1 -1
- package/dist/collection/eds-docs-ui/eds-docs-tokens/eds-docs-tokens.js +1 -1
- package/dist/collection/eds-docs-ui/eds-frame/eds-frame.css +113 -0
- package/dist/collection/{components → eds-docs-ui}/eds-frame/eds-frame.js +47 -76
- package/dist/collection/eds-docs-ui/eds-frame/eds-frame.stories.js +52 -0
- package/dist/collection/eds-docs-ui/eds-logo-variations/eds-logo-variations.js +1 -1
- package/dist/collection/eds-docs-ui/eds-svg-repository/eds-svg-repository.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
- package/dist/collection/shared-ui/eds-card-section/eds-card-section.css +236 -140
- package/dist/collection/shared-ui/eds-card-section/eds-card-section.js +12 -28
- package/dist/collection/shared-ui/eds-card-section/eds-card-section.stories.js +2 -2
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.css +0 -0
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +87 -0
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.st.js +31 -0
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.css +155 -0
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +191 -0
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.stories.js +121 -0
- package/dist/collection/shared-ui/eds-footer/eds-footer.js +7 -53
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +3 -28
- package/dist/collection/shared-ui/eds-header/eds-header.js +4 -20
- package/dist/collection/shared-ui/eds-header/eds-header.stories.js +1 -37
- package/dist/collection/shared-ui/eds-login/eds-login.js +34 -10
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +78 -66
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.js +6 -4
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -1
- package/dist/collection/shared-ui/eds-splash-screen/eds-splash-screen.css +29 -0
- package/dist/collection/shared-ui/eds-splash-screen/eds-splash-screen.js +124 -0
- package/dist/collection/shared-ui/eds-splash-screen/eds-splash-screen.stories.js +23 -0
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +7774 -0
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +12 -25
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.stories.js +17 -30
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.css +1 -1
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +5 -1
- package/dist/collection/shared-ui/eds-user/eds-user.js +17 -150
- package/dist/collection/shared-ui/eds-user/eds-user.stories.js +45 -0
- package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +39 -0
- package/dist/collection/utils/api.js +27 -0
- package/dist/collection/utils/eds-form/formUtils.js +95 -0
- package/dist/collection/utils/eds-form/formValidators.js +64 -0
- package/dist/collection/utils/eds-form/individualValidator.js +46 -0
- package/dist/collection/utils/eds-form/validateInput.js +23 -0
- package/dist/collection/utils/sharedUtils.js +17 -0
- package/dist/components/analytics.js +9 -1
- package/dist/components/components.css +501 -5
- package/dist/components/components.esm.js +1 -1
- package/dist/components/correct-use-of-colors.js +1 -1
- package/dist/components/eds-accordion2.js +5 -5
- package/dist/components/{eds-navigator.d.ts → eds-app-root.d.ts} +4 -4
- package/dist/components/eds-app-root.js +89 -0
- package/dist/components/eds-breadcrumb.js +3 -17
- package/dist/components/eds-button2.js +12 -16
- package/dist/components/eds-card-generic2.js +3 -15
- package/dist/components/eds-card-section.js +6 -22
- package/dist/components/eds-components-section.js +1 -1
- package/dist/components/eds-cookies-preference.d.ts +11 -0
- package/dist/components/eds-cookies-preference.js +88 -0
- package/dist/components/eds-docs-palettes.js +1 -1
- package/dist/components/eds-docs-tokens.js +1 -1
- package/dist/components/eds-dropdown2.js +8 -3
- package/dist/components/{eds-user-modal.d.ts → eds-feedback.d.ts} +4 -4
- package/dist/components/eds-feedback.js +105 -0
- package/dist/components/eds-footer2.js +3 -13
- package/dist/components/{eds-tab.d.ts → eds-form-v2.d.ts} +4 -4
- package/dist/components/eds-form-v2.js +317 -0
- package/dist/components/eds-form.js +240 -255
- package/dist/components/eds-frame.js +33 -34
- package/dist/components/eds-fullscreen-menu.js +3 -28
- package/dist/components/eds-header.js +4 -20
- package/dist/components/eds-icon-arrow-diagonal.js +1 -1
- package/dist/components/eds-icon-arrow-right.js +1 -1
- package/dist/components/eds-icon-bluesky.js +1 -1
- package/dist/components/eds-icon-chevron-down.js +1 -1
- package/dist/components/eds-icon-chevron-left.js +1 -1
- package/dist/components/eds-icon-chevron-right.js +1 -1
- package/dist/components/eds-icon-chevron-up.js +1 -1
- package/dist/components/eds-icon-close.js +1 -1
- package/dist/components/eds-icon-copy.js +1 -1
- package/dist/components/eds-icon-eu.js +1 -1
- package/dist/components/eds-icon-facebook.js +1 -1
- package/dist/components/eds-icon-gitlab.js +1 -1
- package/dist/components/eds-icon-linkedin.js +1 -1
- package/dist/components/eds-icon-loader.js +1 -1
- package/dist/components/eds-icon-mastodon.js +1 -1
- package/dist/components/eds-icon-menu.js +1 -1
- package/dist/components/eds-icon-more.js +1 -1
- package/dist/components/eds-icon-search.js +1 -1
- package/dist/components/{eds-tabs-content.d.ts → eds-icon-star.d.ts} +4 -4
- package/dist/components/eds-icon-star.js +33 -0
- package/dist/components/eds-icon-success.js +1 -1
- package/dist/components/eds-icon-thumbs-down.d.ts +11 -0
- package/dist/components/eds-icon-thumbs-down.js +33 -0
- package/dist/components/eds-icon-thumbs-up.d.ts +11 -0
- package/dist/components/eds-icon-thumbs-up.js +33 -0
- package/dist/components/eds-icon-twitter.js +1 -1
- package/dist/components/eds-icon-user.js +1 -1
- package/dist/components/eds-icon-youtube.js +1 -1
- package/dist/components/eds-img2.js +2 -2
- package/dist/components/eds-input-field2.js +2 -2
- package/dist/components/eds-input-footer2.js +1 -1
- package/dist/components/eds-input-label2.js +1 -1
- package/dist/components/eds-input-range2.js +2 -2
- package/dist/components/eds-input-search2.js +24 -9
- package/dist/components/eds-input-select2.js +1 -1
- package/dist/components/eds-input2.js +2 -2
- package/dist/components/eds-link2.js +2 -2
- package/dist/components/eds-login.js +1 -118
- package/dist/{cjs/keycloak-93fc0315.js → components/eds-login2.js} +128 -7
- package/dist/components/eds-logo-variations.js +1 -1
- package/dist/components/eds-logo2.js +1 -1
- package/dist/components/eds-matomo-notice.js +1 -140
- package/dist/components/eds-matomo-notice2.js +130 -0
- package/dist/components/eds-modal.js +15 -3
- package/dist/components/eds-pagination2.js +2 -2
- package/dist/components/eds-progress-bar2.js +1 -1
- package/dist/components/eds-rating.js +1 -84
- package/dist/components/eds-rating2.js +91 -0
- package/dist/components/eds-section-core2.js +1 -1
- package/dist/components/eds-section-heading2.js +2 -2
- package/dist/components/eds-social-networks2.js +1 -1
- package/dist/components/eds-spinner.d.ts +11 -0
- package/dist/components/eds-spinner.js +6 -0
- package/dist/components/eds-spinner2.js +72 -0
- package/dist/components/eds-splash-screen.d.ts +11 -0
- package/dist/components/eds-splash-screen.js +6 -0
- package/dist/components/eds-splash-screen2.js +78 -0
- package/dist/components/eds-steps.js +11 -20
- package/dist/components/eds-svg-repository.js +8 -2
- package/dist/components/eds-switch.js +2 -2
- package/dist/components/eds-table2.js +11 -8
- package/dist/components/eds-tabs.js +12 -31
- package/dist/components/eds-tag2.js +1 -9
- package/dist/components/eds-timeline.js +3 -21
- package/dist/components/eds-toast-manager.js +4 -3
- package/dist/components/eds-toast2.js +13 -10
- package/dist/components/eds-tooltip.js +1 -1
- package/dist/components/eds-trl.js +1 -1
- package/dist/components/eds-user.js +23 -105
- package/dist/components/eds-vertical-stepper.js +1 -1
- package/dist/components/formUtils.js +223 -0
- package/dist/components/incorrect-use-of-colors.js +1 -1
- package/dist/components/logo-space.js +1 -1
- package/dist/components/logo-variations-horizontal2.js +1 -1
- package/dist/components/logo-variations-vertical2.js +1 -1
- package/dist/components/logo-wrong-usage.js +1 -1
- package/dist/components/p-033480b2.entry.js +1 -0
- package/dist/components/{p-89f600a3.entry.js → p-0443ac40.entry.js} +1 -1
- package/dist/components/{p-a2621d66.entry.js → p-066f6d27.entry.js} +1 -1
- package/dist/components/p-0e0106fc.entry.js +1 -0
- package/dist/components/p-117d180f.entry.js +1 -0
- package/dist/components/{p-89227919.js → p-13efafb9.js} +1 -1
- package/dist/components/p-20e9ae7f.entry.js +1 -0
- package/dist/components/{p-a535838c.entry.js → p-2354daeb.entry.js} +1 -1
- package/dist/components/p-2b31ca60.entry.js +1 -0
- package/dist/components/p-3368cfd5.entry.js +1 -0
- package/dist/components/p-33c5b937.entry.js +1 -0
- package/dist/components/p-3af94671.entry.js +1 -0
- package/dist/components/{p-b1af5000.entry.js → p-43350dff.entry.js} +2 -2
- package/dist/components/p-43b3579a.entry.js +1 -0
- package/dist/components/p-467fe746.entry.js +1 -0
- package/dist/components/p-46a6042d.entry.js +1 -0
- package/dist/components/p-4a860d5b.entry.js +1 -0
- package/dist/components/p-4ac27fe7.entry.js +1 -0
- package/dist/components/p-4b2e6f03.entry.js +1 -0
- package/dist/components/p-4cd69983.entry.js +1 -0
- package/dist/components/p-5520a3b6.entry.js +1 -0
- package/dist/components/p-552b6a50.entry.js +1 -0
- package/dist/components/p-56b4e0fe.entry.js +1 -0
- package/dist/components/{p-f36f2aeb.entry.js → p-56ec190f.entry.js} +1 -1
- package/dist/components/p-5aff1ea0.entry.js +1 -0
- package/dist/components/p-5c12a0df.entry.js +1 -0
- package/dist/components/{p-72b42d77.entry.js → p-5e2216ae.entry.js} +1 -1
- package/dist/components/p-5e63e8a5.entry.js +1 -0
- package/dist/components/p-60e7e745.entry.js +1 -0
- package/dist/components/p-62f2f274.entry.js +1 -0
- package/dist/components/p-6404e157.entry.js +1 -0
- package/dist/components/p-69c5074b.js +1 -0
- package/dist/components/p-6fd0c3b3.entry.js +1 -0
- package/dist/components/p-77cc7c02.entry.js +1 -0
- package/dist/components/p-79c14cf1.entry.js +1 -0
- package/dist/components/{p-c034c395.entry.js → p-7dd81017.entry.js} +1 -1
- package/dist/components/p-7e0dd5d8.entry.js +1 -0
- package/dist/components/p-80dba155.js +1 -0
- package/dist/components/{p-b860b4aa.entry.js → p-8154d013.entry.js} +1 -1
- package/dist/components/p-86eed1b7.entry.js +1 -0
- package/dist/components/p-8b70a350.entry.js +1 -0
- package/dist/components/p-8e548691.entry.js +1 -0
- package/dist/components/p-90503a64.entry.js +1 -0
- package/dist/components/p-90f85604.entry.js +1 -0
- package/dist/components/p-94698510.entry.js +1 -0
- package/dist/components/p-950ecb1c.entry.js +1 -0
- package/dist/components/p-9b9fba38.entry.js +1 -0
- package/dist/components/p-9dc879c9.entry.js +1 -0
- package/dist/components/{p-b1de9a6c.entry.js → p-9eb2e870.entry.js} +1 -1
- package/dist/components/p-9ebc84d6.entry.js +1 -0
- package/dist/components/p-a56f0579.entry.js +1 -0
- package/dist/components/{p-0e0e1815.entry.js → p-a5c61d1c.entry.js} +1 -1
- package/dist/components/p-a6cd418e.entry.js +1 -0
- package/dist/components/{p-505ddcda.entry.js → p-a8dd1953.entry.js} +1 -1
- package/dist/components/p-a91ab66e.entry.js +1 -0
- package/dist/components/p-ab292dd5.entry.js +1 -0
- package/dist/components/p-ad746789.entry.js +1 -0
- package/dist/components/p-b80a9020.entry.js +1 -0
- package/dist/components/p-b8ba7e5c.entry.js +1 -0
- package/dist/components/p-ba720bf3.js +1 -0
- package/dist/components/p-c06d4f14.entry.js +1 -0
- package/dist/components/p-c12d9350.entry.js +1 -0
- package/dist/components/p-c3dda942.entry.js +1 -0
- package/dist/components/p-c6b32753.entry.js +1 -0
- package/dist/components/p-c776b6f8.js +1 -0
- package/dist/components/p-c935aa46.entry.js +1 -0
- package/dist/components/{p-7a8b9de5.js → p-cccacbd3.js} +2 -2
- package/dist/components/p-dbcf1f0e.entry.js +1 -0
- package/dist/components/p-dcc08064.entry.js +1 -0
- package/dist/components/p-dcd4de1f.entry.js +1 -0
- package/dist/components/p-e2d5a487.js +1 -0
- package/dist/components/p-e64cd6f7.entry.js +1 -0
- package/dist/components/p-e9a533e0.entry.js +1 -0
- package/dist/components/p-eac63c82.entry.js +1 -0
- package/dist/components/p-f5959676.entry.js +1 -0
- package/dist/components/{p-def72462.entry.js → p-f905ac92.entry.js} +1 -1
- package/dist/components/p-fba4080d.entry.js +1 -0
- package/dist/components/p-fc619588.entry.js +1 -0
- package/dist/components/p-fcc32210.entry.js +1 -0
- package/dist/components/{p-81942665.entry.js → p-ff7acb55.entry.js} +1 -1
- package/dist/components/primary.js +1 -1
- package/dist/components/primary2.js +1 -1
- package/dist/components/secondary.js +1 -1
- package/dist/components/secondary2.js +7 -7
- package/dist/components/sharedUtils.js +19 -0
- package/dist/components/star.js +5 -0
- package/dist/components/support.js +1 -1
- package/dist/components/support2.js +3 -3
- package/dist/components/thumbs-down.js +5 -0
- package/dist/components/thumbs-up.js +6 -0
- package/dist/components/token-list2.js +1 -1
- package/dist/components/token-radii2.js +1 -1
- package/dist/components/token-ratios.js +1 -1
- package/dist/components/token-shadows2.js +1 -1
- package/dist/components/token-spacing.js +1 -1
- package/dist/components/token-typography.js +1 -1
- package/dist/esm/{analytics-1cde8e4a.js → analytics-44b1416b.js} +9 -1
- package/dist/esm/color-primary-palette_6.entry.js +15 -15
- package/dist/esm/components.js +3 -3
- package/dist/esm/correct-use-of-colors.entry.js +2 -2
- package/dist/esm/eds-accordion_22.entry.js +1934 -0
- package/dist/esm/eds-alert.entry.js +93 -0
- package/dist/esm/eds-app-root.entry.js +33 -0
- package/dist/esm/eds-avatar_4.entry.js +2 -9
- package/dist/esm/eds-breadcrumb.entry.js +131 -0
- package/dist/esm/eds-card-generic.entry.js +5 -17
- package/dist/esm/eds-card-project.entry.js +2 -2
- package/dist/esm/eds-card-section.entry.js +6 -22
- package/dist/esm/eds-card-tags.entry.js +1 -1
- package/dist/esm/eds-card-tool.entry.js +2 -2
- package/dist/esm/eds-card-wrapper.entry.js +1 -1
- package/dist/esm/eds-code-block.entry.js +1 -1
- package/dist/esm/eds-components-section.entry.js +2 -2
- package/dist/esm/eds-cookies-preference.entry.js +35 -0
- package/dist/esm/eds-docs-palettes.entry.js +2 -2
- package/dist/esm/eds-docs-tokens.entry.js +2 -2
- package/dist/esm/{eds-dropdown_2.entry.js → eds-dropdown.entry.js} +10 -42
- package/dist/esm/eds-feedback.entry.js +62 -0
- package/dist/esm/eds-form.entry.js +238 -255
- package/dist/esm/eds-frame.entry.js +32 -32
- package/dist/esm/eds-icon-arrow-diagonal.entry.js +2 -2
- package/dist/esm/eds-icon-arrow-right.entry.js +2 -2
- package/dist/esm/eds-icon-bluesky.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-down.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-left.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-right.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-up.entry.js +2 -2
- package/dist/esm/eds-icon-close.entry.js +2 -2
- package/dist/esm/eds-icon-copy.entry.js +2 -2
- package/dist/esm/eds-icon-eu.entry.js +2 -2
- package/dist/esm/eds-icon-facebook.entry.js +2 -2
- package/dist/esm/eds-icon-gitlab.entry.js +2 -2
- package/dist/esm/eds-icon-linkedin.entry.js +2 -2
- package/dist/esm/eds-icon-loader.entry.js +2 -2
- package/dist/esm/eds-icon-mastodon.entry.js +2 -2
- package/dist/esm/eds-icon-menu.entry.js +2 -2
- package/dist/esm/eds-icon-more.entry.js +2 -2
- package/dist/esm/eds-icon-search.entry.js +2 -2
- package/dist/esm/eds-icon-star.entry.js +14 -0
- package/dist/esm/eds-icon-success.entry.js +2 -2
- package/dist/esm/eds-icon-thumbs-down.entry.js +14 -0
- package/dist/esm/eds-icon-thumbs-up.entry.js +14 -0
- package/dist/esm/eds-icon-twitter.entry.js +2 -2
- package/dist/esm/eds-icon-user.entry.js +2 -2
- package/dist/esm/eds-icon-youtube.entry.js +2 -2
- package/dist/esm/{keycloak-d502ec16.js → eds-login_2.entry.js} +139 -1
- package/dist/esm/eds-logo-variations.entry.js +2 -2
- package/dist/esm/eds-modal.entry.js +16 -4
- package/dist/esm/eds-progress-bar.entry.js +2 -2
- package/dist/esm/eds-rating.entry.js +60 -0
- package/dist/esm/eds-section-core_2.entry.js +4 -4
- package/dist/esm/eds-spinner.entry.js +50 -0
- package/dist/esm/eds-steps.entry.js +51 -0
- package/dist/esm/eds-svg-repository.entry.js +9 -3
- package/dist/esm/eds-switch.entry.js +34 -0
- package/dist/esm/eds-tabs.entry.js +11 -25
- package/dist/esm/eds-timeline.entry.js +4 -22
- package/dist/esm/eds-toast-manager.entry.js +42 -0
- package/dist/esm/eds-toast.entry.js +72 -0
- package/dist/esm/eds-tooltip.entry.js +3 -3
- package/dist/esm/eds-trl.entry.js +2 -2
- package/dist/esm/eds-user.entry.js +9 -79
- package/dist/esm/eds-vertical-stepper.entry.js +2 -2
- package/dist/esm/formUtils-ac68474d.js +223 -0
- package/dist/esm/incorrect-use-of-colors.entry.js +2 -2
- package/dist/esm/{index-e96badea.js → index-8a71b9a7.js} +57 -29
- package/dist/esm/loader.js +3 -3
- package/dist/esm/logo-space.entry.js +2 -2
- package/dist/esm/logo-variations-horizontal_2.entry.js +3 -3
- package/dist/esm/logo-wrong-usage.entry.js +2 -2
- package/dist/esm/sharedUtils-a550989c.js +19 -0
- package/dist/esm/star-0da9b5e9.js +5 -0
- package/dist/esm/thumbs-down-a18fd049.js +5 -0
- package/dist/esm/thumbs-up-c19a71bc.js +6 -0
- package/dist/esm/token-list_3.entry.js +4 -4
- package/dist/esm/token-ratios.entry.js +2 -2
- package/dist/esm/token-spacing.entry.js +2 -2
- package/dist/esm/token-typography.entry.js +2 -2
- package/dist/hydrate/index.js +1556 -1192
- package/dist/hydrate/index.mjs +1556 -1192
- package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/lib/svgs.d.ts +4 -1
- package/dist/types/components/eds-accordion/eds-accordion.d.ts +3 -3
- package/dist/types/components/eds-button/eds-button.d.ts +3 -1
- package/dist/types/components/eds-dropdown/eds-dropdown.d.ts +5 -0
- package/dist/types/components/eds-form/eds-form.d.ts +52 -20
- package/dist/types/components/eds-form-v2/eds-form-v2.d.ts +99 -0
- package/dist/types/components/eds-form-v2/eds-form-v2.stories.d.ts +27 -0
- package/dist/types/components/eds-icons/eds-icon-star/eds-icon-star.d.ts +10 -0
- package/dist/types/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.d.ts +10 -0
- package/dist/types/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.d.ts +10 -0
- package/dist/types/components/eds-input-elements/eds-input-search/eds-input-search.d.ts +6 -1
- package/dist/types/components/eds-modal/eds-modal.d.ts +8 -0
- package/dist/types/components/eds-pagination/eds-pagination.d.ts +1 -1
- package/dist/types/components/eds-rating/eds-rating.d.ts +19 -11
- package/dist/types/components/eds-rating/eds-rating.stories.d.ts +13 -27
- package/dist/types/components/eds-spinner/eds-spinner.d.ts +27 -0
- package/dist/types/components/eds-spinner/eds-spinner.stories.d.ts +42 -0
- package/dist/types/components/eds-steps/eds-steps.d.ts +1 -2
- package/dist/types/components/eds-table/eds-table.stories.d.ts +6 -0
- package/dist/types/components/eds-tag/eds-tag.d.ts +1 -25
- package/dist/types/components/eds-toast/eds-toast.d.ts +4 -5
- package/dist/types/components.d.ts +689 -387
- package/dist/types/{components → eds-docs-ui}/eds-frame/eds-frame.d.ts +26 -6
- package/dist/types/{components → eds-docs-ui}/eds-frame/eds-frame.stories.d.ts +8 -13
- package/dist/types/shared-ui/eds-card-section/eds-card-section.d.ts +5 -5
- package/dist/types/shared-ui/eds-card-section/eds-card-section.stories.d.ts +1 -1
- package/dist/types/shared-ui/eds-cookies-preference/eds-cookies-preference.d.ts +27 -0
- package/dist/types/shared-ui/eds-cookies-preference/eds-cookies-preference.st.d.ts +27 -0
- package/dist/types/shared-ui/eds-feedback/eds-feedback.d.ts +56 -0
- package/dist/types/shared-ui/eds-feedback/eds-feedback.stories.d.ts +77 -0
- package/dist/types/shared-ui/eds-footer/eds-footer.d.ts +2 -15
- package/dist/types/shared-ui/eds-header/eds-header.stories.d.ts +0 -28
- package/dist/types/shared-ui/eds-login/eds-login.d.ts +12 -1
- package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.d.ts +17 -48
- package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.d.ts +2 -1
- package/dist/types/shared-ui/eds-splash-screen/eds-splash-screen.d.ts +31 -0
- package/dist/types/shared-ui/eds-splash-screen/eds-splash-screen.stories.d.ts +22 -0
- package/dist/types/shared-ui/eds-tabs/eds-tabs.d.ts +3 -3
- package/dist/types/shared-ui/eds-tabs/eds-tabs.stories.d.ts +5 -2
- package/dist/types/shared-ui/eds-toast-manager/eds-toast-manager.d.ts +3 -0
- package/dist/types/shared-ui/eds-user/eds-user.d.ts +12 -66
- package/dist/types/shared-ui/eds-user/eds-user.stories.d.ts +32 -0
- package/dist/types/shared-ui/examples/eds-app-root/eds-app-root.d.ts +9 -0
- package/dist/types/utils/api.d.ts +5 -0
- package/dist/types/utils/eds-form/formUtils.d.ts +38 -0
- package/dist/types/utils/eds-form/formValidators.d.ts +17 -0
- package/dist/types/utils/eds-form/individualValidator.d.ts +3 -0
- package/dist/types/utils/eds-form/validateInput.d.ts +10 -0
- package/dist/types/utils/sharedUtils.d.ts +1 -0
- package/package.json +3 -3
- package/dist/cjs/eds-accordion.cjs.entry.js +0 -84
- package/dist/cjs/eds-alert_17.cjs.entry.js +0 -1392
- package/dist/cjs/eds-input_7.cjs.entry.js +0 -324
- package/dist/cjs/eds-login.cjs.entry.js +0 -91
- package/dist/cjs/eds-matomo-notice.cjs.entry.js +0 -109
- package/dist/cjs/eds-navigator.cjs.entry.js +0 -43
- package/dist/cjs/eds-pagination_2.cjs.entry.js +0 -386
- package/dist/cjs/eds-tab.cjs.entry.js +0 -40
- package/dist/cjs/eds-tabs-content.cjs.entry.js +0 -133
- package/dist/collection/components/eds-frame/eds-frame.stories.js +0 -68
- package/dist/collection/components/eds-navigator/eds-navigator.js +0 -147
- package/dist/collection/components/eds-navigator/eds-navigator.stories.js +0 -101
- package/dist/collection/components/eds-tab/eds-tab.js +0 -109
- package/dist/collection/shared-ui/eds-tabs-content/eds-tabs-content.js +0 -194
- package/dist/collection/shared-ui/eds-tabs-content/eds-tabs-content.stories.js +0 -112
- package/dist/collection/shared-ui/eds-user-modal/eds-user-modal.js +0 -109
- package/dist/components/eds-navigator.js +0 -75
- package/dist/components/eds-tab.js +0 -6
- package/dist/components/eds-tab2.js +0 -55
- package/dist/components/eds-tabs-content.js +0 -159
- package/dist/components/eds-user-modal.js +0 -6
- package/dist/components/eds-user-modal2.js +0 -87
- package/dist/components/p-030f67c1.entry.js +0 -1
- package/dist/components/p-06299762.entry.js +0 -1
- package/dist/components/p-0ab85eee.entry.js +0 -1
- package/dist/components/p-0bafc5ae.entry.js +0 -1
- package/dist/components/p-0e7bdd2c.entry.js +0 -1
- package/dist/components/p-1ed3fdb7.entry.js +0 -1
- package/dist/components/p-209fa119.entry.js +0 -1
- package/dist/components/p-2831a9d5.entry.js +0 -1
- package/dist/components/p-2c00bd76.entry.js +0 -1
- package/dist/components/p-38d70586.entry.js +0 -1
- package/dist/components/p-3babd772.entry.js +0 -1
- package/dist/components/p-4a12a131.entry.js +0 -1
- package/dist/components/p-59405ecf.entry.js +0 -1
- package/dist/components/p-5980a142.entry.js +0 -1
- package/dist/components/p-599c7b97.entry.js +0 -1
- package/dist/components/p-65703520.entry.js +0 -1
- package/dist/components/p-6af40c33.entry.js +0 -1
- package/dist/components/p-6df9db15.entry.js +0 -1
- package/dist/components/p-75795b05.entry.js +0 -1
- package/dist/components/p-759b2640.entry.js +0 -1
- package/dist/components/p-80a185ba.entry.js +0 -1
- package/dist/components/p-86fbc239.entry.js +0 -1
- package/dist/components/p-8b583210.entry.js +0 -1
- package/dist/components/p-8c4a0fc9.entry.js +0 -1
- package/dist/components/p-8d19a05b.entry.js +0 -1
- package/dist/components/p-8eab748d.js +0 -1
- package/dist/components/p-911d9b37.entry.js +0 -1
- package/dist/components/p-92e16cc9.entry.js +0 -1
- package/dist/components/p-96fe2267.entry.js +0 -1
- package/dist/components/p-9739def5.entry.js +0 -1
- package/dist/components/p-9826acae.entry.js +0 -1
- package/dist/components/p-9b441a1f.entry.js +0 -1
- package/dist/components/p-a5b7d72d.entry.js +0 -1
- package/dist/components/p-a5d00633.entry.js +0 -1
- package/dist/components/p-a63bd0c9.entry.js +0 -1
- package/dist/components/p-a846dbca.entry.js +0 -1
- package/dist/components/p-a927a455.entry.js +0 -1
- package/dist/components/p-aec9b8e1.entry.js +0 -1
- package/dist/components/p-b3c1aef5.entry.js +0 -1
- package/dist/components/p-b60ed774.entry.js +0 -1
- package/dist/components/p-b67aafe7.entry.js +0 -1
- package/dist/components/p-b79999d5.entry.js +0 -1
- package/dist/components/p-b80457ed.entry.js +0 -1
- package/dist/components/p-c5fa170d.entry.js +0 -1
- package/dist/components/p-d69ef196.entry.js +0 -1
- package/dist/components/p-de12396f.entry.js +0 -1
- package/dist/components/p-de2fbcfc.entry.js +0 -1
- package/dist/components/p-e2c250c5.entry.js +0 -1
- package/dist/components/p-eeeb0d83.entry.js +0 -1
- package/dist/components/p-f08eac56.entry.js +0 -1
- package/dist/components/p-f1cd83da.entry.js +0 -1
- package/dist/components/p-f5dafbc8.entry.js +0 -1
- package/dist/components/p-f7493f41.entry.js +0 -1
- package/dist/components/p-fce25541.entry.js +0 -1
- package/dist/esm/eds-accordion.entry.js +0 -80
- package/dist/esm/eds-alert_17.entry.js +0 -1372
- package/dist/esm/eds-input_7.entry.js +0 -314
- package/dist/esm/eds-login.entry.js +0 -87
- package/dist/esm/eds-matomo-notice.entry.js +0 -105
- package/dist/esm/eds-navigator.entry.js +0 -39
- package/dist/esm/eds-pagination_2.entry.js +0 -381
- package/dist/esm/eds-tab.entry.js +0 -36
- package/dist/esm/eds-tabs-content.entry.js +0 -129
- package/dist/types/components/eds-navigator/eds-navigator.d.ts +0 -42
- package/dist/types/components/eds-navigator/eds-navigator.stories.d.ts +0 -46
- package/dist/types/components/eds-tab/eds-tab.d.ts +0 -15
- package/dist/types/shared-ui/eds-tabs-content/eds-tabs-content.d.ts +0 -36
- package/dist/types/shared-ui/eds-tabs-content/eds-tabs-content.stories.d.ts +0 -16
- package/dist/types/shared-ui/eds-user-modal/eds-user-modal.d.ts +0 -47
|
@@ -2,26 +2,51 @@ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/clien
|
|
|
2
2
|
import { d as defineCustomElement$3 } from './eds-icon-wrapper2.js';
|
|
3
3
|
import { d as defineCustomElement$2 } from './eds-link2.js';
|
|
4
4
|
|
|
5
|
+
const edsFrameCss = ".bg-inverse{background-color:var(--white)}.min-h-156{min-height:156px}.rounded{border-radius:0.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:16px}.rounded-md{border-radius:12px}.border-soft{border-color:rgba(0, 0, 0, .15 )}.border-softer{border-color:rgba(0, 0, 0, .1 )}.border-softest{border-color:rgba(0, 0, 0, .05 )}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.relative{position:relative}.flex{display:flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.border-2{border-width:2px}.w-full{width:100%}.h-full{height:100%}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.items-center{align-items:center}.justify-between{justify-content:space-between}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.px-12{padding-left:0.75rem;padding-right:0.75rem}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.ml-auto{margin-left:auto}.border-t-2{border-top-width:2px}.border{border:1px solid rgba(0, 0, 0, .1 )}.border-2{border:1px solid rgba(0, 0, 0, .1 )}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.ml-8{margin-left:0.5rem}.mr-8{margin-right:0.5rem}.mt-16{margin-top:1rem}";
|
|
6
|
+
const EdsFrameStyle0 = edsFrameCss;
|
|
7
|
+
|
|
5
8
|
const EdsFrame$1 = /*@__PURE__*/ proxyCustomElement(class EdsFrame extends HTMLElement {
|
|
6
9
|
constructor() {
|
|
7
10
|
super();
|
|
8
11
|
this.__registerHost();
|
|
12
|
+
this.__attachShadow();
|
|
9
13
|
this.frameLabel = undefined;
|
|
10
14
|
this.urlLabel = 'Open in Storybook';
|
|
11
15
|
this.errorMessage = 'Could not load the requested Storybook content. Please check the URL or try again later.';
|
|
12
16
|
this.storybookUrl = undefined;
|
|
13
17
|
this.storyPath = undefined;
|
|
14
18
|
this.intent = 'strong';
|
|
15
|
-
this.tiny = false;
|
|
16
19
|
this.size = 'auto';
|
|
17
|
-
this.bg = true;
|
|
18
20
|
this.iframeError = false;
|
|
19
21
|
}
|
|
22
|
+
componentWillLoad() {
|
|
23
|
+
this.checkIframeAvailability();
|
|
24
|
+
}
|
|
25
|
+
componentDidLoad() {
|
|
26
|
+
// Emit context for each eds-link element after the component is fully loaded
|
|
27
|
+
const links = this.el.querySelectorAll('eds-link');
|
|
28
|
+
links.forEach((link) => {
|
|
29
|
+
this.emitContext(link);
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Emits a custom event called `parentContext` for a given link element.
|
|
34
|
+
* This event provides context information about the breadcrumb component.
|
|
35
|
+
*
|
|
36
|
+
* @param linkElement - The link element to which the event will be dispatched.
|
|
37
|
+
*/
|
|
38
|
+
emitContext(linkElement) {
|
|
39
|
+
const event = new CustomEvent('parentContext', {
|
|
40
|
+
detail: {
|
|
41
|
+
componentName: this.el.tagName.toLowerCase(),
|
|
42
|
+
identifier: this.frameLabel
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
linkElement.dispatchEvent(event);
|
|
46
|
+
}
|
|
20
47
|
articleClasses() {
|
|
21
48
|
return [
|
|
22
|
-
|
|
23
|
-
this.bg ? 'bg-inverse' : 'bg-default',
|
|
24
|
-
'rounded border-softer effect-focus-within relative flex grow flex-col border-2',
|
|
49
|
+
'bg-inverse min-h-156 rounded border-softer effect-focus-within relative flex grow flex-col border-2',
|
|
25
50
|
'w-full h-full'
|
|
26
51
|
].join(' ');
|
|
27
52
|
}
|
|
@@ -50,31 +75,6 @@ const EdsFrame$1 = /*@__PURE__*/ proxyCustomElement(class EdsFrame extends HTMLE
|
|
|
50
75
|
this.iframeError = true;
|
|
51
76
|
}
|
|
52
77
|
}
|
|
53
|
-
componentWillLoad() {
|
|
54
|
-
this.checkIframeAvailability();
|
|
55
|
-
}
|
|
56
|
-
componentDidLoad() {
|
|
57
|
-
// Emit context for each eds-link element after the component is fully loaded
|
|
58
|
-
const links = this.el.querySelectorAll('eds-link');
|
|
59
|
-
links.forEach((link) => {
|
|
60
|
-
this.emitContext(link);
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Emits a custom event called `parentContext` for a given link element.
|
|
65
|
-
* This event provides context information about the breadcrumb component.
|
|
66
|
-
*
|
|
67
|
-
* @param linkElement - The link element to which the event will be dispatched.
|
|
68
|
-
*/
|
|
69
|
-
emitContext(linkElement) {
|
|
70
|
-
const event = new CustomEvent('parentContext', {
|
|
71
|
-
detail: {
|
|
72
|
-
componentName: this.el.tagName.toLowerCase(),
|
|
73
|
-
identifier: this.frameLabel
|
|
74
|
-
}
|
|
75
|
-
});
|
|
76
|
-
linkElement.dispatchEvent(event);
|
|
77
|
-
}
|
|
78
78
|
get storyLink() {
|
|
79
79
|
return `${this.storybookUrl}/?path=/story/${this.storyPath}`;
|
|
80
80
|
}
|
|
@@ -82,19 +82,18 @@ const EdsFrame$1 = /*@__PURE__*/ proxyCustomElement(class EdsFrame extends HTMLE
|
|
|
82
82
|
return `${this.storybookUrl}/iframe.html?id=${this.storyPath}&viewMode=story`;
|
|
83
83
|
}
|
|
84
84
|
render() {
|
|
85
|
-
return (h("div", { key: '
|
|
85
|
+
return (h("div", { key: 'e4b72fab30dcf1eeee6fdf3c63719599eafedb6d', class: this.articleClasses() }, h("div", { key: 'f8643db32120c14dd18b3d44ae530a83e81e59e0', class: "effect-height flex items-center justify-between py-8 px-12" }, h("span", { key: '7b40c644e142e6a6356e4d6a683b9c1c57104f5d', class: "f-ui-02" }, this.frameLabel), !this.iframeError ? (h("eds-link", { label: this.urlLabel, url: this.storyLink, intent: this.intent, class: "ml-auto", external: true, disabled: false, icon: "arrow-diagonal" })) : null), h("div", { key: '8a1fe80134dadd38d113968ad0c825a6f9426921', class: "border-softer" }, this.iframeError ? (h("div", { class: "container ml-8 mr-8 mt-16" }, this.errorMessage)) : (h("iframe", { src: this.frameSrc, width: "100%", height: this.getFrameHeight(), title: this.frameLabel, frameBorder: "0", allowFullScreen: true })))));
|
|
86
86
|
}
|
|
87
87
|
get el() { return this; }
|
|
88
|
-
|
|
88
|
+
static get style() { return EdsFrameStyle0; }
|
|
89
|
+
}, [1, "eds-frame", {
|
|
89
90
|
"frameLabel": [1, "frame-label"],
|
|
90
91
|
"urlLabel": [1, "url-label"],
|
|
91
92
|
"errorMessage": [1, "error-message"],
|
|
92
93
|
"storybookUrl": [1, "storybook-url"],
|
|
93
94
|
"storyPath": [1, "story-path"],
|
|
94
95
|
"intent": [1],
|
|
95
|
-
"tiny": [4],
|
|
96
96
|
"size": [1],
|
|
97
|
-
"bg": [4],
|
|
98
97
|
"iframeError": [32]
|
|
99
98
|
}]);
|
|
100
99
|
function defineCustomElement$1() {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { p as parseData } from './sharedUtils.js';
|
|
2
3
|
import { d as defineCustomElement$9 } from './eds-block-break2.js';
|
|
3
4
|
import { d as defineCustomElement$8 } from './eds-button2.js';
|
|
4
5
|
import { d as defineCustomElement$7 } from './eds-footer2.js';
|
|
@@ -59,20 +60,7 @@ const EdsFullscreenMenu$1 = /*@__PURE__*/ proxyCustomElement(class EdsFullscreen
|
|
|
59
60
|
* @returns {any[]} Array of parsed link objects
|
|
60
61
|
*/
|
|
61
62
|
get parsedLinks() {
|
|
62
|
-
|
|
63
|
-
return this.links;
|
|
64
|
-
}
|
|
65
|
-
else if (typeof this.links === 'string') {
|
|
66
|
-
try {
|
|
67
|
-
return JSON.parse(this.links);
|
|
68
|
-
}
|
|
69
|
-
catch (e) {
|
|
70
|
-
// eslint-disable-next-line
|
|
71
|
-
console.error('Error parsing links prop:', e);
|
|
72
|
-
return [];
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
return [];
|
|
63
|
+
return parseData(this.links);
|
|
76
64
|
}
|
|
77
65
|
/**
|
|
78
66
|
* Parses the `menuLinks` prop into an array of link objects.
|
|
@@ -81,20 +69,7 @@ const EdsFullscreenMenu$1 = /*@__PURE__*/ proxyCustomElement(class EdsFullscreen
|
|
|
81
69
|
* @returns {any[]} Array of parsed menu link objects
|
|
82
70
|
*/
|
|
83
71
|
get parsedMenuLinks() {
|
|
84
|
-
|
|
85
|
-
return this.menuLinks;
|
|
86
|
-
}
|
|
87
|
-
else if (typeof this.menuLinks === 'string') {
|
|
88
|
-
try {
|
|
89
|
-
return JSON.parse(this.menuLinks);
|
|
90
|
-
}
|
|
91
|
-
catch (e) {
|
|
92
|
-
// eslint-disable-next-line
|
|
93
|
-
console.error('Error parsing menuLinks prop:', e);
|
|
94
|
-
return [];
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
return [];
|
|
72
|
+
return parseData(this.menuLinks);
|
|
98
73
|
}
|
|
99
74
|
render() {
|
|
100
75
|
return this.isMenuOpen ? (h("div", { class: "eds-full-screen bg-default fixed inset-0 z-[999999] overflow-y-scroll" }, h("div", { class: "flex min-h-full flex-col" }, h("div", { class: `bg-default w-full sticky top-0 ${this.inverseHeader ? 'bg-strongest' : 'bg-default'}` }, h("div", { class: "mx-auto flex items-center justify-between" }, h("div", { class: "mr-auto w-[200px] h-[85px]" }, h("eds-logo", { type: this.inverseHeader ? 'color-white' : 'color', href: this.homeUrl })), h("div", { class: "px-16" }, h("eds-button", { "aria-label": "Close menu", intent: "ghostInverse", icon: "close", onClick: () => this.closeMenu() })))), h("div", { class: "py-16 px-16" }, h("nav", { class: "mt-28 flex flex-col gap-y-8" }, this.parsedLinks.map((link, index) => (h("eds-link", { label: link.label, key: index, url: link.url, intent: "tertiary", size: "large", class: "effect-color effect-focus rounded-xs f-heading-02 hover:text-lighter w-fit", onClick: () => this.closeMenu(), icon: "arrow-right" })))), h("eds-block-break", null), h("nav", { class: "mt-28 flex flex-col gap-y-8" }, this.parsedMenuLinks.map((link, index) => (h("eds-link", { label: link.label, key: index, url: link.url, intent: "tertiary", size: "large", class: "effect-color effect-focus rounded-xs f-heading-02 hover:text-lighter w-fit", onClick: () => this.closeMenu(), icon: "chevron-right" }))))), h("div", { class: "mt-auto" }, h("eds-footer", { social: true, "extra-class": "bg-darker" }))))) : null;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { p as parseData } from './sharedUtils.js';
|
|
2
3
|
import { d as defineCustomElement$5 } from './eds-button2.js';
|
|
3
4
|
import { d as defineCustomElement$4 } from './eds-icon-wrapper2.js';
|
|
4
5
|
import { d as defineCustomElement$3 } from './eds-link2.js';
|
|
@@ -68,28 +69,11 @@ const EdsHeader$1 = /*@__PURE__*/ proxyCustomElement(class EdsHeader extends HTM
|
|
|
68
69
|
* @returns {any[]} Array of parsed link objects
|
|
69
70
|
*/
|
|
70
71
|
get parsedLinks() {
|
|
71
|
-
|
|
72
|
-
if (Array.isArray(this.links)) {
|
|
73
|
-
return this.links;
|
|
74
|
-
}
|
|
75
|
-
if (typeof this.links === 'object') {
|
|
76
|
-
return this.links;
|
|
77
|
-
}
|
|
78
|
-
else if (typeof this.links === 'string') {
|
|
79
|
-
try {
|
|
80
|
-
return JSON.parse(this.links);
|
|
81
|
-
}
|
|
82
|
-
catch (e) {
|
|
83
|
-
// eslint-disable-next-line
|
|
84
|
-
console.error('Error parsing links prop:', e);
|
|
85
|
-
return [];
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
return [];
|
|
72
|
+
return parseData(this.links);
|
|
89
73
|
}
|
|
90
74
|
render() {
|
|
91
|
-
return (h("header", { key: '
|
|
92
|
-
${this.inverseHeader ? 'text-inverse bg-strongest' : 'text-default bg-dark'}` }, h("div", { key: '
|
|
75
|
+
return (h("header", { key: '2e39471507762066b258c72da9690f3001ca9a94', class: `flex items-center justify-between relative z-10
|
|
76
|
+
${this.inverseHeader ? 'text-inverse bg-strongest' : 'text-default bg-dark'}` }, h("div", { key: '75a52a092065c2f3f65f7d8a388b887d3991497e', class: "mr-auto w-[200px] h-[85px]" }, h("eds-logo", { key: '632c71d268929e06bc507573db21e04da4c60c67', type: this.inverseHeader ? 'color-white' : 'color', href: this.homeUrl })), this.parsedLinks && (h("nav", { key: '2a1bb9a64ea5731ea3a8c1537b1d95b28b2368f5', 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: '6cecbd7d268cd2aef5b7b117df422128c7dc994d', 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: "small", 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: 'b352a1456858d5190a6268928d2f92ddebdf99c2' }), 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));
|
|
93
77
|
}
|
|
94
78
|
get hostEl() { return this; }
|
|
95
79
|
static get style() { return EdsHeaderStyle0; }
|
|
@@ -8,7 +8,7 @@ const EdsIconArrowDiagonal$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconArr
|
|
|
8
8
|
this.addClass = '';
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return h("span", { key: '
|
|
11
|
+
return h("span", { key: '61fba958a683480dfd28e503b65a7dceb6640f46', class: this.addClass, innerHTML: arrowDiagonal });
|
|
12
12
|
}
|
|
13
13
|
}, [0, "eds-icon-arrow-diagonal", {
|
|
14
14
|
"addClass": [1, "add-class"]
|
|
@@ -8,7 +8,7 @@ const EdsIconArrowRight$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconArrowR
|
|
|
8
8
|
this.class = '';
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return h("span", { key: '
|
|
11
|
+
return h("span", { key: '823be807e649d4ddbd41c0628e2fda249a8c6f74', class: this.class, innerHTML: arrowRight });
|
|
12
12
|
}
|
|
13
13
|
}, [0, "eds-icon-arrow-right", {
|
|
14
14
|
"class": [1]
|
|
@@ -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]
|
|
@@ -8,7 +8,7 @@ const EdsIconChevronDown$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconChevr
|
|
|
8
8
|
this.class = '';
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return h("span", { key: '
|
|
11
|
+
return h("span", { key: 'c723d7f1bbd596063ae7e66123b8038af5320a54', class: this.class, innerHTML: chevronDown });
|
|
12
12
|
}
|
|
13
13
|
}, [0, "eds-icon-chevron-down", {
|
|
14
14
|
"class": [1]
|
|
@@ -8,7 +8,7 @@ const EdsIconChevronLeft$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconChevr
|
|
|
8
8
|
this.class = '';
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return h("span", { key: '
|
|
11
|
+
return h("span", { key: '5547e9d98f781dc03e88a014f726b3a402e6425d', class: this.class, innerHTML: chevronLeft });
|
|
12
12
|
}
|
|
13
13
|
}, [0, "eds-icon-chevron-left", {
|
|
14
14
|
"class": [1]
|
|
@@ -8,7 +8,7 @@ const EdsIconChevronRight$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconChev
|
|
|
8
8
|
this.class = '';
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return h("span", { key: '
|
|
11
|
+
return h("span", { key: '177f447969a48957c54d011bfb72693731ecc1cf', class: this.class, innerHTML: chevronRight });
|
|
12
12
|
}
|
|
13
13
|
}, [0, "eds-icon-chevron-right", {
|
|
14
14
|
"class": [1]
|
|
@@ -8,7 +8,7 @@ const EdsIconChevronUp$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconChevron
|
|
|
8
8
|
this.class = '';
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return h("span", { key: '
|
|
11
|
+
return h("span", { key: '7b8f0aa2da992611e0c908ca0785abce6e1ae189', class: this.class, innerHTML: chevronUp });
|
|
12
12
|
}
|
|
13
13
|
}, [0, "eds-icon-chevron-up", {
|
|
14
14
|
"class": [1]
|
|
@@ -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: '8e4dedef0fe684fdd6078db8005661e49207da55', 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: 'ff014a9761d8380a9fd8c97d3dd483b8d6fc786c', 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: '3888f0338df2496c334d95dbcb52a0e39906362d', class: this.class, innerHTML: euSvg });
|
|
12
12
|
}
|
|
13
13
|
}, [0, "eds-icon-eu", {
|
|
14
14
|
"class": [1]
|
|
@@ -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: '54ba107f89476040a8efb43b9e1239316c81a43f', 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: '484dd0712392f0ea05389a0fc0039580f69ca37c', 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: 'dd9df55fa03c1b27f2f931c7d07ccc69ee940ff4', class: this.class, innerHTML: menu });
|
|
12
12
|
}
|
|
13
13
|
}, [0, "eds-icon-menu", {
|
|
14
14
|
"class": [1]
|
|
@@ -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: 'dc06f1a54b9542cb2c0165fb3bdff960ecd81cc0', class: this.class, innerHTML: more });
|
|
12
12
|
}
|
|
13
13
|
}, [0, "eds-icon-more", {
|
|
14
14
|
"class": [1]
|
|
@@ -8,7 +8,7 @@ const EdsIconSearch$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconSearch ext
|
|
|
8
8
|
this.class = '';
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return h("span", { key: '
|
|
11
|
+
return h("span", { key: 'fc5e231865da99977c418a32e0fe30e36075f295', class: this.class, innerHTML: search });
|
|
12
12
|
}
|
|
13
13
|
}, [0, "eds-icon-search", {
|
|
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 EdsIconStar extends Components.EdsIconStar, HTMLElement {}
|
|
4
|
+
export const EdsIconStar: {
|
|
5
|
+
prototype: EdsIconStar;
|
|
6
|
+
new (): EdsIconStar;
|
|
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 { s as star } from './star.js';
|
|
3
|
+
|
|
4
|
+
const EdsIconStar$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconStar extends HTMLElement {
|
|
5
|
+
constructor() {
|
|
6
|
+
super();
|
|
7
|
+
this.__registerHost();
|
|
8
|
+
this.class = '';
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
return h("span", { key: 'cb31d12146ff577195650b502f51005092404a30', class: this.class, innerHTML: star });
|
|
12
|
+
}
|
|
13
|
+
}, [0, "eds-icon-star", {
|
|
14
|
+
"class": [1]
|
|
15
|
+
}]);
|
|
16
|
+
function defineCustomElement$1() {
|
|
17
|
+
if (typeof customElements === "undefined") {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const components = ["eds-icon-star"];
|
|
21
|
+
components.forEach(tagName => { switch (tagName) {
|
|
22
|
+
case "eds-icon-star":
|
|
23
|
+
if (!customElements.get(tagName)) {
|
|
24
|
+
customElements.define(tagName, EdsIconStar$1);
|
|
25
|
+
}
|
|
26
|
+
break;
|
|
27
|
+
} });
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const EdsIconStar = EdsIconStar$1;
|
|
31
|
+
const defineCustomElement = defineCustomElement$1;
|
|
32
|
+
|
|
33
|
+
export { EdsIconStar, defineCustomElement };
|
|
@@ -8,7 +8,7 @@ const EdsIconSuccess$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconSuccess e
|
|
|
8
8
|
this.class = '';
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return h("span", { key: '
|
|
11
|
+
return h("span", { key: '845a157678b9d059b2c9bd8a6265d3a62f33c31a', class: this.class, innerHTML: success });
|
|
12
12
|
}
|
|
13
13
|
}, [0, "eds-icon-success", {
|
|
14
14
|
"class": [1]
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface EdsIconThumbsDown extends Components.EdsIconThumbsDown, HTMLElement {}
|
|
4
|
+
export const EdsIconThumbsDown: {
|
|
5
|
+
prototype: EdsIconThumbsDown;
|
|
6
|
+
new (): EdsIconThumbsDown;
|
|
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 { t as thumbsDown } from './thumbs-down.js';
|
|
3
|
+
|
|
4
|
+
const EdsIconThumbsDown$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconThumbsDown extends HTMLElement {
|
|
5
|
+
constructor() {
|
|
6
|
+
super();
|
|
7
|
+
this.__registerHost();
|
|
8
|
+
this.class = '';
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
return h("span", { key: '62cee210c76ea8c63367ad8ab9a9322707c933fd', class: this.class, innerHTML: thumbsDown });
|
|
12
|
+
}
|
|
13
|
+
}, [0, "eds-icon-thumbs-down", {
|
|
14
|
+
"class": [1]
|
|
15
|
+
}]);
|
|
16
|
+
function defineCustomElement$1() {
|
|
17
|
+
if (typeof customElements === "undefined") {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const components = ["eds-icon-thumbs-down"];
|
|
21
|
+
components.forEach(tagName => { switch (tagName) {
|
|
22
|
+
case "eds-icon-thumbs-down":
|
|
23
|
+
if (!customElements.get(tagName)) {
|
|
24
|
+
customElements.define(tagName, EdsIconThumbsDown$1);
|
|
25
|
+
}
|
|
26
|
+
break;
|
|
27
|
+
} });
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const EdsIconThumbsDown = EdsIconThumbsDown$1;
|
|
31
|
+
const defineCustomElement = defineCustomElement$1;
|
|
32
|
+
|
|
33
|
+
export { EdsIconThumbsDown, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface EdsIconThumbsUp extends Components.EdsIconThumbsUp, HTMLElement {}
|
|
4
|
+
export const EdsIconThumbsUp: {
|
|
5
|
+
prototype: EdsIconThumbsUp;
|
|
6
|
+
new (): EdsIconThumbsUp;
|
|
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 { t as thumbsUp } from './thumbs-up.js';
|
|
3
|
+
|
|
4
|
+
const EdsIconThumbsUp$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconThumbsUp extends HTMLElement {
|
|
5
|
+
constructor() {
|
|
6
|
+
super();
|
|
7
|
+
this.__registerHost();
|
|
8
|
+
this.class = '';
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
return h("span", { key: 'f72d46f6685d3251254eaa0a2c2ce8aaca177a2e', class: this.class, innerHTML: thumbsUp });
|
|
12
|
+
}
|
|
13
|
+
}, [0, "eds-icon-thumbs-up", {
|
|
14
|
+
"class": [1]
|
|
15
|
+
}]);
|
|
16
|
+
function defineCustomElement$1() {
|
|
17
|
+
if (typeof customElements === "undefined") {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const components = ["eds-icon-thumbs-up"];
|
|
21
|
+
components.forEach(tagName => { switch (tagName) {
|
|
22
|
+
case "eds-icon-thumbs-up":
|
|
23
|
+
if (!customElements.get(tagName)) {
|
|
24
|
+
customElements.define(tagName, EdsIconThumbsUp$1);
|
|
25
|
+
}
|
|
26
|
+
break;
|
|
27
|
+
} });
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const EdsIconThumbsUp = EdsIconThumbsUp$1;
|
|
31
|
+
const defineCustomElement = defineCustomElement$1;
|
|
32
|
+
|
|
33
|
+
export { EdsIconThumbsUp, defineCustomElement };
|
|
@@ -8,7 +8,7 @@ const EdsIconTwitter$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconTwitter e
|
|
|
8
8
|
this.class = '';
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return h("span", { key: '
|
|
11
|
+
return h("span", { key: 'cd91bfb2003e955cfb02b5efc28e13b54cc3b7e6', class: this.class, innerHTML: twitter });
|
|
12
12
|
}
|
|
13
13
|
}, [0, "eds-icon-twitter", {
|
|
14
14
|
"class": [1]
|
|
@@ -8,7 +8,7 @@ const EdsIconUser$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconUser extends
|
|
|
8
8
|
this.class = '';
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return h("span", { key: '
|
|
11
|
+
return h("span", { key: '15fa7c4b7d2dea5740d0926bb1ff6490b23667f8', class: this.class, innerHTML: user });
|
|
12
12
|
}
|
|
13
13
|
}, [0, "eds-icon-user", {
|
|
14
14
|
"class": [1]
|
|
@@ -8,7 +8,7 @@ const EdsIconYoutube$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconYoutube e
|
|
|
8
8
|
this.class = '';
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return h("span", { key: '
|
|
11
|
+
return h("span", { key: '1a7ad8d7cbef70822ebda2f152d8b537df1eaf27', class: this.class, innerHTML: youtube });
|
|
12
12
|
}
|
|
13
13
|
}, [0, "eds-icon-youtube", {
|
|
14
14
|
"class": [1]
|
|
@@ -45,10 +45,10 @@ const EdsImg = /*@__PURE__*/ proxyCustomElement(class EdsImg extends HTMLElement
|
|
|
45
45
|
imgOpts['loading'] = 'lazy';
|
|
46
46
|
imgOpts['decoding'] = 'async';
|
|
47
47
|
}
|
|
48
|
-
return (h("div", { key: '
|
|
48
|
+
return (h("div", { key: '41ae7d59a508fd792b536729e538b6b0ecd1b0ad', class: {
|
|
49
49
|
'items-center justify-center': true,
|
|
50
50
|
'effect-bg-pattern': this.lazyload && this.showBg
|
|
51
|
-
} }, h("picture", { key: '
|
|
51
|
+
} }, h("picture", { key: 'eb242c3fa4f202ffd0cdc503bbb1d21736ea6190' }, this.formats.map((format) => (h("source", { type: format.type, srcSet: format.srcset, media: format.media, sizes: this.sizes }))), h("img", Object.assign({ key: '3145595f53cf765234588e8c6efa038f21b29873', ref: (el) => (this.img = el), class: {
|
|
52
52
|
'effect-opacity object-cover object-center': true,
|
|
53
53
|
'opacity-100': this.loaded,
|
|
54
54
|
'opacity-0': !this.loaded
|
|
@@ -66,11 +66,11 @@ const EdsInputField = /*@__PURE__*/ proxyCustomElement(class EdsInputField exten
|
|
|
66
66
|
icon: this.icon,
|
|
67
67
|
checked: this.checked
|
|
68
68
|
};
|
|
69
|
-
return (h("div", { key: '
|
|
69
|
+
return (h("div", { key: 'c165e8550b24f369e6a590377162d9b6265bf418', class: "space-y-8" }, this.type === 'checkbox' || this.type === 'radio' ? (this.parsedOptions.length > 0 ? (h("fieldset", { class: "space-y-4 mt-8" }, h("div", { class: "flex justify-between" }, this.label && (h("eds-input-label", { name: this.inputId || this.name, label: this.label, required: this.required })), this.hint && (h("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint))), this.parsedOptions.map((option) => (h("div", { class: "flex items-center gap-x-2", key: option.value }, h("eds-input", Object.assign({}, inputOpts, { value: option.value })), h("eds-input-label", { name: `${this.name}-${option.value}`, label: option.label })))))) : (h("div", { class: "flex items-center gap-x-8" }, h("eds-input", Object.assign({}, inputOpts)), this.label && (h("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required }))))) : (h("div", null, h("div", { class: "flex justify-between" }, this.label && (h("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required })), this.hint && (h("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint))), this.type === 'select' ? (h("eds-input-select", Object.assign({}, inputOpts, { options: this.parsedOptions }))) : this.type === 'file' ? (h("input", { type: "file", id: this.inputId || this.name, name: this.name, onChange: this.onChange, disabled: this.disabled, required: this.required })) : this.type === 'search' ? (h("eds-input-search", { name: "search-box" })) : this.type === 'range' ? ((() => {
|
|
70
70
|
var _a, _b, _c;
|
|
71
71
|
const opt = this.parsedOptions;
|
|
72
72
|
return (h("eds-input-range", { min: (_a = opt[0]) === null || _a === void 0 ? void 0 : _a.value, max: (_b = opt[1]) === null || _b === void 0 ? void 0 : _b.value, step: (_c = opt[2]) === null || _c === void 0 ? void 0 : _c.value, name: "range-slider" }));
|
|
73
|
-
})()) : (h("eds-input", Object.assign({}, inputOpts))))), h("eds-input-footer", { key: '
|
|
73
|
+
})()) : (h("eds-input", Object.assign({}, inputOpts))))), h("eds-input-footer", { key: '1d2cd632eab2ce62806d32c4828c25543cf97073', id: `${this.name}-footer`, name: this.name, message: this.message, "error-message": this.errorMessage, error: this.error, link: this.link })));
|
|
74
74
|
}
|
|
75
75
|
static get style() { return EdsInputFieldStyle0; }
|
|
76
76
|
}, [1, "eds-input-field", {
|