v54.6.0
This release introduces new APIs and themers for customizing typography and color. This release
also fixes a bug in NavigationBar affecting title label kerning for system fonts. This may result
in visual changes for navigation bar instances.
New features
AppBar now has a Typography themer.
Buttons now has a raised button color themer.
BottomSheets background tap-to-dismiss behavior can now be disabled with dismissOnBackgroundTap.
ButtonBar and NavigationBar's ink color can now be customized.
Cars now has a Color themer.
NavigationBar has a new opt-in behavioral change gated by the useFlexibleTopBottomInsets property.
Enabling this property will result in new layout behavior for the navigation bar's titleView. This
flag will be enabled by default in the future. Consider enabling this flag on your navigation bar
instances in order to verify that the new behavior will not cause regressions in your app.
TextFields now expose a backgroundColor property.
API changes
BottomSheet
MDCBottomSheetPresentationController
new property: dismissOnBackgroundTap in MDCBottomSheetPresentationController
MDCBottomSheetTransitionController
new property: dismissOnBackgroundTap in MDCBottomSheetTransitionController
MDCBottomSheetController
new property: dismissOnBackgroundTap in MDCBottomSheetController
ButtonBar
MDCButtonBar
new property: inkColor in MDCButtonBar
NavigationBar
MDCNavigationBar
new property: inkColor in MDCNavigationBar
new property: useFlexibleTopBottomInsets in MDCNavigationBar
TextFields
MDCTextInputControllerBase
new property: backgroundColor in MDCTextInputControllerBase
MDCTextInputController
new property: backgroundColorDefault in MDCTextInputController
new property: backgroundColor in MDCTextInputController
Component changes
AppBar
Changes
- Add a Typography themer. (#3359) (featherless)
- [ButtonBar] Allow customizing the inkColor of the buttons (#3250) (Ali Rabbani)
- [NavigationBar] Allow flexible height/insets in MDCNavigationBar (#3305) (Ali Rabbani)
Buttons
Changes
- Implement a color themer for an MDCRaisedButton (#3335) (Yarden Eitan)
- [Button Examples] Moved most examples into dragons so that only beautiful demos are in the main catalog. (#3358) (Randall Li)
ButtonBar
Changes
- Allow customizing the inkColor of the buttons (#3250) (Ali Rabbani)
- [NavigationBar] Allow flexible height/insets in MDCNavigationBar (#3305) (Ali Rabbani)
TextFields
Changes
- Add backgroundColor property (#3357) (ianegordon)
- Adding the expected opacities to color themer. (#3347) (Mohammad Cazi)
Cards
Changes
- Implement a semantic color scheme color themer API. (#3289) (Yarden Eitan)
NavigationBar
Changes
- Allow flexible height/insets in MDCNavigationBar (#3305) (Ali Rabbani)
- Fix bug where system font traits would be lost. (#3360) (featherless)
- [ButtonBar] Allow customizing the inkColor of the buttons (#3250) (Ali Rabbani)
ActivityIndicator
Changes
BottomSheet
Changes
- Adds a setting to make sheets impossible to dismiss. (#3325) (John Detloff)