Material Components v60.2.0 Release Notes
-
๐ In this minor release we updated examples imports, added an API to set the ink color of buttons ๐ and started the deprecation of some AppBar APIs.
๐ New deprecations
- ๐ Deprecated
MDCAppBarTextColorAccessibilityMutator
.
๐ Will be deprecated
FlexibleHeader
๐ New features
- AlertController got a new buttonInkColor property so you can specify the color of the ink.
MDCAlertController *alert = [MDCAlertController alertControllerWithTitle:@"title" message:@"message"]; alert.buttonInkColor = testColor;
API changes
AppBar
MDCAppBarTextColorAccessibilityMutator
๐ deprecated class:
MDCAppBarTextColorAccessibilityMutator
๐ deprecated method:
-mutate:
inMDCAppBarTextColorAccessibilityMutator
๐ Dialogs
MDCAlertController
๐ new property:
buttonInkColor
inMDCAlertController
MDCAlertControllerView
๐ new property:
buttonInkColor
inMDCAlertControllerView
FlexibleHeader
MDCFlexibleHeaderView()
๐ moved category:
MDCFlexibleHeaderView()
modified property:
contentView
inMDCFlexibleHeaderView()
Component changes
MaskedTransition
๐ Changes
- Fix Swift imports (#4828) (Robert Moore)
๐ FeatureHighlight
๐ Changes
- Fix crash when backgrounding and re-opening app. (#4796) (Andrew Overton)
AppBar
๐ Changes
- Make migration links be actual links (#4808) (featherless)
- ๐ Mark MDCAppBarTextColorAccessibilityMutator as deprecated. (#4807) (featherless)
Buttons
๐ Changes
- fix the text overlapping safeArea issue on (Wenyu Zhang)
TextFields
๐ Changes
- โก๏ธ Trigger layout pass to update borderView.borderLayer (#4815) (Andrew Overton)
Chips
๐ Changes
- Example respects safe area (#4856) (Joe Aguilar)
Cards
๐ Changes
- Fix Swift imports (#4826) (Robert Moore)
- Fix example IBOutlet (#4827) (Robert Moore)
BottomAppBar
๐ Changes
- Fix typo in the readme (#4869) (Brad Mallow)
ShadowLayer
๐ Changes
List
๐ Changes
- Fix Swift imports (#4828) (Robert Moore)
ActivityIndicator
๐ Changes
- 0๏ธโฃ Default demo to .determinate (#4855) (Robert Moore)
- Fix example conditional (#4843) (Robert Moore)
BottomSheet
๐ Changes
- Add Safe Area Handling Example (#4870) (danblakemore)
๐ Dialogs
๐ Changes
- Adding 'buttonInkColor' (#4847) (Robert Moore)
BottomNavigation
๐ Changes
- Button for badge increment. (#4857) (Robert Moore)
AnimationTiming
๐ Changes
- Add button to start animation. (#4852) (Robert Moore)
HeaderStackView
๐ Changes
- ๐ Remove the header stack view examples. (#4811) (featherless)
FlexibleHeader
๐ Changes
- ๐ Add WKWebView considerations docs. (#4801) (featherless)
- โฑ Add a deprecation schedule for minMaxHeightIncludesSafeArea. (#4810) (featherless)
- Fix bug where orientation changes would result in incorrect contentOffset. (#4860) (featherless)
- ๐ Mark minMaxHeightIncludesSafeArea as to be deprecated. (#4809) (featherless)
ProgressView
๐ Changes
- Add 'animate' button to example. (#4863) (Robert Moore)
- Use schemes in example. (#4859) (Robert Moore)
- ๐ Deprecated