Skip to content

Commit 8bc039c

Browse files
authored
chore(Reanimated): use Worklets from npm on 4.1-stable branch (#8705)
1 parent 457bf6f commit 8bc039c

25 files changed

Lines changed: 866 additions & 3057 deletions

File tree

apps/common-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"react-native-safe-area-context": "5.6.0",
3838
"react-native-screens": "4.14.1",
3939
"react-native-svg": "15.12.1",
40-
"react-native-worklets": "workspace:*",
40+
"react-native-worklets": "0.7.0",
4141
"react-strict-dom": "0.0.27"
4242
},
4343
"devDependencies": {

apps/common-app/src/apps/css/components/cards/RouteCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { faChevronRight } from '@fortawesome/free-solid-svg-icons';
22
import { FontAwesomeIcon } from '@fortawesome/react-native-fontawesome';
33
import { useNavigation } from '@react-navigation/native';
4-
import type { PropsWithChildren } from 'react';
4+
import type { JSX, PropsWithChildren } from 'react';
55
import { Pressable, StyleSheet, View } from 'react-native';
66

77
import { Text } from '@/apps/css/components/core';

apps/common-app/src/apps/css/components/examples/ExamplesList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { ComponentType } from 'react';
1+
import type { ComponentType, JSX } from 'react';
22
import type { CSSAnimationProperties } from 'react-native-reanimated';
33

44
import { stringifyConfig } from '@/apps/css/utils';

apps/common-app/src/apps/css/components/misc/ActionSheetDropdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Portal } from '@gorhom/portal';
2-
import type { PropsWithChildren, ReactNode } from 'react';
2+
import type { JSX, PropsWithChildren, ReactNode } from 'react';
33
import { useRef, useState } from 'react';
44
import type { StyleProp, ViewStyle } from 'react-native';
55
import {

apps/common-app/src/apps/css/examples/animations/screens/animatedProperties/base/appearance/colors/ColorProperties.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import {
2222
} from '@/apps/css/components';
2323
import { stringifyConfig } from '@/apps/css/utils';
2424
import { colors, radius, sizes, spacing } from '@/theme';
25+
import type { JSX } from 'react';
2526

2627
const sharedConfig: CSSAnimationSettings = {
2728
animationDirection: 'alternate',

apps/common-app/src/apps/css/examples/animations/screens/animatedProperties/svg/common/FillAndColor.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { Circle, Polygon, Svg } from 'react-native-svg';
77

88
import { ExamplesScreen } from '@/apps/css/components';
99
import type { AnyRecord } from '@/types';
10+
import type { JSX } from 'react';
1011

1112
const AnimatedCircle = Animated.createAnimatedComponent(Circle);
1213
const AnimatedPolygon = Animated.createAnimatedComponent(Polygon);

apps/common-app/src/apps/css/examples/animations/screens/animatedProperties/svg/common/Stroke.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { Circle, Path, Svg } from 'react-native-svg';
88

99
import { ExamplesScreen } from '@/apps/css/components';
1010
import { colors } from '@/theme';
11+
import type { JSX } from 'react';
1112

1213
const AnimatedCircle = Animated.createAnimatedComponent(Circle);
1314
const AnimatedPath = Animated.createAnimatedComponent(Path);

apps/common-app/src/apps/css/examples/animations/screens/animationSettings/components/ExampleScreen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { ReactNode } from 'react';
1+
import type { JSX, ReactNode } from 'react';
22
import { useMemo } from 'react';
33
import type { CSSAnimationProperties } from 'react-native-reanimated';
44

apps/common-app/src/apps/css/examples/animations/screens/animationSettings/components/ExamplesListCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { useState } from 'react';
1+
import { useState, type JSX } from 'react';
22
import { StyleSheet, View } from 'react-native';
33
import type {
44
CSSAnimationProperties,

apps/common-app/src/apps/css/examples/transitions/screens/transitionSettings/components/ExampleScreen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { ReactNode } from 'react';
1+
import type { JSX, ReactNode } from 'react';
22
import { useMemo } from 'react';
33
import type {
44
CSSTransitionProperties,

0 commit comments

Comments
 (0)