UNPKG

react-native-reanimated

Version:

More powerful alternative to Animated library for React Native.

52 lines (51 loc) 3.79 kB
'use strict'; import "./publicGlobals.js"; import * as Animated from "./Animated.js"; export default Animated; export { configureReanimatedLogger } from "./ConfigHelper.js"; export { LogLevel as ReanimatedLogLevel } from "./logger/index.js"; export { runOnJS, runOnUI, createWorkletRuntime, runOnRuntime, makeMutable, makeShareableCloneRecursive, isReanimated3, isConfigured, enableLayoutAnimations, getViewProp, executeOnUIRuntimeSync } from "./core.js"; export { useAnimatedProps, useEvent, useHandler, useWorkletCallback, useSharedValue, useReducedMotion, useAnimatedStyle, useAnimatedGestureHandler, useAnimatedReaction, useAnimatedRef, useAnimatedScrollHandler, useDerivedValue, useAnimatedSensor, useFrameCallback, useAnimatedKeyboard, useScrollViewOffset, useComposedEventHandler } from "./hook/index.js"; export { cancelAnimation, defineAnimation, withClamp, withDecay, withDelay, withRepeat, withSequence, withSpring, withTiming } from "./animation/index.js"; export { Extrapolation, interpolate, clamp } from "./interpolation.js"; export { /** @deprecated Please use {@link Extrapolation} instead. */ Extrapolate, ColorSpace, interpolateColor, useInterpolateConfig } from "./interpolateColor.js"; export { Easing } from "./Easing.js"; export { measure, dispatchCommand, scrollTo, setGestureState, setNativeProps, getRelativeCoords } from "./platformFunctions/index.js"; export { isColor, processColor, convertToRGBA } from "./Colors.js"; export { createAnimatedPropAdapter } from "./PropAdapters.js"; export { BaseAnimationBuilder, ComplexAnimationBuilder, Keyframe, // Flip FlipInXUp, FlipInYLeft, FlipInXDown, FlipInYRight, FlipInEasyX, FlipInEasyY, FlipOutXUp, FlipOutYLeft, FlipOutXDown, FlipOutYRight, FlipOutEasyX, FlipOutEasyY, // Stretch StretchInX, StretchInY, StretchOutX, StretchOutY, // Fade FadeIn, FadeInRight, FadeInLeft, FadeInUp, FadeInDown, FadeOut, FadeOutRight, FadeOutLeft, FadeOutUp, FadeOutDown, // Slide SlideInRight, SlideInLeft, SlideOutRight, SlideOutLeft, SlideInUp, SlideInDown, SlideOutUp, SlideOutDown, // Zoom ZoomIn, ZoomInRotate, ZoomInLeft, ZoomInRight, ZoomInUp, ZoomInDown, ZoomInEasyUp, ZoomInEasyDown, ZoomOut, ZoomOutRotate, ZoomOutLeft, ZoomOutRight, ZoomOutUp, ZoomOutDown, ZoomOutEasyUp, ZoomOutEasyDown, // Bounce BounceIn, BounceInDown, BounceInUp, BounceInLeft, BounceInRight, BounceOut, BounceOutDown, BounceOutUp, BounceOutLeft, BounceOutRight, // Lightspeed LightSpeedInRight, LightSpeedInLeft, LightSpeedOutRight, LightSpeedOutLeft, // Pinwheel PinwheelIn, PinwheelOut, // Rotate RotateInDownLeft, RotateInDownRight, RotateInUpLeft, RotateInUpRight, RotateOutDownLeft, RotateOutDownRight, RotateOutUpLeft, RotateOutUpRight, // Roll RollInLeft, RollInRight, RollOutLeft, RollOutRight, // Transitions Layout, LinearTransition, FadingTransition, SequencedTransition, JumpingTransition, CurvedTransition, EntryExitTransition, combineTransition, // SET SharedTransition, SharedTransitionType } from "./layoutReanimation/index.js"; export { isSharedValue } from "./isSharedValue.js"; export { SensorType, IOSReferenceFrame, InterfaceOrientation, KeyboardState, ReduceMotion, isWorkletFunction } from "./commonTypes.js"; export { getUseOfValueInStyleWarning } from "./pluginUtils.js"; export { withReanimatedTimer, advanceAnimationByTime, advanceAnimationByFrame, setUpTests, getAnimatedStyle } from './jestUtils'; export { LayoutAnimationConfig } from "./component/LayoutAnimationConfig.js"; export { PerformanceMonitor } from "./component/PerformanceMonitor.js"; export { ReducedMotionConfig } from "./component/ReducedMotionConfig.js"; export { startMapper, stopMapper } from "./mappers.js"; export { startScreenTransition, finishScreenTransition, ScreenTransition } from "./screenTransition/index.js"; //# sourceMappingURL=index.js.map