Skip to content

v104.0.0

Compare
Choose a tag to compare
@randallli randallli released this 12 Feb 17:04
· 1384 commits to stable since this release

104.0.0

In this major release we removed the deprecated MDCFloatingActionButtonThemer, added APIs to AppBar flexible header, alert controllers, bottom drawers and sliders to make the more configurable for clients.

Breaking changes

Deleted the MDCFloatingActionButtonThemer class. Use the theming extension.

New features

AppBar added an API for changing the stack view offset.
Flexible header added an API for showing the hairline and its color.
Availability macro for internal use.
AlertControllers added an API for titleIconView.

Bottom drawer added an API for sticky status bars and adjustment when content size changes.

let contentViewController = UIViewController()	let bottomDrawerViewController = MDCBottomDrawerViewController()
...
bottomDrawerVC.shouldIncludeSafeAreaInContentHeight = true
bottomDrawerVC.shouldIncludeSafeAreaInInitialDrawerHeight = true
present(bottomDrawerViewController, animated: true, completion: nil)

Slider added an API for allowAnimatedValueChanges and trackEndsAreRounded or trackEndsAreInset.

API changes

Component changes

ActionSheet

AppBar

Availability

Banner

BottomNavigation

ButtonBar

Buttons

Dialogs

Elevation

FeatureHighlight

FlexibleHeader

List

NavigationDrawer

ProgressView

Slider

TextControls

TextFields

private/TextControlsPrivate

Multi-component changes