Skip to content
This repository was archived by the owner on Dec 11, 2025. It is now read-only.

v75.0.0

Choose a tag to compare

@romoore romoore released this 23 Jan 17:26
· 3672 commits to stable since this release

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;
  }
}

@end

Changes

ActivityIndicator

AppBar

BottomAppBar

Buttons

Cards

Collections

Dialogs

FeatureHighlight

FlexibleHeader

List

MaskedTransition

NavigationBar

NavigationDrawer

PageControl

Slider

Snackbar

Tabs

TextFields

Typography

private/Beta

schemes/Shape

Multi-component changes