Add support for in-context sheet transitions to the fab transition.
ClosedPublic

Authored by featherless on May 17 2017, 3:31 PM.

Details

Summary

This makes it possible to use the fab transition to reveal sheets that cover only part of the screen.

Diff Detail

Repository
R50 material-motion-components-swift
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
featherless created this revision.May 17 2017, 3:31 PM
Restricted Application completed building Restricted Buildable.May 17 2017, 3:31 PM
Restricted Application added a reviewer: O2: Material Motion. · View Herald TranscriptMay 17 2017, 3:31 PM
Restricted Application added a project: Material Motion. · View Herald Transcript
Restricted Application added a reviewer: O4: Material Apple platform reviewers. · View Herald Transcript
Restricted Application added a reviewer: Material Motion. · View Herald Transcript
  • Drop full screen from the component's name because the component now supports partial screen transitions.
markwei accepted this revision.May 17 2017, 3:39 PM
markwei added a subscriber: markwei.
markwei added inline comments.
examples/TransitionsExample.swift
101–105

do you think "fab transition" is not specific enough, given that there are toolbar and speeddial transitions which do not fall under this api?

This revision is now accepted and ready to land.May 17 2017, 3:39 PM
featherless added inline comments.May 17 2017, 3:46 PM
examples/TransitionsExample.swift
101–105

FABMaskedRevealTransition may be more accurate.

  • Rename to masked reveal transition.
  • Update the docs.
Restricted Application completed building Restricted Buildable.May 17 2017, 3:53 PM
  • Rename component to fab.
  • Rename to masked reveal transition.
  • Update the docs.
  • Remove todo.
This revision was automatically updated to reflect the committed changes.