v101.0.0
In this major release we deleted the class MDCFlexibleHeaderColorThemer
and deprecated the MDCHeaderStackViewColorThemer
. As well as allowing the NavigationDrawer to account for the bottom safe area in presentation, improvements to our BUILD files, touch targets on TextFields
and our TextControl
examples and documentation.
Breaking changes
The MDCFlexibleHeaderColorThemer
no longer exists.
New deprecations
We deprecated MDCHeaderStackViewColorThemer
. No current replacement exists.
New features
In order to account for the bottom safe area in presentation of a MDCBottomDrawerViewController
we added a behavioral flag shouldIncludeSafeAreaInInitialDrawerHeight
.
MDCBottomDrawerViewController *bottomDrawer =
[[MDCBottomDrawerViewController alloc] init];
bottomDrawer.shouldIncludeSafeAreaInInitialDrawerHeight = YES;
API changes
HeaderStackView
deprecated class: MDCHeaderStackViewColorThemer
, no replacement exists.
NavigationDrawer
new property: shouldIncludeSafeAreaInInitialDrawerHeight
in MDCBottomDrawerPresentationController
.
new property: shouldIncludeSafeAreaInInitialDrawerHeight
in MDCBottomDrawerViewController
.
Component changes
Cards
FlexibleHeader
- Delete MDCFlexibleHeaderColorThemer (#9351) (Bryan Oltman)
HeaderStackView
- Mark MDCHeaderStackViewColorThemer deprecated (#9354) (Bryan Oltman)
NavigationDrawer
- Added ability to account for bottom safe are… (#9321) (Jake Rockland)
Snackbar
TextControls
- Refactor text control examples (#9358) (Andrew Overton)
- Use CGFloat consts in theming extensions (#9360) (Andrew Overton)
- Write docs for MDCTextControls (#9327) (Andrew Overton)
TextFields
- Give MDCTextField clear button proper hit area insets (#8790) (Andrew Overton)
Typography
Multi-component changes
- Implement Swift import rewriting as part of Bazel. (#9368) (featherless)
- Ran buildifier on all BUILD files. (#9366) (featherless)
- Remove all unused mdc_objc_library loads. (#9376) (featherless)
- Remove all unused swift_library load statements. (#9369) (featherless)
- Remove unused motion_transitioning_objc dependency. (#9379) (featherless)