Material Components v94.4.0 Release Notes
Release Date: 2019-11-27 // over 4 years ago-
🚀 This minor release introduces new APIs to ActionSheet, BottomSheet and FlexibleHeader. Additionally, it includes new theming extensions for TextControls component.
🆕 New features
TextControls component now has theming extensions.
MDCFilledTextField *filledTextField = [[MDCFilledTextField alloc] init]; MDCContainerScheme *containerScheme = [[MDCContainerScheme alloc] init]; [filledTextField applyThemeWithScheme:containerScheme];
let filledTextField = MDCFilledTextField() let scheme = MDCContainerScheme() filledTextField.applyTheme(withScheme: scheme)
API changes
ActionSheet
MDCActionSheetController
🆕 new property:
contentEdgeInsets
inMDCActionSheetController
BottomSheet
MDCBottomSheetController
🆕 new property:
dismissOnDraggingDownSheet
inMDCBottomSheetController
MDCBottomSheetPresentationController
🆕 new property:
dismissOnDraggingDownSheet
inMDCBottomSheetPresentationController
MDCBottomSheetTransitionController
🆕 new property:
dismissOnDraggingDownSheet
inMDCBottomSheetTransitionController
FlexibleHeader
MDCFlexibleHeaderView(ShiftBehavior)
🆕 new property:
shiftedOffscreen
inMDCFlexibleHeaderView(ShiftBehavior)
Component changes
🔄 Changes
ActionSheet
- Add
contentEdgeInsets
API. (#9008) (Robert Moore) - Align title/image to their leading edges directly. (#9013) (Robert Moore)
- ✅ Correct RTL snapshot tests. (#9011) (Robert Moore)
- ✅ Name unit tests to match class. (#9003) (Robert Moore)
- 🔨 Refactor snapshot tests. (#8999) (Robert Moore)
- ✅ Split "insets" API snapshot tests to separate file. (#9020) (Robert Moore)
BottomSheet
Buttons
- Fix dynamic type example. (#8992) (Cody Weaver)
🔋 FeatureHighlight
- ✅ Fix accessibility tests. (#9018) (Robert Moore)
FlexibleHeader
- ✅ Add FlexibleHeaderShiftedOffscreenWithShiftBehaviorDisabledTests. (#9023) (featherless)
- Expose a shiftedOffscreen property. (#9014) (featherless)
ShadowElevations
TextControls
- Add Outlined theming extension (#9002) (Andrew Overton)
- Add MDCFilledTextField theming extension (#8993) (Andrew Overton)
- Add