Material Components v62.1.0 Release Notes
-
๐ This minor release introduces a new auto-sizing List cell implementation, improvements to ๐ ActionSheet, the ability to modify casing behavior on NavigationBar, and bug fixes.
๐ New features
You can now set an accessibilityIdentifier on ActionSheet actions:
let action = MDCActionSheetAction(title: "Title", image: nil, handler: nil) action.accessibilityIdentifier = "Some identifier" actionSheet.addAction(action)
ActionSheet now has a typography themer.
ButtonBar now provides a mechanism for reacting to size changes of its buttons via its delegate.
There is a new self-sizing collection view cell.
NavigationBar exposes a new
uppercasesButtonTitles
property that can be used to change the 0๏ธโฃ auto-uppercasing behavior of the buttons. By default this property is enabled.API changes
ActionSheet
MDCActionSheetAction
๐ new property:
accessibilityIdentifier
inMDCActionSheetAction
modified class:
MDCActionSheetAction
Type of change: Swift declaration From: class MDCActionSheetAction : NSObject, NSCopying
To: class MDCActionSheetAction : NSObject, NSCopying, UIAccessibilityIdentification
modified class:
MDCActionSheetAction
Type of change: Declaration From: @interface MDCActionSheetAction : NSObject <NSCopying>
To: @interface MDCActionSheetAction : NSObject <NSCopying, UIAccessibilityIdentification>
MDCActionSheetController
๐ new property:
transitionController
inMDCActionSheetController
ActionSheet+TypographyThemer
๐ New component.
ButtonBar
MDCButtonBarDelegate
๐ new method:
-buttonBarDidInvalidateIntrinsicContentSize:
inMDCButtonBarDelegate
MDCButtonBar
๐ new property:
uppercasesButtonTitles
inMDCButtonBar
๐ new property:
delegate
inMDCButtonBar
FlexibleHeader+CanAlwaysExpandToMaximumHeight
๐ New component.
General changes
- โก๏ธ updated to newest CbC standard (#4956) (Yarden Eitan)
Component changes
ActionSheet
- Add accessibility identifier (#4944) (Cody Weaver)
- Add example with too many options to fit on screen (#4946) (Cody Weaver)
- Add scrim accessibility properties. (#4919) (Cody Weaver)
- Add typography themer (#4966) (Cody Weaver)
- Always show first option (#4963) (Cody Weaver)
- Make ActionSheet not presentable. (#4995) (Robert Moore)
- โก๏ธ Update test to guard against silent fail (#4969) (Cody Weaver)
BottomAppBar
BottomNavigation
- โก๏ธ Update ripple color for unselected items. (#4950) (Robert Moore)
ButtonBar
- Add a buttonBarDidInvalidateIntrinsicContentSize API to the delegate. (#4932) (featherless)
- Add uppercasesButtonTitles API for modifying title casing behavior. (#4935) (featherless)
FlexibleHeader
- ๐ง Add buttons to the configurator demo for shifting the header on/off-screen. (#4979) (featherless)
- Add new canAlwaysExpandToMaximumHeight behavior. (#4978) (featherless)
- โช Revert "Add new canAlwaysExpandToMaximumHeight behavior. (#4794)" (#4976) (featherless)
- โก๏ธ updated to newest CbC standard (#4956) (Yarden Eitan)
List
- Add Self Sizing Stereo Cell (#4953) (Andrew Overton)
NavigationBar
ProgressView
ShadowElevations
Tabs
TextFields