Skip to content

Releases: material-components/material-components-ios

Version 31.0.1

11 Aug 16:16
Compare
Choose a tag to compare

No changes to code or docs, only updating metadata for generating https://material.io/components/ios/.

Release 31.0.0

09 Aug 19:47
Compare
Choose a tag to compare

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

CollectionCells

Changes

Collections

Changes

FeatureHighlight

Changes

NavigationBar

Changes

Slider

Changes

TextFields

Changes

Release 30.0.0

04 Aug 00:50
Compare
Choose a tag to compare

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

CollectionCells

Changes

Collections

Changes

Dialogs

Changes

FeatureHighlight

Changes

Ink

Changes

MaskedTransition

Changes

Snackbar

Changes

TextFields

Changes

Themes

Changes

Typography

Changes

Hotfix release 29.0.0

24 Jul 21:18
Compare
Choose a tag to compare
  • Reverts changes to the title color of MDCFlatButton and MDCRaisedButton.

Release 28.0.0

20 Jul 16:49
Compare
Choose a tag to compare

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

ButtonBar

Changes

Buttons

Changes

CollectionCells

Changes

Collections

Changes

Dialogs

Changes

FeatureHighlight

Changes

Ink

Changes

NavigationBar

Changes

PageControl

Changes

TextFields

Changes

Release 27.0.0

14 Jul 16:09
Compare
Choose a tag to compare

27.0.0

API Diffs

Button

  • Removed 'resetElevationForState'.
  • Removed NS_UNAVAILABLE from 'setBackgroundColor'.

Component changes

ActivityIndicator

Changes

AppBar

Changes

BottomSheet

Changes

ButtonBar

Changes

Buttons

Changes

CollectionCells

Changes

Collections

Changes

Dialogs

Changes

FeatureHighlight

Changes

FlexibleHeader

Changes

Ink

Changes

NavigationBar

Changes

PageControl

Changes

ProgressView

Changes

ShadowLayer

Changes

Slider

Changes

Snackbar

Changes

Tabs

Changes

TextFields

Changes

Typography

Changes

Release 26.0.0

06 Jul 16:10
Compare
Choose a tag to compare

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

AnimationTiming

Changes

AppBar

Changes

BottomSheet

Changes

ButtonBar

Changes

Buttons

Changes

Dialogs

Changes

FeatureHighlight

Changes

FlexibleHeader

Changes

HeaderStackView

Changes

NavigationBar

Changes

Slider

Changes

Snackbar

Changes

Tabs

Changes

TextFields

Changes

Themes

Changes

25.1.1

27 Jun 13:42
Compare
Choose a tag to compare

25.1.1

Hotfix: Cherry picked: [Buttons] Call designated initializer in init methods

Component changes

Buttons

Changes

Release 25.1.0

22 Jun 17:55
Compare
Choose a tag to compare

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

AppBar

Changes

ButtonBar

Changes

Buttons

Changes

CollectionCells

Changes

Collections

Changes

Dialogs

Changes

FeatureHighlight

Changes

FlexibleHeader

Changes

HeaderStackView

Changes

Ink

Changes

NavigationBar

Changes

OverlayWindow

Changes

PageControl

Changes

ProgressView

Changes

Slider

Changes

Snackbar

Changes

Tabs

Changes

TextFields

Changes

Typography

Changes

Release 25.0.1

20 Jun 20:20
Compare
Choose a tag to compare

Hotfix: Added implementation for accessibilityElementForItem: for MDCTabBar