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

Authored by featherless on Wed, May 17, 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.Wed, May 17, 3:31 PM
Restricted Application completed building Restricted Buildable.Wed, May 17, 3:31 PM
Restricted Application added a reviewer: O2: Material Motion. · View Herald TranscriptWed, May 17, 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.Wed, May 17, 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.Wed, May 17, 3:39 PM
featherless added inline comments.Wed, May 17, 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.Wed, May 17, 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.