You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 14, 2020. It is now read-only.
<ahref="https://yubabajs.com/getting-started#moving-from-a-persisted-element"><imgsrc="https://user-images.githubusercontent.com/6801309/57364146-eff7c800-71c5-11e9-9ddd-98ec510a6002.gif"height="500"alt="Moving from a persisted element" /></a>
8
-
<ahref="https://yubabajs.com/getting-started#moving-to-another-distinct-element"><imgsrc="https://user-images.githubusercontent.com/6801309/57364968-88db1300-71c7-11e9-8a51-b45b45eb64ab.gif"height="500"alt="Moving to another distinct element" /></a>
9
-
<ahref="https://yubabajs.com/advanced-usage#moving-using-a-focal-target"><imgsrc="https://user-images.githubusercontent.com/6801309/57364297-3cdb9e80-71c6-11e9-9a5f-e69ad9a7184b.gif"height="500"alt="Moving using a focal target" /></a>
9
+
<ahref="https://elementmotion.com/getting-started#moving-from-a-persisted-element"><imgsrc="https://user-images.githubusercontent.com/6801309/57364146-eff7c800-71c5-11e9-9ddd-98ec510a6002.gif"height="500"alt="Moving from a persisted element" /></a>
10
+
<ahref="https://elementmotion.com/getting-started#moving-to-another-distinct-element"><imgsrc="https://user-images.githubusercontent.com/6801309/57364968-88db1300-71c7-11e9-8a51-b45b45eb64ab.gif"height="500"alt="Moving to another distinct element" /></a>
11
+
<ahref="https://elementmotion.com/advanced-usage#moving-using-a-focal-target"><imgsrc="https://user-images.githubusercontent.com/6801309/57364297-3cdb9e80-71c6-11e9-9a5f-e69ad9a7184b.gif"height="500"alt="Moving using a focal target" /></a>
10
12
11
-
## What is yubaba???
13
+
## Why element motion?
12
14
13
-
It's all about ✨**animation over state transitions** ✨it can help with:
15
+
It's all about ✨**motion over state transitions** ✨it can help with:
14
16
15
-
- 📴 Enabling animations to be possible between disconnected leaf nodes in the React tree
16
-
- 🚚 [Moving an element](https://yubabajs.com/move) from one location to another
17
-
- 💨 [Revealing elements](https://yubabajs.com/focal-reveal-move) inside another element
18
-
- 👓 [Supporting animations](https://yubabajs.com/supporting-animations) by obstructing elements in view
19
-
- 🤫 [Hiding children elements](https://yubabajs.com/advanced-usage#delay-showing-content-until-all-animations-have-finished) until animations have completed to trick users
20
-
- 🔢 [Orchestrating](https://yubabajs.com/advanced-usage#wait-for-the-previous-animation-to-finish-before-starting-the-next) when animations should start and [in what order](https://yubabajs.com/advanced-usage#controlling-in-what-order-animations-should-execute)
21
-
- 📝 Composing animations together to create composite animations, for example [CrossFadeMove](https://yubabajs.com/cross-fade-move)
22
-
- 🤯 [Anything you can imagine](https://yubabajs.com/custom-animations), seriously
17
+
- 📴 Enabling animations to be possible between disconnected elements in the React tree
18
+
- 🚚 [Moving an element](https://elementmotion.com/move) from one location to another
19
+
- 💨 [Revealing elements](https://elementmotion.com/focal-reveal-move) inside another element
20
+
- 👓 [Supporting animations](https://elementmotion.com/supporting-animations) by obstructing elements in view
21
+
- 🤫 [Hiding children elements](https://elementmotion.com/advanced-usage#delay-showing-content-until-all-animations-have-finished) until animations have completed to trick users
22
+
- 🔢 [Orchestrating](https://elementmotion.com/advanced-usage#wait-for-the-previous-animation-to-finish-before-starting-the-next) when animations should start and [in what order](https://elementmotion.com/advanced-usage#controlling-in-what-order-animations-should-execute)
23
+
- 📝 Composing animations together to create composite animations, for example [CrossFadeMove](https://elementmotion.com/cross-fade-move)
24
+
- 🤯 [Anything you can imagine](https://elementmotion.com/custom-animations), seriously
23
25
24
26
## Installation
25
27
26
-
`yubaba` has a peer dependency on [emotion](https://emotion.sh/docs/introduction) for some of the more advanced animations.
Copy file name to clipboardExpand all lines: packages/core/src/Animator/__snapshots__/test.tsx.snap
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,19 @@
1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
3
exports[`<Animator /> persisted animations should throw when changing into "in" after initial mount 1`] =`
4
-
"yubaba v0.0.0
4
+
"@element-motion/core v0.0.0
5
5
6
6
You're switching between persisted and unpersisted, don't do this. Either always set the \\"in\\" prop as true or false, or keep as undefined."
7
7
`;
8
8
9
9
exports[`<Animator /> self targetted animations should throw when changing into "triggerSelfKey" after initial mount 1`] =`
10
-
"yubaba v0.0.0
10
+
"@element-motion/core v0.0.0
11
11
12
12
You're switching between self triggering modes, don't do this. Either always set the \\"triggerSelfKey\\" prop, or keep as undefined."
13
13
`;
14
14
15
15
exports[`<Animator /> self targetted animations should throw when using both "in" and "triggerSelfKey" props after initial mount 1`] =`
16
-
"yubaba v0.0.0
16
+
"@element-motion/core v0.0.0
17
17
18
18
Don't use \\"in\\" and \\"triggerSelfKey\\" together. If your element is persisted use \\"in\\". If your element is targeting itself for animations use \\"triggerSelfKey\\"."
0 commit comments