Material Components v93.2.0 Release Notes
Release Date: 2019-10-31 // over 4 years ago-
π In this minor release TextFields support multiline error/helper text, FeatureHighlight supports Dynamic Type, OverlayWindow supports iOS 13 UIWindow scene initializer API, along with a PageControl dot placement fix, and additional component testing.
π New features
π FeatureHighlight
β‘οΈ You can now set
adjustsFontForContentSizeCategory
onMDCFeatureHighlightViewController
to automatically update your scalable font when content size category changes. Namely, whenadjustsFontForContentSizeCategory
is set toYES
the title and body fonts will scale appropriately if given a scalable font.OverlayWindow
π
MDCOverlayWindow
now supports being initialized withinitWithWindowScene:
as part of the newUIWindow
iOS 13 APIs.TextFields
π
MDCTextField
now supports multiline error and helper texts. To set this up you will need to change the number of lines and word wrapping of the label:MDCTextField *textField = [[MDCTextField alloc] init]; textField.leadingUnderlineLabel.numberOfLines = 0; textField.leadingUnderlineLabel.lineBreakMode = NSLineBreakByWordWrapping;
API changes
Component changes
π Changes
Banner
- β Add snapshot tests for setting preferredFont with adjustsFontForContentSizeCategory (#8623) (Yarden Eitan)
Buttons
- π Support non-stateful fonts in theming. (#8650) (Robert Moore)
Cards
- New toggle-button example (#8663) (Galia Kaufman)
Chips
- β Add snapshot tests for setting preferredFont with adjustsFontForContentSizeCategory (#8624) (Yarden Eitan)
π Dialogs
- β Add tests for Dynamic Type. (#8675) (Robert Moore)
- π Remove broken snapshot tests. (#8676) (Robert Moore)
π FeatureHighlight
- Add adjustsFontForContentSizeCategory suppor⦠(#8655) (Yarden Eitan)
- β Add snapshot tests for setting preferredFont with adjustsFontForContentSizeCategory (#8629) (Yarden Eitan)
FlexibleHeader
- π Remove unnecessary caching of CATransaction's disableActions. (#8668) (featherless)
List
- β Add snapshot tests for setting preferredFont with adjustsFontForContentSizeCategory (#8636) (Yarden Eitan)
OverlayWindow
- π Add initWithWindowScene: initializer (#8633) (Bryan Oltman)
PageControl
ShadowLayer
TextFields
- Add density and preferredContainerHeight as private functionality (#8607) (Andrew Overton)
- Add filled and outlined positioning references (#8627) (Andrew Overton)
- π Add filled style object (#8657) (Andrew Overton)
- π Add outlined style object (#8658) (Andrew Overton)
- π Add path drawing utils for style objects (#8628) (Andrew Overton)
- β Add tests for preferredFont APIs. (#8635) (Robert Moore)
- Bring back original textInsets API for clients sub⦠(#8688) (Yarden Eitan)
- π Add support for multi-line in helper and error texβ¦ (#8665) (Yarden Eitan)