Material Components v6.0.0 Release Notes
-
API diffs
Auto-generated by running:
scripts/api_diff -o da19cc89a5bb91c94480aee818d2f0ac52410e1c -n bac6ea73c709e95ac88f202ca6c02e1ab88e91f5
CollectionLayoutAttributes
Switch
- [new]
MDCSwitch.offImage
- [new]
MDCSwitch.onImage
Typography
- [deleted]
MDCTypographyFontLoader
Component changes
AppBar
๐ Changes
- ๐ Remove command prompt ('$') from command-line examples so they can be trivially copied and pasted. (Adrian Secord)
- ๐ Swift Interface Builder Example (Ian Gordon)
ButtonBar
๐ Changes
- ๐ Remove command prompt ('$') from command-line examples so they can be trivially copied and pasted. (Adrian Secord)
Buttons
๐ Changes
- ๐ Remove command prompt ('$') from command-line examples so they can be trivially copied and pasted. (Adrian Secord)
- โ Split out elevation = 0 special case for default relationship test. (Adrian Secord)
- Temporarily correct MDCCollectionViewFlowLayout and MDCRaisedButton api reference with anchor tag link on summary page. (Yiran Mao)
- [MDCButton] Ink should match button frame to be centered properly (Junius Gunaratne)
CollectionCells
๐ Changes
- ๐ Fixes separator width which extended past cell bounds. Closes #448. (Chris Cox)
- ๐ Removes existing ink subview when setting a new one. (Chris Cox)
- โก๏ธ [Collections] Updates attributes component API to allow passing the background image view outsets to the cell. (Chris Cox)
CollectionLayoutAttributes
๐ Changes
- ๐ Remove command prompt ('$') from command-line examples so they can be trivially copied and pasted. (Adrian Secord)
- โก๏ธ [Collections] Updates attributes component API to allow passing the background image view outsets to the cell. (Chris Cox)
Collections
๐ Changes
- Adds example of subclass providing own collection view. (Chris Cox)
- Caches decoration views used in grid layout. Cleans up layout invalidation logic. (Chris Cox)
- ๐ Fixed InkTouchControllerDelegate usage. (Adrian Secord)
- ๐ Fixes b/26750509 by copying any layout attributes first before editing. (Chris Cox)
- ๐ Fixes grid layout invalidation causing crash. (Chris Cox)
- โก๏ธ Minor update to background color section of readme (Chris Cox)
- ๐ Removes internal collection view background color property allowing it to be customized from subclasses. (Chris Cox)
- Temporarily correct MDCCollectionViewFlowLayout and MDCRaisedButton api reference with anchor tag link on summary page. (Yiran Mao)
- โก๏ธ Updates Usage, Styling, and Editing sections of readme. (Chris Cox)
- โก๏ธ Updates attributes component API to allow passing the background image view outsets to the cell. (Chris Cox)
- โก๏ธ Updates editing example and readme to reverse sort order index paths before removal. (Chris Cox)
- โก๏ธ Updates layout logic to include isEditing, thereby forcing infoBar positions to get updated. (Chris Cox)
FlexibleHeader
๐ Changes
- ๐ Remove command prompt ('$') from command-line examples so they can be trivially copied and pasted. (Adrian Secord)
FontDiskLoader
๐ Changes
- ๐ Remove command prompt ('$') from command-line examples so they can be trivially copied and pasted. (Adrian Secord)
- [Typography] Added description method. (randallli)
HeaderStackView
๐ Changes
- ๐ Remove command prompt ('$') from command-line examples so they can be trivially copied and pasted. (Adrian Secord)
Ink
๐ Changes
- ๐ Remove command prompt ('$') from command-line examples so they can be trivially copied and pasted. (Adrian Secord)
NavigationBar
๐ Changes
- ๐ Remove command prompt ('$') from command-line examples so they can be trivially copied and pasted. (Adrian Secord)
PageControl
๐ Changes
- ๐ Remove command prompt ('$') from command-line examples so they can be trivially copied and pasted. (Adrian Secord)
RobotoFontLoader
๐ Changes
- ๐ Remove command prompt ('$') from command-line examples so they can be trivially copied and pasted. (Adrian Secord)
ShadowElevations
๐ Changes
- ๐ Added documentation and sorted alphabetically. (Adrian Secord)
- ๐ Remove command prompt ('$') from command-line examples so they can be trivially copied and pasted. (Adrian Secord)
- ๐ Removed typo from ShadowElevations/README.md. (Adrian Secord)
ShadowLayer
๐ Changes
- ๐ Remove command prompt ('$') from command-line examples so they can be trivially copied and pasted. (Adrian Secord)
Slider
๐ Changes
- ๐ Remove command prompt ('$') from command-line examples so they can be trivially copied and pasted. (Adrian Secord)
Switch
๐ Changes
- Add icons on the thumbview (Ian Gordon)
- ๐ Remove command prompt ('$') from command-line examples so they can be trivially copied and pasted. (Adrian Secord)
Typography
๐ฅ Breaking changes
- ๐ฅ Breaking: Removing deprecated protocol. (randallli)
๐ Changes
- [new]