anim-3d-obj 1.1.19 → 1.1.22
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/README.md +154 -154
- package/babel.config.json +18 -0
- package/dist/components/Card.tsx +56 -0
- package/dist/components/Cuboid.tsx +61 -0
- package/dist/components/Face/face.d.ts +39 -0
- package/dist/components/Face/index.tsx +85 -0
- package/dist/components/Ribbon.tsx +58 -0
- package/dist/components/styles/Anim.d.ts +16 -0
- package/dist/components/styles/AnimWrap.tsx +85 -0
- package/dist/{esm/components/styles/Anims.js → components/styles/Anims.ts} +77 -58
- package/dist/components/styles/Global.ts +7 -0
- package/dist/components/styles/Scene.tsx +37 -0
- package/dist/index.ts +6 -0
- package/img.png +0 -0
- package/package.json +61 -33
- package/public/favicon.ico +0 -0
- package/public/index.html +43 -0
- package/public/manifest.json +15 -0
- package/public/robots.txt +3 -0
- package/src/App.css +11 -0
- package/src/App.test.tsx +10 -0
- package/src/App.tsx +115 -0
- package/src/index.tsx +19 -0
- package/src/lib/components/Card.tsx +56 -0
- package/src/lib/components/Cuboid.tsx +61 -0
- package/src/lib/components/Face/face.d.ts +39 -0
- package/src/lib/components/Face/index.tsx +85 -0
- package/src/lib/components/Ribbon.tsx +58 -0
- package/src/lib/components/styles/Anim.d.ts +16 -0
- package/src/lib/components/styles/AnimWrap.tsx +85 -0
- package/{dist/cjs/components/styles/Anims.js → src/lib/components/styles/Anims.ts} +77 -62
- package/src/lib/components/styles/Global.ts +7 -0
- package/src/lib/components/styles/Scene.tsx +37 -0
- package/src/lib/index.ts +6 -0
- package/src/reportWebVitals.ts +15 -0
- package/src/setupTests.ts +5 -0
- package/tsconfig.json +26 -0
- package/LICENSE +0 -21
- package/dist/cjs/components/Card.d.ts +0 -2
- package/dist/cjs/components/Card.js +0 -20
- package/dist/cjs/components/Card.js.map +0 -1
- package/dist/cjs/components/Cuboid.d.ts +0 -2
- package/dist/cjs/components/Cuboid.js +0 -21
- package/dist/cjs/components/Cuboid.js.map +0 -1
- package/dist/cjs/components/Faces/Face.d.ts +0 -3
- package/dist/cjs/components/Faces/Face.js +0 -86
- package/dist/cjs/components/Faces/Face.js.map +0 -1
- package/dist/cjs/components/Ribbon.d.ts +0 -2
- package/dist/cjs/components/Ribbon.js +0 -20
- package/dist/cjs/components/Ribbon.js.map +0 -1
- package/dist/cjs/components/styles/AnimWrap.d.ts +0 -2
- package/dist/cjs/components/styles/AnimWrap.js +0 -94
- package/dist/cjs/components/styles/AnimWrap.js.map +0 -1
- package/dist/cjs/components/styles/Anims.d.ts +0 -30
- package/dist/cjs/components/styles/Anims.js.map +0 -1
- package/dist/cjs/components/styles/Global.d.ts +0 -1
- package/dist/cjs/components/styles/Global.js +0 -14
- package/dist/cjs/components/styles/Global.js.map +0 -1
- package/dist/cjs/components/styles/Scene.d.ts +0 -10
- package/dist/cjs/components/styles/Scene.js +0 -22
- package/dist/cjs/components/styles/Scene.js.map +0 -1
- package/dist/cjs/index.d.ts +0 -5
- package/dist/cjs/index.js +0 -17
- package/dist/cjs/index.js.map +0 -1
- package/dist/esm/components/Card.d.ts +0 -2
- package/dist/esm/components/Card.js +0 -13
- package/dist/esm/components/Card.js.map +0 -1
- package/dist/esm/components/Cuboid.d.ts +0 -2
- package/dist/esm/components/Cuboid.js +0 -14
- package/dist/esm/components/Cuboid.js.map +0 -1
- package/dist/esm/components/Faces/Face.d.ts +0 -3
- package/dist/esm/components/Faces/Face.js +0 -81
- package/dist/esm/components/Faces/Face.js.map +0 -1
- package/dist/esm/components/Ribbon.d.ts +0 -2
- package/dist/esm/components/Ribbon.js +0 -13
- package/dist/esm/components/Ribbon.js.map +0 -1
- package/dist/esm/components/styles/AnimWrap.d.ts +0 -2
- package/dist/esm/components/styles/AnimWrap.js +0 -87
- package/dist/esm/components/styles/AnimWrap.js.map +0 -1
- package/dist/esm/components/styles/Anims.d.ts +0 -30
- package/dist/esm/components/styles/Anims.js.map +0 -1
- package/dist/esm/components/styles/Global.d.ts +0 -1
- package/dist/esm/components/styles/Global.js +0 -8
- package/dist/esm/components/styles/Global.js.map +0 -1
- package/dist/esm/components/styles/Scene.d.ts +0 -10
- package/dist/esm/components/styles/Scene.js +0 -15
- package/dist/esm/components/styles/Scene.js.map +0 -1
- package/dist/esm/index.d.ts +0 -5
- package/dist/esm/index.js +0 -8
- package/dist/esm/index.js.map +0 -1
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { keyframes } from "styled-components";
|
|
2
|
+
|
|
3
|
+
interface AllAnimsProps {
|
|
4
|
+
degreesLow?: number;
|
|
5
|
+
degreesHi?: number;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export const allAnims = (props: AllAnimsProps) => {
|
|
9
|
+
const { degreesLow = 0, degreesHi = 0 } = props;
|
|
10
|
+
|
|
11
|
+
const X360 = keyframes`
|
|
8
12
|
from {
|
|
9
13
|
-webkit-transform: rotateX(360deg);
|
|
10
14
|
transform: rotateX(360deg);
|
|
@@ -14,8 +18,9 @@ const allAnims = (props) => {
|
|
|
14
18
|
transform: rotateX(0deg);
|
|
15
19
|
}
|
|
16
20
|
}`;
|
|
17
|
-
|
|
18
|
-
|
|
21
|
+
|
|
22
|
+
//////// Y360
|
|
23
|
+
const Y360 = keyframes`
|
|
19
24
|
from {
|
|
20
25
|
-webkit-transform: rotateY(360deg);
|
|
21
26
|
transform: rotateY(360deg);
|
|
@@ -24,14 +29,16 @@ const allAnims = (props) => {
|
|
|
24
29
|
-webkit-transform: rotateY(0deg);
|
|
25
30
|
transform: rotateY(0deg);
|
|
26
31
|
}`;
|
|
27
|
-
|
|
32
|
+
|
|
33
|
+
const fadeInkf = keyframes`
|
|
28
34
|
from {
|
|
29
35
|
opacity: 0;
|
|
30
36
|
}
|
|
31
37
|
to {
|
|
32
38
|
opacity: 1;
|
|
33
39
|
}`;
|
|
34
|
-
|
|
40
|
+
|
|
41
|
+
const wobY = keyframes`
|
|
35
42
|
0% {
|
|
36
43
|
-webkit-transform: rotateY(${degreesLow}deg);
|
|
37
44
|
transform: rotateY(${degreesLow}deg);
|
|
@@ -44,7 +51,8 @@ const allAnims = (props) => {
|
|
|
44
51
|
-webkit-transform: rotateY(${degreesLow}deg);
|
|
45
52
|
transform: rotateY(${degreesLow}deg);
|
|
46
53
|
}`;
|
|
47
|
-
|
|
54
|
+
|
|
55
|
+
const wobX = keyframes`
|
|
48
56
|
0% {
|
|
49
57
|
-webkit-transform: rotateX(${degreesLow}deg);
|
|
50
58
|
transform: rotateX(${degreesLow}deg);
|
|
@@ -57,8 +65,8 @@ const allAnims = (props) => {
|
|
|
57
65
|
-webkit-transform: rotateX(${degreesLow}deg);
|
|
58
66
|
transform: rotateX(${degreesLow}deg);
|
|
59
67
|
}`;
|
|
60
|
-
|
|
61
|
-
|
|
68
|
+
/* ============================== x-axis 0-180 >180 - 360 */
|
|
69
|
+
const fwdx018 = keyframes`
|
|
62
70
|
from {
|
|
63
71
|
-webkit-transform: rotateX(360deg);
|
|
64
72
|
transform: rotateX(360deg);
|
|
@@ -67,7 +75,7 @@ const allAnims = (props) => {
|
|
|
67
75
|
-webkit-transform: rotateX(180deg);
|
|
68
76
|
transform: rotateX(180deg);
|
|
69
77
|
}`;
|
|
70
|
-
|
|
78
|
+
const fwdx1836 = keyframes`
|
|
71
79
|
from {
|
|
72
80
|
-webkit-transform: rotateX(180deg);
|
|
73
81
|
transform: rotateX(180deg);
|
|
@@ -76,8 +84,8 @@ const allAnims = (props) => {
|
|
|
76
84
|
-webkit-transform: rotateX(0deg);
|
|
77
85
|
transform: rotateX(0deg);
|
|
78
86
|
}`;
|
|
79
|
-
|
|
80
|
-
|
|
87
|
+
/* ============================= x-axis 0-90, 90-180, 180-270, 270-360 */
|
|
88
|
+
const fwdx09 = keyframes`
|
|
81
89
|
from {
|
|
82
90
|
-webkit-transform: rotateX(360deg);
|
|
83
91
|
transform: rotateX(360deg);
|
|
@@ -86,7 +94,7 @@ const allAnims = (props) => {
|
|
|
86
94
|
-webkit-transform: rotateX(90deg);
|
|
87
95
|
transform: rotateX(90deg);
|
|
88
96
|
}`;
|
|
89
|
-
|
|
97
|
+
const fwdx918 = keyframes`
|
|
90
98
|
from {
|
|
91
99
|
-webkit-transform: rotateX(-90deg);
|
|
92
100
|
transform: rotateX(-90deg);
|
|
@@ -95,7 +103,7 @@ const allAnims = (props) => {
|
|
|
95
103
|
-webkit-transform: rotateX(-180deg);
|
|
96
104
|
transform: rotateX(-180deg);
|
|
97
105
|
}`;
|
|
98
|
-
|
|
106
|
+
const fwdx1827 = keyframes`
|
|
99
107
|
from {
|
|
100
108
|
-webkit-transform: rotateX(-180deg);
|
|
101
109
|
transform: rotateX(-180deg);
|
|
@@ -104,7 +112,7 @@ const allAnims = (props) => {
|
|
|
104
112
|
-webkit-transform: rotateX(-270deg);
|
|
105
113
|
transform: rotateX(-270deg);
|
|
106
114
|
}`;
|
|
107
|
-
|
|
115
|
+
const fwdx2736 = keyframes`
|
|
108
116
|
from {
|
|
109
117
|
-webkit-transform: rotateX(-270deg);
|
|
110
118
|
transform: rotateX(-270deg);
|
|
@@ -113,8 +121,9 @@ const allAnims = (props) => {
|
|
|
113
121
|
-webkit-transform: rotateX(-360deg);
|
|
114
122
|
transform: rotateX(-360deg);
|
|
115
123
|
}`;
|
|
116
|
-
|
|
117
|
-
|
|
124
|
+
|
|
125
|
+
/* ============================== y-axis 0-180 >180 - 360 */
|
|
126
|
+
const fwdy018 = keyframes`
|
|
118
127
|
from {
|
|
119
128
|
-webkit-transform: rotateY(360deg);
|
|
120
129
|
transform: rotateY(360deg);
|
|
@@ -123,7 +132,7 @@ const allAnims = (props) => {
|
|
|
123
132
|
-webkit-transform: rotateY(180deg);
|
|
124
133
|
transform: rotateY(180deg);
|
|
125
134
|
}`;
|
|
126
|
-
|
|
135
|
+
const fwdy1836 = keyframes`
|
|
127
136
|
from {
|
|
128
137
|
-webkit-transform: rotateY(180deg);
|
|
129
138
|
transform: rotateY(180deg);
|
|
@@ -132,8 +141,9 @@ const allAnims = (props) => {
|
|
|
132
141
|
-webkit-transform: rotateY(0deg);
|
|
133
142
|
transform: rotateY(0deg);
|
|
134
143
|
}`;
|
|
135
|
-
|
|
136
|
-
|
|
144
|
+
|
|
145
|
+
/* ============================= y-axis 0-90, 90-180, 180-270, 270-360 */
|
|
146
|
+
const fwdy09 = keyframes`
|
|
137
147
|
from {
|
|
138
148
|
-webkit-transform: rotateY(360deg);
|
|
139
149
|
transform: rotateY(360deg);
|
|
@@ -142,7 +152,7 @@ const allAnims = (props) => {
|
|
|
142
152
|
-webkit-transform: rotateY(90deg);
|
|
143
153
|
transform: rotateY(90deg);
|
|
144
154
|
}`;
|
|
145
|
-
|
|
155
|
+
const fwdy918 = keyframes`
|
|
146
156
|
from {
|
|
147
157
|
-webkit-transform: rotateY(-90deg);
|
|
148
158
|
transform: rotateY(-90deg);
|
|
@@ -151,7 +161,7 @@ const allAnims = (props) => {
|
|
|
151
161
|
-webkit-transform: rotateY(-180deg);
|
|
152
162
|
transform: rotateY(-180deg);
|
|
153
163
|
}`;
|
|
154
|
-
|
|
164
|
+
const fwdy1827 = keyframes`
|
|
155
165
|
from {
|
|
156
166
|
-webkit-transform: rotateY(-180deg);
|
|
157
167
|
transform: rotateY(-180deg);
|
|
@@ -160,7 +170,7 @@ const allAnims = (props) => {
|
|
|
160
170
|
-webkit-transform: rotateY(-270deg);
|
|
161
171
|
transform: rotateY(-270deg);
|
|
162
172
|
}`;
|
|
163
|
-
|
|
173
|
+
const fwdy2736 = keyframes`
|
|
164
174
|
from {
|
|
165
175
|
-webkit-transform: rotateY(-270deg);
|
|
166
176
|
transform: rotateY(-270deg);
|
|
@@ -169,12 +179,14 @@ const allAnims = (props) => {
|
|
|
169
179
|
-webkit-transform: rotateY(-360deg);
|
|
170
180
|
transform: rotateY(-360deg);
|
|
171
181
|
}`;
|
|
172
|
-
|
|
173
|
-
|
|
182
|
+
|
|
183
|
+
/* ============================= floating */
|
|
184
|
+
const floatX = keyframes`
|
|
174
185
|
0% { -webkit-transform: translate(0, 0px); -ms-transform: translate(0, 0px); transform: translate(0, 0px); }
|
|
175
186
|
50% { -webkit-transform: translate(0, 15px); -ms-transform: translate(0, 15px); transform: translate(0, 15px); }
|
|
176
187
|
100% { -webkit-transform: translate(0, -0px); -ms-transform: translate(0, -0px); transform: translate(0, -0px); }`;
|
|
177
|
-
|
|
188
|
+
|
|
189
|
+
const floatShadow = keyframes`
|
|
178
190
|
0% {
|
|
179
191
|
-webkit-box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6);
|
|
180
192
|
box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6);
|
|
@@ -196,7 +208,8 @@ const allAnims = (props) => {
|
|
|
196
208
|
-ms-transform: translateY(0px);
|
|
197
209
|
transform: translateY(0px);
|
|
198
210
|
}`;
|
|
199
|
-
|
|
211
|
+
|
|
212
|
+
const pulseSM = keyframes`
|
|
200
213
|
0% {
|
|
201
214
|
-webkit-transform: scale(0.9);
|
|
202
215
|
-ms-transform: scale(0.9);
|
|
@@ -212,7 +225,8 @@ const allAnims = (props) => {
|
|
|
212
225
|
-ms-transform: scale(0.9);
|
|
213
226
|
transform: scale(0.9);
|
|
214
227
|
}`;
|
|
215
|
-
|
|
228
|
+
|
|
229
|
+
const pulseMD = keyframes`
|
|
216
230
|
0% {
|
|
217
231
|
-webkit-transform: scale(0.7);
|
|
218
232
|
-ms-transform: scale(0.7);
|
|
@@ -228,7 +242,8 @@ const allAnims = (props) => {
|
|
|
228
242
|
-ms-transform: scale(0.7);
|
|
229
243
|
transform: scale(0.7);
|
|
230
244
|
}`;
|
|
231
|
-
|
|
245
|
+
|
|
246
|
+
const pulseLG = keyframes`
|
|
232
247
|
0% {
|
|
233
248
|
-webkit-transform: scale(0.5);
|
|
234
249
|
-ms-transform: scale(0.5);
|
|
@@ -244,32 +259,32 @@ const allAnims = (props) => {
|
|
|
244
259
|
-ms-transform: scale(0.5);
|
|
245
260
|
transform: scale(0.5);
|
|
246
261
|
}`;
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
262
|
+
|
|
263
|
+
const noAnim = keyframes``;
|
|
264
|
+
|
|
265
|
+
return {
|
|
266
|
+
X360,
|
|
267
|
+
Y360,
|
|
268
|
+
fadeInkf,
|
|
269
|
+
wobY,
|
|
270
|
+
wobX,
|
|
271
|
+
fwdx018,
|
|
272
|
+
fwdx1836,
|
|
273
|
+
fwdx09,
|
|
274
|
+
fwdx918,
|
|
275
|
+
fwdx1827,
|
|
276
|
+
fwdx2736,
|
|
277
|
+
fwdy018,
|
|
278
|
+
fwdy1836,
|
|
279
|
+
fwdy09,
|
|
280
|
+
fwdy918,
|
|
281
|
+
fwdy1827,
|
|
282
|
+
fwdy2736,
|
|
283
|
+
floatX,
|
|
284
|
+
floatShadow,
|
|
285
|
+
pulseSM,
|
|
286
|
+
pulseMD,
|
|
287
|
+
pulseLG,
|
|
288
|
+
noAnim,
|
|
289
|
+
};
|
|
273
290
|
};
|
|
274
|
-
exports.allAnims = allAnims;
|
|
275
|
-
//# sourceMappingURL=Anims.js.map
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import styled from "styled-components";
|
|
2
|
+
import React from "react";
|
|
3
|
+
|
|
4
|
+
interface SceneStyleProps {
|
|
5
|
+
width?: number | string;
|
|
6
|
+
height?: number | string;
|
|
7
|
+
perspective?: number | string | undefined;
|
|
8
|
+
perspectiveOrigin?: string | undefined;
|
|
9
|
+
zIndex?: number | undefined;
|
|
10
|
+
children: any;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const SceneStyle = (props: SceneStyleProps) => {
|
|
14
|
+
const {
|
|
15
|
+
width = 0,
|
|
16
|
+
height = 0,
|
|
17
|
+
perspective = 600,
|
|
18
|
+
perspectiveOrigin = "50% 50%",
|
|
19
|
+
zIndex = 10,
|
|
20
|
+
children = {},
|
|
21
|
+
} = props;
|
|
22
|
+
|
|
23
|
+
const SceneStyleDiv: any = styled.div`
|
|
24
|
+
width: ${width}px;
|
|
25
|
+
height: ${height}px;
|
|
26
|
+
-webkit-perspective: ${perspective}px;
|
|
27
|
+
perspective: ${perspective}px;
|
|
28
|
+
-webkit-perspective-origin: ${perspectiveOrigin};
|
|
29
|
+
perspective-origin: ${perspectiveOrigin};
|
|
30
|
+
`;
|
|
31
|
+
|
|
32
|
+
return (
|
|
33
|
+
<div style={{ zIndex }}>
|
|
34
|
+
<SceneStyleDiv>{children}</SceneStyleDiv>
|
|
35
|
+
</div>
|
|
36
|
+
);
|
|
37
|
+
};
|
package/src/lib/index.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ReportHandler } from 'web-vitals';
|
|
2
|
+
|
|
3
|
+
const reportWebVitals = (onPerfEntry?: ReportHandler) => {
|
|
4
|
+
if (onPerfEntry && onPerfEntry instanceof Function) {
|
|
5
|
+
import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
|
|
6
|
+
getCLS(onPerfEntry);
|
|
7
|
+
getFID(onPerfEntry);
|
|
8
|
+
getFCP(onPerfEntry);
|
|
9
|
+
getLCP(onPerfEntry);
|
|
10
|
+
getTTFB(onPerfEntry);
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export default reportWebVitals;
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "es5",
|
|
4
|
+
"lib": [
|
|
5
|
+
"dom",
|
|
6
|
+
"dom.iterable",
|
|
7
|
+
"esnext"
|
|
8
|
+
],
|
|
9
|
+
"allowJs": true,
|
|
10
|
+
"skipLibCheck": true,
|
|
11
|
+
"esModuleInterop": true,
|
|
12
|
+
"allowSyntheticDefaultImports": true,
|
|
13
|
+
"strict": true,
|
|
14
|
+
"forceConsistentCasingInFileNames": true,
|
|
15
|
+
"noFallthroughCasesInSwitch": true,
|
|
16
|
+
"module": "esnext",
|
|
17
|
+
"moduleResolution": "node",
|
|
18
|
+
"resolveJsonModule": true,
|
|
19
|
+
"isolatedModules": true,
|
|
20
|
+
"noEmit": true,
|
|
21
|
+
"jsx": "react-jsx"
|
|
22
|
+
},
|
|
23
|
+
"include": [
|
|
24
|
+
"src"
|
|
25
|
+
]
|
|
26
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2022 JTL (Saman)
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Card = void 0;
|
|
7
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
-
const AnimWrap_1 = require("./styles/AnimWrap");
|
|
9
|
-
const Scene_1 = require("./styles/Scene");
|
|
10
|
-
const Face_1 = __importDefault(require("./Faces/Face"));
|
|
11
|
-
const Global_1 = require("./styles/Global");
|
|
12
|
-
const Card = (props) => {
|
|
13
|
-
const { anim1Specs, anim2Specs, width = 5, height = 5, faces, global = {}, custom = {}, tranz = (+height / 2) | 0, perspective, perspectiveOrigin, zIndex } = props;
|
|
14
|
-
const buildFace = (faceType) => {
|
|
15
|
-
return (0, jsx_runtime_1.jsx)(Face_1.default, { width: width, height: height, depth: 0.1, faceType: faceType, id: faceType, tranz: tranz, global: global, custom: custom });
|
|
16
|
-
};
|
|
17
|
-
return ((0, jsx_runtime_1.jsx)(Scene_1.SceneStyle, Object.assign({ width: width, height: height, perspective: perspective, perspectiveOrigin: perspectiveOrigin, zIndex: zIndex }, { children: (0, jsx_runtime_1.jsx)(AnimWrap_1.AnimWrap, Object.assign({ animSpecs: anim1Specs }, { children: (0, jsx_runtime_1.jsx)(AnimWrap_1.AnimWrap, Object.assign({ animSpecs: anim2Specs }, { children: (0, jsx_runtime_1.jsxs)(Global_1.ObjWrapper, { children: [faces && faces.front ? buildFace('front') : null, faces && faces.back ? buildFace('back') : null] }) })) })) })));
|
|
18
|
-
};
|
|
19
|
-
exports.Card = Card;
|
|
20
|
-
//# sourceMappingURL=Card.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Card.js","sourceRoot":"","sources":["../../../src/components/Card.tsx"],"names":[],"mappings":";;;;;;;AAAA,gDAA6C;AAC7C,0CAA4C;AAE5C,wDAAgC;AAChC,4CAA6C;AAEtC,MAAM,IAAI,GAAG,CAAC,KAAe,EAAO,EAAE;IACzC,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,KAAK,GAAG,CAAC,EAAE,MAAM,GAAG,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,EAAE,EAAE,MAAM,GAAG,EAAE,EAAE,KAAK,GAAG,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IAEpK,MAAM,SAAS,GAAG,CAAC,QAAa,EAAO,EAAE;QACrC,OAAO,uBAAC,cAAI,IAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAI,CAAC;IAC9I,CAAC,CAAC;IAEF,OAAO,CACH,uBAAC,kBAAU,kBAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,EAAE,MAAM,gBACpH,uBAAC,mBAAQ,kBAAC,SAAS,EAAE,UAAU,gBAC3B,uBAAC,mBAAQ,kBAAC,SAAS,EAAE,UAAU,gBAC3B,wBAAC,mBAAU,eACN,KAAK,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,EAChD,KAAK,IAAI,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,IACtC,IACN,IACJ,IACF,CAChB,CAAC;AACN,CAAC,CAAC;AAnBW,QAAA,IAAI,QAmBf"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Cuboid = void 0;
|
|
7
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
-
//import React from 'react'
|
|
9
|
-
const AnimWrap_1 = require("./styles/AnimWrap");
|
|
10
|
-
const Scene_1 = require("./styles/Scene");
|
|
11
|
-
const Face_1 = __importDefault(require("./Faces/Face"));
|
|
12
|
-
const Global_1 = require("./styles/Global");
|
|
13
|
-
const Cuboid = (props) => {
|
|
14
|
-
const { anim1Specs, anim2Specs, width = 5, height = 5, depth = 5, faces, global = {}, custom = {}, tranz = (+height / 2) | 0, perspective, perspectiveOrigin, zIndex } = props;
|
|
15
|
-
const buildFace = (faceType) => {
|
|
16
|
-
return (0, jsx_runtime_1.jsx)(Face_1.default, { width: width, height: height, depth: depth, faceType: faceType, id: faceType, tranz: tranz, global: global, custom: custom });
|
|
17
|
-
};
|
|
18
|
-
return ((0, jsx_runtime_1.jsx)(Scene_1.SceneStyle, Object.assign({ width: width, height: height, perspective: perspective, perspectiveOrigin: perspectiveOrigin, zIndex: zIndex }, { children: (0, jsx_runtime_1.jsx)(AnimWrap_1.AnimWrap, Object.assign({ animSpecs: anim1Specs }, { children: (0, jsx_runtime_1.jsx)(AnimWrap_1.AnimWrap, Object.assign({ animSpecs: anim2Specs }, { children: (0, jsx_runtime_1.jsxs)(Global_1.ObjWrapper, { children: [faces && faces.front ? buildFace('front') : null, faces && faces.right ? buildFace('right') : null, faces && faces.back ? buildFace('back') : null, faces && faces.left ? buildFace('left') : null, faces && faces.top ? buildFace('top') : null, faces && faces.bottom ? buildFace('bottom') : null] }) })) })) })));
|
|
19
|
-
};
|
|
20
|
-
exports.Cuboid = Cuboid;
|
|
21
|
-
//# sourceMappingURL=Cuboid.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Cuboid.js","sourceRoot":"","sources":["../../../src/components/Cuboid.tsx"],"names":[],"mappings":";;;;;;;AAAA,2BAA2B;AAC3B,gDAA6C;AAC7C,0CAA4C;AAE5C,wDAAgC;AAChC,4CAA6C;AAEtC,MAAM,MAAM,GAAG,CAAC,KAAe,EAAO,EAAE;IAC3C,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,KAAK,GAAG,CAAC,EAAE,MAAM,GAAG,CAAC,EAAE,KAAK,GAAG,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,EAAE,EAAE,MAAM,GAAG,EAAE,EAAE,KAAK,GAAG,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IAE/K,MAAM,SAAS,GAAG,CAAC,QAAa,EAAO,EAAE;QACrC,OAAO,uBAAC,cAAI,IAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAI,CAAC;IAChJ,CAAC,CAAC;IAEF,OAAO,CACH,uBAAC,kBAAU,kBAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,EAAE,MAAM,gBACpH,uBAAC,mBAAQ,kBAAC,SAAS,EAAE,UAAU,gBAC3B,uBAAC,mBAAQ,kBAAC,SAAS,EAAE,UAAU,gBAC3B,wBAAC,mBAAU,eACN,KAAK,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,EAChD,KAAK,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,EAChD,KAAK,IAAI,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,EAC9C,KAAK,IAAI,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,EAC9C,KAAK,IAAI,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,EAC5C,KAAK,IAAI,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,IAC1C,IACN,IACJ,IACF,CAChB,CAAC;AACN,CAAC,CAAC;AAvBW,QAAA,MAAM,UAuBjB"}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
-
//import React from 'react'
|
|
8
|
-
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
-
const Face = (props) => {
|
|
10
|
-
let { height = 10, tranz = 80, width = 100 } = props;
|
|
11
|
-
const { depth = 10, faceType, global = {}, custom = false } = props;
|
|
12
|
-
let transform;
|
|
13
|
-
const styles = custom[faceType] && custom[faceType].css ? custom[faceType].css : global.css;
|
|
14
|
-
const body = custom[faceType] && custom[faceType].body ? custom[faceType].body : global.body;
|
|
15
|
-
if (faceType === 'bottom') {
|
|
16
|
-
tranz = +height - +depth / 2;
|
|
17
|
-
height = +depth;
|
|
18
|
-
transform = `transform: rotateX(-90deg) translateZ(${tranz}px);`;
|
|
19
|
-
//styles = custom["top"] ? custom : global;
|
|
20
|
-
}
|
|
21
|
-
else if (faceType === 'top') {
|
|
22
|
-
height = +depth;
|
|
23
|
-
if (depth)
|
|
24
|
-
tranz = +depth / 2;
|
|
25
|
-
transform = `transform: rotateX(90deg) translateZ(${tranz}px);`;
|
|
26
|
-
}
|
|
27
|
-
else if (faceType === 'front') {
|
|
28
|
-
if (depth)
|
|
29
|
-
tranz = +depth / 2;
|
|
30
|
-
transform = `transform: rotateY(0deg) translateZ(${tranz}px);`;
|
|
31
|
-
}
|
|
32
|
-
else if (faceType === 'back') {
|
|
33
|
-
if (depth)
|
|
34
|
-
tranz = +depth / 2;
|
|
35
|
-
transform = `transform: rotateY(180deg) translateZ(${tranz}px);`;
|
|
36
|
-
}
|
|
37
|
-
else if (faceType === 'right') {
|
|
38
|
-
if (height > width && !depth) {
|
|
39
|
-
tranz = -(+height / 2 - +width);
|
|
40
|
-
width = +height;
|
|
41
|
-
}
|
|
42
|
-
else if (width > height && !depth) {
|
|
43
|
-
tranz = +height / 2;
|
|
44
|
-
height = +width;
|
|
45
|
-
}
|
|
46
|
-
else {
|
|
47
|
-
tranz = +width - +depth / 2;
|
|
48
|
-
width = +depth;
|
|
49
|
-
}
|
|
50
|
-
transform = `transform: rotateY(90deg) translateZ(${tranz}px);`;
|
|
51
|
-
// topr is to of Ribbon which points back
|
|
52
|
-
}
|
|
53
|
-
else if (faceType === 'topr') {
|
|
54
|
-
height = +depth;
|
|
55
|
-
if (depth)
|
|
56
|
-
tranz = +depth / 2;
|
|
57
|
-
//let offset = depth / 2;
|
|
58
|
-
transform = `transform: rotateX(90deg) translateZ(${tranz}px ); `;
|
|
59
|
-
}
|
|
60
|
-
else {
|
|
61
|
-
if (height > width && !depth) {
|
|
62
|
-
tranz = -(+height / 2 - +width);
|
|
63
|
-
width = +height;
|
|
64
|
-
}
|
|
65
|
-
else if (width > height && !depth) {
|
|
66
|
-
tranz = +height / 2;
|
|
67
|
-
height = +width;
|
|
68
|
-
}
|
|
69
|
-
else {
|
|
70
|
-
tranz = +depth / 2;
|
|
71
|
-
width = +depth;
|
|
72
|
-
}
|
|
73
|
-
transform = `transform: rotateY(-90deg) translateZ(${tranz}px);`;
|
|
74
|
-
}
|
|
75
|
-
//const BackFlip: any = styled.section``;
|
|
76
|
-
const Specs = styled_components_1.default.section `
|
|
77
|
-
${styles}
|
|
78
|
-
width: ${width}px;
|
|
79
|
-
position: absolute;
|
|
80
|
-
height: ${height}px;
|
|
81
|
-
${transform};
|
|
82
|
-
`;
|
|
83
|
-
return (0, jsx_runtime_1.jsx)(Specs, { children: body });
|
|
84
|
-
};
|
|
85
|
-
exports.default = Face;
|
|
86
|
-
//# sourceMappingURL=Face.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Face.js","sourceRoot":"","sources":["../../../../src/components/Faces/Face.tsx"],"names":[],"mappings":";;;;;;AAAA,2BAA2B;AAC3B,0EAAuC;AAGvC,MAAM,IAAI,GAAG,CAAC,KAAgB,EAAe,EAAE;IAC3C,IAAI,EAAE,MAAM,GAAG,EAAE,EAAE,KAAK,GAAG,EAAE,EAAE,KAAK,GAAG,GAAG,EAAE,GAAG,KAAK,CAAC;IAErD,MAAM,EAAE,KAAK,GAAG,EAAE,EAAE,QAAQ,EAAE,MAAM,GAAG,EAAE,EAAE,MAAM,GAAG,KAAK,EAAE,GAAG,KAAK,CAAC;IAEpE,IAAI,SAAS,CAAC;IACd,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,IAAI,MAAM,CAAC,QAAQ,CAAC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
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Ribbon = void 0;
|
|
7
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
-
const AnimWrap_1 = require("./styles/AnimWrap");
|
|
9
|
-
const Scene_1 = require("./styles/Scene");
|
|
10
|
-
const Face_1 = __importDefault(require("./Faces/Face"));
|
|
11
|
-
const Global_1 = require("./styles/Global");
|
|
12
|
-
const Ribbon = (props) => {
|
|
13
|
-
const { anim1Specs, anim2Specs, width = 5, height = 5, depth = 5, faces, global = {}, custom = {}, tranz = (+height / 2) | 0, perspective, perspectiveOrigin, zIndex } = props;
|
|
14
|
-
const buildFace = (faceType) => {
|
|
15
|
-
return (0, jsx_runtime_1.jsx)(Face_1.default, { width: width, height: height, depth: depth, faceType: faceType, id: faceType, tranz: tranz, global: global, custom: custom });
|
|
16
|
-
};
|
|
17
|
-
return ((0, jsx_runtime_1.jsx)(Scene_1.SceneStyle, Object.assign({ width: width, height: height, perspective: perspective, perspectiveOrigin: perspectiveOrigin, zIndex: zIndex }, { children: (0, jsx_runtime_1.jsx)(AnimWrap_1.AnimWrap, Object.assign({ animSpecs: anim1Specs }, { children: (0, jsx_runtime_1.jsx)(AnimWrap_1.AnimWrap, Object.assign({ animSpecs: anim2Specs }, { children: (0, jsx_runtime_1.jsxs)(Global_1.ObjWrapper, { children: [faces && faces.bottom ? buildFace('bottom') : null, faces && faces.back ? buildFace('back') : null, faces && faces.top ? buildFace('topr') : null] }) })) })) })));
|
|
18
|
-
};
|
|
19
|
-
exports.Ribbon = Ribbon;
|
|
20
|
-
//# sourceMappingURL=Ribbon.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Ribbon.js","sourceRo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