v92.1.0
This minor release introduces badge color APIs for Bottom Navigation and Bottom Drawer support for
full-height presentation with any content. Tabs and TextFields received bug fixes. Ripple optimizations
improved callback behavior.
New features
Bottom Navigation
Bottom Navigation addded itemBadgeBackgroundColor and itemBadgeTextColor APIs to allow clients to
set a custom badge background and text colors for all badges.
itemView.badgeColor = UIColor.whiteColor;
itemView.badgeTextColor = UIColor.redColor;
Navigation Drawer
Always allow the header to expand
Header can expand even if content doest fill screen.
self.navigationDrawer.shouldAlwaysExpandHeader = YES;
Changes
BottomNavigation
- Add support for custom badge and text colors. (#8518) (Robert Moore)
NavigationDrawer
- Allow header to expand even if content doesn't fill screen. (#8484) (Cody Weaver)
- Allow users to scroll to dismiss on lower resolution devices. (#8503) (Cody Weaver)
- Fix broken header when content expands (#8514) (Cody Weaver)
Ripple
- Add callbacks for MDCRippleView and MDCRippleLayer NO is passed in for animated parameter (#8505) (Michael Schneider)
Tabs
- Add newline for code snippet. (#8472) (Robert Moore)
- Correct MDCTabBarView behavior for contentInset. (#8512) (Robert Moore)
- Expand configuration in MDCTabBarView example. (#8498) (Robert Moore)
- Remove internal layout type. (#8519) (Robert Moore)
- Update TabBarView documentation. (#8489) (Robert Moore)
TextFields
- Add initial stateful coloring stuff (#8406) (Andrew Overton)
- Add some important protocols (#8493) (Andrew Overton)
- Add some placeholder logic (#8448) (Andrew Overton)
- Implement some UIView overrides in MDCBaseTextField (#8494) (Andrew Overton)
- Preserve placeholder font. (#8521) (Robert Moore)
- Rename "contained input view" to "text control" (#8524) (Andrew Overton)
- Tinkering with snapshot tests (#8511) (Andrew Overton)
Typography
- Fix scaling test. (#8477) (Robert Moore)
private/Icons
- Add tests for remaining icons. (#8499) (Robert Moore)
Multi-component changes
- Correct icons scripts and integration. (#8501) (Robert Moore)
- Replace
mdc_adjustsFontForContentSizeCategory
with (#8476) (Robert Moore) - Suppress deprecation warnings. (#8481) (Robert Moore)
- Use XCTAssertEqualColors from MDFTesting to help color testing. (#8497) (Wenyu Zhang)
- remove MDFTesting references. (#8531) (Wenyu Zhang)