This repository was archived by the owner on Dec 11, 2025. It is now read-only.
v84.5.0
84.5.0
In this minor release we have expanded our support for NavigationBar as well as additional tests and bug fixes.
New features
NavigationBar now allows clients to present overlay views that point to views in an MDCNavigationBar:
let leadingRect = navigationBar.rect(forLeading: leadingItem, in: view)
let trailingRect = navigationBar.rect(forTrailing: trailingItem, in: view)
// Present an overlay pointing at `leadingRect` or `trailingRect`API changes
NavigationBar
MDCNavigationBar
new method: -rectForLeadingBarButtonItem:inCoordinateSpace in MDCNavigationBar
new method: -rectForTrailingBarButtonItem:inCoordinateSpace in MDCNavigationBar
Component changes
Changes
AppBar
- Update swift examples to use theming extension (#7511) (Cody Weaver)
Buttons
- Add snapshot tests for floating button theming. (#7506) (featherless)
Dialogs
- Add snapshot test for dynamic type (#7447) (Cody Weaver)
- Add test for legacy dynamic type behavior around
buttonFont(#7509) (Cody Weaver) - Add test for legacy dynamic type with the messageFont property (#7498) (Cody Weaver)
- Test title font legacy behavior when dynamic type is enabled. (#7468) (Cody Weaver)
List
- Refactor dynamic type support to use mdc_scaledFontForTraitEnvironment. (#7495) (featherless)
- Use UICollectionView as environment in List snapshot test. (#7508) (Wenyu Zhang)
NavigationBar
- Add rectFor*Item APIs. (#7504) (featherless)
Tabs
- Allow overriding internal size class. (#7517) (Robert Moore)
TextFields
- Resolve some swift warnings. (#7529) (featherless)
Typography
- Add doc to explain fallback behavior. (#7493) (Wenyu Zhang)
Multi-component changes
- Fix fallback behavior for Dynamic Type. (#7514) (Robert Moore)