v55.2.0
This minor release includes new Snackbar features and minor improvements to the Catalog.
New features
Snackbar now allows you to change the snackbar message alignment on iPad. For example:
MDCSnackbarManager.alignment = MDCSnackbarAlignmentLeading;Snackbar also exposes a delegate for theming snackbar messages.
MDCSnackbarManager.delegate = appDelegate;
- (void)willPresentSnackbarWithMessageView:(nullable MDCSnackbarMessageView *)messageView {
// You can theme the individual messageView.actionButtons here.
}There is a new shadow elevation constant, MDCShadowElevationBottomNavigationBar.
API changes
ShadowElevations
MDCShadowElevationBottomNavigationBar
new constant: MDCShadowElevationBottomNavigationBar
Snackbar
MDCSnackbarAlignment
new enum value: MDCSnackbarAlignmentCenter in MDCSnackbarAlignment
new enum value: MDCSnackbarAlignmentLeading in MDCSnackbarAlignment
new enum: MDCSnackbarAlignment
MDCSnackbarMessageView
new property: actionButtons in MDCSnackbarMessageView
MDCSnackbarManager
new property: delegate in MDCSnackbarManager
new property: alignment in MDCSnackbarManager
MDCSnackbarManagerDelegate
new protocol: MDCSnackbarManagerDelegate
new method: -willPresentSnackbarWithMessageView: in MDCSnackbarManagerDelegate
Component changes
Tabs
Changes
schemes/Typography
Changes
FeatureHighlight
Changes
AppBar
Changes
- Create an example of MDCAppBarContainerViewController usage (#4197) (John Detloff)
- Initialize default color and typography schemes in examples (#4200) (John Detloff)
Buttons
Changes
- Disable flaky test. (#4157) (featherless)
- Initialize default color and typography schemes in examples (#4200) (John Detloff)
ButtonBar
Changes
TextFields
Changes
Chips
Changes
Snackbar
Changes
- Allow Snackbars to have leading alignment on iPads (#4163) (Andrew Overton)
- Exposed the snackbar button class (#4171) (Yarden Eitan)
Slider
Changes
NavigationBar
Changes
ActivityIndicator
Changes
Typography
Changes
- Add unit test to improve coverage (#4198) (ianegordon)
Dialogs
Changes
BottomNavigation
Changes
- Fix shadow elevation value (#4195) (Robert Moore)
FlexibleHeader
Changes
ShadowElevations
Changes
- Expose BottomNavigationBar elevation (#4194) (Robert Moore)