Changelog History
Page 19
-
v67.2.0 Changes
π This minor release introduces new functionality for theming individual buttons of an MDCAlertController.
π New features
It is now possible to theme MDCAlertController buttons individually using the new
emphasis
property onMDCAlertAction
in conjunction with theMDCAlertControllerThemer
.let alert = MDCAlertController(title: "Button Theming", message: "High, Medium & Low Emphasis") alert.addAction(MDCAlertAction(title:"High", emphasis: .high, handler: <#handler#>)) alert.addAction(MDCAlertAction(title:"Medium", emphasis: .medium, handler: <#handler#>)) alert.addAction(MDCAlertAction(title:"Low", emphasis: .low, handler: <#handler#>)) MDCAlertControllerThemer.applyScheme(<#alertScheme#>, to: alert) self.present(alert, animated: true, completion: nil)
API changes
π Dialogs+DialogThemer
MDCAlertScheming
π new property:
buttonScheme
inMDCAlertScheming
MDCAlertScheme
π new property:
buttonScheme
inMDCAlertScheme
π Dialogs
MDCAlertController
modified property:
elevation
inMDCAlertController
Type of change: Swift declaration From: var elevation: CGFloat { get set }
To: var elevation: Int32 { get set }
modified property:
elevation
inMDCAlertController
Type of change: Declaration From: @property (assign, readwrite, nonatomic) CGFloat elevation;
To: @property (assign, readwrite, nonatomic) int elevation;
MDCActionEmphasis
π new enum:
MDCActionEmphasis
π new enum value:
MDCActionEmphasisLow
inMDCActionEmphasis
π new enum value:
MDCActionEmphasisMedium
inMDCActionEmphasis
π new enum value:
MDCActionEmphasisHigh
inMDCActionEmphasis
MDCDialogPresentationController
modified property:
dialogElevation
inMDCDialogPresentationController
Type of change: Swift declaration From: var dialogElevation: CGFloat { get set }
To: var dialogElevation: Int32 { get set }
modified property:
dialogElevation
inMDCDialogPresentationController
Type of change: Declaration From: @property (assign, readwrite, nonatomic) CGFloat dialogElevation;
To: @property (assign, readwrite, nonatomic) int dialogElevation;
MDCAlertAction
π new property:
emphasis
inMDCAlertAction
π new class method:
+actionWithTitle:emphasis:handler:
inMDCAlertAction
Component changes
π Dialogs
- Fix elevation to use MDCShadowElevation (Cody Weaver)
- Theming action buttons in DialogThemer (#5416) (Galia Kaufman)
- β¬οΈ Upgrade buttons class to MDCButton (b/117543195) (#5401) (Galia Kaufman)
-
v67.1.0 Changes
π In this minor release we provide a shadow opacity reset toggle for Flexible Header, VoiceOver and rounded corners support for the Navigation Drawer, along with bug fixes and unit tests improvements.
π New features
Flexible Header
- π Flexible Header supports resetting the visible shadow opacity to 0 when setting trackingScrollView to
nil
by setting the BOOL propertyresetShadowAfterTrackingScrollViewIsReset
.
Navigation Drawer
When VoiceOver or Switch Control is turned on in your app, Navigation Drawer will always show up in full screen.
Navigation Drawer has rounded corners when there is more scrollable content to scroll in the drawer.
Component changes
ActionSheet
- Remove remaining _IPHONE_11 checks (#5417) (Cody Weaver)
- β‘οΈ Update examples to use global themer (Cody Weaver)
- β {Tests} Deallocate test objects at the end of tests. (#5397) (Robert Moore)
ActivityIndicator
AppBar
- β {Tests} Deallocate test objects at the end of tests. (#5397) (Robert Moore)
BottomAppBar
- β {Tests} Deallocate test objects at the end of tests. (#5397) (Robert Moore)
BottomSheet
- β {Tests} Deallocate test objects at the end of tests. (#5397) (Robert Moore)
Buttons
- [MaskedTransition] Apply safe area to floating button example and masked transition example (#5389) (rami-a)
Cards
- β {Tests} Deallocate test objects at the end of tests. (#5397) (Robert Moore)
Chips
- Fix layout when Chip added programmatically. (#5425) (Robert Moore)
- β {Tests} Deallocate test objects at the end of tests. (#5397) (Robert Moore)
CollectionCells
- β {Tests} Deallocate test objects at the end of tests. (#5397) (Robert Moore)
CollectionLayoutAttributes
- β {Tests} Deallocate test objects at the end of tests. (#5397) (Robert Moore)
π Dialogs
- β Enable misspelled test. (#5399) (Robert Moore)
- β {Tests} Deallocate test objects at the end of tests. (#5397) (Robert Moore)
π FeatureHighlight
- β {Tests} Deallocate test objects at the end of tests. (#5397) (Robert Moore)
FlexibleHeader
- Allow clearing shadow when trackingScrollView is emptied (#5385) (Ali Rabbani)
- β {Tests} Deallocate test objects at the end of tests. (#5397) (Robert Moore)
List
- BaseCell shouldn't display Ink on tap if -collectionView:shouldHighlightItemAtIndexPath: returns NO (#5393) (Julien Poumailloux)
- Fix example import. (#5426) (Robert Moore)
- Initialize layoutCache in SelfSizingStereoCell (#5422) (Andrew Overton)
- βͺ Revert "SelfSizingStereoCell should use MDCTypography instead of hardcoding its own font opacity (#5361)" (#5405) (Julien Poumailloux)
- β‘οΈ Update List readme to include information on accessibility and color/β¦ (#5403) (Andrew Overton)
MaskedTransition
NavigationBar
- β {Tests} Deallocate test objects at the end of tests. (#5397) (Robert Moore)
NavigationDrawer
- Add buttons to example to present navigation drawer (#5419) (Cody Weaver)
- Add rounded corners when there is scrollable content (#5410) (Cody Weaver)
- π Added VoiceOver support to have the drawer show at full screen. (#5411) (Yarden Eitan)
- Made DrawerHeaderViewController.swift file to conform to MDCBottomDrawerHeader to fix header not showing issue in components examples (#5325) (Anuran Barman)
- Remove remaining _IPHONE_11 checks (#5417) (Cody Weaver)
- β Setup for tests (#5423) (Cody Weaver)
ProgressView
- β {Tests} Deallocate test objects at the end of tests. (#5397) (Robert Moore)
ShadowLayer
- Corner radius (#5390) (#5398) (Cody Weaver)
- Subclass UIView in corner radius example (#5388) (Cody Weaver)
Snackbar
- β Clean up unit test. (#5394) (Robert Moore)
- β {Tests} Deallocate test objects at the end of tests. (#5397) (Robert Moore)
Tabs
- β {Tests} Deallocate test objects at the end of tests. (#5397) (Robert Moore)
TextFields
- β {Tests} Deallocate test objects at the end of tests. (#5397) (Robert Moore)
- π Flexible Header supports resetting the visible shadow opacity to 0 when setting trackingScrollView to
-
v67.0.0 Changes
π There are some rendering changes that have lead to classifying this as a major release. There are no major API changes.
We've added some new theming capabilities for Action Sheets and Lists.
API changes
ActionSheet+ActionSheetThemer
π New extension.
List+ColorThemer
π New extension.
List+ListThemer
π New extension.
Component changes
ActionSheet
- Add action sheet themer (#5345) (Cody Weaver)
AppBar
BottomAppBar
BottomNavigation
- Change badge position (#5339) (Cody Weaver)
ButtonBar
Buttons
- Fix a typo around text vs contained button (#5367) (Louis Romero)
Chips
- π Add support for third party keyboards (#5342) (Cody Weaver)
- Fix placeholder for manually adding chips (#5343) (Cody Weaver)
- Respect safe area for Chips examples (#5377) (rami-a)
π Dialogs
- β‘οΈ Update README for new themer (Cody Weaver)
- β‘οΈ Update the themer and scheme to have elevation (#5301) (Cody Weaver)
- β‘οΈ Update to match spec (#5309) (Cody Weaver)
- add scrimColor to MDCAlertController (#5362) (Galia Kaufman)
List
- Add MDCSelfSizingStereoCellColorThemer (#5311) (Andrew Overton)
- Add global themer for List component (#5378) (Andrew Overton)
- β Add tests for List themers (#5315) (Andrew Overton)
- Fix MDCSelfSizingStereoCell not using the right text color and not resetting all label properties on re-use (#5341) (Julien Poumailloux)
- Generalize List themers (#5357) (Andrew Overton)
- SelfSizingStereoCell is not resetting its -mdc_adjustsFontForContentSizeCategory in -prepareForReuse (#5364) (Julien Poumailloux)
- SelfSizingStereoCell should use MDCTypography instead of hardcoding its own font opacity (#5361) (Julien Poumailloux)
NavigationDrawer
- π Performance improvements and increased support for customizing initial drawer percentage height (#5255) (Yarden Eitan)
- π Support any kInitialDrawerHeightFactor value (#5337) (Yarden Eitan)
TextFields
- TextFields: Fix the error accessibility label, the value was not respected previously. (#5300) (Yilei (Dolee) Yang)
-
v66.0.0 Changes
β‘οΈ Shapes updated it's interface. ActionSheet improvements. List added a typography themer.
π₯ Breaking changes
β‘οΈ Shapes updated its API. See #5247 for details.
API changes
List+TypographyThemer
π New extension.
Component changes
ActionSheet
- Fix ink color for themer (#5287) (Cody Weaver)
- Match spec (#5291) (Cody Weaver)
- β‘οΈ Update MDCActionSheetHelperTest (#5248) (Cody Weaver)
BottomNavigation
- Fix example (#5242) (Cody Weaver)
BottomSheet
- β‘οΈ [Shape]! Terminology updates to the Shape Scheme (#5247) (Yarden Eitan)
Buttons
- β‘οΈ [Shape]! Terminology updates to the Shape Scheme (#5247) (Yarden Eitan)
Cards
- β‘οΈ [Shape]! Terminology updates to the Shape Scheme (#5247) (Yarden Eitan)
Chips
- β‘οΈ [Shape]! Terminology updates to the Shape Scheme (#5247) (Yarden Eitan)
π Dialogs
- Add shadow elevation (#5296) (Cody Weaver)
- Customize alert title icon (#5167) (Galia Kaufman)
- Customize tint color of alert title icon (#5159) (Galia Kaufman)
- Customizing scrim color in presentation controller (#5283) (Galia Kaufman)
FlexibleHeader
- β‘οΈ Update MDCFlexibleHeaderView.m (#5259) (Ali Rabbani)
List
- Add TypographyThemer to MDCSelfSizingStereoCell (#5298) (Andrew Overton)
NavigationDrawer
- Fix iOS 9 bottom drawer dismissals (#5202) (Andrew Overton)
- Use CGRect accessor methods (#5244) (Andrew Overton)
Tabs
- π [MDCTabBar] Remove dependence on a UIWindow for rendering/layout of MDCTabBa (#5285) (Sam Duke)
TextFields
schemes/Shape
- β‘οΈ [Shape]! Terminology updates to the Shape Scheme (#5247) (Yarden Eitan)
- [Shapes] Addition of a shape theming example to our dragons (#5239) (Yarden Eitan)
-
v65.0.0 Changes
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
inMDCActionSheetController
π new property:
titleTextColor
inMDCActionSheetController
π new property:
inkColor
inMDCActionSheetController
π new property:
actionTintColor
inMDCActionSheetController
π new property:
imageRenderingMode
inMDCActionSheetController
π new property:
actionTextColor
inMDCActionSheetController
BottomAppBar
MDCBottomAppBarView
π new property:
floatingButtonVerticalOffset
inMDCBottomAppBarView
π Dialogs
MDCAlertController
π new property:
titleAlignment
inMDCAlertController
MDCAlertControllerView
π new property:
titleAlignment
inMDCAlertControllerView
Snackbar
MDCSnackbarManager
π new property:
shouldEnableAccessibilityViewIsModal
inMDCSnackbarManager
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)
-
v64.0.0 Changes
π In this release AlertControllers added a
cornerRadius
property to specify its shape. FlexibleHeader addeddisableContentInsetAdjustmentWhenContentInsetAdjustmentBehaviorIsNever
to let clients choose if the scrollview can adjust the contentInsets. ChipField addedshowChipsDeleteButton
to turn on the delete button on chips. BottonSheet addedpreferredSheetHeight
to let clients define a non half screen height. Shape Subsystem integrated into many components including Button Cards and Chips.π₯ Breaking changes
Card Buttons and Chips all are using the shape subsystem, which subtly changed the way their corner radii are rendered.
π New features
AlertControllers added a
cornerRadius
A property to specify its shape.
MDCAlertController *alert = [MDCAlertController alertControllerWithTitle:@"title" message:@"message"]; [alert addAction:[MDCAlertAction actionWithTitle:@"action1" handler:nil]]; alert.cornerRadius = cornerRadius;
FlexibleHeader added
disableContentInsetAdjustmentWhenContentInsetAdjustmentBehaviorIsNever
π To make it easier to support scrollviews and content insets
_scrollView = [[UIScrollView alloc] initWithFrame:self.view.bounds]; if (@available(iOS 11.0, *)) { _scrollView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever; }
ChipField added
showChipsDeleteButton
Turns on the delete button on chips.
var chipField = MDCChipField() chipField.frame = .zero chipField.delegate = self chipField.textField.placeholderLabel.text = "This is a chip field." chipField.showChipsDeleteButton = true
BottonSheet added
preferredSheetHeight
to let clients define a non half screen height.presentationController = [[MDCBottomSheetPresentationController alloc] initWithPresentedViewController:stubPresentedViewController presentingViewController:stubPresentingViewController]; presentationController.preferredSheetHeight = 100;
API changes
BottomSheet
MDCBottomSheetTransitionController
π new property:
preferredSheetHeight
inMDCBottomSheetTransitionController
MDCBottomSheetPresentationController
π new property:
preferredSheetHeight
inMDCBottomSheetPresentationController
Buttons+ButtonThemer
MDCButtonScheming
π new property:
shapeScheme
inMDCButtonScheming
MDCButtonScheme
π new property:
shapeScheme
inMDCButtonScheme
Buttons+ShapeThemer
π New component.
Chips+ChipThemer
MDCChipViewScheming
π new property:
shapeScheme
inMDCChipViewScheming
MDCChipViewScheme
π new property:
shapeScheme
inMDCChipViewScheme
Chips
MDCChipField
π new property:
showChipsDeleteButton
inMDCChipField
Chips+ShapeThemer
π New component.
π Dialogs+DialogThemer
π New component.
π Dialogs
MDCAlertController
π new property:
cornerRadius
inMDCAlertController
MDCAlertControllerView
π new property:
cornerRadius
inMDCAlertControllerView
FlexibleHeader
MDCFlexibleHeaderView
π new property:
disableContentInsetAdjustmentWhenContentInsetAdjustmentBehaviorIsNever
inMDCFlexibleHeaderView
Component changes
ActionSheet
- Initial commit (#5157) (Cody Weaver)
- Labels use text color instead of alpha (#5142) (Cody Weaver)
- Make header and table properties (Cody Weaver)
- β‘οΈ Update the docs (#5134) (Cody Weaver)
AppBar
- [FlexibleHeaderView] Make FexibleHeaderView respect contentInsetAdjustmentBehavior (#4970) (#5073) (Wenyu Zhang)
BottomSheet
- Add property so clients can set a custom height for bottom sheet (#5139) (Cody Weaver)
- β‘οΈ Add tests for
updatePreferredSheetHeight
. (#5115) (Robert Moore) - Make
sheetView
a property. (#5122) (Robert Moore) - Use setter for sheet view height. (#5125) (Robert Moore)
- [Shape]! Provide more granularity for corner setting for the theming (#5116) (Yarden Eitan)
Buttons
π₯ Breaking changes
π₯ Breaking: Integrate the shape themer into the MDCButton themer (#5120) (Yarden Eitan)
Add the Floating Button Shape themer to the Floating Button themer (#5132) (Yarden Eitan)
Addition of a FAB shape themer (#5131) (Yarden Eitan)
Addition of a Shape Themer for MDCButton (#5119) (Yarden Eitan)
Integrate the FAB shape themer into our examples (#5133) (Yarden Eitan)
Integration of the button shape themer into the examples (#5121) (Yarden Eitan)
[Shapes] Bug fix for getting the wrong backgroundColor when shapeGenerator is set. (#5127) (Yarden Eitan)
Cards
Chips
π₯ Breaking changes
π₯ Breaking: Integrate the shape themer into the chip themer (#5112) (Yarden Eitan)
Add client the ability to delete chips in a chip field (#5135) (Cody Weaver)
Addition of a Shape Themer (#5111) (Yarden Eitan)
Integration of the chip themer into the examples (#5113) (Yarden Eitan)
π Support RTL in MDCChipCollectionViewFlowLayout (#5079) (jsaletta)
β‘οΈ Update example (#5118) (Cody Weaver)
[Shapes] Bug fix for getting the wrong backgroundColor when shapeGenerator is set. (#5127) (Yarden Eitan)
π Dialogs
- Add a dialog themer (Galia Kaufman)
- Expose corner radius property (#4988) (Galia Kaufman)
FlexibleHeader
- Avoid nil logic in multiple tracking scroll view setting. (#5163) (featherless)
- [FlexibleHeaderView] Make FexibleHeaderView respect contentInsetAdjustmentBehavior (#4970) (#5073) (Wenyu Zhang)
PageControl
- [FlexibleHeaderView] Make FexibleHeaderView respect contentInsetAdjustmentBehavior (#4970) (#5073) (Wenyu Zhang)
Tabs
- Fix an example bug (#5106) (Cody Weaver)
TextFields
- Send .editingChanged control event on clear button touch (#5144) (Andrew Overton)
schemes/Shape
- β [Shape Scheme] Addition of Unit Tests for the Shape Scheme (#5137) (Yarden Eitan)
-
v63.0.0 Changes
π This major release adds additional support for shape theming to BottomSheet and Cards and π improvements to ActionSheets, BottomAppBar, BottomNavigation, Dialogs, NavigationBar, and TextFields.
π₯ Breaking changes
Cards
- π₯ Breaking: Add a card shape themer (#5031) (Yarden Eitan)
This is a breaking change due to the addition of the
shapeScheme
property to the MDCCardScheming protocol. If you have created a type that conforms to MDCCardScheming you will need to implement theshapeScheme
property now as well.π New features
- ActionSheet's
backgroundColor
can now be customized. π 2. BottomAppBar has a new surface variant color themer API. Documentation - BottomNavigation now allows you to fetch a view for a given item using the new
viewForItem:
API. - BottomSheet and Cards each now have a Shape themer.
- NavigationBar now allows you to set a different tint color for the leading and trailing items.
API changes
ActionSheet
MDCActionSheetController
modified property:
backgroundColor
inMDCActionSheetController
Type of change: Declaration From: @property(nonatomic, nonnull, strong) UIColor *backgroundColor
To: @property (readwrite, strong, nonatomic, nonnull) UIColor *backgroundColor;
BottomAppBar+ColorThemer
MDCBottomAppBarColorThemer
π new class method:
+applySurfaceVariantWithSemanticColorScheme:toBottomAppBarView:
inMDCBottomAppBarColorThemer
BottomAppBar
MDCBottomAppBarView
π new property:
trailingBarItemsTintColor
inMDCBottomAppBarView
π new property:
leadingBarItemsTintColor
inMDCBottomAppBarView
BottomNavigation
MDCBottomNavigationBar
π new method:
-viewForItem:
inMDCBottomNavigationBar
BottomSheet+ShapeThemer
π New extension.
Cards+CardThemer
MDCCardScheme
π new property:
shapeScheme
inMDCCardScheme
MDCCardScheming
π new property:
shapeScheme
inMDCCardScheming
Cards+ShapeThemer
π New extension.
NavigationBar
MDCNavigationBar
π new property:
leadingBarItemsTintColor
inMDCNavigationBar
π new property:
trailingBarItemsTintColor
inMDCNavigationBar
ShapeScheme
π New component.
Component changes
ActionSheet
- Add background color (#5081) (Cody Weaver)
- Fix Swift imports. (#5072) (Robert Moore)
- π Remove import (#5082) (Cody Weaver)
- β‘οΈ Update cell image alpha (#5088) (Cody Weaver)
BottomAppBar
- Examples use semantic color scheme. (#5070) (Robert Moore)
- Add surface variant color themer. (#5068) (Robert Moore)
- Correct cut-out arc angle. (#4997) (Robert Moore)
- Tint leading, trailing bar items. (#5065) (Robert Moore)
BottomNavigation
- Expose UIView for a given UITabBarItem. (#5061) (andrewplai)
BottomSheet
- Addition of a Bottom Sheet Shape Themer (#5062) (Yarden Eitan)
- Integrating the BottomSheet shape themer in the example (#5078) (Yarden Eitan)
- [ShapeLibrary] Make the new CornerTreatment initializers use concrete types (#5076) (Yarden Eitan)
- π [Shapes] merge MDCShapeCorner and MDCCornerTreatment into one (#5090) (Yarden Eitan)
Cards
- π [Shapes] merge MDCShapeCorner and MDCCornerTreatment into one (#5090) (Yarden Eitan)
- added shape theming to card examples (#5059) (Yarden Eitan)
π Dialogs
- Add Header trait to title in AlertControllerView (#5032) (SaidinWoT)
- βͺ Revert "Remove use of MDCFlatButton for MDCButton and MDCTextButtonThemer (#4739)" (#5040) (Cody Weaver)
FlexibleHeader
- Extract safe area logic to a separate object. (#4987) (featherless)
HeaderStackView
- π Remove "+Extensions" pod installation instructions from component readmes (#5080) (Andrew Overton)
Ink
- π Remove "+Extensions" pod installation instructions from component readmes (#5080) (Andrew Overton)
- β‘οΈ Update example description to only have one space (#5018) (Cody Weaver)
List
- β‘οΈ Updated List Readme to mention MDCSelfSizingStereoCell (#5092) (Andrew Overton)
MaskedTransition
- β‘οΈ Update Swift example to use MDCFloatingButton (#5028) (Cody Weaver)
NavigationBar
- Tint leading, trailing button bars. (#5064) (Robert Moore)
- β‘οΈ Update layout when button bar sizes change. (#4992) (featherless)
NavigationDrawer
- Fix Swift imports in examples. (#5096) (Robert Moore)
TextFields
- Get rid of "," separator in MDCTextField accessibilityValue (#5098) (Andrew Overton)
schemes/Shape
- [ShapeLibrary] Make the new CornerTreatment initializers use concrete types (#5076) (Yarden Eitan)
- [Shapes] Initial Shape Scheme implementation (#5014) (Yarden Eitan)
- π [Shapes] merge MDCShapeCorner and MDCCornerTreatment into one (#5090) (Yarden Eitan)
-
v62.2.0 Changes
π This hotfix minor release rolls back a behavioral change in Dialogs that was introduced in v60.0.0.
Component changes
π Dialogs
- βͺ Revert "Remove use of MDCFlatButton for MDCButton and MDCTextButtonThemer (#4739)" (#5040) (Cody Weaver)
-
v62.1.0 Changes
π 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 0οΈβ£ auto-uppercasing behavior of the buttons. By default this property is enabled.API changes
ActionSheet
MDCActionSheetAction
π new property:
accessibilityIdentifier
inMDCActionSheetAction
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
inMDCActionSheetController
ActionSheet+TypographyThemer
π New component.
ButtonBar
MDCButtonBarDelegate
π new method:
-buttonBarDidInvalidateIntrinsicContentSize:
inMDCButtonBarDelegate
MDCButtonBar
π new property:
uppercasesButtonTitles
inMDCButtonBar
π new property:
delegate
inMDCButtonBar
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)
NavigationBar
ProgressView
ShadowElevations
Tabs
TextFields
-
v62.0.0 Changes
π This major release reverts the addition of the new canAlwaysExpandToMaximumHeight behavior for the FlexibleHeader introduced in v61.0.0. More details on the commit that was reverted: https://github.com/material-components/material-components-ios/commit/2b3722f7b8cc7df131a8b33695990c99931c0e1b
FlexibleHeader
π Changes
- βͺ Revert "Add new canAlwaysExpandToMaximumHeight behavior. (#4794)" (Yarden Eitan)