14 Commits

Author SHA1 Message Date
Luke Vo
c7e26b5e93 Added back the buffer check vs. max value 2024-02-21 09:09:31 +07:00
Luke Vo
2512f55c1d Removed linear progress buffer clamping 2024-02-17 11:54:59 +07:00
Luke Vo
a8a9d56581 Buffer default value is now 0 and added some code cleanup. 2024-02-15 17:28:38 +07:00
Luke Vo
e4b8ef521f Added null check for buffer (due to possibility of attribute removal) 2023-12-27 20:32:02 -06:00
Luke Vo
8fa444c986 fix(progress): progress buffer defaults to negative. 2023-12-27 16:26:06 -06:00
Copybara-Service
689f9459c2 Merge pull request #5311 from christophe-g:cg-remove-unecessary-progress-animation
PiperOrigin-RevId: 594013260
2023-12-27 08:11:01 -08:00
christophe-g
f0dab482fd chore(progress): use ternary operator + nothing instead of when 2023-12-18 21:26:00 +01:00
christophe-g
4de5e74b5c fix(progress): prevent unnecessary animation to run when not visible
Progress has an infinite animation on `<div class="dots">`. `.dots` is
only visible when `value` < `max` or `buffer` < `max`. But the animation
runs in any case.
2023-12-18 11:53:52 +01:00
Elizabeth Mitchell
c390291687 chore: format files with prettier
PiperOrigin-RevId: 576601342
2023-10-25 11:59:00 -07:00
Luke Vo
271d1e86be
Update progress/internal/linear-progress.ts
Co-authored-by: Andrew Jakubowicz <spyr1014@gmail.com>
2023-10-23 16:01:04 -05:00
Luke Vo
bbcc3dc07d corrected buffer value description in code doc 2023-10-23 15:53:08 -05:00
Elizabeth Mitchell
f39da54bc5 fix(progress): incorrect HCM colors
PiperOrigin-RevId: 557594392
2023-08-16 13:59:14 -07:00
Elizabeth Mitchell
07d77da034 chore(fab): remove ResizeObserver
PiperOrigin-RevId: 557552908
2023-08-16 11:38:30 -07:00
Andrew Jakubowicz
6ec3f06429 fix!: rename "lib" directory to "internal"
BREAKING CHANGE: Rename `@material/web/<component>/lib` to `@material/web/<component>/internal`. Prefer not using internal files.

PiperOrigin-RevId: 550633216
2023-07-24 12:02:59 -07:00