anim-3d-obj 1.1.34 → 1.1.35
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/LICENSE +21 -0
- package/README.md +59 -154
- package/dist/cjs/components/Button.d.ts +1 -1
- package/dist/cjs/components/Button.js.map +1 -1
- package/dist/cjs/components/Card.d.ts +1 -1
- package/dist/cjs/components/Card.js +7 -8
- package/dist/cjs/components/Card.js.map +1 -1
- package/dist/cjs/components/Cuboid.d.ts +1 -1
- package/dist/cjs/components/Cuboid.js +11 -12
- package/dist/cjs/components/Cuboid.js.map +1 -1
- package/dist/cjs/components/Faces/Face.d.ts +1 -1
- package/dist/cjs/components/Faces/Face.js +15 -19
- package/dist/cjs/components/Faces/Face.js.map +1 -1
- package/dist/cjs/components/Ribbon.d.ts +1 -1
- package/dist/cjs/components/Ribbon.js +8 -9
- package/dist/cjs/components/Ribbon.js.map +1 -1
- package/dist/cjs/components/index.d.ts +5 -5
- package/dist/cjs/components/styles/AnimFilter.d.ts +7 -0
- package/dist/cjs/components/styles/AnimFilter.js +14 -0
- package/dist/cjs/components/styles/AnimFilter.js.map +1 -0
- package/dist/cjs/components/styles/AnimWrap.d.ts +1 -1
- package/dist/cjs/components/styles/AnimWrap.js +44 -44
- package/dist/cjs/components/styles/AnimWrap.js.map +1 -1
- package/dist/cjs/components/styles/Anims.d.ts +4 -0
- package/dist/cjs/components/styles/Anims.js +79 -18
- package/dist/cjs/components/styles/Anims.js.map +1 -1
- package/dist/cjs/components/styles/Global.js +4 -4
- package/dist/cjs/components/styles/Scene.js +8 -8
- package/dist/cjs/components/styles/Scene.js.map +1 -1
- package/dist/cjs/index.d.ts +1 -1
- package/dist/esm/components/Button.d.ts +1 -1
- package/dist/esm/components/Button.js +1 -1
- package/dist/esm/components/Button.js.map +1 -1
- package/dist/esm/components/Card.d.ts +1 -1
- package/dist/esm/components/Card.js +11 -12
- package/dist/esm/components/Card.js.map +1 -1
- package/dist/esm/components/Cuboid.d.ts +1 -1
- package/dist/esm/components/Cuboid.js +15 -16
- package/dist/esm/components/Cuboid.js.map +1 -1
- package/dist/esm/components/Faces/Face.d.ts +1 -1
- package/dist/esm/components/Faces/Face.js +17 -21
- package/dist/esm/components/Faces/Face.js.map +1 -1
- package/dist/esm/components/Ribbon.d.ts +1 -1
- package/dist/esm/components/Ribbon.js +12 -13
- package/dist/esm/components/Ribbon.js.map +1 -1
- package/dist/esm/components/index.d.ts +5 -5
- package/dist/esm/components/index.js +5 -5
- package/dist/esm/components/styles/AnimFilter.d.ts +7 -0
- package/dist/esm/components/styles/AnimFilter.js +8 -0
- package/dist/esm/components/styles/AnimFilter.js.map +1 -0
- package/dist/esm/components/styles/AnimWrap.d.ts +1 -1
- package/dist/esm/components/styles/AnimWrap.js +47 -47
- package/dist/esm/components/styles/AnimWrap.js.map +1 -1
- package/dist/esm/components/styles/Anims.d.ts +4 -0
- package/dist/esm/components/styles/Anims.js +80 -19
- package/dist/esm/components/styles/Anims.js.map +1 -1
- package/dist/esm/components/styles/Global.js +5 -5
- package/dist/esm/components/styles/Scene.js +10 -10
- package/dist/esm/components/styles/Scene.js.map +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/package.json +38 -46
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
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.
|
package/README.md
CHANGED
|
@@ -1,154 +1,59 @@
|
|
|
1
|
-
# React Typescript Cuboid Builder
|
|
2
|
-
|
|
3
|
-
This project allows a user to create Cuboids of any size simply by entering a set of parameters.
|
|
4
|
-
The program does the leg work with regard to calculating translationZ depth and config on the fly.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
-
|
|
40
|
-
-
|
|
41
|
-
-
|
|
42
|
-
-
|
|
43
|
-
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
-
|
|
47
|
-
-
|
|
48
|
-
-
|
|
49
|
-
-
|
|
50
|
-
-
|
|
51
|
-
-
|
|
52
|
-
-
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
-
|
|
56
|
-
-
|
|
57
|
-
-
|
|
58
|
-
-
|
|
59
|
-
-
|
|
60
|
-
- pulseLG: pulse object Large
|
|
61
|
-
- noAnim: no animation place holder
|
|
62
|
-
|
|
63
|
-
<>
|
|
64
|
-
|
|
65
|
-
GLOBAL CONFIG
|
|
66
|
-
|
|
67
|
-
```typescript
|
|
68
|
-
// EXAMPLE GLOBAL FACE CONFIG
|
|
69
|
-
// This will be applied to all Faces that do not have their own custom config
|
|
70
|
-
const global: object = {
|
|
71
|
-
// // face individual styles (over rides global)
|
|
72
|
-
css: `
|
|
73
|
-
border: 1px solid #fff;
|
|
74
|
-
background: rgb(2,0,36);
|
|
75
|
-
background: linear-gradient(180deg, rgba(255,255,255,.1) 0%, rgba(141,191,249,.7) 100%);
|
|
76
|
-
color:white;
|
|
77
|
-
text-align:center;
|
|
78
|
-
line-height:10;
|
|
79
|
-
backface-visibility: visible;
|
|
80
|
-
font-family: Arial, Helvetica, sans-serif;
|
|
81
|
-
border-radius:5px;
|
|
82
|
-
`,
|
|
83
|
-
body: ' ',
|
|
84
|
-
}
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
<>
|
|
88
|
-
|
|
89
|
-
CUSTOM CONFIG FOR INDIVIDUAL FACES
|
|
90
|
-
|
|
91
|
-
```typescript
|
|
92
|
-
const custom: object = {
|
|
93
|
-
// // face individual styles (over rides global)
|
|
94
|
-
front: {
|
|
95
|
-
css: ``,
|
|
96
|
-
body: <Login />,
|
|
97
|
-
},
|
|
98
|
-
left: {
|
|
99
|
-
css: `
|
|
100
|
-
border: 1px solid #fff;
|
|
101
|
-
background: rgb(2,0,36);
|
|
102
|
-
color:white;
|
|
103
|
-
text-align: center;
|
|
104
|
-
line-height:8;`
|
|
105
|
-
body: " ",
|
|
106
|
-
},
|
|
107
|
-
right: {
|
|
108
|
-
css: ``,
|
|
109
|
-
body: " ",
|
|
110
|
-
},
|
|
111
|
-
back: {
|
|
112
|
-
css: ``,
|
|
113
|
-
body: <Logout />,
|
|
114
|
-
},
|
|
115
|
-
bottom: {
|
|
116
|
-
css: `
|
|
117
|
-
background-color:rgba(141,191,249,1);
|
|
118
|
-
-webkit-box-shadow: 0px 0px 23px 18px #858585;
|
|
119
|
-
box-shadow: 0px 0px 23px 18px #858585;
|
|
120
|
-
`,
|
|
121
|
-
},
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
## Render
|
|
125
|
-
|
|
126
|
-
and
|
|
127
|
-
|
|
128
|
-
```typescript
|
|
129
|
-
<Cuboid
|
|
130
|
-
width={250}
|
|
131
|
-
height={300}
|
|
132
|
-
depth={250}
|
|
133
|
-
perspective={800}
|
|
134
|
-
perspectiveOrigin='50% 50%'
|
|
135
|
-
zIndex={10}
|
|
136
|
-
anim1Specs={anim1Specs}
|
|
137
|
-
anim2Specs={anim2Specs}
|
|
138
|
-
custom={custom}
|
|
139
|
-
faces={faceprops}
|
|
140
|
-
global={global}
|
|
141
|
-
/>
|
|
142
|
-
```
|
|
143
|
-
|
|
144
|
-
will produce the following
|
|
145
|
-
|
|
146
|
-

|
|
147
|
-
|
|
148
|
-
## Authors
|
|
149
|
-
|
|
150
|
-
- [@mdnelles](https://github.com/mdnelles)
|
|
151
|
-
|
|
152
|
-
## License
|
|
153
|
-
|
|
154
|
-
[MIT](https://choosealicense.com/licenses/mit/)
|
|
1
|
+
# React Typescript Cuboid Builder
|
|
2
|
+
|
|
3
|
+
This project allows a user to create Cuboids of any size simply by entering a set of parameters.
|
|
4
|
+
The program does the leg work with regard to calculating translationZ depth and config on the fly.
|
|
5
|
+
|
|
6
|
+
## Examples
|
|
7
|
+
|
|
8
|
+
- [6 sided Cuboid - animate X360 Y360](https://codesandbox.io/s/anim-3d-obj-all-sides-simple-bf67yg-tzr2v6)
|
|
9
|
+
- [3 sided Object - animate y-axis](https://codesandbox.io/s/anim-3d-obj-3-sides-wobble-y-axis-wglkms)
|
|
10
|
+
- [Double box spin](https://codesandbox.io/s/react-anim-3d-double-box-spin-vbdhg2)
|
|
11
|
+
- [2 sided object with animation wobble](https://codesandbox.io/s/anim-3d-obj-2-sided-anim-wobble-e14v3b)
|
|
12
|
+
- [Parallel divs animated x and y axis in tandem](https://codesandbox.io/s/anim-3d-obj-2-sides-simple-4057y7)
|
|
13
|
+
- [Spinning Slab](https://codesandbox.io/s/react-anim-3d-pulse-kc8g0f)
|
|
14
|
+
- [Double animation] (https://codesandbox.io/s/react-anim-3d-double-animation-kexyzk)
|
|
15
|
+
|
|
16
|
+
## Config
|
|
17
|
+
|
|
18
|
+
Animations are optional. Either or both of `anim1Specs` or `anim2Specs` can be applied to the object. Both could be used if you want to apply animations on the X and Y axis.
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
const anim1Specs: object = {
|
|
22
|
+
border: '', // while testing reveal the animation wrapper
|
|
23
|
+
degreesHi: -45, // degrees if spin
|
|
24
|
+
degreesLow: 45, // degrees if spin
|
|
25
|
+
delay: 0, // start delay in seconds
|
|
26
|
+
direction: 'normal', //normal alternating reverse
|
|
27
|
+
duration: 8, // seconds
|
|
28
|
+
fillMode: 'forwards', // none|forwards|backwards|both|initial|inherit;
|
|
29
|
+
iterationCount: 'infinite', // number or infinte
|
|
30
|
+
name: 'Y360', // ** ANIMATIONS
|
|
31
|
+
timing: 'ease-in-out' // linear ease ease-in-out
|
|
32
|
+
};
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
`** ANIMATIONS`
|
|
36
|
+
|
|
37
|
+
- X360: rotate 360 degrees on the x-axis
|
|
38
|
+
- Y360: rotate 360 degrees on the y-axis
|
|
39
|
+
- fadeInkf: fade object in from 0 to 1 Opacity
|
|
40
|
+
- wobY: wobble on y-axis (degreesHi <-> degreesLow)
|
|
41
|
+
- wobX: wobble on x-axis (degreesHi <-> degreesLow)
|
|
42
|
+
- fwdx018: spin object on x-axis from 0 degrees to 180 degrees
|
|
43
|
+
- fwdx1836: spin object on x-axis from 180 degrees to 360 degrees
|
|
44
|
+
- fwdx09: spin object on x-axis from 0 degrees to 90 degrees
|
|
45
|
+
- fwdx918: spin object on x-axis from 90 degrees to 180 degrees
|
|
46
|
+
- fwdx1827: spin object on x-axis from 180 degrees to 270 degrees
|
|
47
|
+
- fwdx2736: spin object on x-axis from 270 degrees to 360 degrees
|
|
48
|
+
- fwdy018: spin object on y-axis from 0 degrees to 180 degrees
|
|
49
|
+
- fwdy1836: spin object on y-axis from 180 degrees to 360 degrees
|
|
50
|
+
- fwdy09: spin object on y-axis from 0 degrees to 90 degrees
|
|
51
|
+
- fwdy918: spin object on y-axis from 90 degrees to 180 degrees
|
|
52
|
+
- fwdy1827: spin object on y-axis from 180 degrees to 270 degrees
|
|
53
|
+
- fwdy2736: spin object on y-axis from 270 degrees to 360 degrees
|
|
54
|
+
- floatX: float object so is not stationary
|
|
55
|
+
- floatShadow: float object + add shadow
|
|
56
|
+
- pulseSM: pulse object Small
|
|
57
|
+
- pulseMD: pulse object Medium
|
|
58
|
+
- pulseLG: pulse object Large
|
|
59
|
+
- noAnim: no animation place holder
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/components/Button.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;
|
|
1
|
+
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/components/Button.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAOnB,MAAM,MAAM,GAA0C,CAAC,KAAK,EAAE,EAAE;IACnE,MAAM,EAAE,QAAQ,EAAE,eAAe,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAE1D,IAAI,MAAM,GAAwB,KAAK,IAAI,EAAE,CAAC;IAE9C,wBAAwB;IACxB,IAAI,eAAe,IAAI,MAAM;QAAE,MAAM,CAAC,eAAe,GAAG,eAAe,CAAC;IACxE,IAAI,KAAK,IAAI,MAAM;QAAE,MAAM,CAAC,KAAK,GAAG,KAAK,CAAC;IAE1C,OAAO,CACH,wDAAQ,KAAK,EAAE,MAAM,IAAM,KAAK,GAC3B,QAAQ,CACJ,CACZ,CAAC;AACN,CAAC,CAAC;AAdW,QAAA,MAAM,UAcjB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ObjProps } from
|
|
1
|
+
import { ObjProps } from './Faces/FaceInter';
|
|
2
2
|
export declare const Card: (props: ObjProps) => any;
|
|
@@ -5,21 +5,20 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.Card = void 0;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const AnimWrap_1 = require("./styles/AnimWrap");
|
|
9
8
|
const Scene_1 = require("./styles/Scene");
|
|
10
9
|
const Face_1 = __importDefault(require("./Faces/Face"));
|
|
11
10
|
const Global_1 = require("./styles/Global");
|
|
11
|
+
const AnimFilter_1 = __importDefault(require("./styles/AnimFilter"));
|
|
12
12
|
const Card = (props) => {
|
|
13
|
-
let { anim1Specs, anim2Specs, width = 5, height = 5, faces, global = {}, custom = {}, tranz = (+height / 2) | 0, perspective, perspectiveOrigin, zIndex
|
|
13
|
+
let { anim1Specs, anim2Specs, width = 5, height = 5, faces, global = {}, custom = {}, tranz = (+height / 2) | 0, perspective, perspectiveOrigin, zIndex } = props;
|
|
14
14
|
const buildFace = (faceType) => {
|
|
15
|
-
return
|
|
15
|
+
return react_1.default.createElement(Face_1.default, { width: width, height: height, depth: 0.1, faceType: faceType, id: faceType, tranz: tranz, global: global, custom: custom });
|
|
16
16
|
};
|
|
17
17
|
return (react_1.default.createElement(Scene_1.SceneStyle, { width: width, height: height, perspective: perspective, perspectiveOrigin: perspectiveOrigin, zIndex: zIndex },
|
|
18
|
-
react_1.default.createElement(
|
|
19
|
-
react_1.default.createElement(
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
!!faces && !!faces.back ? buildFace("back") : null)))));
|
|
18
|
+
react_1.default.createElement(AnimFilter_1.default, { anim1Specs: anim1Specs, anim2Specs: anim2Specs },
|
|
19
|
+
react_1.default.createElement(Global_1.ObjWrapper, null,
|
|
20
|
+
!!faces && !!faces.front ? buildFace('front') : null,
|
|
21
|
+
!!faces && !!faces.back ? buildFace('back') : null))));
|
|
23
22
|
};
|
|
24
23
|
exports.Card = Card;
|
|
25
24
|
//# sourceMappingURL=Card.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.js","sourceRoot":"","sources":["../../../src/components/Card.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,
|
|
1
|
+
{"version":3,"file":"Card.js","sourceRoot":"","sources":["../../../src/components/Card.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,0CAA4C;AAE5C,wDAAgC;AAChC,4CAA6C;AAC7C,qEAA6C;AAEtC,MAAM,IAAI,GAAG,CAAC,KAAe,EAAO,EAAE;IACzC,IAAI,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;IAElK,MAAM,SAAS,GAAG,CAAC,QAAa,EAAO,EAAE;QACrC,OAAO,8BAAC,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,8BAAC,kBAAU,IAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,EAAE,MAAM;QACpH,8BAAC,oBAAU,IAAC,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;YACtD,8BAAC,mBAAU;gBACN,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI;gBACpD,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAC1C,CACJ,CACJ,CAChB,CAAC;AACN,CAAC,CAAC;AAjBW,QAAA,IAAI,QAiBf"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ObjProps } from
|
|
1
|
+
import { ObjProps } from './Faces/FaceInter';
|
|
2
2
|
export declare const Cuboid: (props: ObjProps) => any;
|
|
@@ -5,25 +5,24 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.Cuboid = void 0;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const AnimWrap_1 = require("./styles/AnimWrap");
|
|
9
8
|
const Scene_1 = require("./styles/Scene");
|
|
10
9
|
const Face_1 = __importDefault(require("./Faces/Face"));
|
|
11
10
|
const Global_1 = require("./styles/Global");
|
|
11
|
+
const AnimFilter_1 = __importDefault(require("./styles/AnimFilter"));
|
|
12
12
|
const Cuboid = (props) => {
|
|
13
|
-
let { anim1Specs, anim2Specs, width = 5, height = 5, depth = 5, faces, global = {}, custom = {}, tranz = (+height / 2) | 0, perspective, perspectiveOrigin, zIndex
|
|
13
|
+
let { anim1Specs, anim2Specs, width = 5, height = 5, depth = 5, faces, global = {}, custom = {}, tranz = (+height / 2) | 0, perspective, perspectiveOrigin, zIndex } = props;
|
|
14
14
|
const buildFace = (faceType) => {
|
|
15
|
-
return
|
|
15
|
+
return react_1.default.createElement(Face_1.default, { width: width, height: height, depth: depth, faceType: faceType, id: faceType, tranz: tranz, global: global, custom: custom });
|
|
16
16
|
};
|
|
17
17
|
return (react_1.default.createElement(Scene_1.SceneStyle, { width: width, height: height, perspective: perspective, perspectiveOrigin: perspectiveOrigin, zIndex: zIndex },
|
|
18
|
-
react_1.default.createElement(
|
|
19
|
-
react_1.default.createElement(
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
!!faces && !!faces.bottom ? buildFace("bottom") : null)))));
|
|
18
|
+
react_1.default.createElement(AnimFilter_1.default, { anim1Specs: anim1Specs, anim2Specs: anim2Specs },
|
|
19
|
+
react_1.default.createElement(Global_1.ObjWrapper, null,
|
|
20
|
+
!!faces && !!faces.front ? buildFace('front') : null,
|
|
21
|
+
!!faces && !!faces.right ? buildFace('right') : null,
|
|
22
|
+
!!faces && !!faces.back ? buildFace('back') : null,
|
|
23
|
+
!!faces && !!faces.left ? buildFace('left') : null,
|
|
24
|
+
!!faces && !!faces.top ? buildFace('top') : null,
|
|
25
|
+
!!faces && !!faces.bottom ? buildFace('bottom') : null))));
|
|
27
26
|
};
|
|
28
27
|
exports.Cuboid = Cuboid;
|
|
29
28
|
//# sourceMappingURL=Cuboid.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Cuboid.js","sourceRoot":"","sources":["../../../src/components/Cuboid.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,
|
|
1
|
+
{"version":3,"file":"Cuboid.js","sourceRoot":"","sources":["../../../src/components/Cuboid.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,0CAA4C;AAE5C,wDAAgC;AAChC,4CAA6C;AAC7C,qEAA6C;AAEtC,MAAM,MAAM,GAAG,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,CAAC,CAAC,IAAI;gBAClD,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI;gBAClD,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI;gBAChD,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,CAC9C,CACJ,CACJ,CAChB,CAAC;AACN,CAAC,CAAC;AArBW,QAAA,MAAM,UAqBjB"}
|
|
@@ -6,37 +6,33 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const Face = (props) => {
|
|
9
|
-
let { depth = 10, faceType, global = {}, height = 10, custom = false, tranz = 80, width = 100
|
|
9
|
+
let { depth = 10, faceType, global = {}, height = 10, custom = false, tranz = 80, width = 100 } = props;
|
|
10
10
|
let transform;
|
|
11
|
-
let styles = !!custom[faceType] && !!custom[faceType].css
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
const body = !!custom[faceType] && !!custom[faceType].body
|
|
15
|
-
? custom[faceType].body
|
|
16
|
-
: global.body;
|
|
17
|
-
if (faceType === "bottom") {
|
|
11
|
+
let styles = !!custom[faceType] && !!custom[faceType].css ? custom[faceType].css : global.css;
|
|
12
|
+
const body = !!custom[faceType] && !!custom[faceType].body ? custom[faceType].body : global.body;
|
|
13
|
+
if (faceType === 'bottom') {
|
|
18
14
|
tranz = +height - +depth / 2;
|
|
19
15
|
height = +depth;
|
|
20
16
|
transform = `transform: rotateX(-90deg) translateZ(${tranz}px);`;
|
|
21
17
|
//styles = !!custom["top"] ? custom : global;
|
|
22
18
|
}
|
|
23
|
-
else if (faceType ===
|
|
19
|
+
else if (faceType === 'top') {
|
|
24
20
|
height = +depth;
|
|
25
21
|
if (!!depth)
|
|
26
22
|
tranz = +depth / 2;
|
|
27
23
|
transform = `transform: rotateX(90deg) translateZ(${tranz}px);`;
|
|
28
24
|
}
|
|
29
|
-
else if (faceType ===
|
|
25
|
+
else if (faceType === 'front') {
|
|
30
26
|
if (!!depth)
|
|
31
27
|
tranz = +depth / 2;
|
|
32
28
|
transform = `transform: rotateY(0deg) translateZ(${tranz}px);`;
|
|
33
29
|
}
|
|
34
|
-
else if (faceType ===
|
|
30
|
+
else if (faceType === 'back') {
|
|
35
31
|
if (!!depth)
|
|
36
32
|
tranz = +depth / 2;
|
|
37
33
|
transform = `transform: rotateY(180deg) translateZ(${tranz}px);`;
|
|
38
34
|
}
|
|
39
|
-
else if (faceType ===
|
|
35
|
+
else if (faceType === 'right') {
|
|
40
36
|
if (height > width && !depth) {
|
|
41
37
|
tranz = -(+height / 2 - +width);
|
|
42
38
|
width = +height;
|
|
@@ -52,7 +48,7 @@ const Face = (props) => {
|
|
|
52
48
|
transform = `transform: rotateY(90deg) translateZ(${tranz}px);`;
|
|
53
49
|
// topr is to of Ribbon which points back
|
|
54
50
|
}
|
|
55
|
-
else if (faceType ===
|
|
51
|
+
else if (faceType === 'topr') {
|
|
56
52
|
height = +depth;
|
|
57
53
|
if (!!depth)
|
|
58
54
|
tranz = +depth / 2;
|
|
@@ -76,12 +72,12 @@ const Face = (props) => {
|
|
|
76
72
|
}
|
|
77
73
|
//const BackFlip: any = styled.section``;
|
|
78
74
|
const Specs = styled_components_1.default.section `
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
75
|
+
${styles}
|
|
76
|
+
width: ${width}px;
|
|
77
|
+
position: absolute;
|
|
78
|
+
height: ${height}px;
|
|
79
|
+
${transform};
|
|
80
|
+
`;
|
|
85
81
|
return react_1.default.createElement(Specs, null, body);
|
|
86
82
|
};
|
|
87
83
|
exports.default = Face;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Face.js","sourceRoot":"","sources":["../../../../src/components/Faces/Face.tsx"],"names":[],"mappings":";;;;;AAAA,0EAAuC;AACvC,kDAA0B;AAG1B,MAAM,IAAI,GAAG,CAAC,KAAgB,EAAe,EAAE;
|
|
1
|
+
{"version":3,"file":"Face.js","sourceRoot":"","sources":["../../../../src/components/Faces/Face.tsx"],"names":[],"mappings":";;;;;AAAA,0EAAuC;AACvC,kDAA0B;AAG1B,MAAM,IAAI,GAAG,CAAC,KAAgB,EAAe,EAAE;IAC3C,IAAI,EAAE,KAAK,GAAG,EAAE,EAAE,QAAQ,EAAE,MAAM,GAAG,EAAE,EAAE,MAAM,GAAG,EAAE,EAAE,MAAM,GAAG,KAAK,EAAE,KAAK,GAAG,EAAE,EAAE,KAAK,GAAG,GAAG,EAAE,GAAG,KAAK,CAAC;IAExG,IAAI,SAAS,CAAC;IACd,IAAI,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC;IAC9F,MAAM,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC;IACjG,IAAI,QAAQ,KAAK,QAAQ,EAAE;QACvB,KAAK,GAAG,CAAC,MAAM,GAAG,CAAC,KAAK,GAAG,CAAC,CAAC;QAC7B,MAAM,GAAG,CAAC,KAAK,CAAC;QAChB,SAAS,GAAG,yCAAyC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KAAK,GAAG,CAAC,KAAK,GAAG,CAAC,CAAC;QAChC,yBAAyB;QACzB,SAAS,GAAG,wCAAwC,KAAK,SAAS,CAAC;KACtE;SAAM;QACH,IAAI,MAAM,GAAG,KAAK,IAAI,CAAC,KAAK,EAAE;YAC1B,KAAK,GAAG,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;YAChC,KAAK,GAAG,CAAC,MAAM,CAAC;SACnB;aAAM,IAAI,KAAK,GAAG,MAAM,IAAI,CAAC,KAAK,EAAE;YACjC,KAAK,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC;YACpB,MAAM,GAAG,CAAC,KAAK,CAAC;SACnB;aAAM;YACH,KAAK,GAAG,CAAC,KAAK,GAAG,CAAC,CAAC;YACnB,KAAK,GAAG,CAAC,KAAK,CAAC;SAClB;QACD,SAAS,GAAG,yCAAyC,KAAK,MAAM,CAAC;KACpE;IAED,yCAAyC;IAEzC,MAAM,KAAK,GAAQ,2BAAM,CAAC,OAAO,CAAA;UAC3B,MAAM;iBACC,KAAK;;kBAEJ,MAAM;UACd,SAAS;KACd,CAAC;IAEF,OAAO,8BAAC,KAAK,QAAE,IAAI,CAAS,CAAC;AACjC,CAAC,CAAC;AAEF,kBAAe,IAAI,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ObjProps } from
|
|
1
|
+
import { ObjProps } from './Faces/FaceInter';
|
|
2
2
|
export declare const Ribbon: (props: ObjProps) => any;
|
|
@@ -5,22 +5,21 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.Ribbon = void 0;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const AnimWrap_1 = require("./styles/AnimWrap");
|
|
9
8
|
const Scene_1 = require("./styles/Scene");
|
|
10
9
|
const Face_1 = __importDefault(require("./Faces/Face"));
|
|
11
10
|
const Global_1 = require("./styles/Global");
|
|
11
|
+
const AnimFilter_1 = __importDefault(require("./styles/AnimFilter"));
|
|
12
12
|
const Ribbon = (props) => {
|
|
13
|
-
let { anim1Specs, anim2Specs, width = 5, height = 5, depth = 5, faces, global = {}, custom = {}, tranz = (+height / 2) | 0, perspective, perspectiveOrigin, zIndex
|
|
13
|
+
let { anim1Specs, anim2Specs, width = 5, height = 5, depth = 5, faces, global = {}, custom = {}, tranz = (+height / 2) | 0, perspective, perspectiveOrigin, zIndex } = props;
|
|
14
14
|
const buildFace = (faceType) => {
|
|
15
|
-
return
|
|
15
|
+
return react_1.default.createElement(Face_1.default, { width: width, height: height, depth: depth, faceType: faceType, id: faceType, tranz: tranz, global: global, custom: custom });
|
|
16
16
|
};
|
|
17
17
|
return (react_1.default.createElement(Scene_1.SceneStyle, { width: width, height: height, perspective: perspective, perspectiveOrigin: perspectiveOrigin, zIndex: zIndex },
|
|
18
|
-
react_1.default.createElement(
|
|
19
|
-
react_1.default.createElement(
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
!!faces && !!faces.top ? buildFace("topr") : null)))));
|
|
18
|
+
react_1.default.createElement(AnimFilter_1.default, { anim1Specs: anim1Specs, anim2Specs: anim2Specs },
|
|
19
|
+
react_1.default.createElement(Global_1.ObjWrapper, null,
|
|
20
|
+
!!faces && !!faces.bottom ? buildFace('bottom') : null,
|
|
21
|
+
!!faces && !!faces.back ? buildFace('back') : null,
|
|
22
|
+
!!faces && !!faces.top ? buildFace('topr') : null))));
|
|
24
23
|
};
|
|
25
24
|
exports.Ribbon = Ribbon;
|
|
26
25
|
//# sourceMappingURL=Ribbon.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Ribbon.js","sourceRoot":"","sources":["../../../src/components/Ribbon.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,
|
|
1
|
+
{"version":3,"file":"Ribbon.js","sourceRoot":"","sources":["../../../src/components/Ribbon.tsx"],"names":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AC,IAAI;gBAClD,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CACzC,CACJ,CACJ,CAChB,CAAC;AACN,CAAC,CAAC;AAlBW,QAAA,MAAM,UAkBjB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
1
|
+
export * from './Button';
|
|
2
|
+
export * from './Faces/Face';
|
|
3
|
+
export * from './Card';
|
|
4
|
+
export * from './Cuboid';
|
|
5
|
+
export * from './Ribbon';
|
|
@@ -0,0 +1,14 @@
|
|
|
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 react_1 = __importDefault(require("react"));
|
|
7
|
+
const AnimWrap_1 = require("./AnimWrap");
|
|
8
|
+
function AnimFilter(props) {
|
|
9
|
+
const { anim1Specs = false, anim2Specs = false, children = '' } = props;
|
|
10
|
+
return anim1Specs && anim2Specs ? (react_1.default.createElement(AnimWrap_1.AnimWrap, { animSpecs: anim1Specs },
|
|
11
|
+
react_1.default.createElement(AnimWrap_1.AnimWrap, { animSpecs: anim2Specs }, children))) : anim1Specs && !anim2Specs ? (react_1.default.createElement(AnimWrap_1.AnimWrap, { animSpecs: anim1Specs }, children)) : !anim1Specs && anim2Specs ? (react_1.default.createElement(AnimWrap_1.AnimWrap, { animSpecs: anim2Specs }, children)) : (react_1.default.createElement(react_1.default.Fragment, null, children));
|
|
12
|
+
}
|
|
13
|
+
exports.default = AnimFilter;
|
|
14
|
+
//# sourceMappingURL=AnimFilter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnimFilter.js","sourceRoot":"","sources":["../../../../src/components/styles/AnimFilter.tsx"],"names":[],"mappings":";;;;;AAAA,kDAA0B;AAC1B,yCAAsC;AAQtC,SAAwB,UAAU,CAAC,KAAsB;IACrD,MAAM,EAAE,UAAU,GAAG,KAAK,EAAE,UAAU,GAAG,KAAK,EAAE,QAAQ,GAAG,EAAE,EAAE,GAAG,KAAK,CAAC;IAExE,OAAO,UAAU,IAAI,UAAU,CAAC,CAAC,CAAC,CAC9B,8BAAC,mBAAQ,IAAC,SAAS,EAAE,UAAU;QAC3B,8BAAC,mBAAQ,IAAC,SAAS,EAAE,UAAU,IAAG,QAAQ,CAAY,CAC/C,CACd,CAAC,CAAC,CAAC,UAAU,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAC5B,8BAAC,mBAAQ,IAAC,SAAS,EAAE,UAAU,IAAG,QAAQ,CAAY,CACzD,CAAC,CAAC,CAAC,CAAC,UAAU,IAAI,UAAU,CAAC,CAAC,CAAC,CAC5B,8BAAC,mBAAQ,IAAC,SAAS,EAAE,UAAU,IAAG,QAAQ,CAAY,CACzD,CAAC,CAAC,CAAC,CACA,8DAAG,QAAQ,CAAI,CAClB,CAAC;AACN,CAAC;AAdD,6BAcC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AnimStylesProps } from
|
|
1
|
+
import { AnimStylesProps } from './Anim';
|
|
2
2
|
export declare const AnimWrap: (props: AnimStylesProps) => JSX.Element;
|