Skip to content

Releases: material-components/material-components-ios

v85.9.1

25 Jul 16:06
Compare
Choose a tag to compare

This patch release fixes a crash in BottomNavigation when a KVO'd property is assigned nil.

Changes

BottomNavigation

v85.9.0

24 Jul 21:26
Compare
Choose a tag to compare

This minor release includes new elevation protocols to prepare for Dark Mode, dynamic color
support in several components, and a number of MDCTabBarView features.

New features

Several components support traitCollectionDidChangeBlock to allow clients inject a block for exection when traitCollections
changes. TabBarView allows clients to set preferred layout style.

API changes

ActionSheet

MDCActionSheetController

new property: traitCollectionDidChangeBlock in MDCActionSheetController

ActivityIndicator

MDCActivityIndicator

new property: traitCollectionDidChangeBlock in MDCActivityIndicator

Banner

MDCBannerView

new property: traitCollectionDidChangeBlock in MDCBannerView

BottomAppBar

MDCBottomAppBarView

new property: traitCollectionDidChangeBlock in MDCBottomAppBarView

BottomSheet

MDCBottomSheetController

new property: traitCollectionDidChangeBlock in MDCBottomSheetController

MDCBottomSheetPresentationController

new property: traitCollectionDidChangeBlock in MDCBottomSheetPresentationController

ButtonBar

MDCButtonBar

new property: traitCollectionDidChangeBlock in MDCButtonBar

Cards

MDCCard

new property: traitCollectionDidChangeBlock in MDCCard

MDCCardCollectionCell

new property: traitCollectionDidChangeBlock in MDCCardCollectionCell

Chips

MDCChipView

new property: traitCollectionDidChangeBlock in MDCChipView

Dialogs

MDCAlertController

new property: shadowColor in MDCAlertController

new property: traitCollectionDidChangeBlock in MDCAlertController

MDCDialogPresentationController

new property: dialogShadowColor in MDCDialogPresentationController

new property: traitCollectionDidChangeBlock in MDCDialogPresentationController

Elevation

MDCElevatable

new property: mdc_currentElevation in MDCElevatable

new property: mdc_elevationDidChangeBlock in MDCElevatable

new protocol: MDCElevatable

MDCElevatableOverriding

new property: mdc_overrideBaseElevation in MDCElevatable

new protocol: MDCElevatableOverriding

List

MDCBaseCell

new property: traitCollectionDidChangeBlock in MDCBaseCell

NavigationDrawer

MDCBottomDrawerPresentationController

new property: traitCollectionDidChangeBlock in MDCBottomDrawerPresentationController

MDCBottomDrawerViewController

new property: traitCollectionDidChangeBlock in MDCBottomDrawerViewController

Ripple

MDCRippleView

new property: activeRippleColor in MDCRippleView

removed method: -setActiveRippleColor: in MDCRippleView

Slider

MDCSlider

new property: thumbShadowColor in MDCSlider

Tabs

MDCTabBarView

new enum value: MDCTabBarViewLayoutStyleFixed in MDCTabBarView

new enum value: MDCTabBarViewLayoutStyleScrollable in MDCTabBarView

new enum value: MDCTabBarViewLayoutStyleFixedClusteredCentered in MDCTabBarView

new enum value: MDCTabBarViewLayoutStyleFixedClusteredLeading in MDCTabBarView

new enum value: MDCTabBarViewLayoutStyleFixedClusteredTrailing in MDCTabBarView

new enum: MDCTabBarViewLayoutStyle

new typedef: MDCTabBarViewLayoutStyle

new property: preferredLayoutStyle in MDCTabBarView

new property: selectionChangeAnimationDuration in MDCTabBarView

new property: selectionChangeAnimationTimingFunction in MDCTabBarView

Component changes

ActionSheet

ActivityIndicator

Banner

BottomAppBar

BottomNavigation

BottomSheet

ButtonBar

Cards

Chips

Dialogs

Elevation

FeatureHighlight

FlexibleHeader

Read more

v85.8.0

18 Jul 18:16
Compare
Choose a tag to compare

This minor release includes two new default color schemes and elevation properties to prepare for Dark Mode, dynamic color
support in several components, Haptics feature in Slider, and a number of MDCTabBarView features.

