Material Components v61.0.0 Release Notes
-
๐ 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
inMDCAlertAction
๐ new property:accessibilityHint
inMDCSnackbarMessageView
๐ new property:accessibilityLabel
inMDCSnackbarMessageView
๐ new property:accessibilityHint
inMDCSnackbarMessage
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:
inMDCButtonBarDelegate
๐ | Type of change: | Deprecation message | |---|---| | From: | `
| | To: |
There will be no replacement for this API.` |modified method:
-buttonBar:viewForItem:layoutHints:
inMDCButtonBarDelegate
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
inMDCAlertAction
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
inMDCNavigationBar
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
inMDCSnackbarMessageView
๐ new property:
accessibilityLabel
inMDCSnackbarMessageView
MDCSnackbarMessage
๐ new property:
accessibilityHint
inMDCSnackbarMessage
MDCSnackbarMessageView()
๐ new category:
MDCSnackbarMessageView()
โ removed category:
MDCSnackbarMessageView()
modified property:
snackbarMessageViewTextColor
inMDCSnackbarMessageView()
Type of change: parent.usr From: c:objc(ext)[email protected]@3125
To: c:objc(ext)[email protected]@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)