v61.0.0
WARNING: This release has a known regression in FlexibleHeader. Please consider skipping this release.
In this breaking release we drop support for Xcode 8 and landed two new components in an Alpha state (not ready for clients to use yet).
Breaking changes
No longer support Xcode 8.
New deprecations
-buttonBar:viewForItem:layoutHints:inMDCButtonBarDelegate
New features
More accessibility APIs
new property: accessibilityIdentifier in MDCAlertAction
new property: accessibilityHint in MDCSnackbarMessageView
new property: accessibilityLabel in MDCSnackbarMessageView
new property: accessibilityHint in MDCSnackbarMessage
Alpha components
- ActionSheets
ActionSheets present a list of actions from the bottom of the screen.
- NavigationDrawer
NavigationDrawer provides a container that presents from the bottom of the screen and also responds
to drag gestures to flick to full screen, half screen or off screen.
API changes
ActionSheet
New component.
ButtonBar
MDCButtonBarDelegate
modified method: -buttonBar:viewForItem:layoutHints: in MDCButtonBarDelegate
| Type of change: | Deprecation message |
|---|---|
| From: | `` |
| To: | There will be no replacement for this API. |
modified method: -buttonBar:viewForItem:layoutHints: in MDCButtonBarDelegate
| Type of change: | Swift declaration |
|---|---|
| From: | func buttonBar(_ buttonBar: MDCButtonBar, viewForItem barButtonItem: Any!, layoutHints: Any!) -> Any! |
| To: | optional func buttonBar(_ buttonBar: MDCButtonBar, viewForItem barButtonItem: Any!, layoutHints: Any!) -> Any! |
Dialogs
MDCAlertAction
new property: accessibilityIdentifier in MDCAlertAction
modified class: MDCAlertAction
| Type of change: | Declaration |
|---|---|
| From: | @interface MDCAlertAction : NSObject <NSCopying> |
| To: | @interface MDCAlertAction : NSObject <NSCopying, UIAccessibilityIdentification> |
FlexibleHeader+CanAlwaysExpandToMaximumHeight
New component.
NavigationBar
MDCNavigationBar
modified property: titleTextAttributes in MDCNavigationBar
| Type of change: | Declaration |
|---|---|
| From: | @property(nonatomic, copy, nullable) NSDictionary<NSAttributedStringKey, id> *titleTextAttributes |
| To: | @property (readwrite, copy, nonatomic, nullable) NSDictionary<NSAttributedStringKey, id> *titleTextAttributes; |
NavigationDrawer
New component.
Snackbar
MDCSnackbarMessageView
new property: accessibilityHint in MDCSnackbarMessageView
new property: accessibilityLabel in MDCSnackbarMessageView
MDCSnackbarMessage
new property: accessibilityHint in MDCSnackbarMessage
MDCSnackbarMessageView()
new category: MDCSnackbarMessageView()
removed category: MDCSnackbarMessageView()
modified property: snackbarMessageViewTextColor in MDCSnackbarMessageView()
| Type of change: | parent.usr |
|---|---|
| From: | c:objc(ext)MDCSnackbarMessageView@MDCSnackbarMessageView.h@3125 |
| To: | c:objc(ext)MDCSnackbarMessageView@MDCSnackbarMessageView.h@3411 |
Component changes
Tabs
Changes
- Fix Tab Bar theming and background color issue (#4841) (Wenyu Zhang)
- Remove all __IPHONE_11_0 checks now that we no longer support Xcode 8. (#4915) (featherless)
AppBar
Changes
- Remove all __IPHONE_11_0 checks now that we no longer support Xcode 8. (#4915) (featherless)
- Use objc_subclassing_restricted attributes directly instead of a macro (#4876) (featherless)
- [FlexibleHeader] Add a note regarding the need to clear trackingScrollView. (#4877) (featherless)
Ink
Changes
- Fix demo being clipped by safe area issue (#384) (Wenyu Zhang)
ActionSheet
Changes
- Add Action sheet (#4830) (Cody Weaver)
- Update header to support RTL (#4926) (Cody Weaver)
- add missing .jazzy.yaml files (#4939) (Yarden Eitan)
CollectionCells
Changes
- Support more than three lines in MDCCollectionViewTextCell? (#4718) (Andrew Overton)
Buttons
Changes
ButtonBar
Changes
- Add support for pure Swift class button invocations. (#4878) (featherless)
- Annotate MDCButtonBarDelegate's only API as deprecated. (#4931) (featherless)
- Remove unnecessary ColorThemer dependency on NavigationBar. (#4885) (featherless)
- [ButtonBar|NavigationBar] Remove custom iPad heights. (#4874) (featherless)
TextFields
Changes
- Do not set placeholderLabel.textColor to active color while editing with non-floating placeholder (#4850) (Andrew Overton)
- Remove all __IPHONE_11_0 checks now that we no longer support Xcode 8. (#4915) (featherless)
Chips
Changes
- Make collectionView in Chip Demo respect safe area (#4896) (Wenyu Zhang)
- Remove all __IPHONE_11_0 checks now that we no longer support Xcode 8. (#4915) (featherless)
Snackbar
Changes
- API to set
accessibilityHint. (#4924) (Robert Moore) - Remove all __IPHONE_11_0 checks now that we no longer support Xcode 8. (#4915) (featherless)
NavigationDrawer
Changes
- Adding the navigation drawer component (#4886) (guylivneh)
- Initial doc write-up of overview, and usage. (#4927) (Yarden Eitan)
BottomAppBar
Changes
Slider
Changes
- Respect safe area (#4912) (Cody Weaver)
- Update examples for safeAreaInsets and schemes (#4897) (Cody Weaver)
NavigationBar
Changes
- Add a flag that makes it possible to set any font size. (#4879) (featherless)
- Remove all __IPHONE_11_0 checks now that we no longer support Xcode 8. (#4915) (featherless)
- [ButtonBar|NavigationBar] Remove custom iPad heights. (#4874) (featherless)
LibraryInfo
Changes
ShadowLayer
Changes
List
Changes
- Remove all __IPHONE_11_0 checks now that we no longer support Xcode 8. (#4915) (featherless)
- add missing .jazzy.yaml files (#4939) (Yarden Eitan)
ActivityIndicator
Changes
- Fix activity indicator layout by autoresizingMask (#4913) (Wenyu Zhang)
- Use objc_subclassing_restricted attributes directly instead of a macro (#4876) (featherless)
BottomSheet
Changes
Typography
Changes
Dialogs
Changes
- Add accessibilityIdentifier to Actions. (#4917) (Robert Moore)
- Remove all __IPHONE_11_0 checks now that we no longer support Xcode 8. (#4915) (featherless)
BottomNavigation
Changes
PageControl
Changes
AnimationTiming
Changes
Collections
Changes
FlexibleHeader
Changes
- Add a note regarding the need to clear trackingScrollView. (#4877) (featherless)
- Add new canAlwaysExpandToMaximumHeight behavior. (#4794) (featherless)
- Remove all __IPHONE_11_0 checks now that we no longer support Xcode 8. (#4915) (featherless)