v75.0.0
75.0.0
This major release includes a change to the behavior of MDCButton's
borderWidthForState: API and the behavior of MDCSnackbarManager's
shouldEnableAccessibilityViewIsModal property. Improved support for the
bazel build system is introduced for several
components.
Breaking changes
MDCButton's borderWidthForState: behavior now matches that of UIButton's
forState: properties. Any state without an explicitly-set value will
fall-back to the value for the UIControlStateNormal state. This does not
change the appearance of MDCButton, but does change the values returned by the
API.
New features
MDCSnackbarManager's shouldEnableAccessibilityViewIsModal was previously
used to determine the value of a snackbar view's accessibilityViewIsModal
property. Clients can now use the MDCSnackbarManagerDelegate API
-willPresentSnackbarWithMessageView: to override the view's
accessibilityViewIsModal for each Snackbar. This value is propagated to the
scrim view to ensure that modality is correctly configured for Snackbars.
@implementation MySnackbarManagerDelegate
- (void)willPresentSnackbarWithMessageView:(MDCSnackbarMessageView *)messageView {
// All Snackbars with an action are "modal" for UIAccessibility
if (messageView.actionButtons.count > 0) {
messageView.accessibilityViewIsModal = YES;
}
}
@endChanges
ActivityIndicator
- Add Swift examples to bazel. (#6421) (Robert Moore)
AppBar
- Add examples to BUILD rule (#6344) (Cody Weaver)
BottomAppBar
- Add examples to BUILD file (#6348) (Cody Weaver)
- Formatting BUILD file. (#6355) (Robert Moore)
Buttons
- Add fallback for
borderWidthForState:(#6415) (Cody Weaver) - Add setup and teardown to tests (#6432) (Cody Weaver)
Cards
- Add Swift examples to bazel. (#6422) (Robert Moore)
- Add snapshot tests to bazel. (#6423) (Robert Moore)
Collections
- Add examples to BUILD file (#6341) (Cody Weaver)
Dialogs
- Fix Theming extension for presentation controller. (#6418) (Robert Moore)
FeatureHighlight
- Add examples to BUILD file (#6340) (Cody Weaver)
FlexibleHeader
- Add examples to BUILD file (#6343) (Cody Weaver)
List
- Add List examples to BUILD file (#6321) (Andrew Overton)
- Add Swift examples to bazel (#6424) (Robert Moore)
MaskedTransition
- Add build file for bazel (#6336) (Wenyu Zhang)
NavigationBar
- Add examples to bazel. (#6425) (Robert Moore)
NavigationDrawer
- Add examples to BUILD file (#6349) (Cody Weaver)
PageControl
- Add PageControl examples to BUILD file (#6323) (Andrew Overton)
- Add swift examples to bazel. (#6426) (Robert Moore)
Slider
- Add examples to BUILD file (#6351) (Cody Weaver)
Snackbar
- Add examples to BUILD file (#6402) (Cody Weaver)
- Allow the delegate to override accessibilityViewIsModal (#6263) (Wenyu Zhang)
- Delete EarlGrey tests. (#6427) (Robert Moore)
Tabs
- Add examples to BUILD file (#6339) (Cody Weaver)
TextFields
- Add Swift examples to bazel (#6430) (Robert Moore)
- Add TextField examples to BUILD file (#6397) (Andrew Overton)
- Add experimental examples to bazel. (#6436) (Robert Moore)
- Fix "gap" in outline when placeholder is empty. (#6322) (Robert Moore)
Typography
- Add examples to BUILD file (#6403) (Cody Weaver)
private/Beta
- Add bazel target. (#6411) (Robert Moore)
schemes/Shape
- Add examples to BUILD file (#6404) (Cody Weaver)
Multi-component changes
- {bazel} Ran
buildifieron all BUILD files (#6345) (Robert Moore)