Skip to content

Releases: material-components/material-components-ios

v92.1.0

04 Oct 13:54
Compare
Choose a tag to compare

This minor release introduces badge color APIs for Bottom Navigation and Bottom Drawer support for
full-height presentation with any content. Tabs and TextFields received bug fixes. Ripple optimizations
improved callback behavior.

New features

Bottom Navigation

Bottom Navigation addded itemBadgeBackgroundColor and itemBadgeTextColor APIs to allow clients to
set a custom badge background and text colors for all badges.

  itemView.badgeColor = UIColor.whiteColor;
  itemView.badgeTextColor = UIColor.redColor;

Navigation Drawer

Always allow the header to expand

Header can expand even if content doest fill screen.

  self.navigationDrawer.shouldAlwaysExpandHeader = YES;

Changes

BottomNavigation

NavigationDrawer

Ripple

Tabs

TextFields

Typography

private/Icons

Multi-component changes


v92.0.0

24 Sep 14:22
Compare
Choose a tag to compare

This major release removes the mdc_adjustsFontForContentSizeCategory API
from MDCTypographyScheming. It makes
useCurrentContentSizeCategoryWhenApplied required for all implementations.

Breaking changes

Classes conforming to MDCTypographyScheming must now provide the API
useCurrentContentSizeCategoryWhenApplied. It was previously recommended that
it be bound to the value of mdc_adjustsFontForContentSizeCategory.

Changes

schemes/Typography

v91.1.1

23 Sep 17:36
Compare
Choose a tag to compare

This patch release corrects initalization of AppBar and splits the typography scheme so the protocol can be
used separately from the class conforming to the protocol.

Changes

ActionSheet

AppBar

NavigationDrawer

schemes/Typography

Multi-component changes

v91.1.0

20 Sep 21:35
Compare
Choose a tag to compare

This minor release adds support for customizing the elevation on ActionSheet component, and updates its
theming extension to apply a customized elevation value.

Changes

ActionSheet

v91.0.0

19 Sep 20:38
Compare
Choose a tag to compare

91.0.0

This major release deletes several deprecated APIs and annotates several APIs as deprecated. Usage
of UIWebView has also been replaced with WKWebView.

Breaking changes

Buttons shouldRaiseOnTouch was deleted. Set elevation to MDCShadowElevationNone for all states
instead.

Buttons underlyingColor property was deleted. Use underlyingColorHint instead.

New deprecations

MDCMaskedTransitionController was deprecated. There is no replacement for this component. Please
use a standard presentViewController invocation instead.

New features

ProgressView's cornerRadius property was added. This enables clients to customize the corner radius
of the filled portion of the progress view.

ActionSheet added the ability to add a divider between the header and table. Properties
headerDividerColor and showHeaderDivider were added to MDCActionSheetController. If a client
wants to show a header divider they would need to set showHeaderDivider and then set an
appropriate color for their use case, by default it is clearColor. By default the property
showHeaderDivider view is NO so that we do not break clients. This matches a pattern outlined
in MDCBannerView.

Changes

ActionSheet

BottomSheet

Buttons

MaskedTransition

ProgressView

schemes/Typography

v90.0.0

17 Sep 18:30
Compare
Choose a tag to compare

This major release deletes several deprecated APIs and annotates several APIs as deprecated.

Breaking changes

Buttons' buttonWithShape: API has been deleted. Please use floatingButtonWithShape: instead.

FlexibleHeader's behavior API has been deleted. Please use shiftBehavior instead.

NavigationBar's textAlignment API has been deleted. Please use titleAlignment instead.

New deprecations

ActivityIndicator's ColorThemer is now deprecated. Please theme MDCActivityIndicator's colors
directly instead.

ButtonBar's Theming extension and TypographyThemer are now deprecated. ButtonBar is not intended to
be themed as a standalone component. Please theme it via the AppBar component's Theming extension
instead.

BottomAppBar's ColorThemer is now deprecated. There is presently no replacement. Please indicate
interest in a replacement at
https://github.com/material-components/material-components-ios/issues/7172.

Upcoming breaking changes

BasicFontScheme is now a standalone target within schemes/Typography with the CocoaPods spec name:
MaterialComponents/schemes/Typography+BasicFontScheme. For backwards compatibility, this new
target is still a dependency of `MaterialComponents/schemes/Typography. This dependency will be
removed as a breaking change in a subsequent release, with the intent of eventually deprecating
and deleting the BasicFontScheme target altogether.

Changes

ActionSheet

ActivityIndicator

BottomAppBar

ButtonBar

Buttons

FlexibleHeader

NavigationBar

TextFields

private/ThumbTrack

schemes/Typography

Multi-component changes

v89.0.0

09 Sep 20:39
Compare
Choose a tag to compare

This major release deletes several deprecated APIs, includes bug fixes for iOS 13, and improves
haptics support in Slider.

Breaking changes

Buttons' customTitleColor and shouldCapitalizeTitle APIs have been deleted.

Chips' inkColor API has been deleted.

Changes

Buttons

Chips

FlexibleHeader

Slider

TextFields

v88.2.0

04 Sep 14:37
Compare
Choose a tag to compare

This minor release makes the Banner component generally available, and
provides a bug fix for Buttons.

New features

MDCBannerView is now available for providing messaging to your app's users.
It implements Material Banners and
"displays a prominent message and related optional actions."

Changes

ActionSheet

Banner

BottomSheet

Buttons

Dialogs

FeatureHighlight

TextFields

private/Snapshot/TestHost

private/Snapshot

v88.1.0

28 Aug 19:41
Compare
Choose a tag to compare

This minor change introduces presentation and dismissal improvements to
NavigationDrawer. MDCSnackbarMessage subclasses must now respond to - init. Further improvements are made to the in-development Contained Input
Fields.

API changes

TextFields+ContainedInputView

MDCBaseTextField

new property: labelBehavior in MDCBaseTextField

new property: label in MDCBaseTextField

MDCTextControlLabelBehavior

new enum value: MDCTextControlLabelBehaviorDisappears in MDCTextControlLabelBehavior

new enum: MDCTextControlLabelBehavior

new enum value: MDCTextControlLabelBehaviorFloats in MDCTextControlLabelBehavior

new typedef: MDCTextControlLabelBehavior

Changes

Banner

List

NavigationDrawer

Ripple

Snackbar

TextFields

v88.0.1

22 Aug 22:51
Compare
Choose a tag to compare

This patch release adds performance improvements to Ripple during its initialization and layout phases.

Component changes

Changes

Ripple