Material Components v92.3.0 Release Notes
Release Date: 2019-10-08 // over 4 years ago-
๐ This minor release introduces new color properties to TextFields and removes max size constraints on ActivityIndicator.
๐ New features
MDCTextInputControllerBase now allows setting the input field's border in the resting state using
borderStrokeColor
:MDCTextField *textField = [[MDCTextField alloc] init]; MDCTextInputControllerOutlined *controller = [[MDCTextInputControllerOutlined alloc] initWithTextInput:textField]; controller.borderStrokeColor = UIColor.redColor;
MDCTextInputControllerFloatingPlaceholder now allows setting the error color of the border of the input field while being in edit mode using
floatingPlaceholderErrorActiveColor
:let textFieldFilled = MDCTextField() let textFieldControllerFilled = MDCTextInputControllerFilled(textInput: textFieldFilled) textFieldControllerFilled.floatingPlaceholderErrorActiveColor = .red
Component changes
๐ Changes
ActivityIndicator
- ๐ Removes 72dp radius limit on activity indicator (#8534) (Josh Converse)
Tabs
- Add TabBarView API to set content padding (#8529) (Robert Moore)
TextFields
- Add assistive label view (#8539) (Andrew Overton)
- Add some MDCTextControl properties and some small methods I forgot to implement (#8535) (Andrew Overton)
- Adding border stroke color (#8510) (Galia Kaufman)
- Adding floatingPlaceholder Error Active color API to controller (#8526) (Galia Kaufman)
- Bring more of base positioning reference over (#8530) (Andrew Overton)
- Minor cleanup (#8543) (Andrew Overton)
Multi-component changes