Material Components for iOS v52.0.0 Release Notes
-
๐ฅ Breaking changes
BottomNavigation
- Color themer now only uses
primaryColor
and applies it to theselectedItemTintColor
. It will no longer apply values to eitherunselectedItemTintColor
orbarTintColor
.
TextFields
- 0๏ธโฃ TextFields will no longer default to using Dynamic Type.
- TextFields with floating placeholders now account for the placeholder when computing their bounds.
API Changes
TextFields
0๏ธโฃ MDCTextInputControllerLegacyDefault
modified class:
MDCTextInputControllerLegacyDefault
Type of change: Swift declaration 0๏ธโฃ From: 0๏ธโฃ To: modified class:
MDCTextInputControllerLegacyDefault
Type of change: Declaration 0๏ธโฃ From: 0๏ธโฃ To: MDCTextInputControllerLegacyFullWidth
modified class:
MDCTextInputControllerLegacyFullWidth
Type of change: Swift declaration From: class MDCTextInputControllerLegacyFullWidth : NSObject, MDCTextInputController
To: class MDCTextInputControllerLegacyFullWidth : MDCTextInputControllerFullWidth, NSSecureCoding
modified class:
MDCTextInputControllerLegacyFullWidth
Type of change: Declaration From: @interface MDCTextInputControllerLegacyFullWidth : NSObject <MDCTextInputController>
To: @interface MDCTextInputControllerLegacyFullWidth : MDCTextInputControllerFullWidth <NSSecureCoding>
MDCTextInputController
โ removed property:
textInputFont
inMDCTextInputController
โ removed property:
textInputFontDefault
inMDCTextInputController
Color
๐ New component.
Component changes
Tabs
๐ Changes
- Fix format string types in debug, examples (#3195) (Robert Moore)
schemes/Color
๐ Changes
๐ FeatureHighlight
๐ Changes
- Copy block instead of assign (#3159) (Robert Moore)
- FeatureHighlightViewController should expose FeatureHighlightView as a property. (#3145) (Mohammad Cazi)
- โช Revert "FeatureHighlightViewController should expose FeatureHighlightView as a property. (#3145)" (#3231) (Robert Moore)
Ink
๐ Changes
- โ Fixing static analyzer warnings from Xcode 9.3 (#3196) (Robert Moore)
Buttons
๐ Changes
- โ Fixing static analyzer warnings from Xcode 9.3 (#3196) (Robert Moore)
ButtonBar
๐ Changes
- โช Restore "[AppBar] Make MDCNavigationBar and MDCButtonBar size dynamically (#2974)" (#3243) (Robert Moore)
- โช Revert "[AppBar] Make MDCNavigationBar and MDCButtonBar size dynamically (#2974)" (#3241) (Robert Moore)
TextFields
๐ Changes
- โ Fixing static analyzer warnings from Xcode 9.3 (#3196) (Robert Moore)
- 0๏ธโฃ Make MDCTextInputControllerLegacyDefault a subclass of MDCTextInputControllerBase (#3152) (Mohammad Cazi)
- Make MDCTextInputControllerLegacyFullWidth a subclass of MDCTextInputControllerFullWidth (#3154) (Mohammad Cazi)
- โช Restore Dynamic Type to textInput (#3239) (Robert Moore)
- โช Reverting textInputFont property on inputController. #3232 (Mohammad Cazi)
- 0๏ธโฃ [MDCTextFields + Kokoro] Making textfields dynamic type off by default (#3149) (Yarden Eitan)
Chips
๐ Changes
- ๐ Fix documentation for flow layout class (Robert Moore)
Snackbar
๐ Changes
- โก๏ธ Update content padding for new snackbar, leave old snackbar padding as is. (#3192) (Yarden Eitan)
- added inputAccessory with Snackbar dragon + Fix for it (#3156) (Yarden Eitan)
- โก๏ธ font and color updates. (#3125) (Yarden Eitan)
- โช revert back to before #3106 as this code needs more thorough testing. (#3178) (Yarden Eitan)
NavigationBar
๐ Changes
- Fix RTL for titleView (#3193) (ianegordon)
- โ Fixing static analyzer warnings from Xcode 9.3 (#3196) (Robert Moore)
- โช Restore "[AppBar] Make MDCNavigationBar and MDCButtonBar size dynamically (#2974)" (#3243) (Robert Moore)
- โช Revert "[AppBar] Make MDCNavigationBar and MDCButtonBar size dynamically (#2974)" (#3241) (Robert Moore)
LibraryInfo
๐ Changes
- Bumped version number to 52.0.0. (Rob Moore)
๐ Dialogs
๐ Changes
- Add a Dragons samples to compare UIKit -vs- Material (#3197) (ianegordon)
- ๐ Fixed regression where in some cases tapping on the buttons in the alert would not do anything (#3182) (Julien Poumailloux)
BottomNavigation
๐ Changes
- Simplify color themer (#3116) (Robert Moore)
PageControl
๐ Changes
- [Tabs] Fix format string types in debug, examples (#3195) (Robert Moore)
AnimationTiming
๐ Changes
- โก๏ธ update contrast color for animation timing example (#3198) (Yarden Eitan)
Collections
๐ Changes
- [Tabs] Fix format string types in debug, examples (#3195) (Robert Moore)
FlexibleHeader
๐ Changes
- Check if contentView is nil before the comparison (#3098) (Siyu Song)
- Fix bug where shadow layer's opacity wouldn't be set without a tracking scroll view. (#3201) (featherless)
- โช Revert "Fix bug where shadow layer's opacity wouldn't be set without a tracking scroll view. (#3201)" (#3230) (Robert Moore)
- [Tabs] Fix format string types in debug, examples (#3195) (Robert Moore)
Palettes
๐ Changes
- โ Fixing static analyzer warnings from Xcode 9.3 (#3196) (Robert Moore)
- Color themer now only uses