Releases: material-components/material-components-ios
Releases · material-components/material-components-ios
Version 31.0.1
No changes to code or docs, only updating metadata for generating https://material.io/components/ios/.
Release 31.0.0
31.0.0
API Diffs
TextFields
- Added
MDCMultilineTextField
, a Material Design-themed mutiline text field (multiline text input). [MDCTextFieldPositioningDelegate sizeThatFits:defaultSize:]
has been removed, see[MDCTextFieldPositioningDelegate textInsets:]
instead.- Added
MDCMultilineTextInput.minimumLines
and.expandsOnOverflow
properties.
Component changes
Buttons
Changes
- [Math] Align frames to pixel boundaries (#1730) (Robert Moore)
CollectionCells
Changes
- [Collections] Making Disclosure indicator tinted (#1745) (Robert Moore)
Collections
Changes
- Fix for possible infinite recursion (#1711) (Justin Shephard)
- Custom section insets call delegate (#1752) (Robert Moore)
FeatureHighlight
Changes
- Fix gesture recognizers (#1749) (Sam Morrison)
- [Math] Align frames to pixel boundaries (#1730) (Robert Moore)
NavigationBar
Changes
- Improve centering when barButtonItems are asymmetric (#1721) (Robert Moore)
Slider
Changes
- [Math] Align frames to pixel boundaries (#1730) (Robert Moore)
TextFields
Changes
- Examples improvements. (#1734) (Will Larche)
- Fixing the ordering and labeling of 2 pragma marks. (#1731) (Will Larche)
- Formatting. (#1748) (Will Larche)
- Multiline textfields (#1756) (Will Larche)
- [Text fields] Simplification of height calculation. (#1733) (Will Larche)
Release 30.0.0
30.0.0
API Diffs
Collections
- Added 'shouldHideSeparatorForCellLayoutAttributes' to MDCCollectionViewStyling protocol.
- Added three methods to MDCCollectionViewStylingDelegate for optionally hiding cell separators.
MaskedTransitioning
- New component that makes it easy to animate between two view controllers using an expanding mask effect.
TextFields
- Added 'leadingView' and 'leadingViewMode' properties to MDCTextField.
- Renamed MDCTextFieldPositioningDelegate method 'textContainerInset:' to 'textInsets:'
- Added 'enabled', 'textInsets', 'trailingView' and 'trailingViewMode' properties to MDCTextInput.
Typography
- Changed nullability of 'lightFontOfSize', 'mediumFontOfSize' and 'boldItalicFontOfSize' methods from nonnull to nullable.
Component changes
ButtonBar
Changes
Buttons
Changes
- Add a stroked button to the examples (#1714) (Sam Morrison)
- Fix storyboard backgroundColor assignment (#1706) (Sam Morrison)
- Reset Ink when moved to new superview (#1656) (Robert Moore)
- Set default title color of MDCFlatButton to black (#1725) (Sam Morrison)
- Unbounded ink aligns to content insets (#1670) (Robert Moore)
- Undo MDCFlatButton title color changes (#1681) (Sam Morrison)
CollectionCells
Changes
- [Collections] Extend cell label to superview width (#1661) (Robert Moore)
- [Collections] Only change selected icon if needed (#1692) (Robert Moore)
- [Collections] Reuse label frames (#1705) (ianegordon)
Collections
Changes
- Add "editing" performance example (#1710) (Robert Moore)
- Add StylingDelegate methods to control separator display (#1627) (Gauthier Ambard)
Dialogs
Changes
- Add Issue number. (#1727) (ianegordon)
FeatureHighlight
Changes
- Correctly handle ended and cancelled touches (#1684) (Sam Morrison)
Ink
Changes
- Don't assign compositeRipple frame twice (#1687) (Robert Moore)
- [Buttons] Reset Ink when moved to new superview (#1656) (Robert Moore)
MaskedTransition
Changes
- Add Masked Transition component. (#1513) (featherless)
Snackbar
Changes
- Notify MDCOverlayObservers of bottom offset changes (#1659) (Sam Morrison)
TextFields
Changes
- Alphabetizing propertys. (#1691) (Will Larche)
- Comment grammar correction. (#1695) (Will Larche)
- Constraint correction and cleanup. (#1665) (Will Larche)
- Fundament implementation of trailingViewMode. (#1702) (Will Larche)
- Making enabled mandatory. (#1679) (Will Larche)
- Making textInsets mandatory. (#1697) (Will Larche)
- Moving two propertys to be below the correct pragma mark. (#1703) (Will Larche)
- Overlay views. (#1676) (Will Larche)
- Renaming a tests file. (#1718) (Will Larche)
- Reorganizing and internal clean up (#1677) (Will Larche)
- Tests for default priorities of constraints. (#1678) (Will Larche)
- [TextField] Add color themer for text fields (#1666) (Junius Gunaratne)
- [Textfields] Better naming two tests (#1704) (Will Larche)
Themes
Changes
- [TextField] Add color themer for text fields (#1666) (Junius Gunaratne)
Typography
Changes
- Fixing nullability attributes for fonts (#1696) (Robert Moore)
- [Fonts] Cache system fonts (#1689) (Robert Moore)
Hotfix release 29.0.0
- Reverts changes to the title color of MDCFlatButton and MDCRaisedButton.
Release 28.0.0
28.0.0
API Diffs
AppBar
- Added MDCAppBarTextColorAccessibilityMutator
Button
- Marked 'customTitleColor' as deprecated.
- Changed behavior of 'setTitleColor:forState:' so that it no longer changes the titleColor if the color was deemed to be of insufficient contrast with the background color.
Icons
- For each icon in MDCIcons we now have a method that returns a UIImage.
TextFields
- Removed UI_APPEARANCE_SELECTOR from all controller style properties.
- Changed all controller style properties from instance to class properties.
Component changes
AppBar
Changes
- - Accessibility Mutator (#1236) (Justin Shephard)
- Remove trailing whitespace (Sam Morrison)
ButtonBar
Changes
- [Buttons] Deprecate customTitleColor and remove auto-accessibility from setTitleColor (#1609) (Sam Morrison)
Buttons
Changes
CollectionCells
Changes
- [Collections] Use image cache for selection icons (#1638) (Robert Moore)
Collections
Changes
- Allow custom UIEdgeInsets (#1614) (Robert Moore)
Dialogs
Changes
- MDCAlertController should announce 'alert' in VO (#1639) (Sarah Read)
- [Buttons] Deprecate customTitleColor and remove auto-accessibility from setTitleColor (#1609) (Sam Morrison)
FeatureHighlight
Changes
- [Feature Highlight] Swipe to dismiss (#1636) (Sam Morrison)
Ink
Changes
- Ink reset passes animation value to ripples (#1652) (Robert Moore)
- Reset ink without animation calls delegate (#1654) (Robert Moore)
NavigationBar
Changes
- Vertically center navigationBar title within its default height for UIControlContentVerticalAlignmentTop (#1576) (Kien Tran)
- [AppBar] - Fixed center align issue on RTL which was taking incorrect x value to determine centering (#1646) (Justin Shephard)
PageControl
Changes
- Remove internal references. (#1648) (Adrian Secord)
TextFields
Changes
- Appearance defaults (#1620) (Will Larche)
- Correcting active color. (#1640) (Will Larche)
- Correcting documentation typo. (#1647) (Will Larche)
- Remove trailing whitespace (Sam Morrison)
- [Buttons] Deprecate customTitleColor and remove auto-accessibility from setTitleColor (#1609) (Sam Morrison)
Release 27.0.0
27.0.0
API Diffs
Button
- Removed 'resetElevationForState'.
- Removed NS_UNAVAILABLE from 'setBackgroundColor'.
Component changes
ActivityIndicator
Changes
AppBar
Changes
- Explicitly annotating some known ObjC methods. (#1617) (Martin Petrov)
BottomSheet
Changes
ButtonBar
Changes
- Explicitly annotating some known ObjC methods. (#1617) (Martin Petrov)
- Remove uses of
typeof
and the?:
operator (#1601) (Robert Moore)
Buttons
Changes
- Elevation clean up (#1574) (Sam Morrison)
- Explicitly annotating some known ObjC methods. (#1617) (Martin Petrov)
- Ink should ignore content edge insets (#1593) (Robert Moore)
- Remove NS_UNAVAILABLE from setBackgroundColor (#1572) (Sam Morrison)
- Remove trailing spaces from test (#1602) (Sam Morrison)
- Sort property/method definitions (#1599) (Sam Morrison)
CollectionCells
Changes
- Remove uses of
typeof
and the?:
operator (#1601) (Robert Moore) - Reset cells in prepareForReuse (#1633) (Robert Moore)
Collections
Changes
- Do not invalidate layout for all gesture beginning (#1623) (Gauthier Ambard)
- Fallback to default cell background color on nil. (#1630) (Yurii Samsoniuk)
- Remove uses of
typeof
and the?:
operator (#1601) (Robert Moore)
Dialogs
Changes
- Explicitly annotating some known ObjC methods. (#1617) (Martin Petrov)
- [Docs] Replaced internal site references with public equivalents. (#1616) (Adrian Secord)
- [KeyboardWatcher] iOS 8 simplification and cleanup (#1589) (ianegordon)
FeatureHighlight
Changes
FlexibleHeader
Changes
- - Updated unit tests (#1619) (Justin Shephard)
Ink
Changes
NavigationBar
Changes
- Remove uses of
typeof
and the?:
operator (#1601) (Robert Moore)
PageControl
Changes
- Explicitly annotating some known ObjC methods. (#1617) (Martin Petrov)
- Remove uses of
typeof
and the?:
operator (#1601) (Robert Moore)
ProgressView
Changes
- Remove uses of
typeof
and the?:
operator (#1601) (Robert Moore)
ShadowLayer
Changes
- Explicitly annotating some known ObjC methods. (#1617) (Martin Petrov)
- Support layer copying (#1625) (Robert Moore)
Slider
Changes
- Remove uses of
typeof
and the?:
operator (#1601) (Robert Moore)
Snackbar
Changes
Tabs
Changes
- Constrain tabs to the view's width (#1615) (Brian Moore)
- Explicitly annotating some known ObjC methods. (#1617) (Martin Petrov)
- Remove uses of
typeof
and the?:
operator (#1601) (Robert Moore) - Restore initial tab selection behavior (#1605) (Brian Moore)
TextFields
Changes
- Explicitly annotating some known ObjC methods. (#1617) (Martin Petrov)
- Fixes for minor bugs and comment improvements (#1588) (Will Larche)
- Remove uses of
typeof
and the?:
operator (#1601) (Robert Moore) - [TextField] Update demo alert to indicate floating setting. (#1612) (Donna McCulloch)
Typography
Changes
- Remove uses of
typeof
and the?:
operator (#1601) (Robert Moore)
Release 26.0.0
26.0.0
API diffs
ActivityIndicator
- Setting 'cycleColors' to an empty array now sets 'cycleColors' to the default cycle colors.
BottomSheet
- New component for presenting a view controller as a bottom sheet.
Buttons
- New subcomponent MDCButtonTitleColorAccessibilityMutator for enforcing title/background color contrast.
Dialogs
- 'UIViewController+MaterialDialogs' property 'mdc_dialogPresentationController' now has the nullability annotation of nullable.
TextFields
- 'MDCTextInputController' renamed to 'MDCTextInputControllerDefault'
- Added 'MDCTextInputController' protocol
- Removed 'presentationStyle' property from MDCTextInputController
- Added 'MDCTextInputControllerFullWidth'
Component changes
ActivityIndicator
Changes
- Default cycleColors property for empty arrays #1508 (#1540) (Robert Moore)
- [Themes] Add ability to change catalog theme (#1477) (Junius Gunaratne)
AnimationTiming
Changes
- [Themes] Add ability to change catalog theme (#1477) (Junius Gunaratne)
AppBar
Changes
- [Themes] Add ability to change catalog theme (#1477) (Junius Gunaratne)
BottomSheet
Changes
- [Bottom sheet] component (#1297) (Sam Morrison)
ButtonBar
Changes
- [Themes] Add ability to change catalog theme (#1477) (Junius Gunaratne)
Buttons
Changes
- Button title color accessibility mutator (#1567) (Randall Li)
- Call designated initializer in init methods (#1553) (ianegordon)
- [Swift] Fixing swift style errors (#1577) (Will Larche)
- [Themes] Add ability to change catalog theme (#1477) (Junius Gunaratne)
Dialogs
Changes
- Add nullability annotation (#1544) (ianegordon)
- [Themer] Support alert color themer in iOS 8 (#1569) (Junius Gunaratne)
FeatureHighlight
Changes
- [Themes] Add ability to change catalog theme (#1477) (Junius Gunaratne)
FlexibleHeader
Changes
- [Swift] Fixing swift style errors (#1577) (Will Larche)
- [Themes] Add ability to change catalog theme (#1477) (Junius Gunaratne)
HeaderStackView
Changes
- [Themes] Add ability to change catalog theme (#1477) (Junius Gunaratne)
NavigationBar
Changes
- [Swift] Fixing swift style errors (#1577) (Will Larche)
- [Themes] Add ability to change catalog theme (#1477) (Junius Gunaratne)
Slider
Changes
- [Themes] Add ability to change catalog theme (#1477) (Junius Gunaratne)
Snackbar
Changes
- Resuming messages when tokens are deallocated (#1551) (Robert Moore)
- [Swift] Fixing swift style errors (#1577) (Will Larche)
Tabs
Changes
- Reposition the Ink layer in ItemBar cells (#1554) (Robert Moore)
- [ButtonBar] Restoring ink to the top of the cell (#1584) (Robert Moore)
- [Swift] Fixing swift style errors (#1577) (Will Larche)
- [Themes] Add ability to change catalog theme (#1477) (Junius Gunaratne)
TextFields
Changes
- Fix for missing guard from presentationStyles to controller classes refactor. (#1579) (Will Larche)
- Fix of minor details and PR comments (#1585) (Will Larche)
- Fix text fields placeholder Y preset (#1581) (Will Larche)
- Presentation styles to controller classes (#1549) (Will Larche)
- [Swift] Fixing swift style errors (#1577) (Will Larche)
Themes
Changes
- Add ability to change catalog theme (#1477) (Junius Gunaratne)
25.1.1
25.1.1
Hotfix: Cherry picked: [Buttons] Call designated initializer in init methods
Component changes
Buttons
Changes
- Call designated initializer in init methods (#1553) (ianegordon)
Release 25.1.0
25.1.0
Changes
API diffs
Buttons
- Added 'init' method in MDCFloatingButton
TextFields
- Added properties 'underlineColorNormal', 'underlineColorActive','errorText' properties in MDCTextInputController
- Changed nullabilitity attributes on 'floatingPlaceholdColor' & 'inlinePlaceholderColor' from nullable to null_resettable
- Added class 'MDCTextInputUnderlineView'
- Added properties 'disabledUnderline', 'underline', 'color', 'lineHeight', 'enabled' in MDCTextInputUnderlineView
- Added 'sizeThatFIts:defaultSize:' method to MDCTextFieldPositioningDelegate
Component changes
ActivityIndicator
Changes
- Fix imports to use umbrella imports (#1529) (Randall Li)
AppBar
Changes
- [Themers] Add app bar color themer (#1503) (Junius Gunaratne)
ButtonBar
Changes
- Fix imports to use umbrella imports (#1529) (Randall Li)
- [Themers] Add app bar color themer (#1503) (Junius Gunaratne)
Buttons
Changes
- Add -Wstrict-prototypes and fix errors. (#1532) (Adrian Secord)
- Fix imports to use umbrella imports (#1529) (Randall Li)
- Make sure that MDCButton has the proper init methods. (#1542) (Randall Li)
- [mdcbutton] Using UIAppearance to set the default background color for the normal state. (randallli)
- Button appearance (#1502) (Randall Li)
- Revert "Button appearance (#1502)" (#1504) (Randall Li)
- Reverted MDCButton changes from Component Themer change: (#1490) (Randall Li)
- [Button] Calling commonMDCButtonInit from init. (#1501) (Randall Li)
CollectionCells
Changes
- Add -Wstrict-prototypes and fix errors. (#1532) (Adrian Secord)
- Fix imports to use umbrella imports (#1529) (Randall Li)
Collections
Changes
- Add -Wstrict-prototypes and fix errors. (#1532) (Adrian Secord)
- Fix imports to use umbrella imports (#1529) (Randall Li)
Dialogs
Changes
- Fix imports to use umbrella imports (#1529) (Randall Li)
FeatureHighlight
Changes
- Fix imports to use umbrella imports (#1529) (Randall Li)
- [Feature Highlight] Rotation fixes and animation improvement (#1505) (Sam Morrison)
FlexibleHeader
Changes
- Add -Wstrict-prototypes and fix errors. (#1532) (Adrian Secord)
- Fix imports to use umbrella imports (#1529) (Randall Li)
- Remove unused function from example. (#1527) (Adrian Secord)
HeaderStackView
Changes
- Fix imports to use umbrella imports (#1529) (Randall Li)
Ink
Changes
- Add -Wstrict-prototypes and fix errors. (#1532) (Adrian Secord)
- Fix imports to use umbrella imports (#1529) (Randall Li)
NavigationBar
Changes
- Fix imports to use umbrella imports (#1529) (Randall Li)
OverlayWindow
Changes
- Fix imports to use umbrella imports (#1529) (Randall Li)
PageControl
Changes
- Add -Wstrict-prototypes and fix errors. (#1532) (Adrian Secord)
- Fix imports to use umbrella imports (#1529) (Randall Li)
ProgressView
Changes
- Fix imports to use umbrella imports (#1529) (Randall Li)
Slider
Changes
- Fix imports to use umbrella imports (#1529) (Randall Li)
Snackbar
Changes
- Fix imports to use umbrella imports (#1529) (Randall Li)
Tabs
Changes
- Add -Wstrict-prototypes and fix errors. (#1532) (Adrian Secord)
- Added implementation for accessibilityElementForItem: (brianjmoore)
- Fix imports to use umbrella imports (#1529) (Randall Li)
TextFields
Changes
- Adding missing implementations of properties (#1528) (Will Larche)
- Corrections to height and frame and better manual layout support (#1525) (Will Larche)
- Fix imports to use umbrella imports (#1529) (Randall Li)
- Underline color customization (#1537) (Will Larche)
Typography
Changes
- Fix imports to use umbrella imports (#1529) (Randall Li)
Release 25.0.1
Hotfix: Added implementation for accessibilityElementForItem: for MDCTabBar