From 1ead79905b3e09d6d47d27a07f2d6e73d49817c8 Mon Sep 17 00:00:00 2001 From: Wagner Maciel Date: Thu, 20 Apr 2023 14:23:10 -0400 Subject: [PATCH 1/2] docs(material/progress-bar): remove todo * remove todo since MDC claim's our workaround is the intended behavior - b/275625642 --- src/material/progress-bar/progress-bar.scss | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/material/progress-bar/progress-bar.scss b/src/material/progress-bar/progress-bar.scss index 6bdbda72dc5e..811d399d8e2e 100644 --- a/src/material/progress-bar/progress-bar.scss +++ b/src/material/progress-bar/progress-bar.scss @@ -12,10 +12,13 @@ // Add the official slots for the MDC progress-bar. @include mdc-linear-progress-theme.theme-styles( - map.merge($mdc-progress-bar-token-slots, ( - // Excluded because it is meant to be set by theme (b/273562256). - track-color: null, - )) + map.merge( + $mdc-progress-bar-token-slots, + ( + // Excluded because it is meant to be set by theme (b/273562256). + track-color: null + ) + ) ); // Add default values for tokens that aren't outputted by the theming API. @@ -51,7 +54,6 @@ } } - // TODO(wagnermaciel): Switch to using CSS tokens once MDC provides them - b/275625642. // These values were derived from the default values of MDC's linear-progress. --mdc-linear-progress-primary-half: 83.67142%; --mdc-linear-progress-primary-full: 200.611057%; From 4dfdcab4010255b737e37a23bedb30ce2701e2f9 Mon Sep 17 00:00:00 2001 From: Wagner Maciel Date: Fri, 21 Apr 2023 16:00:51 -0400 Subject: [PATCH 2/2] fixup! docs(material/progress-bar): remove todo --- src/material/progress-bar/progress-bar.scss | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/material/progress-bar/progress-bar.scss b/src/material/progress-bar/progress-bar.scss index 811d399d8e2e..ba209a1fffab 100644 --- a/src/material/progress-bar/progress-bar.scss +++ b/src/material/progress-bar/progress-bar.scss @@ -12,13 +12,10 @@ // Add the official slots for the MDC progress-bar. @include mdc-linear-progress-theme.theme-styles( - map.merge( - $mdc-progress-bar-token-slots, - ( - // Excluded because it is meant to be set by theme (b/273562256). - track-color: null - ) - ) + map.merge($mdc-progress-bar-token-slots, ( + // Excluded because it is meant to be set by theme (b/273562256). + track-color: null, + )) ); // Add default values for tokens that aren't outputted by the theming API.