New features

Several components support traitCollectionDidChangeBlock to allow clients inject a block for exection when traitCollections
changes. Slider supports Haptics feature.

API changes

AppBar

MDCAppBar

new property: traitCollectionDidChangeBlockForAppBarController in MDCAppBarNavigationController

BottomNavigation

MDCBottomNavigationBar

new property: traitCollectionDidChangeBlock in MDCBottomNavigationBar

Buttons

MDCButton

new property: traitCollectionDidChangeBlock in MDCButton

FlexibleHeader

MDCFlexibleHeaderContainerViewController

new property: traitCollectionDidChangeBlock in MDCFlexibleHeaderContainerViewController

MDCFlexibleHeaderView

new property: shadowColor in MDCFlexibleHeaderView

new property: traitCollectionDidChangeBlock in MDCFlexibleHeaderView

MDCFlexibleHeaderViewController

new property: traitCollectionDidChangeBlock in MDCFlexibleHeaderViewController

NavigationBar

MDCNavigationBar

new property: traitCollectionDidChangeBlock in MDCNavigationBar

NavigationDrawer

MDCBottomDrawerContainerViewController

new property: headerShadowColor in MDCBottomDrawerContainerViewController

Slider

MDCSlider

new property: shouldEnableHapticsForAllDiscreteValues in MDCSlider

Snackbar

MDCSnackbarManager

new property: messageElevation in MDCSnackbarManager

MDCSnackbarMessageView

new property: elevation in MDCSnackbarMessageView

new property: traitCollectionDidChangeBlock in MDCSnackbarMessageView

Tabs+TabBarView

MDCTabBarView

new method: -rectForItem:inCoordinateSpace: in MDCTabBarView

schemes/Color

MDCColorScheming

new property: elevationOverlayColor in MDCColorScheming

new property: elevationOverlayEnabledForDarkMode in MDCColorScheming

MDCSemanticColorScheme

new property: elevationOverlayColor in MDCSemanticColorScheme

new property: elevationOverlayEnabledForDarkMode in MDCSemanticColorScheme

Component changes

AppBar

Banner

BottomNavigation

Buttons

FlexibleHeader

NavigationBar

NavigationDrawer

ProgressView

Shapes

Slider

Snackbar

Tabs

TextFields

...

Read more

v85.7.0

11 Jul 20:48
Compare
Choose a tag to compare

This minor release exposes some properties on Snackbars and fixes a Banner bug.

API changes

Snackbar

MDCSnackbarManager

new property: buttonInkColor in MDCSnackbarManager

new property: uppercaseButtonTitle in MDCSnackbarManager

new property: disabledButtonAlpha in MDCSnackbarManager

Component changes

Snackbar

Banner

v85.6.0

10 Jul 19:49
Compare
Choose a tag to compare

This minor release includes features and bug fixes for the MDCTabBarView Beta component.

API changes

Tabs+TabBarView

MDCTabBarViewIndicatorSupporting

removed protocol: MDCTabBarViewIndicatorSupporting

removed property: bounds in MDCTabBarViewIndicatorSupporting

removed property: contentFrame in MDCTabBarViewIndicatorSupporting

MDCTabBarItemCustomViewing

modified property: mdc_customView in MDCTabBarItemCustomViewing

Type of change: Declaration
From: @property (readwrite, strong, nonatomic, nullable) UIView<MDCTabBarViewIndicatorSupporting> *mdc_customView;
To: @property (readwrite, strong, nonatomic, nullable) UIView<MDCTabBarViewCustomViewable> *mdc_customView;

MDCTabBarView

new property: bottomDividerColor in MDCTabBarView

new method: -accessibilityElementForItem: in MDCTabBarView

MDCTabBarViewCustomViewable

new property: bounds in MDCTabBarViewCustomViewable

new property: contentFrame in MDCTabBarViewCustomViewable

new protocol: MDCTabBarViewCustomViewable

new method: -setSelected:animated: in MDCTabBarViewCustomViewable

Component changes

Tabs

v85.5.1

10 Jul 15:07
Compare
Choose a tag to compare

