forked from patternfly/patternfly-react
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Progress): use max parameter to scale value of progress bar (pat…
…ternfly#950) * feat(Progress): use max parameter to scale value of progress bar Previously, the max parameter acted as a hard limit to the progress value. * fix(Progress): update Progress bar to reflect proper demo behavior in core Changed logic to always show status icon if present regardless if label/value should be displayed. This matches behavior in pf-next. * feat(Progress): update min parameter to scale progress value Change scaling logic to account for both max and min, instead of only max. * test(Progress): Add tests and add missing snapshot
- Loading branch information
Showing
4 changed files
with
351 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.