Material Components v56.0.0 Release Notes
-
๐ In this release we updated the icon layout of
MDCTextField
s add accessibilty docs forMDCButton
and some moreMDCBottomNavigation
examples. We also tweeked theMDCChipView
andMDCButtonBar
buttons.๐ฅ Breaking changes
๐ New layout for
MDCTextField
's with iconsAPI changes
TextFields
MDCLeadingViewTextInput
๐ new protocol:
MDCLeadingViewTextInput
๐ new property:
leadingView
inMDCLeadingViewTextInput
๐ new property:
leadingViewMode
inMDCLeadingViewTextInput
MDCTextInputPositioningDelegate
๐ new method:
-leadingViewTrailingPaddingConstant
inMDCTextInputPositioningDelegate
๐ new method:
-leadingViewRectForBounds:defaultRect:
inMDCTextInputPositioningDelegate
๐ new method:
-trailingViewTrailingPaddingConstant
inMDCTextInputPositioningDelegate
๐ new method:
-trailingViewRectForBounds:defaultRect:
inMDCTextInputPositioningDelegate
MDCTextField
modified class:
MDCTextField
Type of change: Swift declaration From: class MDCTextField : MDCTextInput
To: class MDCTextField : MDCTextInput, MDCLeadingViewTextInput
modified class:
MDCTextField
Type of change: Declaration From: @interface MDCTextField : UITextField <MDCTextInput>
To: @interface MDCTextField : UITextField <MDCTextInput, MDCLeadingViewTextInput>
Component changes
Buttons
๐ Changes
- ๐ Updated accessibility documentation and examples (#4418) (Randall Li)
ButtonBar
๐ Changes
- โก๏ธ Update disabled button alpha to match spec (#4430) (Randall Li)
TextFields
๐ Changes
Chips
๐ Changes
- โก๏ธ Update accessibility selected & dimmed states (#4399) (galiak11)
BottomNavigation
๐ Changes
- Add example when we explicitly set color (#4420) (Cody Weaver)
- โก๏ธ Update ripple color to match spec. (#4422) (Cody Weaver)
- Use size classes instead of device orientation to determine layout in bottom navigation (#4424) (Andrew Overton)