@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
|
@@ -5,6 +5,7 @@ import { cva } from "class-variance-authority";
|
|
|
5
5
|
const linkStyles = cva([
|
|
6
6
|
'relative inline-flex justify-center items-center py-8 rounded-sm',
|
|
7
7
|
'effect-color effect-focus aria-disabled:text-lightest',
|
|
8
|
+
'cursor-pointer',
|
|
8
9
|
'aria-disabled:bg-dark aria-disabled:cursor-not-allowed aria-disabled:!border-transparent aria-disabled:after:!border-transparent'
|
|
9
10
|
], {
|
|
10
11
|
variants: {
|
|
@@ -215,7 +216,7 @@ export class EdsLink {
|
|
|
215
216
|
const labelClasses = this.hideLabelOnSmallScreen
|
|
216
217
|
? 'hidden lg:flex' // Tailwind example: hidden on small screens, visible on larger
|
|
217
218
|
: '';
|
|
218
|
-
return (h(ComponentType, { key: '
|
|
219
|
+
return (h(ComponentType, { key: 'ee6e8eeb12df62ee801164877a357c075590ebae', class: `${classes || ''} ${this.extraClass || ''}`, href: !this.disabled ? this.url : undefined, target: this.external && !this.disabled ? '_blank' : undefined, rel: this.external && !this.disabled ? 'noopener noreferrer' : undefined, "aria-label": computedAriaLabel, "aria-disabled": this.disabled ? 'true' : null, "aria-current": this.current ? 'page' : undefined, download: this.download ? '' : undefined, onClick: (event) => this.handleClick(event) }, h("span", { key: '7b35e3ddca346ff09730aa332b9f47b6d6707721', class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), h("span", { key: 'fe4201815e3791e6e3d6da8856d7a7a9e0211cfc', class: labelClasses }, this.label), this.renderRightIcon())));
|
|
219
220
|
}
|
|
220
221
|
static get is() { return "eds-link"; }
|
|
221
222
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,62 +1,97 @@
|
|
|
1
|
+
.w-full {
|
|
2
|
+
width: 100%;
|
|
3
|
+
}
|
|
1
4
|
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
.
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
5
|
+
.h-full {
|
|
6
|
+
height: 100%;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.bg-default {
|
|
10
|
+
background-color: var(--grey-200);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.rounded-lg {
|
|
14
|
+
border-radius: 16px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.h-24 {
|
|
18
|
+
height: 1.5rem;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.border {
|
|
22
|
+
border-width: 1px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.border-softer {
|
|
26
|
+
border: 2px solid rgba(0, 0, 0, .1);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.overflow-hidden {
|
|
30
|
+
overflow: hidden;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.bg-accent {
|
|
34
|
+
background-color: var(--green-500);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.bg-\[\#0034CB\] {
|
|
38
|
+
--tw-text-opacity: 1;
|
|
39
|
+
background-color: rgb(0 52 203 / var(--tw-text-opacity));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.transition-all {
|
|
43
|
+
transition-property: all;
|
|
44
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
45
|
+
transition-duration: 150ms;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.duration-300 {
|
|
49
|
+
transition-duration: 300ms;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.flex {
|
|
53
|
+
display: flex;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.items-center {
|
|
57
|
+
align-items: center;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.justify-center {
|
|
61
|
+
justify-content: center;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.text-default {
|
|
65
|
+
color: var(--black);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.text-inverse {
|
|
69
|
+
color: var(--white);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.f-body-02 {
|
|
73
|
+
font-family: var(--f-body-02-fontFamily);
|
|
74
|
+
font-weight: var(--f-body-02-fontWeight);
|
|
75
|
+
font-size: var(--f-body-02-fontSize);
|
|
76
|
+
line-height: var(--f-body-02-lineHeight);
|
|
77
|
+
letter-spacing: var(--f-body-02-letterSpacing);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.absolute {
|
|
81
|
+
position: absolute;
|
|
82
|
+
}
|
|
83
|
+
.relative {
|
|
84
|
+
position: relative;
|
|
85
|
+
}
|
|
86
|
+
.z-0 {
|
|
87
|
+
z-index: 0;
|
|
88
|
+
}
|
|
89
|
+
.z-10 {
|
|
90
|
+
z-index: 10;
|
|
91
|
+
}
|
|
92
|
+
.inset-0 {
|
|
93
|
+
inset: 0rem;
|
|
94
|
+
}
|
|
95
|
+
.pointer-events-none {
|
|
96
|
+
pointer-events: none;
|
|
97
|
+
}
|
|
@@ -2,17 +2,44 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
export class EdsProgressBar {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.value = 0;
|
|
5
|
+
this.rounded = true;
|
|
5
6
|
}
|
|
6
7
|
/**
|
|
7
8
|
* Method to update the progress value externally.
|
|
8
9
|
* @param newValue The new progress value (0-100).
|
|
9
10
|
*/
|
|
10
11
|
async updateValue(newValue) {
|
|
11
|
-
this.value = Math.min(100, Math.max(0, newValue)); // Clamp
|
|
12
|
+
this.value = Math.min(100, Math.max(0, newValue)); // Clamp 0–100
|
|
12
13
|
}
|
|
13
14
|
render() {
|
|
14
|
-
const progressValue = this.value;
|
|
15
|
-
|
|
15
|
+
const progressValue = Math.min(100, Math.max(0, this.value));
|
|
16
|
+
// Outer container classes (conditionally rounded)
|
|
17
|
+
const outerClasses = [
|
|
18
|
+
'outer',
|
|
19
|
+
'w-full',
|
|
20
|
+
'h-24',
|
|
21
|
+
'bg-default',
|
|
22
|
+
'border',
|
|
23
|
+
'border-softer',
|
|
24
|
+
'overflow-hidden',
|
|
25
|
+
this.rounded ? 'rounded-lg' : '',
|
|
26
|
+
'relative'
|
|
27
|
+
]
|
|
28
|
+
.filter(Boolean)
|
|
29
|
+
.join(' ');
|
|
30
|
+
// Fill bar classes (conditionally rounded only when >0)
|
|
31
|
+
const fillClasses = [
|
|
32
|
+
'inner',
|
|
33
|
+
'h-full',
|
|
34
|
+
'transition-all',
|
|
35
|
+
'duration-300',
|
|
36
|
+
'bg-accent',
|
|
37
|
+
progressValue > 0 && this.rounded ? 'rounded-lg' : '',
|
|
38
|
+
'z-0'
|
|
39
|
+
]
|
|
40
|
+
.filter(Boolean)
|
|
41
|
+
.join(' ');
|
|
42
|
+
return (h("div", { key: '8760afff9f85f05fec52b0a7fb668661e49dc06f', role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": progressValue, "aria-valuetext": `${progressValue}%`, class: outerClasses }, h("div", { key: '06165b69fe7e170f4f61d9f95b5a44342d4ee67a', class: fillClasses, style: { width: `${progressValue}%` } }), h("div", { key: '0c48e65c5a6cb0b4dff7a7e3e248052cdc29957d', class: "absolute inset-0 flex items-center justify-center pointer-events-none z-10" }, h("span", { key: 'fc6f7396cf741ba18d1b5d065bdd1b7bfff12abe', class: "text-default f-body-02" }, progressValue, "%"))));
|
|
16
43
|
}
|
|
17
44
|
static get is() { return "eds-progress-bar"; }
|
|
18
45
|
static get encapsulation() { return "shadow"; }
|
|
@@ -45,6 +72,24 @@ export class EdsProgressBar {
|
|
|
45
72
|
"attribute": "value",
|
|
46
73
|
"reflect": false,
|
|
47
74
|
"defaultValue": "0"
|
|
75
|
+
},
|
|
76
|
+
"rounded": {
|
|
77
|
+
"type": "boolean",
|
|
78
|
+
"mutable": false,
|
|
79
|
+
"complexType": {
|
|
80
|
+
"original": "boolean",
|
|
81
|
+
"resolved": "boolean",
|
|
82
|
+
"references": {}
|
|
83
|
+
},
|
|
84
|
+
"required": false,
|
|
85
|
+
"optional": false,
|
|
86
|
+
"docs": {
|
|
87
|
+
"tags": [],
|
|
88
|
+
"text": "Whether to render with rounded corners."
|
|
89
|
+
},
|
|
90
|
+
"attribute": "rounded",
|
|
91
|
+
"reflect": false,
|
|
92
|
+
"defaultValue": "true"
|
|
48
93
|
}
|
|
49
94
|
};
|
|
50
95
|
}
|
|
@@ -9,16 +9,15 @@ export default {
|
|
|
9
9
|
max: 100
|
|
10
10
|
},
|
|
11
11
|
description: 'The progress value (0-100)'
|
|
12
|
-
}
|
|
12
|
+
},
|
|
13
|
+
rounded: { control: 'boolean' }
|
|
13
14
|
},
|
|
14
15
|
args: {
|
|
15
16
|
value: 50 // Default value
|
|
16
17
|
}
|
|
17
18
|
};
|
|
18
19
|
export const Default = {
|
|
19
|
-
render: (args) =>
|
|
20
|
-
<eds-progress-bar value="${args.value}"></eds-progress-bar>
|
|
21
|
-
`,
|
|
20
|
+
render: (args) => `<eds-progress-bar value="${args.value}" rounded="${args.rounded}"></eds-progress-bar>`,
|
|
22
21
|
args: {
|
|
23
22
|
value: 50 // Default progress value for the story
|
|
24
23
|
}
|
|
@@ -39,7 +39,7 @@ export class EdsRating {
|
|
|
39
39
|
this.rating.emit(rating);
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return (h("div", { key: '
|
|
42
|
+
return (h("div", { key: '685ac01e4db577b07d00030b0c25e10b9b0defa8', role: "radiogroup", class: "stars flex space-x-1 my-8" }, Array.from({ length: this.ratingCount }, (_, index) => {
|
|
43
43
|
const starRating = index + 1;
|
|
44
44
|
const isSelected = starRating <= this.selectedRating;
|
|
45
45
|
// Use the mapping text if available; otherwise, fall back to a generic label.
|
|
@@ -9,6 +9,9 @@ import { h } from "@stencil/core";
|
|
|
9
9
|
*
|
|
10
10
|
* This component is suitable for organizing content into clearly defined sections with semantic HTML structure.
|
|
11
11
|
*/
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
12
15
|
export class EdsSectionCore {
|
|
13
16
|
constructor() {
|
|
14
17
|
this.tag = 'section';
|
|
@@ -17,9 +20,10 @@ export class EdsSectionCore {
|
|
|
17
20
|
}
|
|
18
21
|
render() {
|
|
19
22
|
const TagType = this.tag; // Set dynamic tag type (div or section)
|
|
20
|
-
return (h(TagType, { key: '
|
|
23
|
+
return (h(TagType, { key: 'ff0b28dffb8aca2ad0ac1ee3eea7ebda75078f96' }, h("eds-section-heading", { key: '23e9bb2b084c6b8a534dd310fbe10e0de0211187', headingLevel: this.headingLevel, sectionTitle: this.sectionTitle }), h("slot", { key: '9cae6378bdb5304191d393967025570f94fdcdb2' })));
|
|
21
24
|
}
|
|
22
25
|
static get is() { return "eds-section-core"; }
|
|
26
|
+
static get encapsulation() { return "shadow"; }
|
|
23
27
|
static get originalStyleUrls() {
|
|
24
28
|
return {
|
|
25
29
|
"$": ["eds-section-core.css"]
|
|
@@ -36,12 +36,12 @@ export class EdsSectionHeading {
|
|
|
36
36
|
render() {
|
|
37
37
|
const TagType = this.tag; // Dynamically set tag type for the container
|
|
38
38
|
const HeadingTag = this.headingLevel; // Dynamically set heading level
|
|
39
|
-
return (h(TagType, { key: '
|
|
39
|
+
return (h(TagType, { key: 'bb32f87fd944ebf08ebcde3980c18cd4bed18783', class: {
|
|
40
40
|
'ui-section-header flex flex-wrap items-center justify-between gap-x-12 gap-y-8': true,
|
|
41
41
|
container: this.withContainer,
|
|
42
42
|
'pt-48': this.spacingLarge,
|
|
43
43
|
'pt-28': !this.spacingLarge
|
|
44
|
-
} }, h(HeadingTag, { key: '
|
|
44
|
+
} }, h(HeadingTag, { key: '0cd8ea8aada58e30675579c82ba130b40257c7c6', class: this.getHeadingClass() }, this.sectionTitle)));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "eds-section-heading"; }
|
|
47
47
|
static get properties() {
|
|
@@ -37,7 +37,7 @@ export class EdsSpinner {
|
|
|
37
37
|
alignItems: 'center',
|
|
38
38
|
justifyContent: 'center'
|
|
39
39
|
};
|
|
40
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: '214876a56949c147e74c1a7072406234c2fb1a02' }, h("div", { key: 'b75b639fa38aafaf13e1eb727e28c5e67f3edafe', class: "spinner-overlay", style: overlayStyle }, h("span", { key: '87ba2ef7e1e9601ac0ae8132e9c891b4149a20b5', class: "spinner", style: spinnerStyle }))));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "eds-spinner"; }
|
|
43
43
|
static get encapsulation() { return "shadow"; }
|
|
@@ -8,8 +8,11 @@
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.switch-label {
|
|
11
|
-
font-
|
|
12
|
-
|
|
11
|
+
font-family: var(--f-ui-02-light-fontFamily);
|
|
12
|
+
font-weight: var(--f-ui-02-light-fontWeight);
|
|
13
|
+
font-size: var(--f-ui-02-light-fontSize);
|
|
14
|
+
line-height: var(--f-ui-02-light-lineHeight);
|
|
15
|
+
letter-spacing: var(--f-ui-02-light-letterSpacing);
|
|
13
16
|
}
|
|
14
17
|
|
|
15
18
|
/* Base styling for the switch button */
|
|
@@ -55,4 +58,12 @@ button.switch.switch--disabled {
|
|
|
55
58
|
|
|
56
59
|
button.switch.switch--checked .switch-handle {
|
|
57
60
|
transform: translateX(24px);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.ml-8 {
|
|
64
|
+
margin-left: 0.5rem;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.mr-8 {
|
|
68
|
+
margin-right: 0.5rem;
|
|
58
69
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
+
import { sendAnalytics } from "../../utils/analytics";
|
|
2
3
|
export class EdsSwitch {
|
|
3
4
|
constructor() {
|
|
4
5
|
this.toggleSwitch = () => {
|
|
@@ -6,7 +7,13 @@ export class EdsSwitch {
|
|
|
6
7
|
return;
|
|
7
8
|
}
|
|
8
9
|
this.checked = !this.checked;
|
|
9
|
-
this.
|
|
10
|
+
this.uiswitch.emit(this.checked);
|
|
11
|
+
sendAnalytics({
|
|
12
|
+
category: 'ui-component',
|
|
13
|
+
tag: this.el.tagName.toLowerCase(),
|
|
14
|
+
name: this.checked ? this.labelOn : this.labelOff || '',
|
|
15
|
+
action: 'checked'
|
|
16
|
+
});
|
|
10
17
|
};
|
|
11
18
|
this.checked = false;
|
|
12
19
|
this.disabled = false;
|
|
@@ -16,11 +23,11 @@ export class EdsSwitch {
|
|
|
16
23
|
render() {
|
|
17
24
|
// Compute an accessible name based on state.
|
|
18
25
|
const accessibleLabel = this.labelOn || this.labelOff ? (this.checked ? this.labelOn : this.labelOff) : 'Toggle switch';
|
|
19
|
-
return (h("div", { key: '
|
|
26
|
+
return (h("div", { key: '442876be1bad7ea8c9e383bc68b192a2744c38f9', class: "switch-container" }, this.labelOff && h("span", { key: 'e4a7b01c0188d26e5b6524741b1c8ef66e357e35', class: "switch-label switch-label--off mr-8" }, this.labelOff), h("button", { key: 'f56b3762622671acf793568a96567193c38999c7', type: "button", role: "switch", "aria-checked": this.checked ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-label": accessibleLabel, class: {
|
|
20
27
|
switch: true,
|
|
21
28
|
'switch--checked': this.checked,
|
|
22
29
|
'switch--disabled': this.disabled
|
|
23
|
-
}, onClick: this.toggleSwitch, disabled: this.disabled }, h("span", { key: '
|
|
30
|
+
}, onClick: this.toggleSwitch, disabled: this.disabled }, h("span", { key: 'b76e89a1e37130542dd86ce3aed8c5690aeeda63', class: "switch-handle" })), this.labelOn && h("span", { key: '4e5d4f8a2f19bb612a17fa73e441e7e718b71508', class: "switch-label switch-label--on ml-8" }, this.labelOn)));
|
|
24
31
|
}
|
|
25
32
|
static get is() { return "eds-switch"; }
|
|
26
33
|
static get encapsulation() { return "shadow"; }
|
|
@@ -112,8 +119,8 @@ export class EdsSwitch {
|
|
|
112
119
|
}
|
|
113
120
|
static get events() {
|
|
114
121
|
return [{
|
|
115
|
-
"method": "
|
|
116
|
-
"name": "
|
|
122
|
+
"method": "uiswitch",
|
|
123
|
+
"name": "uiswitch",
|
|
117
124
|
"bubbles": true,
|
|
118
125
|
"cancelable": true,
|
|
119
126
|
"composed": true,
|
|
@@ -128,4 +135,5 @@ export class EdsSwitch {
|
|
|
128
135
|
}
|
|
129
136
|
}];
|
|
130
137
|
}
|
|
138
|
+
static get elementRef() { return "el"; }
|
|
131
139
|
}
|
|
@@ -174,15 +174,15 @@ export class EdsTable {
|
|
|
174
174
|
const columnWidth = visibleColumnsCount > 0 ? Math.floor((currentContainerWidth / visibleColumnsCount) * this.divisionFactor()) : 100;
|
|
175
175
|
const paginatedRows = this.getPaginatedRows();
|
|
176
176
|
const lastPage = Math.ceil(this.totalRows / this.rowsPerPage);
|
|
177
|
-
return (h("div", { key: '
|
|
177
|
+
return (h("div", { key: '81735ac374853c8c92b3f50e26263ff9d71b326c' }, this.searchEnabled && (h("div", { key: '0b2ab8dbb343033f605e2028890bd963cd650998' }, h("eds-input-field", { key: 1, name: "search", "aria-label": "Search", type: "text", placeholder: "Search...",
|
|
178
178
|
// @ts-ignore
|
|
179
|
-
onInput: (event) => this.handleSearch(event) }))), h("div", { key: '
|
|
179
|
+
onInput: (event) => this.handleSearch(event) }))), h("div", { key: 'eb3eebe6fb124d4e1983b2fb7e636707817d36bd', class: "mt-20" }, h("table", { key: '03b312ac20bdec28843a46907a3cc4fba69f62ae', class: "block overflow-x-auto mt-6 p-0" }, h("thead", { key: 'ccab58dc46ae765df28da97ded6b1dd14d45d7f1' }, h("tr", { key: '904a125aad610cebe42b0bce46615be38f0ee17a', class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((column) => {
|
|
180
180
|
var _a;
|
|
181
181
|
return !((_a = this.parsedConfig[column]) === null || _a === void 0 ? void 0 : _a.hidden) && (h("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }, column));
|
|
182
|
-
}))), h("tbody", { key: '
|
|
182
|
+
}))), h("tbody", { key: 'a4c54c9c89d15546020dbb684e5486decde33f30' }, paginatedRows.map((row) => (h("tr", { class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((column) => {
|
|
183
183
|
var _a;
|
|
184
184
|
return !((_a = this.parsedConfig[column]) === null || _a === void 0 ? void 0 : _a.hidden) && (h("td", { class: "text-center border border-softer m-0 py-8 f-ui-2 break-words", style: { minWidth: `${columnWidth - 4}px` } }, this.renderCell(row[column], column)));
|
|
185
|
-
}))))))), this.shouldEnablePagination() && (h("div", { key: '
|
|
185
|
+
}))))))), this.shouldEnablePagination() && (h("div", { key: '2a248cbbe81ac8c1ad4dfbb49a9615f15931bac6', class: "mt-20" }, h("eds-pagination", { key: '11701d81922ca4c8b36fe82be32316a175eddbcd', currentPage: this.currentPage, lastPage: lastPage, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })))));
|
|
186
186
|
}
|
|
187
187
|
static get is() { return "eds-table"; }
|
|
188
188
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,10 +10,6 @@ export default {
|
|
|
10
10
|
control: 'object',
|
|
11
11
|
description: 'Column configurations (hiding and formatting)'
|
|
12
12
|
},
|
|
13
|
-
endpoint: {
|
|
14
|
-
control: 'text',
|
|
15
|
-
description: 'API endpoint to fetch data from'
|
|
16
|
-
},
|
|
17
13
|
rowsPerPage: {
|
|
18
14
|
control: { type: 'number' },
|
|
19
15
|
description: 'Number of rows displayed per page'
|
|
@@ -66,7 +62,6 @@ export const Default = {
|
|
|
66
62
|
rows-per-page="${args.rowsPerPage}"
|
|
67
63
|
pagination-enabled="${args.paginationEnabled}"
|
|
68
64
|
search-enabled="${args.searchEnabled}"
|
|
69
|
-
endpoint="${args.endpoint || ''}"
|
|
70
65
|
column-size="${args.columnSize}"
|
|
71
66
|
></eds-table>
|
|
72
67
|
`,
|
|
@@ -79,21 +74,16 @@ export const Default = {
|
|
|
79
74
|
rowsPerPage: 5,
|
|
80
75
|
paginationEnabled: true,
|
|
81
76
|
searchEnabled: true,
|
|
82
|
-
endpoint: '', // Leave empty for manual data entry
|
|
83
77
|
columnSize: 'default'
|
|
84
78
|
}
|
|
85
79
|
};
|
|
86
80
|
export const WithEndpoint = {
|
|
87
81
|
render: (args) => `
|
|
88
82
|
<eds-table
|
|
89
|
-
endpoint="${args.endpoint}"
|
|
90
83
|
rows-per-page="${args.rowsPerPage}"
|
|
91
84
|
pagination-enabled="${args.paginationEnabled}"
|
|
92
85
|
search-enabled="${args.searchEnabled}"
|
|
93
86
|
host-width="600"
|
|
94
87
|
column-size="${args.columnSize}"
|
|
95
|
-
></eds-table
|
|
96
|
-
args: {
|
|
97
|
-
endpoint: 'http://127.0.0.1:5001/api/catalogue'
|
|
98
|
-
}
|
|
88
|
+
></eds-table>`
|
|
99
89
|
};
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
line-height: var(--f-ui-01-lineHeight);
|
|
6
6
|
letter-spacing: var(--f-ui-01-letterSpacing);
|
|
7
7
|
}
|
|
8
|
+
|
|
8
9
|
.f-ui-03 {
|
|
9
10
|
font-family: var(--f-ui-03-fontFamily);
|
|
10
11
|
font-weight: var(--f-ui-03-fontWeight);
|
|
@@ -12,6 +13,7 @@
|
|
|
12
13
|
line-height: var(--f-ui-03-lineHeight);
|
|
13
14
|
letter-spacing: var(--f-ui-03-letterSpacing);
|
|
14
15
|
}
|
|
16
|
+
|
|
15
17
|
.f-ui-05 {
|
|
16
18
|
font-family: var(--f-ui-05-fontFamily);
|
|
17
19
|
font-weight: var(--f-ui-05-fontWeight);
|
|
@@ -19,83 +21,91 @@
|
|
|
19
21
|
line-height: var(--f-ui-05-lineHeight);
|
|
20
22
|
letter-spacing: var(--f-ui-05-letterSpacing);
|
|
21
23
|
}
|
|
22
|
-
|
|
23
|
-
padding-top: 0.0625rem;
|
|
24
|
-
padding-bottom: 0.0625rem;
|
|
25
|
-
}
|
|
24
|
+
|
|
26
25
|
.py-2 {
|
|
27
26
|
padding-top: 0.125rem;
|
|
28
27
|
padding-bottom: 0.125rem;
|
|
29
28
|
}
|
|
29
|
+
|
|
30
30
|
.py-3 {
|
|
31
31
|
padding-top: 0.1875rem;
|
|
32
32
|
padding-bottom: 0.1875rem;
|
|
33
33
|
}
|
|
34
|
+
|
|
34
35
|
.py-4 {
|
|
35
36
|
padding-top: 0.25rem;
|
|
36
37
|
padding-bottom: 0.25rem;
|
|
37
38
|
}
|
|
38
|
-
|
|
39
|
-
padding-left: 0.125rem;
|
|
40
|
-
padding-right: 0.125rem;
|
|
41
|
-
}
|
|
42
|
-
.px-3 {
|
|
43
|
-
padding-left: 0.1875rem;
|
|
44
|
-
padding-right: 0.1875rem;
|
|
45
|
-
}
|
|
39
|
+
|
|
46
40
|
.px-4 {
|
|
47
41
|
padding-left: 0.25rem;
|
|
48
42
|
padding-right: 0.25rem;
|
|
49
43
|
}
|
|
44
|
+
|
|
50
45
|
.px-5 {
|
|
51
46
|
padding-left: 0.3125rem;
|
|
52
47
|
padding-right: 0.3125rem;
|
|
53
48
|
}
|
|
49
|
+
|
|
54
50
|
.px-6 {
|
|
55
51
|
padding-left: 0.375rem;
|
|
56
52
|
padding-right: 0.375rem;
|
|
57
53
|
}
|
|
54
|
+
|
|
58
55
|
.border-2 {
|
|
59
56
|
border-width: 2px;
|
|
60
57
|
}
|
|
58
|
+
|
|
61
59
|
.rounded-pill {
|
|
62
60
|
border-radius: 100px;
|
|
63
61
|
}
|
|
62
|
+
|
|
64
63
|
.border-default {
|
|
65
64
|
border: 2px solid var(--black);
|
|
66
65
|
}
|
|
66
|
+
|
|
67
67
|
.text-inverse {
|
|
68
68
|
color: var(--white);
|
|
69
69
|
}
|
|
70
|
+
|
|
70
71
|
.bg-accent {
|
|
71
72
|
background-color: var(--green-500);
|
|
72
73
|
}
|
|
74
|
+
|
|
73
75
|
.bg-strongest {
|
|
74
76
|
background-color: var(--black);
|
|
75
77
|
}
|
|
78
|
+
|
|
76
79
|
.text-\[\#0034CB\] {
|
|
77
80
|
--tw-text-opacity: 1;
|
|
78
81
|
color: rgb(0 52 203 / var(--tw-text-opacity));
|
|
79
82
|
}
|
|
83
|
+
|
|
80
84
|
.border-\[\#0034CB\] {
|
|
81
85
|
--tw-border-opacity: 1;
|
|
82
86
|
border: 2px solid rgb(0 52 203 / var(--tw-border-opacity));
|
|
83
87
|
}
|
|
88
|
+
|
|
84
89
|
.text-light {
|
|
85
90
|
color: var(--grey-700);
|
|
86
91
|
}
|
|
92
|
+
|
|
87
93
|
.bg-strongest-soft {
|
|
88
94
|
background-color: rgba(0, 0, 0, .05);
|
|
89
95
|
}
|
|
96
|
+
|
|
90
97
|
.border-transparent {
|
|
91
98
|
border-color: var(--transparent);
|
|
92
99
|
}
|
|
100
|
+
|
|
93
101
|
.border-inverse {
|
|
94
102
|
border-color: var(--white);
|
|
95
103
|
}
|
|
104
|
+
|
|
96
105
|
.bg-inverse {
|
|
97
106
|
background-color: var(--white);
|
|
98
107
|
}
|
|
108
|
+
|
|
99
109
|
.text-lighter {
|
|
100
110
|
color: var(--grey-600);
|
|
101
111
|
}
|
|
@@ -36,7 +36,7 @@ export class EdsTag {
|
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
38
|
const classes = tagStyles({ intent: this.intent, size: this.size });
|
|
39
|
-
return h("span", { key: '
|
|
39
|
+
return h("span", { key: '78ef2d9ed4fc79f078df2fe418c339fc8934eef2', class: classes }, this.label);
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "eds-tag"; }
|
|
42
42
|
static get encapsulation() { return "shadow"; }
|