v65.0.0
65.0.0
Bottom App Bar got a floatingButtonVerticalOffset property.
ActionSheets continued work. (still in alpha).
AlertController in dialogs: Incremental improvements to bring it up to the design guidelines and so that a themer can style it.
Snackbar API for accessibility.
MDCAppBarTextColorAccessibilityMutator a deprecated class got deleted.
Breaking changes
MDCAppBarTextColorAccessibilityMutator a deprecated class got deleted.
New features
ActionSheet
Action sheet got the color and typography themers.
let actionSheet = MDCActionSheetController()
MDCActionSheetColorThemer.applySemanticColorScheme(colorScheme, to: actionSheet)MDCActionSheetTypographyThemer.applyTypographyScheme(typographyScheme, to: actionSheet)BottomAppBar
Bottom App Bar got a new property to offset the floating button.
bottomAppBar.floatingButtonVerticalOffset = 5.0f;AlertController
AlertController got a themer
MDCAlertScheme *alertScheme = [[MDCAlertScheme alloc] init];
alertScheme.colorScheme = self.colorScheme;
alertScheme.typographyScheme = self.typographyScheme;
[MDCAlertControllerThemer applyScheme:alertScheme toAlertController:alertController];Snackbar
To make Snackbars with action require a user action set the this property to YES.
manager.shouldEnableAccessibilityViewIsModal = YES;
API changes
ActionSheet+ColorThemer
New extension.
ActionSheet
MDCActionSheetController
new property: messageTextColor in MDCActionSheetController
new property: titleTextColor in MDCActionSheetController
new property: inkColor in MDCActionSheetController
new property: actionTintColor in MDCActionSheetController
new property: imageRenderingMode in MDCActionSheetController
new property: actionTextColor in MDCActionSheetController
BottomAppBar
MDCBottomAppBarView
new property: floatingButtonVerticalOffset in MDCBottomAppBarView
Dialogs
MDCAlertController
new property: titleAlignment in MDCAlertController
MDCAlertControllerView
new property: titleAlignment in MDCAlertControllerView
Snackbar
MDCSnackbarManager
new property: shouldEnableAccessibilityViewIsModal in MDCSnackbarManager
Component changes
ActionSheet
- Add color properties to header labels (#5168) (Cody Weaver)
- Add color themer (#5207) (Cody Weaver)
- Add test for setting fonts (#5225) (Cody Weaver)
- Add test for typography theme (#5226) (Cody Weaver)
- Expose ink touch (#5201) (Cody Weaver)
- Expose properties for the table (#5195) (Cody Weaver)
- Fix path for ObjC test source. (#5227) (featherless)
- Initial commit (#5232) (Cody Weaver)
- Open to the correct height (#5184) (Cody Weaver)
- Refactor test (#5186) (Cody Weaver)
- Update cells to be testable (#5190) (Cody Weaver)
- Update docs to include themers (#5209) (Cody Weaver)
- Use correct style (#5196) (Cody Weaver)
AppBar
- Add an example demonstrating manual tab management. (#5161) (featherless)
- Add frame setting recommendation to app bar view controller migration guide. (#5180) (featherless)
- Delete the deprecated MDCAppBarTextColorAccessibilityMutator API. (#5220) (featherless)
BottomAppBar
- clean up how bottom app bar path renders to avoid using hardcoded values (#5155) (Wenyu Zhang)
- enable customizing the vertical position of FAB (#5138) (Wenyu Zhang)
Dialogs
- Add/update examples for dialog themer (#5158) (Galia Kaufman)
- Customize alert title alignment (#5164) (Galia Kaufman)
FlexibleHeader
- Extract height matching to a separate function. (#5162) (featherless)
- Improve tracking scroll view switching logic. (#5178) (featherless)
- [CocoaPods] Remove our tests podspec in favor of official test_spec targets. (#5204) (featherless)
NavigationDrawer
ShadowLayer
- Add support for responding to cornerRadius changes. (#5224) (featherless)
- Fix layout of shadow layer example. (#5222) (featherless)
- Revert "Add support for responding to cornerRadius changes. (#5224)" (#5231) (featherless)
Snackbar
TextFields
- Remove extension check (#5182) (Cody Weaver)