This patch release makes a FlexibleHeader dependency on MaterialMath explicit in MaterialComponents.podspec so that pod lib lint validations pass and the release can be published successfully with Cocoapods. There are no code changes.

Component changes

FlexibleHeader

v85.5.0

09 Jul 20:51
Compare
Choose a tag to compare

This minor release includes a theming extension for ProgressView, a bug fix for FlexibleHeader, haptics support for Slider, and progress on a number of core MDCTabBarView features.

New features

ProgressView now has a theming extension.

MDCProgressView *progressView = [[MDCProgressView alloc] init];
MDCContainerScheme *containerScheme = [[MDCContainerScheme alloc] init];
[progressView applyThemeWithScheme:containerScheme];

API changes

ProgressView+Theming

New extension.

Slider

MDCSlider

new property: hapticsEnabled in MDCSlider

Component changes

FlexibleHeader

ProgressView

Slider

Tabs

private/Math

v85.4.0

03 Jul 17:36
Compare
Choose a tag to compare

85.4.0

This minor release includes changes to the MDCTabBarView Beta component.

API Changes

Tabs+TabBarView

MDCTabBarViewIndicatorTemplate

new protocol: MDCTabBarViewIndicatorTemplate

new method: -indicatorAttributesForContext: in MDCTabBarViewIndicatorTemplate

MDCTabBarViewIndicatorAttributes

new class: MDCTabBarViewIndicatorAttributes

new property: path in MDCTabBarViewIndicatorAttributes

MDCTabBarViewIndicatorContext

new property: contentFrame in MDCTabBarViewIndicatorContext

new protocol: MDCTabBarViewIndicatorContext

new property: item in MDCTabBarViewIndicatorContext

new property: bounds in MDCTabBarViewIndicatorContext

MDCTabBarView

new property: rippleColor in MDCTabBarView

MDCTabBarViewUnderlineIndicatorTemplate

new class: MDCTabBarViewUnderlineIndicatorTemplate

Component changes

Tabs

v85.3.0

02 Jul 19:48
Compare
Choose a tag to compare

85.3.0

This minor release includes changes to the MDCTabBarView Beta component.

Component changes

Tabs

v85.2.0

02 Jul 16:43
Compare
Choose a tag to compare

In this minor release we have fixed bugs in Buttons and FlexibleHeader, added new features to Banner, added a theming extension for BottomNavigation, and improved test coverage in BottomSheet.

New features

MDCBanner now supports intrinsicContentSize.

MDCBannerView *myBanner = ...
CGSize validIntrinsicContentSize = myBanner.intrinsicContentSize;

API changes

Banner

MDCBannerView

new property: mdc_adjustsFontForContentSizeCategory in MDCBannerView

BottomNavigation+Theming

New extension.

Tabs+TabBarView

MDCTabBarViewIndicatorSupporting

new protocol: MDCTabBarViewIndicatorSupporting

new property: contentFrame in MDCTabBarViewIndicatorSupporting

new property: bounds in MDCTabBarViewIndicatorSupporting

MDCTabBarView

new method: -setTitleFont:forState: in MDCTabBarView

new method: -titleColorForState: in MDCTabBarView

new method: -setImageTintColor:forState: in MDCTabBarView

new method: -titleFontForState: in MDCTabBarView

new method: -imageTintColorForState: in MDCTabBarView

new property: tabBarDelegate in MDCTabBarView

new method: -setSelectedItem:animated: in MDCTabBarView

new method: -setTitleColor:forState: in MDCTabBarView

new property: barTintColor in MDCTabBarView

MDCTabBarItem

new class: MDCTabBarItem

MDCTabBarItemCustomViewing

new protocol: MDCTabBarItemCustomViewing

new property: mdc_customView in MDCTabBarItemCustomViewing

MDCTabBarViewDelegate

new method: -tabBarView:shouldSelectItem: in MDCTabBarViewDelegate

new protocol: MDCTabBarViewDelegate

new method: -tabBarView:didSelectItem: in MDCTabBarViewDelegate

TextFields+ContainedInputView

New extension.

Changes

Banner

BottomNavigation

BottomSheet

Buttons

FlexibleHeader

Tabs

TextFields

private/ThumbTrack