anim-3d-obj 1.2.4 → 1.2.6
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.
|
@@ -12,6 +12,7 @@ function default_1(props) {
|
|
|
12
12
|
let { anim1, anim2, width = 5, height = 5, depth = 5, global = {}, faces, perspective, perspectiveOrigin, zIndex, } = props;
|
|
13
13
|
// process config
|
|
14
14
|
const buildFace = (face) => {
|
|
15
|
+
console.log(face);
|
|
15
16
|
const details = {
|
|
16
17
|
width,
|
|
17
18
|
height,
|
|
@@ -75,6 +75,8 @@ const AnimWrap = (props) => {
|
|
|
75
75
|
-webkit-animation-name: ${theAnim};
|
|
76
76
|
animation-name: ${theAnim};
|
|
77
77
|
-webkit-animation-fill-mode: ${AS.fillMode};
|
|
78
|
+
-webkit-animation-play-state: ${AS.animationPlayState};
|
|
79
|
+
animation-play-state: ${AS.animationPlayState};
|
|
78
80
|
animation-fill-mode: ${AS.fillMode};
|
|
79
81
|
animation-direction: ${AS.direction};
|
|
80
82
|
-webkit-animation-direction: ${AS.direction};
|
|
@@ -7,6 +7,7 @@ export default function (props) {
|
|
|
7
7
|
let { anim1, anim2, width = 5, height = 5, depth = 5, global = {}, faces, perspective, perspectiveOrigin, zIndex, } = props;
|
|
8
8
|
// process config
|
|
9
9
|
const buildFace = (face) => {
|
|
10
|
+
console.log(face);
|
|
10
11
|
const details = {
|
|
11
12
|
width,
|
|
12
13
|
height,
|
|
@@ -69,6 +69,8 @@ export const AnimWrap = (props) => {
|
|
|
69
69
|
-webkit-animation-name: ${theAnim};
|
|
70
70
|
animation-name: ${theAnim};
|
|
71
71
|
-webkit-animation-fill-mode: ${AS.fillMode};
|
|
72
|
+
-webkit-animation-play-state: ${AS.animationPlayState};
|
|
73
|
+
animation-play-state: ${AS.animationPlayState};
|
|
72
74
|
animation-fill-mode: ${AS.fillMode};
|
|
73
75
|
animation-direction: ${AS.direction};
|
|
74
76
|
-webkit-animation-direction: ${AS.direction};
|
package/package.json
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
|
|
5
|
+
|
|
4
6
|
{
|
|
5
7
|
"name": "anim-3d-obj",
|
|
6
8
|
"repository": {
|
|
@@ -8,7 +10,7 @@
|
|
|
8
10
|
"url": "https://github.com/mdnelles/anim-3d-obj-npm-publisher.git"
|
|
9
11
|
},
|
|
10
12
|
"homepage": "https://github.com/mdnelles/anim-3d-obj-npm-publisher.git",
|
|
11
|
-
"version": "1.2.
|
|
13
|
+
"version": "1.2.6",
|
|
12
14
|
"description": "React library for creating 3D objects quickly. Also these objects can be animated",
|
|
13
15
|
"main": "dist/cjs/index.js",
|
|
14
16
|
"module": "dist/esm/index.js",
|