This repository was archived by the owner on Dec 11, 2025. It is now read-only.
v72.2.0
In this minor release we added scrimColor support for MDCBottomSheetController and added a theming extension support for MDCAlertController. We also added TextFields snapshot testing along with various bug fixes.
New features
Bottom Sheet scrimColor API usage example
MDCBottomSheetController *bottomSheet =
[[MDCBottomSheetController alloc] initWithContentViewController:viewController];
bottomSheet.scrimColor = UIColor.blueColor;
[self presentViewController:bottomSheet animated:YES completion:nil];Dialogs Theming Extension usage example
var scheme: MDCContainerScheming {
let scheme = MDCContainerScheme()
scheme.colorScheme = colorScheme
scheme.typographyScheme = typographyScheme
return scheme
}
...
let alertController = MDCAlertController(title: "Title", message: "Message")
alertController.applyTheme(withScheme: scheme)Bug fixes
{Git-LFS} Exclude git-lfs from stable #5977
API changes
Component changes
Changes
ActionSheet
- Allow changing action item accessibility labels. (#5803) (lightboys22)
BottomSheet
Buttons
- Correct FAB Shape themer documentation. (#5900) (Robert Moore)
- Fix unsafe access to self.bounds.size (#5930) (Robert Moore)
- Improve color themer tests. (#5913) (Robert Moore)
- Match backgroundColor to titleColor API (#5919) (Robert Moore)
- uncomment the test for verifying theming FAB title color (#5923) (Wenyu Zhang)
Chips
Dialogs
- [Dialogs] Renaming example view controllers (#5932) (Galia Kaufman)
- Add dialog category for theming (#5905) (Andrew Overton)
FlexibleHeader
NavigationDrawer
- Fix jump when perferredContentSize changes (#5928) (Cody Weaver)
- Remove clipping view (#5897) (Cody Weaver)
private/KeyboardWatcher
Textfields
- Add FullWidth snapshot tests. (#5953) (Robert Moore)
- Add Outlined snapshot tests (#5939) (Robert Moore)
- Add OutlinedTextArea snapshot tests (#5950) (Robert Moore)
- Add
editingsnapshots for Outlined (#5964) (Robert Moore) - Add clearButton to filled snapshots (#5963) (Robert Moore)
- Post notifications when
isEditingchanges. (#5972) (Robert Moore) - Show clearButton in baseline snapshot (#5962) (Robert Moore)
- Show clearButton in outlined snapshots. (#5961) (Robert Moore)
- Snapshot test for themed Outlined. (#5951) (Robert Moore)
- Snapshot tests for Filled. (#5949) (Robert Moore)
Multi-component changes
- Clean up doc links to guidelines (#5927) (Robert Moore)
- Move verification into test methods (#5947) (Robert Moore)
- Tweak snapshot test base class to handle the verify in tearDown (#5933) (rami-a)
- Update our theming extensions (#5945) (Cody Weaver)
- Update secondary floating action button themer examples (#5922) (Wenyu Zhang)