Release 36.0.0
API Changes
Buttons
- Converted elevation methods to use
MDCShadowElevation
type insetad of raw CGFloats.
Palettes
- Palettes require Xcode 8+'s toolchain to compile.
Shadow Elevations
- Introduced the
MDCShadowElevation
typedef for shadow elevation values instead of raw CGFloats.
Component changes
ActivityIndicator
Changes
AppBar
Changes
- Example corrections. (#2108) (Will Larche)
- Fix app bar's top constraint that is buggy on iOS 11.0 (#2103) (Andrés)
- [Catalog] Fixes improper use of Bundle and assets (#2118) (Will Larche)
BottomAppBar
Changes
- Add readme and Swift example (#2040) (Junius Gunaratne)
BottomSheet
Changes
- [Bottom Sheet] Remove script-breaking whitespace from README.md preamble. (Adrian Secord)
- [Catalog] Fixes improper use of Bundle and assets (#2118) (Will Larche)
Buttons
Changes
- Change MDCButton to use MDCShadowElevation type instead of CGFloat. Fixes #2105. (Adrian Secord)
- Restore alpha when re-enabled (#2095) (Robert Moore)
CollectionCells
Changes
Collections
Changes
- Modernize Swift in styling readme. (#2133) (Martin Petrov)
- Update collections to support iPhone X (#1988) (Gauthier Ambard)
- [Mutliple components] Update components that use colors to use MDCPalette. (#2129) (Cody Weaver)
Dialogs
Changes
FlexibleHeader
Changes
- Make sure we update the layout when the safe area changes (#2068) (Andrés)
- [Catalog] Fixes improper use of Bundle and assets (#2118) (Will Larche)
- [Mutliple components] Update components that use colors to use MDCPalette. (#2129) (Cody Weaver)
HeaderStackView
Changes
- [Catalog] Fixes improper use of Bundle and assets (#2118) (Will Larche)
- [Mutliple components] Update components that use colors to use MDCPalette. (#2129) (Cody Weaver)
NavigationBar
Changes
PageControl
Changes
- Fixed crasher when resetting -numberOfPages to 0 (#2132) (Julien Poumailloux)
ShadowElevations
Changes
- Improve Swift support for shadow elevations (#2116) (Junius Gunaratne)
- Partial revert of commit bc582f4 to restore the definition of MDCShadowElevationSwitch . (Adrian Secord)
- [MDCShadowElevations] Remove switch elevation, add bottom navigation bar elevation (#2093) (Junius Gunaratne)
ShadowLayer
Changes
- [ShadowElevations] Improve Swift support for shadow elevations (#2116) (Junius Gunaratne)
Snackbar
Changes
- Move dismissal accessibility hint to .strings file (#2107) (Sam Morrison)
Tabs
Changes
- Invalidate layout on window change (#2122) (Brian Moore)
- MDCTabBarViewController should delegate status bar to children (#2126) (Icycle)
- Remove tint color from themer (#2104) (Junius Gunaratne)
- [Catalog] Fixes improper use of Bundle and assets (#2118) (Will Larche)
- [Mutliple components] Update components that use colors to use MDCPalette. (#2129) (Cody Weaver)
TextFields
Changes
- Examples bug and formatting (#2137) (Will Larche)
- Fix broken MDCMultilineTextField build for iOS 10. (#2100) (Martin Petrov)
- Fixes a broken link. (#2114) (Scott Hyndman)
- [Catalog] Fixes improper use of Bundle and assets (#2118) (Will Larche)
Themes
Changes
- Add documentation for material themes (#2094) (Junius Gunaratne)
Typography
Changes
- Add example using custom font family (#2130) (Cody Weaver)
- Match MDCTypography docs with nullability annotations (#2117) (Sam Morrison)