Skip to content

Releases: material-components/material-components-ios

v118.1.0

19 Oct 16:43
Compare
Choose a tag to compare

In this minor release, we have made several improvements to the TextControls component.

New features

TextControls

Added -baseTextFieldShouldDeleteBackward: and -baseTextField:shouldPerformAction:withSender:canPerformAction: to MDCBaseTextFieldDelegate.

Component changes

TextControls

v118.0.1

v118.0.0

06 Oct 21:51
Compare
Choose a tag to compare

In this major release we deleted all deprecated MDCSnackbarManager APIs, and made minor bug fixes and reorganizations.

Breaking changes

Snackbar

All Deprecated MDCSnackbarManager APIs have been deleted. For any of these APIs, instead of calling anything on MDCSnackbarManager, use MDCSnackbarManager.defaultManager and the same API will be available.

API changes

Component changes

ActionSheet

Chips

Dialogs

Snackbar

v117.0.0

28 Sep 18:57
Compare
Choose a tag to compare

In this major release, we deleted the buttonFont property on MDCAlertController, added the accessoryViewHorizontalInset property to MDCAlertControllerView, made minor bug fixes, and deprecated numerous APIs across multiple components.

Breaking changes

Dialogs

The buttonFont property on MDCAlertController has been deleted. To set a button font in a dialog use the -buttonForAction: method to get the button, then call -setFont: on its titleLabel.

New deprecations

This release contains deprecations in ButtonBar, FeatureHighlight, NavigationBar, FlexibleHeader, AppBar, ThumbTrack, and TabBar. See the component section for specifics.

New features

Dialogs

Dialogs has a new accessoryViewHorizontalInset API.

Component changes

ActivityIndicator

AppBar

ButtonBar

Dialogs

FeatureHighlight

FlexibleHeader

NavigationBar

Tabs

TextControls

private/Math

private/ThumbTrack

Multi-component changes

v116.0.1

22 Sep 18:48
Compare
Choose a tag to compare

This patch release contains various bug fixes and internal cleanup.

Component changes

BottomNavigation

BottomSheet

Dialogs

Slider

Snackbar

TextControls

private/ThumbTrack

Multi-component changes


v116.0.0

14 Sep 21:01
Compare
Choose a tag to compare

In this major release, we deleted the rippleAllowsSelection property from MDCChipView and added containerRadius support to filled text fields.

API changes

  • Chips: rippleAllowsSelection has been deleted from MDCChipView.
  • NavigationDrawer: shouldDismissOnAccessibilityPerformEscape property added to allow VoiceOver users to dismiss the Navigation Drawer using the VoiceOver dismiss gesture.

Component changes

Chips

Multi-component changes

v115.1.0

11 Sep 20:32
Compare
Choose a tag to compare

In this minor release we add 2 APIs to customize BottomNavigation's appearance and behavior, we deprecate the property rippleAllowsSelection from MDCChipView, we provide a containerRadius API to MDCBaseTextField and MDCBaseTextArea, along with other code cleanups.

New deprecations

MDCChipView's rippleAllowSelection property is now deprecated. Please instead use native UIKit APIs to control whether the chip is selected or not, using either the .selected API, or, with MDCChipCollectionViewCell, by calling the deselectItemAtIndexPath API to remove selection. Note, this only applies if you have the enableRippleBehavior property set to YES on MDCChipView.

New features

BottomNavigation

You can now customize MDCBottomNavigationBar's height using the barHeight property.

MDCBottomNavigationBar *bottomNavBar;
bottomNavBar = [[MDCBottomNavigationBar alloc] initWithFrame:CGRectZero];
bottomNavBar.barHeight = 44;
[self.view addSubview:bottomNavBar];

You can now also decide when to hide or show your navigation bar using the new navigationBarHidden APIs on MDCBottomNavigationBarController.

let bottomNavBarController = MDCBottomNavigationBarController()
bottomNavBarController.willMove(toParent: self)
view.addSubview(bottomNavBarController.view)
addChild(bottomNavBarController)
bottomNavBarController.didMove(toParent: self)
let viewController = UIViewController()
bottomNavBarController.viewControllers = [viewController]
bottomNavBarController.setNavigationBarHidden(true, animated: true)

TextControls

Both MDCBaseTextArea and MDCBaseTextField now have a containerRadius API, which determines the corner radius of the container, when applicable.
Setting this property is a no-op for MDCBaseTextField and any subclasses with invisible containers.

let filledTextField = MDCFilledTextField()
filledTextField.label.text = "label text"
filledTextField.containerRadius = 8

Component changes

Banner

BottomNavigation

Chips

Snackbar

Tabs

TextControls

v115.0.0

08 Sep 20:50
Compare
Choose a tag to compare

In this major release, we deprecated the Ink component in favor of Ripple and deleted the
deprecated fontSize property from the ThumbTrack component.

Breaking changes

The fontSize property of ThumbTrack is now deleted. Please use the font property instead.

New deprecations

The Ink component has been deprecated. Please use Ripple instead.

Component changes

BottomNavigation

Collections

Dialogs

TextControls

private/ThumbTrack

Multi-component changes


v114.0.0

31 Aug 15:52
Compare
Choose a tag to compare

114.0.0

In this major release we have updated BottomNavigation safe area calculations and removed the deprecated sizeThatFitsIncludesSafeArea API, including a minor bug fix for Dialogs.

Breaking changes

BottomNavigation

The deprecated sizeThatFitsIncludesSafeArea property is deleted.

Component changes

BottomNavigation

Dialogs

Multi-component changes

v113.2.0

26 Aug 17:07
Compare
Choose a tag to compare