@ebrains/components 0.9.3-beta → 1.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/README.md +4 -2
- package/dist/cjs/{analytics-d8fb3fdd.js → analytics-28713bf7.js} +2 -2
- package/dist/cjs/color-primary-palette_6.cjs.entry.js +15 -15
- package/dist/cjs/components-section.cjs.entry.js +23 -17
- package/dist/cjs/components.cjs.js +2 -2
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +2 -2
- package/dist/cjs/docs-palettes.cjs.entry.js +2 -2
- package/dist/cjs/docs-tokens.cjs.entry.js +2 -2
- package/dist/cjs/eds-accordion.cjs.entry.js +3 -3
- package/dist/cjs/eds-alert.cjs.entry.js +2 -2
- package/dist/cjs/eds-app-root.cjs.entry.js +2 -2
- package/dist/cjs/eds-avatar_34.cjs.entry.js +2731 -0
- package/dist/cjs/eds-card-project.cjs.entry.js +136 -8
- package/dist/cjs/eds-card-section.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-tags.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-tool.cjs.entry.js +3 -3
- package/dist/cjs/eds-code-block.cjs.entry.js +1 -1
- package/dist/cjs/eds-cookies-preference.cjs.entry.js +2 -2
- package/dist/cjs/eds-feedback.cjs.entry.js +7 -2
- package/dist/cjs/eds-frame.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-bookmark.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-close.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-copy.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-eu.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-external.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-facebook.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-linkedin.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-loader.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-mastodon.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-menu.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-minus.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-more.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-paper.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-plus.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-portal.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-private.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-public.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-search.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-star.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-success.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-tutorial.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-unknown.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-updown.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-user.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
- package/dist/cjs/eds-matomo-notice.cjs.entry.js +10 -8
- package/dist/cjs/eds-pagination_2.cjs.entry.js +6 -6
- package/dist/cjs/eds-progress-bar.cjs.entry.js +32 -5
- package/dist/cjs/eds-rating.cjs.entry.js +2 -2
- package/dist/cjs/eds-section-core_2.cjs.entry.js +4 -4
- package/dist/cjs/eds-spinner.cjs.entry.js +2 -2
- package/dist/cjs/eds-splash-screen.cjs.entry.js +60 -0
- package/dist/cjs/eds-switch.cjs.entry.js +14 -6
- package/dist/cjs/eds-timeline.cjs.entry.js +3 -3
- package/dist/cjs/eds-toast-manager.cjs.entry.js +33 -4
- package/dist/cjs/eds-toast.cjs.entry.js +5 -4
- package/dist/cjs/eds-trl.cjs.entry.js +2 -2
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +2 -2
- package/dist/cjs/{index-2f63169d.js → index-88c8039f.js} +37 -319
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/logo-space.cjs.entry.js +2 -2
- package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +3 -3
- package/dist/cjs/logo-variations-tabs.cjs.entry.js +2 -2
- package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
- package/dist/cjs/svg-repository.cjs.entry.js +2 -2
- package/dist/cjs/token-list_3.cjs.entry.js +4 -4
- package/dist/cjs/token-ratios.cjs.entry.js +2 -2
- package/dist/cjs/token-typography.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/eds-accordion/eds-accordion.css +0 -8
- package/dist/collection/components/eds-alert/eds-alert.css +1 -575
- package/dist/collection/components/eds-alert/eds-alert.stories.js +3 -1
- package/dist/collection/components/eds-avatar/eds-avatar.css +40 -25
- package/dist/collection/components/eds-avatar/eds-avatar.js +11 -21
- package/dist/collection/components/eds-avatar/eds-avatar.stories.js +5 -2
- package/dist/collection/components/eds-block-break/eds-block-break.css +2 -27
- package/dist/collection/components/eds-block-break/eds-block-break.js +9 -14
- package/dist/collection/components/eds-button/eds-button.css +318 -8312
- package/dist/collection/components/eds-button/eds-button.js +5 -59
- package/dist/collection/components/eds-button/eds-button.stories.js +4 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.css +5 -7
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +1 -20
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.css +10 -1
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +1 -1
- package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.css +58 -0
- package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.js +172 -0
- package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.stories.js +57 -0
- package/dist/collection/components/eds-charts/eds-pie/eds-pie.css +135 -0
- package/dist/collection/components/eds-charts/eds-pie/eds-pie.js +229 -0
- package/dist/collection/components/eds-charts/eds-pie/eds-pie.stories.js +76 -0
- package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +33 -156
- package/dist/collection/components/eds-input-field/eds-input-field.js +42 -15
- package/dist/collection/components/eds-link/eds-link.css +384 -6247
- package/dist/collection/components/eds-link/eds-link.js +2 -1
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.css +96 -61
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +48 -3
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.stories.js +3 -4
- package/dist/collection/components/eds-rating/eds-rating.js +1 -1
- package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +5 -1
- package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
- package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
- package/dist/collection/components/eds-switch/eds-switch.css +13 -2
- package/dist/collection/components/eds-switch/eds-switch.js +13 -5
- package/dist/collection/components/eds-table/eds-table.js +4 -4
- package/dist/collection/components/eds-table/eds-table.stories.js +1 -11
- package/dist/collection/components/eds-tag/eds-tag.css +22 -12
- package/dist/collection/components/eds-tag/eds-tag.js +1 -1
- package/dist/collection/components/eds-timeline/eds-timeline.css +46 -7755
- package/dist/collection/components/eds-timeline/eds-timeline.js +4 -1
- package/dist/collection/components/eds-toast/eds-toast.js +7 -7
- package/dist/collection/components/eds-tooltip/eds-tooltip.css +89 -93
- package/dist/collection/components/eds-tooltip/eds-tooltip.js +6 -120
- package/dist/collection/components/eds-tooltip/eds-tooltip.stories.js +5 -3
- package/dist/collection/components/eds-trl/eds-trl.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
- package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
- package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/components-section/components-section.js +1 -1
- package/dist/collection/eds-docs-ui/components-section/functional/angular.js +1 -1
- package/dist/collection/eds-docs-ui/components-section/functional/installation.js +1 -1
- package/dist/collection/eds-docs-ui/components-section/functional/overview.js +2 -2
- 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 +1 -1
- 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 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations-tabs/logo-variations.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
- package/dist/collection/eds-docs-ui/svg-repository/svg-repository.js +1 -1
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +24 -1
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.stories.js +9 -1
- package/dist/collection/shared-ui/eds-footer/eds-footer.css +4 -0
- package/dist/collection/shared-ui/eds-footer/eds-footer.js +46 -2
- package/dist/collection/shared-ui/eds-footer/eds-footer.stories.js +16 -3
- package/dist/collection/shared-ui/eds-form/eds-form.js +42 -10
- package/dist/collection/shared-ui/eds-frame/eds-frame.css +147 -115
- package/dist/collection/shared-ui/eds-frame/eds-frame.js +1 -1
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.css +149 -117
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +1 -1
- package/dist/collection/shared-ui/eds-header/eds-header.css +178 -132
- package/dist/collection/shared-ui/eds-header/eds-header.js +21 -40
- package/dist/collection/shared-ui/eds-header/eds-header.stories.js +6 -5
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +8 -6
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.js +1 -0
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -1
- package/dist/collection/{components → shared-ui}/eds-steps/eds-steps.css +2 -35
- package/dist/collection/{components → shared-ui}/eds-steps/eds-steps.js +2 -2
- package/dist/collection/{components → shared-ui}/eds-steps/eds-steps.stories.js +1 -1
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.css +4 -128
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.stories.js +1 -1
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +268 -7686
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +10 -10
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.stories.js +20 -10
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
- package/dist/collection/shared-ui/eds-user/eds-user.css +36 -7758
- package/dist/collection/shared-ui/eds-user/eds-user.js +1 -1
- package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
- package/dist/collection/utils/analytics.js +2 -2
- package/dist/collection/utils/color.js +8 -8
- package/dist/components/analytics.js +2 -2
- package/dist/components/components-section.js +22 -16
- package/dist/components/components.css +34 -516
- 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 +1 -1
- package/dist/components/eds-alert2.js +1 -1
- package/dist/components/eds-app-root.js +2 -20
- package/dist/components/eds-avatar2.js +4 -15
- package/dist/components/eds-block-break2.js +4 -4
- package/dist/components/eds-button2.js +6 -60
- package/dist/components/eds-card-desc2.js +2 -4
- package/dist/components/eds-card-generic2.js +2 -2
- package/dist/components/eds-card-project.js +131 -2
- package/dist/components/eds-card-tool.js +1 -1
- package/dist/components/eds-cookies-preference.js +1 -1
- package/dist/components/eds-feedback.js +7 -1
- package/dist/components/eds-footer2.js +7 -3
- package/dist/components/eds-form.js +17 -9
- package/dist/components/eds-frame.js +2 -2
- package/dist/components/eds-fullscreen-menu.js +1 -1
- package/dist/components/{eds-login.d.ts → eds-gauge.d.ts} +4 -4
- package/dist/components/eds-gauge.js +81 -0
- package/dist/components/eds-header.js +15 -34
- package/dist/components/eds-input-field2.js +26 -16
- package/dist/components/eds-input-select2.js +12 -84
- package/dist/components/eds-link2.js +3 -2
- package/dist/components/eds-matomo-notice2.js +8 -6
- package/dist/components/{eds-card-wrapper.d.ts → eds-pie.d.ts} +4 -4
- package/dist/components/eds-pie.js +127 -0
- package/dist/components/eds-progress-bar2.js +32 -4
- package/dist/components/eds-rating2.js +1 -1
- package/dist/components/eds-section-core2.js +3 -2
- package/dist/components/eds-section-heading2.js +2 -2
- package/dist/components/eds-social-networks2.js +1 -1
- package/dist/components/eds-spinner2.js +1 -1
- package/dist/components/eds-steps-v2.js +1 -1
- package/dist/components/eds-steps2.js +1 -1
- package/dist/components/eds-switch.js +13 -5
- package/dist/components/eds-table2.js +4 -4
- package/dist/components/eds-tabs.js +11 -11
- package/dist/components/eds-tag2.js +2 -2
- package/dist/components/eds-timeline.js +2 -2
- package/dist/components/eds-toast-manager.js +31 -2
- package/dist/components/eds-toast2.js +4 -3
- package/dist/components/eds-tooltip.js +7 -88
- package/dist/components/eds-trl.js +1 -1
- package/dist/components/eds-user.js +10 -4
- package/dist/components/incorrect-use-of-colors.js +1 -1
- package/dist/components/logo-space.js +1 -1
- package/dist/components/logo-variations-horizontal2.js +1 -1
- package/dist/components/logo-variations-tabs.js +1 -1
- package/dist/components/logo-variations-vertical2.js +1 -1
- package/dist/components/logo-wrong-usage.js +1 -1
- package/dist/components/p-019555e2.entry.js +1 -0
- package/dist/components/p-04b4e9d0.entry.js +1 -0
- package/dist/components/p-0863352c.entry.js +1 -0
- package/dist/components/p-0d6434e1.entry.js +1 -0
- package/dist/components/p-0e94a89f.entry.js +1 -0
- package/dist/components/p-0ed92872.entry.js +1 -0
- package/dist/components/{p-c4db0829.entry.js → p-0eeddc13.entry.js} +1 -1
- package/dist/components/p-100909ce.entry.js +1 -0
- package/dist/components/{p-892362e0.entry.js → p-10db551c.entry.js} +1 -1
- package/dist/components/{p-aa2e6fec.entry.js → p-124b8747.entry.js} +1 -1
- package/dist/components/p-14a223fe.entry.js +1 -0
- package/dist/components/{p-e089797c.entry.js → p-1661f33c.entry.js} +1 -1
- package/dist/components/{p-05b272e5.entry.js → p-18ceadd2.entry.js} +1 -1
- package/dist/components/p-223ba66e.entry.js +1 -0
- package/dist/components/{p-751497f4.entry.js → p-24dab785.entry.js} +1 -1
- package/dist/components/p-26d6679b.entry.js +1 -0
- package/dist/components/p-2810d568.entry.js +1 -0
- package/dist/components/p-28ae3f3a.js +2 -0
- package/dist/components/p-2b1b2026.entry.js +1 -0
- package/dist/components/p-2c571550.entry.js +1 -0
- package/dist/components/p-326d9e55.entry.js +1 -0
- package/dist/components/p-36d6134f.entry.js +1 -0
- package/dist/components/p-3c642a30.entry.js +1 -0
- package/dist/components/p-46619042.entry.js +1 -0
- package/dist/components/{p-75d37c48.entry.js → p-46a6ab04.entry.js} +1 -1
- package/dist/components/{p-d83d2815.entry.js → p-50ea5b07.entry.js} +1 -1
- package/dist/components/p-511b23ec.entry.js +1 -0
- package/dist/components/p-5462923d.entry.js +1 -0
- package/dist/components/p-6199b8c0.entry.js +1 -0
- package/dist/components/{p-888c3471.entry.js → p-624e653e.entry.js} +1 -1
- package/dist/components/{p-0b99fd3c.entry.js → p-682f7376.entry.js} +1 -1
- package/dist/components/p-6907a47c.entry.js +1 -0
- package/dist/components/p-6ba42d02.entry.js +1 -0
- package/dist/components/p-6e929acb.entry.js +1 -0
- package/dist/components/p-6ede7101.entry.js +1 -0
- package/dist/components/p-70bac015.entry.js +1 -0
- package/dist/components/p-7af6b832.entry.js +1 -0
- package/dist/components/p-7f31622d.entry.js +1 -0
- package/dist/components/p-822ac246.entry.js +1 -0
- package/dist/components/p-848506b8.entry.js +1 -0
- package/dist/components/p-84fd3e40.entry.js +1 -0
- package/dist/components/p-85634ad2.entry.js +1 -0
- package/dist/components/{p-7a550385.entry.js → p-8ad05566.entry.js} +1 -1
- package/dist/components/{p-037975af.entry.js → p-8b016d76.entry.js} +1 -1
- package/dist/components/p-8bdf5841.entry.js +1 -0
- package/dist/components/p-8ff39cef.entry.js +1 -0
- package/dist/components/{p-29ad9c73.entry.js → p-a4f552b2.entry.js} +1 -1
- package/dist/components/p-a81cba86.entry.js +1 -0
- package/dist/components/p-abb2ad00.entry.js +1 -0
- package/dist/components/{p-b8ba7e5c.entry.js → p-adbd0d7b.entry.js} +1 -1
- package/dist/components/p-affe2b55.entry.js +1 -0
- package/dist/components/p-b31591db.entry.js +1 -0
- package/dist/components/{p-7db75d62.entry.js → p-b4abff90.entry.js} +1 -1
- package/dist/components/{p-67c72c20.entry.js → p-b50fc0d7.entry.js} +1 -1
- package/dist/components/p-b7efd666.entry.js +1 -0
- package/dist/components/p-ba784274.entry.js +1 -0
- package/dist/components/p-bb9af709.entry.js +1 -0
- package/dist/components/p-bfc62d3e.entry.js +1 -0
- package/dist/components/p-c0b22803.entry.js +1 -0
- package/dist/components/p-cdd491f5.entry.js +1 -0
- package/dist/components/{p-688e07d6.entry.js → p-cde3d7a4.entry.js} +1 -1
- package/dist/components/p-cfccddc3.entry.js +1 -0
- package/dist/components/p-d15065c3.js +1 -0
- package/dist/components/p-d268c96b.entry.js +1 -0
- package/dist/components/p-d437bae2.entry.js +1 -0
- package/dist/components/p-d456e649.entry.js +1 -0
- package/dist/components/p-dae8f66a.entry.js +1 -0
- package/dist/components/p-e1791844.entry.js +1 -0
- package/dist/components/p-e82edd4a.entry.js +1 -0
- package/dist/components/p-e9f608a8.entry.js +1 -0
- package/dist/components/{p-55e3683c.entry.js → p-ea97a94e.entry.js} +1 -1
- package/dist/components/{p-e2b00067.entry.js → p-eac593ee.entry.js} +1 -1
- package/dist/components/p-f26fd186.entry.js +1 -0
- package/dist/components/{p-7ac9881e.entry.js → p-f2c23162.entry.js} +1 -1
- package/dist/components/p-fc4edb18.entry.js +1 -0
- package/dist/components/p-fe1cba17.entry.js +1 -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 +1 -1
- package/dist/components/token-list2.js +1 -1
- package/dist/components/token-radii2.js +1 -1
- package/dist/components/token-ratios.js +1 -1
- package/dist/components/token-shadows2.js +1 -1
- package/dist/components/token-spacing.js +1 -1
- package/dist/components/token-typography.js +1 -1
- package/dist/esm/{analytics-44b1416b.js → analytics-d99780e3.js} +2 -2
- package/dist/esm/color-primary-palette_6.entry.js +15 -15
- package/dist/esm/components-section.entry.js +23 -17
- package/dist/esm/components.js +3 -3
- package/dist/esm/correct-use-of-colors.entry.js +2 -2
- package/dist/esm/docs-palettes.entry.js +2 -2
- package/dist/esm/docs-tokens.entry.js +2 -2
- package/dist/esm/eds-accordion.entry.js +3 -3
- package/dist/esm/eds-alert.entry.js +2 -2
- package/dist/esm/eds-app-root.entry.js +2 -2
- package/dist/esm/eds-avatar_34.entry.js +2694 -0
- package/dist/esm/eds-card-project.entry.js +133 -5
- package/dist/esm/eds-card-section.entry.js +1 -1
- package/dist/esm/eds-card-tags.entry.js +1 -1
- package/dist/esm/eds-card-tool.entry.js +3 -3
- package/dist/esm/eds-code-block.entry.js +1 -1
- package/dist/esm/eds-cookies-preference.entry.js +2 -2
- package/dist/esm/eds-feedback.entry.js +7 -2
- package/dist/esm/eds-frame.entry.js +3 -3
- package/dist/esm/eds-icon-arrow-diagonal.entry.js +1 -1
- package/dist/esm/eds-icon-arrow-right.entry.js +1 -1
- package/dist/esm/eds-icon-bluesky.entry.js +1 -1
- package/dist/esm/eds-icon-bookmark.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-down.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-left.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-right.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-up.entry.js +1 -1
- package/dist/esm/eds-icon-close.entry.js +1 -1
- package/dist/esm/eds-icon-copy.entry.js +1 -1
- package/dist/esm/eds-icon-eu.entry.js +1 -1
- package/dist/esm/eds-icon-external.entry.js +1 -1
- package/dist/esm/eds-icon-facebook.entry.js +1 -1
- package/dist/esm/eds-icon-gitlab.entry.js +1 -1
- package/dist/esm/eds-icon-linkedin.entry.js +1 -1
- package/dist/esm/eds-icon-loader.entry.js +1 -1
- package/dist/esm/eds-icon-mastodon.entry.js +1 -1
- package/dist/esm/eds-icon-menu.entry.js +1 -1
- package/dist/esm/eds-icon-minus.entry.js +1 -1
- package/dist/esm/eds-icon-more.entry.js +1 -1
- package/dist/esm/eds-icon-paper.entry.js +1 -1
- package/dist/esm/eds-icon-plus.entry.js +1 -1
- package/dist/esm/eds-icon-portal.entry.js +1 -1
- package/dist/esm/eds-icon-private.entry.js +1 -1
- package/dist/esm/eds-icon-public.entry.js +1 -1
- package/dist/esm/eds-icon-search.entry.js +1 -1
- package/dist/esm/eds-icon-star.entry.js +1 -1
- package/dist/esm/eds-icon-success.entry.js +1 -1
- package/dist/esm/eds-icon-thumbs-down.entry.js +1 -1
- package/dist/esm/eds-icon-thumbs-up.entry.js +1 -1
- package/dist/esm/eds-icon-tutorial.entry.js +1 -1
- package/dist/esm/eds-icon-twitter.entry.js +1 -1
- package/dist/esm/eds-icon-unknown.entry.js +1 -1
- package/dist/esm/eds-icon-updown.entry.js +1 -1
- package/dist/esm/eds-icon-user.entry.js +1 -1
- package/dist/esm/eds-icon-youtube.entry.js +1 -1
- package/dist/esm/eds-matomo-notice.entry.js +10 -8
- package/dist/esm/eds-pagination_2.entry.js +6 -6
- package/dist/esm/eds-progress-bar.entry.js +32 -5
- package/dist/esm/eds-rating.entry.js +2 -2
- package/dist/esm/eds-section-core_2.entry.js +4 -4
- package/dist/esm/eds-spinner.entry.js +2 -2
- package/dist/esm/eds-splash-screen.entry.js +56 -0
- package/dist/esm/eds-switch.entry.js +14 -6
- package/dist/esm/eds-timeline.entry.js +3 -3
- package/dist/esm/eds-toast-manager.entry.js +32 -3
- package/dist/esm/eds-toast.entry.js +5 -4
- package/dist/esm/eds-trl.entry.js +2 -2
- package/dist/esm/incorrect-use-of-colors.entry.js +2 -2
- package/dist/esm/{index-8a71b9a7.js → index-fdb33359.js} +37 -319
- package/dist/esm/loader.js +3 -3
- package/dist/esm/logo-space.entry.js +2 -2
- package/dist/esm/logo-variations-horizontal_2.entry.js +3 -3
- package/dist/esm/logo-variations-tabs.entry.js +2 -2
- package/dist/esm/logo-wrong-usage.entry.js +2 -2
- package/dist/esm/svg-repository.entry.js +2 -2
- package/dist/esm/token-list_3.entry.js +4 -4
- package/dist/esm/token-ratios.entry.js +2 -2
- package/dist/esm/token-typography.entry.js +2 -2
- package/dist/hydrate/index.js +815 -2882
- package/dist/hydrate/index.mjs +815 -2882
- package/dist/types/components/eds-avatar/eds-avatar.d.ts +3 -4
- package/dist/types/components/eds-avatar/eds-avatar.stories.d.ts +2 -1
- package/dist/types/components/eds-block-break/eds-block-break.d.ts +2 -7
- package/dist/types/components/eds-button/eds-button.d.ts +0 -1
- package/dist/types/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.d.ts +0 -5
- package/dist/types/components/eds-charts/eds-gauge/eds-gauge.d.ts +14 -0
- package/dist/types/components/eds-charts/eds-gauge/eds-gauge.stories.d.ts +52 -0
- package/dist/types/components/eds-charts/eds-pie/eds-pie.d.ts +28 -0
- package/dist/types/components/eds-charts/eds-pie/eds-pie.stories.d.ts +60 -0
- package/dist/types/components/eds-input-elements/eds-input-select/eds-input-select.d.ts +18 -116
- package/dist/types/components/eds-input-field/eds-input-field.d.ts +6 -0
- package/dist/types/components/eds-progress-bar/eds-progress-bar.d.ts +3 -3
- package/dist/types/components/eds-progress-bar/eds-progress-bar.stories.d.ts +3 -0
- package/dist/types/components/eds-section/eds-section-core/eds-section-core.d.ts +3 -0
- package/dist/types/components/eds-switch/eds-switch.d.ts +2 -1
- package/dist/types/components/eds-table/eds-table.stories.d.ts +0 -8
- package/dist/types/components/eds-timeline/eds-timeline.d.ts +3 -0
- package/dist/types/components/eds-toast/eds-toast.d.ts +3 -2
- package/dist/types/components/eds-tooltip/eds-tooltip.d.ts +2 -36
- package/dist/types/components.d.ts +211 -241
- package/dist/types/shared-ui/eds-feedback/eds-feedback.d.ts +4 -0
- package/dist/types/shared-ui/eds-feedback/eds-feedback.stories.d.ts +8 -4
- package/dist/types/shared-ui/eds-footer/eds-footer.d.ts +10 -0
- package/dist/types/shared-ui/eds-footer/eds-footer.stories.d.ts +10 -0
- package/dist/types/shared-ui/eds-form/eds-form.d.ts +1 -1
- package/dist/types/shared-ui/eds-header/eds-header.d.ts +5 -24
- package/dist/types/shared-ui/eds-header/eds-header.stories.d.ts +6 -3
- package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.d.ts +0 -1
- package/dist/types/shared-ui/eds-tabs/eds-tabs.stories.d.ts +0 -1
- package/package.json +14 -4
- package/dist/cjs/color-c00146a8.js +0 -134
- package/dist/cjs/eds-avatar_27.cjs.entry.js +0 -2404
- package/dist/cjs/eds-card-desc_2.cjs.entry.js +0 -78
- package/dist/cjs/eds-card-generic.cjs.entry.js +0 -92
- package/dist/cjs/eds-card-wrapper.cjs.entry.js +0 -32
- package/dist/cjs/eds-login_2.cjs.entry.js +0 -2100
- package/dist/cjs/eds-tabs.cjs.entry.js +0 -130
- package/dist/cjs/eds-tooltip.cjs.entry.js +0 -109
- package/dist/cjs/toastManager-4e9535f3.js +0 -33
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-wrapper/eds-card-wrapper.js +0 -86
- package/dist/collection/shared-ui/eds-login/eds-login.js +0 -190
- package/dist/components/color.js +0 -132
- package/dist/components/eds-card-wrapper.js +0 -49
- package/dist/components/eds-login.js +0 -6
- package/dist/components/eds-login2.js +0 -2076
- package/dist/components/p-05549a74.entry.js +0 -1
- package/dist/components/p-0e378e0e.entry.js +0 -1
- package/dist/components/p-13efafb9.js +0 -1
- package/dist/components/p-1ec25dc2.entry.js +0 -1
- package/dist/components/p-202f78cc.entry.js +0 -1
- package/dist/components/p-22b76c3c.entry.js +0 -1
- package/dist/components/p-22f9e720.js +0 -1
- package/dist/components/p-24300934.entry.js +0 -1
- package/dist/components/p-25f1cc6c.entry.js +0 -1
- package/dist/components/p-31ca07fd.entry.js +0 -1
- package/dist/components/p-342bc3d8.entry.js +0 -1
- package/dist/components/p-35068b80.entry.js +0 -1
- package/dist/components/p-3950debe.entry.js +0 -1
- package/dist/components/p-3d74d4b1.entry.js +0 -1
- package/dist/components/p-42f19373.entry.js +0 -1
- package/dist/components/p-4ecaedbc.entry.js +0 -1
- package/dist/components/p-5055eb25.entry.js +0 -1
- package/dist/components/p-5646902d.entry.js +0 -1
- package/dist/components/p-5ff68e7d.entry.js +0 -1
- package/dist/components/p-63cc5d3d.entry.js +0 -1
- package/dist/components/p-6506cf52.entry.js +0 -1
- package/dist/components/p-6aa17003.entry.js +0 -1
- package/dist/components/p-6e273e0f.entry.js +0 -1
- package/dist/components/p-6fcb754e.entry.js +0 -1
- package/dist/components/p-70c9af1e.entry.js +0 -1
- package/dist/components/p-7180a36b.entry.js +0 -1
- package/dist/components/p-7351cad3.entry.js +0 -1
- package/dist/components/p-75cc9f9e.entry.js +0 -1
- package/dist/components/p-7a31c31f.entry.js +0 -1
- package/dist/components/p-7cb60f9c.entry.js +0 -1
- package/dist/components/p-8a4d9b9b.entry.js +0 -1
- package/dist/components/p-8b7f5204.entry.js +0 -1
- package/dist/components/p-8db820ef.entry.js +0 -1
- package/dist/components/p-ae4f5e3a.entry.js +0 -1
- package/dist/components/p-b024183c.entry.js +0 -1
- package/dist/components/p-b115c3f1.entry.js +0 -1
- package/dist/components/p-b3a3ae59.entry.js +0 -1
- package/dist/components/p-b4595a9e.entry.js +0 -1
- package/dist/components/p-b817dceb.entry.js +0 -1
- package/dist/components/p-b8ca2127.entry.js +0 -1
- package/dist/components/p-ba6cc102.entry.js +0 -1
- package/dist/components/p-c51b5f04.entry.js +0 -1
- package/dist/components/p-c5a7d2b1.entry.js +0 -1
- package/dist/components/p-c5c782e7.entry.js +0 -1
- package/dist/components/p-c5f98369.entry.js +0 -1
- package/dist/components/p-c604063d.entry.js +0 -1
- package/dist/components/p-c9a19e93.entry.js +0 -1
- package/dist/components/p-cccacbd3.js +0 -2
- package/dist/components/p-d164a75d.entry.js +0 -1
- package/dist/components/p-d4c920fa.entry.js +0 -1
- package/dist/components/p-d82cc261.entry.js +0 -1
- package/dist/components/p-da6e49a9.entry.js +0 -1
- package/dist/components/p-dcd4de1f.entry.js +0 -1
- package/dist/components/p-e8a2d709.entry.js +0 -1
- package/dist/components/p-ea942740.entry.js +0 -1
- package/dist/components/p-eb0b93d5.js +0 -1
- package/dist/components/p-ece20356.entry.js +0 -1
- package/dist/components/p-ed6fd4b8.entry.js +0 -1
- package/dist/components/p-f3822d6b.entry.js +0 -1
- package/dist/components/p-f539febe.entry.js +0 -1
- package/dist/components/p-f7f4b247.entry.js +0 -1
- package/dist/components/p-fdbfa776.entry.js +0 -1
- package/dist/components/p-fe27f4a9.entry.js +0 -1
- package/dist/components/toastManager.js +0 -31
- package/dist/esm/color-2554aad6.js +0 -132
- package/dist/esm/eds-avatar_27.entry.js +0 -2374
- package/dist/esm/eds-card-desc_2.entry.js +0 -73
- package/dist/esm/eds-card-generic.entry.js +0 -88
- package/dist/esm/eds-card-wrapper.entry.js +0 -28
- package/dist/esm/eds-login_2.entry.js +0 -2095
- package/dist/esm/eds-tabs.entry.js +0 -126
- package/dist/esm/eds-tooltip.entry.js +0 -105
- package/dist/esm/toastManager-d9eee791.js +0 -31
- package/dist/types/components/eds-cards/eds-card-composer/eds-card-wrapper/eds-card-wrapper.d.ts +0 -23
- package/dist/types/shared-ui/eds-login/eds-login.d.ts +0 -67
- /package/dist/collection/components/eds-section/eds-section-core/{eds-section-core.stories.js → eds-section-core.donotstories.js} +0 -0
- /package/dist/collection/components/eds-timeline/{eds-timeline.stories.js → eds-timeline.donot-stories.js} +0 -0
- /package/dist/types/components/eds-section/eds-section-core/{eds-section-core.stories.d.ts → eds-section-core.donotstories.d.ts} +0 -0
- /package/dist/types/components/eds-timeline/{eds-timeline.stories.d.ts → eds-timeline.donot-stories.d.ts} +0 -0
- /package/dist/types/{components → shared-ui}/eds-steps/eds-steps.d.ts +0 -0
- /package/dist/types/{components → shared-ui}/eds-steps/eds-steps.stories.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
|
|
3
|
-
const edsCardDescCss = ".f-ui-
|
|
3
|
+
const edsCardDescCss = ".f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-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}";
|
|
4
4
|
const EdsCardDescStyle0 = edsCardDescCss;
|
|
5
5
|
|
|
6
6
|
const EdsCardDesc = /*@__PURE__*/ proxyCustomElement(class EdsCardDesc extends HTMLElement {
|
|
@@ -9,7 +9,6 @@ const EdsCardDesc = /*@__PURE__*/ proxyCustomElement(class EdsCardDesc extends H
|
|
|
9
9
|
this.__registerHost();
|
|
10
10
|
this.__attachShadow();
|
|
11
11
|
this.description = undefined;
|
|
12
|
-
this.descClass = 'f-ui-03-light';
|
|
13
12
|
this.truncate = true;
|
|
14
13
|
this.truncateLines = '3';
|
|
15
14
|
}
|
|
@@ -17,12 +16,11 @@ const EdsCardDesc = /*@__PURE__*/ proxyCustomElement(class EdsCardDesc extends H
|
|
|
17
16
|
return this.truncate && this.truncateLines ? `line-clamp-${this.truncateLines}` : '';
|
|
18
17
|
}
|
|
19
18
|
render() {
|
|
20
|
-
return (h("p", { key: '
|
|
19
|
+
return (h("p", { key: 'f2eec4a947de74a1e36bb13fdd2bfeb7a9f711b3', class: "text-light f-ui-03-light" }, h("span", { key: '444ffa34c3e8cac12af2f396144fd182d49c6baa', class: this.getTruncateClass() }, this.description)));
|
|
21
20
|
}
|
|
22
21
|
static get style() { return EdsCardDescStyle0; }
|
|
23
22
|
}, [1, "eds-card-desc", {
|
|
24
23
|
"description": [1],
|
|
25
|
-
"descClass": [1, "desc-class"],
|
|
26
24
|
"truncate": [4],
|
|
27
25
|
"truncateLines": [1, "truncate-lines"]
|
|
28
26
|
}]);
|
|
@@ -7,7 +7,7 @@ import { d as defineCustomElement$3 } from './eds-card-title2.js';
|
|
|
7
7
|
import { d as defineCustomElement$2 } from './eds-img2.js';
|
|
8
8
|
import { d as defineCustomElement$1 } from './eds-tag2.js';
|
|
9
9
|
|
|
10
|
-
const edsCardGenericCss = ".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-x-1{-moz-column-gap:0.0625rem;column-gap:0.0625rem}.gap-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}";
|
|
10
|
+
const edsCardGenericCss = ".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-x-1{-moz-column-gap:0.0625rem;column-gap:0.0625rem}.gap-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}.mx-auto{margin-left:auto;margin-right:auto}.block{display:block}";
|
|
11
11
|
const EdsCardGenericStyle0 = edsCardGenericCss;
|
|
12
12
|
|
|
13
13
|
const EdsCardGeneric = /*@__PURE__*/ proxyCustomElement(class EdsCardGeneric extends HTMLElement {
|
|
@@ -86,7 +86,7 @@ const EdsCardGeneric = /*@__PURE__*/ proxyCustomElement(class EdsCardGeneric ext
|
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
88
|
render() {
|
|
89
|
-
return (h("article", { key: '440a448c841370838c0c66610bd1266b46f66541', class: this.articleClasses(), onClick: () => this.handleClick() }, h("eds-card-title", { key: '292d93a9a993c6dcbfd276097a21d3984b1794c4', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, hierarchy: this.hierarchy }), this.description && (h("eds-card-desc", { key: '4b304cc3c65a42b3b1bcbebd9968c45e79cdabf7', class: "mt-8", "truncate-lines": "3", description: this.description })), this.parsedImage ? (h("eds-img", Object.assign({ class: "mt-8" }, this.parsedImage))) : this.avatar || this.shortAbbreviation ? (h("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, h("div", { key: '
|
|
89
|
+
return (h("article", { key: '440a448c841370838c0c66610bd1266b46f66541', class: this.articleClasses(), onClick: () => this.handleClick() }, h("eds-card-title", { key: '292d93a9a993c6dcbfd276097a21d3984b1794c4', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, hierarchy: this.hierarchy }), this.description && (h("eds-card-desc", { key: '4b304cc3c65a42b3b1bcbebd9968c45e79cdabf7', class: "mt-8", "truncate-lines": "3", description: this.description })), this.parsedImage ? (h("eds-img", Object.assign({ class: "mt-8 block mx-auto" }, this.parsedImage))) : this.avatar || this.shortAbbreviation ? (h("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, h("div", { key: '40388913b1abb9308f42469956342efdbb48d508', class: "flex flex-wrap gap-y-4 gap-x-1" }, this.parsedTags.map((tag, index) => (h("eds-tag", { key: index, intent: tag.style, label: tag.label })))), ' '));
|
|
90
90
|
}
|
|
91
91
|
get el() { return this; }
|
|
92
92
|
static get style() { return EdsCardGenericStyle0; }
|
|
@@ -1,10 +1,139 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { s as sendAnalytics } from './analytics.js';
|
|
3
|
-
import {
|
|
3
|
+
import { c as cva } from './index2.js';
|
|
4
4
|
import { d as defineCustomElement$4 } from './eds-card-title2.js';
|
|
5
5
|
import { d as defineCustomElement$3 } from './eds-img2.js';
|
|
6
6
|
import { d as defineCustomElement$2 } from './eds-tag2.js';
|
|
7
7
|
|
|
8
|
+
const GRADIANT_TOKENS = ['green', 'yellow', 'among-blue', 'purple'];
|
|
9
|
+
const gradientBGColorVariants = cva([], {
|
|
10
|
+
variants: {
|
|
11
|
+
color: GRADIANT_TOKENS.reduce((acc, token) => (Object.assign(Object.assign({}, acc), { [token]: '' })), {}),
|
|
12
|
+
direction: {
|
|
13
|
+
top: '',
|
|
14
|
+
bottom: ''
|
|
15
|
+
},
|
|
16
|
+
pseudo: {
|
|
17
|
+
true: 'before:effect-opacity effect-bg-behind',
|
|
18
|
+
false: ''
|
|
19
|
+
},
|
|
20
|
+
hover: {
|
|
21
|
+
true: 'before:opacity-0 hover:before:opacity-100',
|
|
22
|
+
false: ''
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
compoundVariants: [
|
|
26
|
+
// region GREEN
|
|
27
|
+
{
|
|
28
|
+
color: 'green',
|
|
29
|
+
direction: 'top',
|
|
30
|
+
pseudo: true,
|
|
31
|
+
class: 'before:bg-gradient-01-top'
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
color: 'green',
|
|
35
|
+
pseudo: true,
|
|
36
|
+
direction: 'bottom',
|
|
37
|
+
class: 'before:bg-gradient-01-bottom'
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
color: 'green',
|
|
41
|
+
direction: 'top',
|
|
42
|
+
pseudo: false,
|
|
43
|
+
class: 'bg-gradient-01-top'
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
color: 'green',
|
|
47
|
+
pseudo: false,
|
|
48
|
+
direction: 'bottom',
|
|
49
|
+
class: 'bg-gradient-01-bottom'
|
|
50
|
+
},
|
|
51
|
+
// endregion
|
|
52
|
+
// region YELLOW
|
|
53
|
+
{
|
|
54
|
+
color: 'yellow',
|
|
55
|
+
direction: 'top',
|
|
56
|
+
pseudo: true,
|
|
57
|
+
class: 'before:bg-gradient-02-top'
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
color: 'yellow',
|
|
61
|
+
direction: 'bottom',
|
|
62
|
+
pseudo: true,
|
|
63
|
+
class: 'before:bg-gradient-02-bottom'
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
color: 'yellow',
|
|
67
|
+
direction: 'top',
|
|
68
|
+
pseudo: false,
|
|
69
|
+
class: 'bg-gradient-02-top'
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
color: 'yellow',
|
|
73
|
+
direction: 'bottom',
|
|
74
|
+
pseudo: false,
|
|
75
|
+
class: 'bg-gradient-02-bottom'
|
|
76
|
+
},
|
|
77
|
+
// endregion
|
|
78
|
+
// region PURPLE
|
|
79
|
+
{
|
|
80
|
+
color: 'purple',
|
|
81
|
+
direction: 'top',
|
|
82
|
+
pseudo: true,
|
|
83
|
+
class: 'before:bg-gradient-03-top'
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
color: 'purple',
|
|
87
|
+
direction: 'bottom',
|
|
88
|
+
pseudo: true,
|
|
89
|
+
class: 'before:bg-gradient-03-bottom'
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
color: 'purple',
|
|
93
|
+
direction: 'top',
|
|
94
|
+
pseudo: false,
|
|
95
|
+
class: 'bg-gradient-03-top'
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
color: 'purple',
|
|
99
|
+
direction: 'bottom',
|
|
100
|
+
pseudo: false,
|
|
101
|
+
class: 'bg-gradient-03-bottom'
|
|
102
|
+
},
|
|
103
|
+
// endregion
|
|
104
|
+
// region AMONG-BLUE
|
|
105
|
+
{
|
|
106
|
+
color: 'among-blue',
|
|
107
|
+
direction: 'top',
|
|
108
|
+
pseudo: true,
|
|
109
|
+
class: 'before:bg-gradient-04-top'
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
color: 'among-blue',
|
|
113
|
+
direction: 'bottom',
|
|
114
|
+
pseudo: true,
|
|
115
|
+
class: 'before:bg-gradient-04-bottom'
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
color: 'among-blue',
|
|
119
|
+
direction: 'top',
|
|
120
|
+
pseudo: false,
|
|
121
|
+
class: 'bg-gradient-04-top'
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
color: 'among-blue',
|
|
125
|
+
direction: 'bottom',
|
|
126
|
+
pseudo: false,
|
|
127
|
+
class: 'bg-gradient-04-bottom'
|
|
128
|
+
}
|
|
129
|
+
// endregion
|
|
130
|
+
],
|
|
131
|
+
defaultVariants: {
|
|
132
|
+
direction: 'top',
|
|
133
|
+
pseudo: true
|
|
134
|
+
}
|
|
135
|
+
});
|
|
136
|
+
|
|
8
137
|
const EdsCardProject$1 = /*@__PURE__*/ proxyCustomElement(class EdsCardProject extends HTMLElement {
|
|
9
138
|
constructor() {
|
|
10
139
|
super();
|
|
@@ -59,7 +188,7 @@ const EdsCardProject$1 = /*@__PURE__*/ proxyCustomElement(class EdsCardProject e
|
|
|
59
188
|
this.vertical ? 'flex-col gap-y-16' : 'flex-col gap-x-16 gap-y-12 lg:flex-row'
|
|
60
189
|
].join(' ');
|
|
61
190
|
const imageClasses = this.vertical ? '' : 'max-w-120 @md:max-w-192 order-first w-full lg:order-last';
|
|
62
|
-
return (h("article", { key: '
|
|
191
|
+
return (h("article", { key: '7a69b9f5fc30ce389267a064e82aa2cf78b676d1', class: cardClasses, onClick: (event) => this.handleClick(event) }, h("div", { key: '8495c7b6655418741b1d208f06f003d4ec2eaf79', class: `flex grow flex-col ${this.vertical ? 'min-h-156' : ''}` }, h("div", { key: '803b274d099072e055c484e818732a48ff27ebab', class: "lg:max-w-[720px]" }, h("eds-card-title", { key: '18b1d058c9d92e3df264c5f60cec0adc8f14f19e', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.titleProject, url: this.url }), this.editorialTitle && (h("span", { key: '1854001686cae69c50a97ed50534ae4329d3017a', class: `block ${this.vertical ? 'f-ui-02' : 'mt-4 f-heading-06'}` }, this.editorialTitle))), this.categoryTitle && (h("div", { key: 'a5e741ce22ace338988a1a0d6f0d5c2740eb685b', class: "mt-auto flex items-center gap-x-12 pt-12" }, ((_a = this.categoryTitle) === null || _a === void 0 ? void 0 : _a.length) && h("eds-tag", { key: 'c1136aef565b3a35bee7d7c254434b6c06f3cf65', label: this.categoryTitle })))), this.parsedImage && (h("div", { key: '531cb24eafadd52397a138735436e0501b45cf76', class: imageClasses }, h("div", { key: 'c692a10bfa0032d4e43fe35090e38dde3e0401f3', class: "aspect-1x1 w-full" }, h("eds-img", Object.assign({ key: '490983736b4cd9de3b2cfbafe11be15802746afe', sizes: this.vertical ? this.parsedImage.sizes || '' : '192px' }, this.parsedImage)))))));
|
|
63
192
|
}
|
|
64
193
|
get el() { return this; }
|
|
65
194
|
}, [0, "eds-card-project", {
|
|
@@ -73,7 +73,7 @@ const EdsCardTool$1 = /*@__PURE__*/ proxyCustomElement(class EdsCardTool extends
|
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
75
|
render() {
|
|
76
|
-
return (h("article", { key: '
|
|
76
|
+
return (h("article", { key: 'b3f0c0f3588304fb36f1c395b69b723edbfa8c95', class: `${this.el.tagName.toLowerCase()} ${this.articleClasses()}`, onClick: () => this.handleClick() }, h("eds-card-title", { key: '12f9d1363b3d171912eb00117d99056065fbcb33', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, "external-link": this.external, hierarchy: this.hierarchy }), this.description && (h("eds-card-desc", { key: '780c4b035e0fff1911ee4b8b04a0729cd182d877', class: "mt-8", "truncate-lines": "3", description: this.description })), this.image ? (h("eds-img", { src: this.image, alt: "Sample Image", width: 200, height: 150 })) : this.avatar || this.shortAbbreviation ? (h("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, h("div", { key: 'a6878ba6bb2086a334282b10750234f4251c6334', class: "flex flex-wrap gap-y-4" }, this.parsedTags.map((tag, index) => (h("eds-tag", { key: index, intent: tag.style, label: tag.label }))))));
|
|
77
77
|
}
|
|
78
78
|
get el() { return this; }
|
|
79
79
|
static get style() { return EdsCardToolStyle0; }
|
|
@@ -33,7 +33,7 @@ const EdsCookiesPreference$1 = /*@__PURE__*/ proxyCustomElement(class EdsCookies
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h("div", { key: '
|
|
36
|
+
return (h("div", { key: '37a817a2c1cccb58a7445c399f20ce5fb97653b8' }, h("eds-link", { key: '9bf85d4fe82d7a525bae6f765da7dea9a3913494', size: "small", intent: this.intent, label: this.buttonText, onClick: () => this.toggleCookiesPopup() }), this.showMatomoNotice && h("eds-matomo-notice", { "force-show": true, key: this.noticeKey })));
|
|
37
37
|
}
|
|
38
38
|
static get style() { return EdsCookiesPreferenceStyle0; }
|
|
39
39
|
}, [0, "eds-cookies-preference", {
|
|
@@ -13,6 +13,7 @@ const EdsFeedback$1 = /*@__PURE__*/ proxyCustomElement(class EdsFeedback extends
|
|
|
13
13
|
this.__registerHost();
|
|
14
14
|
this.__attachShadow();
|
|
15
15
|
this.rating = createEvent(this, "rating", 7);
|
|
16
|
+
this.headingLevel = 'h1';
|
|
16
17
|
this.type = 'star';
|
|
17
18
|
this.count = 5;
|
|
18
19
|
this.label = 'Rate your Experience!';
|
|
@@ -58,11 +59,16 @@ const EdsFeedback$1 = /*@__PURE__*/ proxyCustomElement(class EdsFeedback extends
|
|
|
58
59
|
this.selectedRating = e.detail;
|
|
59
60
|
}
|
|
60
61
|
render() {
|
|
61
|
-
|
|
62
|
+
// Determine the heading tag and CSS class
|
|
63
|
+
const HeadingTag = this.headingLevel;
|
|
64
|
+
const levelNum = this.headingLevel.replace('h', '');
|
|
65
|
+
const headingClass = `f-heading-${levelNum.padStart(2, '0')} my-4`;
|
|
66
|
+
return (h("div", { key: 'f1bec91df97ff2a54a8ec8284e88f572b3bf0081', class: "grid inline" }, h(HeadingTag, { key: '8051043d5ec79a1f972fd732ef8a716487ed51d2', class: headingClass }, this.label), h("p", { key: '55f319e89376372f13c2bb96b9a94ceed6a6565b', class: "f-body-01 text-light" }, this.description), h("eds-rating", { key: 'c9c725d4a1ae65eb6b773178f6435d239c434034', "rating-type": this.type, "rating-count": this.count }), this.selectedRating > 0 && this.parsedMappings[this.selectedRating - 1] && (h("span", { key: 'e3ea621a035ecd6da07803478d202b2326997416', class: "f-ui-04 text-lighter" }, this.parsedMappings[this.selectedRating - 1]))));
|
|
62
67
|
}
|
|
63
68
|
get el() { return this; }
|
|
64
69
|
static get style() { return EdsFeedbackStyle0; }
|
|
65
70
|
}, [1, "eds-feedback", {
|
|
71
|
+
"headingLevel": [1, "heading-level"],
|
|
66
72
|
"type": [1],
|
|
67
73
|
"count": [2],
|
|
68
74
|
"label": [1],
|
|
@@ -5,7 +5,7 @@ import { d as defineCustomElement$3 } from './eds-img2.js';
|
|
|
5
5
|
import { d as defineCustomElement$2 } from './eds-link2.js';
|
|
6
6
|
import { d as defineCustomElement$1 } from './eds-social-networks2.js';
|
|
7
7
|
|
|
8
|
-
const edsFooterCss = "p{margin:0}.cursor-pointer{cursor:pointer}.ml-4{margin-left:0.25rem}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.bg-darker{background-color:var(--grey-400)}.border-softest{border-color:rgba(0, 0, 0, .05)}.border-t-2{border-top-width:2px}.pt-20{padding-top:1.25rem}.pb-28{padding-bottom:1.75rem}.grid-layout{display:grid;grid-template-columns:repeat(var(--container-grid-columns, var(--grid-columns)), 1fr);grid-gap:var(--inner-gutter)}.grid-col-span-12{--container-grid-columns:12;grid-column:span 12 / span 12}.mt-28{margin-top:1.75rem}.gap-y-12{row-gap:0.75rem}.gap-x-12{-moz-column-gap:0.75rem;column-gap:0.75rem}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-20{gap:1.25rem}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.focus-visible\\:rounded-xs:focus-visible{border-radius:4px}.flex{display:flex}.w-\\[54px\\]{width:54px}.ml-0{margin-left:0rem}.order-last{order:9999}.w-full{width:100%}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.text-light{color:var(--grey-700)}.mt-4{margin-top:0.25rem}.gap-12{gap:0.75rem}.inline-block{display:inline-block}.\\!no-underline{text-decoration-line:none !important}.decoration-2{text-decoration-thickness:2px}.underline-offset-4{text-underline-offset:4px}.hover\\:\\!underline:hover{text-decoration-line:underline !important}.ml-auto{margin-left:auto}.pl-12{padding-left:0.75rem}@media (min-width: 750px){.md\\:pt-28{padding-top:1.75rem}}@media (min-width: 900px){.lg\\:grid-col-span-5{--container-grid-columns:5;grid-column:span 5 / span 5}.lg\\:grid-col-span-6{--container-grid-columns:6;grid-column:span 6 / span 6}.lg\\:grid-col-start-7{grid-column-start:7}.lg\\:mt-0{margin-top:0rem}.lg\\:flex-nowrap{flex-wrap:nowrap}.lg\\:order-none{order:0}.lg\\:w-auto{width:auto}}@media (min-width: 1024px){.xl\\:pb-40{padding-bottom:2.5rem}}";
|
|
8
|
+
const edsFooterCss = "p{margin:0}.cursor-pointer{cursor:pointer}.ml-4{margin-left:0.25rem}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.bg-darker{background-color:var(--grey-400)}.border-softest{border-color:rgba(0, 0, 0, .05)}.border-t-2{border-top-width:2px}.pt-20{padding-top:1.25rem}.pb-28{padding-bottom:1.75rem}.grid-layout{display:grid;grid-template-columns:repeat(var(--container-grid-columns, var(--grid-columns)), 1fr);grid-gap:var(--inner-gutter)}.grid-col-span-12{--container-grid-columns:12;grid-column:span 12 / span 12}.mt-28{margin-top:1.75rem}.gap-y-12{row-gap:0.75rem}.gap-x-12{-moz-column-gap:0.75rem;column-gap:0.75rem}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-20{gap:1.25rem}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.focus-visible\\:rounded-xs:focus-visible{border-radius:4px}.flex{display:flex}.w-\\[54px\\]{width:54px}.ml-0{margin-left:0rem}.order-last{order:9999}.w-full{width:100%}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.text-light{color:var(--grey-700)}.mt-4{margin-top:0.25rem}.mr-4{margin-right:0.25rem}.gap-12{gap:0.75rem}.inline-block{display:inline-block}.\\!no-underline{text-decoration-line:none !important}.decoration-2{text-decoration-thickness:2px}.underline-offset-4{text-underline-offset:4px}.hover\\:\\!underline:hover{text-decoration-line:underline !important}.ml-auto{margin-left:auto}.pl-12{padding-left:0.75rem}@media (min-width: 750px){.md\\:pt-28{padding-top:1.75rem}}@media (min-width: 900px){.lg\\:grid-col-span-5{--container-grid-columns:5;grid-column:span 5 / span 5}.lg\\:grid-col-span-6{--container-grid-columns:6;grid-column:span 6 / span 6}.lg\\:grid-col-start-7{grid-column-start:7}.lg\\:mt-0{margin-top:0rem}.lg\\:flex-nowrap{flex-wrap:nowrap}.lg\\:order-none{order:0}.lg\\:w-auto{width:auto}}@media (min-width: 1024px){.xl\\:pb-40{padding-bottom:2.5rem}}";
|
|
9
9
|
const EdsFooterStyle0 = edsFooterCss;
|
|
10
10
|
|
|
11
11
|
const EdsFooter = /*@__PURE__*/ proxyCustomElement(class EdsFooter extends HTMLElement {
|
|
@@ -26,7 +26,9 @@ const EdsFooter = /*@__PURE__*/ proxyCustomElement(class EdsFooter extends HTMLE
|
|
|
26
26
|
this.enableScrollTop = false;
|
|
27
27
|
this.fundedBy = 'EBRAINS is funded by the Horizon Europe Framework Programme.';
|
|
28
28
|
this.rightsReserved = `${new Date().getFullYear()} EBRAINS. All rights reserved.`;
|
|
29
|
+
this.cookiesPreferences = 'Cookies preferences';
|
|
29
30
|
this.enableCookiesSettings = false;
|
|
31
|
+
this.backToTopAriaLabel = 'Back to Top';
|
|
30
32
|
this.showMatomoNotice = false;
|
|
31
33
|
}
|
|
32
34
|
toggleCookiesConsent() {
|
|
@@ -40,9 +42,9 @@ const EdsFooter = /*@__PURE__*/ proxyCustomElement(class EdsFooter extends HTMLE
|
|
|
40
42
|
* @returns {JSX.Element} The rendered JSX for the footer component.
|
|
41
43
|
*/
|
|
42
44
|
render() {
|
|
43
|
-
return (h("footer", { key: '
|
|
45
|
+
return (h("footer", { key: '7bbc8cd8e0e3a153dc30bb3569e83afc0bc09b0a' }, this.social ? (h("div", { class: "border-softest border-t-2 pt-20 md:pt-28" }, h("div", { class: "container pb-20" }, h("div", { class: "grid-layout" }, h("div", { class: "grid-col-span-12 lg:grid-col-span-5" }, h("eds-social-networks", { class: "mt-28" })))))) : null, h("div", { key: '9ee8ada698546344b18e557ee1de76042cd727ed', class: `border-softest ${this.social ? 'border-t-2' : ''} pb-28 pt-20 md:pt-28` }, h("div", { key: 'e795e5bba0273b4147c66ed667142997bc0cbaff', class: "container flex items-center gap-20 lg:flex-nowrap" }, h("div", { key: 'fa09a0dbccb035b1e4f496aa447aca241bcc2415', class: "flex items-center gap-x-12" }, h("a", { key: '273bbee5c7353fa4ab0ac30f30a190bae250546c', target: "_blank", rel: "noopener noreferrer", class: "effect-focus focus-visible:rounded-xs flex w-[54px] ml-0", href: "https://research-and-innovation.ec.europa.eu/funding/funding-opportunities/funding-programmes-and-open-calls/horizon-2020_en", "aria-label": "Learn about Horizon 2020 funding" }, h("eds-img", { key: '4568610de97ad886e26195bde656609e2584b792', width: 54, height: 41, src: "https://www.ebrains.eu/flags/4x3/eu.svg", alt: "European Union Flag" }))), h("div", { key: '65dc6a5b0da9d69b0b43ed738c9612293ef64e96' }, h("div", { key: 'a89180b8f308502dfd864d5aab0702f262718cc8', class: "f-ui-04 text-light" }, h("p", { key: '54a69763c38a7986008f9b553fb6b75e5a36d255' }, this.fundedBy), h("div", { key: '9378c48e766a2df4d14805c8777d5d98a2d016ce', class: "mt-4 flex flex-wrap gap-12 lg:flex-nowrap inline-block" }, h("span", { key: 'ef939799150dd7ea91f72de94b1e564039c1e900', class: "effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline mr-4" }, "\u00A9 ", this.rightsReserved), this.enableCookiesSettings ? (h("eds-link", { label: this.cookiesPreferences, intent: "underline", "extra-class": "f-ui-04", onClick: () => {
|
|
44
46
|
this.toggleCookiesConsent();
|
|
45
|
-
} })) : null))), h("div", { key: '
|
|
47
|
+
} })) : null))), h("div", { key: '3b5388855844f5857e4d6a2b8d19d204b681ca40', class: "ml-auto pl-12" }, this.enableScrollTop ? (h("eds-button", { id: "backToTop", "aria-hidden": "true", "aria-label": this.backToTopAriaLabel, intent: "ghostInverse", icon: "chevron-up", onClick: this.backToTop, class: "transition-all transition duration-75 opacity-0 " })) : null)))));
|
|
46
48
|
}
|
|
47
49
|
static get style() { return EdsFooterStyle0; }
|
|
48
50
|
}, [1, "eds-footer", {
|
|
@@ -50,7 +52,9 @@ const EdsFooter = /*@__PURE__*/ proxyCustomElement(class EdsFooter extends HTMLE
|
|
|
50
52
|
"enableScrollTop": [4, "enable-scroll-top"],
|
|
51
53
|
"fundedBy": [1, "funded-by"],
|
|
52
54
|
"rightsReserved": [1, "rights-reserved"],
|
|
55
|
+
"cookiesPreferences": [1, "cookies-preferences"],
|
|
53
56
|
"enableCookiesSettings": [4, "enable-cookies-settings"],
|
|
57
|
+
"backToTopAriaLabel": [1, "back-to-top-aria-label"],
|
|
54
58
|
"showMatomoNotice": [32]
|
|
55
59
|
}]);
|
|
56
60
|
function defineCustomElement() {
|
|
@@ -320,13 +320,17 @@ const EdsForm$1 = /*@__PURE__*/ proxyCustomElement(class EdsForm extends HTMLEle
|
|
|
320
320
|
// Handle non-checkbox input normally.
|
|
321
321
|
this.values = Object.assign(Object.assign({}, this.values), { [field.name]: target.value });
|
|
322
322
|
}
|
|
323
|
+
// If it’s the password field, return here for no event emission
|
|
324
|
+
if (field.name === 'password') {
|
|
325
|
+
return;
|
|
326
|
+
}
|
|
323
327
|
// Emit the updated form state.
|
|
324
328
|
this.form.emit({
|
|
325
329
|
event: 'change',
|
|
326
330
|
field: field.name,
|
|
327
331
|
value: target.type === 'checkbox' ? this.values[field.name] : target.value,
|
|
328
|
-
message: `${field.name} updated
|
|
329
|
-
data: this.makeFormData()
|
|
332
|
+
message: `${field.name} updated`
|
|
333
|
+
//data: this.makeFormData()
|
|
330
334
|
});
|
|
331
335
|
}
|
|
332
336
|
handleInput(e, field) {
|
|
@@ -360,8 +364,8 @@ const EdsForm$1 = /*@__PURE__*/ proxyCustomElement(class EdsForm extends HTMLEle
|
|
|
360
364
|
event: 'submit',
|
|
361
365
|
validated: false,
|
|
362
366
|
success: false,
|
|
363
|
-
message: this.errorMessage
|
|
364
|
-
data: this.makeFormData()
|
|
367
|
+
message: this.errorMessage
|
|
368
|
+
//data: this.makeFormData()
|
|
365
369
|
}); // Emit form status submit false validation error
|
|
366
370
|
sendAnalytics({
|
|
367
371
|
category: 'ui-component',
|
|
@@ -384,8 +388,8 @@ const EdsForm$1 = /*@__PURE__*/ proxyCustomElement(class EdsForm extends HTMLEle
|
|
|
384
388
|
event: 'submit',
|
|
385
389
|
success: true,
|
|
386
390
|
validated: true,
|
|
387
|
-
message: 'Form data validated successfully'
|
|
388
|
-
data: this.getFormData()
|
|
391
|
+
message: 'Form data validated successfully'
|
|
392
|
+
//data: this.getFormData()
|
|
389
393
|
});
|
|
390
394
|
sendAnalytics({
|
|
391
395
|
category: 'ui-component',
|
|
@@ -400,16 +404,19 @@ const EdsForm$1 = /*@__PURE__*/ proxyCustomElement(class EdsForm extends HTMLEle
|
|
|
400
404
|
this.isSubmitting = false;
|
|
401
405
|
return;
|
|
402
406
|
}
|
|
407
|
+
async getData() {
|
|
408
|
+
return this.makeFormData();
|
|
409
|
+
}
|
|
403
410
|
render() {
|
|
404
411
|
const hiddenFields = this.parsedFields.filter((field) => field.type === 'hidden');
|
|
405
412
|
const otherFields = this.parsedFields.filter((field) => field.type !== 'hidden');
|
|
406
|
-
return (h("form", { key: '
|
|
413
|
+
return (h("form", { key: '76fbc3f587eaac0bd53553663f072e5066914ae5', ref: (el) => (this.formEl = el), autocomplete: "on", onSubmit: this.handleSubmit }, h("div", { key: '64d99d4ac7e1cb8e4bfe436bb236648201dcbc29' }, h("slot", { key: '9c257d29146b620367773726e65eaf680d3d010b' }), hiddenFields.map((field, index) => (h("eds-input", { key: index, type: "hidden", name: field.name, value: field.value }))), otherFields.map((field, index) => {
|
|
407
414
|
var _a, _b;
|
|
408
415
|
if (!this.isFieldVisible(field)) {
|
|
409
416
|
return null;
|
|
410
417
|
}
|
|
411
418
|
return (h("eds-input-field", { key: index, name: field.name, id: `${this.name}_${field.name}`, label: field.label, placeholder: field.placeholder, value: this.values[field.name] || null, type: field.type, icon: field.icon || null, disabled: field.disabled, required: field.required, maxLength: field.maxlength, hint: field.hint, link: field.link, message: field.message, error: ((_a = this.errors[field.name]) === null || _a === void 0 ? void 0 : _a.length) > 0, errorMessage: (_b = this.errors[field.name]) === null || _b === void 0 ? void 0 : _b.join('<br />'), onInput: (e) => this.handleInput(e, field), onChange: (e) => this.handleChange(e, field), class: index > 0 ? 'mt-20' : '', options: field.options }));
|
|
412
|
-
})), this.formBtn && (h("div", { key: '
|
|
419
|
+
})), this.formBtn && (h("div", { key: 'ba7908ab85c6368aeff6824fd402b78b514d2292', class: "mt-20" }, h("eds-button", { key: '84efe452f55b2898e5747a01b0dc6033ba14da7a', intent: "primary", label: this.formBtnLabel, disabled: this.isSubmitting, loading: this.isSubmitting, onClick: () => this.handleSubmit() })))));
|
|
413
420
|
}
|
|
414
421
|
get el() { return this; }
|
|
415
422
|
static get watchers() { return {
|
|
@@ -428,7 +435,8 @@ const EdsForm$1 = /*@__PURE__*/ proxyCustomElement(class EdsForm extends HTMLEle
|
|
|
428
435
|
"isSubmitting": [32],
|
|
429
436
|
"hasError": [32],
|
|
430
437
|
"errors": [32],
|
|
431
|
-
"parsedFields": [32]
|
|
438
|
+
"parsedFields": [32],
|
|
439
|
+
"getData": [64]
|
|
432
440
|
}, undefined, {
|
|
433
441
|
"fields": ["parseFields"]
|
|
434
442
|
}]);
|
|
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/clien
|
|
|
2
2
|
import { d as defineCustomElement$3 } from './eds-icon-wrapper2.js';
|
|
3
3
|
import { d as defineCustomElement$2 } from './eds-link2.js';
|
|
4
4
|
|
|
5
|
-
const edsFrameCss = ".bg-inverse{background-color:var(--white)}.min-h-156{min-height:156px}.rounded{border-radius:0.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:16px}.rounded-md{border-radius:12px}.border-soft{border-color:rgba(0, 0, 0, .15
|
|
5
|
+
const edsFrameCss = ".bg-inverse{background-color:var(--white)}.min-h-156{min-height:156px}.rounded{border-radius:0.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:16px}.rounded-md{border-radius:12px}.border-soft{border-color:rgba(0, 0, 0, .15)}.border-softer{border-color:rgba(0, 0, 0, .1)}.border-softest{border-color:rgba(0, 0, 0, .05)}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.relative{position:relative}.flex{display:flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.border-2{border-width:2px}.w-full{width:100%}.h-full{height:100%}.h-auto{height:auto}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.items-center{align-items:center}.justify-between{justify-content:space-between}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.px-12{padding-left:0.75rem;padding-right:0.75rem}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.ml-auto{margin-left:auto}.border-t-2{border-top-width:2px}.border{border:1px solid rgba(0, 0, 0, .1)}.border-2{border:1px solid rgba(0, 0, 0, .1)}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.ml-8{margin-left:0.5rem}.mr-8{margin-right:0.5rem}.mt-16{margin-top:1rem}";
|
|
6
6
|
const EdsFrameStyle0 = edsFrameCss;
|
|
7
7
|
|
|
8
8
|
const EdsFrame$1 = /*@__PURE__*/ proxyCustomElement(class EdsFrame extends HTMLElement {
|
|
@@ -76,7 +76,7 @@ const EdsFrame$1 = /*@__PURE__*/ proxyCustomElement(class EdsFrame extends HTMLE
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
render() {
|
|
79
|
-
return (h("div", { key: '
|
|
79
|
+
return (h("div", { key: '61c401d6e021418e3d705cc9a4418b4f54f6bcf1', class: this.articleClasses() }, h("div", { key: '3fe7284c2ce4057d6c953c02e03489c0ef75f43d', class: "effect-height flex items-center justify-between py-8 px-12" }, h("span", { key: 'a0efaa70d4ab2484c76d38e309c0bf9800edf569', class: "f-ui-02" }, this.frameLabel), !this.iframeError && this.url && this.urlLabel ? (h("eds-link", { label: this.urlLabel, url: this.url, intent: this.intent, class: "ml-auto", external: true, disabled: false, icon: "arrow-diagonal" })) : null), h("div", { key: 'e99188447abb78659865758afe3226a7ade7f8f2', class: "border-softer" }, this.iframeError ? (h("div", { class: "container ml-8 mr-8 mt-16" }, this.errorMessage)) : (h("iframe", { src: this.frameSrc, width: "100%", height: this.getFrameHeight(), title: this.frameLabel, frameBorder: "0", allowFullScreen: true })))));
|
|
80
80
|
}
|
|
81
81
|
get el() { return this; }
|
|
82
82
|
static get style() { return EdsFrameStyle0; }
|
|
@@ -73,7 +73,7 @@ const EdsFullscreenMenu$1 = /*@__PURE__*/ proxyCustomElement(class EdsFullscreen
|
|
|
73
73
|
return parseData(this.menuLinks);
|
|
74
74
|
}
|
|
75
75
|
render() {
|
|
76
|
-
return this.isMenuOpen ? (h("div", { class: "eds-full-screen bg-default fixed inset-0 z-[999999] overflow-y-scroll" }, h("div", { class: "flex min-h-full flex-col" }, h("div", { class: `w-full sticky top-0 ${this.inverseHeader ? 'bg-strongest' : 'bg-default'}` }, h("div", { class: "mx-auto flex items-center justify-between" }, h("div", { class: "mr-auto w-[200px] h-[85px]" }, h("eds-logo", { type: this.inverseHeader ? 'color-white' : 'color', href: this.homeUrl })), h("div", { class: "px-16" }, h("eds-button", { "aria-label": "Close menu", intent: "ghostInverse", icon: "close", onClick: () => this.closeMenu() })))), h("div", { class: "py-16 px-16" }, h("nav", { class: "mt-28 flex flex-col gap-y-8" }, this.parsedLinks.map((link, index) => (h("eds-link", { label: link.label, key: index, url: link.url, intent: "tertiary", size: "large", class: "effect-color effect-focus rounded-xs f-heading-02 hover:text-lighter w-fit", onClick: () => this.closeMenu(), icon: "arrow-right" })))), h("eds-block-break", null), h("nav", { class: "mt-28 flex flex-col gap-y-8" }, this.parsedMenuLinks.map((link, index) => (h("eds-link", { label: link.label, key: index, url: link.url, intent: "tertiary", size: "large", class: "effect-color effect-focus rounded-xs f-heading-02 hover:text-lighter w-fit", onClick: () => this.closeMenu(), icon: "chevron-right" }))))), h("div", { class: "mt-auto" }, h("eds-footer", { social: true, "extra-class": "bg-darker" }))))) : null;
|
|
76
|
+
return this.isMenuOpen ? (h("div", { class: "eds-full-screen bg-default fixed inset-0 z-[999999] overflow-y-scroll" }, h("div", { class: "flex min-h-full flex-col" }, h("div", { class: `w-full sticky top-0 ${this.inverseHeader ? 'bg-strongest' : 'bg-default'}` }, h("div", { class: "mx-auto flex items-center justify-between" }, h("div", { class: "mr-auto w-[200px] h-[85px]" }, h("eds-logo", { type: this.inverseHeader ? 'color-white' : 'color', href: this.homeUrl })), h("div", { class: "px-16" }, h("eds-button", { "aria-label": "Close menu", intent: "ghostInverse", icon: "close", onClick: () => this.closeMenu() })))), h("div", { class: "py-16 px-16" }, h("nav", { class: "mt-28 flex flex-col gap-y-8" }, this.parsedLinks.map((link, index) => (h("eds-link", { label: link.label, key: index, url: link.url, intent: "tertiary", size: "large", class: "effect-color effect-focus rounded-xs f-heading-02 hover:text-lighter w-fit", onClick: () => this.closeMenu(), icon: "arrow-right" })))), h("eds-block-break", null), h("nav", { class: "mt-28 flex flex-col gap-y-8" }, this.parsedMenuLinks.map((link, index) => (h("eds-link", { label: link.label, key: index, url: link.url, intent: "tertiary", size: "large", class: "effect-color effect-focus rounded-xs f-heading-02 hover:text-lighter w-fit", onClick: () => this.closeMenu(), icon: "chevron-right" })))), h("nav", { class: "mt-28 flex flex-col gap-y-8" }, h("slot", null))), h("div", { class: "mt-auto" }, h("eds-footer", { social: true, "extra-class": "bg-darker" }))))) : null;
|
|
77
77
|
}
|
|
78
78
|
static get style() { return EdsFullscreenMenuStyle0; }
|
|
79
79
|
}, [1, "eds-fullscreen-menu", {
|
|
@@ -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 EdsGauge extends Components.EdsGauge, HTMLElement {}
|
|
4
|
+
export const EdsGauge: {
|
|
5
|
+
prototype: EdsGauge;
|
|
6
|
+
new (): EdsGauge;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
|
|
3
|
+
const edsGaugeCss = ".relative{position:relative}.absolute{position:absolute}.inline-block{display:inline-block}.rounded-full{border-radius:9999px}.overflow-hidden{overflow:hidden}.bg-inverse{background-color:var(--white)}.bg-current{background-color:currentColor}.bg-dark{background-color:var(--grey-300)}.bg-darker{background-color:var(--grey-400)}.bg-default{background-color:var(--grey-200)}.bg-strong{background-color:var(--grey-700)}.bg-strongest{background-color:var(--black)}.inset-0{inset:0rem}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.text-default{color:var(--black)}";
|
|
4
|
+
const EdsGaugeStyle0 = edsGaugeCss;
|
|
5
|
+
|
|
6
|
+
const BACKGROUND_VARIANTS = {
|
|
7
|
+
default: '#f2f2f2',
|
|
8
|
+
dark: '#d8d8d8',
|
|
9
|
+
strong: '#666666',
|
|
10
|
+
black: '#000000'
|
|
11
|
+
};
|
|
12
|
+
const EdsGauge$1 = /*@__PURE__*/ proxyCustomElement(class EdsGauge extends HTMLElement {
|
|
13
|
+
constructor() {
|
|
14
|
+
super();
|
|
15
|
+
this.__registerHost();
|
|
16
|
+
this.__attachShadow();
|
|
17
|
+
this.size = 100;
|
|
18
|
+
this.valueMin = 0;
|
|
19
|
+
this.valueMax = 100;
|
|
20
|
+
this.value = 60;
|
|
21
|
+
this.thickness = 0.1;
|
|
22
|
+
this.variant = 'default';
|
|
23
|
+
}
|
|
24
|
+
render() {
|
|
25
|
+
// Clamp thickness to [0,1]
|
|
26
|
+
const thicknessClamped = Math.min(Math.max(this.thickness, 0.1), 0.2);
|
|
27
|
+
// Normalize value within [valueMin, valueMax]
|
|
28
|
+
const clamped = Math.min(Math.max(this.value, this.valueMin), this.valueMax);
|
|
29
|
+
const range = this.valueMax - this.valueMin || 1;
|
|
30
|
+
const ratio = (clamped - this.valueMin) / range;
|
|
31
|
+
// Use the smaller of width/height as diameter
|
|
32
|
+
const diameter = this.size;
|
|
33
|
+
const angle = ratio * 360;
|
|
34
|
+
const ringThickness = thicknessClamped * diameter;
|
|
35
|
+
const innerDiameter = diameter - ringThickness * 2;
|
|
36
|
+
const fontSize = diameter * 0.2;
|
|
37
|
+
// Determine background color for empty portion
|
|
38
|
+
const emptyColor = BACKGROUND_VARIANTS[this.variant] || BACKGROUND_VARIANTS.default;
|
|
39
|
+
const containerStyle = {
|
|
40
|
+
width: `${diameter}px`,
|
|
41
|
+
height: `${diameter}px`,
|
|
42
|
+
background: `conic-gradient(#00e766 0deg ${angle}deg, ${emptyColor} ${angle}deg 360deg)`
|
|
43
|
+
};
|
|
44
|
+
const maskStyle = {
|
|
45
|
+
width: `${innerDiameter}px`,
|
|
46
|
+
height: `${innerDiameter}px`,
|
|
47
|
+
top: `${ringThickness}px`,
|
|
48
|
+
left: `${ringThickness}px`
|
|
49
|
+
};
|
|
50
|
+
const textStyle = {
|
|
51
|
+
fontSize: `${fontSize}px`
|
|
52
|
+
};
|
|
53
|
+
return (h("div", { key: 'a549808bcd0fc64583f90f284a7b139386e71be7', role: "progressbar", "aria-valuemin": this.valueMin, "aria-valuemax": this.valueMax, "aria-valuenow": clamped, "aria-label": `Gauge value: ${clamped} of ${this.valueMax}`, class: "relative inline-block rounded-full overflow-hidden", style: containerStyle }, h("div", { key: 'c3efb2d512f96e4c3a9371416c6d9bb938cab43e', class: "absolute bg-inverse rounded-full", style: maskStyle }), h("div", { key: '7a6254e22240301b6716a2d6fed785196a39cdd8', class: "absolute inset-0 flex items-center justify-center" }, h("span", { key: '78d8d1b7c442f75947b2813bbb569c566357c121', class: "f-body-01 text-default", style: textStyle }, clamped))));
|
|
54
|
+
}
|
|
55
|
+
static get style() { return EdsGaugeStyle0; }
|
|
56
|
+
}, [1, "eds-gauge", {
|
|
57
|
+
"size": [2],
|
|
58
|
+
"valueMin": [2, "value-min"],
|
|
59
|
+
"valueMax": [2, "value-max"],
|
|
60
|
+
"value": [2],
|
|
61
|
+
"thickness": [2],
|
|
62
|
+
"variant": [1]
|
|
63
|
+
}]);
|
|
64
|
+
function defineCustomElement$1() {
|
|
65
|
+
if (typeof customElements === "undefined") {
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
const components = ["eds-gauge"];
|
|
69
|
+
components.forEach(tagName => { switch (tagName) {
|
|
70
|
+
case "eds-gauge":
|
|
71
|
+
if (!customElements.get(tagName)) {
|
|
72
|
+
customElements.define(tagName, EdsGauge$1);
|
|
73
|
+
}
|
|
74
|
+
break;
|
|
75
|
+
} });
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
const EdsGauge = EdsGauge$1;
|
|
79
|
+
const defineCustomElement = defineCustomElement$1;
|
|
80
|
+
|
|
81
|
+
export { EdsGauge, defineCustomElement };
|