Skip to content

v110.1.0

Compare
Choose a tag to compare
@fluxminds fluxminds released this 29 Jun 19:54
· 647 commits to stable since this release

In this minor release, we deprecated visibleAreaInsets from MDCChipView and added centerVisibleArea API. We annotated several APIs as to be deprecated in Buttons. Ripple support is added to CollectionCells and Collections as well.

New deprecations

Chips

visibleAreaInsets is deprecated.

New features

CollectionCells

Ripple is supported as an opt-in behavior.

Objective-C

MDCCollectionCell *cell= [[MDCCollectionCell alloc] init];
cell.enableRippleBehavior = YES;

Swift

let cell = MDCCollectionCell()
cell.enableRippleBehavior = true

Chips

Chips supports centerVisibleArea, which is often used to configure invisible part of frame for tappable area.

Objective-C

MDChipView *chip = [[MDCChipView alloc] init];
chip.centerVisibleArea = YES;

Swift

let chip = MDCChipView()
chip.centerVisibleArea = true

API changes

Chips

new property: centerVisibleArea in MDCChipView

CollectionCells

new property: enableRippleBehavior in MDCCollectionViewCell

new property: rippleView in MDCCollectionViewCell

Collections

new property: enableRippleBehavior in MDCCollectionViewController

new method: - collectionView:rippleTouchController:rippleViewAtIndexPath: in MDCCollectionViewStylingDelegate

TextFields

new property: useConstraintsForIntrinsicContentSize in MDCMultilineTextField

Component changes

ActionSheet

AppBar

BottomNavigation

Buttons

Chips

Dialogs

NavigationDrawer

ProgressView

Snackbar

TextFields

private/ThumbTrack

Multi-component changes