@react-native-ama/animations 1.0.1-alpha.2 → 1.1.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.
|
@@ -17,9 +17,9 @@ export type AnimatedExitViewStyle = ReanimatedStyle<ReanimatedExitValues>;
|
|
|
17
17
|
type ReanimatedStyle<K> = {
|
|
18
18
|
[key in keyof Omit<ViewStyle, 'transform'>]: ViewStyle[key] | K;
|
|
19
19
|
} & {
|
|
20
|
-
transform?: (
|
|
20
|
+
transform?: (PerspectiveTransform<K> | RotateTransform<K> | RotateXTransform<K> | RotateYTransform<K> | RotateZTransform<K> | ScaleTransform<K> | ScaleXTransform<K> | ScaleYTransform<K> | TranslateXTransform<K> | TranslateYTransform<K> | SkewXTransform<K> | SkewYTransform<K> | MatrixTransform<K>)[] | undefined;
|
|
21
21
|
};
|
|
22
|
-
type
|
|
22
|
+
type PerspectiveTransform<K> = {
|
|
23
23
|
c: string | K;
|
|
24
24
|
};
|
|
25
25
|
type RotateTransform<K> = {
|
package/package.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native-ama/animations",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"private": false,
|
|
3
|
+
"version": "1.1.0",
|
|
5
4
|
"react-native": "src/index",
|
|
6
5
|
"types": "dist/index.d.ts",
|
|
7
6
|
"main": "dist/index.js",
|
|
@@ -23,8 +22,8 @@
|
|
|
23
22
|
"typecheck": "tsc --noEmit"
|
|
24
23
|
},
|
|
25
24
|
"dependencies": {
|
|
26
|
-
"@react-native-ama/
|
|
27
|
-
"@react-native-ama/
|
|
25
|
+
"@react-native-ama/core": "~1.1.0",
|
|
26
|
+
"@react-native-ama/internal": "~1.1.0"
|
|
28
27
|
},
|
|
29
28
|
"peerDependencies": {
|
|
30
29
|
"react": "*",
|
|
@@ -45,7 +44,7 @@
|
|
|
45
44
|
},
|
|
46
45
|
"homepage": "https://github.com/FormidableLabs/react-native-ama#readme",
|
|
47
46
|
"publishConfig": {
|
|
48
|
-
"provenance":
|
|
47
|
+
"provenance": true
|
|
49
48
|
},
|
|
50
49
|
"author": "",
|
|
51
50
|
"license": "MIT"
|
|
@@ -114,7 +114,7 @@ type ReanimatedStyle<K> = {
|
|
|
114
114
|
} & {
|
|
115
115
|
transform?:
|
|
116
116
|
| (
|
|
117
|
-
|
|
|
117
|
+
| PerspectiveTransform<K>
|
|
118
118
|
| RotateTransform<K>
|
|
119
119
|
| RotateXTransform<K>
|
|
120
120
|
| RotateYTransform<K>
|
|
@@ -131,7 +131,7 @@ type ReanimatedStyle<K> = {
|
|
|
131
131
|
| undefined;
|
|
132
132
|
};
|
|
133
133
|
|
|
134
|
-
type
|
|
134
|
+
type PerspectiveTransform<K> = {
|
|
135
135
|
c: string | K;
|
|
136
136
|
};
|
|
137
137
|
|