microsoft / microsoft/fluentui
[Feature]: implement support for motion groups & sequences
Open
Nobody has claimed this yet.
Fluent UI react-components (v9)
Package: motion
Resolution: Soft Close
Type: Feature
- Dominant language
- TypeScript
- Stars
- 20.3k
- Forks
- 2.9k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 46
Description
Library
React Components / v9 (@fluentui/react-components)
Describe the feature that you would like added
To implement more complex motions like below:
gantt
title Balloon movement motion
dateFormat YYYY
axisFormat %Yms
section Group 1
opacity, 0 => 1 (1000ms) : 0000, 1000y
transformX, 0 => 100px (500ms) : :a1, 0000, 500y
section Group 2
transformX, 100px => 200px (500ms) : :a1, 1001, 500y
transformY, 0 => 200px (1000ms) : :a1, 1001, 1000y
section Group 3
opacity, 1 => 0 (500ms) : :a1, 2000, 500y
We need to get API support for that as current factories (createAtom(), createPresence()) support only a single keyframe definition. For context, check the discussion: https://github.com/microsoft/fluentui/pull/29958#discussion_r1486133836
Have you discussed this feature with our team
@microsoft/teams-prg @marcosmoura
Additional context
Prototype is available in #30531.
Validations
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Priority
High
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.