Skip to content
This repository was archived by the owner on Dec 11, 2025. It is now read-only.

v42.1.0

Choose a tag to compare

@jverkoey jverkoey released this 12 Dec 15:21
· 5914 commits to stable since this release

New features

New MDCChipField API in the Chips component provides an interface through which a user can input a collection of string tokens.

API changes

Chips

MDCChipFieldDefaultContentEdgeInsets

new constant: MDCChipFieldDefaultContentEdgeInsets

MDCChipFieldDelimiter

new enum value: MDCChipFieldDelimiterReturn in MDCChipFieldDelimiter

new enum: MDCChipFieldDelimiter

new enum value: MDCChipFieldDelimiterAll in MDCChipFieldDelimiter

new enum value: MDCChipFieldDelimiterNone in MDCChipFieldDelimiter

new typedef: MDCChipFieldDelimiter

new enum value: MDCChipFieldDelimiterDefault in MDCChipFieldDelimiter

new enum value: MDCChipFieldDelimiterSpace in MDCChipFieldDelimiter

new enum value: MDCChipFieldDelimiterDidEndEditing in MDCChipFieldDelimiter

MDCChipField

new class: MDCChipField

new method: -focusTextFieldForAccessibility in MDCChipField

new method: -removeSelectedChips in MDCChipField

new method: -removeChip: in MDCChipField

new property: contentEdgeInsets in MDCChipField

new method: -addChip: in MDCChipField

new property: showPlaceholderWithChips in MDCChipField

new property: textField in MDCChipField

new property: minTextFieldWidth in MDCChipField

new property: chipHeight in MDCChipField

new method: -deselectAllChips in MDCChipField

new property: delegate in MDCChipField

new method: -selectChip: in MDCChipField

new property: chips in MDCChipField

new method: -clearTextInput in MDCChipField

new property: delimiter in MDCChipField

MDCChipFieldDelegate

new method: -chipField:didChangeInput: in MDCChipFieldDelegate

new protocol: MDCChipFieldDelegate

new method: -chipFieldHeightDidChange: in MDCChipFieldDelegate

new method: -chipFieldDidBeginEditing: in MDCChipFieldDelegate

new method: -chipField:didRemoveChip: in MDCChipFieldDelegate

new method: -chipField:didTapChip: in MDCChipFieldDelegate

new method: -chipField:shouldAddChip: in MDCChipFieldDelegate

new method: -chipFieldShouldBecomeFirstResponder: in MDCChipFieldDelegate

new method: -chipField:didAddChip: in MDCChipFieldDelegate

new method: -chipFieldShouldReturn: in MDCChipFieldDelegate

new method: -chipFieldDidEndEditing: in MDCChipFieldDelegate

MDCChipView

new property: shapeGenerator in MDCChipView

new method: -shadowColorForState: in MDCChipView

new method: -setShadowColor:forState: in MDCChipView

MDCChipFieldDefaultMinTextFieldWidth

new constant: MDCChipFieldDefaultMinTextFieldWidth

FeatureHighlight

MDCFeatureHighlightView

new property: mdc_adjustsFontForContentSizeCategory in MDCFeatureHighlightView

ShadowLayer

MDCShadowLayer(Subclassing)

new category: MDCShadowLayer(Subclassing)

Typography

UIFontDescriptor(MaterialTypography)

new class method: +mdc_standardFontDescriptorForMaterialTextStyle: in UIFontDescriptor(MaterialTypography)

UIFont(MaterialTypography)

new class method: +mdc_standardFontForMaterialTextStyle: in UIFont(MaterialTypography)

Component changes

AnimationTiming

Changes

AppBar

Changes

BottomAppBar

Changes

BottomNavigation

Changes

BottomSheet

Changes

ButtonBar

Changes

Buttons

Changes

Chips

Changes

CollectionLayoutAttributes

Changes

Collections

Changes

Dialogs

Changes

FeatureHighlight

Changes

FlexibleHeader

Changes

HeaderStackView

Changes

Ink

Changes

NavigationBar

Changes

OverlayWindow

Changes

PageControl

Changes

ProgressView

Changes

ShadowLayer

Changes

Snackbar

Changes

Tabs

Changes

TextFields

Changes

Themes

Changes

Typography

Changes