Releases: material-components/material-components-ios
v66.0.0
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
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
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)
v64.0.0
64.0.0
In this release
AlertControllers added a cornerRadius
property to specify its shape.
FlexibleHeader added disableContentInsetAdjustmentWhenContentInsetAdjustmentBehaviorIsNever
to let clients choose if the scrollview can adjust the contentInsets.
ChipField added showChipsDeleteButton
to turn on the delete button on chips.
BottonSheet added preferredSheetHeight
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
in MDCBottomSheetTransitionController
MDCBottomSheetPresentationController
new property: preferredSheetHeight
in MDCBottomSheetPresentationController
Buttons+ButtonThemer
MDCButtonScheming
new property: shapeScheme
in MDCButtonScheming
MDCButtonScheme
new property: shapeScheme
in MDCButtonScheme
Buttons+ShapeThemer
New component.
Chips+ChipThemer
MDCChipViewScheming
new property: shapeScheme
in MDCChipViewScheming
MDCChipViewScheme
new property: shapeScheme
in MDCChipViewScheme
Chips
MDCChipField
new property: showChipsDeleteButton
in MDCChipField
Chips+ShapeThemer
New component.
Dialogs+DialogThemer
New component.
Dialogs
MDCAlertController
new property: cornerRadius
in MDCAlertController
MDCAlertControllerView
new property: cornerRadius
in MDCAlertControllerView
FlexibleHeader
MDCFlexibleHeaderView
new property: disableContentInsetAdjustmentWhenContentInsetAdjustmentBehaviorIsNever
in MDCFlexibleHeaderView
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
v63.0.0
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 the
shapeScheme
property now as well.
New features
- ActionSheet's
backgroundColor
can now be customized. - 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
in MDCActionSheetController
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:
in MDCBottomAppBarColorThemer
BottomAppBar
MDCBottomAppBarView
new property: trailingBarItemsTintColor
in MDCBottomAppBarView
new property: leadingBarItemsTintColor
in MDCBottomAppBarView
BottomNavigation
MDCBottomNavigationBar
new method: -viewForItem:
in MDCBottomNavigationBar
BottomSheet+ShapeThemer
New extension.
Cards+CardThemer
MDCCardScheme
new property: shapeScheme
in MDCCardScheme
MDCCardScheming
new property: shapeScheme
in MDCCardScheming
Cards+ShapeThemer
New extension.
NavigationBar
MDCNavigationBar
new property: leadingBarItemsTintColor
in MDCNavigationBar
new property: trailingBarItemsTintColor
in MDCNavigationBar
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
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
v62.2.0
This hotfix minor release rolls back a behavioral change in Dialogs that was introduced in v60.0.0.
Component changes
Dialogs
v62.1.0
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
auto-uppercasing behavior of the buttons. By default this property is enabled.
API changes
ActionSheet
MDCActionSheetAction
new property: accessibilityIdentifier
in MDCActionSheetAction
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
in MDCActionSheetController
ActionSheet+TypographyThemer
New component.
ButtonBar
MDCButtonBarDelegate
new method: -buttonBarDidInvalidateIntrinsicContentSize:
in MDCButtonBarDelegate
MDCButtonBar
new property: uppercasesButtonTitles
in MDCButtonBar
new property: delegate
in MDCButtonBar
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
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: 2b3722f
FlexibleHeader
Changes
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...
v60.3.0
This minor release introduces a new behavioral flag for changing the title font size on
MDCNavigationBar.
New features
MDCNavigationBar has a new flag that, once enabled, allows you to set a font with any size.
MDCNavigationBar *navigationBar = [[MDCNavigationBar alloc] init];
navigationBar.allowAnyTitleFontSize = YES;
UIFont *font = [UIFont systemFontOfSize:24];
navigationBar.titleFont = font; // Font size will actually be 24
API changes
NavigationBar
MDCNavigationBar
new property: allowAnyTitleFontSize
in MDCNavigationBar
Component changes
NavigationBar
Changes
v60.2.0
60.2.0
In this minor release we updated examples imports, added an API to set the ink color of buttons
and started the deprecation of some AppBar APIs.
New deprecations
- Deprecated
MDCAppBarTextColorAccessibilityMutator
.
Will be deprecated
FlexibleHeader
New features
- AlertController got a new buttonInkColor property so you can specify the color of the ink.
MDCAlertController *alert = [MDCAlertController alertControllerWithTitle:@"title"
message:@"message"];
alert.buttonInkColor = testColor;
API changes
AppBar
MDCAppBarTextColorAccessibilityMutator
deprecated class: MDCAppBarTextColorAccessibilityMutator
deprecated method: -mutate:
in MDCAppBarTextColorAccessibilityMutator
Dialogs
MDCAlertController
new property: buttonInkColor
in MDCAlertController
MDCAlertControllerView
new property: buttonInkColor
in MDCAlertControllerView
FlexibleHeader
MDCFlexibleHeaderView()
moved category: MDCFlexibleHeaderView()
modified property: contentView
in MDCFlexibleHeaderView()
Component changes
MaskedTransition
Changes
- Fix Swift imports (#4828) (Robert Moore)
FeatureHighlight
Changes
- Fix crash when backgrounding and re-opening app. (#4796) (Andrew Overton)
AppBar
Changes
- Make migration links be actual links (#4808) (featherless)
- Mark MDCAppBarTextColorAccessibilityMutator as deprecated. (#4807) (featherless)
Buttons
Changes
- fix the text overlapping safeArea issue on (Wenyu Zhang)
TextFields
Changes
- Trigger layout pass to update borderView.borderLayer (#4815) (Andrew Overton)
Chips
Changes
- Example respects safe area (#4856) (Joe Aguilar)
Cards
Changes
- Fix Swift imports (#4826) (Robert Moore)
- Fix example IBOutlet (#4827) (Robert Moore)
BottomAppBar
Changes
- Fix typo in the readme (#4869) (Brad Mallow)
ShadowLayer
Changes
List
Changes
- Fix Swift imports (#4828) (Robert Moore)
ActivityIndicator
Changes
- Default demo to .determinate (#4855) (Robert Moore)
- Fix example conditional (#4843) (Robert Moore)
BottomSheet
Changes
- Add Safe Area Handling Example (#4870) (danblakemore)
Dialogs
Changes
- Adding 'buttonInkColor' (#4847) (Robert Moore)
BottomNavigation
Changes
- Button for badge increment. (#4857) (Robert Moore)
AnimationTiming
Changes
- Add button to start animation. (#4852) (Robert Moore)
HeaderStackView
Changes
- Remove the header stack view examples. (#4811) (featherless)
FlexibleHeader
Changes
- Add WKWebView considerations docs. (#4801) (featherless)
- Add a deprecation schedule for minMaxHeightIncludesSafeArea. (#4810) (featherless)
- Fix bug where orientation changes would result in incorrect contentOffset. (#4860) (featherless)
- Mark minMaxHeightIncludesSafeArea as to be deprecated. (#4809) (featherless)
ProgressView
Changes
- Add 'animate' button to example. (#4863) (Robert Moore)
- Use schemes in example. (#4859) (Robert Moore)