v58.0.0
This major release focused on accessibility and removing property coding/encoding from a variety of
components. It also fixed a bug related to AppBar/FlexibleHeader top layout guide behavior on
pre-iOS 11 devices.
Breaking changes
Property encoding/decoding has been removed from a majority of the components, along with any
related explicit conformances to NSCoding and NSSecureCoding. See the
tracking project to
learn more about the status of this work.
MDCNavigationBar's deprecated useFlexibleTopBottomInsets has been removed.
New features
A variety of accessibility documentation has been added to many of the components.
BottomNavigation has new parameters for the top padding of the nav bar items and the vertical
spacing between the icon and title.
API changes
BottomNavigation
MDCBottomNavigationBar
new property: itemsContentInsets in MDCBottomNavigationBar
new property: itemsContentHorizontalMargin in MDCBottomNavigationBar
new property: itemsContentVerticalMargin in MDCBottomNavigationBar
NavigationBar
MDCNavigationBar
removed property: useFlexibleTopBottomInsets in MDCNavigationBar
Component changes
AppBar
Breaking changes
- Breaking: Mainline the YES behaviour for useFlexibleTopBottomInsets, and remove the already deprecated API. (#4570) (Ali Rabbani)
- Breaking: [FlexibleHeader] Remove NSCoding support. (#4554) (featherless)
- Breaking: [NavigationBar] Remove NSCoding support. (#4560) (featherless)
Changes
- Add docs on making navigationItems accessible with MDCAppBars (#4540) (Andrew Overton)
- [Catalog] Enable AppBar's isTopLayoutGuideAdjustmentEnabled in all examples. (#4537) (featherless)
Ink
Changes
- Make example accessible. (#4506) (Cody Weaver)
Buttons
Breaking changes
- Breaking: Remove NSCoding support. (#4565) (featherless)
Changes
- Disable FAB animation for VoiceOver (#4535) (Robert Moore)
- Fix button README (#4547) (Cody Weaver)
- Make accessibility docs match other components (#4501) (Cody Weaver)
- Removed internal links from docs. (#4559) (Randall Li)
- [Catalog] Enable AppBar's isTopLayoutGuideAdjustmentEnabled in all examples. (#4537) (featherless)
ButtonBar
Breaking changes
- Breaking: Remove NSCoding support. (#4553) (featherless)
TextFields
Changes
- Add accessibility docs for MDCTextField (#4498) (Andrew Overton)
- Fix clear button render scale (#4539) (Robert Moore)
Chips
Breaking changes
- Breaking: Remove NSCoding support. (#4549) (featherless)
Changes
- Add accessibilityHint to clear button in chips example (#4504) (Andrew Overton)
Cards
Breaking changes
- Breaking: Remove NSCoding support. (#4548) (featherless)
Changes
- Add accessibility documentation (#4454) (Galia Kaufman)
Slider
Changes
- Add a11y doc (#4536) (Cody Weaver)
- Support custom increment and decrement levels (#4534) (Cody Weaver)
NavigationBar
Breaking changes
- Breaking: Remove NSCoding support. (#4560) (featherless)
Changes
- Mainline the YES behaviour for useFlexibleTopBottomInsets, and remove the already deprecated API. (#4570) (Ali Rabbani)
ShadowLayer
Breaking changes
ActivityIndicator
Changes
- Change override of AccessibilityLabel with setting it to a default. (#4564) (Randall Li)
- Removed outdated comment. (#4561) (featherless)
BottomSheet
Changes
- Inform delegate of accessibility escape dismissal (#4571) (Andrew Overton)
- [Catalog] Enable AppBar's isTopLayoutGuideAdjustmentEnabled in all examples. (#4537) (featherless)
Dialogs
Changes
- Update A11y docs (#4509) (ianegordon)
- make accessibilityPerformEscape honor MDCDialogPresentationController.dismissOnBackgroundTap (#4508) (Andrew Overton)
BottomNavigation
Changes
- Add a11y to README (#4497) (Cody Weaver)
- Give MDCBottomNavigationBar a TabBar accessibilityTrait (#4510) (Andrew Overton)
- Parameterize top padding and vertical margin (#4432) (John Detloff)
- Removed internal links from docs. (#4558) (Randall Li)
AnimationTiming
Changes
HeaderStackView
Breaking changes
- Breaking: Remove NSCoding support. (#4544) (featherless)
FlexibleHeader
Breaking changes
- Breaking: Update top layout behavior to match documentation. (#4577) (featherless)
- Breaking: Remove NSCoding support. (#4554) (featherless)
Changes
ProgressView
Changes
- Add accessibility docs for MDCProgressView (#4543) (Andrew Overton)