react-voodoo 2.1.33 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/react-voodoo.js +2 -27
- package/dist/react-voodoo.js.LICENSE.txt +27 -0
- package/dist/react-voodoo.js.map +1 -1
- package/package.json +3 -4
- package/readme.md +7 -7
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "react-voodoo",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.2.0",
|
4
4
|
"license": "MIT",
|
5
5
|
"main": "./dist/react-voodoo.js",
|
6
6
|
"author": "Nathan Braun <n8tz.js@gmail.com>",
|
@@ -18,7 +18,6 @@
|
|
18
18
|
},
|
19
19
|
"dependencies": {
|
20
20
|
"@babel/runtime": "^7.12.5",
|
21
|
-
"prop-types": "^15.7.2",
|
22
21
|
"color-rgba": "^2.1.0",
|
23
22
|
"d3-ease": "^1.0.5",
|
24
23
|
"deep-extend": "^0.6.0",
|
@@ -29,7 +28,7 @@
|
|
29
28
|
},
|
30
29
|
"devDependencies": {
|
31
30
|
"@babel/register": "^7.12.10",
|
32
|
-
"layer-pack": "^
|
31
|
+
"layer-pack": "^2.0.7",
|
33
32
|
"chai": "^4.2.0",
|
34
33
|
"enzyme": "^3.10.0",
|
35
34
|
"enzyme-adapter-react-16": "^1.14.0",
|
@@ -37,7 +36,7 @@
|
|
37
36
|
"local-web-server": "^3.0.7",
|
38
37
|
"mocha": "^6.2.0",
|
39
38
|
"nodemon": "^1.19.1",
|
40
|
-
"lpack-react": "^
|
39
|
+
"lpack-react": "^2.0.2",
|
41
40
|
"zombie": "^6.1.4"
|
42
41
|
}
|
43
42
|
}
|
package/readme.md
CHANGED
@@ -13,15 +13,15 @@ ___
|
|
13
13
|
<img src="https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat" />
|
14
14
|
</p>
|
15
15
|
|
16
|
-
|
16
|
+
|
17
17
|
|
18
18
|
## Why another animation engine ?
|
19
19
|
|
20
20
|
To have some advanced functionalities :
|
21
21
|
|
22
|
-
- Additive tween ( simultaneous tween on same properties )
|
22
|
+
- Additive tween ( simultaneous tween on same properties like web animation APIs )
|
23
23
|
- Swipeable animations ( like Android & iOS )
|
24
|
-
-
|
24
|
+
- Fast & direct DOM updates ( not bound to the React rendering loop )
|
25
25
|
- Server Side Rendering of any scroll / swipe position
|
26
26
|
- Hot switching scrollable anims ( responsive )
|
27
27
|
- Predictive inertia ( knowing where inertia will stop while animating )
|
@@ -32,6 +32,7 @@ To have some advanced functionalities :
|
|
32
32
|
- etc...
|
33
33
|
|
34
34
|
## Some live demo & codesandbox [here](https://react-voodoo.github.io/react-voodoo-samples/)
|
35
|
+
<p align="center"><img src ="https://github.com/react-voodoo/react-voodoo/raw/master/doc/assets/demo.gif?sanitize=true" /></p>
|
35
36
|
|
36
37
|
## Draft & minimalist samples [here](https://github.com/react-voodoo/react-voodoo-samples)
|
37
38
|
|
@@ -39,8 +40,7 @@ To have some advanced functionalities :
|
|
39
40
|
|
40
41
|
## Note
|
41
42
|
|
42
|
-
|
43
|
-
|
43
|
+
react-voodoo still miss some interpolator ( like background or borders ).<br/>
|
44
44
|
|
45
45
|
## How can i help ?
|
46
46
|
|
@@ -223,9 +223,9 @@ const Sample = ( {} ) => {
|
|
223
223
|
}
|
224
224
|
```
|
225
225
|
|
226
|
-
## todo
|
226
|
+
## todo ?
|
227
227
|
|
228
|
-
-
|
228
|
+
- add missing interpolator / strategy ( background, borders, ... )
|
229
229
|
- Doc, tests & code cleaning
|
230
230
|
- lot of various simple and/or smart optims / recycling
|
231
231
|
- SVG support
|