@tamagui/animations-reanimated 1.20.2 → 1.20.4
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/package.json +5 -5
- package/src/createAnimations.tsx +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/animations-reanimated",
|
|
3
|
-
"version": "1.20.
|
|
3
|
+
"version": "1.20.4",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"sideEffects": true,
|
|
6
6
|
"license": "MIT",
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
"dist"
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@tamagui/animations-react-native": "1.20.
|
|
17
|
-
"@tamagui/use-presence": "1.20.
|
|
18
|
-
"@tamagui/web": "1.20.
|
|
16
|
+
"@tamagui/animations-react-native": "1.20.4",
|
|
17
|
+
"@tamagui/use-presence": "1.20.4",
|
|
18
|
+
"@tamagui/web": "1.20.4"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@tamagui/build": "1.20.
|
|
21
|
+
"@tamagui/build": "1.20.4",
|
|
22
22
|
"react-native-reanimated": "^2.14.4"
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|
package/src/createAnimations.tsx
CHANGED
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
// add nice warning for if mis-configured next config:
|
|
26
26
|
if (process.env.NODE_ENV === 'development') {
|
|
27
27
|
if (FlatList?.['_isProxyWorm']) {
|
|
28
|
-
//
|
|
28
|
+
// rome-ignore lint/nursery/noConsoleLog: ok
|
|
29
29
|
console.warn(
|
|
30
30
|
`Using reanimated with excludeReactNativeWebExports including FlatList, adjust your next.config.js, reanimated currently doesn't support tree-shaking and needs *List components around.`
|
|
31
31
|
)
|
|
@@ -182,19 +182,19 @@ export function createAnimations<A extends AnimationsConfig>(
|
|
|
182
182
|
const { delay = null } = animationDelay(key, animationConfig)
|
|
183
183
|
|
|
184
184
|
if (!animation) {
|
|
185
|
-
//
|
|
185
|
+
// rome-ignore lint/nursery/noConsoleLog: ok
|
|
186
186
|
console.warn('No animation for', key, 'in', style)
|
|
187
187
|
continue
|
|
188
188
|
}
|
|
189
189
|
if (!config) {
|
|
190
|
-
//
|
|
190
|
+
// rome-ignore lint/nursery/noConsoleLog: ok
|
|
191
191
|
console.warn('No animation config for', key, 'in', style)
|
|
192
192
|
continue
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
if (key === 'transform') {
|
|
196
196
|
if (!Array.isArray(value)) {
|
|
197
|
-
//
|
|
197
|
+
// rome-ignore lint/nursery/noConsoleLog: ok
|
|
198
198
|
console.error(`Invalid transform value. Needs to be an array.`)
|
|
199
199
|
continue
|
|
200
200
|
}
|