Material Components v4.0.0 Release Notes
-
API diffs
Auto-generated by running:
scripts/api_diff -o 11959487eb429c37b382c521a1c469eac96ed0da -n 7cc87bd6d90ed2c641212339f00f67b08fb76314
Buttons
- [new]
+[MDCFloatingButton floatingButtonWithShape:]
- [new]
MDCButton.inkMaxRippleRadius
- ๐
[new]
MDCButton.inkStyle
- [new]
MDCButton.underlyingColorHint
- [new]
MDCButton.uppercaseTitle
- ๐ [deprecated]
+[MDCFloatingButton buttonWithShape:]
. ๐ Use floatingButtonWithShape: instead. - ๐ [deprecated]
MDCButton.shouldCapitalizeTitle
. ๐ Use uppercaseTitle instead. - ๐ [deprecated]
MDCButton.underlyingColor
. ๐ Use underlyingColorHint instead.
FlexibleHeader
- 0๏ธโฃ [new]
MDCFlexibleHeaderContentImportanceDefault
- [new]
MDCFlexibleHeaderContentImportanceHigh
- [new]
MDCFlexibleHeaderContentImportance
- [new]
MDCFlexibleHeaderView.headerContentImportance
- [property attribute change]
MDCFlexibleHeaderView.shadowLayer
. Removed retain. Added strong.
Ink
- [deleted]
-[MDCInkView evaporateToPoint:completion:]
- [deleted]
-[MDCInkView evaporateWithCompletion:]
- [deleted]
-[MDCInkView reset]
- [deleted]
-[MDCInkView spreadFromPoint:completion:]
- [deleted]
MDCInkView.clipsRippleToBounds
- [deleted]
MDCInkView.fillsBackgroundOnSpread
- [deleted]
MDCInkView.gravitatesInk
- [new]
-[MDCInkTouchController inkViewAtTouchLocation:]
- 0๏ธโฃ [new]
MDCInkTouchController.defaultInkView
- ๐ [deprecated]
MDCInkTouchController.inkView
. ๐ง To configure ink views before display, use defaultInkView or your delegate's inkTouchController:inkViewAtTouchLocation:. To find an ink view at a particular location, use inkViewAtTouchLocation: instead.
RobotoFontLoader
- [protocols changed]
MDCRobotoFontLoader
. Added MDCTypographyFontLoading.
ScrollViewDelegateMultiplexer
- ๐ [deprecated]
MDCScrollViewDelegateCombining
. This component is now available at https://github.com/google/GOSScrollViewDelegateMultiplexer. - ๐ [deprecated]
MDCScrollViewDelegateMultiplexer
. This component is now available at https://github.com/google/GOSScrollViewDelegateMultiplexer.
Component changes
AppBar
- Add delegate forwarding example. (Jeff Verkoeyen)
- Added import sections for each component. (Adrian Secord)
- Change imagery example to use design sanctioned background (Junius Gunaratne)
- ๐ง Fix .jazzy.yaml objc configuration and regenerate all jazzy yamls. (Jeff Verkoeyen)
- ๐ Ran arc lint --everything --apply-patches. (Jeff Verkoeyen)
- [Bug Fix] Correct all api reference links in markdowns (Yiran Mao)
- โก๏ธ [Catalog] Demo selection screen updated with description and primary demo (Junius Gunaratne)
- โก๏ธ [Catalog] Update App Bar bg and text color (Junius Gunaratne)
ButtonBar
- Added import sections for each component. (Adrian Secord)
- ๐ Addressing linter warnings. (Jeff Verkoeyen)
- ๐ Exposed ink style and max ripple radius and modified MDCButtonBarButton. (Adrian Secord)
- ๐ง Fix .jazzy.yaml objc configuration and regenerate all jazzy yamls. (Jeff Verkoeyen)
- Icon-only buttons use unbounded ink. Buttons with text us bounded ink. (Jeff Verkoeyen)
- Renamed commonInit methods. (Adrian Secord)
- [Bug Fix] Correct all api reference links in markdowns (Yiran Mao)
- [Catalog] Center button bar demo example (Junius Gunaratne)
- โก๏ธ [Catalog] Demo selection screen updated with description and primary demo (Junius Gunaratne)
Buttons
- Added import sections for each component. (Adrian Secord)
- ๐ Addressing linter warnings. (Jeff Verkoeyen)
- Changes from API review. (Adrian Secord)
- ๐ Exposed ink style and max ripple radius and modified MDCButtonBarButton. (Adrian Secord)
- ๐ง Fix .jazzy.yaml objc configuration and regenerate all jazzy yamls. (Jeff Verkoeyen)
- ๐ Fixed float conversion. (Adrian Secord)
- ๐ Fixed the order of MDCButton's initWithCoder:. (Adrian Secord)
- โก๏ธ Layout design updates for buttons demo. (Jason Striegel)
- ๐ Ran arc lint --everything --apply-patches. (Jeff Verkoeyen)
- Renamed commonInit methods. (Adrian Secord)
- โก๏ธ Update example (Ian Gordon)
- [Bug Fix] Correct all api reference links in markdowns (Yiran Mao)
- โก๏ธ [Catalog] Demo selection screen updated with description and primary demo (Junius Gunaratne)
- screen grab demo. (Jason Striegel)
FlexibleHeader
- Add headerContentImportance. (Jeff Verkoeyen)
- Added import sections for each component. (Adrian Secord)
- ๐ง Configurator demo min/max sliders react to each other. (Jeff Verkoeyen)
- ๐ง Fix .jazzy.yaml objc configuration and regenerate all jazzy yamls. (Jeff Verkoeyen)
- ๐ Ran arc lint --everything --apply-patches. (Jeff Verkoeyen)
- Replaced retain with strong. (Adrian Secord)
- ๐ Update documentation for the deprecated contentView API. (Jeff Verkoeyen)
- [AppBar] Add delegate forwarding example. (Jeff Verkoeyen)
- [Bug Fix] Correct all api reference links in markdowns (Yiran Mao)
- โก๏ธ [Catalog] Demo selection screen updated with description and primary demo (Junius Gunaratne)
FontDiskLoader
- ๐ Addressing linter warnings. (Jeff Verkoeyen)
- [DiskFontLoader] Added readme and simple example. (randallli)
- [RobotoFontLoader, FontDiskLoader, Typography] Readme: Added some missing sections and edits. (randallli)
- fix readme spurious } (randallli)
- fix readme syntax (randallli)
HeaderStackView
- Added import sections for each component. (Adrian Secord)
- ๐ Addressing linter warnings. (Jeff Verkoeyen)
- ๐ง Fix .jazzy.yaml objc configuration and regenerate all jazzy yamls. (Jeff Verkoeyen)
- [Bug Fix] Correct all api reference links in markdowns (Yiran Mao)
- โก๏ธ [Catalog] Demo selection screen updated with description and primary demo (Junius Gunaratne)
Ink
- Added import sections for each component. (Adrian Secord)
- 0๏ธโฃ Adds defaultInkView, inkViewAtLocation:. (Adrian Secord)
- ๐ง Fix .jazzy.yaml objc configuration and regenerate all jazzy yamls. (Jeff Verkoeyen)
- ๐ Removed deprecated Ink APIs. (Adrian Secord)
- [Bug Fix] Correct all api reference links in markdowns (Yiran Mao)
- โก๏ธ [Catalog] Demo selection screen updated with description and primary demo (Junius Gunaratne)
- [Catalog] Layout ink examples horizontally in landscape orientation (Junius Gunaratne)
NavigationBar
- Added import sections for each component. (Adrian Secord)
- ๐ Addressing linter warnings. (Jeff Verkoeyen)
- ๐ง Fix .jazzy.yaml objc configuration and regenerate all jazzy yamls. (Jeff Verkoeyen)
- ๐ Ran arc lint --everything --apply-patches. (Jeff Verkoeyen)
- Renamed commonInit methods. (Adrian Secord)
- [Bug Fix] Correct all api reference links in markdowns (Yiran Mao)
- โก๏ธ [Catalog] Demo selection screen updated with description and primary demo (Junius Gunaratne)
- [Catalog] Use white title and hide status bar in Navigation Bar demo (Junius Gunaratne)
PageControl
- Added import sections for each component. (Adrian Secord)
- ๐ Addressing linter warnings. (Jeff Verkoeyen)
- Example: fix vertical scrolling behaviour. (randallli)
- ๐ง Fix .jazzy.yaml objc configuration and regenerate all jazzy yamls. (Jeff Verkoeyen)
- ๐ Fixed sizeForNumberOfPages: was not using passed in argument (randallli)
- ๐ Ran arc lint --everything --apply-patches. (Jeff Verkoeyen)
- [Bug Fix] Correct all api reference links in markdowns (Yiran Mao)
- โก๏ธ [Catalog] Demo selection screen updated with description and primary demo (Junius Gunaratne)
RobotoFontLoader
- Add description and set Roboto vs. System as main demo (Junius Gunaratne)
- Added import sections for each component. (Adrian Secord)
- ๐ Addressing linter warnings. (Jeff Verkoeyen)
- ๐ง Fix .jazzy.yaml objc configuration and regenerate all jazzy yamls. (Jeff Verkoeyen)
- [Bug Fix] Correct all api reference links in markdowns (Yiran Mao)
- โก๏ธ [Catalog] Demo selection screen updated with description and primary demo (Junius Gunaratne)
- [RobotoFontLoader, FontDiskLoader, Typography] Readme: Added some missing sections and edits. (randallli)
- [Roboto] Added simple example (randallli)
- [Roboto] created a roboto vs system font example (randallli)
- [Typogarphy] Set font loader example (randallli)
- [Typography]! Finished splitting out RobotoFontLoader and FontDiskLoader from Typography (randallli)
ScrollViewDelegateMultiplexer
- ๐ Deprecate ScrollViewDelegateMultiplexer. (Jeff Verkoeyen)
- ๐ง Fix .jazzy.yaml objc configuration and regenerate all jazzy yamls. (Jeff Verkoeyen)
- โก๏ธ [Catalog] Demo selection screen updated with description and primary demo (Junius Gunaratne)
- [PageControl] Example: fix vertical scrolling behaviour. (randallli)
ShadowElevations
- Added import sections for each component. (Adrian Secord)
- ๐ Addressing linter warnings. (Jeff Verkoeyen)
- ๐ง Fix .jazzy.yaml objc configuration and regenerate all jazzy yamls. (Jeff Verkoeyen)
- ๐ Ran arc lint --everything --apply-patches. (Jeff Verkoeyen)
- [Bug Fix] Correct all api reference links in markdowns (Yiran Mao)
- โก๏ธ [Catalog] Demo selection screen updated with description and primary demo (Junius Gunaratne)
ShadowLayer
- Added import sections for each component. (Adrian Secord)
- ๐ Addressing linter warnings. (Jeff Verkoeyen)
- ๐ง Fix .jazzy.yaml objc configuration and regenerate all jazzy yamls. (Jeff Verkoeyen)
- [Bug Fix] Correct all api reference links in markdowns (Yiran Mao)
- โก๏ธ [Catalog] Demo selection screen updated with description and primary demo (Junius Gunaratne)
- โก๏ธ [Catalog] Update shadow layer demo color (Junius Gunaratne)
Slider
- Added import sections for each component. (Adrian Secord)
- ๐ Addressing linter warnings. (Jeff Verkoeyen)
- ๐ง Fix .jazzy.yaml objc configuration and regenerate all jazzy yamls. (Jeff Verkoeyen)
- [Bug Fix] Correct all api reference links in markdowns (Yiran Mao)
- โก๏ธ [Catalog] Demo selection screen updated with description and primary demo (Junius Gunaratne)
- ๐ [Catalog] Improve slider demo, move layout code into supplemental files (Junius Gunaratne)
- [ThumbTrack] Re-enable Ink (Ian Gordon)
SpritedAnimationView
- Added import sections for each component. (Adrian Secord)
- ๐ง Fix .jazzy.yaml objc configuration and regenerate all jazzy yamls. (Jeff Verkoeyen)
- ๐ Ran arc lint --everything --apply-patches. (Jeff Verkoeyen)
- โก๏ธ [Catalog] Demo selection screen updated with description and primary demo (Junius Gunaratne)
Switch
- Added import sections for each component. (Adrian Secord)
- ๐ Addressing linter warnings. (Jeff Verkoeyen)
- ๐ง Fix .jazzy.yaml objc configuration and regenerate all jazzy yamls. (Jeff Verkoeyen)
- [Bug Fix] Correct all api reference links in markdowns (Yiran Mao)
- โก๏ธ [Catalog] Demo selection screen updated with description and primary demo (Junius Gunaratne)
- [ThumbTrack] Re-enable Ink (Ian Gordon)
- [Typogarphy] Set font loader example (randallli)
Typography
- Added import sections for each component. (Adrian Secord)
- ๐ Addressing linter warnings. (Jeff Verkoeyen)
- ๐ง Fix .jazzy.yaml objc configuration and regenerate all jazzy yamls. (Jeff Verkoeyen)
- ๐ Ran arc lint --everything --apply-patches. (Jeff Verkoeyen)
- [Bug Fix] Correct all api reference links in markdowns (Yiran Mao)
- โก๏ธ [Catalog] Demo selection screen updated with description and primary demo (Junius Gunaratne)
- [Catalog] Fix description text for Swift (Junius Gunaratne)
- ๐ [Catalog] Fixed TypographySystemFontLoader example because it need to import MaterialRobotoFontLoader (randallli)
- [RobotoFontLoader, FontDiskLoader, Typography] Readme: Added some missing sections and edits. (randallli)
- [Roboto] created a roboto vs system font example (randallli)
- [Typogarphy] Set font loader example (randallli)
- [Typography]! Finished splitting out RobotoFontLoader and FontDiskLoader from Typography (randallli)
- fix readme screenshot (randallli)
- ๐ fixed import order (randallli)
- ๐ fixed links in readme (randallli)
- [new]