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

v73.1.0

Choose a tag to compare

@yarneo yarneo released this 08 Jan 23:38
· 3784 commits to stable since this release

In this minor release we have added new theming extensions for Cards and Chips, as well as added a new component to beta called Ripple that will eventually be a successor to Ink. We also added additional functionality to Dialogs, NavigationBar, and snapshot testing for Textfields.

New features

Card Theming Extension Usage Example

  var scheme: MDCContainerScheming {
    let scheme = MDCContainerScheme()
    scheme.colorScheme = colorScheme
    scheme.typographyScheme = typographyScheme
    scheme.shapeScheme = shapeScheme
    return scheme
  }
  ...
  let card = MDCCard()
  card.applyTheme(withScheme: scheme)

Chips Theming Extension Usage Example

  var scheme: MDCContainerScheming {
    let scheme = MDCContainerScheme()
    scheme.colorScheme = colorScheme
    scheme.typographyScheme = typographyScheme
    scheme.shapeScheme = shapeScheme
    return scheme
  }
  ...
  let chipView = MDCChipView()
  chipView.applyTheme(withScheme: scheme)

Dialogs Background Color Usage Example

let alert = MDCAlertController(title: "Title", message: "Message")
alert.backgroundColor = .white

NavigationBar Title View Inset Usage Example

let navigationBar = MDCNavigationBar()
navigationBar.titleInsets = UIEdgeInsets(top: 0, left: 16, bottom: 0, right: 16)

API changes

Cards+Theming

New extension.

Chips+Theming

New extension.

Ripple

New component.

Component changes

Changes

ActionSheet

ActivityIndicator

AppBar

BottomAppBar

BottomNavigation

BottomSheet

Cards

Chips

Collections

Dialogs

FlexibleHeader

NavigationBar

NavigationDrawer

Ripple

Slider

Tabs

TextFields

Multi-component changes