v54.11.0
This release is the final push towards supporting themers on our components.
We will now shift focus to polishing APIs, documentation, and examples and to fixing bugs.
New features
It is now possible to configure colors on BottomNavigation, ButtonBar, NavigationBar, and Tabs
statefully.
TextFields now allows customization of the active floating placeholder color.
MDCTabBar now allows the display of a bottom divider using the bottomDividerColor API.
API changes
BottomNavigation
MDCBottomNavigationBar
new property: selectedItemTitleColor in MDCBottomNavigationBar
ButtonBar
MDCButtonBar
new method: -buttonsTitleColorForState: in MDCButtonBar
new method: -setButtonsTitleColor:forState: in MDCButtonBar
Buttons
MDCButton
new method: -imageTintColorForState: in MDCButton
new method: -setImageTintColor:forState: in MDCButton
NavigationBar
MDCNavigationBar
new method: -setButtonsTitleColor:forState: in MDCNavigationBar
new method: -buttonsTitleColorForState: in MDCNavigationBar
Tabs
MDCTabBarItemState
new typedef: MDCTabBarItemState
new enum value: MDCTabBarItemStateSelected in MDCTabBarItemState
new enum: MDCTabBarItemState
new enum value: MDCTabBarItemStateNormal in MDCTabBarItemState
MDCTabBar
new method: -imageTintColorForState: in MDCTabBar
new method: -titleColorForState: in MDCTabBar
new method: -setImageTintColor:forState: in MDCTabBar
new property: bottomDividerColor in MDCTabBar
new method: -setTitleColor:forState: in MDCTabBar
TextFields
MDCTextInputControllerFloatingPlaceholder
new property: floatingPlaceholderActiveColorDefault in MDCTextInputControllerFloatingPlaceholder
new property: floatingPlaceholderActiveColor in MDCTextInputControllerFloatingPlaceholder
Component changes
Tabs
Changes
- Fix MDCTabBarColorThemerTests (#3428) (John Detloff)
- Fix build breakage (#3425) (John Detloff)
- [TabBar] Add a 1 pt bottom divider to MDCTabBar (#3390) (John Detloff)
- [TabBars] Add titleColorForState and imageTintColorForState (#3396) (John Detloff)
AppBar
Changes
- [NavigationBar] Fix the surface variation themer's text/icon colors to match spec. (#3416) (featherless)
Buttons
Changes
- [Button] Contained: Changed colors for ink and disabled (#3419) (Randall Li)
- Create a separate class for MDCFloatingButton color themer. (#3429) (Mohammad Cazi)
- [Button] Button Themers calling direct color themers. (#3434) (Randall Li)
- [Button] Contained color image themer using tint APIs. (#3439) (Randall Li)
- [Button] Fixed catalog description of typical use example (#3435) (Randall Li)
- [Button] Text button color image themer using tint APIs. (#3440) (Randall Li)
- [MDCButton] Added new API for coloring image tint color for state. (#3423) (Mohammad Cazi)
- update disabled alpha (#3420) (Yarden Eitan)
ButtonBar
Changes
- Add a stateful buttons title color API. (#3414) (featherless)
- Fix layout behavior when using custom button title font. (#3410) (featherless)
TextFields
Changes
- Adding a floating placeholder active color override. (#3433) (Will Larche)
- Unit tests for more classes of controller (#3436) (Will Larche)
- [Textfields] Added Filled and Outlined themers (#3438) (Yarden Eitan)
Snackbar
Changes
- Disable flaky test -[SnackbarManagerTests testMessagesResumedWhenTokenIsDeallocated] (#3426) (Ben Hamilton (Ben Gertzfield))
NavigationBar
Changes
- Add a stateful buttons title color API. (#3415) (featherless)
- Fix the surface variation themer's text/icon colors to match spec. (#3416) (featherless)
BottomNavigation
Changes
- Add separate property for selected title color (#3430) (John Detloff)