v112.0.0
This major releases deletes several deprecated APIs, expands Ripple support, and fixes several bugs.
Breaking changes
Buttons' MDCTitleColorAccessibilityMutator
and FeatureHighlight's
MDCFeatureHighlightAccessibilityMutator
have been deleted. There are no official replacements for
these APIs.
MDCHeaderStackViewColorThemer
has been deleted. There is no replacement for this API; use the
AppBar Theming APIs instead.
MDCSnackbarFontThemer
and MDCSnackbarTypographyThemer
have been deleted. Use the Snackbar
Theming APIs instead.
New features
Buttons has several new Ripple APIs, including rippleStyle
, rippleColor
, rippleEdgeInsets
,
and rippleMaximumRadius
. These APIs are intended to act as replacements for the similar Ink APIs.
Chips similarly has added a rippleForState
API.
TabBarView now has a Theming extension.
TextControls now expose a preferredContainerHeight
API.
API changes
Component changes
BottomAppBar
- Material io bottom app bar (Andrew Overton)
BottomNavigation
- When large content view is enabled, on long presses it will correctly switch to the last selected item (Alyssa Weiss)
ButtonBar
Buttons
- Add rippleColor and rippleStyle APIs (Cody Weaver)
- Add rippleEdgeInsets API. (Cody Weaver)
- Add rippleMaximumRadius API. (Cody Weaver)
- Fix lint error
UppercaseAttributedString
inMDCButton
(Nobody) - Remove unused TitleColorAccessibilityMutator. (Bryan Oltman)
Chips
- Add rippleForState APIs. (Cody Weaver)
Dialogs
- Improved titleIconView example with animation. (Galia Kaufman)
FeatureHighlight
- Delete deprecated FeatureHighlightAccessibilityMutator. (Bryan Oltman)
HeaderStackView
- Delete deprecated MDCHeaderStackViewColorThemer (Bryan Oltman)
ProgressView
Shapes
- Add unit tests demonstrating a divide by zero error. (Jeff Verkoeyen)
- Fix divide by zero bug. (Jeff Verkoeyen)
- Fixes for the shape shadow layer if the borderWidth is set multiple times and there isn't a prepareShadowPath pass. (Yarden Eitan)
- Update shapeLayer to the correct path to correctly be a mask for content. (Yarden Eitan)
- Updates the shapeGenerator with a line width to inset the line rather than center it. (Yarden Eitan)
Slider
- Add EarlGrey test to expose bug where tapping on slider track opposite anchor point doesn't trigger UIControlEventValueChanged (Bryan Oltman)
- Remove supplemental directory from examples. (Bryan Oltman)
Snackbar
- Delete deprecated MDCSnackbarFontThemer. (Bryan Oltman)
- Delete deprecated MDCSnackbarTypographyThemer. (Bryan Oltman)
- Use different margins for multi-line snackbars (Alyssa Weiss)
Tabs
- Adding theming extension for TabBarView (Alyssa Weiss)
TextControls
- Add debug stuff to text controls examples (Andrew Overton)
- Expose preferredContainerHeight on MDCBaseTextField (Andrew Overton)
- Fix jumpiness in text areas (Andrew Overton)
- Fix secureTextEntry layout pass infinite loop (Andrew Overton)
private/Snapshot
- Internal change. (Wenyu Zhang)
private/TextControlsPrivate
- Make filled positioning reference subclass NSObject (Andrew Overton)
private/ThumbTrack
- Add centerVisibleArea support with snapshot tests. (Wenyu Zhang)
- Add snapshot tests to MDCThumbTrack. (Wenyu Zhang)
- Fix an issue where sliders with non-min/max anchor points do not publish a UIControlEventValueChanged event when a track tap causes the value to cross the anchor point. (Bryan Oltman)
- Internal Change (Alyssa Weiss)
- Use shapeGenerator to render the backing layer. (Wenyu Zhang)
schemes/Shape
- Add test demonstrating issue with calling borderWidth multiple times with same value. (Yarden Eitan)
Multi-component changes
- Allow setting underline thickness regardless of state (Andrew Overton)
- Prepare to expose preferredContainerHeight on text controls (Andrew Overton)
- Replace material.io API doc links with links to the relevant header f… (Andrew Overton)