@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
|
@@ -115,57 +115,6 @@ export class EdsButton {
|
|
|
115
115
|
size: 'small'
|
|
116
116
|
}
|
|
117
117
|
});
|
|
118
|
-
this.iconCva = cva(['flex inline-flex items-center justify-center'], {
|
|
119
|
-
variants: {
|
|
120
|
-
size: {
|
|
121
|
-
large: '',
|
|
122
|
-
small: ''
|
|
123
|
-
},
|
|
124
|
-
iconPos: {
|
|
125
|
-
left: '',
|
|
126
|
-
right: ''
|
|
127
|
-
},
|
|
128
|
-
iconOnly: {
|
|
129
|
-
false: '',
|
|
130
|
-
true: ''
|
|
131
|
-
},
|
|
132
|
-
show: {
|
|
133
|
-
false: 'opacity-0',
|
|
134
|
-
true: ''
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
compoundVariants: [
|
|
138
|
-
{
|
|
139
|
-
size: 'small',
|
|
140
|
-
iconPos: 'left',
|
|
141
|
-
class: 'mr-4',
|
|
142
|
-
iconOnly: false
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
size: 'small',
|
|
146
|
-
iconPos: 'right',
|
|
147
|
-
class: 'ml-4',
|
|
148
|
-
iconOnly: false
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
size: 'large',
|
|
152
|
-
iconPos: 'left',
|
|
153
|
-
class: 'mr-4',
|
|
154
|
-
iconOnly: false
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
size: 'large',
|
|
158
|
-
iconPos: 'right',
|
|
159
|
-
class: 'ml-4',
|
|
160
|
-
iconOnly: false
|
|
161
|
-
}
|
|
162
|
-
],
|
|
163
|
-
defaultVariants: {
|
|
164
|
-
iconPos: 'right',
|
|
165
|
-
size: 'small',
|
|
166
|
-
iconOnly: false
|
|
167
|
-
}
|
|
168
|
-
});
|
|
169
118
|
this.parentContext = null; // Accepts the entire event detail or null
|
|
170
119
|
this.label = undefined;
|
|
171
120
|
this.ariaLabel = 'Button';
|
|
@@ -218,17 +167,14 @@ export class EdsButton {
|
|
|
218
167
|
iconOnly: !this.label,
|
|
219
168
|
iconSmall: this.iconSmall
|
|
220
169
|
});
|
|
221
|
-
const iconClasses = this.iconCva({
|
|
222
|
-
size: this.size,
|
|
223
|
-
iconPos: this.iconPos,
|
|
224
|
-
iconOnly: !this.label,
|
|
225
|
-
show: !this.loading
|
|
226
|
-
});
|
|
227
170
|
const ElementType = this.elementType;
|
|
228
|
-
return (h(ElementType, { key: '
|
|
171
|
+
return (h(ElementType, { key: 'b51281f8946bbf5a22b8fec9ec2d66ea4697bb23', "aria-label": this.label || this.ariaLabel || undefined, "aria-disabled": this.elementType === 'button' ? this.disabled : undefined, disabled: this.elementType === 'button' ? this.disabled : undefined, class: `${classes || ''} ${this.extraClass || ''}`, onClick: (event) => this.handleClick(event) }, this.label && h("span", { key: 'c1df49fe70a7930d4c87f8130ef1102e503cd0fc', class: this.loading ? 'opacity-0' : '' }, this.label), this.loading && (h("span", { key: 'e56515527843d11be53d66aa7598fc2fdf94d054', class: "absolute inset-0 flex items-center justify-center" }, h("span", { key: 'a50932ac2d5db24d50a3b10a30d07043e0354c62', class: "loader", style: {
|
|
229
172
|
border: `3px solid ${this.intent === 'secondary' ? 'rgba(255, 255, 255, .3)' : 'rgba(0, 0, 0, .3)'}`,
|
|
230
173
|
borderBottomColor: this.intent === 'secondary' ? '#fff' : '#000'
|
|
231
|
-
} }))), this.icon ? h("eds-icon-wrapper", { class:
|
|
174
|
+
} }))), this.icon ? (h("eds-icon-wrapper", { class: `
|
|
175
|
+
flex inline-flex items-center justify-center
|
|
176
|
+
${this.size === 'large' ? 'h-24 w-24' : 'h-20 w-20'}
|
|
177
|
+
`, icon: this.icon })) : null));
|
|
232
178
|
}
|
|
233
179
|
static get is() { return "eds-button"; }
|
|
234
180
|
static get encapsulation() { return "shadow"; }
|
|
@@ -31,7 +31,8 @@ export default {
|
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
export const Default = (args) => `
|
|
34
|
-
<
|
|
34
|
+
<div class="text-center">
|
|
35
|
+
<eds-button
|
|
35
36
|
label="${args.label}"
|
|
36
37
|
aria-label="${args.ariaLabel || args.label}"
|
|
37
38
|
element-type="${args.elementType}"
|
|
@@ -44,4 +45,6 @@ export const Default = (args) => `
|
|
|
44
45
|
icon-small="${args.iconSmall}"
|
|
45
46
|
size="${args.size}"
|
|
46
47
|
></eds-button>
|
|
48
|
+
</div>
|
|
49
|
+
|
|
47
50
|
`;
|
package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.css
CHANGED
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
.f-ui-02-light {
|
|
2
|
-
font-family: var(--f-ui-02-light-fontFamily);
|
|
3
|
-
font-weight: var(--f-ui-02-light-fontWeight);
|
|
4
|
-
font-size: var(--f-ui-02-light-fontSize);
|
|
5
|
-
line-height: var(--f-ui-02-light-lineHeight);
|
|
6
|
-
letter-spacing: var(--f-ui-02-light-letterSpacing);
|
|
7
|
-
}
|
|
8
1
|
.f-ui-03-light {
|
|
9
2
|
font-family: var(--f-ui-03-light-fontFamily);
|
|
10
3
|
font-weight: var(--f-ui-03-light-fontWeight);
|
|
@@ -12,27 +5,32 @@
|
|
|
12
5
|
line-height: var(--f-ui-03-light-lineHeight);
|
|
13
6
|
letter-spacing: var(--f-ui-03-light-letterSpacing);
|
|
14
7
|
}
|
|
8
|
+
|
|
15
9
|
.text-light {
|
|
16
10
|
color: var(--grey-700);
|
|
17
11
|
}
|
|
12
|
+
|
|
18
13
|
.line-clamp-1 {
|
|
19
14
|
overflow: hidden;
|
|
20
15
|
display: -webkit-box;
|
|
21
16
|
-webkit-box-orient: vertical;
|
|
22
17
|
-webkit-line-clamp: 1;
|
|
23
18
|
}
|
|
19
|
+
|
|
24
20
|
.line-clamp-2 {
|
|
25
21
|
overflow: hidden;
|
|
26
22
|
display: -webkit-box;
|
|
27
23
|
-webkit-box-orient: vertical;
|
|
28
24
|
-webkit-line-clamp: 2;
|
|
29
25
|
}
|
|
26
|
+
|
|
30
27
|
.line-clamp-3 {
|
|
31
28
|
overflow: hidden;
|
|
32
29
|
display: -webkit-box;
|
|
33
30
|
-webkit-box-orient: vertical;
|
|
34
31
|
-webkit-line-clamp: 3;
|
|
35
32
|
}
|
|
33
|
+
|
|
36
34
|
.line-clamp-4 {
|
|
37
35
|
overflow: hidden;
|
|
38
36
|
display: -webkit-box;
|
package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js
CHANGED
|
@@ -13,7 +13,6 @@ import { h } from "@stencil/core";
|
|
|
13
13
|
export class EdsCardDesc {
|
|
14
14
|
constructor() {
|
|
15
15
|
this.description = undefined;
|
|
16
|
-
this.descClass = 'f-ui-03-light';
|
|
17
16
|
this.truncate = true;
|
|
18
17
|
this.truncateLines = '3';
|
|
19
18
|
}
|
|
@@ -21,7 +20,7 @@ export class EdsCardDesc {
|
|
|
21
20
|
return this.truncate && this.truncateLines ? `line-clamp-${this.truncateLines}` : '';
|
|
22
21
|
}
|
|
23
22
|
render() {
|
|
24
|
-
return (h("p", { key: '
|
|
23
|
+
return (h("p", { key: 'f2eec4a947de74a1e36bb13fdd2bfeb7a9f711b3', class: "text-light f-ui-03-light" }, h("span", { key: '444ffa34c3e8cac12af2f396144fd182d49c6baa', class: this.getTruncateClass() }, this.description)));
|
|
25
24
|
}
|
|
26
25
|
static get is() { return "eds-card-desc"; }
|
|
27
26
|
static get encapsulation() { return "shadow"; }
|
|
@@ -54,24 +53,6 @@ export class EdsCardDesc {
|
|
|
54
53
|
"attribute": "description",
|
|
55
54
|
"reflect": false
|
|
56
55
|
},
|
|
57
|
-
"descClass": {
|
|
58
|
-
"type": "string",
|
|
59
|
-
"mutable": false,
|
|
60
|
-
"complexType": {
|
|
61
|
-
"original": "string",
|
|
62
|
-
"resolved": "string",
|
|
63
|
-
"references": {}
|
|
64
|
-
},
|
|
65
|
-
"required": false,
|
|
66
|
-
"optional": false,
|
|
67
|
-
"docs": {
|
|
68
|
-
"tags": [],
|
|
69
|
-
"text": "A custom CSS class to style the description text.\nDefault is 'f-ui-03-light'."
|
|
70
|
-
},
|
|
71
|
-
"attribute": "desc-class",
|
|
72
|
-
"reflect": false,
|
|
73
|
-
"defaultValue": "'f-ui-03-light'"
|
|
74
|
-
},
|
|
75
56
|
"truncate": {
|
|
76
57
|
"type": "boolean",
|
|
77
58
|
"mutable": false,
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
|
|
120
120
|
.gap-x-1 {
|
|
121
121
|
-moz-column-gap: 0.0625rem;
|
|
122
|
-
|
|
122
|
+
column-gap: 0.0625rem;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
.gap-y-4 {
|
|
@@ -136,4 +136,13 @@
|
|
|
136
136
|
|
|
137
137
|
.mb-12 {
|
|
138
138
|
margin-bottom: 0.75rem;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.mx-auto {
|
|
142
|
+
margin-left: auto;
|
|
143
|
+
margin-right: auto;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.block {
|
|
147
|
+
display: block;
|
|
139
148
|
}
|
|
@@ -86,7 +86,7 @@ export class EdsCardGeneric {
|
|
|
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
|
static get is() { return "eds-card-generic"; }
|
|
92
92
|
static get encapsulation() { return "shadow"; }
|
|
@@ -56,7 +56,7 @@ export class EdsCardProject {
|
|
|
56
56
|
this.vertical ? 'flex-col gap-y-16' : 'flex-col gap-x-16 gap-y-12 lg:flex-row'
|
|
57
57
|
].join(' ');
|
|
58
58
|
const imageClasses = this.vertical ? '' : 'max-w-120 @md:max-w-192 order-first w-full lg:order-last';
|
|
59
|
-
return (h("article", { key: '
|
|
59
|
+
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)))))));
|
|
60
60
|
}
|
|
61
61
|
static get is() { return "eds-card-project"; }
|
|
62
62
|
static get properties() {
|
|
@@ -64,7 +64,7 @@ export class EdsCardTool {
|
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
|
-
return (h("article", { key: '
|
|
67
|
+
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 }))))));
|
|
68
68
|
}
|
|
69
69
|
static get is() { return "eds-card-tool"; }
|
|
70
70
|
static get encapsulation() { return "shadow"; }
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
.relative {
|
|
2
|
+
position: relative;
|
|
3
|
+
}
|
|
4
|
+
.absolute {
|
|
5
|
+
position: absolute;
|
|
6
|
+
}
|
|
7
|
+
.inline-block {
|
|
8
|
+
display: inline-block;
|
|
9
|
+
}
|
|
10
|
+
.rounded-full {
|
|
11
|
+
border-radius: 9999px;
|
|
12
|
+
}
|
|
13
|
+
.overflow-hidden {
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
}
|
|
16
|
+
.bg-inverse {
|
|
17
|
+
background-color: var(--white);
|
|
18
|
+
}
|
|
19
|
+
.bg-current {
|
|
20
|
+
background-color: currentColor;
|
|
21
|
+
}
|
|
22
|
+
.bg-dark {
|
|
23
|
+
background-color: var(--grey-300);
|
|
24
|
+
}
|
|
25
|
+
.bg-darker {
|
|
26
|
+
background-color: var(--grey-400);
|
|
27
|
+
}
|
|
28
|
+
.bg-default {
|
|
29
|
+
background-color: var(--grey-200);
|
|
30
|
+
}
|
|
31
|
+
.bg-strong {
|
|
32
|
+
background-color: var(--grey-700);
|
|
33
|
+
}
|
|
34
|
+
.bg-strongest {
|
|
35
|
+
background-color: var(--black);
|
|
36
|
+
}
|
|
37
|
+
.inset-0 {
|
|
38
|
+
inset: 0rem;
|
|
39
|
+
}
|
|
40
|
+
.flex {
|
|
41
|
+
display: flex;
|
|
42
|
+
}
|
|
43
|
+
.items-center {
|
|
44
|
+
align-items: center;
|
|
45
|
+
}
|
|
46
|
+
.justify-center {
|
|
47
|
+
justify-content: center;
|
|
48
|
+
}
|
|
49
|
+
.f-body-01 {
|
|
50
|
+
font-family: var(--f-body-01-fontFamily);
|
|
51
|
+
font-weight: var(--f-body-01-fontWeight);
|
|
52
|
+
font-size: var(--f-body-01-fontSize);
|
|
53
|
+
line-height: var(--f-body-01-lineHeight);
|
|
54
|
+
letter-spacing: var(--f-body-01-letterSpacing);
|
|
55
|
+
}
|
|
56
|
+
.text-default {
|
|
57
|
+
color: var(--black);
|
|
58
|
+
}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
const BACKGROUND_VARIANTS = {
|
|
3
|
+
default: '#f2f2f2',
|
|
4
|
+
dark: '#d8d8d8',
|
|
5
|
+
strong: '#666666',
|
|
6
|
+
black: '#000000'
|
|
7
|
+
};
|
|
8
|
+
export class EdsGauge {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.size = 100;
|
|
11
|
+
this.valueMin = 0;
|
|
12
|
+
this.valueMax = 100;
|
|
13
|
+
this.value = 60;
|
|
14
|
+
this.thickness = 0.1;
|
|
15
|
+
this.variant = 'default';
|
|
16
|
+
}
|
|
17
|
+
render() {
|
|
18
|
+
// Clamp thickness to [0,1]
|
|
19
|
+
const thicknessClamped = Math.min(Math.max(this.thickness, 0.1), 0.2);
|
|
20
|
+
// Normalize value within [valueMin, valueMax]
|
|
21
|
+
const clamped = Math.min(Math.max(this.value, this.valueMin), this.valueMax);
|
|
22
|
+
const range = this.valueMax - this.valueMin || 1;
|
|
23
|
+
const ratio = (clamped - this.valueMin) / range;
|
|
24
|
+
// Use the smaller of width/height as diameter
|
|
25
|
+
const diameter = this.size;
|
|
26
|
+
const angle = ratio * 360;
|
|
27
|
+
const ringThickness = thicknessClamped * diameter;
|
|
28
|
+
const innerDiameter = diameter - ringThickness * 2;
|
|
29
|
+
const fontSize = diameter * 0.2;
|
|
30
|
+
// Determine background color for empty portion
|
|
31
|
+
const emptyColor = BACKGROUND_VARIANTS[this.variant] || BACKGROUND_VARIANTS.default;
|
|
32
|
+
const containerStyle = {
|
|
33
|
+
width: `${diameter}px`,
|
|
34
|
+
height: `${diameter}px`,
|
|
35
|
+
background: `conic-gradient(#00e766 0deg ${angle}deg, ${emptyColor} ${angle}deg 360deg)`
|
|
36
|
+
};
|
|
37
|
+
const maskStyle = {
|
|
38
|
+
width: `${innerDiameter}px`,
|
|
39
|
+
height: `${innerDiameter}px`,
|
|
40
|
+
top: `${ringThickness}px`,
|
|
41
|
+
left: `${ringThickness}px`
|
|
42
|
+
};
|
|
43
|
+
const textStyle = {
|
|
44
|
+
fontSize: `${fontSize}px`
|
|
45
|
+
};
|
|
46
|
+
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))));
|
|
47
|
+
}
|
|
48
|
+
static get is() { return "eds-gauge"; }
|
|
49
|
+
static get encapsulation() { return "shadow"; }
|
|
50
|
+
static get originalStyleUrls() {
|
|
51
|
+
return {
|
|
52
|
+
"$": ["eds-gauge.css"]
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
static get styleUrls() {
|
|
56
|
+
return {
|
|
57
|
+
"$": ["eds-gauge.css"]
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
static get properties() {
|
|
61
|
+
return {
|
|
62
|
+
"size": {
|
|
63
|
+
"type": "number",
|
|
64
|
+
"mutable": false,
|
|
65
|
+
"complexType": {
|
|
66
|
+
"original": "number",
|
|
67
|
+
"resolved": "number",
|
|
68
|
+
"references": {}
|
|
69
|
+
},
|
|
70
|
+
"required": false,
|
|
71
|
+
"optional": false,
|
|
72
|
+
"docs": {
|
|
73
|
+
"tags": [],
|
|
74
|
+
"text": "Diameter of the pie chart (pixels)"
|
|
75
|
+
},
|
|
76
|
+
"attribute": "size",
|
|
77
|
+
"reflect": false,
|
|
78
|
+
"defaultValue": "100"
|
|
79
|
+
},
|
|
80
|
+
"valueMin": {
|
|
81
|
+
"type": "number",
|
|
82
|
+
"mutable": false,
|
|
83
|
+
"complexType": {
|
|
84
|
+
"original": "number",
|
|
85
|
+
"resolved": "number",
|
|
86
|
+
"references": {}
|
|
87
|
+
},
|
|
88
|
+
"required": false,
|
|
89
|
+
"optional": false,
|
|
90
|
+
"docs": {
|
|
91
|
+
"tags": [],
|
|
92
|
+
"text": "Minimum value (gauge start)"
|
|
93
|
+
},
|
|
94
|
+
"attribute": "value-min",
|
|
95
|
+
"reflect": false,
|
|
96
|
+
"defaultValue": "0"
|
|
97
|
+
},
|
|
98
|
+
"valueMax": {
|
|
99
|
+
"type": "number",
|
|
100
|
+
"mutable": false,
|
|
101
|
+
"complexType": {
|
|
102
|
+
"original": "number",
|
|
103
|
+
"resolved": "number",
|
|
104
|
+
"references": {}
|
|
105
|
+
},
|
|
106
|
+
"required": false,
|
|
107
|
+
"optional": false,
|
|
108
|
+
"docs": {
|
|
109
|
+
"tags": [],
|
|
110
|
+
"text": "Maximum value (gauge end)"
|
|
111
|
+
},
|
|
112
|
+
"attribute": "value-max",
|
|
113
|
+
"reflect": false,
|
|
114
|
+
"defaultValue": "100"
|
|
115
|
+
},
|
|
116
|
+
"value": {
|
|
117
|
+
"type": "number",
|
|
118
|
+
"mutable": false,
|
|
119
|
+
"complexType": {
|
|
120
|
+
"original": "number",
|
|
121
|
+
"resolved": "number",
|
|
122
|
+
"references": {}
|
|
123
|
+
},
|
|
124
|
+
"required": false,
|
|
125
|
+
"optional": false,
|
|
126
|
+
"docs": {
|
|
127
|
+
"tags": [],
|
|
128
|
+
"text": "Current value"
|
|
129
|
+
},
|
|
130
|
+
"attribute": "value",
|
|
131
|
+
"reflect": false,
|
|
132
|
+
"defaultValue": "60"
|
|
133
|
+
},
|
|
134
|
+
"thickness": {
|
|
135
|
+
"type": "number",
|
|
136
|
+
"mutable": false,
|
|
137
|
+
"complexType": {
|
|
138
|
+
"original": "number",
|
|
139
|
+
"resolved": "number",
|
|
140
|
+
"references": {}
|
|
141
|
+
},
|
|
142
|
+
"required": false,
|
|
143
|
+
"optional": false,
|
|
144
|
+
"docs": {
|
|
145
|
+
"tags": [],
|
|
146
|
+
"text": "Thickness of inner mask as fraction of radius (0.1\u20130.2). Values outside this range will be clamped."
|
|
147
|
+
},
|
|
148
|
+
"attribute": "thickness",
|
|
149
|
+
"reflect": false,
|
|
150
|
+
"defaultValue": "0.1"
|
|
151
|
+
},
|
|
152
|
+
"variant": {
|
|
153
|
+
"type": "string",
|
|
154
|
+
"mutable": false,
|
|
155
|
+
"complexType": {
|
|
156
|
+
"original": "'default' | 'dark' | 'strong' | 'black'",
|
|
157
|
+
"resolved": "\"black\" | \"dark\" | \"default\" | \"strong\"",
|
|
158
|
+
"references": {}
|
|
159
|
+
},
|
|
160
|
+
"required": false,
|
|
161
|
+
"optional": false,
|
|
162
|
+
"docs": {
|
|
163
|
+
"tags": [],
|
|
164
|
+
"text": ""
|
|
165
|
+
},
|
|
166
|
+
"attribute": "variant",
|
|
167
|
+
"reflect": false,
|
|
168
|
+
"defaultValue": "'default'"
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
title: 'Charts/Gauge',
|
|
3
|
+
component: 'eds-gauge',
|
|
4
|
+
argTypes: {
|
|
5
|
+
size: {
|
|
6
|
+
control: 'number',
|
|
7
|
+
description: 'Diameter of the pie chart (in pixels)'
|
|
8
|
+
},
|
|
9
|
+
valueMin: {
|
|
10
|
+
control: 'number',
|
|
11
|
+
description: 'Minimum value at the start of the gauge'
|
|
12
|
+
},
|
|
13
|
+
valueMax: {
|
|
14
|
+
control: 'number',
|
|
15
|
+
description: 'Maximum value at the end of the gauge'
|
|
16
|
+
},
|
|
17
|
+
value: {
|
|
18
|
+
control: {
|
|
19
|
+
type: 'range',
|
|
20
|
+
min: 0,
|
|
21
|
+
max: 100
|
|
22
|
+
},
|
|
23
|
+
description: 'Current value displayed by the gauge (clamped to [valueMin, valueMax])'
|
|
24
|
+
},
|
|
25
|
+
thickness: {
|
|
26
|
+
control: { type: 'range', min: 0.1, max: 0.2, step: 0.01 },
|
|
27
|
+
description: 'Thickness of the ring as a fraction of the diameter (0–0.5)'
|
|
28
|
+
},
|
|
29
|
+
variant: {
|
|
30
|
+
control: 'select',
|
|
31
|
+
options: ['default', 'dark', 'strong', 'black'],
|
|
32
|
+
description: 'Color variant for the empty portion of the ring'
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
args: {
|
|
36
|
+
size: 300,
|
|
37
|
+
valueMin: 0,
|
|
38
|
+
valueMax: 100,
|
|
39
|
+
value: 60,
|
|
40
|
+
thickness: 0.15,
|
|
41
|
+
variant: 'default'
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
export const Default = {
|
|
45
|
+
render: (args) => `
|
|
46
|
+
<div class="flex items-center justify-center">
|
|
47
|
+
<eds-gauge
|
|
48
|
+
size="${args.size}"
|
|
49
|
+
value-min="${args.valueMin}"
|
|
50
|
+
value-max="${args.valueMax}"
|
|
51
|
+
value="${args.value}"
|
|
52
|
+
thickness="${args.thickness}"
|
|
53
|
+
variant="${args.variant}"
|
|
54
|
+
></eds-gauge>
|
|
55
|
+
</div>
|
|
56
|
+
`
|
|
57
|
+
};
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
.relative {
|
|
2
|
+
position: relative;
|
|
3
|
+
}
|
|
4
|
+
.absolute {
|
|
5
|
+
position: absolute;
|
|
6
|
+
}
|
|
7
|
+
.inline-block {
|
|
8
|
+
display: inline-block;
|
|
9
|
+
}
|
|
10
|
+
.rounded-full {
|
|
11
|
+
border-radius: 9999px;
|
|
12
|
+
}
|
|
13
|
+
.overflow-hidden {
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
}
|
|
16
|
+
.bg-inverse {
|
|
17
|
+
background-color: var(--white);
|
|
18
|
+
}
|
|
19
|
+
.bg-current {
|
|
20
|
+
background-color: currentColor;
|
|
21
|
+
}
|
|
22
|
+
.bg-dark {
|
|
23
|
+
background-color: var(--grey-300);
|
|
24
|
+
}
|
|
25
|
+
.bg-darker {
|
|
26
|
+
background-color: var(--grey-400);
|
|
27
|
+
}
|
|
28
|
+
.bg-default {
|
|
29
|
+
background-color: var(--grey-200);
|
|
30
|
+
}
|
|
31
|
+
.bg-strong {
|
|
32
|
+
background-color: var(--grey-700);
|
|
33
|
+
}
|
|
34
|
+
.bg-strongest {
|
|
35
|
+
background-color: var(--black);
|
|
36
|
+
}
|
|
37
|
+
.inset-0 {
|
|
38
|
+
inset: 0rem;
|
|
39
|
+
}
|
|
40
|
+
.flex {
|
|
41
|
+
display: flex;
|
|
42
|
+
}
|
|
43
|
+
.items-center {
|
|
44
|
+
align-items: center;
|
|
45
|
+
}
|
|
46
|
+
.justify-center {
|
|
47
|
+
justify-content: center;
|
|
48
|
+
}
|
|
49
|
+
.f-body-01 {
|
|
50
|
+
font-family: var(--f-body-01-fontFamily);
|
|
51
|
+
font-weight: var(--f-body-01-fontWeight);
|
|
52
|
+
font-size: var(--f-body-01-fontSize);
|
|
53
|
+
line-height: var(--f-body-01-lineHeight);
|
|
54
|
+
letter-spacing: var(--f-body-01-letterSpacing);
|
|
55
|
+
}
|
|
56
|
+
.f-ui-01 {
|
|
57
|
+
font-family: var(--f-ui-01-fontFamily);
|
|
58
|
+
font-weight: var(--f-ui-01-fontWeight);
|
|
59
|
+
font-size: var(--f-ui-01-fontSize);
|
|
60
|
+
line-height: var(--f-ui-01-lineHeight);
|
|
61
|
+
letter-spacing: var(--f-ui-01-letterSpacing);
|
|
62
|
+
}
|
|
63
|
+
.f-ui-02 {
|
|
64
|
+
font-family: var(--f-ui-02-fontFamily);
|
|
65
|
+
font-weight: var(--f-ui-02-fontWeight);
|
|
66
|
+
font-size: var(--f-ui-02-fontSize);
|
|
67
|
+
line-height: var(--f-ui-02-lineHeight);
|
|
68
|
+
letter-spacing: var(--f-ui-02-letterSpacing);
|
|
69
|
+
}
|
|
70
|
+
.text-default {
|
|
71
|
+
color: var(--black);
|
|
72
|
+
}
|
|
73
|
+
.w-8 {
|
|
74
|
+
width: 0.5rem;
|
|
75
|
+
}
|
|
76
|
+
.h-8 {
|
|
77
|
+
height: 0.5rem;
|
|
78
|
+
}
|
|
79
|
+
.mr-4 {
|
|
80
|
+
margin-right: 0.25rem;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
/* src/components/eds-pie/eds-pie.css */
|
|
85
|
+
|
|
86
|
+
:host {
|
|
87
|
+
display: block;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.wrapper {
|
|
91
|
+
display: flex;
|
|
92
|
+
align-items: center;
|
|
93
|
+
justify-content: center;
|
|
94
|
+
height: 100%;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.pie-chart {
|
|
98
|
+
overflow: visible;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.slice-label {
|
|
102
|
+
font-size: var(--font-size-chart-label);
|
|
103
|
+
font-weight: var(--font-weight-chart-label);
|
|
104
|
+
fill: var(--color-text);
|
|
105
|
+
pointer-events: none;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.legend {
|
|
109
|
+
list-style: none;
|
|
110
|
+
margin: 0;
|
|
111
|
+
padding: 0 0 0 1rem;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.legend-item {
|
|
115
|
+
display: flex;
|
|
116
|
+
align-items: center;
|
|
117
|
+
margin-bottom: 0.5rem;
|
|
118
|
+
outline: none;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.legend-item:focus {
|
|
122
|
+
outline: 2px dashed var(--color-primary);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.legend-swatch {
|
|
126
|
+
width: 1rem;
|
|
127
|
+
height: 1rem;
|
|
128
|
+
border-radius: 50%;
|
|
129
|
+
margin-right: 0.5rem;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.legend-label {
|
|
133
|
+
font-size: var(--font-size-base);
|
|
134
|
+
color: var(--color-text);
|
|
135
|
+
}
|