Releases: material-components/material-components-ios
Releases · material-components/material-components-ios
Release 35.3.0
API Changes
Text Fields
- New properties on
MDCTextInputController
:inlinePlaceholderFont
,inlinePlaceholderFontDefault
,leadingUnderlineLabelFont,
leadingUnderlineLabelFontDefault`. - New classes
MDCTextInputControllerFilled
,MDCTextInputControllerOutlined
,MDCTextInputControllerOutlinedTextArea
.
Component changes
AppBar
Changes
- Adds example using a UITableViewController with sections. (#2051) (Marc-Antoine Courteau)
- Use safeAreaLayoutGuide.topAnchor instead of fixed status bar height (#2078) (Andrés)
- [FlexibleHeader] Fixes to support scroll views with Safe Area insets. (#2063) (Andrés)
BottomSheet
Changes
- [Dialogs] Size action buttons during layout (#2065) (Robert Moore)
Buttons
Changes
- [Catalog] Fix button examples (#2047) (Robert Moore)
- [Swiftlint]Refactor ButtonsStoryboardAndProgrammatic.swift (#2060) (Cody Weaver)
Dialogs
Changes
- Size action buttons during layout (#2065) (Robert Moore)
FeatureHighlight
Changes
- [TextFields] Adding a doc: menu for styles (#2064) (Will Larche)
FlexibleHeader
Changes
MaskedTransition
Changes
- Upgrade to MotionTransitioning v3.3.0. (#2077) (featherless)
NavigationBar
Changes
- Fix layoutSubviews to take into account the safe area insets. (#2070) (Andrés)
- Pixel-align title (#2043) (Robert Moore)
Tabs
Changes
- Unit tests for two-line text-only tabs (#2075) (Robert Moore)
- [TabBar] Support 2-line labels for "top" tabs (#2028) (Robert Moore)
- [TabBar] Vertically center text tab labels (#2023) (Robert Moore)
TextFields
Changes
- Adding a doc: menu for styles (#2064) (Will Larche)
- Better custom fonts (#2056) (Will Larche)
- Fixing bug of bad intrinsicContentSize. (#2073) (Will Larche)
- Removing unused ivar from full width. (#2058) (Will Larche)
- Renaming classes to match the MD spec (#2061) (Will Larche)
- Updating markdown syntax. (#2052) (Will Larche)
- iOS 11 example bugs fixed (#2071) (Will Larche)
Release 35.2.0
API Changes
Bottom App Bar
- New component: A bottom app bar view with an embedded floating button.
Text Fields
MDCTextField.clearButtonMode
now supports UIAppearance.
Component changes
BottomAppBar
Changes
- Add bottom app bar component to MDC (#2016) (Junius Gunaratne)
- Fix bottom app bar animation (#2034) (Junius Gunaratne)
- Fix bottom app bar animation for leading and trailing states. (#2036) (Junius Gunaratne)
- Update the file creation date to the correct year (#2035) (Junius Gunaratne)
Buttons
Changes
FlexibleHeader
Changes
Ink
Changes
NavigationBar
Changes
- [BottomAppBar] Add bottom app bar component to MDC (#2016) (Junius Gunaratne)
Tabs
Changes
- Replace usage of
new
withalloc init
to match the style guide. (#2033) (Adrian Secord) - [Catalog] Fix Tabs example for rotation (#2019) (Robert Moore)
- [Catalog] Update all Mono fonts to use system font (#1967) (Cody Weaver)
TextFields
Changes
- Adding a missing UIAppearance support (#2027) (Will Larche)
- Improved rtl behavior (#2038) (Will Larche)
- Improving alphabetization and comments (#2031) (Will Larche)
Release 35.1.0
35.1.0
API Changes
Shadows
- Added support for colored shadows.
Component changes
Buttons
Changes
- Support colored shadows (#1965) (Robert Moore)
Ink
Changes
- Call setNeedsLayout on max ripple radius change. (#2011) (Adrian Secord)
NavigationBar
Changes
- Use CGRectGet instead of accessing properties (#1991) (Cody Weaver)
PageControl
Changes
- Fix bad indicator state when changing numberOfPages. (#1997) (Moshe Kolodny)
- Switch NSMutableArray to Swift Array. (#1998) (Moshe Kolodny)
- Update swift example (#1979) (Cody Weaver)
Tabs
Changes
- [Catalog] Bottom Navigation example should use safeAreaInsets (#1976) (Robert Moore)
- fix uppercase title override (#1992) (Elliot Schrock)
TextFields
Changes
- Adding helper text to examples. (#1994) (Will Larche)
- Clear button mode correction. (#2002) (Will Larche)
- Objective-c example for outlined (#2001) (Will Larche)
- Padded label for placeholder for outlined style. (#1993) (Will Larche)
- Pinning clear button to top of input. (#2003) (Will Larche)
Release 35.0.0
API Changes
PageControl
[MDCPageControl sizeForNumberOfPages:]
method changed from instance method to class method (Cody Weaver)
TextFields
[MDCTextInputControllerDefault floatingPlaceholderColor]
renamed tofloatingPlaceholderNormalColor
, similarlyfloatingPlaceholderColorDefault
and the same forMDCTextInputControllerLegacyDefault
.
Component changes
BottomSheet
Changes
- Added README (#1946) (Cody Weaver)
ButtonBar
Changes
- - Update setting of insets to use size classes and device type (#1936) (Justin Shephard)
Dialogs
Changes
- [Dialog] Fix alert controller, title and message take half screen even they are nil (#1931) (ruizhao)
PageControl
Changes
- Updated sizeForNumberOfPages to class method (#1960) (Cody Weaver)
Snackbar
Changes
TextFields
Changes
Themes
Changes
Release 34.0.2
API Changes
None.
Component changes
ActivityIndicator
Changes
- Use explicit class for bundle (#1930) (Brian Moore)
- [AnimationTiming | ActivityIndicator] Add swift examples (#1944) (Cody Weaver)
AnimationTiming
Changes
AppBar
Changes
- [Bundles] Use explicit class in bundleForClass (#1942) (Robert Moore)
- [Catalog] Verify all examples provide CatalogByConvention methods (#1911) (Robert Moore)
ButtonBar
Changes
Buttons
Changes
- Deprecate subclassing to set cornerRadius and contentEdgeInsets (#1896) (Sam Morrison)
- Revert Deprecate subclassing to set cornerRadius and contentEdgeInsets (#1896) (#1948) (Sam Morrison)
- [Catalog] Verify all examples provide CatalogByConvention methods (#1911) (Robert Moore)
CollectionCells
Changes
Collections
Changes
- [Bundles] Use explicit class in bundleForClass (#1942) (Robert Moore)
- [Catalog] Verify all examples provide CatalogByConvention methods (#1911) (Robert Moore)
Dialogs
Changes
- [Bundles] Use explicit class in bundleForClass (#1942) (Robert Moore)
- [Catalog] Verify all examples provide CatalogByConvention methods (#1911) (Robert Moore)
FeatureHighlight
Changes
- Fix broken properties (#1938) (Sam Morrison)
- [Bundles] Use explicit class in bundleForClass (#1942) (Robert Moore)
- [Catalog] Verify all examples provide CatalogByConvention methods (#1911) (Robert Moore)
FlexibleHeader
Changes
HeaderStackView
Changes
MaskedTransition
Changes
NavigationBar
Changes
- - Update the setting of edge insets to use size classes and device type, not just device type (#1933) (Justin Shephard)
- [Catalog] Verify all examples provide CatalogByConvention methods (#1911) (Robert Moore)
PageControl
Changes
- [Bundles] Use explicit class in bundleForClass (#1942) (Robert Moore)
- [Catalog] Verify all examples provide CatalogByConvention methods (#1911) (Robert Moore)
Palettes
Changes
ProgressView
Changes
ShadowElevations
Changes
ShadowLayer
Changes
Slider
Changes
Snackbar
Changes
Tabs
Changes
TextFields
Changes
Themes
Changes
Typography
Changes
Release 34.0.1
34.0.1
Hotfix: Fixes Feature Highlight configuration.
Component changes
FeatureHighlight
Changes
- Fix broken properties (#1938) (Sam Morrison)
Release 34.0.0
API Diffs
AnimationTiming
- Improved nullibility annotations.
Buttons
- Added more support for UIAppearance in MDCButton.
- Added border color and width parameters.
FeatureHighlight
- Added support for UIContentSize (preferred user font sizes).
TextFields
- Major update to improved visual styles. For previous version, use the
*Legacy*
classes.
Component changes
ActivityIndicator
Changes
- [Activity Indicator] Added swift example (#1890) (Cody Weaver)
- [Catalog] Enabling all "unused" warnings (#1875) (Robert Moore)
AnimationTiming
Changes
- Add nullability annotations (#1881) (Brian Moore)
AppBar
Changes
- [Catalog] Enabling all "unused" warnings (#1875) (Robert Moore)
BottomSheet
Changes
- [Catalog] Enabling all "unused" warnings (#1875) (Robert Moore)
ButtonBar
Changes
- [Buttons] Default hitAreaInsets for FAB (#1866) (Robert Moore)
- [Catalog] Enabling all "unused" warnings (#1875) (Robert Moore)
Buttons
Changes
- Add state-based border color and width (#1878) (Sam Morrison)
- Default hitAreaInsets for FAB (#1866) (Robert Moore)
- Ink Appearance compatibility (#1873) (Sam Morrison)
- Make uppercaseTitle nondestructive (#1887) (Sam Morrison)
- [Catalog] Enabling all "unused" warnings (#1875) (Robert Moore)
Collections
Changes
- Allow selection of cells with hidden ink (#1739) (Robert Moore)
- Remove dismiss animation rotation (#1842) (Robert Moore)
- [Catalog] Enabling all "unused" warnings (#1875) (Robert Moore)
Dialogs
Changes
- [Catalog] Enabling all "unused" warnings (#1875) (Robert Moore)
FeatureHighlight
Changes
- Correctly load view (#1883) (Sam Morrison)
- Dynamic type support (#1884) (Sam Morrison)
- Improve text layout (#1867) (Sam Morrison)
- Shown views can receive taps (#1889) (Robert Moore)
- [Catalog] Enabling all "unused" warnings (#1875) (Robert Moore)
FlexibleHeader
Changes
- [Catalog] Enabling all "unused" warnings (#1875) (Robert Moore)
Ink
Changes
- [Catalog] Enabling all "unused" warnings (#1875) (Robert Moore)
MaskedTransition
Changes
- [Catalog] Enabling all "unused" warnings (#1875) (Robert Moore)
NavigationBar
Changes
- [Buttons] Default hitAreaInsets for FAB (#1866) (Robert Moore)
OverlayWindow
Changes
- [Catalog] Enabling all "unused" warnings (#1875) (Robert Moore)
PageControl
Changes
- [Catalog] Enabling all "unused" warnings (#1875) (Robert Moore)
Slider
Changes
- [Catalog] Enabling all "unused" warnings (#1875) (Robert Moore)
Snackbar
Changes
- [Catalog] Enabling all "unused" warnings (#1875) (Robert Moore)
Tabs
Changes
- [Catalog] Enabling all "unused" warnings (#1875) (Robert Moore)
TextFields
Changes
- Improving hit zone for becoming first responder in multiline. (#1894) (Will Larche)
- Making a test pass on 3x simulator. (#1915) (Will Larche)
- New styles: updated default, box, area (#1908) (Will Larche)
- Outlined fields (#1914) (Will Larche)
- [Catalog] Enabling all "unused" warnings (#1875) (Robert Moore)
- [Textfields] Remove unused option (#1926) (ianegordon)
Themes
Changes
- New example for custom themes (#1891) (Robert Moore)
Typography
Changes
- Match large font family on iOS 9+ (#1880) (Yurii Samsoniuk)
Release 33.0.0
API Diffs
TextFields
Renaming changes in preparation for a new text field style coming soon. No functional or visual changes to the text fields.
MDCTextInputControllerDefault
was renamed toMDCTextInputControllerLegacyDefault
.MDCTextInputControllerFullWidth
was renamed toMDCTextInputControllerLegacyFullWidth
.
Component changes
ActivityIndicator
Changes
- - Added voice accessibility support for MDCActivityIndicator (#1765) (Justin Shephard)
Buttons
Changes
- Allow users to set a custom disabled title color (#1839) (Sam Morrison)
- Correcting FAB expansion animation (#1858) (Robert Moore)
- [Catalog] Fix ButtonsTypicalUse FAB position (#1847) (Robert Moore)
Collections
Changes
- Decoration frame is unset when null (#1845) (Robert Moore)
- Fix example property attribute (#1854) (Robert Moore)
Dialogs
Changes
- Fix example class warnings (#1850) (Robert Moore)
- Fix typo in comment (ianegordon)
FlexibleHeader
Changes
NavigationBar
Changes
Tabs
Changes
- [TabBar] Fix warnings and button color in example (#1849) (Robert Moore)
TextFields
Changes
- New controller api for leading and trailing colors. (#1846) (Will Larche)
- Renaming text field controllers to have 'Legacy' (#1876) (Will Larche)
- [TextField] Documentation clean up. (#1868) (Scott Hyndman)
Themes
Changes
Release 32.0.0
API Diffs
Buttons
- Added larger-icon version of the floating action button.
TextFields
- Added
MDCTextInputController
propertiesactiveColor
,disabledColor
,normalColor
, and associated default colors. - Removed
MDCTextInputController
propertiesunderlineColorActive
,underlineColorNormal
, and associated default colors. - Removed
MDCTextInputUnderlineView
propertiesdisabledUnderline
andunderline
in favor ofcolor
anddisabledColor
.
Component changes
AppBar
Changes
- Added missing license stanzas. (#1768) (Adrian Secord)
- Fixing modal example bar colors (#1785) (Robert Moore)
ButtonBar
Changes
- Make ButtonBarButton insets in method (#1797) (Robert Moore)
- Refactor ButtonBarBuilder for testing (#1796) (Robert Moore)
- Remove macro for bit masks (#1795) (Robert Moore)
Buttons
Changes
- Adding FAB support for 36-point icons (#1810) (Robert Moore)
- Creating animations for FAB appearance (#1755) (Robert Moore)
- Fix FAB icon scale collapse timing (#1794) (Robert Moore)
- Unit tests for FAB animations (#1778) (Robert Moore)
- [Catalog] Fix button typical use layout on iOS 9 (#1769) (Robert Moore)
- [FAB] Adding missing void. (#1771) (Will Larche)
CollectionCells
Changes
- [Collections] Make cell font values functions (#1763) (Robert Moore)
- [Collections] Replacing macros with function calls (#1787) (Robert Moore)
Collections
Changes
- Adding unit tests for flow layouts (#1779) (Robert Moore)
- Fix header info view z-index (#1798) (Robert Moore)
- Limit the drag needed to dismiss an item (#1811) (Gauthier Ambard)
- Replacing macros with function calls (#1787) (Robert Moore)
FeatureHighlight
Changes
- Added missing license stanzas. (#1768) (Adrian Secord)
- Adjust Dismiss Drag Proportions To Feel More Natural #1754 (#1799) (InbarItayG)
MaskedTransition
Changes
- [Jazzy] Ran
scripts/generate_jazzy_yamls.sh
for new components. (#1766) (Adrian Secord) - [MDCMaskedTransition] Fixed Xcode 9 block declaration. (Adrian Secord)
NavigationBar
Changes
- Added missing license stanzas. (#1768) (Adrian Secord)
- Hide UINavigationBar in example (#1784) (Robert Moore)
OverlayWindow
Changes
- Remove iOS 7 code (#1826) (Robert Moore)
Snackbar
Changes
- Fixing snackbar/overlay during rotation (#1830) (Robert Moore)
- [OverlayWindow] Remove iOS 7 code (#1826) (Robert Moore)
Tabs
Changes
- Added missing license stanzas. (#1768) (Adrian Secord)
- [Jazzy] Ran
scripts/generate_jazzy_yamls.sh
for new components. (#1766) (Adrian Secord)
TextFields
Changes
- Adding a multiline text field to main example (#1790) (Will Larche)
- Adding readme metadata. (#1777) (Will Larche)
- Adds api_components_root to TextFields/README.md. (#1788) (Scott Hyndman)
- Correcting key typos. (#1770) (Will Larche)
- Making a disabled color property on controllers (#1776) (Will Larche)
- Readme update. (#1824) (Will Larche)
- Regular example improvements. (#1791) (Will Larche)
- Removing unused constraints in default. (#1789) (Will Larche)
- Renaming and cleaning up propertys. (#1767) (Will Larche)
- [Jazzy] Ran
scripts/generate_jazzy_yamls.sh
for new components. (#1766) (Adrian Secord)
Release 31.0.2
Hotfix release: fixes autolayout bug involving TextFields height.