Material Components v7.0.0 Release Notes
-
API diffs
Auto-generated by running:
scripts/api_diff -o d2f436fdcfa711da5a8a077b42feb052c1abdf9e -n 6c8ca274056aed6850920f6010b47655c67730c9
AppBar
- [deleted]
MDCAppBarAddViews()
- [deleted]
MDCAppBarParenting.headerStackView
- [deleted]
MDCAppBarParenting.headerViewController
- [deleted]
MDCAppBarParenting.navigationBar
- [deleted]
MDCAppBarParenting
- [deleted]
MDCAppBarPrepareParent()
ButtonBar
- [new]
MDCButtonBar.layoutPosition
- [new]
MDCButtonBarLayoutPositionLeft
- [new]
MDCButtonBarLayoutPositionNone
- [new]
MDCButtonBarLayoutPositionRight
- [new]
MDCButtonBarLayoutPosition
Collections
- [new]
-[MDCCollectionViewController collectionView:didHighlightItemAtIndexPath:]
- [new]
-[MDCCollectionViewController collectionView:didUnhighlightItemAtIndexPath:]
- [new]
-[MDCCollectionViewController collectionView:shouldHighlightItemAtIndexPath:]
- [new]
-[MDCCollectionViewStylingDelegate collectionView:inkColorAtIndexPath:]
- [modified]
-[MDCCollectionViewEditingDelegate collectionView:didDeleteItemsAtIndexPaths:]
From To Kind - (void)collectionView:(nonnull UICollectionView *)collectionView didDeleteItemsAtIndexPaths:(nonnull NSArray *)indexPaths - (void)collectionView:(nonnull UICollectionView *)collectionView didDeleteItemsAtIndexPaths:(nonnull NSArray *)indexPaths declaration From To Kind - (void)collectionView:(nonnull UICollectionView *)collectionView willDeleteItemsAtIndexPaths:(nonnull NSArray *)indexPaths - (void)collectionView:(nonnull UICollectionView *)collectionView willDeleteItemsAtIndexPaths:(nonnull NSArray *)indexPaths declaration From To Kind - (void)collectionView:(nonnull UICollectionView *)collectionView didApplyInlayToItemAtIndexPaths:(nonnull NSArray *)indexPaths - (void)collectionView:(nonnull UICollectionView *)collectionView didApplyInlayToItemAtIndexPaths:(nonnull NSArray *)indexPaths declaration - ๐ [modified]
-[MDCCollectionViewStylingDelegate collectionView:didRemoveInlayFromItemAtIndexPaths:]
From To Kind ๐ - (void)collectionView:(nonnull UICollectionView *)collectionView didRemoveInlayFromItemAtIndexPaths:(nonnull NSArray *)indexPaths - (void)collectionView:(nonnull UICollectionView *)collectionView didRemoveInlayFromItemAtIndexPaths:(nonnull NSArray *)indexPaths Palettes
๐ New component.
Component changes
AppBar
๐ Changes
- ๐ Remove deprecated parenting APIs. (Jeff Verkoeyen)
- [Website] Added hero videos to component README.md files. (Adrian Secord)
ButtonBar
๐ Changes
- Add padding property to button bar buttons and position property to button bar (Junius Gunaratne)
- [Website] Added hero videos to component README.md files. (Adrian Secord)
Buttons
๐ Changes
- [MDCButton] Center ink properly when insets change (Junius Gunaratne)
- [Website] Added hero videos to component README.md files. (Adrian Secord)
CollectionCells
๐ Changes
- ๐ Fixes bug preventing removal of accessoryView. (Chris Cox)
- Initializes ink if not available when requesting inkView (Chris Cox)
Collections
๐ฅ Breaking changes
- ๐ฅ Breaking: Updates ink to fire on cell highlight/unhighlight for faster response. Also adds demo to catalog. (Chris Cox)
๐ Changes
- Adds API to allow setting cell ink color at given index path. (Chris Cox)
- Adds lightweight generics to NSArray of NSIndexPath (Chris Cox)
- ๐ Breaks out collection styling and editing into own docs. (Chris Cox)
- ๐ Fixes bug where collection view subviews do not respect auto layout or rotation. (Chris Cox)
- ๐ Fixes swipe-to-dismiss section bug when attempting to snapshot non-existent 'inf' frame. (Chris Cox)
- Replaced screenshot with video. (Adrian Secord)
- โก๏ธ Updates readme Swipe to dismiss section (Chris Cox)
FlexibleHeader
๐ Changes
- [Website] Added hero videos to component README.md files. (Adrian Secord)
HeaderStackView
๐ Changes
- [Website] Added hero videos to component README.md files. (Adrian Secord)
Ink
๐ Changes
- [Website] Added hero videos to component README.md files. (Adrian Secord)
NavigationBar
๐ฅ Breaking changes
- ๐ฅ Breaking: Pad the outer-most button's icons in accordance to the Material spec (Junius Gunaratne)
๐ Changes
- [Website] Added hero videos to component README.md files. (Adrian Secord)
PageControl
๐ Changes
- [Website] Added hero videos to component README.md files. (Adrian Secord)
Palettes
๐ Changes
- Final review to land in develop. (Adrian Secord)
RobotoFontLoader
๐ Changes
- [Website] Added hero videos to component README.md files. (Adrian Secord)
ShadowLayer
๐ Changes
- [Website] Added hero videos to component README.md files. (Adrian Secord)
Slider
๐ Changes
- [Website] Added hero videos to component README.md files. (Adrian Secord)
Switch
๐ Changes
- [Website] Added hero videos to component README.md files. (Adrian Secord)
Typography
๐ Changes
- [Website] Added hero videos to component README.md files. (Adrian Secord)
- [deleted]