We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
The current way that we enable and change progressbar label isn't very clear:
For example, in the case of the screenshot:
labelPosition: "none"
labelProgress: true
What is the expected result here? Should it display the label or not? What does none mean for the position?
none
To Reproduce Steps to reproduce the behavior:
Check the storybook
Expected behavior
I would like to have more flexible labeling for the progressbar. I think that we should have two labels:
textLabel
progressLabel
I also would like to play with both positions and enable/disable them.
Screenshots
N/A
System information:
Project information:
Additional context
The text was updated successfully, but these errors were encountered:
fix(progressbar): fix unclear label usage (themesberg#468)
bcbf309
feat(/src/components/progress): fix unclear label usage (#468) (#547)
f9cad02
Clarifies confusing behavior for `<Progress>`. ## Breaking Changes - `<Progress label={}>` -> `<Progress textLabel={}>` - `<Progress labelPosition={}>` -> `<Progress progressLabelPosition={} textLabelPosition={}>` * fix(progressbar): fix unclear label usage (#468) * fix: add spacing to labels * add percentage symbol to inside progress label * add unit tests * fix code formatting * add unit tests --------- Co-authored-by: Ricardo Lüders <[email protected]> Co-authored-by: Conner Davis <[email protected]>
Successfully merging a pull request may close this issue.
Describe the bug
The current way that we enable and change progressbar label isn't very clear:
For example, in the case of the screenshot:
labelPosition: "none"
labelProgress: true
What is the expected result here? Should it display the label or not? What does
none
mean for the position?To Reproduce
Steps to reproduce the behavior:
Check the storybook
Expected behavior
I would like to have more flexible labeling for the progressbar. I think that we should have two labels:
textLabel
, which could handle any custom text.progressLabel
, which would handle the percent number of the progress bar.I also would like to play with both positions and enable/disable them.
Screenshots
N/A
System information:
N/A
Project information:
Additional context
N/A
The text was updated successfully, but these errors were encountered: