Skip to content

Commit

Permalink
feat(progress-indicator): transition on value changes (#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
muratcorlu authored Mar 30, 2023
1 parent 394367c commit 59ea75b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
width: calc(100% / var(--max) * var(--value));
background-color: var(--value-color);
border-radius: var(--radius);
transition: width ease var(--bl-progress-indicator-transition-duration, .2s);
}

:host([size='small']) .progress-indicator {
Expand Down
1 change: 1 addition & 0 deletions src/components/progress-indicator/bl-progress-indicator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export type ProgressIndicatorSize = 'small' | 'medium' | 'large';
* @tag bl-progress-indicator
* @summary Baklava Progress Indicator component
*
* @cssproperty [--bl-progress-indicator-transition-duration=.2s] Duration of the transition of progress bar
* @property {max} [max=100]
* @property {number} [value=0]
*/
Expand Down

0 comments on commit 59ea75b

Please sign in to comment.