Releases: material-components/material-components-ios
v119.5.0
In this minor release, we added a new userDraggingEnabled API to MDCBottomDrawerViewController.
API changes
NavigationDrawer
new property userDraggingEnabled
in MDCBottomDrawerViewController
.
Component changes
NavigationDrawer
v119.4.0
In this minor release, we added a new contentEdgeInsets API to Banner, added support for vertically centered image views in MDCSelfSizingStereoCell, and improved support for tvOS.
API changes
Banner
new property: contentEdgeInsets
in MDCBannerView
.
Lists
new enum: MDCSelfSizingStereoCellImageViewVerticalPosition
.
new property: leadingImageViewVerticalPosition
in MDCSelfSizingStereoCell
.
new property: trailingImageViewVerticalPosition
in MDCSelfSizingStereoCell
.
Component changes
Banner
- Add contentEdgeInsets support to replace layoutMargins usage in sizeThatFits:. (Wenyu Zhang)
- setNeedsLayout before showing Banner in BannerAutolayoutSwiftExampleViewController (Wenyu Zhang)
Cards
- Update setting corner radius to match team style guide (Cody Weaver)
List
- Support vertically centered image views in MDCSelfSizingStereoCell (Andrew Overton)
Multi-component changes
- Additional requested docs changes (Andrew Overton)
- Ensure swift snippets always come before objc (Andrew Overton)
- Improve support for tvOS. (Jeff Verkoeyen)
v119.3.0
In this minor release we added a new method to the MDCBaseTextFieldDelegate
protocol and fixed bugs in NavigationDrawer, TextControls, and Tabs.
API changes
new method: -baseTextField:didUpdateIntrinsicHeight:
in MDCBaseTextFieldDelegate
Component changes
BottomSheet
- Replace bottom sheet docs (Andrew Overton)
NavigationDrawer
- Added
presentingViewYOffset
tocontentHeightSurplus
inMDCBottomDrawerContainerViewController
(Nobody)
Tabs
- Add call to update fonts from setItems to make sure tabBarView fonts are applied to new items. (Alyssa Weiss)
- Add missing div tag (Andrew Overton)
- Fix an issue where the indicator was shown moving in, rather than already at the selected item, when the tab bar appears for the first time. (Hao Sun)
- Fix an issue where the indicator was shown moving in, rather than already at the selected item, when the tab bar items are recreated and the tab selected. (Nobody)
TextControls
- Rethink sizing behavior with sizing delegate method (Andrew Overton)
Multi-component changes
- Change component README ToCs to bold paragraph style (Andrew Overton)
v119.2.0
119.2.0
In this minor release we deprecated hitAreaInsets APIs in Buttons, FloatingButtons, and Chips, and introduced minor bug fixes and documentation updates.
API changes
hitAreaInsets APIs
- hitAreaInsets APIs are deprecated in Buttons, FloatingButtons, and Chips.
Component changes
Buttons
NavigationDrawer
Shapes
Multi-component changes
- Add ProgressIndicators.md for material.io (Andrew Overton)
- Audit recent docs changes, part 1 Closes https://github.com/material-components/material-components-ios/pull/10132 (Andrew Overton)
- Audit recent docs changes, part 2 (Andrew Overton)
- Deprecate hitAreaInsets APIs from MDCButton, MDCFloatingButton, and MDChipView. (Wenyu Zhang)
v119.1.3
In this patch release we updated the Tabs API and made documentation updates for Slider and other components.
API changes
Tabs
new property: itemViewContentInsets
in MDCTabBarView
.
new property: minItemWidth
in MDCTabBarView
and MDCTabBarViewItemViewDelegate
new property: itemViewDelegate
in MDCTabBarViewItemView
.
new property: itemViewStyle
in MDCTabBarViewItemViewDelegate
.
Component changes
Banner
- Updated documentation (Cristina De Rito)
Tabs
- Add and expose property to MDCTabBarView for setting the edge insets for each item in the tab bar. (Alyssa Weiss)
- Create and expose a minItemWidth property for MDCTabBarView to set the min width of items on the tab bar. This is done by adding a MDCTabBarViewItemViewDelegate protocol that MDCTabBarView conforms to. (Alyssa Weiss)
- When building with -Wnullability-completeness, either no property should specify a nullability (nullable/nonnull) or all of them must specify one. If this is not the case, the compilation will fail. (Sylvain Defresne)
Multi-component changes
- Miscellaneous doc fixes (Andrew Overton)
v119.1.2
In this patch release we made improvements to TextControls and Slider and fixed a bug in Tabs.
API changes
TextControls
new properties: leadingView
, trailingView
, leadingViewMode
and trailingViewMode
in MDCBaseTextArea
.
new property: preferredContainerHeight
in MDCBaseTextArea
.
new property: horizontalInterItemSpacingOverride
in MDCBaseTextField
.
Slider
new property: thumbRippleMaximumRadius
in MDCSlider
.
Component changes
Tabs
- Support typical UIView initializers in MDCTabBarView (Andrew Overton)
TextControls
- Expose inter item spacing (Andrew Overton)
- Expose preferredContainerHeight on MDCBaseTextArea (Andrew Overton)
- Fix RTL placeholder behavior (Andrew Overton)
- Modify automatic scrolling behavior (Andrew Overton)
- Add text areas leading/trailing views (Andrew Overton)
Slider
- Slider layout and size changes (Andrew Overton)
v119.1.1
In this patch release we have updated the Slider documentation and fixed a CocoaPods build issue.
Component changes
Slider
- Replace Slider docs (Andrew Overton)
TextControls
- Fix Cocoapods build error (Andrew Overton)
v119.1.0
This minor release adds placeholder support to MDCTextArea and includes bug fixes for
BottomNavigation and TextControls.
New features
You can now set a placeholder on any subclass of MDCBaseTextArea.
Component changes
BottomNavigation
TextControls
- Add text area snapshot tests (Andrew Overton)
- Call -[MDCBaseTextAreaDelegate baseTextArea:shouldChangeSize:] when setting assistive label text (if needed). (Nobody)
Multi-component changes
- Add placeholder to text area (Andrew Overton)
- Use custom leadingView/trailingView instead of UITextField's leftView/rightView (Andrew Overton)
v119.0.0
This major release removes a deprecated MDCFloatingButton API, deprecates MDCTabBar, and provides
enhancements to MDCButton and Tabs.
Breaking changes
MDCFloatingButton's setVisibleAreaInsets:forShape:inMode:
API has been removed. Use
setCenterVisibleArea:forShape:InMode:
instead.
New deprecations
MDCTabBar has been deprecated. Please use MDCTabBarView instead.
New features
MDCFloatingButton now has a shape
property that can be used to change the button's shape.
MDCButton now has a visibleAreaLayoutGuide
property that can be used to align content against the
button's visible area using AutoLayout.
Component changes
Buttons
- Add shape API to allow changing FAB's shape after it is initialized. (Wenyu Zhang)
- Add visibleAreaLayoutGuide for providing anchors to the visible area when centerVisibleArea is set to YES. (Yarden Eitan)
- Apply centerVisibleArea to a FAB with default shape example to reproduce shapeGenerator not getting updated issue on FAB. (Wenyu Zhang)
- Fix cornerRadius change not triggering the update on shapeGenerator when centerVisibleArea is YES. (Wenyu Zhang)
- Migrate deprecated visibleAreaInsets API to centerVisibleArea API in FAB typical example. (Wenyu Zhang)
- Remove deprecated setVisibleAreaInsets:forShape:inMode: API. (Wenyu Zhang)
- Update note on visibleAreaInsets to indicate it will be deprecated explicitly to prevent future usage. (Wenyu Zhang)
Tabs
- Fallback to scrollable when scrollableCentered is set and VoiceOver is running (Andrew Overton)
- Mark MDCTabBar as deprecated. (Alyssa Weiss)
- Update handling of ripple so that, for non scroll layout styles, it shows ripple on touch down rather than touch up. (Alyssa Weiss)
TextControls
- add RTL snapshot tests (Andrew Overton)
v118.2.0
In this minor release, we have made several improvements to the Dialogs, Snackbar, and Tabs components. We also improved the Banner component's documentation.
Component changes
Banner
- Replace banners docs (Andrew Overton)
Buttons
- Add extra width to buttons with text and image when UIAccessibilityIsBoldTextEnabled is true. (Bryan Oltman)
Dialogs
Snackbar
- Update MDCSnackbarManagerDelegate presentation lifecycle methods to declare a nonnull MDCSnackbarMessageView. (Yarden Eitan)