Material Components v58.0.0 Release Notes
-
๐ 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
inMDCBottomNavigationBar
๐ new property:
itemsContentHorizontalMargin
inMDCBottomNavigationBar
๐ new property:
itemsContentVerticalMargin
inMDCBottomNavigationBar
NavigationBar
MDCNavigationBar
โ removed property:
useFlexibleTopBottomInsets
inMDCNavigationBar
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
- ๐ฅ Breaking: Remove encoding/decoding behavior for custom properties (#4546) (featherless)
ActivityIndicator
๐ Changes
- 0๏ธโฃ 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)