Skip to content

Releases: material-components/material-components-ios

v105.0.0

19 Feb 13:06
Compare
Choose a tag to compare

In this major release we removed the deprecated themers: MDCTextFieldTypographyThemer, MDCOutlinedButtonThemer.

Breaking changes

Deleted MDCTextFieldTypographyThemer and MDCOutlinedButtonThemer classes. Please use the theming extensions.
Learn more at https://github.com/material-components/material-components-ios/blob/develop/docs/theming.md#migration-guide-themers-to-theming-extensions

Component changes

ActionSheet

ActivityIndicator

BottomNavigation

Buttons

Cards

Chips

Dialogs

FlexibleHeader

Ink

NavigationDrawer

Slider

Snackbar

Tabs

TextFields

private/Color

private/TextControlsPrivate

schemes/Color

v104.0.1

14 Feb 15:46
Compare
Choose a tag to compare

In this patch release we fixed the syntax of the TV_OS macro.

Component changes

Buttons

v104.0.0

12 Feb 17:04
Compare
Choose a tag to compare

104.0.0

In this major release we removed the deprecated MDCFloatingActionButtonThemer, added APIs to AppBar flexible header, alert controllers, bottom drawers and sliders to make the more configurable for clients.

Breaking changes

Deleted the MDCFloatingActionButtonThemer class. Use the theming extension.

New features

AppBar added an API for changing the stack view offset.
Flexible header added an API for showing the hairline and its color.
Availability macro for internal use.
AlertControllers added an API for titleIconView.

Bottom drawer added an API for sticky status bars and adjustment when content size changes.

let contentViewController = UIViewController()	let bottomDrawerViewController = MDCBottomDrawerViewController()
...
bottomDrawerVC.shouldIncludeSafeAreaInContentHeight = true
bottomDrawerVC.shouldIncludeSafeAreaInInitialDrawerHeight = true
present(bottomDrawerViewController, animated: true, completion: nil)

Slider added an API for allowAnimatedValueChanges and trackEndsAreRounded or trackEndsAreInset.

API changes

Component changes

ActionSheet

AppBar

Availability

Banner

BottomNavigation

ButtonBar

Buttons

Dialogs

Elevation

FeatureHighlight

FlexibleHeader

List

NavigationDrawer

Read more

v103.1.0

27 Jan 20:51
Compare
Choose a tag to compare

This minor release introduces iOS 13 support for BottomNavigation, divider customization for ActionSheet actions, and several bug fixes.

New features

ActionSheet

MDCActionSheetAction has two new APIs, dividerColor and showsDivider. These APIs can be used to show a divider above the action.

action.showsDivider = YES;
action.dividerColor = UIColor.greenColor;

MDCActionSheetController now has a delegate, MDCActionSheetControllerDelegate, that can be used to react to action sheet dismissal.

actionSheet.delegate = self;

- (void)actionSheetControllerDidDismiss:(MDCActionSheetController *)actionSheetController {
  NSLog(@"Did dismiss");
}

BottomNavigation

MDCBottomNavigationBar now supports iOS 13's large content viewer functionality.

Component changes

ActionSheet

AppBar

BottomNavigation

Dialogs

FeatureHighlight

FlexibleHeader

NavigationDrawer

Snackbar

TextControls

TextFields

v103.0.0

24 Jan 18:00
Compare
Choose a tag to compare

This major release includes a refactoring of the TextControls libraries, a theming extension for TextFields' underline controller, a bugfix change to Chips imagePadding handling, and the annotation of an AppBar API as to be deprecated.

API changes

TextControls+BaseTextFields

New extension.

TextControls+Enums

New extension.

TextControls+FilledTextFields

New extension.

TextControls+FilledTextFieldsTheming

New extension.

TextControls+OutlinedTextFields

New extension.

TextControls+OutlinedTextFieldsTheming

New extension.

Component changes

AppBar

Chips

TextFields

Multi-component changes

v102.0.0

17 Jan 22:02
Compare
Choose a tag to compare

This major hotfix release reverts a change introduced in 101.1.0 that caused Snackbar not to appear in some situations.

Component changes

Snackbar

v101.1.1

16 Jan 17:03
Compare
Choose a tag to compare

This release includes a bug fix for Dialogs. In some cases a change in
preferredContentSize did not correctly trigger a layout of an Alert's
subviews.

Component changes

Dialogs

v101.1.0

15 Jan 19:23
Compare
Choose a tag to compare

This minor release improves tvOS support for Buttons and Snackbar, annotates some AppBar APIs as to-be-deprecated, and fixes a bug in the NavigationDrawer.

New features

tvOS support is being added to some of our components.

Component changes

AppBar

Buttons

Chips

NavigationDrawer

Snackbar

v101.0.1

12 Jan 16:06
Compare
Choose a tag to compare

In this patch release we reverted Snackar's display accessibility level from UIAccessibilityScreenChangedNotification to UIAccessibilityLayoutChangedNotification, as it caused in some cases an unwanted immediate focus shift for VoiceOver users.

Component changes

Snackbar

v101.0.0

10 Jan 15:51
Compare
Choose a tag to compare

In this major release we deleted the class MDCFlexibleHeaderColorThemer and deprecated the MDCHeaderStackViewColorThemer. As well as allowing the NavigationDrawer to account for the bottom safe area in presentation, improvements to our BUILD files, touch targets on TextFields and our TextControl examples and documentation.

Breaking changes

The MDCFlexibleHeaderColorThemer no longer exists.

New deprecations

We deprecated MDCHeaderStackViewColorThemer. No current replacement exists.

New features

In order to account for the bottom safe area in presentation of a MDCBottomDrawerViewController we added a behavioral flag shouldIncludeSafeAreaInInitialDrawerHeight.

  MDCBottomDrawerViewController *bottomDrawer =
      [[MDCBottomDrawerViewController alloc] init];
  bottomDrawer.shouldIncludeSafeAreaInInitialDrawerHeight = YES;

API changes

HeaderStackView

deprecated class: MDCHeaderStackViewColorThemer, no replacement exists.

NavigationDrawer

new property: shouldIncludeSafeAreaInInitialDrawerHeight in MDCBottomDrawerPresentationController.

new property: shouldIncludeSafeAreaInInitialDrawerHeight in MDCBottomDrawerViewController.

Component changes

Cards

FlexibleHeader

HeaderStackView

NavigationDrawer

Snackbar

TextControls

TextFields

Typography

Multi-component changes