Material Components v92.1.0 Release Notes
Release Date: 2019-10-04 // over 4 years ago-
๐ 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)