@ebrains/components 2.4.0 → 3.0.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/color-primary-palette_6.cjs.entry.js +14 -14
- package/dist/cjs/components-section.cjs.entry.js +1 -1
- package/dist/cjs/components.cjs.js +1 -1
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/docs-palettes.cjs.entry.js +1 -1
- package/dist/cjs/docs-tokens.cjs.entry.js +1 -1
- package/dist/cjs/eds-accordion_52.cjs.entry.js +10419 -0
- package/dist/cjs/eds-app-root.cjs.entry.js +1 -1
- package/dist/cjs/eds-cookies-preference.cjs.entry.js +2 -2
- package/dist/cjs/eds-feedback.cjs.entry.js +1 -1
- package/dist/cjs/eds-frame.cjs.entry.js +3 -3
- package/dist/cjs/eds-gauge.cjs.entry.js +5 -6
- package/dist/cjs/eds-gitlab-contributors.cjs.entry.js +248 -0
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-eu.cjs.entry.js +2 -2
- 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-mastodon.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
- package/dist/cjs/eds-modal.cjs.entry.js +84 -13
- package/dist/cjs/eds-pie.cjs.entry.js +20 -20
- package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
- package/dist/cjs/eds-splash-screen.cjs.entry.js +2 -2
- package/dist/cjs/eds-timeline.cjs.entry.js +2 -2
- package/dist/cjs/eds-toast-manager.cjs.entry.js +1 -1
- package/dist/cjs/eu-271d44ae.js +9 -0
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/index-50bc1aa4.js +4 -184
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/logo-space.cjs.entry.js +1 -2
- package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +2 -2
- package/dist/cjs/logo-variations-tabs.cjs.entry.js +1 -1
- package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
- package/dist/cjs/negative-c61d13b5.js +106 -0
- package/dist/cjs/positive-fdcd161e.js +67 -0
- package/dist/cjs/svg-repository.cjs.entry.js +6 -263
- package/dist/cjs/token-list_3.cjs.entry.js +91 -49
- package/dist/cjs/token-ratios.cjs.entry.js +1 -1
- package/dist/cjs/token-spacing.cjs.entry.js +1 -1
- package/dist/cjs/token-typography.cjs.entry.js +73 -42
- package/dist/collection/collection-manifest.json +9 -40
- package/dist/collection/components/eds-accordion/eds-accordion.css +138 -194
- package/dist/collection/components/eds-accordion/eds-accordion.js +68 -81
- package/dist/collection/components/eds-accordion/eds-accordion.stories.js +90 -41
- package/dist/collection/components/eds-alert/eds-alert.css +122 -95
- package/dist/collection/components/eds-alert/eds-alert.js +89 -104
- package/dist/collection/components/eds-alert/eds-alert.stories.js +180 -30
- package/dist/collection/components/eds-avatar/eds-avatar.css +6 -6
- package/dist/collection/components/eds-avatar/eds-avatar.js +1 -1
- package/dist/collection/components/eds-block-break/eds-block-break.css +1 -1
- package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
- package/dist/collection/components/eds-breadcrump/eds-breadcrumb.stories.js +1 -1
- package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +5 -5
- package/dist/collection/components/eds-button/eds-button.css +352 -90
- package/dist/collection/components/eds-button/eds-button.js +114 -43
- package/dist/collection/components/eds-button/eds-button.stories.js +3 -3
- package/dist/collection/components/eds-cards/eds-card-app/eds-card-app.css +116 -0
- package/dist/collection/components/eds-cards/eds-card-app/eds-card-app.js +187 -0
- package/dist/collection/components/eds-cards/eds-card-app/eds-card-app.stories.js +52 -0
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.css +13 -6
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +20 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.css +22 -6
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +51 -78
- package/dist/collection/components/eds-cards/eds-card-cta/eds-card-cta.css +138 -0
- package/dist/collection/components/eds-cards/eds-card-cta/eds-card-cta.js +217 -0
- package/dist/collection/components/eds-cards/eds-card-cta/eds-card-cta.stories.js +77 -0
- package/dist/collection/components/eds-cards/eds-card-feature/eds-card-feature.css +108 -0
- package/dist/collection/components/eds-cards/eds-card-feature/eds-card-feature.js +156 -0
- package/dist/collection/components/eds-cards/eds-card-feature/eds-card-feature.stories.js +55 -0
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.css +105 -4
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +70 -150
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.stories.js +72 -112
- package/dist/collection/components/eds-cards/eds-card-hero/eds-card-hero.css +127 -0
- package/dist/collection/components/eds-cards/eds-card-hero/eds-card-hero.js +181 -0
- package/dist/collection/components/eds-cards/eds-card-hero/eds-card-hero.stories.js +62 -0
- package/dist/collection/components/eds-cards/eds-card-stat/eds-card-stat.css +128 -0
- package/dist/collection/components/eds-cards/eds-card-stat/eds-card-stat.js +149 -0
- package/dist/collection/components/eds-cards/eds-card-stat/eds-card-stat.stories.js +50 -0
- package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.js +5 -6
- package/dist/collection/components/eds-charts/eds-pie/eds-pie.js +20 -20
- package/dist/collection/components/eds-code-block/eds-code-block.css +84 -120
- package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
- package/dist/collection/components/eds-dropdown/eds-dropdown.js +22 -41
- package/dist/collection/components/eds-feedback/eds-feedback.js +1 -1
- package/dist/collection/components/eds-feedback/eds-feedback.stories.js +5 -1
- package/dist/collection/components/eds-footer/eds-footer.css +55 -3
- package/dist/collection/components/eds-footer/eds-footer.js +28 -2
- package/dist/collection/components/eds-form/eds-form.css +100 -4
- package/dist/collection/components/eds-form/eds-form.js +172 -46
- package/dist/collection/components/eds-form/eds-form.stories.js +3 -11
- package/dist/collection/components/eds-frame/eds-frame.css +34 -22
- package/dist/collection/components/eds-frame/eds-frame.js +5 -5
- package/dist/collection/components/eds-frame/eds-frame.stories.js +1 -1
- package/dist/collection/components/eds-fullscreen-menu/eds-fullscreen-menu.css +9 -5
- package/dist/collection/components/eds-fullscreen-menu/eds-fullscreen-menu.js +4 -1
- package/dist/collection/components/eds-header/eds-header.css +20 -4
- package/dist/collection/components/eds-header/eds-header.js +17 -15
- package/dist/collection/components/eds-header/eds-header.stories.js +0 -2
- package/dist/collection/components/eds-icon-wrapper/eds-icon-wrapper.css +32 -0
- package/dist/collection/components/eds-icon-wrapper/eds-icon-wrapper.js +43 -61
- 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/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-dropzone/eds-input-dropzone.css +195 -0
- package/dist/collection/components/eds-input-dropzone/eds-input-dropzone.js +300 -0
- package/dist/collection/components/eds-input-dropzone/eds-input-dropzone.stories.js +34 -0
- package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +11 -5
- package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.css +16 -1
- 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 +5 -3
- package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +2 -2
- package/dist/collection/components/eds-input-field/eds-input-field.css +69 -69
- package/dist/collection/components/eds-input-field/eds-input-field.js +31 -6
- package/dist/collection/components/eds-input-file/eds-input-file.css +140 -0
- package/dist/collection/components/eds-input-file/eds-input-file.js +249 -0
- package/dist/collection/components/eds-link/eds-link.css +197 -22
- package/dist/collection/components/eds-link/eds-link.js +110 -38
- package/dist/collection/components/eds-link/eds-link.stories.js +3 -3
- package/dist/collection/components/eds-logo/eds-logo.css +3 -1
- package/dist/collection/components/eds-logo/eds-logo.js +12 -35
- package/dist/collection/components/eds-logo/eds-logo.stories.js +12 -29
- package/dist/collection/components/eds-modal/eds-modal.css +115 -19
- package/dist/collection/components/eds-modal/eds-modal.js +109 -17
- package/dist/collection/components/eds-nps/eds-nps.css +10 -1
- package/dist/collection/components/eds-nps/eds-nps.js +48 -22
- package/dist/collection/components/eds-pagination/eds-pagination.js +2 -2
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.css +83 -9
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +55 -10
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.stories.js +83 -10
- package/dist/collection/components/eds-rating/eds-rating.css +1 -1
- package/dist/collection/components/eds-rating/eds-rating.js +54 -12
- 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-sidebar/eds-sidebar.css +9 -4
- package/dist/collection/components/eds-sidebar/eds-sidebar.js +4 -4
- package/dist/collection/components/eds-social-networks/eds-social-networks.css +12 -0
- package/dist/collection/components/eds-social-networks/eds-social-networks.js +26 -1
- package/dist/collection/components/eds-spinner/eds-spinner.css +6 -6
- package/dist/collection/components/eds-spinner/eds-spinner.js +5 -5
- package/dist/collection/components/eds-splash-screen/eds-splash-screen.css +12 -12
- package/dist/collection/components/eds-splash-screen/eds-splash-screen.js +1 -1
- package/dist/collection/components/eds-steps/eds-steps.css +101 -15
- package/dist/collection/components/eds-steps/eds-steps.js +45 -6
- package/dist/collection/components/eds-steps/eds-steps.stories.js +7 -31
- package/dist/collection/components/eds-steps-v2/eds-steps-v2.css +172 -17
- package/dist/collection/components/eds-steps-v2/eds-steps-v2.js +50 -7
- package/dist/collection/components/eds-steps-v2/eds-steps-v2.stories.js +16 -30
- package/dist/collection/components/eds-switch/eds-switch.css +65 -3
- package/dist/collection/components/eds-switch/eds-switch.js +46 -2
- package/dist/collection/components/eds-switch/eds-switch.stories.js +91 -24
- package/dist/collection/components/eds-table/eds-table.css +253 -3
- package/dist/collection/components/eds-table/eds-table.js +123 -40
- package/dist/collection/components/eds-table/eds-table.stories.js +130 -32
- package/dist/collection/components/eds-tabs/eds-tabs.css +68 -358
- package/dist/collection/components/eds-tabs/eds-tabs.js +43 -87
- package/dist/collection/components/eds-tabs/eds-tabs.stories.js +82 -37
- package/dist/collection/components/eds-tag/eds-tag.css +151 -8
- package/dist/collection/components/eds-tag/eds-tag.js +17 -18
- package/dist/collection/components/eds-tag/eds-tag.stories.js +25 -5
- package/dist/collection/components/eds-timeline/eds-timeline.js +2 -2
- package/dist/collection/components/eds-toast/eds-toast.css +70 -10
- package/dist/collection/components/eds-toast/eds-toast.js +9 -7
- package/dist/collection/components/eds-toast/eds-toast.stories.js +25 -1
- package/dist/collection/components/eds-toast-manager/eds-toast-manager.js +1 -1
- package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
- package/dist/collection/components/eds-user/eds-user.js +5 -5
- package/dist/collection/components/eds-user/eds-user.stories.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
- package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
- package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/components-section/components-section.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/docs-tokens/docs-tokens.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +8 -7
- package/dist/collection/eds-docs-ui/docs-palettes/docs-palettes.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -2
- package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations-tabs/logo-variations.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +2 -2
- package/dist/collection/eds-docs-ui/svg-repository/svg-repository.js +1 -1
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +6 -5
- package/dist/collection/shared-ui/eds-gitlab-contributors/eds-gitlab-contributors.css +143 -0
- package/dist/collection/shared-ui/eds-gitlab-contributors/eds-gitlab-contributors.js +440 -0
- package/dist/collection/shared-ui/eds-global-search/eds-global-search.css +99 -24
- package/dist/collection/shared-ui/eds-global-search/eds-global-search.js +124 -5
- package/dist/collection/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.css +8 -0
- package/dist/collection/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.js +370 -0
- package/dist/collection/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.stories.js +87 -0
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.css +4 -0
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +1 -1
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.js +71 -4
- package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
- package/dist/collection/utils/eds-form/formValidators.js +5 -8
- package/dist/collection/utils/eds-form/individualValidator.js +22 -0
- package/dist/collection/utils/icons.js +169 -0
- package/dist/components/components-section.js +1 -1
- package/dist/components/components.css +747 -537
- package/dist/components/components.esm.js +1 -1
- package/dist/components/correct-use-of-colors.js +1 -1
- package/dist/components/docs-palettes.js +1 -1
- package/dist/components/docs-tokens.js +1 -1
- package/dist/components/eds-accordion2.js +19 -51
- package/dist/components/eds-alert2.js +32 -82
- package/dist/components/eds-app-root.js +3 -9
- package/dist/components/eds-avatar2.js +2 -2
- package/dist/components/eds-block-break2.js +2 -2
- package/dist/components/eds-breadcrumb.js +2 -2
- package/dist/components/eds-button2.js +69 -27
- package/dist/components/{eds-icon-bin.d.ts → eds-card-app.d.ts} +4 -4
- package/dist/components/eds-card-app.js +82 -0
- package/dist/components/{eds-trl.d.ts → eds-card-cta.d.ts} +4 -4
- package/dist/components/eds-card-cta.js +95 -0
- package/dist/components/eds-card-desc2.js +5 -3
- package/dist/components/{eds-card-project.d.ts → eds-card-feature.d.ts} +4 -4
- package/dist/components/eds-card-feature.js +64 -0
- package/dist/components/eds-card-generic2.js +46 -55
- package/dist/components/{eds-icon-edit.d.ts → eds-card-hero.d.ts} +4 -4
- package/dist/components/eds-card-hero.js +75 -0
- package/dist/components/{eds-icon-copy.d.ts → eds-card-stat.d.ts} +4 -4
- package/dist/components/eds-card-stat.js +67 -0
- package/dist/components/eds-card-title2.js +28 -39
- package/dist/components/eds-code-block2.js +2 -2
- package/dist/components/eds-cookies-preference.js +2 -2
- package/dist/components/eds-dropdown2.js +5 -8
- package/dist/components/eds-feedback.js +1 -1
- package/dist/components/eds-footer2.js +13 -13
- package/dist/components/eds-form.js +195 -66
- package/dist/components/eds-frame.js +3 -3
- package/dist/components/eds-fullscreen-menu.js +10 -16
- package/dist/components/eds-gauge.js +5 -6
- package/dist/components/eds-gitlab-contributors.d.ts +11 -0
- package/dist/components/eds-gitlab-contributors.js +317 -0
- package/dist/components/eds-global-search.js +83 -26
- package/dist/components/eds-header.js +15 -13
- package/dist/components/eds-icon-bluesky.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-mastodon.js +1 -1
- package/dist/components/eds-icon-twitter.js +1 -1
- package/dist/components/eds-icon-wrapper2.js +2435 -32
- package/dist/components/eds-icon-youtube.js +1 -1
- package/dist/components/eds-img2.js +2 -2
- package/dist/components/{eds-icon-chevron-up.d.ts → eds-input-dropzone.d.ts} +4 -4
- package/dist/components/eds-input-dropzone.js +6 -0
- package/dist/components/eds-input-dropzone2.js +133 -0
- package/dist/components/eds-input-field2.js +39 -8
- package/dist/components/{eds-icon-close.d.ts → eds-input-file.d.ts} +4 -4
- package/dist/components/eds-input-file.js +6 -0
- package/dist/components/eds-input-file2.js +100 -0
- package/dist/components/eds-input-footer2.js +2 -2
- package/dist/components/eds-input-label2.js +1 -1
- package/dist/components/eds-input-range2.js +5 -3
- package/dist/components/eds-input-search2.js +1 -1
- package/dist/components/eds-input-select2.js +2 -2
- package/dist/components/eds-input2.js +2 -2
- package/dist/components/eds-kg-web-services-select.d.ts +11 -0
- package/dist/components/eds-kg-web-services-select.js +6 -0
- package/dist/components/eds-kg-web-services-select2.js +192 -0
- package/dist/components/eds-link2.js +82 -33
- package/dist/components/eds-logo2.js +9 -33
- package/dist/components/eds-matomo-notice2.js +2 -2
- package/dist/components/eds-modal.js +85 -13
- package/dist/components/eds-nps2.js +30 -22
- package/dist/components/eds-pagination2.js +2 -2
- package/dist/components/eds-pie.js +20 -20
- package/dist/components/eds-progress-bar.js +80 -1
- package/dist/components/eds-rating2.js +28 -10
- package/dist/components/eds-section-core2.js +1 -1
- package/dist/components/eds-section-heading2.js +2 -2
- package/dist/components/eds-sidebar.js +4 -4
- package/dist/components/eds-social-networks2.js +8 -3
- package/dist/components/eds-spinner2.js +5 -5
- package/dist/components/eds-splash-screen2.js +4 -10
- package/dist/components/eds-steps-v2.js +16 -7
- package/dist/components/eds-steps2.js +11 -6
- package/dist/components/eds-switch.js +1 -82
- package/dist/components/eds-switch2.js +111 -0
- package/dist/components/eds-table2.js +96 -51
- package/dist/components/eds-tabs.js +16 -80
- package/dist/components/eds-tag2.js +14 -15
- package/dist/components/eds-timeline.js +5 -11
- package/dist/components/eds-toast-manager.js +1 -1
- package/dist/components/eds-toast2.js +8 -6
- package/dist/components/eds-tooltip2.js +1 -1
- package/dist/components/eds-user.js +3 -3
- package/dist/components/eu.js +5 -28
- package/dist/components/incorrect-use-of-colors.js +1 -1
- package/dist/components/logo-space.js +47 -24
- package/dist/components/logo-variations-horizontal2.js +1 -1
- package/dist/components/logo-variations-tabs.js +1 -1
- package/dist/components/logo-variations-vertical2.js +1 -1
- package/dist/components/logo-wrong-usage.js +2 -2
- package/dist/components/negative.js +104 -0
- package/dist/components/p-04e9c2d7.entry.js +1 -0
- package/dist/components/{p-5e6f5588.entry.js → p-0d7aee0b.entry.js} +1 -1
- package/dist/components/{p-07d5560c.entry.js → p-0fe10e6c.entry.js} +1 -1
- package/dist/components/p-18e852e1.entry.js +1 -0
- package/dist/components/p-1cc26ddf.entry.js +1 -0
- package/dist/components/p-3ccd6948.entry.js +1 -0
- package/dist/components/p-3d3841d6.entry.js +1 -0
- package/dist/components/p-3f38df99.entry.js +1 -0
- package/dist/components/p-527e71d0.entry.js +1 -0
- package/dist/components/p-55047f7f.entry.js +9 -0
- package/dist/components/{p-721431b8.entry.js → p-64c23098.entry.js} +1 -1
- package/dist/components/p-74b9c9a8.entry.js +1 -0
- package/dist/components/p-773bd015.entry.js +1 -0
- package/dist/components/p-7aa4edef.entry.js +1 -0
- package/dist/components/p-7b93a385.entry.js +1 -0
- package/dist/components/p-7baaf1a1.entry.js +1 -0
- package/dist/components/p-7ce1cf13.js +1 -0
- package/dist/components/p-878f65a6.entry.js +1 -0
- package/dist/components/p-92f6d9c0.entry.js +1 -0
- package/dist/components/{p-28ce55ae.entry.js → p-940a2d42.entry.js} +1 -1
- package/dist/components/p-9eedf771.entry.js +1 -0
- package/dist/components/{p-5ba1c4b4.entry.js → p-a63e14bb.entry.js} +1 -1
- package/dist/components/{p-67c3bedc.entry.js → p-a6dc1f88.entry.js} +1 -1
- package/dist/components/p-b4355cec.entry.js +1 -0
- package/dist/components/{p-21510f7a.entry.js → p-c2fc62f7.entry.js} +1 -1
- package/dist/components/p-c46675c8.entry.js +1 -0
- package/dist/components/p-caa71345.js +1 -0
- package/dist/components/p-d16b5363.entry.js +1 -0
- package/dist/components/{p-1f0819cf.entry.js → p-d1b3aa52.entry.js} +1 -1
- package/dist/components/{p-632bd36e.entry.js → p-d2576747.entry.js} +1 -1
- package/dist/components/p-d2f17fac.entry.js +1 -0
- package/dist/components/p-db5eea95.entry.js +1 -0
- package/dist/components/p-ddb9ce00.entry.js +1 -0
- package/dist/components/p-dfe93385.entry.js +1 -0
- package/dist/components/p-e0ee2386.js +1 -0
- package/dist/components/p-e205c269.entry.js +1 -0
- package/dist/components/p-f364296f.entry.js +1 -0
- package/dist/components/{p-801f67a1.entry.js → p-f55dd314.entry.js} +1 -1
- package/dist/components/p-f88b5f21.entry.js +1 -0
- package/dist/components/positive.js +65 -0
- package/dist/components/primary.js +1 -1
- package/dist/components/primary2.js +1 -1
- package/dist/components/secondary.js +1 -1
- package/dist/components/secondary2.js +7 -7
- package/dist/components/support.js +1 -1
- package/dist/components/support2.js +3 -3
- package/dist/components/svg-repository.js +45 -284
- package/dist/components/token-list2.js +57 -40
- package/dist/components/token-radii2.js +1 -1
- package/dist/components/token-ratios.js +1 -1
- package/dist/components/token-shadows2.js +33 -8
- package/dist/components/token-spacing.js +1 -1
- package/dist/components/token-typography.js +73 -42
- package/dist/esm/color-primary-palette_6.entry.js +14 -14
- package/dist/esm/components-section.entry.js +1 -1
- package/dist/esm/components.js +1 -1
- package/dist/esm/correct-use-of-colors.entry.js +1 -1
- package/dist/esm/docs-palettes.entry.js +1 -1
- package/dist/esm/docs-tokens.entry.js +1 -1
- package/dist/esm/eds-accordion_52.entry.js +10364 -0
- package/dist/esm/eds-app-root.entry.js +1 -1
- package/dist/esm/eds-cookies-preference.entry.js +2 -2
- package/dist/esm/eds-feedback.entry.js +1 -1
- package/dist/esm/eds-frame.entry.js +3 -3
- package/dist/esm/eds-gauge.entry.js +5 -6
- package/dist/esm/eds-gitlab-contributors.entry.js +244 -0
- package/dist/esm/eds-icon-bluesky.entry.js +1 -1
- package/dist/esm/eds-icon-eu.entry.js +2 -2
- 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-mastodon.entry.js +1 -1
- package/dist/esm/eds-icon-twitter.entry.js +1 -1
- package/dist/esm/eds-icon-youtube.entry.js +1 -1
- package/dist/esm/eds-modal.entry.js +84 -13
- package/dist/esm/eds-pie.entry.js +20 -20
- package/dist/esm/eds-section-core_2.entry.js +3 -3
- package/dist/esm/eds-splash-screen.entry.js +2 -2
- package/dist/esm/eds-timeline.entry.js +2 -2
- package/dist/esm/eds-toast-manager.entry.js +1 -1
- package/dist/esm/eu-8ac3e99c.js +7 -0
- package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
- package/dist/esm/index-870ab08f.js +4 -184
- package/dist/esm/loader.js +1 -1
- package/dist/esm/logo-space.entry.js +1 -2
- package/dist/esm/logo-variations-horizontal_2.entry.js +2 -2
- package/dist/esm/logo-variations-tabs.entry.js +1 -1
- package/dist/esm/logo-wrong-usage.entry.js +2 -2
- package/dist/esm/negative-84eec72e.js +104 -0
- package/dist/esm/positive-cc986d7c.js +65 -0
- package/dist/esm/svg-repository.entry.js +6 -263
- package/dist/esm/token-list_3.entry.js +91 -49
- package/dist/esm/token-ratios.entry.js +1 -1
- package/dist/esm/token-spacing.entry.js +1 -1
- package/dist/esm/token-typography.entry.js +73 -42
- package/dist/hydrate/index.js +4762 -4031
- package/dist/hydrate/index.mjs +4762 -4031
- package/dist/types/Users/nikolaosgeorgomanolis/Documents/EBRAINS/Projects/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/lib/svgs.d.ts +12 -0
- package/dist/types/components/eds-accordion/eds-accordion.d.ts +17 -53
- package/dist/types/components/eds-accordion/eds-accordion.stories.d.ts +36 -24
- package/dist/types/components/eds-alert/eds-alert.d.ts +32 -21
- package/dist/types/components/eds-alert/eds-alert.stories.d.ts +84 -11
- package/dist/types/components/eds-breadcrump/eds-breadcrump.d.ts +2 -2
- package/dist/types/components/eds-button/eds-button.d.ts +31 -14
- package/dist/types/components/eds-cards/eds-card-app/eds-card-app.d.ts +57 -0
- package/dist/types/components/eds-cards/eds-card-app/eds-card-app.stories.d.ts +60 -0
- package/dist/types/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.d.ts +1 -0
- package/dist/types/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.d.ts +5 -17
- package/dist/types/components/eds-cards/eds-card-cta/eds-card-cta.d.ts +64 -0
- package/dist/types/components/eds-cards/eds-card-cta/eds-card-cta.stories.d.ts +76 -0
- package/dist/types/components/eds-cards/eds-card-feature/eds-card-feature.d.ts +43 -0
- package/dist/types/components/eds-cards/eds-card-feature/eds-card-feature.stories.d.ts +53 -0
- package/dist/types/components/eds-cards/eds-card-generic/eds-card-generic.d.ts +12 -40
- package/dist/types/components/eds-cards/eds-card-generic/eds-card-generic.stories.d.ts +43 -44
- package/dist/types/components/eds-cards/eds-card-hero/eds-card-hero.d.ts +54 -0
- package/dist/types/components/eds-cards/eds-card-hero/eds-card-hero.stories.d.ts +65 -0
- package/dist/types/components/eds-cards/eds-card-stat/eds-card-stat.d.ts +41 -0
- package/dist/types/components/eds-cards/eds-card-stat/eds-card-stat.stories.d.ts +47 -0
- package/dist/types/components/eds-dropdown/eds-dropdown.d.ts +5 -10
- package/dist/types/components/eds-footer/eds-footer.d.ts +7 -0
- package/dist/types/components/eds-form/eds-form.d.ts +16 -5
- package/dist/types/components/eds-form/eds-form.stories.d.ts +0 -5
- package/dist/types/components/eds-frame/eds-frame.d.ts +1 -1
- package/dist/types/components/eds-fullscreen-menu/eds-fullscreen-menu.d.ts +3 -0
- package/dist/types/components/eds-header/eds-header.d.ts +3 -3
- package/dist/types/components/eds-icon-wrapper/eds-icon-wrapper.d.ts +3 -25
- package/dist/types/components/eds-input-dropzone/eds-input-dropzone.d.ts +51 -0
- package/dist/types/components/eds-input-dropzone/eds-input-dropzone.stories.d.ts +54 -0
- package/dist/types/components/eds-input-elements/eds-input/eds-input.d.ts +2 -1
- package/dist/types/components/eds-input-field/eds-input-field.d.ts +3 -1
- package/dist/types/components/eds-input-file/eds-input-file.d.ts +43 -0
- package/dist/types/components/eds-link/eds-link.d.ts +9 -3
- package/dist/types/components/eds-logo/eds-logo.d.ts +3 -3
- package/dist/types/components/eds-logo/eds-logo.stories.d.ts +1 -19
- package/dist/types/components/eds-modal/eds-modal.d.ts +15 -3
- package/dist/types/components/eds-nps/eds-nps.d.ts +11 -2
- package/dist/types/components/eds-progress-bar/eds-progress-bar.d.ts +13 -2
- package/dist/types/components/eds-progress-bar/eds-progress-bar.stories.d.ts +40 -1
- package/dist/types/components/eds-rating/eds-rating.d.ts +15 -2
- package/dist/types/components/eds-social-networks/eds-social-networks.d.ts +7 -0
- package/dist/types/components/eds-steps/eds-steps.d.ts +8 -0
- package/dist/types/components/eds-steps/eds-steps.stories.d.ts +2 -27
- package/dist/types/components/eds-steps-v2/eds-steps-v2.d.ts +8 -0
- package/dist/types/components/eds-steps-v2/eds-steps-v2.stories.d.ts +3 -6
- package/dist/types/components/eds-switch/eds-switch.d.ts +6 -0
- package/dist/types/components/eds-switch/eds-switch.stories.d.ts +49 -0
- package/dist/types/components/eds-table/eds-table.d.ts +45 -11
- package/dist/types/components/eds-table/eds-table.stories.d.ts +108 -9
- package/dist/types/components/eds-tabs/eds-tabs.d.ts +15 -17
- package/dist/types/components/eds-tabs/eds-tabs.stories.d.ts +57 -6
- package/dist/types/components/eds-tag/eds-tag.d.ts +1 -1
- package/dist/types/components/eds-tag/eds-tag.stories.d.ts +6 -0
- package/dist/types/components/eds-toast/eds-toast.d.ts +1 -1
- package/dist/types/components/eds-toast/eds-toast.stories.d.ts +10 -0
- package/dist/types/components/eds-user/eds-user.d.ts +1 -1
- package/dist/types/components.d.ts +1470 -1516
- package/dist/types/shared-ui/eds-cookies-preference/eds-cookies-preference.d.ts +1 -1
- package/dist/types/shared-ui/eds-gitlab-contributors/eds-gitlab-contributors.d.ts +114 -0
- package/dist/types/shared-ui/eds-global-search/eds-global-search.d.ts +18 -0
- package/dist/types/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.d.ts +98 -0
- package/dist/types/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.stories.d.ts +60 -0
- package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.d.ts +26 -0
- package/dist/types/utils/icons.d.ts +78 -0
- package/package.json +1 -1
- package/dist/cjs/arrow-diagonal-black-0eb8640e.js +0 -5
- package/dist/cjs/arrow-right-3e38e8a9.js +0 -7
- package/dist/cjs/bin-c07eeedc.js +0 -5
- package/dist/cjs/bookmark-c61853d9.js +0 -18
- package/dist/cjs/chevron-down-27344777.js +0 -14
- package/dist/cjs/chevron-left-6fc9c6ef.js +0 -13
- package/dist/cjs/chevron-right-6d95a117.js +0 -7
- package/dist/cjs/chevron-up-e37d7713.js +0 -14
- package/dist/cjs/clone-846acfdd.js +0 -5
- package/dist/cjs/close-51284af5.js +0 -7
- package/dist/cjs/copy-53102d0c.js +0 -7
- package/dist/cjs/download-9d17d025.js +0 -20
- package/dist/cjs/draft-05bd8904.js +0 -5
- package/dist/cjs/edit-ff5b84d8.js +0 -5
- package/dist/cjs/eds-accordion_37.cjs.entry.js +0 -6908
- package/dist/cjs/eds-card-desc_2.cjs.entry.js +0 -77
- package/dist/cjs/eds-card-generic.cjs.entry.js +0 -91
- package/dist/cjs/eds-card-project.cjs.entry.js +0 -195
- package/dist/cjs/eds-card-section.cjs.entry.js +0 -39
- package/dist/cjs/eds-card-tags.cjs.entry.js +0 -22
- package/dist/cjs/eds-card-tool.cjs.entry.js +0 -79
- package/dist/cjs/eds-footer.cjs.entry.js +0 -67
- package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +0 -91
- package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-bin.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-bookmark.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-clone.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-close.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-copy.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-download.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-draft.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-edit.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-external.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-loader.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-menu.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-minus.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-more.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-paper.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-plus.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-portal.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-private.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-public.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-search.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-star.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-start.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-success.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-tutorial.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-unknown.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-updown.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-user.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-view.cjs.entry.js +0 -18
- package/dist/cjs/eds-progress-bar.cjs.entry.js +0 -56
- package/dist/cjs/eds-social-networks.cjs.entry.js +0 -64
- package/dist/cjs/eds-trl.cjs.entry.js +0 -51
- package/dist/cjs/eu-b9665157.js +0 -32
- package/dist/cjs/index-ab9fbefe.js +0 -48
- package/dist/cjs/loader-72f9d178.js +0 -32
- package/dist/cjs/logo-color-6c787ac1.js +0 -117
- package/dist/cjs/logo-color-margins-b49c0f46.js +0 -120
- package/dist/cjs/logo-white-no-bg-4a0e0f4b.js +0 -1039
- package/dist/cjs/menu-7050a6d1.js +0 -13
- package/dist/cjs/minus-1da6a98a.js +0 -13
- package/dist/cjs/more-1d3dd8bc.js +0 -15
- package/dist/cjs/paper-0d6302f6.js +0 -17
- package/dist/cjs/plus-d0e00ad0.js +0 -14
- package/dist/cjs/portal-46212559.js +0 -20
- package/dist/cjs/private-38835fe7.js +0 -27
- package/dist/cjs/public-b519b1f6.js +0 -18
- package/dist/cjs/search-5533d877.js +0 -14
- package/dist/cjs/star-942eee9f.js +0 -7
- package/dist/cjs/start-c0ccfddd.js +0 -5
- package/dist/cjs/success-ef661a11.js +0 -20
- package/dist/cjs/thumbs-down-714036b1.js +0 -7
- package/dist/cjs/thumbs-up-411babb8.js +0 -8
- package/dist/cjs/tutotial-7855df3c.js +0 -29
- package/dist/cjs/unknown-6814e551.js +0 -24
- package/dist/cjs/up-and-down-6f179dd8.js +0 -14
- package/dist/cjs/user-a3c2230f.js +0 -18
- package/dist/cjs/view-80d5c6c8.js +0 -5
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.css +0 -9
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js +0 -63
- package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +0 -227
- package/dist/collection/components/eds-cards/eds-card-section/eds-card-section.css +0 -249
- package/dist/collection/components/eds-cards/eds-card-section/eds-card-section.js +0 -95
- package/dist/collection/components/eds-cards/eds-card-section/eds-card-section.stories.js +0 -71
- package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.css +0 -103
- package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +0 -314
- package/dist/collection/components/eds-fullscreen-menu/eds-fullscreen-menu.stories.js +0 -77
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +0 -36
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +0 -36
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +0 -36
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-bin/eds-icon-bin.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-clone/eds-icon-clone.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-download/eds-icon-download.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-draft/eds-icon-draft.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-edit/eds-icon-edit.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-external/eds-icon-external.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-minus/eds-icon-minus.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-paper/eds-icon-paper.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-start/eds-icon-start.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-view/eds-icon-view.js +0 -36
- package/dist/collection/components/eds-trl/eds-trl.js +0 -68
- package/dist/components/arrow-diagonal-black.js +0 -3
- package/dist/components/arrow-right.js +0 -5
- package/dist/components/bin.js +0 -3
- package/dist/components/bookmark.js +0 -16
- package/dist/components/chevron-down.js +0 -12
- package/dist/components/chevron-left.js +0 -11
- package/dist/components/chevron-right.js +0 -5
- package/dist/components/chevron-up.js +0 -12
- package/dist/components/clone.js +0 -3
- package/dist/components/close.js +0 -5
- package/dist/components/copy.js +0 -5
- package/dist/components/download.js +0 -18
- package/dist/components/draft.js +0 -3
- package/dist/components/edit.js +0 -3
- package/dist/components/eds-card-project.js +0 -237
- package/dist/components/eds-card-section.d.ts +0 -11
- package/dist/components/eds-card-section.js +0 -92
- package/dist/components/eds-card-tags.d.ts +0 -11
- package/dist/components/eds-card-tags.js +0 -45
- package/dist/components/eds-card-tool.d.ts +0 -11
- package/dist/components/eds-card-tool.js +0 -137
- package/dist/components/eds-icon-arrow-diagonal.d.ts +0 -11
- package/dist/components/eds-icon-arrow-diagonal.js +0 -33
- package/dist/components/eds-icon-arrow-right.d.ts +0 -11
- package/dist/components/eds-icon-arrow-right.js +0 -33
- package/dist/components/eds-icon-bin.js +0 -33
- package/dist/components/eds-icon-bookmark.d.ts +0 -11
- package/dist/components/eds-icon-bookmark.js +0 -33
- package/dist/components/eds-icon-chevron-down.d.ts +0 -11
- package/dist/components/eds-icon-chevron-down.js +0 -33
- package/dist/components/eds-icon-chevron-left.d.ts +0 -11
- package/dist/components/eds-icon-chevron-left.js +0 -33
- package/dist/components/eds-icon-chevron-right.d.ts +0 -11
- package/dist/components/eds-icon-chevron-right.js +0 -33
- package/dist/components/eds-icon-chevron-up.js +0 -33
- package/dist/components/eds-icon-clone.d.ts +0 -11
- package/dist/components/eds-icon-clone.js +0 -33
- package/dist/components/eds-icon-close.js +0 -33
- package/dist/components/eds-icon-copy.js +0 -33
- package/dist/components/eds-icon-download.d.ts +0 -11
- package/dist/components/eds-icon-download.js +0 -33
- package/dist/components/eds-icon-draft.d.ts +0 -11
- package/dist/components/eds-icon-draft.js +0 -33
- package/dist/components/eds-icon-edit.js +0 -33
- package/dist/components/eds-icon-external.d.ts +0 -11
- package/dist/components/eds-icon-external.js +0 -33
- package/dist/components/eds-icon-loader.d.ts +0 -11
- package/dist/components/eds-icon-loader.js +0 -33
- package/dist/components/eds-icon-menu.d.ts +0 -11
- package/dist/components/eds-icon-menu.js +0 -33
- package/dist/components/eds-icon-minus.d.ts +0 -11
- package/dist/components/eds-icon-minus.js +0 -33
- package/dist/components/eds-icon-more.d.ts +0 -11
- package/dist/components/eds-icon-more.js +0 -33
- package/dist/components/eds-icon-paper.d.ts +0 -11
- package/dist/components/eds-icon-paper.js +0 -33
- package/dist/components/eds-icon-plus.d.ts +0 -11
- package/dist/components/eds-icon-plus.js +0 -33
- package/dist/components/eds-icon-portal.d.ts +0 -11
- package/dist/components/eds-icon-portal.js +0 -33
- package/dist/components/eds-icon-private.d.ts +0 -11
- package/dist/components/eds-icon-private.js +0 -33
- package/dist/components/eds-icon-public.d.ts +0 -11
- package/dist/components/eds-icon-public.js +0 -33
- package/dist/components/eds-icon-search.d.ts +0 -11
- package/dist/components/eds-icon-search.js +0 -33
- package/dist/components/eds-icon-star.d.ts +0 -11
- package/dist/components/eds-icon-star.js +0 -33
- package/dist/components/eds-icon-start.d.ts +0 -11
- package/dist/components/eds-icon-start.js +0 -33
- package/dist/components/eds-icon-success.d.ts +0 -11
- package/dist/components/eds-icon-success.js +0 -33
- package/dist/components/eds-icon-thumbs-down.d.ts +0 -11
- package/dist/components/eds-icon-thumbs-down.js +0 -33
- package/dist/components/eds-icon-thumbs-up.d.ts +0 -11
- package/dist/components/eds-icon-thumbs-up.js +0 -33
- package/dist/components/eds-icon-tutorial.d.ts +0 -11
- package/dist/components/eds-icon-tutorial.js +0 -33
- package/dist/components/eds-icon-unknown.d.ts +0 -11
- package/dist/components/eds-icon-unknown.js +0 -33
- package/dist/components/eds-icon-updown.d.ts +0 -11
- package/dist/components/eds-icon-updown.js +0 -33
- package/dist/components/eds-icon-user.d.ts +0 -11
- package/dist/components/eds-icon-user.js +0 -33
- package/dist/components/eds-icon-view.d.ts +0 -11
- package/dist/components/eds-icon-view.js +0 -33
- package/dist/components/eds-progress-bar2.js +0 -71
- package/dist/components/eds-trl.js +0 -150
- package/dist/components/loader.js +0 -30
- package/dist/components/logo-color-margins.js +0 -118
- package/dist/components/logo-color.js +0 -115
- package/dist/components/logo-white-no-bg.js +0 -1029
- package/dist/components/menu.js +0 -11
- package/dist/components/minus.js +0 -11
- package/dist/components/more.js +0 -13
- package/dist/components/p-024c7937.js +0 -1
- package/dist/components/p-05754401.js +0 -1
- package/dist/components/p-062d2f91.entry.js +0 -1
- package/dist/components/p-0725a684.entry.js +0 -1
- package/dist/components/p-0be28996.js +0 -1
- package/dist/components/p-0da7d1c9.js +0 -1
- package/dist/components/p-0e6d43c5.js +0 -1
- package/dist/components/p-112122d6.js +0 -1
- package/dist/components/p-13f74e41.entry.js +0 -1
- package/dist/components/p-15dc5ecf.entry.js +0 -1
- package/dist/components/p-15df046d.entry.js +0 -1
- package/dist/components/p-15f94425.entry.js +0 -1
- package/dist/components/p-1ded61bd.js +0 -1
- package/dist/components/p-1f74c192.entry.js +0 -1
- package/dist/components/p-2066b033.js +0 -1
- package/dist/components/p-20e711e6.entry.js +0 -1
- package/dist/components/p-2117611b.js +0 -1
- package/dist/components/p-2692f93d.js +0 -1
- package/dist/components/p-277d0045.entry.js +0 -1
- package/dist/components/p-27c4a06e.js +0 -1
- package/dist/components/p-29041952.js +0 -1
- package/dist/components/p-30e88fc2.entry.js +0 -1
- package/dist/components/p-314aa952.entry.js +0 -1
- package/dist/components/p-32e6c4df.js +0 -1
- package/dist/components/p-355df495.entry.js +0 -1
- package/dist/components/p-366c5c03.entry.js +0 -1
- package/dist/components/p-38113b9c.entry.js +0 -1
- package/dist/components/p-3a1e54bd.entry.js +0 -1
- package/dist/components/p-3ad7a15b.entry.js +0 -1
- package/dist/components/p-3b838def.entry.js +0 -1
- package/dist/components/p-454bdd5a.js +0 -1
- package/dist/components/p-4587d0ef.js +0 -1
- package/dist/components/p-46d0716d.js +0 -1
- package/dist/components/p-48825534.entry.js +0 -1
- package/dist/components/p-4cebd89e.entry.js +0 -1
- package/dist/components/p-4eb2cf7f.js +0 -1
- package/dist/components/p-51d0e443.entry.js +0 -1
- package/dist/components/p-52c28fa2.js +0 -1
- package/dist/components/p-53f6527b.entry.js +0 -1
- package/dist/components/p-553ca350.js +0 -1
- package/dist/components/p-58967f53.js +0 -1
- package/dist/components/p-5d046674.js +0 -1
- package/dist/components/p-6197c589.entry.js +0 -1
- package/dist/components/p-65948a6e.entry.js +0 -1
- package/dist/components/p-694fc085.js +0 -1
- package/dist/components/p-7198c024.js +0 -1
- package/dist/components/p-7737d5c7.entry.js +0 -1
- package/dist/components/p-78e85217.entry.js +0 -1
- package/dist/components/p-7a62ae0d.entry.js +0 -1
- package/dist/components/p-7aa97ad6.entry.js +0 -1
- package/dist/components/p-7f820989.entry.js +0 -1
- package/dist/components/p-80ced58a.entry.js +0 -1
- package/dist/components/p-83dde536.entry.js +0 -1
- package/dist/components/p-83ff4a95.js +0 -1
- package/dist/components/p-86bb73dc.js +0 -1
- package/dist/components/p-87481169.entry.js +0 -1
- package/dist/components/p-87df6442.entry.js +0 -1
- package/dist/components/p-8983de37.js +0 -1
- package/dist/components/p-8bd954b5.entry.js +0 -1
- package/dist/components/p-8c520685.entry.js +0 -1
- package/dist/components/p-941dc156.entry.js +0 -1
- package/dist/components/p-9afd31cb.entry.js +0 -1
- package/dist/components/p-9c5a453b.js +0 -1
- package/dist/components/p-9cd1cc1e.entry.js +0 -1
- package/dist/components/p-9d57b51f.entry.js +0 -1
- package/dist/components/p-a61dbad5.entry.js +0 -1
- package/dist/components/p-a7323642.entry.js +0 -1
- package/dist/components/p-a83c336c.entry.js +0 -1
- package/dist/components/p-ab4acc26.entry.js +0 -1
- package/dist/components/p-ac501eb6.entry.js +0 -1
- package/dist/components/p-ad036475.entry.js +0 -1
- package/dist/components/p-ad295d47.entry.js +0 -1
- package/dist/components/p-ad6e7daf.entry.js +0 -1
- package/dist/components/p-ae471b33.entry.js +0 -1
- package/dist/components/p-aefcb641.js +0 -1
- package/dist/components/p-b64f8ffc.entry.js +0 -1
- package/dist/components/p-b73410de.js +0 -1
- package/dist/components/p-b822abb7.js +0 -1
- package/dist/components/p-ba720bf3.js +0 -1
- package/dist/components/p-bb800eec.entry.js +0 -1
- package/dist/components/p-bfb00131.entry.js +0 -1
- package/dist/components/p-c07e3269.entry.js +0 -1
- package/dist/components/p-c1e4ef92.js +0 -1
- package/dist/components/p-c286e9d3.entry.js +0 -1
- package/dist/components/p-c38c527e.entry.js +0 -1
- package/dist/components/p-c404226a.entry.js +0 -1
- package/dist/components/p-c776b6f8.js +0 -1
- package/dist/components/p-c8e7c854.js +0 -1
- package/dist/components/p-c9d60f21.entry.js +0 -1
- package/dist/components/p-cdf19579.js +0 -1
- package/dist/components/p-d29676a0.entry.js +0 -1
- package/dist/components/p-d962849c.js +0 -1
- package/dist/components/p-da96c7cd.entry.js +0 -1
- package/dist/components/p-df5fc158.entry.js +0 -1
- package/dist/components/p-e2d5a487.js +0 -1
- package/dist/components/p-e311fe9e.entry.js +0 -1
- package/dist/components/p-e4f0f24a.entry.js +0 -1
- package/dist/components/p-ece618b3.js +0 -1
- package/dist/components/p-eda55db0.entry.js +0 -1
- package/dist/components/p-ee93afac.entry.js +0 -1
- package/dist/components/p-f0993844.entry.js +0 -1
- package/dist/components/p-f1c8f841.entry.js +0 -1
- package/dist/components/p-f227bac5.entry.js +0 -1
- package/dist/components/p-f24bfc6a.entry.js +0 -1
- package/dist/components/p-f2abe4d8.js +0 -1
- package/dist/components/p-f3754a20.entry.js +0 -1
- package/dist/components/p-f4c954ec.entry.js +0 -1
- package/dist/components/p-f6baca73.entry.js +0 -9
- package/dist/components/p-f7b88ef5.entry.js +0 -1
- package/dist/components/p-fda3df86.entry.js +0 -1
- package/dist/components/paper.js +0 -15
- package/dist/components/plus.js +0 -12
- package/dist/components/portal.js +0 -18
- package/dist/components/private.js +0 -25
- package/dist/components/public.js +0 -16
- package/dist/components/search.js +0 -12
- package/dist/components/star.js +0 -5
- package/dist/components/start.js +0 -3
- package/dist/components/success.js +0 -18
- package/dist/components/thumbs-down.js +0 -5
- package/dist/components/thumbs-up.js +0 -6
- package/dist/components/tutotial.js +0 -27
- package/dist/components/unknown.js +0 -22
- package/dist/components/up-and-down.js +0 -12
- package/dist/components/user.js +0 -16
- package/dist/components/view.js +0 -3
- package/dist/esm/arrow-diagonal-black-8f0494c3.js +0 -3
- package/dist/esm/arrow-right-9322ba8a.js +0 -5
- package/dist/esm/bin-37cad2f0.js +0 -3
- package/dist/esm/bookmark-c200037c.js +0 -16
- package/dist/esm/chevron-down-6144c823.js +0 -12
- package/dist/esm/chevron-left-ca6c66e1.js +0 -11
- package/dist/esm/chevron-right-b88ed2d4.js +0 -5
- package/dist/esm/chevron-up-c66bd477.js +0 -12
- package/dist/esm/clone-dab56639.js +0 -3
- package/dist/esm/close-87fc0d63.js +0 -5
- package/dist/esm/copy-03b72cb6.js +0 -5
- package/dist/esm/download-47746956.js +0 -18
- package/dist/esm/draft-dd5dada2.js +0 -3
- package/dist/esm/edit-3893a517.js +0 -3
- package/dist/esm/eds-accordion_37.entry.js +0 -6868
- package/dist/esm/eds-card-desc_2.entry.js +0 -72
- package/dist/esm/eds-card-generic.entry.js +0 -87
- package/dist/esm/eds-card-project.entry.js +0 -191
- package/dist/esm/eds-card-section.entry.js +0 -35
- package/dist/esm/eds-card-tags.entry.js +0 -18
- package/dist/esm/eds-card-tool.entry.js +0 -75
- package/dist/esm/eds-footer.entry.js +0 -63
- package/dist/esm/eds-fullscreen-menu.entry.js +0 -87
- package/dist/esm/eds-icon-arrow-diagonal.entry.js +0 -14
- package/dist/esm/eds-icon-arrow-right.entry.js +0 -14
- package/dist/esm/eds-icon-bin.entry.js +0 -14
- package/dist/esm/eds-icon-bookmark.entry.js +0 -14
- package/dist/esm/eds-icon-chevron-down.entry.js +0 -14
- package/dist/esm/eds-icon-chevron-left.entry.js +0 -14
- package/dist/esm/eds-icon-chevron-right.entry.js +0 -14
- package/dist/esm/eds-icon-chevron-up.entry.js +0 -14
- package/dist/esm/eds-icon-clone.entry.js +0 -14
- package/dist/esm/eds-icon-close.entry.js +0 -14
- package/dist/esm/eds-icon-copy.entry.js +0 -14
- package/dist/esm/eds-icon-download.entry.js +0 -14
- package/dist/esm/eds-icon-draft.entry.js +0 -14
- package/dist/esm/eds-icon-edit.entry.js +0 -14
- package/dist/esm/eds-icon-external.entry.js +0 -14
- package/dist/esm/eds-icon-loader.entry.js +0 -14
- package/dist/esm/eds-icon-menu.entry.js +0 -14
- package/dist/esm/eds-icon-minus.entry.js +0 -14
- package/dist/esm/eds-icon-more.entry.js +0 -14
- package/dist/esm/eds-icon-paper.entry.js +0 -14
- package/dist/esm/eds-icon-plus.entry.js +0 -14
- package/dist/esm/eds-icon-portal.entry.js +0 -14
- package/dist/esm/eds-icon-private.entry.js +0 -14
- package/dist/esm/eds-icon-public.entry.js +0 -14
- package/dist/esm/eds-icon-search.entry.js +0 -14
- package/dist/esm/eds-icon-star.entry.js +0 -14
- package/dist/esm/eds-icon-start.entry.js +0 -14
- package/dist/esm/eds-icon-success.entry.js +0 -14
- package/dist/esm/eds-icon-thumbs-down.entry.js +0 -14
- package/dist/esm/eds-icon-thumbs-up.entry.js +0 -14
- package/dist/esm/eds-icon-tutorial.entry.js +0 -14
- package/dist/esm/eds-icon-unknown.entry.js +0 -14
- package/dist/esm/eds-icon-updown.entry.js +0 -14
- package/dist/esm/eds-icon-user.entry.js +0 -14
- package/dist/esm/eds-icon-view.entry.js +0 -14
- package/dist/esm/eds-progress-bar.entry.js +0 -52
- package/dist/esm/eds-social-networks.entry.js +0 -60
- package/dist/esm/eds-trl.entry.js +0 -47
- package/dist/esm/eu-9ddde93a.js +0 -30
- package/dist/esm/index-39c58238.js +0 -46
- package/dist/esm/loader-c9628637.js +0 -30
- package/dist/esm/logo-color-7f1fd803.js +0 -115
- package/dist/esm/logo-color-margins-ff8ce71b.js +0 -118
- package/dist/esm/logo-white-no-bg-f382f86f.js +0 -1029
- package/dist/esm/menu-340ea948.js +0 -11
- package/dist/esm/minus-b30a7c71.js +0 -11
- package/dist/esm/more-4449d549.js +0 -13
- package/dist/esm/paper-8e74ea31.js +0 -15
- package/dist/esm/plus-89c07be2.js +0 -12
- package/dist/esm/portal-d6c8ce56.js +0 -18
- package/dist/esm/private-1c25ff8e.js +0 -25
- package/dist/esm/public-d4d8c585.js +0 -16
- package/dist/esm/search-fbcd79c2.js +0 -12
- package/dist/esm/star-0da9b5e9.js +0 -5
- package/dist/esm/start-65126a4f.js +0 -3
- package/dist/esm/success-443809da.js +0 -18
- package/dist/esm/thumbs-down-a18fd049.js +0 -5
- package/dist/esm/thumbs-up-c19a71bc.js +0 -6
- package/dist/esm/tutotial-150ee1fd.js +0 -27
- package/dist/esm/unknown-ed01a24c.js +0 -22
- package/dist/esm/up-and-down-8b69ca97.js +0 -12
- package/dist/esm/user-71ebdc15.js +0 -16
- package/dist/esm/view-e900f2d4.js +0 -3
- package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/lib/svgs.d.ts +0 -65
- package/dist/types/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.d.ts +0 -15
- package/dist/types/components/eds-cards/eds-card-project/eds-card-project.d.ts +0 -54
- package/dist/types/components/eds-cards/eds-card-section/eds-card-section.d.ts +0 -70
- package/dist/types/components/eds-cards/eds-card-section/eds-card-section.stories.d.ts +0 -68
- package/dist/types/components/eds-cards/eds-card-tool/eds-card-tool.d.ts +0 -79
- package/dist/types/components/eds-fullscreen-menu/eds-fullscreen-menu.stories.d.ts +0 -29
- package/dist/types/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.d.ts +0 -10
- package/dist/types/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.d.ts +0 -10
- package/dist/types/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.d.ts +0 -10
- package/dist/types/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-bin/eds-icon-bin.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-clone/eds-icon-clone.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-close/eds-icon-close.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-copy/eds-icon-copy.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-download/eds-icon-download.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-draft/eds-icon-draft.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-edit/eds-icon-edit.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-external/eds-icon-external.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-loader/eds-icon-loader.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-menu/eds-icon-menu.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-minus/eds-icon-minus.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-more/eds-icon-more.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-paper/eds-icon-paper.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-plus/eds-icon-plus.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-portal/eds-icon-portal.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-private/eds-icon-private.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-public/eds-icon-public.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-search/eds-icon-search.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-star/eds-icon-star.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-start/eds-icon-start.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-success/eds-icon-success.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-unknown/eds-icon-unknown.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-updown/eds-icon-updown.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-user/eds-icon-user.d.ts +0 -10
- package/dist/types/components/eds-icons/eds-icon-view/eds-icon-view.d.ts +0 -10
- package/dist/types/components/eds-trl/eds-trl.d.ts +0 -12
- /package/dist/types/Users/{nigeor/Documents/Projects/EBRAINS → nikolaosgeorgomanolis/Documents/EBRAINS/Projects}/ebrains-ui-ecosystem/packages/components/.stencil/packages/components/stencil.config.d.ts +0 -0
- /package/dist/types/Users/{nigeor/Documents/Projects/EBRAINS → nikolaosgeorgomanolis/Documents/EBRAINS/Projects}/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/index.d.ts +0 -0
|
@@ -120,7 +120,7 @@ const EdsBreadcrumb$1 = /*@__PURE__*/ proxyCustomElement(class EdsBreadcrumb ext
|
|
|
120
120
|
*/
|
|
121
121
|
render() {
|
|
122
122
|
const itemsToRender = this.getTruncatedItems();
|
|
123
|
-
return (h("nav", { key: '
|
|
123
|
+
return (h("nav", { key: 'a068d2deb011c0a303e5a4320f4f5913bfc36d4a', "aria-label": "Breadcrumb" }, h("ol", { key: '63ab81ece8ff48546875320f4fd346638fac3bdc', class: "flex items-center space-x-2" }, itemsToRender.map((item, index) => {
|
|
124
124
|
const isLast = index === itemsToRender.length - 1;
|
|
125
125
|
return (h("li", { class: "flex items-center" }, !item.isHidden ? ((() => {
|
|
126
126
|
const { fullLabel } = this.getLabels(item, isLast);
|
|
@@ -132,7 +132,7 @@ const EdsBreadcrumb$1 = /*@__PURE__*/ proxyCustomElement(class EdsBreadcrumb ext
|
|
|
132
132
|
: this.intent
|
|
133
133
|
: this.intent;
|
|
134
134
|
return (h("eds-link", Object.assign({ label: fullLabel, url: item.url, intent: linkIntent, disabled: isLast, current: isLast, "aria-label": fullLabel, size: "small", "icon-small": "false" }, (isLast ? { 'aria-current': 'page' } : {}))));
|
|
135
|
-
})()) : (h("eds-link", { label: "...", url: "#", intent: "strong", current: false, "aria-label": "...", size: "small", "icon-small": "false", icon: "chevron-right" })), !isLast && !item.isHidden && (h("eds-icon-wrapper", {
|
|
135
|
+
})()) : (h("eds-link", { label: "...", url: "#", intent: "strong", current: false, "aria-label": "...", size: "small", "icon-small": "false", icon: "chevron-right" })), !isLast && !item.isHidden && (h("eds-icon-wrapper", { name: "chevron-right", class: "w-20 h-20" }))));
|
|
136
136
|
}))));
|
|
137
137
|
}
|
|
138
138
|
get el() { return this; }
|
|
@@ -3,7 +3,7 @@ import { s as sendAnalytics } from './analytics.js';
|
|
|
3
3
|
import { c as cva } from './index2.js';
|
|
4
4
|
import { d as defineCustomElement$1 } from './eds-icon-wrapper2.js';
|
|
5
5
|
|
|
6
|
-
const edsButtonCss = "*,\n::before,\n::after {\n box-sizing: border-box;\n border-width: 0;\n border-style: solid;\n border-color: currentColor;\n}\n\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/*\n 1. Change the font styles in all browsers.\n 2. Remove the margin in Firefox and Safari.\n 3. Remove default padding in all browsers.\n */\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n font-size: 100%;\n font-weight: inherit;\n line-height: inherit;\n letter-spacing: inherit;\n color: inherit;\n margin: 0;\n padding: 0;\n}\n\n/*\n Remove the inheritance of text transform in Edge and Firefox.\n */\nbutton,\nselect {\n text-transform: none;\n}\n\n/*\n 1. Correct the inability to style clickable types in iOS and Safari.\n 2. Remove default button styles.\n */\nbutton,\ninput:where([type='button']),\ninput:where([type='reset']),\ninput:where([type='submit']) {\n -webkit-appearance: button;\n /* 1 */\n background-color: transparent;\n /* 2 */\n background-image: none;\n /* 2 */\n}\n\np {\n margin: 0;\n}\n\n/*\n Set the default cursor for buttons.\n */\nbutton,\n[role=\"button\"] {\n cursor: pointer;\n}\n\n/*\n Make sure disabled buttons don't get the pointer cursor.\n */\n:disabled {\n cursor: default;\n}\n\n/* Make elements with the HTML hidden attribute stay hidden by default */\n[hidden] {\n display: none;\n}\n\n.f-body-01 {\n font-family: var(--f-body-01-fontFamily);\n font-weight: var(--f-body-01-fontWeight);\n font-size: var(--f-body-01-fontSize);\n line-height: var(--f-body-01-lineHeight);\n letter-spacing: var(--f-body-01-letterSpacing);\n}\n\n.f-body-02 {\n font-family: var(--f-body-02-fontFamily);\n font-weight: var(--f-body-02-fontWeight);\n font-size: var(--f-body-02-fontSize);\n line-height: var(--f-body-02-lineHeight);\n letter-spacing: var(--f-body-02-letterSpacing);\n}\n\n.f-ui-01 {\n font-family: var(--f-ui-01-fontFamily);\n font-weight: var(--f-ui-01-fontWeight);\n font-size: var(--f-ui-01-fontSize);\n line-height: var(--f-ui-01-lineHeight);\n letter-spacing: var(--f-ui-01-letterSpacing);\n}\n\n.f-ui-02 {\n font-family: var(--f-ui-02-fontFamily);\n font-weight: var(--f-ui-02-fontWeight);\n font-size: var(--f-ui-02-fontSize);\n line-height: var(--f-ui-02-lineHeight);\n letter-spacing: var(--f-ui-02-letterSpacing);\n}\n\n.border-inside {\n position: relative;\n\n &::after {\n pointer-events: none;\n }\n\n &::after {\n position: absolute;\n }\n\n &::after {\n inset: 0rem;\n }\n\n &::after {\n z-index: 1;\n }\n\n &::after {\n border-radius: 8px;\n }\n\n &::after {\n border-width: 1px;\n }\n\n &::after {\n border-width: 2px;\n }\n\n &::after {\n border-color: rgba(0, 0, 0, .1);\n }\n\n &::after {\n content: '';\n }\n}\n\n.border-inside-inverse {\n &::after {\n border-color: rgba(255, 255, 255, 0.3);\n }\n\n &::after {\n content: '';\n }\n}\n\n.border-inside-pill {\n &::after {\n border-radius: 100px;\n }\n\n &::after {\n content: '';\n }\n}\n\n.loader {\n box-sizing: border-box;\n display: inline-block;\n height: 1rem;\n width: 1rem;\n}\n\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n\n.loader {\n animation: spin 1s linear infinite;\n border-radius: 9999px;\n border: 3px solid rgba(0, 0, 0, .3);\n border-bottom-color: #000;\n}\n\n/** region TRANSITIONS */\n.effect-color {\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 300ms;\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n}\n\n.effect-focus {\n outline-width: 3px;\n outline-offset: 2px;\n outline-color: var(--green-500);\n}\n\n.effect-focus:focus-visible {\n outline-style: solid;\n}\n\n.effect-focus-within {\n outline-width: 3px;\n outline-offset: 2px;\n outline-color: var(--green-500);\n}\n\n.effect-focus-within:focus-within {\n outline-style: solid;\n}\n\n.sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.pointer-events-none {\n pointer-events: none;\n}\n\n.static {\n position: static;\n}\n\n.fixed {\n position: fixed;\n}\n\n.absolute {\n position: absolute;\n}\n\n.relative {\n position: relative;\n}\n\n.sticky {\n position: sticky;\n}\n\n.inset-0 {\n inset: 0rem;\n}\n\n.inset-x-16 {\n left: 1rem;\n right: 1rem;\n}\n\n.-top-8 {\n top: -0.5rem;\n}\n\n.left-0 {\n left: 0rem;\n}\n\n.left-1\\/2 {\n left: 50%;\n}\n\n.left-4 {\n left: 0.25rem;\n}\n\n.left-\\[4px\\] {\n left: 4px;\n}\n\n.right-0 {\n right: 0rem;\n}\n\n.right-4 {\n right: 0.25rem;\n}\n\n.right-8 {\n right: 0.5rem;\n}\n\n.right-\\[6px\\] {\n right: 6px;\n}\n\n.top-0 {\n top: 0rem;\n}\n\n.top-1\\/2 {\n top: 50%;\n}\n\n.m-0 {\n margin: 0rem;\n}\n\n.mx-auto {\n margin-left: auto;\n margin-right: auto;\n}\n\n.-ml-16 {\n margin-left: -1rem;\n}\n\n.-mr-16 {\n margin-right: -1rem;\n}\n\n.ml-0 {\n margin-left: 0rem;\n}\n\n.ml-4 {\n margin-left: 0.25rem;\n}\n\n.ml-64 {\n margin-left: 4rem;\n}\n\n.ml-8 {\n margin-left: 0.5rem;\n}\n\n.ml-auto {\n margin-left: auto;\n}\n\n.mr-4 {\n margin-right: 0.25rem;\n}\n\n.mr-8 {\n margin-right: 0.5rem;\n}\n\n.mr-auto {\n margin-right: auto;\n}\n\n.block {\n display: block;\n}\n\n.\\!block {\n display: block !important;\n}\n\n.inline-block {\n display: inline-block;\n}\n\n.inline {\n display: inline;\n}\n\n.flex {\n display: flex;\n}\n\n.inline-flex {\n display: inline-flex;\n}\n\n.hidden {\n display: none;\n}\n\n.h-20 {\n height: 1.25rem;\n}\n\n.h-24 {\n height: 1.5rem;\n}\n\n.h-36 {\n height: 2.25rem;\n}\n\n.h-44 {\n height: 2.75rem;\n}\n\n.h-auto {\n height: auto;\n}\n\n.h-full {\n height: 100%;\n}\n\n.\\!min-h-20 {\n min-height: 1.25rem !important;\n}\n\n.min-h-screen {\n min-height: 100vh;\n}\n\n.w-20 {\n width: 1.25rem;\n}\n\n.w-full {\n width: 100%;\n}\n\n.flex-none {\n flex: none;\n}\n\n.grow {\n flex-grow: 1;\n}\n\n.cursor-pointer {\n cursor: pointer;\n}\n\n.resize {\n resize: both;\n}\n\n.flex-row {\n flex-direction: row;\n}\n\n.flex-row-reverse {\n flex-direction: row-reverse;\n}\n\n.flex-col {\n flex-direction: column;\n}\n\n.flex-wrap {\n flex-wrap: wrap;\n}\n\n.items-center {\n align-items: center;\n}\n\n.justify-center {\n justify-content: center;\n}\n\n.justify-between {\n justify-content: space-between;\n}\n\n.space-x-2> :not([hidden])~ :not([hidden]) {\n --tw-space-x-reverse: 0;\n margin-right: calc(0.125rem * var(--tw-space-x-reverse));\n margin-left: calc(0.125rem * calc(1 - var(--tw-space-x-reverse)));\n}\n\n.overflow-hidden {\n overflow: hidden;\n}\n\n.overflow-x-auto {\n overflow-x: auto;\n}\n\n.overflow-x-hidden {\n overflow-x: hidden;\n}\n\n.overflow-y-scroll {\n overflow-y: scroll;\n}\n\n.whitespace-nowrap {\n white-space: nowrap;\n}\n\n.break-words {\n overflow-wrap: break-word;\n}\n\n.rounded {\n border-radius: 0.25rem;\n}\n\n.rounded-full {\n border-radius: 9999px;\n}\n\n.rounded-lg {\n border-radius: 16px;\n}\n\n.rounded-md {\n border-radius: 12px;\n}\n\n.rounded-pill {\n border-radius: 100px;\n}\n\n.rounded-sm {\n border-radius: 8px;\n}\n\n.rounded-xxs {\n border-radius: 2px;\n}\n\n.border {\n border-width: 1px;\n}\n\n.border-\\[\\#0034CB\\] {\n --tw-border-opacity: 1;\n border-color: rgb(0 52 203 / var(--tw-border-opacity));\n}\n\n.border-\\[\\#d2d2d2\\] {\n --tw-border-opacity: 1;\n border-color: rgb(210 210 210 / var(--tw-border-opacity));\n}\n\n.border-softest {\n border-color: rgba(0, 0, 0, .05);\n}\n\n.border-b-softer {\n border-bottom-color: rgba(0, 0, 0, .1);\n}\n\n.\\!bg-accent-dark {\n background-color: var(--green-600) !important;\n}\n\n.\\!bg-darker {\n background-color: var(--grey-400) !important;\n}\n\n.\\!bg-strong-dark {\n background-color: var(--grey-800) !important;\n}\n\n.bg-accent {\n background-color: var(--green-500);\n}\n\n.bg-accent-dark {\n background-color: var(--green-600);\n}\n\n.bg-dark {\n background-color: var(--grey-300);\n}\n\n.bg-darker {\n background-color: var(--grey-400);\n}\n\n.bg-overlay {\n background-color: rgba(0, 0, 0, 0.25);\n}\n\n.bg-strong {\n background-color: var(--grey-700);\n}\n\n.bg-strong-dark {\n background-color: var(--grey-800);\n}\n\n.bg-stronger {\n background-color: var(--grey-900);\n}\n\n.bg-strongest {\n background-color: var(--black);\n}\n\n.p-12 {\n padding: 0.75rem;\n}\n\n.p-6 {\n padding: 0.375rem;\n}\n\n.p-8 {\n padding: 0.5rem;\n}\n\n.\\!px-0 {\n padding-left: 0rem !important;\n padding-right: 0rem !important;\n}\n\n.px-12 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n\n.px-16 {\n padding-left: 1rem;\n padding-right: 1rem;\n}\n\n.py-8 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n\n.pl-4 {\n padding-left: 0.25rem;\n}\n\n.pl-8 {\n padding-left: 0.5rem;\n}\n\n.pr-4 {\n padding-right: 0.25rem;\n}\n\n.pr-8 {\n padding-right: 0.5rem;\n}\n\n.\\!text-current {\n color: currentColor !important;\n}\n\n.text-accent {\n color: var(--green-500);\n}\n\n.text-current {\n color: currentColor;\n}\n\n.text-default {\n color: var(--black);\n}\n\n.text-inverse {\n color: var(--white);\n}\n\n.text-lightest {\n color: var(--grey-500);\n}\n\n.opacity-0 {\n opacity: 0;\n}\n\n.shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.shadow-accent {\n --tw-shadow: 0px 0px 12px rgba(0, 201, 89, 0.6);\n --tw-shadow-colored: 0px 0px 12px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.underline-offset-4 {\n text-underline-offset: 0.2em;\n}\n\n.\\@container {\n container-type: inline-size;\n}\n\n.after\\:effect-opacity::after {\n transition-property: opacity;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 300ms;\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n}\n\n.even\\:bg-inverse-softer:nth-child(even) {\n background-color: rgba(255, 255, 255, .15);\n}\n\n.invalid\\:text-lightest:invalid {\n color: var(--grey-500);\n}\n\n.focus-within\\:bg-transparent:focus-within {\n background-color: var(--transparent);\n}\n\n.hover\\:bg-accent-dark:hover {\n background-color: var(--green-600);\n}\n\n.hover\\:bg-dark:hover {\n background-color: var(--grey-300);\n}\n\n.hover\\:bg-darker:hover {\n background-color: var(--grey-400);\n}\n\n.hover\\:bg-default:hover {\n background-color: var(--grey-200);\n}\n\n.hover\\:bg-inverse:hover {\n background-color: var(--white);\n}\n\n.hover\\:bg-strong-dark:hover {\n background-color: var(--grey-800);\n}\n\n.hover\\:bg-transparent:hover {\n background-color: var(--transparent);\n}\n\n.hover\\:text-default:hover {\n color: var(--black);\n}\n\n.hover\\:text-lighter:hover {\n color: var(--grey-600);\n}\n\n.hover\\:\\!underline:hover {\n text-decoration-line: underline !important;\n}\n\n.hover\\:no-underline:hover {\n text-decoration-line: none;\n}\n\n.hover\\:shadow-hover:hover {\n --tw-shadow: 0px 0px 16px rgba(0, 0, 0, 0.2);\n --tw-shadow-colored: 0px 0px 16px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.focus\\:shadow-none:focus {\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.focus\\:outline-none:focus {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n.disabled\\:cursor-not-allowed:disabled {\n cursor: not-allowed;\n}\n\n.disabled\\:bg-dark:disabled {\n background-color: var(--grey-300);\n}\n\n.disabled\\:text-lightest:disabled {\n color: var(--grey-500);\n}\n\n.aria-disabled\\:cursor-not-allowed[aria-disabled=\"true\"] {\n cursor: not-allowed;\n}\n\n.aria-disabled\\:\\!border-transparent[aria-disabled=\"true\"] {\n border-color: var(--transparent) !important;\n}\n\n.aria-disabled\\:bg-dark[aria-disabled=\"true\"] {\n background-color: var(--grey-300);\n}\n\n.aria-disabled\\:bg-transparent[aria-disabled=\"true\"] {\n background-color: var(--transparent);\n}\n\n.aria-disabled\\:text-light[aria-disabled=\"true\"] {\n color: var(--grey-700);\n}\n\n.aria-disabled\\:text-lightest[aria-disabled=\"true\"] {\n color: var(--grey-500);\n}\n\n.aria-disabled\\:line-through[aria-disabled=\"true\"] {\n text-decoration-line: line-through;\n}\n\n.aria-disabled\\:shadow-none[aria-disabled=\"true\"] {\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.aria-current-page\\:bg-darker[aria-current=\"page\"] {\n background-color: var(--grey-400);\n}\n\n.after\\:absolute::after {\n position: absolute;\n}\n\n.after\\:inset-0::after {\n inset: 0rem;\n}\n\n.after\\:inset-x-0::after {\n left: 0rem;\n right: 0rem;\n}\n\n.after\\:bottom-0::after {\n bottom: 0rem;\n}\n\n.after\\:left-16::after {\n left: 1rem;\n}\n\n.after\\:right-16::after {\n right: 1rem;\n}\n\n.after\\:z-10::after {\n z-index: 10;\n}\n\n.after\\:rounded-lg::after {\n border-radius: 16px;\n}\n\n.after\\:rounded-t-lg::after {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n}\n\n.after\\:border-3::after {\n border-width: 3px;\n}\n\n.after\\:border-b-2::after {\n border-bottom-width: 2px;\n}\n\n.after\\:\\!border-transparent::after {\n border-color: var(--transparent) !important;\n}\n\n.after\\:border-accent::after {\n border-color: var(--green-500);\n}\n\n.after\\:border-softest::after {\n border-color: rgba(0, 0, 0, .05);\n}\n\n.after\\:opacity-0::after {\n opacity: 0;\n}\n\n.after\\:content-\\[\\'\\'\\]::after {\n --tw-content: '';\n content: var(--tw-content);\n}\n\n.hover\\:after\\:\\!border-transparent:hover::after {\n border-color: var(--transparent) !important;\n}\n\n.hover\\:after\\:opacity-100:hover::after {\n opacity: 1;\n}\n\n.focus-visible\\:after\\:opacity-100:focus-visible::after {\n opacity: 1;\n}\n\n.aria-disabled\\:after\\:\\!border-transparent[aria-disabled=\"true\"]::after {\n border-color: var(--transparent) !important;\n}\n\n.hover\\:before\\:opacity-100:hover::before {\n opacity: 1;\n}";
|
|
6
|
+
const edsButtonCss = "/* ============================================\n EDS BUTTON - NEW EBRAINS VISUAL SYSTEM\n ============================================ */\n\n*,\n::before,\n::after {\n box-sizing: border-box;\n border-width: 0;\n border-style: solid;\n border-color: currentColor;\n}\n\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/*\n 1. Change the font styles in all browsers.\n 2. Remove the margin in Firefox and Safari.\n 3. Remove default padding in all browsers.\n */\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n font-size: 100%;\n font-weight: inherit;\n line-height: inherit;\n letter-spacing: inherit;\n color: inherit;\n margin: 0;\n padding: 0;\n}\n\n/*\n Remove the inheritance of text transform in Edge and Firefox.\n */\nbutton,\nselect {\n text-transform: none;\n}\n\n/*\n 1. Correct the inability to style clickable types in iOS and Safari.\n 2. Remove default button styles.\n */\nbutton,\ninput:where([type='button']),\ninput:where([type='reset']),\ninput:where([type='submit']) {\n -webkit-appearance: button;\n /* 1 */\n background-color: transparent;\n /* 2 */\n background-image: none;\n /* 2 */\n}\n\np {\n margin: 0;\n}\n\n/*\n Set the default cursor for buttons.\n */\nbutton,\n[role=\"button\"] {\n cursor: pointer;\n}\n\n/*\n Make sure disabled buttons don't get the pointer cursor.\n */\n:disabled {\n cursor: default;\n}\n\n/* Make elements with the HTML hidden attribute stay hidden by default */\n[hidden] {\n display: none;\n}\n\n/* ============================================\n TYPOGRAPHY CLASSES\n ============================================ */\n\n.f-body-01 {\n font-family: var(--f-body-01-fontFamily);\n font-weight: var(--f-body-01-fontWeight);\n font-size: var(--f-body-01-fontSize);\n line-height: var(--f-body-01-lineHeight);\n letter-spacing: var(--f-body-01-letterSpacing);\n}\n\n.f-body-02 {\n font-family: var(--f-body-02-fontFamily);\n font-weight: var(--f-body-02-fontWeight);\n font-size: var(--f-body-02-fontSize);\n line-height: var(--f-body-02-lineHeight);\n letter-spacing: var(--f-body-02-letterSpacing);\n}\n\n.f-ui-01 {\n font-family: var(--f-ui-01-fontFamily);\n font-weight: var(--f-ui-01-fontWeight);\n font-size: var(--f-ui-01-fontSize);\n line-height: var(--f-ui-01-lineHeight);\n letter-spacing: var(--f-ui-01-letterSpacing);\n}\n\n.f-ui-02 {\n font-family: var(--f-ui-02-fontFamily);\n font-weight: var(--f-ui-02-fontWeight);\n font-size: var(--f-ui-02-fontSize);\n line-height: var(--f-ui-02-lineHeight);\n letter-spacing: var(--f-ui-02-letterSpacing);\n}\n\n/* ============================================\n BUTTON BORDER EFFECTS - NEW SYSTEM\n ============================================ */\n\n.border-inside {\n position: relative;\n\n &::after {\n pointer-events: none;\n position: absolute;\n inset: 0rem;\n z-index: 1;\n border-radius: 8px;\n border-width: 2px;\n border-color: rgba(7, 20, 13, 1); /* brand-black with opacity */\n content: '';\n }\n}\n\n.border-inside-inverse {\n position: relative;\n\n &::after {\n pointer-events: none;\n position: absolute;\n inset: 0rem;\n z-index: 1;\n border-radius: 8px;\n border-width: 2px;\n border-color: rgba(255, 255, 255, 1); /* white border */\n content: '';\n }\n}\n\n.border-inside-pill {\n &::after {\n border-radius: 100px; /* pill shape */\n content: '';\n }\n}\n\n.border-inside-inverse.border-inside-pill {\n &::after {\n border-radius: 100px; /* pill shape for inverse border */\n }\n}\n\n/* ============================================\n LOADER SPINNER\n ============================================ */\n\n.loader {\n box-sizing: border-box;\n display: inline-block;\n height: 1rem;\n width: 1rem;\n}\n\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n\n.loader {\n animation: spin 1s linear infinite;\n border-radius: 9999px;\n border: 3px solid rgba(7, 20, 13, 0.3); /* brand-black */\n border-bottom-color: #07140D; /* brand-black */\n}\n\n/* ============================================\n TRANSITIONS & EFFECTS\n ============================================ */\n\n.effect-color {\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 300ms;\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n}\n\n.effect-focus {\n outline-width: 3px;\n outline-offset: 2px;\n outline-color: var(--brand-green); /* NEW: brand-green for focus */\n}\n\n.effect-focus:focus-visible {\n outline-style: solid;\n}\n\n.effect-focus-within {\n outline-width: 3px;\n outline-offset: 2px;\n outline-color: var(--brand-green); /* NEW: brand-green for focus */\n}\n\n.effect-focus-within:focus-within {\n outline-style: solid;\n}\n\n/* ============================================\n BRAND HOVER TRANSFORM EFFECT\n ============================================ */\n.brand-hover-transform {\n transition-property: transform, box-shadow, color, background-color;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 300ms;\n}\n\n.brand-hover-transform:hover {\n transform: translateY(-2px);\n box-shadow: 0 8px 20px rgba(0, 255, 157, 0.3);\n}\n\n.brand-hover-transform[aria-disabled=\"true\"]:hover,\n.brand-hover-transform:disabled:hover {\n transform: none;\n box-shadow: none;\n}\n\n/* Secondary Inverse Transform Effect */\n.secondary-inverse-transform {\n transition-property: transform, background-color, color;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 300ms;\n}\n\n.secondary-inverse-transform:hover {\n transform: translateY(-2px);\n}\n\n.secondary-inverse-transform[aria-disabled=\"true\"]:hover,\n.secondary-inverse-transform:disabled:hover {\n transform: none;\n}\n\n/* ============================================\n UTILITY CLASSES\n ============================================ */\n\n.sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.pointer-events-none {\n pointer-events: none;\n}\n\n.static {\n position: static;\n}\n\n.fixed {\n position: fixed;\n}\n\n.absolute {\n position: absolute;\n}\n\n.relative {\n position: relative;\n}\n\n.sticky {\n position: sticky;\n}\n\n.inset-0 {\n inset: 0rem;\n}\n\n.inset-x-16 {\n left: 1rem;\n right: 1rem;\n}\n\n/* ============================================\n POSITIONING\n ============================================ */\n\n.-top-8 {\n top: -0.5rem;\n}\n\n.left-0 {\n left: 0rem;\n}\n\n.left-1\\/2 {\n left: 50%;\n}\n\n.left-4 {\n left: 0.25rem;\n}\n\n.left-\\[4px\\] {\n left: 4px;\n}\n\n.right-0 {\n right: 0rem;\n}\n\n.right-4 {\n right: 0.25rem;\n}\n\n.right-8 {\n right: 0.5rem;\n}\n\n.right-\\[6px\\] {\n right: 6px;\n}\n\n.top-0 {\n top: 0rem;\n}\n\n.top-1\\/2 {\n top: 50%;\n}\n\n/* ============================================\n SPACING\n ============================================ */\n\n.m-0 {\n margin: 0rem;\n}\n\n.mx-auto {\n margin-left: auto;\n margin-right: auto;\n}\n\n.-ml-16 {\n margin-left: -1rem;\n}\n\n.-mr-16 {\n margin-right: -1rem;\n}\n\n.ml-0 {\n margin-left: 0rem;\n}\n\n.ml-4 {\n margin-left: 0.25rem;\n}\n\n.ml-64 {\n margin-left: 4rem;\n}\n\n.ml-8 {\n margin-left: 0.5rem;\n}\n\n.ml-auto {\n margin-left: auto;\n}\n\n.mr-4 {\n margin-right: 0.25rem;\n}\n\n.mr-8 {\n margin-right: 0.5rem;\n}\n\n.mr-auto {\n margin-right: auto;\n}\n\n/* ============================================\n DISPLAY\n ============================================ */\n\n.block {\n display: block;\n}\n\n.\\!block {\n display: block !important;\n}\n\n.inline-block {\n display: inline-block;\n}\n\n.inline {\n display: inline;\n}\n\n.flex {\n display: flex;\n}\n\n.inline-flex {\n display: inline-flex;\n}\n\n.hidden {\n display: none;\n}\n\n/* ============================================\n DIMENSIONS\n ============================================ */\n\n.h-20 {\n height: 1.25rem;\n}\n\n.h-24 {\n height: 1.5rem;\n}\n\n.h-36 {\n height: 2.25rem;\n}\n\n.h-40 {\n height: 2.5rem;\n}\n\n.h-44 {\n height: 2.75rem;\n}\n\n.h-48 {\n height: 3rem;\n}\n\n.h-auto {\n height: auto;\n}\n\n.h-full {\n height: 100%;\n}\n\n.\\!min-h-20 {\n min-height: 1.25rem !important;\n}\n\n.min-h-screen {\n min-height: 100vh;\n}\n\n.w-20 {\n width: 1.25rem;\n}\n\n.w-24 {\n width: 1.5rem;\n}\n\n.w-full {\n width: 100%;\n}\n\n.w-auto {\n width: auto;\n}\n\n/* ============================================\n FLEXBOX\n ============================================ */\n\n.flex-none {\n flex: none;\n}\n\n.grow {\n flex-grow: 1;\n}\n\n.cursor-pointer {\n cursor: pointer;\n}\n\n.resize {\n resize: both;\n}\n\n.flex-row {\n flex-direction: row;\n}\n\n.flex-row-reverse {\n flex-direction: row-reverse;\n}\n\n.flex-col {\n flex-direction: column;\n}\n\n.flex-wrap {\n flex-wrap: wrap;\n}\n\n.items-center {\n align-items: center;\n}\n\n.justify-center {\n justify-content: center;\n}\n\n.justify-between {\n justify-content: space-between;\n}\n\n.gap-4 {\n gap: 0.25rem;\n}\n\n.gap-8 {\n gap: 0.5rem;\n}\n\n.space-x-2> :not([hidden])~ :not([hidden]) {\n --tw-space-x-reverse: 0;\n margin-right: calc(0.125rem * var(--tw-space-x-reverse));\n margin-left: calc(0.125rem * calc(1 - var(--tw-space-x-reverse)));\n}\n\n/* ============================================\n OVERFLOW\n ============================================ */\n\n.overflow-hidden {\n overflow: hidden;\n}\n\n.overflow-x-auto {\n overflow-x: auto;\n}\n\n.overflow-x-hidden {\n overflow-x: hidden;\n}\n\n.overflow-y-scroll {\n overflow-y: scroll;\n}\n\n/* ============================================\n TEXT\n ============================================ */\n\n.whitespace-nowrap {\n white-space: nowrap;\n}\n\n.break-words {\n overflow-wrap: break-word;\n}\n\n/* ============================================\n BORDERS & RADIUS - NEW SYSTEM\n ============================================ */\n\n.rounded {\n border-radius: 0.25rem;\n}\n\n.rounded-full {\n border-radius: 9999px;\n}\n\n.rounded-lg {\n border-radius: 16px;\n}\n\n.rounded-md {\n border-radius: 12px;\n}\n\n.rounded-pill {\n border-radius: 100px; /* NEW: pill shape */\n}\n\n.rounded-sm {\n border-radius: 8px;\n}\n\n.rounded-xxs {\n border-radius: 2px;\n}\n\n.border {\n border-width: 1px;\n}\n\n.border-\\[\\#0034CB\\] {\n --tw-border-opacity: 1;\n border-color: rgb(0 52 203 / var(--tw-border-opacity));\n}\n\n.border-\\[\\#d2d2d2\\] {\n --tw-border-opacity: 1;\n border-color: rgb(210 210 210 / var(--tw-border-opacity));\n}\n\n.border-softest {\n border-color: var(--grey-light);\n}\n\n.border-b-softer {\n border-bottom-color: rgba(7, 20, 13, 0.1); /* NEW: brand-black */\n}\n\n/* ============================================\n BACKGROUNDS - NEW EBRAINS COLORS\n ============================================ */\n\n/* Accent backgrounds - NEW green */\n.\\!bg-accent-dark {\n background-color: var(--brand-green-dark) !important; /* NEW: #00C87B */\n}\n\n.bg-accent {\n background-color: var(--brand-green); /* NEW: #00FF9D */\n}\n\n.bg-accent-dark {\n background-color: var(--brand-green-dark); /* NEW: #00C87B */\n}\n\n/* Neutral backgrounds - NEW simplified greys */\n.\\!bg-darker {\n background-color: var(--grey-dark) !important; /* NEW: #7A7B7A */\n}\n\n.bg-dark {\n background-color: var(--grey-light); /* NEW: #ECECEC */\n}\n\n.bg-darker {\n background-color: var(--grey-dark); /* NEW: #7A7B7A */\n}\n\n/* Strong backgrounds - NEW brand-black */\n.\\!bg-strong-dark {\n background-color: var(--brand-black) !important; /* NEW: #07140D */\n}\n\n.bg-strong {\n background-color: var(--grey-dark); /* NEW: #7A7B7A */\n}\n\n.bg-strong-dark {\n background-color: var(--brand-black); /* NEW: #07140D */\n}\n\n.bg-stronger {\n background-color: var(--brand-black); /* NEW: #07140D */\n}\n\n.bg-strongest {\n background-color: var(--brand-black); /* NEW: #07140D (was pure black) */\n}\n\n/* Overlay */\n.bg-overlay {\n background-color: rgba(7, 20, 13, 0.25); /* NEW: brand-black overlay */\n}\n\n/* ============================================\n PADDING\n ============================================ */\n\n.p-12 {\n padding: 0.75rem;\n}\n\n.p-6 {\n padding: 0.375rem;\n}\n\n.p-8 {\n padding: 0.5rem;\n}\n\n.\\!px-0 {\n padding-left: 0rem !important;\n padding-right: 0rem !important;\n}\n\n.px-12 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n\n.px-16 {\n padding-left: 1rem;\n padding-right: 1rem;\n}\n\n.px-32 {\n padding-left: 1.5rem;\n padding-right: 1.5rem;\n}\n\n.py-8 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n\n.py-12 {\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n\n.pl-2 {\n padding-left: 0.125rem;\n}\n\n.pl-4 {\n padding-left: 0.25rem;\n}\n\n.pl-8 {\n padding-left: 0.5rem;\n}\n\n.pr-2 {\n padding-right: 0.125rem;\n}\n\n.pr-4 {\n padding-right: 0.25rem;\n}\n\n.pr-8 {\n padding-right: 0.5rem;\n}\n\n/* ============================================\n TEXT COLORS - NEW SYSTEM\n ============================================ */\n\n.\\!text-current {\n color: currentColor !important;\n}\n\n.text-accent {\n color: var(--brand-green); /* NEW: #00FF9D */\n}\n\n.text-current {\n color: currentColor;\n}\n\n.text-default {\n color: var(--brand-black); /* NEW: #07140D (was pure black) */\n}\n\n.text-inverse {\n color: var(--white);\n}\n\n.text-light {\n color: var(--grey-dark); /* NEW: simplified to grey-dark */\n}\n\n\n.text-lightest {\n color: var(--grey-light); /* NEW: simplified to grey-dark */\n}\n\n/* ============================================\n OPACITY\n ============================================ */\n\n.opacity-0 {\n opacity: 0;\n}\n\n.opacity-20 {\n opacity: 20;\n}\n\n/* ============================================\n SHADOWS - NEW SYSTEM\n ============================================ */\n\n.shadow {\n --tw-shadow: 0 1px 3px rgba(7, 20, 13, 0.1); /* NEW: brand-black */\n --tw-shadow-colored: 0 1px 3px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.shadow-accent {\n --tw-shadow: 0 0 16px rgba(0, 255, 157, 0.5); /* NEW: brand-green glow */\n --tw-shadow-colored: 0 0 16px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.underline-offset-4 {\n text-underline-offset: 0.2em;\n}\n\n.\\@container {\n container-type: inline-size;\n}\n\n/* ============================================\n PSEUDO-ELEMENT EFFECTS\n ============================================ */\n\n.after\\:effect-opacity::after {\n transition-property: opacity;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 300ms;\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n}\n\n.even\\:bg-inverse-softer:nth-child(even) {\n background-color: rgba(255, 255, 255, .15);\n}\n\n.invalid\\:text-lightest:invalid {\n color: var(--grey-dark); /* NEW: simplified */\n}\n\n/* ============================================\n INTERACTIVE STATES - NEW COLORS\n ============================================ */\n\n.focus-within\\:bg-transparent:focus-within {\n background-color: transparent;\n}\n\n/* Hover states with NEW colors */\n\n.hover\\:border-0::hover {\n border-width: 0px;\n}\n\n.hover\\:border-accent::hover {\n border-color: var(--brand-green); /* NEW: #00FF9D */\n}\n\n.hover\\:text-default:hover {\n color: var(--brand-black);\n}\n\n.hover\\:text-light:hover {\n color: var(--grey-dark);\n}\n\n.hover\\:text-inverse:hover {\n color: var(--white);\n}\n\n\n.hover\\:bg-accent:hover {\n background-color: var(--brand-green); /* NEW: #00C87B */\n}\n\n.hover\\:bg-accent-dark:hover {\n background-color: var(--brand-green-dark); /* NEW: #00C87B */\n}\n\n.hover\\:bg-dark:hover {\n background-color: var(--grey-light); /* NEW: #ECECEC */\n}\n\n.hover\\:bg-darker:hover {\n background-color: var(--grey-dark); /* NEW: #7A7B7A */\n}\n\n.hover\\:bg-default:hover {\n background-color: var(--grey-light);\n}\n\n.hover\\:bg-inverse:hover {\n background-color: var(--white);\n}\n\n.hover\\:bg-strong-dark:hover {\n background-color: var(--brand-black); /* NEW: #07140D */\n}\n\n.hover\\:bg-transparent:hover {\n background-color: transparent;\n}\n\n.hover\\:bg-strongest:hover {\n background-color: var(--brand-black);\n}\n\n.hover\\:text-default:hover {\n color: var(--brand-black); /* NEW: #07140D */\n}\n\n.hover\\:text-lighter:hover {\n color: var(--grey-dark); /* NEW: #7A7B7A */\n}\n\n.hover\\:\\!underline:hover {\n text-decoration-line: underline !important;\n}\n\n.hover\\:no-underline:hover {\n text-decoration-line: none;\n}\n\n.hover\\:shadow-hover:hover {\n --tw-shadow: 0 8px 24px rgba(7, 20, 13, 0.2); /* NEW: brand-black */\n --tw-shadow-colored: 0 8px 24px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.focus\\:shadow-none:focus {\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.focus\\:outline-none:focus {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n/* ============================================\n DISABLED STATES - NEW COLORS\n ============================================ */\n\n.disabled\\:cursor-not-allowed:disabled {\n cursor: not-allowed;\n}\n\n.disabled\\:bg-dark:disabled {\n background-color: var(--grey-light); /* NEW: #ECECEC */\n}\n\n.disabled\\:text-lightest:disabled {\n color: var(--grey-dark); /* NEW: #7A7B7A */\n}\n\n.aria-disabled\\:cursor-not-allowed[aria-disabled=\"true\"] {\n cursor: not-allowed;\n}\n\n.aria-disabled\\:\\!border-transparent[aria-disabled=\"true\"] {\n border-color: transparent !important;\n}\n\n.aria-disabled\\:bg-dark[aria-disabled=\"true\"] {\n background-color: var(--grey-light); /* NEW: #ECECEC */\n}\n\n.aria-disabled\\:bg-transparent[aria-disabled=\"true\"] {\n background-color: transparent;\n}\n\n.aria-disabled\\:text-light[aria-disabled=\"true\"] {\n color: var(--grey-dark); /* NEW: #7A7B7A */\n}\n\n.aria-disabled\\:text-lightest[aria-disabled=\"true\"] {\n color: var(--grey-dark); /* NEW: #7A7B7A */\n}\n\n.aria-disabled\\:line-through[aria-disabled=\"true\"] {\n text-decoration-line: line-through;\n}\n\n.aria-disabled\\:shadow-none[aria-disabled=\"true\"] {\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.aria-current-page\\:bg-darker[aria-current=\"page\"] {\n background-color: var(--grey-dark); /* NEW: #7A7B7A */\n}\n\n/* ============================================\n AFTER PSEUDO-ELEMENTS\n ============================================ */\n\n.after\\:absolute::after {\n position: absolute;\n}\n\n.after\\:inset-0::after {\n inset: 0rem;\n}\n\n.after\\:inset-x-0::after {\n left: 0rem;\n right: 0rem;\n}\n\n.after\\:bottom-0::after {\n bottom: 0rem;\n}\n\n.after\\:left-16::after {\n left: 1rem;\n}\n\n.after\\:right-16::after {\n right: 1rem;\n}\n\n.after\\:z-10::after {\n z-index: 10;\n}\n\n.after\\:rounded-lg::after {\n border-radius: 16px;\n}\n\n.after\\:rounded-t-lg::after {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n}\n\n.after\\:border-3::after {\n border-width: 3px;\n}\n\n.after\\:border-b-2::after {\n border-bottom-width: 2px;\n}\n\n.after\\:\\!border-transparent::after {\n border-color: transparent !important;\n}\n\n.after\\:border-accent::after {\n border-color: var(--brand-green); /* NEW: #00FF9D */\n}\n\n.after\\:border-accent-dark::after {\n border-color: var(--brand-green-dark); /* NEW: #00FF9D */\n}\n\n.after\\:border-soft::after {\n border-color: var(--grey-dark);\n}\n\n.after\\:border-softest::after {\n border-color: var(--grey-light);\n}\n\n.after\\:opacity-0::after {\n opacity: 0;\n}\n\n.after\\:content-\\[\\'\\'\\]::after {\n --tw-content: '';\n content: var(--tw-content);\n}\n\n.hover\\:text-accent:hover {\n color: var(--brand-green);\n}\n\n.hover\\:after\\:\\border-accent:hover::after {\n border-color: var(--brand-green);\n}\n\n.hover\\:after\\:\\!border-transparent:hover::after {\n border-color: transparent !important;\n}\n\n.hover\\:after\\:opacity-100:hover::after {\n opacity: 1;\n}\n\n.focus-visible\\:after\\:opacity-100:focus-visible::after {\n opacity: 1;\n}\n\n.aria-disabled\\:after\\:\\!border-transparent[aria-disabled=\"true\"]::after {\n border-color: transparent !important;\n}\n\n.aria-disabled\\:after\\:\\!border-0[aria-disabled=\"true\"]::after {\n border-width: 0 !important;\n}\n\n.hover\\:before\\:opacity-100:hover::before {\n opacity: 1;\n}\n\n/* ============================================\n CTA BUTTON STYLES\n ============================================ */\n\n/* CTA link style */\n.cta-link {\n font-family: 'IBM Plex Mono', monospace;\n font-size: var(--f-ui-01-fontSize);\n color: var(--grey-dark);\n text-decoration: none;\n transition: color 0.3s ease;\n display: inline-flex;\n align-items: center;\n gap: 0.25rem;\n}\n\n.cta-link:hover {\n color: var(--brand-green);\n}\n\n/* CTA brand link style - always green */\n.cta-link-brand {\n font-family: 'IBM Plex Mono', monospace;\n font-size: var(--f-ui-02-fontSize);\n color: var(--brand-green);\n text-decoration: none;\n transition: color 0.3s ease;\n display: inline-flex;\n align-items: center;\n gap: 0.5rem;\n}\n\n.cta-link-brand:hover {\n color: var(--brand-green-dark);\n}\n\n@media (min-width: 750px) {\n .md\\:w-full {\n width: 100%;\n }\n\n .md\\:flex {\n display: flex;\n }\n}";
|
|
7
7
|
const EdsButtonStyle0 = edsButtonCss;
|
|
8
8
|
|
|
9
9
|
const EdsButton = /*@__PURE__*/ proxyCustomElement(class EdsButton extends HTMLElement {
|
|
@@ -12,20 +12,26 @@ const EdsButton = /*@__PURE__*/ proxyCustomElement(class EdsButton extends HTMLE
|
|
|
12
12
|
this.__registerHost();
|
|
13
13
|
this.__attachShadow();
|
|
14
14
|
this.button = cva([
|
|
15
|
-
'relative
|
|
16
|
-
'py-8',
|
|
17
|
-
'effect-focus effect-color',
|
|
18
|
-
'cursor-pointer',
|
|
15
|
+
'relative items-center py-12 cursor-pointer',
|
|
19
16
|
'aria-disabled:text-lightest aria-disabled:bg-dark aria-disabled:cursor-not-allowed',
|
|
20
17
|
'disabled:text-lightest disabled:bg-dark disabled:cursor-not-allowed'
|
|
21
18
|
], {
|
|
22
19
|
variants: {
|
|
23
20
|
intent: {
|
|
24
|
-
primary: 'bg-
|
|
25
|
-
secondary: 'border-inside
|
|
26
|
-
|
|
27
|
-
ghost: '
|
|
28
|
-
ghostInverse: '
|
|
21
|
+
primary: 'bg-strongest text-inverse hover:bg-accent hover:text-default focus:shadow-none aria-disabled:shadow-none',
|
|
22
|
+
secondary: 'border-inside text-default bg-transparent hover:bg-strong-dark hover:text-inverse aria-disabled:after:!border-0',
|
|
23
|
+
secondaryInverse: 'border-inside-inverse text-inverse bg-transparent hover:bg-inverse hover:text-default aria-disabled:after:!border-0',
|
|
24
|
+
ghost: '',
|
|
25
|
+
ghostInverse: 'text-inverse',
|
|
26
|
+
brand: 'bg-accent text-default hover:bg-strongest hover:text-inverse aria-disabled:shadow-none',
|
|
27
|
+
brandInverse: 'bg-accent text-default hover:bg-inverse hover:text-default aria-disabled:shadow-none',
|
|
28
|
+
neutral: 'bg-darker after:border-softest bg-inverse hover:bg-dark hover:text-light text-inverse aria-disabled:shadow-none',
|
|
29
|
+
cta: [
|
|
30
|
+
'cta-link !px-0 !py-0 !min-h-0 !h-auto'
|
|
31
|
+
],
|
|
32
|
+
'cta-brand': [
|
|
33
|
+
'cta-link-brand !px-0 !py-0 !min-h-0 !h-auto'
|
|
34
|
+
]
|
|
29
35
|
},
|
|
30
36
|
loading: {
|
|
31
37
|
true: 'pointer-events-none',
|
|
@@ -39,6 +45,10 @@ const EdsButton = /*@__PURE__*/ proxyCustomElement(class EdsButton extends HTMLE
|
|
|
39
45
|
small: 'h-36 f-ui-02',
|
|
40
46
|
large: 'h-44 f-ui-01'
|
|
41
47
|
},
|
|
48
|
+
hasIcon: {
|
|
49
|
+
true: '',
|
|
50
|
+
false: ''
|
|
51
|
+
},
|
|
42
52
|
iconPos: {
|
|
43
53
|
left: 'flex-row-reverse',
|
|
44
54
|
right: ''
|
|
@@ -50,7 +60,11 @@ const EdsButton = /*@__PURE__*/ proxyCustomElement(class EdsButton extends HTMLE
|
|
|
50
60
|
pill: {
|
|
51
61
|
true: 'rounded-full border-inside-pill',
|
|
52
62
|
false: 'rounded-sm'
|
|
53
|
-
}
|
|
63
|
+
},
|
|
64
|
+
fullWidth: {
|
|
65
|
+
true: 'w-full flex',
|
|
66
|
+
false: 'inline-flex w-auto'
|
|
67
|
+
},
|
|
54
68
|
},
|
|
55
69
|
compoundVariants: [
|
|
56
70
|
{
|
|
@@ -98,10 +112,33 @@ const EdsButton = /*@__PURE__*/ proxyCustomElement(class EdsButton extends HTMLE
|
|
|
98
112
|
size: 'large',
|
|
99
113
|
class: 'pr-8',
|
|
100
114
|
iconOnly: false
|
|
115
|
+
},
|
|
116
|
+
// CTA variants with icons get gap-8
|
|
117
|
+
{ intent: 'cta', hasIcon: true, class: 'gap-8' },
|
|
118
|
+
{ intent: 'cta-brand', hasIcon: true, class: 'gap-8' },
|
|
119
|
+
{
|
|
120
|
+
intent: 'cta',
|
|
121
|
+
size: 'small',
|
|
122
|
+
class: '!px-0 !py-0 !min-h-0 !h-auto'
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
intent: 'cta',
|
|
126
|
+
size: 'large',
|
|
127
|
+
class: '!px-0 !py-0 !min-h-0 !h-auto'
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
intent: 'cta-brand',
|
|
131
|
+
size: 'small',
|
|
132
|
+
class: '!px-0 !py-0 !min-h-0 !h-auto'
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
intent: 'cta-brand',
|
|
136
|
+
size: 'large',
|
|
137
|
+
class: '!px-0 !py-0 !min-h-0 !h-auto'
|
|
101
138
|
}
|
|
102
139
|
],
|
|
103
140
|
defaultVariants: {
|
|
104
|
-
intent: '
|
|
141
|
+
intent: 'primary',
|
|
105
142
|
loading: false,
|
|
106
143
|
iconSmall: false,
|
|
107
144
|
iconPos: 'right',
|
|
@@ -110,11 +147,11 @@ const EdsButton = /*@__PURE__*/ proxyCustomElement(class EdsButton extends HTMLE
|
|
|
110
147
|
size: 'small'
|
|
111
148
|
}
|
|
112
149
|
});
|
|
113
|
-
this.parentContext = null;
|
|
150
|
+
this.parentContext = null;
|
|
114
151
|
this.label = undefined;
|
|
115
152
|
this.ariaLabel = 'Button';
|
|
116
153
|
this.elementType = 'button';
|
|
117
|
-
this.intent = '
|
|
154
|
+
this.intent = 'primary';
|
|
118
155
|
this.loading = false;
|
|
119
156
|
this.disabled = false;
|
|
120
157
|
this.pill = false;
|
|
@@ -123,10 +160,10 @@ const EdsButton = /*@__PURE__*/ proxyCustomElement(class EdsButton extends HTMLE
|
|
|
123
160
|
this.iconPos = 'right';
|
|
124
161
|
this.iconSmall = false;
|
|
125
162
|
this.triggerClick = undefined;
|
|
163
|
+
this.fullWidth = false;
|
|
126
164
|
}
|
|
127
165
|
handleParentContext(event) {
|
|
128
166
|
if (event.target !== this.el) {
|
|
129
|
-
// Ignore the event if it's not targeted at this specific instance
|
|
130
167
|
return;
|
|
131
168
|
}
|
|
132
169
|
this.parentContext = event.detail;
|
|
@@ -145,14 +182,12 @@ const EdsButton = /*@__PURE__*/ proxyCustomElement(class EdsButton extends HTMLE
|
|
|
145
182
|
name: ((_a = this.label) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || ((_b = this.ariaLabel) === null || _b === void 0 ? void 0 : _b.toLowerCase()) || '',
|
|
146
183
|
action: 'click'
|
|
147
184
|
});
|
|
148
|
-
// If an onClick prop is provided, call it
|
|
149
185
|
if (typeof this.triggerClick === 'function') {
|
|
150
|
-
this.triggerClick();
|
|
186
|
+
this.triggerClick();
|
|
151
187
|
}
|
|
152
188
|
}
|
|
153
189
|
handleKeyDown(event) {
|
|
154
190
|
if (this.disabled || this.loading) {
|
|
155
|
-
// Fix: check loading too
|
|
156
191
|
return;
|
|
157
192
|
}
|
|
158
193
|
if (event.key === 'Enter' || (this.elementType === 'a' && event.key === ' ')) {
|
|
@@ -164,21 +199,27 @@ const EdsButton = /*@__PURE__*/ proxyCustomElement(class EdsButton extends HTMLE
|
|
|
164
199
|
const classes = this.button({
|
|
165
200
|
intent: this.intent,
|
|
166
201
|
loading: this.loading,
|
|
202
|
+
hasIcon: !!this.icon,
|
|
167
203
|
iconPos: this.iconPos,
|
|
168
204
|
size: this.size,
|
|
169
205
|
pill: this.pill,
|
|
170
206
|
iconOnly: !this.label,
|
|
171
|
-
iconSmall: this.iconSmall
|
|
207
|
+
iconSmall: this.iconSmall,
|
|
208
|
+
fullWidth: this.fullWidth
|
|
172
209
|
});
|
|
173
210
|
const ElementType = this.elementType;
|
|
174
211
|
const isInteractive = !this.disabled && !this.loading;
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
212
|
+
// NEW: Loader colors based on intent (brand-black based system)
|
|
213
|
+
const loaderBorderColor = this.intent === 'primary' || this.intent === 'secondaryInverse'
|
|
214
|
+
? 'rgba(255, 255, 255, 0.3)' // White with opacity for dark backgrounds
|
|
215
|
+
: 'rgba(7, 20, 13, 0.3)'; // Brand-black with opacity for light backgrounds
|
|
216
|
+
const loaderBottomColor = this.intent === 'primary' || this.intent === 'secondaryInverse'
|
|
217
|
+
? '#FFFFFF' // White for dark backgrounds
|
|
218
|
+
: '#07140D'; // Brand-black for light backgrounds (secondary, brand, etc.)
|
|
219
|
+
return (h(Host, { key: '6f955c89a01cf823ff8fc34bfa92df85a3aa8327' }, h(ElementType, { key: 'fabf5842d4c9583c7ff9e4415697c62c111dce68', tabindex: isInteractive ? '0' : '-1', "aria-label": this.label ? undefined : this.ariaLabel, "aria-disabled": this.disabled || this.loading ? 'true' : undefined, "aria-busy": this.loading ? 'true' : undefined, disabled: this.elementType === 'button' ? this.disabled || this.loading : undefined, role: this.elementType === 'a' ? 'button' : undefined, class: `${classes || ''}`, onClick: (event) => this.handleClick(event), onKeyDown: (event) => this.handleKeyDown(event) }, this.label && (h("span", { key: '746feb603fd83b54bab92e62ab9aefcd6a232f54', class: `${this.loading ? 'opacity-0' : ''} ${this.icon && (this.intent !== 'cta' && this.intent !== 'cta-brand') ? (this.iconPos === 'right' ? (this.size === 'large' ? 'pr-4' : 'pr-2') : (this.size === 'large' ? 'pl-4' : 'pl-2')) : ''}`, "aria-hidden": this.loading ? 'true' : undefined }, this.label)), this.loading && (h("span", { key: 'e0f54e409080548687304bae2f5d3e1b56863318', class: "absolute inset-0 flex items-center justify-center", "aria-hidden": "true" }, h("span", { key: 'c2472f5d2730ef850a076471fa00c9db91496db7', class: "loader", style: {
|
|
220
|
+
border: `3px solid ${loaderBorderColor}`,
|
|
221
|
+
borderBottomColor: loaderBottomColor
|
|
222
|
+
} }))), this.icon ? (h("eds-icon-wrapper", { name: this.icon, size: 20, "aria-hidden": "true" })) : null)));
|
|
182
223
|
}
|
|
183
224
|
static get delegatesFocus() { return true; }
|
|
184
225
|
get el() { return this; }
|
|
@@ -195,7 +236,8 @@ const EdsButton = /*@__PURE__*/ proxyCustomElement(class EdsButton extends HTMLE
|
|
|
195
236
|
"size": [1],
|
|
196
237
|
"iconPos": [1, "icon-pos"],
|
|
197
238
|
"iconSmall": [4, "icon-small"],
|
|
198
|
-
"triggerClick": [16]
|
|
239
|
+
"triggerClick": [16],
|
|
240
|
+
"fullWidth": [4, "full-width"]
|
|
199
241
|
}, [[0, "parentContext", "handleParentContext"]]]);
|
|
200
242
|
function defineCustomElement() {
|
|
201
243
|
if (typeof customElements === "undefined") {
|
|
@@ -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 EdsCardApp extends Components.EdsCardApp, HTMLElement {}
|
|
4
|
+
export const EdsCardApp: {
|
|
5
|
+
prototype: EdsCardApp;
|
|
6
|
+
new (): EdsCardApp;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { p as parseData } from './sharedUtils.js';
|
|
3
|
+
import { d as defineCustomElement$4 } from './eds-icon-wrapper2.js';
|
|
4
|
+
import { d as defineCustomElement$3 } from './eds-link2.js';
|
|
5
|
+
import { d as defineCustomElement$2 } from './eds-tag2.js';
|
|
6
|
+
|
|
7
|
+
const edsCardAppCss = ":host{display:flex;height:100%}.app-card{height:auto;border-radius:16px;padding:1.5rem;transition:all 0.4s ease;display:flex;flex-direction:column;flex-grow:1}.app-card-default{background:var(--brand-black);border:1px solid rgba(0, 0, 0, 0.1)}.app-card-default:hover{background:var(--brand-black);border-color:rgba(0, 255, 157, 0.4);transform:translateY(-4px);box-shadow:0 4px 20px rgba(0, 0, 0, 0.1)}.app-card-default .app-title{color:var(--white)}.app-card-default .app-description{color:var(--grey-light)}.app-card-default .app-tag{background:rgba(255, 255, 255, 0.1);color:var(--white)}.app-card-inverse{background:var(--white);border:1px solid rgba(0, 0, 0, 0.1)}.app-card-inverse:hover{background:var(--white);border-color:rgba(0, 255, 157, 0.4);transform:translateY(-4px);box-shadow:0 4px 20px rgba(0, 0, 0, 0.1)}.app-card-inverse .app-title{color:var(--brand-black)}.app-card-inverse .app-description{color:var(--grey-dark)}.app-card-inverse .app-tag{background:rgba(0, 0, 0, 0.08);color:var(--brand-black)}eds-tag{margin-bottom:1rem}.app-title{font-family:'Inter', var(--f-heading-fontFamily);font-weight:300;font-size:1.75rem;margin-top:0;margin-bottom:1rem;line-height:1.3}.app-description{font-family:'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;font-size:0.9375rem;line-height:1.6;margin-bottom:1.5rem;flex-grow:1}.app-tags{display:flex;gap:0.5rem;flex-wrap:wrap;margin-bottom:1.5rem}.app-tag{padding:0.375rem 0.75rem;border-radius:4px;font-size:0.75rem;font-weight:400}@media (max-width: 768px){.app-card{padding:2rem}.app-title{font-size:1.5rem}}";
|
|
8
|
+
const EdsCardAppStyle0 = edsCardAppCss;
|
|
9
|
+
|
|
10
|
+
const EdsCardApp$1 = /*@__PURE__*/ proxyCustomElement(class EdsCardApp extends HTMLElement {
|
|
11
|
+
constructor() {
|
|
12
|
+
super();
|
|
13
|
+
this.__registerHost();
|
|
14
|
+
this.__attachShadow();
|
|
15
|
+
this.category = undefined;
|
|
16
|
+
this.title = undefined;
|
|
17
|
+
this.description = undefined;
|
|
18
|
+
this.tags = [];
|
|
19
|
+
this.url = undefined;
|
|
20
|
+
this.linkText = 'Explore Components';
|
|
21
|
+
this.variant = 'default';
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Parse the tags prop into an array
|
|
25
|
+
*/
|
|
26
|
+
get parsedTags() {
|
|
27
|
+
return parseData(this.tags);
|
|
28
|
+
}
|
|
29
|
+
render() {
|
|
30
|
+
const cardClasses = [
|
|
31
|
+
'app-card',
|
|
32
|
+
`app-card-${this.variant}`
|
|
33
|
+
].join(' ');
|
|
34
|
+
// Determine link and category tag intents based on variant
|
|
35
|
+
const linkIntent = this.variant === 'default' ? 'cta-brand' : 'cta';
|
|
36
|
+
const categoryTagIntent = this.variant === 'default' ? 'brand' : 'dark';
|
|
37
|
+
return (h("div", { key: 'e90fec25a02a9635247da04ca23a932be9cd7ea5', class: cardClasses }, this.category && (h("eds-tag", { key: 'a001a815aa32a96beac3d4af08766479030fe8d4', label: this.category, intent: categoryTagIntent, size: "medium" })), h("h3", { key: '10d4532b4fe9b9a92ad24b09634028c583166bb3', class: "app-title" }, this.title), h("p", { key: 'de1559913d227ff6b023ecdbc5fea29f66cb01a0', class: "app-description" }, this.description), this.parsedTags && this.parsedTags.length > 0 && (h("div", { key: '386a2e72a92ea03c13a4410983b8b5320e83b810', class: "app-tags" }, this.parsedTags.map((tag, index) => (h("span", { key: index, class: "app-tag" }, tag.label))))), this.url && (h("eds-link", { key: '2c1a3d133a6f04b6a3359a3c8d2f47eb19c75202', label: this.linkText, url: this.url, intent: linkIntent, icon: "arrow-right", "icon-pos": "right" }))));
|
|
38
|
+
}
|
|
39
|
+
get el() { return this; }
|
|
40
|
+
static get style() { return EdsCardAppStyle0; }
|
|
41
|
+
}, [1, "eds-card-app", {
|
|
42
|
+
"category": [1],
|
|
43
|
+
"title": [1],
|
|
44
|
+
"description": [1],
|
|
45
|
+
"tags": [1],
|
|
46
|
+
"url": [1],
|
|
47
|
+
"linkText": [1, "link-text"],
|
|
48
|
+
"variant": [1]
|
|
49
|
+
}]);
|
|
50
|
+
function defineCustomElement$1() {
|
|
51
|
+
if (typeof customElements === "undefined") {
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
const components = ["eds-card-app", "eds-icon-wrapper", "eds-link", "eds-tag"];
|
|
55
|
+
components.forEach(tagName => { switch (tagName) {
|
|
56
|
+
case "eds-card-app":
|
|
57
|
+
if (!customElements.get(tagName)) {
|
|
58
|
+
customElements.define(tagName, EdsCardApp$1);
|
|
59
|
+
}
|
|
60
|
+
break;
|
|
61
|
+
case "eds-icon-wrapper":
|
|
62
|
+
if (!customElements.get(tagName)) {
|
|
63
|
+
defineCustomElement$4();
|
|
64
|
+
}
|
|
65
|
+
break;
|
|
66
|
+
case "eds-link":
|
|
67
|
+
if (!customElements.get(tagName)) {
|
|
68
|
+
defineCustomElement$3();
|
|
69
|
+
}
|
|
70
|
+
break;
|
|
71
|
+
case "eds-tag":
|
|
72
|
+
if (!customElements.get(tagName)) {
|
|
73
|
+
defineCustomElement$2();
|
|
74
|
+
}
|
|
75
|
+
break;
|
|
76
|
+
} });
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
const EdsCardApp = EdsCardApp$1;
|
|
80
|
+
const defineCustomElement = defineCustomElement$1;
|
|
81
|
+
|
|
82
|
+
export { EdsCardApp, 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 EdsCardCta extends Components.EdsCardCta, HTMLElement {}
|
|
4
|
+
export const EdsCardCta: {
|
|
5
|
+
prototype: EdsCardCta;
|
|
6
|
+
new (): EdsCardCta;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { p as parseData } from './sharedUtils.js';
|
|
3
|
+
import { d as defineCustomElement$4 } from './eds-button2.js';
|
|
4
|
+
import { d as defineCustomElement$3 } from './eds-icon-wrapper2.js';
|
|
5
|
+
import { d as defineCustomElement$2 } from './eds-link2.js';
|
|
6
|
+
|
|
7
|
+
const edsCardCtaCss = ":host{display:flex;height:100%}.cta-container{height:auto;text-align:center;border-radius:16px;padding:1.5rem;position:relative;overflow:hidden;display:flex;flex-direction:column;flex-grow:1;justify-content:center}.cta-container-default{background-color:var(--brand-black);border:1px solid rgba(0, 255, 157, 0.25)}.cta-container-default .cta-title{color:var(--white)}.cta-container-default .cta-description{color:var(--grey-light)}.cta-container-default .cta-link{color:var(--grey-dark)}.cta-container-inverse{background-color:var(--white);border:1px solid rgba(0, 255, 157, 0.15)}.cta-container-inverse .cta-title{color:var(--brand-black)}.cta-container-inverse .cta-description{color:var(--grey-dark)}.cta-container-inverse .cta-link{color:var(--grey-dark)}.cta-container::before{content:'';position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle at center, rgba(0, 255, 157, 0.1) 0%, transparent 50%);animation:rotate 20s linear infinite;pointer-events:none}@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.cta-content{position:relative;z-index:1;width:100%}.cta-title{font-family:'Inter', var(--f-heading-fontFamily);font-weight:300;font-size:clamp(1.5rem, 4vw, 2rem);letter-spacing:-0.02em;margin-bottom:1rem;line-height:1.2}.cta-description{font-family:'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;font-size:1rem;margin:0 0 1.5rem;line-height:1.6}.cta-actions{display:flex;gap:1rem;justify-content:center;margin-bottom:1.5rem;flex-wrap:wrap}.cta-links{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}@media (max-width: 768px){.cta-container{padding:1.5rem}.cta-title{font-size:1.25rem}.cta-description{font-size:0.875rem;margin-bottom:1rem}.cta-actions{gap:0.75rem;margin-bottom:1rem}.cta-links{gap:0.75rem}}";
|
|
8
|
+
const EdsCardCtaStyle0 = edsCardCtaCss;
|
|
9
|
+
|
|
10
|
+
const EdsCardCta$1 = /*@__PURE__*/ proxyCustomElement(class EdsCardCta extends HTMLElement {
|
|
11
|
+
constructor() {
|
|
12
|
+
super();
|
|
13
|
+
this.__registerHost();
|
|
14
|
+
this.__attachShadow();
|
|
15
|
+
this.handlePrimaryClick = () => {
|
|
16
|
+
if (this.primaryButtonUrl) {
|
|
17
|
+
window.location.href = this.primaryButtonUrl;
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
this.handleSecondaryClick = () => {
|
|
21
|
+
if (this.secondaryButtonUrl) {
|
|
22
|
+
window.location.href = this.secondaryButtonUrl;
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
this.title = undefined;
|
|
26
|
+
this.description = undefined;
|
|
27
|
+
this.primaryButtonText = 'Get Started';
|
|
28
|
+
this.primaryButtonUrl = undefined;
|
|
29
|
+
this.secondaryButtonText = undefined;
|
|
30
|
+
this.secondaryButtonUrl = undefined;
|
|
31
|
+
this.links = [];
|
|
32
|
+
this.variant = 'default';
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Parse the links prop into an array
|
|
36
|
+
*/
|
|
37
|
+
get parsedLinks() {
|
|
38
|
+
return parseData(this.links);
|
|
39
|
+
}
|
|
40
|
+
render() {
|
|
41
|
+
const containerClasses = [
|
|
42
|
+
'cta-container',
|
|
43
|
+
`cta-container-${this.variant}`
|
|
44
|
+
].join(' ');
|
|
45
|
+
// Determine button and link intents based on variant
|
|
46
|
+
const primaryButtonIntent = this.variant === 'default' ? 'brandInverse' : 'brand';
|
|
47
|
+
const secondaryButtonIntent = this.variant === 'default' ? 'secondaryInverse' : 'secondary';
|
|
48
|
+
const linkIntent = this.variant === 'default' ? 'cta' : 'underline';
|
|
49
|
+
return (h("div", { key: 'ee2163e6096ad05dc55ac40c6626236723a23b72', class: containerClasses }, h("div", { key: 'f51481133015ef5eafce48bab525cf166c000e3a', class: "cta-content" }, h("h2", { key: '577441d8bc7cb4c906408faf995e106ef2779e8b', class: "cta-title", innerHTML: this.title }), h("p", { key: 'b8cbcf891b95f82c3dd57f1db9335f55c1d7162c', class: "cta-description" }, this.description), h("div", { key: 'f167262a521b9e15176a4fc65e3e45a8cf24feb1', class: "cta-actions" }, h("eds-button", { key: 'f2c092d340996c87864677f94d979fe6317ef6d7', label: this.primaryButtonText, intent: primaryButtonIntent, icon: "arrow-right", "icon-pos": "right", size: "large", triggerClick: this.handlePrimaryClick }), this.secondaryButtonText && (h("eds-button", { key: 'de0fe98dab48b2ab4b78a637915df48c930c4b54', label: this.secondaryButtonText, intent: secondaryButtonIntent, size: "large", triggerClick: this.handleSecondaryClick }))), this.parsedLinks && this.parsedLinks.length > 0 && (h("div", { key: '842a6e794364fb50829ad422fc7699527b17e918', class: "cta-links" }, this.parsedLinks.map((link, index) => (h("eds-link", { key: index, label: link.label, url: link.url, intent: linkIntent }))))))));
|
|
50
|
+
}
|
|
51
|
+
get el() { return this; }
|
|
52
|
+
static get style() { return EdsCardCtaStyle0; }
|
|
53
|
+
}, [1, "eds-card-cta", {
|
|
54
|
+
"title": [1],
|
|
55
|
+
"description": [1],
|
|
56
|
+
"primaryButtonText": [1, "primary-button-text"],
|
|
57
|
+
"primaryButtonUrl": [1, "primary-button-url"],
|
|
58
|
+
"secondaryButtonText": [1, "secondary-button-text"],
|
|
59
|
+
"secondaryButtonUrl": [1, "secondary-button-url"],
|
|
60
|
+
"links": [1],
|
|
61
|
+
"variant": [1]
|
|
62
|
+
}]);
|
|
63
|
+
function defineCustomElement$1() {
|
|
64
|
+
if (typeof customElements === "undefined") {
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
const components = ["eds-card-cta", "eds-button", "eds-icon-wrapper", "eds-link"];
|
|
68
|
+
components.forEach(tagName => { switch (tagName) {
|
|
69
|
+
case "eds-card-cta":
|
|
70
|
+
if (!customElements.get(tagName)) {
|
|
71
|
+
customElements.define(tagName, EdsCardCta$1);
|
|
72
|
+
}
|
|
73
|
+
break;
|
|
74
|
+
case "eds-button":
|
|
75
|
+
if (!customElements.get(tagName)) {
|
|
76
|
+
defineCustomElement$4();
|
|
77
|
+
}
|
|
78
|
+
break;
|
|
79
|
+
case "eds-icon-wrapper":
|
|
80
|
+
if (!customElements.get(tagName)) {
|
|
81
|
+
defineCustomElement$3();
|
|
82
|
+
}
|
|
83
|
+
break;
|
|
84
|
+
case "eds-link":
|
|
85
|
+
if (!customElements.get(tagName)) {
|
|
86
|
+
defineCustomElement$2();
|
|
87
|
+
}
|
|
88
|
+
break;
|
|
89
|
+
} });
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
const EdsCardCta = EdsCardCta$1;
|
|
93
|
+
const defineCustomElement = defineCustomElement$1;
|
|
94
|
+
|
|
95
|
+
export { EdsCardCta, defineCustomElement };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
|
|
3
|
-
const edsCardDescCss = ".f-
|
|
3
|
+
const edsCardDescCss = ".f-body-02{font-family:var(--f-body-02-fontFamily);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-light{color:var(--grey-700)}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.text-default{color:var(--brand-black)}.text-inverse{color:var(--white)}";
|
|
4
4
|
const EdsCardDescStyle0 = edsCardDescCss;
|
|
5
5
|
|
|
6
6
|
const EdsCardDesc = /*@__PURE__*/ proxyCustomElement(class EdsCardDesc extends HTMLElement {
|
|
@@ -11,18 +11,20 @@ const EdsCardDesc = /*@__PURE__*/ proxyCustomElement(class EdsCardDesc extends H
|
|
|
11
11
|
this.description = undefined;
|
|
12
12
|
this.truncate = true;
|
|
13
13
|
this.truncateLines = '3';
|
|
14
|
+
this.intent = 'secondary';
|
|
14
15
|
}
|
|
15
16
|
getTruncateClass() {
|
|
16
17
|
return this.truncate && this.truncateLines ? `line-clamp-${this.truncateLines}` : '';
|
|
17
18
|
}
|
|
18
19
|
render() {
|
|
19
|
-
return (h("p", { key: '
|
|
20
|
+
return (h("p", { key: 'c018c6b42e709c9e5df23ba9a999955ee4da1fdd', class: `f-body-02 ${this.intent === 'secondary' ? 'text-inverse' : 'text-default'}` }, h("span", { key: 'bcfb43e3940a31dc4c0ec18904e4448eb27d0580', class: this.getTruncateClass() }, this.description)));
|
|
20
21
|
}
|
|
21
22
|
static get style() { return EdsCardDescStyle0; }
|
|
22
23
|
}, [1, "eds-card-desc", {
|
|
23
24
|
"description": [1],
|
|
24
25
|
"truncate": [4],
|
|
25
|
-
"truncateLines": [1, "truncate-lines"]
|
|
26
|
+
"truncateLines": [1, "truncate-lines"],
|
|
27
|
+
"intent": [1]
|
|
26
28
|
}]);
|
|
27
29
|
function defineCustomElement() {
|
|
28
30
|
if (typeof customElements === "undefined") {
|
|
@@ -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 EdsCardFeature extends Components.EdsCardFeature, HTMLElement {}
|
|
4
|
+
export const EdsCardFeature: {
|
|
5
|
+
prototype: EdsCardFeature;
|
|
6
|
+
new (): EdsCardFeature;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { d as defineCustomElement$3 } from './eds-icon-wrapper2.js';
|
|
3
|
+
import { d as defineCustomElement$2 } from './eds-link2.js';
|
|
4
|
+
|
|
5
|
+
const edsCardFeatureCss = ":host{display:flex;height:100%}.feature-card{height:auto;border-radius:16px;padding:1.5rem;transition:all 0.4s ease;position:relative;overflow:hidden;display:flex;flex-direction:column;flex-grow:1}.feature-card-default{background:var(--brand-black);border:1px solid rgba(0, 0, 0, 0.1)}.feature-card-default:hover{background:var(--brand-black);border-color:rgba(0, 255, 157, 0.4);box-shadow:0 4px 20px rgba(0, 0, 0, 0.1)}.feature-card-default .feature-title{color:var(--white)}.feature-card-default .feature-description{color:var(--grey-light)}.feature-card-inverse{background:var(--white);border:1px solid rgba(0, 0, 0, 0.1)}.feature-card-inverse:hover{background:var(--white);border-color:rgba(0, 255, 157, 0.4);box-shadow:0 4px 20px rgba(0, 0, 0, 0.1)}.feature-card-inverse .feature-title{color:var(--brand-black)}.feature-card-inverse .feature-description{color:var(--grey-dark)}.feature-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:rgba(0, 255, 157, 0.1);border-radius:12px;color:var(--brand-green);flex-shrink:0}.feature-card-inverse .feature-icon{background:rgba(0, 0, 0, 0.05);color:var(--brand-black)}.feature-title{font-family:'Inter', var(--f-heading-fontFamily);font-weight:300;font-size:1.25rem;margin-bottom:0.75rem;line-height:1.4}.feature-description{font-family:'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;font-size:0.9375rem;line-height:1.6;flex-grow:1}@media (max-width: 768px){.feature-card{padding:2rem}.feature-icon{width:40px;height:40px;margin-bottom:1.25rem}.feature-title{font-size:1.125rem}}";
|
|
6
|
+
const EdsCardFeatureStyle0 = edsCardFeatureCss;
|
|
7
|
+
|
|
8
|
+
const EdsCardFeature$1 = /*@__PURE__*/ proxyCustomElement(class EdsCardFeature extends HTMLElement {
|
|
9
|
+
constructor() {
|
|
10
|
+
super();
|
|
11
|
+
this.__registerHost();
|
|
12
|
+
this.__attachShadow();
|
|
13
|
+
this.icon = undefined;
|
|
14
|
+
this.title = undefined;
|
|
15
|
+
this.description = undefined;
|
|
16
|
+
this.url = undefined;
|
|
17
|
+
this.linkText = 'Learn more';
|
|
18
|
+
this.variant = 'default';
|
|
19
|
+
}
|
|
20
|
+
render() {
|
|
21
|
+
const cardClasses = [
|
|
22
|
+
'feature-card',
|
|
23
|
+
`feature-card-${this.variant}`
|
|
24
|
+
].join(' ');
|
|
25
|
+
return (h("div", { key: '315904b024e86403b00c9f0e3ebb93dafba08fa8', class: cardClasses }, this.icon && (h("div", { key: 'e0891b38e8321130471ae1422c96fbfe7662b01f', class: "feature-icon" }, h("eds-icon-wrapper", { key: '768b355daebf53d69a54166525c193505dc44d67', name: this.icon, size: 24 }))), h("h3", { key: 'e2486793198e51e518f24beab609a3d0186902d4', class: "feature-title" }, this.title), h("p", { key: '4d66d673b5733c96312cde5e1c3fd64cced5d95a', class: "feature-description" }, this.description), this.url && (h("eds-link", { key: 'e9123234265f259fb9b61172f2e79c7aba5f82b4', label: this.linkText, url: this.url, intent: "cta", icon: "arrow-right", "icon-pos": "right" }))));
|
|
26
|
+
}
|
|
27
|
+
get el() { return this; }
|
|
28
|
+
static get style() { return EdsCardFeatureStyle0; }
|
|
29
|
+
}, [1, "eds-card-feature", {
|
|
30
|
+
"icon": [1],
|
|
31
|
+
"title": [1],
|
|
32
|
+
"description": [1],
|
|
33
|
+
"url": [1],
|
|
34
|
+
"linkText": [1, "link-text"],
|
|
35
|
+
"variant": [1]
|
|
36
|
+
}]);
|
|
37
|
+
function defineCustomElement$1() {
|
|
38
|
+
if (typeof customElements === "undefined") {
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
const components = ["eds-card-feature", "eds-icon-wrapper", "eds-link"];
|
|
42
|
+
components.forEach(tagName => { switch (tagName) {
|
|
43
|
+
case "eds-card-feature":
|
|
44
|
+
if (!customElements.get(tagName)) {
|
|
45
|
+
customElements.define(tagName, EdsCardFeature$1);
|
|
46
|
+
}
|
|
47
|
+
break;
|
|
48
|
+
case "eds-icon-wrapper":
|
|
49
|
+
if (!customElements.get(tagName)) {
|
|
50
|
+
defineCustomElement$3();
|
|
51
|
+
}
|
|
52
|
+
break;
|
|
53
|
+
case "eds-link":
|
|
54
|
+
if (!customElements.get(tagName)) {
|
|
55
|
+
defineCustomElement$2();
|
|
56
|
+
}
|
|
57
|
+
break;
|
|
58
|
+
} });
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
const EdsCardFeature = EdsCardFeature$1;
|
|
62
|
+
const defineCustomElement = defineCustomElement$1;
|
|
63
|
+
|
|
64
|
+
export { EdsCardFeature, defineCustomElement };
|