-
Notifications
You must be signed in to change notification settings - Fork 736
feat(UProgress): add circular variant #4120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: v3
Are you sure you want to change the base?
Conversation
commit: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm aware it's still a draft, was just looking around π
@@ -71,6 +85,22 @@ props: | |||
--- | |||
:: | |||
|
|||
### Status Position | |||
|
|||
Use the `statusPosition` prop to define where the status text is displayed. Defaults to `outside`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the `statusPosition` prop to define where the status text is displayed. Defaults to `outside`. | |
Use the `status-position` prop to define where the status text is displayed. Defaults to `outside`. |
@@ -109,6 +139,25 @@ props: | |||
--- | |||
:: | |||
|
|||
### Variant |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You've added Variant
twice.
@@ -746,6 +746,7 @@ This is how the `@theme` is generated for each design token: | |||
--outline-color-default: var(--ui-border); | |||
--outline-color-inverted: var(--ui-border-inverted); | |||
--stroke-color-default: var(--ui-border); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you need this one, let's add them all for stroke
and fill
. So you can add --stroke-color-muted
, --fill-color-muted
and --fill-color-accented
I guess.
β¨ feat(UProgress): add circular variant and statusPosition props
π Linked issue
Resolves #3728
β Type of change
π Description
This PR introduces:
circular
variant for theUProgress
component, allowing a circular visual representation of progress.statusPosition
prop with the following options:"inside"
: displays the status (label or percent) in the center of the circle"outside"
: displays the status outside the circular progress (similar to the linear variant)These changes provide more flexibility for visualizing progress in various use cases.
π Checklist