material-components / material-components-web

Modular and customizable Material Design UI components for the web
https://material.io/develop/web
MIT License
17.12k stars 2.15k forks source link

feat(linearprogress): Implement separate `track-height` and `active-indicator-height` tokens #8086

Closed copybara-service[bot] closed 1 year ago

copybara-service[bot] commented 1 year ago

feat(linearprogress): Implement separate track-height and active-indicator-height tokens

This commit updates track-height to only apply to the track and implements active-indicator-height that only applies to the bar (aka active indicator). Historically, Linear Progress's track-height token applied to both the bar and track. A previous commit added bar-and-track-height that applies to both bar and track, keeping existing functionality intact.