UNPKG

5.8 kBPlain TextView Raw
1'use strict';
2
3import './publicGlobals';
4
5export type { WorkletRuntime } from './core';
6export {
7 runOnJS,
8 runOnUI,
9 createWorkletRuntime,
10 runOnRuntime,
11 makeMutable,
12 makeShareableCloneRecursive,
13 isReanimated3,
14 isConfigured,
15 enableLayoutAnimations,
16 getViewProp,
17 executeOnUIRuntimeSync,
18} from './core';
19export type {
20 GestureHandlers,
21 AnimatedRef,
22 DerivedValue,
23 ScrollHandler,
24 ScrollHandlers,
25 ScrollHandlerProcessed,
26 FrameCallback,
27 ScrollEvent,
28 EventHandler,
29 EventHandlerProcessed,
30 UseHandlerContext,
31 ReanimatedEvent,
32} from './hook';
33export {
34 useAnimatedProps,
35 useEvent,
36 useHandler,
37 useWorkletCallback,
38 useSharedValue,
39 useReducedMotion,
40 useAnimatedStyle,
41 useAnimatedGestureHandler,
42 useAnimatedReaction,
43 useAnimatedRef,
44 useAnimatedScrollHandler,
45 useDerivedValue,
46 useAnimatedSensor,
47 useFrameCallback,
48 useAnimatedKeyboard,
49 useScrollViewOffset,
50 useComposedEventHandler,
51} from './hook';
52export type {
53 DelayAnimation,
54 RepeatAnimation,
55 SequenceAnimation,
56 StyleLayoutAnimation,
57 WithTimingConfig,
58 TimingAnimation,
59 WithSpringConfig,
60 SpringAnimation,
61 WithDecayConfig,
62 DecayAnimation,
63} from './animation';
64export {
65 cancelAnimation,
66 defineAnimation,
67 withClamp,
68 withDecay,
69 withDelay,
70 withRepeat,
71 withSequence,
72 withSpring,
73 withTiming,
74} from './animation';
75export type { ExtrapolationConfig, ExtrapolationType } from './interpolation';
76export { Extrapolation, interpolate, clamp } from './interpolation';
77export type {
78 InterpolationOptions,
79 InterpolateConfig,
80 InterpolateRGB,
81 InterpolateHSV,
82} from './interpolateColor';
83export {
84 /**
85 * @deprecated Please use {@link Extrapolation} instead.
86 */
87 Extrapolate,
88 ColorSpace,
89 interpolateColor,
90 useInterpolateConfig,
91} from './interpolateColor';
92export type {
93 EasingFunction,
94 EasingFn,
95 EasingFunctionFactory,
96 EasingFactoryFn,
97} from './Easing';
98export { Easing } from './Easing';
99export type { ComponentCoords } from './platformFunctions';
100export {
101 measure,
102 dispatchCommand,
103 scrollTo,
104 setGestureState,
105 setNativeProps,
106 getRelativeCoords,
107} from './platformFunctions';
108export type { ParsedColorArray } from './Colors';
109export { isColor, processColor, convertToRGBA } from './Colors';
110export { createAnimatedPropAdapter } from './PropAdapters';
111export type {
112 LayoutAnimation,
113 EntryAnimationsValues,
114 ExitAnimationsValues,
115 EntryExitAnimationFunction,
116 LayoutAnimationsValues,
117 LayoutAnimationFunction,
118 ILayoutAnimationBuilder,
119 IEntryExitAnimationBuilder,
120} from './layoutReanimation';
121export {
122 BaseAnimationBuilder,
123 ComplexAnimationBuilder,
124 Keyframe,
125 // Flip
126 FlipInXUp,
127 FlipInYLeft,
128 FlipInXDown,
129 FlipInYRight,
130 FlipInEasyX,
131 FlipInEasyY,
132 FlipOutXUp,
133 FlipOutYLeft,
134 FlipOutXDown,
135 FlipOutYRight,
136 FlipOutEasyX,
137 FlipOutEasyY,
138 // Stretch
139 StretchInX,
140 StretchInY,
141 StretchOutX,
142 StretchOutY,
143 // Fade
144 FadeIn,
145 FadeInRight,
146 FadeInLeft,
147 FadeInUp,
148 FadeInDown,
149 FadeOut,
150 FadeOutRight,
151 FadeOutLeft,
152 FadeOutUp,
153 FadeOutDown,
154 // Slide
155 SlideInRight,
156 SlideInLeft,
157 SlideOutRight,
158 SlideOutLeft,
159 SlideInUp,
160 SlideInDown,
161 SlideOutUp,
162 SlideOutDown,
163 // Zoom
164 ZoomIn,
165 ZoomInRotate,
166 ZoomInLeft,
167 ZoomInRight,
168 ZoomInUp,
169 ZoomInDown,
170 ZoomInEasyUp,
171 ZoomInEasyDown,
172 ZoomOut,
173 ZoomOutRotate,
174 ZoomOutLeft,
175 ZoomOutRight,
176 ZoomOutUp,
177 ZoomOutDown,
178 ZoomOutEasyUp,
179 ZoomOutEasyDown,
180 // Bounce
181 BounceIn,
182 BounceInDown,
183 BounceInUp,
184 BounceInLeft,
185 BounceInRight,
186 BounceOut,
187 BounceOutDown,
188 BounceOutUp,
189 BounceOutLeft,
190 BounceOutRight,
191 // Lightspeed
192 LightSpeedInRight,
193 LightSpeedInLeft,
194 LightSpeedOutRight,
195 LightSpeedOutLeft,
196 // Pinwheel
197 PinwheelIn,
198 PinwheelOut,
199 // Rotate
200 RotateInDownLeft,
201 RotateInDownRight,
202 RotateInUpLeft,
203 RotateInUpRight,
204 RotateOutDownLeft,
205 RotateOutDownRight,
206 RotateOutUpLeft,
207 RotateOutUpRight,
208 // Roll
209 RollInLeft,
210 RollInRight,
211 RollOutLeft,
212 RollOutRight,
213 // Transitions
214 Layout,
215 LinearTransition,
216 FadingTransition,
217 SequencedTransition,
218 JumpingTransition,
219 CurvedTransition,
220 EntryExitTransition,
221 combineTransition,
222 // SET
223 SharedTransition,
224 SharedTransitionType,
225} from './layoutReanimation';
226export { isSharedValue } from './isSharedValue';
227export type {
228 StyleProps,
229 SharedValue,
230 AnimatableValueObject,
231 AnimatableValue,
232 AnimationObject,
233 SensorConfig,
234 Animation,
235 AnimatedSensor,
236 AnimationCallback,
237 Value3D,
238 ValueRotation,
239 AnimatedKeyboardInfo,
240 AnimatedKeyboardOptions,
241 MeasuredDimensions,
242} from './commonTypes';
243export {
244 SensorType,
245 IOSReferenceFrame,
246 InterfaceOrientation,
247 KeyboardState,
248 ReduceMotion,
249 isWorkletFunction,
250} from './commonTypes';
251export type { FrameInfo } from './frameCallback';
252export { getUseOfValueInStyleWarning } from './pluginUtils';
253export {
254 withReanimatedTimer,
255 advanceAnimationByTime,
256 advanceAnimationByFrame,
257 setUpTests,
258 getAnimatedStyle,
259} from './jestUtils';
260export { LayoutAnimationConfig } from './component/LayoutAnimationConfig';
261export { PerformanceMonitor } from './component/PerformanceMonitor';
262export type {
263 Adaptable,
264 AdaptTransforms,
265 AnimateProps,
266 AnimatedProps,
267 AnimatedTransform,
268 TransformStyleTypes,
269 TransformArrayItem,
270 AnimateStyle,
271 AnimatedStyle,
272 AnimatedStyleProp,
273 StylesOrDefault,
274} from './helperTypes';
275export type { AnimatedScrollViewProps } from './component/ScrollView';
276export type { FlatListPropsWithLayout } from './component/FlatList';
277export { startMapper, stopMapper } from './mappers';
278export {
279 startScreenTransition,
280 finishScreenTransition,
281 ScreenTransition,
282} from './screenTransition';
283export type {
284 AnimatedScreenTransition,
285 GoBackGesture,
286 ScreenTransitionConfig,
287} from './screenTransition';