Releases: material-components/material-components-ios
v44.6.0
44.6.0
API changes
Cards
New component.
Ink
MDCInkView
new method: -startTouchBeganAtPoint:animated:withCompletion:
in MDCInkView
new method: -startTouchEndAtPoint:animated:withCompletion:
in MDCInkView
Component changes
AnimationTiming
Changes
BottomSheet
Changes
- Adds missing Jazzy yaml files. (#2871) (Scott Hyndman)
Cards
Changes
- Initial Implementation (#2894) (Yarden Eitan)
Chips
Changes
- RTL support (#2863) (Sam Morrison)
- Update font style (Ian Gordon)
Dialogs
Changes
- Added Example for issue #2860 to Dragons (#2864) (danblakemore)
- Rounded corner example (#2881) (ianegordon)
FlexibleHeader
Changes
- Update MDCFlexibleHeaderView.m (#2861) (andrewplai)
Ink
Changes
- Fix ink animation timing in time-scaled layers (#2884) (Robert Moore)
- [Cards] Initial Implementation (#2894) (Yarden Eitan)
LibraryInfo
Changes
- Adds missing Jazzy yaml files. (#2871) (Scott Hyndman)
TextFields
Changes
- Correcting logic mistake (#2885) (Will Larche)
Typography
Changes
v44.5.0
API changes
ButtonBar
MDCButtonBarButton
new class: MDCButtonBarButton
Component changes
ButtonBar
Changes
- Expose font and padding properties (#2849) (ianegordon)
ProgressView
Changes
- Remove MDMMotion (#2854) (ianegordon)
TextFields
Changes
- Correcting documentation (#2844) (Will Larche)
v44.4.0
v44.4.0
API changes
Chips
MDCChipView
new method: -inkColorForState:
in MDCChipView
new method: -setInkColor:forState:
in MDCChipView
modified class: MDCChipView
modified property: inkColor
in MDCChipView
modified property: inkColor
in MDCChipView
Snackbar
MDCSnackbarMessageView
new property: buttonFont
in MDCSnackbarMessageView
new property: messageFont
in MDCSnackbarMessageView
Component changes
Chips
Changes
- Stateful ink (#2823) (Sam Morrison)
Snackbar
Changes
- Add customizable fonts (#2831) (ianegordon)
v44.3.0
44.3.0
API changes
Themes
MDCFontScheme
new property: button
in MDCFontScheme
new property: body2
in MDCFontScheme
new property: headline5
in MDCFontScheme
new property: caption
in MDCFontScheme
new property: subtitle2
in MDCFontScheme
new property: subtitle1
in MDCFontScheme
new property: body1
in MDCFontScheme
new property: headline1
in MDCFontScheme
new property: overline
in MDCFontScheme
new property: headline2
in MDCFontScheme
new property: headline4
in MDCFontScheme
new protocol: MDCFontScheme
new property: headline3
in MDCFontScheme
new property: headline6
in MDCFontScheme
MDCBasicFontScheme
new property: button
in MDCBasicFontScheme
new property: headline1
in MDCBasicFontScheme
new property: headline5
in MDCBasicFontScheme
new property: body1
in MDCBasicFontScheme
new property: subtitle2
in MDCBasicFontScheme
new property: headline2
in MDCBasicFontScheme
new property: body2
in MDCBasicFontScheme
new property: overline
in MDCBasicFontScheme
new property: headline6
in MDCBasicFontScheme
new property: subtitle1
in MDCBasicFontScheme
new class: MDCBasicFontScheme
new property: headline4
in MDCBasicFontScheme
new property: headline3
in MDCBasicFontScheme
new property: caption
in MDCBasicFontScheme
Component changes
FeatureHighlight
Changes
Themes
Changes
v44.2.0
44.2.0
API changes
Chips
MDCChipView
new property: titleFont
in MDCChipView
ActivityIndicator
Changes
- [Podspec] Fix podspec warnings when issuing a lint (#2811) (Yarden Eitan)
BottomNavigation
Changes
- [Podspec] Fix podspec warnings when issuing a lint (#2811) (Yarden Eitan)
ButtonBar
Changes
- [Podspec] Fix podspec warnings when issuing a lint (#2811) (Yarden Eitan)
Chips
Changes
- Add custom font support (#2820) (ianegordon)
CollectionCells
Changes
- [Podspec] Fix podspec warnings when issuing a lint (#2811) (Yarden Eitan)
FlexibleHeader
Changes
- Fix status bar not disappearing for edge case (#2819) (Sam Morrison)
Typography
Changes
- [Podspec] Fix podspec warnings when issuing a lint (#2811) (Yarden Eitan)
Release 44.1.0
New features
MDCSlider
supports more UIAppearance customization.MDCActivityIndicator
provides improved support for animation transitions.
API changes
ActivityIndicator
MDCActivityIndicatorTransition
new property: duration
in MDCActivityIndicatorTransition
new method: -initWithAnimation:
in MDCActivityIndicatorTransition
new class: MDCActivityIndicatorTransition
new property: animation
in MDCActivityIndicatorTransition
new method: -init
in MDCActivityIndicatorTransition
new method: -initWithCoder:
in MDCActivityIndicatorTransition
new property: completion
in MDCActivityIndicatorTransition
MDCActivityIndicatorAnimation
new typedef: MDCActivityIndicatorAnimation
MDCActivityIndicator
new method: -startAnimatingWithTransition:cycleStartIndex:
in MDCActivityIndicator
new method: -stopAnimatingWithTransition:
in MDCActivityIndicator
Slider
MDCSlider
new property: thumbRadius
in MDCSlider
new property: thumbElevation
in MDCSlider
modified property: trackBackgroundColor
in MDCSlider
Type of change: | Declaration |
---|---|
From: | @property(nonatomic, strong, null_resettable) UIColor *trackBackgroundColor |
To: | @property (readwrite, strong, nonatomic, null_resettable) UIColor *trackBackgroundColor; |
Component changes
ActivityIndicator
Changes
- Add an api to MDCActivityIndicator to allow animations before/after animating (#2766) (John Detloff)
- Consolidate installation requirements in the main README (#2809) (ianegordon)
- [Activity Indicator] Don't call UIAppearance in +initialize (#2810) (ianegordon)
AnimationTiming
Changes
AppBar
Changes
BottomAppBar
Changes
- remove themer from bottomnavbar (#2814) (Yarden Eitan)
BottomNavigation
Changes
- [BottomNav] Reduce default font to
caption
(#2799) (Robert Moore)
BottomSheet
Changes
ButtonBar
Changes
Chips
Changes
- [Catalog] Remove unwanted warnings from build (#2794) (Yarden Eitan)
CollectionCells
Changes
CollectionLayoutAttributes
Changes
Collections
Changes
- Consolidate installation requirements in the main README (#2809) (ianegordon)
- stop weird behavior of swiping to dismiss cells in collection views if 2 fingers are swiping at the same time (#2792) (Yarden Eitan)
Dialogs
Changes
- Consolidate installation requirements in the main README (#2809) (ianegordon)
- Explicitly annotate MDCAlertController as not subclassable (#2801) (ianegordon)
FeatureHighlight
Changes
FlexibleHeader
Changes
HeaderStackView
Changes
Ink
Changes
LibraryInfo
Changes
MaskedTransition
Changes
NavigationBar
Changes
OverlayWindow
Changes
PageControl
Changes
Palettes
Changes
ProgressView
Changes
ShadowElevations
Changes
ShadowLayer
Changes
Slider
Changes
- Add appearance properties and enable UIAppearance. (#2796) (Adrian Secord)
- Consolidate installation requirements in the main README (#2809) (ianegordon)
Snackbar
Changes
Tabs
Changes
TextFields
Changes
- [Catalog] Remove unwanted warnings from build (#2794) (Yarden Eitan)
Typography
Changes
- Consolidate installation requirements in the main README (#2809) (ianegordon)
- Suppress pointer warning in tests (#2805) (Robert Moore)
v44.0.0
Breaking changes
Podspec now separates out extensions (themers, accessibility additions, etc.) into their own podspec.
If you wish to add a component and all of its extensions, update your Podfile and add "+Extensions"
to the component.
To include Activity Indicator and its extensions you would write:
pod 'MaterialComponents/ActivityIndicator+Extensions'
Component changes
ActivityIndicator
Changes
BottomNavigation
Changes
BottomSheet
Changes
ButtonBar
Changes
Buttons
Changes
- Cleanup (#2759) (ianegordon)
- Update MaterialComponents podspec to separate extensions from component. Breaking change, please see description when sending out a new release (#2748) (Yarden Eitan)
Collection Cells
Changes
- Fix accessoryPadding encoding key (#2773) (Robert Moore)
- Use correct title label text property in README.md (#2776) (heinberg)
- [Ink] Add NSCoding support to MDCInkView/Layer (#2777) (Robert Moore)
Collections
Changes
- [Examples/Tests] Convert @imports to imports (#2761) (Robert Moore)
Dialogs
Changes
- Add designated initializer to MDCAlertController (#2778) (Robert Moore)
- Update MaterialComponents podspec to separate extensions from component. Breaking change, please see description when sending out a new release (#2748) (Yarden Eitan)
- [Examples/Tests] Convert @imports to imports (#2761) (Robert Moore)
Feature Highlights
Changes
FlexibleHeader
Changes
HeaderStackView
Changes
Ink
Changes
- Add NSCoding support to MDCInkView/Layer (#2777) (Robert Moore)
- Update MaterialComponents podspec to separate extensions from component. Breaking change, please see description when sending out a new release (#2748) (Yarden Eitan)
- Update docs to remove optional chaining for MDCInkTouchController instances (#2756) (Yarden Eitan)
NavigationBar
Changes
- Example showing custom font (#2720) (ianegordon)
- Update MaterialComponents podspec to separate extensions from component. Breaking change, please see description when sending out a new release (#2748) (Yarden Eitan)
PageControl
Changes
ProgressView
Changes
Slider
Changes
Snackbar
Changes
- [Examples/Tests] Convert @imports to imports (#2761) (Robert Moore)
- [SnackBar] Increase unit test timeout (#2750) (Robert Moore)
Tabs
Changes
- Update MaterialComponents podspec to separate extensions from component. Breaking change, please see description when sending out a new release (#2748) (Yarden Eitan)
- Update README.md (ianegordon)
- [Examples/Tests] Convert @imports to imports (#2761) (Robert Moore)
TextFields
Changes
Themes
Changes
- [Examples/Tests] Convert @imports to imports (#2761) (Robert Moore)
Typography
Changes
Typography
Changes
v43.1.1
43.1.1
Component changes
ActivityIndicator
Changes
AnimationTiming
Changes
AppBar
Changes
- Added isPresentable to catalog files, ported over ZShadow to dragons. (#2726) (Yarden Eitan)
- An example showing a bug when using MDCFlexibleHeaderView inside a UITableViewController (#2744) (Yarden Eitan)
BottomAppBar
Changes
BottomNavigation
Changes
- Add NSCoding tests (#2740) (Robert Moore)
- Added isPresentable to catalog files, ported over ZShadow to dragons. (#2726) (Yarden Eitan)
- Correct itemTitleFont behavior (#2736) (Robert Moore)
BottomSheet
Changes
ButtonBar
Changes
Buttons
Changes
- Added isPresentable to catalog files, ported over ZShadow to dragons. (#2726) (Yarden Eitan)
- Extended FAB leading-align text and no minimum width (#2732) (Robert Moore)
- Fix docs/art for Floating Button layout (#2745) (Robert Moore)
Chips
Changes
- Added isPresentable to catalog files, ported over ZShadow to dragons. (#2726) (Yarden Eitan)
- Pixel align subviews (#2739) (Sam Morrison)
CollectionCells
Changes
Collections
Changes
Dialogs
Changes
- Added isPresentable to catalog files, ported over ZShadow to dragons. (#2726) (Yarden Eitan)
- Fixed retain cycle in MDCDialogTransition that causes MDCAlertController to never be released and presenting view to never be released. (#2684) (Randall Li)
FeatureHighlight
Changes
- Added isPresentable to catalog files, ported over ZShadow to dragons. (#2726) (Yarden Eitan)
- Fix crash in Dynamic Type handling (#2742) (ianegordon)
FlexibleHeader
Changes
HeaderStackView
Changes
Ink
Changes
MaskedTransition
Changes
NavigationBar
Changes
- Add Accessibility method tests (#2721) (Robert Moore)
- Added isPresentable to catalog files, ported over ZShadow to dragons. (#2726) (Yarden Eitan)
PageControl
Changes
Palettes
Changes
ProgressView
Changes
ShadowElevations
Changes
ShadowLayer
Changes
Slider
Changes
Snackbar
Changes
Tabs
Changes
TextFields
Changes
- Added isPresentable to catalog files, ported over ZShadow to dragons. (#2726) (Yarden Eitan)
- Formatting. (#2725) (Will Larche)
Themes
Changes
Typography
Changes
v43.1.0
API changes
Buttons
MDCButton
new method: -setTitleFont:forState:
in MDCButton
new method: -titleFontForState:
in MDCButton
FeatureHighlight
MDCFeatureHighlightView
new property: bodyFont
in MDCFeatureHighlightView
new property: titleFont
in MDCFeatureHighlightView
Component changes
ActivityIndicator
Changes
- [kokoro] Add :ColorThemer targets (#2712) (Robert Moore)
AppBar
Changes
- Add BUILD file (#2699) (Robert Moore)
BottomAppBar
Changes
- Add BUILD file and no-op test (#2700) (Robert Moore)
BottomNavigation
Changes
- Add BUILD file and no-op test (#2703) (Robert Moore)
ButtonBar
Changes
Buttons
Changes
- Add a custom font property (#2715) (ianegordon)
Chips
Changes
- Add BUILD file and no-op test (#2706) (Robert Moore)
- Fix sizeToFit sometimes being too small (#2719) (Sam Morrison)
- Use new layer border properties (#2717) (Sam Morrison)
- [Ink] Add updated ink to chips, update ink animation when bounds change (#2545) (Junius Gunaratne)
- [Shapes] Remove MDCShapedShadowLayer fillColor property (#2716) (Sam Morrison)
CollectionCells
Changes
- Add BUILD file (#2693) (Robert Moore)
Collections
Changes
- Add BUILD file and add missing import (#2698) (Robert Moore)
FeatureHighlight
Changes
- Add custom font support (#2701) (ianegordon)
FlexibleHeader
Changes
- [kokoro] Add :ColorThemer targets (#2712) (Robert Moore)
HeaderStackView
Changes
- Add BUILD file and no-op test (#2695) (Robert Moore)
Ink
Changes
- Add updated ink to chips, update ink animation when bounds change (#2545) (Junius Gunaratne)
- [kokoro] Add :ColorThemer targets (#2712) (Robert Moore)
LibraryInfo
Changes
- Add BUILD file (#2707) (Robert Moore)
MaskedTransition
Changes
- Add BUILD file and no-op test (#2708) (Robert Moore)
NavigationBar
Changes
Slider
Changes
- Add BUILD file (#2694) (Robert Moore)
Snackbar
Changes
- Add BUILD file (#2697) (Robert Moore)
Tabs
Changes
- Re-enable new ink (reverts #2665) (#2682) (featherless)
TextFields
Changes
- States example (#2718) (Will Larche)
- [kokoro] Add :ColorThemer targets (#2712) (Robert Moore)
v43.0.0
This major release includes a variety of API name changes. Please see the API changes below for more details.
Breaking changes
MDCTextInputControllerDefault
has been removed. Use MDCTextInputControllerUnderline
instead.
API changes
TextFields
MDCTextInputControllerOutlined
modified class: MDCTextInputControllerOutlined
Type of change: | Swift declaration |
---|---|
From: | class MDCTextInputControllerOutlined : MDCTextInputControllerDefault |
To: | class MDCTextInputControllerOutlined : MDCTextInputControllerBase |
modified class: MDCTextInputControllerOutlined
Type of change: | Declaration |
---|---|
From: | @interface MDCTextInputControllerOutlined : MDCTextInputControllerDefault |
To: | @interface MDCTextInputControllerOutlined : MDCTextInputControllerBase |
MDCTextInputControllerOutlinedTextArea
modified class: MDCTextInputControllerOutlinedTextArea
Type of change: | Swift declaration |
---|---|
From: | class MDCTextInputControllerOutlinedTextArea : MDCTextInputControllerDefault |
To: | class MDCTextInputControllerOutlinedTextArea : MDCTextInputControllerBase |
modified class: MDCTextInputControllerOutlinedTextArea
Type of change: | Declaration |
---|---|
From: | @interface MDCTextInputControllerOutlinedTextArea : MDCTextInputControllerDefault |
To: | @interface MDCTextInputControllerOutlinedTextArea : MDCTextInputControllerBase |
MDCTextInputControllerBase
new property: expandsOnOverflow
in MDCTextInputControllerBase
new property: borderFillColorDefault
in MDCTextInputControllerBase
new property: borderFillColor
in MDCTextInputControllerBase
new property: minimumLines
in MDCTextInputControllerBase
new class: MDCTextInputControllerBase
MDCTextInputControllerDefault
removed property: expandsOnOverflow
in MDCTextInputControllerDefault
removed property: borderFillColor
in MDCTextInputControllerDefault
removed class: MDCTextInputControllerDefault
removed property: borderFillColorDefault
in MDCTextInputControllerDefault
removed property: minimumLines
in MDCTextInputControllerDefault
MDCTextInputDefaultUnderlineActiveHeight
removed constant: MDCTextInputDefaultUnderlineActiveHeight
MDCTextInputControllerFilled
modified class: MDCTextInputControllerFilled
Type of change: | Swift declaration |
---|---|
From: | class MDCTextInputControllerFilled : MDCTextInputControllerDefault |
To: | class MDCTextInputControllerFilled : MDCTextInputControllerBase |
modified class: MDCTextInputControllerFilled
Type of change: | Declaration |
---|---|
From: | @interface MDCTextInputControllerFilled : MDCTextInputControllerDefault |
To: | @interface MDCTextInputControllerFilled : MDCTextInputControllerBase |
MDCTextInputDefaultBorderRadius
removed constant: MDCTextInputDefaultBorderRadius
MDCTextInputControllerUnderline
new class: MDCTextInputControllerUnderline
MDCTextInputControllerBaseDefaultBorderRadius
new constant: MDCTextInputControllerBaseDefaultBorderRadius
MDCTextInputController
new property: underlineHeightActiveDefault
in MDCTextInputController
new property: underlineHeightActive
in MDCTextInputController
new property: underlineHeightNormalDefault
in MDCTextInputController
new property: underlineHeightNormal
in MDCTextInputController