v109.7.0
andrewoverton
released this
10 Jun 16:35
·
712 commits
to stable
since this release
This minor release makes accessibility improvements related to high contrast colors, adds new functionality to Buttons, Chips, Dialogs, Snackbars, and Tabs, and adds a new TextControls text field, MDCUnderlinedTextField
, which is intended to replace MDCTextInputControllerLegacyDefault
and MDCTextInputControllerUnderline
.
New features
ActionSheet
MDCActionSheetControllerDelegate
has a new method,-actionSheetControllerDismissalAnimationCompleted:
.
Buttons
MDCFloatingButton
has a newvisibleHitAreaInsets
property.
Chips
MDCChipView
has a newcornerRadius
property.
Dialogs
MDCAlertController
has improved attributed link support.
Snackbar
MDCSnackbarMessage
has a newcompletionHandlerWithError
property.
Tabs
MDCItemBarCell
has a newselectedImage
property.
TextControls
- There is a new text field class,
MDCUnderlinedTextField
.
Component changes
ActionSheet
- Add actionSheetControllerDismissalAnimationCompleted method to MDCActionSheetControllerDelegate. (Bryan Oltman)
Banner
- Apply primary color to icon in theming. (Wenyu Zhang)
BottomNavigation
- Replace bottom navigation README (Andrew Overton)
BottomSheet
- Add BottomSheetPresentationControllerDelegateExample to demonstrate usage of MDCBottomSheetPresentationControllerDelegate. (Bryan Oltman)
- Add bottomSheetDismissalAnimationCompleted method to MDCBottomSheetPresentationController. (Bryan Oltman)
- Internal change (Bryan Oltman)
- Rename BottomSheetPresentationExample to BottomSheetModalPresentationExample to better represent its purpose. (Bryan Oltman)
- Updating BottomSheet examples organization (Nobody)
ButtonBar
- Remove excess iPad insets from the button bar buttons. (Jeff Verkoeyen)
Buttons
- Add a boolean for when observing cornerRadius so that we won't try to add 2 observers or remove a non-existent observer (Yarden Eitan)
- Add visibleAreaInsets support for the FAB. (Yarden Eitan)
- Put pointerStyleProvider API under a respondsToSelector conditional to ensure no crashes for 13.4 beta users. (Yarden Eitan)
- When visibleAreaInsets are set, don't allow additional setting of the shapeGenerator API directly. (Yarden Eitan)
Chips
Dialogs
- Adding attributed link color API and updating theming extension (Galia Kaufman)
- Annotate API using UITextItemInteraction to be iOS 10 only (Andrew Overton)
- Disable UIDataDetectorTypeLink by default for attributed messages. (Galia Kaufman)
- Fix mixed top and bottom insets for the actions. (Iryna Berezan)
- Header file comments cleanup (Galia Kaufman)
- Improve Dialogs docs Improve alt text and use string literals in Dialogs README examples. (Andrew Overton)
- Setting
orderVerticalActionsByEmphasis
incorrectly calculates top and bottom insets for actions. (Galia Kaufman)
Snackbar
- Add completion handler with error parameter to snackbar message. (Randall Li)
- Added error domain and code. (Randall Li)
- Added more information in description to Message and MessageView. (Randall Li)
- Making the an internal read write Error property for messages. (Randall Li)
- Remove the unneeded hitAreaInsets usage, and set minimumSize instead. (Yarden Eitan)
Tabs
- Add selectedImage property to MDCItemBarCell to allow MDCTabBar to support selected images. (Bryan Oltman)
- Add snapshot test to expose MDCTabBar not respecting UITabBarItem's selectedImage property. (Bryan Oltman)
TextControls
- Add underlined text field (Andrew Overton)
private/TextControlsPrivate
- Add underlined style object (Andrew Overton)
- Extract duplicated methods to C function (Andrew Overton)
- Extract some duplicated methods to C functions (Andrew Overton)
schemes/Color
- [schemes/Color]Add high contrast color to MDCColorSchemeDefaultsMaterial201907 scheme to support Increase Contrast feature. (Wenyu Zhang)
Multi-component changes
- Add notion of horizontal positioning reference (Andrew Overton)
- Adding feedback menu option (Galia Kaufman)
- Move private text fields files to TextControlsPrivate (Andrew Overton)
- Update Podspec after TextControls changes (Andrew Overton)