v62.1.0
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
auto-uppercasing behavior of the buttons. By default this property is enabled.
API changes
ActionSheet
MDCActionSheetAction
new property: accessibilityIdentifier in MDCActionSheetAction
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 in MDCActionSheetController
ActionSheet+TypographyThemer
New component.
ButtonBar
MDCButtonBarDelegate
new method: -buttonBarDidInvalidateIntrinsicContentSize: in MDCButtonBarDelegate
MDCButtonBar
new property: uppercasesButtonTitles in MDCButtonBar
new property: delegate in MDCButtonBar
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)