react-native-reanimated 3.5.2 → 3.5.3

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.
@@ -1,15 +1,15 @@
1
1
  import './publicGlobals';
2
- export { runOnJS, runOnUI, createWorkletRuntime, WorkletRuntime, makeMutable, makeShareableCloneRecursive, isReanimated3, isConfigured, enableLayoutAnimations, getViewProp } from './core';
3
- export { useAnimatedProps, useEvent, useHandler, useWorkletCallback, useSharedValue, useReducedMotion, useAnimatedStyle, useAnimatedGestureHandler, GestureHandlers, useAnimatedReaction, AnimatedRef, useAnimatedRef, useAnimatedScrollHandler, ScrollHandler, ScrollHandlers, useDerivedValue, DerivedValue, useAnimatedSensor, useFrameCallback, FrameCallback, useAnimatedKeyboard, useScrollViewOffset } from './hook';
4
- export { DelayAnimation, RepeatAnimation, SequenceAnimation, StyleLayoutAnimation, cancelAnimation, defineAnimation, withTiming, WithTimingConfig, TimingAnimation, withSpring, WithSpringConfig, SpringAnimation, withDecay, WithDecayConfig, DecayAnimation, withDelay, withRepeat, withSequence } from './animation';
5
- export { Extrapolation, ExtrapolationConfig, ExtrapolationType, interpolate, clamp } from './interpolation';
6
- export { Extrapolate, InterpolationOptions, interpolateColor, ColorSpace, InterpolateConfig, useInterpolateConfig, InterpolateRGB, InterpolateHSV } from './interpolateColor';
7
- export { EasingFunction, EasingFn, EasingFunctionFactory, EasingFactoryFn, Easing } from './Easing';
2
+ export { runOnJS, runOnUI, createWorkletRuntime, makeMutable, makeShareableCloneRecursive, isReanimated3, isConfigured, enableLayoutAnimations, getViewProp } from './core';
3
+ export { useAnimatedProps, useEvent, useHandler, useWorkletCallback, useSharedValue, useReducedMotion, useAnimatedStyle, useAnimatedGestureHandler, useAnimatedReaction, useAnimatedRef, useAnimatedScrollHandler, useDerivedValue, useAnimatedSensor, useFrameCallback, useAnimatedKeyboard, useScrollViewOffset } from './hook';
4
+ export { cancelAnimation, defineAnimation, withTiming, withSpring, withDecay, withDelay, withRepeat, withSequence } from './animation';
5
+ export { interpolate, clamp } from './interpolation';
6
+ export { Extrapolate, interpolateColor, useInterpolateConfig } from './interpolateColor';
7
+ export { Easing } from './Easing';
8
8
  export { measure, dispatchCommand, scrollTo, setGestureState } from './NativeMethods';
9
9
  export { setNativeProps } from './SetNativeProps';
10
- export { isColor, processColor, ParsedColorArray, convertToRGBA } from './Colors';
10
+ export { isColor, processColor, convertToRGBA } from './Colors';
11
11
  export { createAnimatedPropAdapter } from './PropAdapters';
12
- export { BaseAnimationBuilder, ComplexAnimationBuilder, Keyframe, LayoutAnimation, EntryAnimationsValues, ExitAnimationsValues, EntryExitAnimationFunction, LayoutAnimationsValues, LayoutAnimationFunction, ILayoutAnimationBuilder, IEntryExitAnimationBuilder,
12
+ export { BaseAnimationBuilder, ComplexAnimationBuilder, Keyframe,
13
13
  // Flip
14
14
  FlipInXUp, FlipInYLeft, FlipInXDown, FlipInYRight, FlipInEasyX, FlipInEasyY, FlipOutXUp, FlipOutYLeft, FlipOutXDown, FlipOutYRight, FlipOutEasyX, FlipOutEasyY,
15
15
  // Stretch
@@ -34,9 +34,9 @@ RollInLeft, RollInRight, RollOutLeft, RollOutRight,
34
34
  Layout, LinearTransition, FadingTransition, SequencedTransition, JumpingTransition, CurvedTransition, EntryExitTransition, combineTransition,
35
35
  // SET
36
36
  SharedTransition, SharedTransitionType } from './layoutReanimation';
37
- export { getRelativeCoords, ComponentCoords, isSharedValue } from './utils';
38
- export { StyleProps, SharedValue, AnimatableValueObject, AnimatableValue, AnimationObject, Animation, SensorType, IOSReferenceFrame, SensorConfig, AnimatedSensor, AnimationCallback, Value3D, ValueRotation, InterfaceOrientation, KeyboardState, AnimatedKeyboardInfo, MeasuredDimensions, AnimatedKeyboardOptions, ReduceMotion } from './commonTypes';
39
- export { FrameInfo } from './frameCallback';
37
+ export { getRelativeCoords, isSharedValue } from './utils';
38
+ export { SensorType, IOSReferenceFrame, InterfaceOrientation, KeyboardState, ReduceMotion } from './commonTypes';
40
39
  export { getUseOfValueInStyleWarning } from './pluginUtils';
41
40
  export { withReanimatedTimer, advanceAnimationByTime, advanceAnimationByFrame, setUpTests, getAnimatedStyle } from './jestUtils';
41
+ export { startMapper, stopMapper } from './mappers';
42
42
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["runOnJS","runOnUI","createWorkletRuntime","WorkletRuntime","makeMutable","makeShareableCloneRecursive","isReanimated3","isConfigured","enableLayoutAnimations","getViewProp","useAnimatedProps","useEvent","useHandler","useWorkletCallback","useSharedValue","useReducedMotion","useAnimatedStyle","useAnimatedGestureHandler","GestureHandlers","useAnimatedReaction","AnimatedRef","useAnimatedRef","useAnimatedScrollHandler","ScrollHandler","ScrollHandlers","useDerivedValue","DerivedValue","useAnimatedSensor","useFrameCallback","FrameCallback","useAnimatedKeyboard","useScrollViewOffset","DelayAnimation","RepeatAnimation","SequenceAnimation","StyleLayoutAnimation","cancelAnimation","defineAnimation","withTiming","WithTimingConfig","TimingAnimation","withSpring","WithSpringConfig","SpringAnimation","withDecay","WithDecayConfig","DecayAnimation","withDelay","withRepeat","withSequence","Extrapolation","ExtrapolationConfig","ExtrapolationType","interpolate","clamp","Extrapolate","InterpolationOptions","interpolateColor","ColorSpace","InterpolateConfig","useInterpolateConfig","InterpolateRGB","InterpolateHSV","EasingFunction","EasingFn","EasingFunctionFactory","EasingFactoryFn","Easing","measure","dispatchCommand","scrollTo","setGestureState","setNativeProps","isColor","processColor","ParsedColorArray","convertToRGBA","createAnimatedPropAdapter","BaseAnimationBuilder","ComplexAnimationBuilder","Keyframe","LayoutAnimation","EntryAnimationsValues","ExitAnimationsValues","EntryExitAnimationFunction","LayoutAnimationsValues","LayoutAnimationFunction","ILayoutAnimationBuilder","IEntryExitAnimationBuilder","FlipInXUp","FlipInYLeft","FlipInXDown","FlipInYRight","FlipInEasyX","FlipInEasyY","FlipOutXUp","FlipOutYLeft","FlipOutXDown","FlipOutYRight","FlipOutEasyX","FlipOutEasyY","StretchInX","StretchInY","StretchOutX","StretchOutY","FadeIn","FadeInRight","FadeInLeft","FadeInUp","FadeInDown","FadeOut","FadeOutRight","FadeOutLeft","FadeOutUp","FadeOutDown","SlideInRight","SlideInLeft","SlideOutRight","SlideOutLeft","SlideInUp","SlideInDown","SlideOutUp","SlideOutDown","ZoomIn","ZoomInRotate","ZoomInLeft","ZoomInRight","ZoomInUp","ZoomInDown","ZoomInEasyUp","ZoomInEasyDown","ZoomOut","ZoomOutRotate","ZoomOutLeft","ZoomOutRight","ZoomOutUp","ZoomOutDown","ZoomOutEasyUp","ZoomOutEasyDown","BounceIn","BounceInDown","BounceInUp","BounceInLeft","BounceInRight","BounceOut","BounceOutDown","BounceOutUp","BounceOutLeft","BounceOutRight","LightSpeedInRight","LightSpeedInLeft","LightSpeedOutRight","LightSpeedOutLeft","PinwheelIn","PinwheelOut","RotateInDownLeft","RotateInDownRight","RotateInUpLeft","RotateInUpRight","RotateOutDownLeft","RotateOutDownRight","RotateOutUpLeft","RotateOutUpRight","RollInLeft","RollInRight","RollOutLeft","RollOutRight","Layout","LinearTransition","FadingTransition","SequencedTransition","JumpingTransition","CurvedTransition","EntryExitTransition","combineTransition","SharedTransition","SharedTransitionType","getRelativeCoords","ComponentCoords","isSharedValue","StyleProps","SharedValue","AnimatableValueObject","AnimatableValue","AnimationObject","Animation","SensorType","IOSReferenceFrame","SensorConfig","AnimatedSensor","AnimationCallback","Value3D","ValueRotation","InterfaceOrientation","KeyboardState","AnimatedKeyboardInfo","MeasuredDimensions","AnimatedKeyboardOptions","ReduceMotion","FrameInfo","getUseOfValueInStyleWarning","withReanimatedTimer","advanceAnimationByTime","advanceAnimationByFrame","setUpTests","getAnimatedStyle"],"sources":["index.ts"],"sourcesContent":["import './publicGlobals';\n\nexport {\n runOnJS,\n runOnUI,\n createWorkletRuntime,\n WorkletRuntime,\n makeMutable,\n makeShareableCloneRecursive,\n isReanimated3,\n isConfigured,\n enableLayoutAnimations,\n getViewProp,\n} from './core';\nexport {\n useAnimatedProps,\n useEvent,\n useHandler,\n useWorkletCallback,\n useSharedValue,\n useReducedMotion,\n useAnimatedStyle,\n useAnimatedGestureHandler,\n GestureHandlers,\n useAnimatedReaction,\n AnimatedRef,\n useAnimatedRef,\n useAnimatedScrollHandler,\n ScrollHandler,\n ScrollHandlers,\n useDerivedValue,\n DerivedValue,\n useAnimatedSensor,\n useFrameCallback,\n FrameCallback,\n useAnimatedKeyboard,\n useScrollViewOffset,\n} from './hook';\nexport {\n DelayAnimation,\n RepeatAnimation,\n SequenceAnimation,\n StyleLayoutAnimation,\n cancelAnimation,\n defineAnimation,\n withTiming,\n WithTimingConfig,\n TimingAnimation,\n withSpring,\n WithSpringConfig,\n SpringAnimation,\n withDecay,\n WithDecayConfig,\n DecayAnimation,\n withDelay,\n withRepeat,\n withSequence,\n} from './animation';\nexport {\n Extrapolation,\n ExtrapolationConfig,\n ExtrapolationType,\n interpolate,\n clamp,\n} from './interpolation';\nexport {\n Extrapolate,\n InterpolationOptions,\n interpolateColor,\n ColorSpace,\n InterpolateConfig,\n useInterpolateConfig,\n InterpolateRGB,\n InterpolateHSV,\n} from './interpolateColor';\nexport {\n EasingFunction,\n EasingFn,\n EasingFunctionFactory,\n EasingFactoryFn,\n Easing,\n} from './Easing';\nexport {\n measure,\n dispatchCommand,\n scrollTo,\n setGestureState,\n} from './NativeMethods';\nexport { setNativeProps } from './SetNativeProps';\nexport {\n isColor,\n processColor,\n ParsedColorArray,\n convertToRGBA,\n} from './Colors';\nexport { createAnimatedPropAdapter } from './PropAdapters';\nexport {\n BaseAnimationBuilder,\n ComplexAnimationBuilder,\n Keyframe,\n LayoutAnimation,\n EntryAnimationsValues,\n ExitAnimationsValues,\n EntryExitAnimationFunction,\n LayoutAnimationsValues,\n LayoutAnimationFunction,\n ILayoutAnimationBuilder,\n IEntryExitAnimationBuilder,\n // Flip\n FlipInXUp,\n FlipInYLeft,\n FlipInXDown,\n FlipInYRight,\n FlipInEasyX,\n FlipInEasyY,\n FlipOutXUp,\n FlipOutYLeft,\n FlipOutXDown,\n FlipOutYRight,\n FlipOutEasyX,\n FlipOutEasyY,\n // Stretch\n StretchInX,\n StretchInY,\n StretchOutX,\n StretchOutY,\n // Fade\n FadeIn,\n FadeInRight,\n FadeInLeft,\n FadeInUp,\n FadeInDown,\n FadeOut,\n FadeOutRight,\n FadeOutLeft,\n FadeOutUp,\n FadeOutDown,\n // Slide\n SlideInRight,\n SlideInLeft,\n SlideOutRight,\n SlideOutLeft,\n SlideInUp,\n SlideInDown,\n SlideOutUp,\n SlideOutDown,\n // Zoom\n ZoomIn,\n ZoomInRotate,\n ZoomInLeft,\n ZoomInRight,\n ZoomInUp,\n ZoomInDown,\n ZoomInEasyUp,\n ZoomInEasyDown,\n ZoomOut,\n ZoomOutRotate,\n ZoomOutLeft,\n ZoomOutRight,\n ZoomOutUp,\n ZoomOutDown,\n ZoomOutEasyUp,\n ZoomOutEasyDown,\n // Bounce\n BounceIn,\n BounceInDown,\n BounceInUp,\n BounceInLeft,\n BounceInRight,\n BounceOut,\n BounceOutDown,\n BounceOutUp,\n BounceOutLeft,\n BounceOutRight,\n // Lightspeed\n LightSpeedInRight,\n LightSpeedInLeft,\n LightSpeedOutRight,\n LightSpeedOutLeft,\n // Pinwheel\n PinwheelIn,\n PinwheelOut,\n // Rotate\n RotateInDownLeft,\n RotateInDownRight,\n RotateInUpLeft,\n RotateInUpRight,\n RotateOutDownLeft,\n RotateOutDownRight,\n RotateOutUpLeft,\n RotateOutUpRight,\n // Roll\n RollInLeft,\n RollInRight,\n RollOutLeft,\n RollOutRight,\n // Transitions\n Layout,\n LinearTransition,\n FadingTransition,\n SequencedTransition,\n JumpingTransition,\n CurvedTransition,\n EntryExitTransition,\n combineTransition,\n // SET\n SharedTransition,\n SharedTransitionType,\n} from './layoutReanimation';\nexport { getRelativeCoords, ComponentCoords, isSharedValue } from './utils';\nexport {\n StyleProps,\n SharedValue,\n AnimatableValueObject,\n AnimatableValue,\n AnimationObject,\n Animation,\n SensorType,\n IOSReferenceFrame,\n SensorConfig,\n AnimatedSensor,\n AnimationCallback,\n Value3D,\n ValueRotation,\n InterfaceOrientation,\n KeyboardState,\n AnimatedKeyboardInfo,\n MeasuredDimensions,\n AnimatedKeyboardOptions,\n ReduceMotion,\n} from './commonTypes';\nexport { FrameInfo } from './frameCallback';\nexport { getUseOfValueInStyleWarning } from './pluginUtils';\nexport {\n withReanimatedTimer,\n advanceAnimationByTime,\n advanceAnimationByFrame,\n setUpTests,\n getAnimatedStyle,\n} from './jestUtils';\nexport type {\n Adaptable,\n AdaptTransforms,\n AnimateProps,\n AnimatedProps,\n AnimatedTransform,\n TransformStyleTypes,\n TransformArrayItem,\n AnimateStyle,\n AnimatedStyle,\n AnimatedStyleProp,\n StylesOrDefault,\n} from './helperTypes';\nexport type { AnimatedScrollViewProps } from './component/ScrollView';\nexport type { FlatListPropsWithLayout } from './component/FlatList';\n"],"mappings":"AAAA,OAAO,iBAAiB;AAExB,SACEA,OAAO,EACPC,OAAO,EACPC,oBAAoB,EACpBC,cAAc,EACdC,WAAW,EACXC,2BAA2B,EAC3BC,aAAa,EACbC,YAAY,EACZC,sBAAsB,EACtBC,WAAW,QACN,QAAQ;AACf,SACEC,gBAAgB,EAChBC,QAAQ,EACRC,UAAU,EACVC,kBAAkB,EAClBC,cAAc,EACdC,gBAAgB,EAChBC,gBAAgB,EAChBC,yBAAyB,EACzBC,eAAe,EACfC,mBAAmB,EACnBC,WAAW,EACXC,cAAc,EACdC,wBAAwB,EACxBC,aAAa,EACbC,cAAc,EACdC,eAAe,EACfC,YAAY,EACZC,iBAAiB,EACjBC,gBAAgB,EAChBC,aAAa,EACbC,mBAAmB,EACnBC,mBAAmB,QACd,QAAQ;AACf,SACEC,cAAc,EACdC,eAAe,EACfC,iBAAiB,EACjBC,oBAAoB,EACpBC,eAAe,EACfC,eAAe,EACfC,UAAU,EACVC,gBAAgB,EAChBC,eAAe,EACfC,UAAU,EACVC,gBAAgB,EAChBC,eAAe,EAC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{"version":3,"names":["runOnJS","runOnUI","createWorkletRuntime","makeMutable","makeShareableCloneRecursive","isReanimated3","isConfigured","enableLayoutAnimations","getViewProp","useAnimatedProps","useEvent","useHandler","useWorkletCallback","useSharedValue","useReducedMotion","useAnimatedStyle","useAnimatedGestureHandler","useAnimatedReaction","useAnimatedRef","useAnimatedScrollHandler","useDerivedValue","useAnimatedSensor","useFrameCallback","useAnimatedKeyboard","useScrollViewOffset","cancelAnimation","defineAnimation","withTiming","withSpring","withDecay","withDelay","withRepeat","withSequence","interpolate","clamp","Extrapolate","interpolateColor","useInterpolateConfig","Easing","measure","dispatchCommand","scrollTo","setGestureState","setNativeProps","isColor","processColor","convertToRGBA","createAnimatedPropAdapter","BaseAnimationBuilder","ComplexAnimationBuilder","Keyframe","FlipInXUp","FlipInYLeft","FlipInXDown","FlipInYRight","FlipInEasyX","FlipInEasyY","FlipOutXUp","FlipOutYLeft","FlipOutXDown","FlipOutYRight","FlipOutEasyX","FlipOutEasyY","StretchInX","StretchInY","StretchOutX","StretchOutY","FadeIn","FadeInRight","FadeInLeft","FadeInUp","FadeInDown","FadeOut","FadeOutRight","FadeOutLeft","FadeOutUp","FadeOutDown","SlideInRight","SlideInLeft","SlideOutRight","SlideOutLeft","SlideInUp","SlideInDown","SlideOutUp","SlideOutDown","ZoomIn","ZoomInRotate","ZoomInLeft","ZoomInRight","ZoomInUp","ZoomInDown","ZoomInEasyUp","ZoomInEasyDown","ZoomOut","ZoomOutRotate","ZoomOutLeft","ZoomOutRight","ZoomOutUp","ZoomOutDown","ZoomOutEasyUp","ZoomOutEasyDown","BounceIn","BounceInDown","BounceInUp","BounceInLeft","BounceInRight","BounceOut","BounceOutDown","BounceOutUp","BounceOutLeft","BounceOutRight","LightSpeedInRight","LightSpeedInLeft","LightSpeedOutRight","LightSpeedOutLeft","PinwheelIn","PinwheelOut","RotateInDownLeft","RotateInDownRight","RotateInUpLeft","RotateInUpRight","RotateOutDownLeft","RotateOutDownRight","RotateOutUpLeft","RotateOutUpRight","RollInLeft","RollInRight","RollOutLeft","RollOutRight","Layout","LinearTransition","FadingTransition","SequencedTransition","JumpingTransition","CurvedTransition","EntryExitTransition","combineTransition","SharedTransition","SharedTransitionType","getRelativeCoords","isSharedValue","SensorType","IOSReferenceFrame","InterfaceOrientation","KeyboardState","ReduceMotion","getUseOfValueInStyleWarning","withReanimatedTimer","advanceAnimationByTime","advanceAnimationByFrame","setUpTests","getAnimatedStyle","startMapper","stopMapper"],"sources":["index.ts"],"sourcesContent":["import './publicGlobals';\n\nexport type { WorkletRuntime } from './core';\nexport {\n runOnJS,\n runOnUI,\n createWorkletRuntime,\n makeMutable,\n makeShareableCloneRecursive,\n isReanimated3,\n isConfigured,\n enableLayoutAnimations,\n getViewProp,\n} from './core';\nexport type {\n GestureHandlers,\n AnimatedRef,\n ScrollHandler,\n ScrollHandlers,\n DerivedValue,\n FrameCallback,\n} from './hook';\nexport {\n useAnimatedProps,\n useEvent,\n useHandler,\n useWorkletCallback,\n useSharedValue,\n useReducedMotion,\n useAnimatedStyle,\n useAnimatedGestureHandler,\n useAnimatedReaction,\n useAnimatedRef,\n useAnimatedScrollHandler,\n useDerivedValue,\n useAnimatedSensor,\n useFrameCallback,\n useAnimatedKeyboard,\n useScrollViewOffset,\n} from './hook';\nexport type {\n DelayAnimation,\n RepeatAnimation,\n SequenceAnimation,\n StyleLayoutAnimation,\n WithTimingConfig,\n TimingAnimation,\n WithSpringConfig,\n SpringAnimation,\n WithDecayConfig,\n DecayAnimation,\n} from './animation';\nexport {\n cancelAnimation,\n defineAnimation,\n withTiming,\n withSpring,\n withDecay,\n withDelay,\n withRepeat,\n withSequence,\n} from './animation';\nexport type {\n Extrapolation,\n ExtrapolationConfig,\n ExtrapolationType,\n} from './interpolation';\nexport { interpolate, clamp } from './interpolation';\nexport type {\n InterpolationOptions,\n ColorSpace,\n InterpolateConfig,\n InterpolateRGB,\n InterpolateHSV,\n} from './interpolateColor';\nexport {\n Extrapolate,\n interpolateColor,\n useInterpolateConfig,\n} from './interpolateColor';\nexport type {\n EasingFunction,\n EasingFn,\n EasingFunctionFactory,\n EasingFactoryFn,\n} from './Easing';\nexport { Easing } from './Easing';\nexport {\n measure,\n dispatchCommand,\n scrollTo,\n setGestureState,\n} from './NativeMethods';\nexport { setNativeProps } from './SetNativeProps';\nexport type { ParsedColorArray } from './Colors';\nexport { isColor, processColor, convertToRGBA } from './Colors';\nexport { createAnimatedPropAdapter } from './PropAdapters';\nexport type {\n LayoutAnimation,\n EntryAnimationsValues,\n ExitAnimationsValues,\n EntryExitAnimationFunction,\n LayoutAnimationsValues,\n LayoutAnimationFunction,\n ILayoutAnimationBuilder,\n IEntryExitAnimationBuilder,\n} from './layoutReanimation';\nexport {\n BaseAnimationBuilder,\n ComplexAnimationBuilder,\n Keyframe,\n // Flip\n FlipInXUp,\n FlipInYLeft,\n FlipInXDown,\n FlipInYRight,\n FlipInEasyX,\n FlipInEasyY,\n FlipOutXUp,\n FlipOutYLeft,\n FlipOutXDown,\n FlipOutYRight,\n FlipOutEasyX,\n FlipOutEasyY,\n // Stretch\n StretchInX,\n StretchInY,\n StretchOutX,\n StretchOutY,\n // Fade\n FadeIn,\n FadeInRight,\n FadeInLeft,\n FadeInUp,\n FadeInDown,\n FadeOut,\n FadeOutRight,\n FadeOutLeft,\n FadeOutUp,\n FadeOutDown,\n // Slide\n SlideInRight,\n SlideInLeft,\n SlideOutRight,\n SlideOutLeft,\n SlideInUp,\n SlideInDown,\n SlideOutUp,\n SlideOutDown,\n // Zoom\n ZoomIn,\n ZoomInRotate,\n ZoomInLeft,\n ZoomInRight,\n ZoomInUp,\n ZoomInDown,\n ZoomInEasyUp,\n ZoomInEasyDown,\n ZoomOut,\n ZoomOutRotate,\n ZoomOutLeft,\n ZoomOutRight,\n ZoomOutUp,\n ZoomOutDown,\n ZoomOutEasyUp,\n ZoomOutEasyDown,\n // Bounce\n BounceIn,\n BounceInDown,\n BounceInUp,\n BounceInLeft,\n BounceInRight,\n BounceOut,\n BounceOutDown,\n BounceOutUp,\n BounceOutLeft,\n BounceOutRight,\n // Lightspeed\n LightSpeedInRight,\n LightSpeedInLeft,\n LightSpeedOutRight,\n LightSpeedOutLeft,\n // Pinwheel\n PinwheelIn,\n PinwheelOut,\n // Rotate\n RotateInDownLeft,\n RotateInDownRight,\n RotateInUpLeft,\n RotateInUpRight,\n RotateOutDownLeft,\n RotateOutDownRight,\n RotateOutUpLeft,\n RotateOutUpRight,\n // Roll\n RollInLeft,\n RollInRight,\n RollOutLeft,\n RollOutRight,\n // Transitions\n Layout,\n LinearTransition,\n FadingTransition,\n SequencedTransition,\n JumpingTransition,\n CurvedTransition,\n EntryExitTransition,\n combineTransition,\n // SET\n SharedTransition,\n SharedTransitionType,\n} from './layoutReanimation';\nexport type { ComponentCoords } from './utils';\nexport { getRelativeCoords, isSharedValue } from './utils';\nexport type {\n StyleProps,\n SharedValue,\n AnimatableValueObject,\n AnimatableValue,\n AnimationObject,\n SensorConfig,\n Animation,\n AnimatedSensor,\n AnimationCallback,\n Value3D,\n ValueRotation,\n AnimatedKeyboardInfo,\n AnimatedKeyboardOptions,\n MeasuredDimensions,\n} from './commonTypes';\nexport {\n SensorType,\n IOSReferenceFrame,\n InterfaceOrientation,\n KeyboardState,\n ReduceMotion,\n} from './commonTypes';\nexport type { FrameInfo } from './frameCallback';\nexport { getUseOfValueInStyleWarning } from './pluginUtils';\nexport {\n withReanimatedTimer,\n advanceAnimationByTime,\n advanceAnimationByFrame,\n setUpTests,\n getAnimatedStyle,\n} from './jestUtils';\nexport type {\n Adaptable,\n AdaptTransforms,\n AnimateProps,\n AnimatedProps,\n AnimatedTransform,\n TransformStyleTypes,\n TransformArrayItem,\n AnimateStyle,\n AnimatedStyle,\n AnimatedStyleProp,\n StylesOrDefault,\n} from './helperTypes';\nexport type { AnimatedScrollViewProps } from './component/ScrollView';\nexport type { FlatListPropsWithLayout } from './component/FlatList';\nexport { startMapper, stopMapper } from './mappers';\n"],"mappings":"AAAA,OAAO,iB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ACX;AACAC,YAAY,EACZC,WAAW,EACXC,aAAa,EACbC,YAAY,EACZC,SAAS,EACTC,WAAW,EACXC,UAAU,EACVC,YAAY;AACZ;AACAC,MAAM,EACNC,YAAY,EACZC,UAAU,EACVC,WAAW,EACXC,QAAQ,EACRC,UAAU,EACVC,YAAY,EACZC,cAAc,EACdC,OAAO,EACPC,aAAa,EACbC,WAAW,EACXC,YAAY,EACZC,SAAS,EACTC,WAAW,EACXC,aAAa,EACbC,eAAe;AACf;AACAC,QAAQ,EACRC,YAAY,EACZC,UAAU,EACVC,YAAY,EACZC,aAAa,EACbC,SAAS,EACTC,aAAa,EACbC,WAAW,EACXC,aAAa,EACbC,cAAc;AACd;AACAC,iBAAiB,EACjBC,gBAAgB,EAChBC,kBAAkB,EAClBC,iBAAiB;AACjB;AACAC,UAAU,EACVC,WAAW;AACX;AACAC,gBAAgB,EAChBC,iBAAiB,EACjBC,cAAc,EACdC,eAAe,EACfC,iBAAiB,EACjBC,kBAAkB,EAClBC,eAAe,EACfC,gBAAgB;AAChB;AACAC,UAAU,EACVC,WAAW,EACXC,WAAW,EACXC,YAAY;AACZ;AACAC,MAAM,EACNC,gBAAgB,EAChBC,gBAAgB,EAChBC,mBAAmB,EACnBC,iBAAiB,EACjBC,gBAAgB,EAChBC,mBAAmB,EACnBC,iBAAiB;AACjB;AACAC,gBAAgB,EAChBC,oBAAoB,QACf,qBAAqB;AAE5B,SAASC,iBAAiB,EAAEC,aAAa,QAAQ,SAAS;AAiB1D,SACEC,UAAU,EACVC,iBAAiB,EACjBC,oBAAoB,EACpBC,aAAa,EACbC,YAAY,QACP,eAAe;AAEtB,SAASC,2BAA2B,QAAQ,eAAe;AAC3D,SACEC,mBAAmB,EACnBC,sBAAsB,EACtBC,uBAAuB,EACvBC,UAAU,EACVC,gBAAgB,QACX,aAAa;AAgBpB,SAASC,WAAW,EAAEC,UAAU,QAAQ,WAAW"}
@@ -1,5 +1,20 @@
1
1
  /*
2
2
  * Stubbed for web, where we don't use this file;
3
3
  */
4
- export default {};
4
+
5
+ export function withReanimatedTimer() {
6
+ // NOOP
7
+ }
8
+ export function advanceAnimationByTime() {
9
+ // NOOP
10
+ }
11
+ export function advanceAnimationByFrame() {
12
+ // NOOP
13
+ }
14
+ export function setUpTests() {
15
+ // NOOP
16
+ }
17
+ export function getAnimatedStyle() {
18
+ // NOOP
19
+ }
5
20
  //# sourceMappingURL=jestUtils.web.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["jestUtils.web.ts"],"sourcesContent":["/*\n * Stubbed for web, where we don't use this file;\n */\nexport default {};\n"],"mappings":"AAAA;AACA;AACA;AACA,eAAe,CAAC,CAAC"}
1
+ {"version":3,"names":["withReanimatedTimer","advanceAnimationByTime","advanceAnimationByFrame","setUpTests","getAnimatedStyle"],"sources":["jestUtils.web.ts"],"sourcesContent":["/*\n * Stubbed for web, where we don't use this file;\n */\n\nexport function withReanimatedTimer() {\n // NOOP\n}\n\nexport function advanceAnimationByTime() {\n // NOOP\n}\n\nexport function advanceAnimationByFrame() {\n // NOOP\n}\n\nexport function setUpTests() {\n // NOOP\n}\n\nexport function getAnimatedStyle() {\n // NOOP\n}\n"],"mappings":"AAAA;AACA;AACA;;AAEA,OAAO,SAASA,mBAAmBA,CAAA,EAAG;EACpC;AAAA;AAGF,OAAO,SAASC,sBAAsBA,CAAA,EAAG;EACvC;AAAA;AAGF,OAAO,SAASC,uBAAuBA,CAAA,EAAG;EACxC;AAAA;AAGF,OAAO,SAASC,UAAUA,CAAA,EAAG;EAC3B;AAAA;AAGF,OAAO,SAASC,gBAAgBA,CAAA,EAAG;EACjC;AAAA"}
@@ -3,5 +3,5 @@
3
3
  * with the version used to build the native part of the library in runtime.
4
4
  * Remember to keep this in sync with the version declared in `package.json`
5
5
  */
6
- export const jsVersion = '3.5.2';
6
+ export const jsVersion = '3.5.3';
7
7
  //# sourceMappingURL=jsVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["jsVersion"],"sources":["jsVersion.ts"],"sourcesContent":["/**\n * We hardcode the version of Reanimated here in order to compare it\n * with the version used to build the native part of the library in runtime.\n * Remember to keep this in sync with the version declared in `package.json`\n */\nexport const jsVersion = '3.5.2';\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,SAAS,GAAG,OAAO"}
1
+ {"version":3,"names":["jsVersion"],"sources":["jsVersion.ts"],"sourcesContent":["/**\n * We hardcode the version of Reanimated here in order to compare it\n * with the version used to build the native part of the library in runtime.\n * Remember to keep this in sync with the version declared in `package.json`\n */\nexport const jsVersion = '3.5.3';\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,SAAS,GAAG,OAAO"}
@@ -1,20 +1,31 @@
1
1
  import './publicGlobals';
2
- export { runOnJS, runOnUI, createWorkletRuntime, WorkletRuntime, makeMutable, makeShareableCloneRecursive, isReanimated3, isConfigured, enableLayoutAnimations, getViewProp, } from './core';
3
- export { useAnimatedProps, useEvent, useHandler, useWorkletCallback, useSharedValue, useReducedMotion, useAnimatedStyle, useAnimatedGestureHandler, GestureHandlers, useAnimatedReaction, AnimatedRef, useAnimatedRef, useAnimatedScrollHandler, ScrollHandler, ScrollHandlers, useDerivedValue, DerivedValue, useAnimatedSensor, useFrameCallback, FrameCallback, useAnimatedKeyboard, useScrollViewOffset, } from './hook';
4
- export { DelayAnimation, RepeatAnimation, SequenceAnimation, StyleLayoutAnimation, cancelAnimation, defineAnimation, withTiming, WithTimingConfig, TimingAnimation, withSpring, WithSpringConfig, SpringAnimation, withDecay, WithDecayConfig, DecayAnimation, withDelay, withRepeat, withSequence, } from './animation';
5
- export { Extrapolation, ExtrapolationConfig, ExtrapolationType, interpolate, clamp, } from './interpolation';
6
- export { Extrapolate, InterpolationOptions, interpolateColor, ColorSpace, InterpolateConfig, useInterpolateConfig, InterpolateRGB, InterpolateHSV, } from './interpolateColor';
7
- export { EasingFunction, EasingFn, EasingFunctionFactory, EasingFactoryFn, Easing, } from './Easing';
2
+ export type { WorkletRuntime } from './core';
3
+ export { runOnJS, runOnUI, createWorkletRuntime, makeMutable, makeShareableCloneRecursive, isReanimated3, isConfigured, enableLayoutAnimations, getViewProp, } from './core';
4
+ export type { GestureHandlers, AnimatedRef, ScrollHandler, ScrollHandlers, DerivedValue, FrameCallback, } from './hook';
5
+ export { useAnimatedProps, useEvent, useHandler, useWorkletCallback, useSharedValue, useReducedMotion, useAnimatedStyle, useAnimatedGestureHandler, useAnimatedReaction, useAnimatedRef, useAnimatedScrollHandler, useDerivedValue, useAnimatedSensor, useFrameCallback, useAnimatedKeyboard, useScrollViewOffset, } from './hook';
6
+ export type { DelayAnimation, RepeatAnimation, SequenceAnimation, StyleLayoutAnimation, WithTimingConfig, TimingAnimation, WithSpringConfig, SpringAnimation, WithDecayConfig, DecayAnimation, } from './animation';
7
+ export { cancelAnimation, defineAnimation, withTiming, withSpring, withDecay, withDelay, withRepeat, withSequence, } from './animation';
8
+ export type { Extrapolation, ExtrapolationConfig, ExtrapolationType, } from './interpolation';
9
+ export { interpolate, clamp } from './interpolation';
10
+ export type { InterpolationOptions, ColorSpace, InterpolateConfig, InterpolateRGB, InterpolateHSV, } from './interpolateColor';
11
+ export { Extrapolate, interpolateColor, useInterpolateConfig, } from './interpolateColor';
12
+ export type { EasingFunction, EasingFn, EasingFunctionFactory, EasingFactoryFn, } from './Easing';
13
+ export { Easing } from './Easing';
8
14
  export { measure, dispatchCommand, scrollTo, setGestureState, } from './NativeMethods';
9
15
  export { setNativeProps } from './SetNativeProps';
10
- export { isColor, processColor, ParsedColorArray, convertToRGBA, } from './Colors';
16
+ export type { ParsedColorArray } from './Colors';
17
+ export { isColor, processColor, convertToRGBA } from './Colors';
11
18
  export { createAnimatedPropAdapter } from './PropAdapters';
12
- export { BaseAnimationBuilder, ComplexAnimationBuilder, Keyframe, LayoutAnimation, EntryAnimationsValues, ExitAnimationsValues, EntryExitAnimationFunction, LayoutAnimationsValues, LayoutAnimationFunction, ILayoutAnimationBuilder, IEntryExitAnimationBuilder, FlipInXUp, FlipInYLeft, FlipInXDown, FlipInYRight, FlipInEasyX, FlipInEasyY, FlipOutXUp, FlipOutYLeft, FlipOutXDown, FlipOutYRight, FlipOutEasyX, FlipOutEasyY, StretchInX, StretchInY, StretchOutX, StretchOutY, FadeIn, FadeInRight, FadeInLeft, FadeInUp, FadeInDown, FadeOut, FadeOutRight, FadeOutLeft, FadeOutUp, FadeOutDown, SlideInRight, SlideInLeft, SlideOutRight, SlideOutLeft, SlideInUp, SlideInDown, SlideOutUp, SlideOutDown, ZoomIn, ZoomInRotate, ZoomInLeft, ZoomInRight, ZoomInUp, ZoomInDown, ZoomInEasyUp, ZoomInEasyDown, ZoomOut, ZoomOutRotate, ZoomOutLeft, ZoomOutRight, ZoomOutUp, ZoomOutDown, ZoomOutEasyUp, ZoomOutEasyDown, BounceIn, BounceInDown, BounceInUp, BounceInLeft, BounceInRight, BounceOut, BounceOutDown, BounceOutUp, BounceOutLeft, BounceOutRight, LightSpeedInRight, LightSpeedInLeft, LightSpeedOutRight, LightSpeedOutLeft, PinwheelIn, PinwheelOut, RotateInDownLeft, RotateInDownRight, RotateInUpLeft, RotateInUpRight, RotateOutDownLeft, RotateOutDownRight, RotateOutUpLeft, RotateOutUpRight, RollInLeft, RollInRight, RollOutLeft, RollOutRight, Layout, LinearTransition, FadingTransition, SequencedTransition, JumpingTransition, CurvedTransition, EntryExitTransition, combineTransition, SharedTransition, SharedTransitionType, } from './layoutReanimation';
13
- export { getRelativeCoords, ComponentCoords, isSharedValue } from './utils';
14
- export { StyleProps, SharedValue, AnimatableValueObject, AnimatableValue, AnimationObject, Animation, SensorType, IOSReferenceFrame, SensorConfig, AnimatedSensor, AnimationCallback, Value3D, ValueRotation, InterfaceOrientation, KeyboardState, AnimatedKeyboardInfo, MeasuredDimensions, AnimatedKeyboardOptions, ReduceMotion, } from './commonTypes';
15
- export { FrameInfo } from './frameCallback';
19
+ export type { LayoutAnimation, EntryAnimationsValues, ExitAnimationsValues, EntryExitAnimationFunction, LayoutAnimationsValues, LayoutAnimationFunction, ILayoutAnimationBuilder, IEntryExitAnimationBuilder, } from './layoutReanimation';
20
+ export { BaseAnimationBuilder, ComplexAnimationBuilder, Keyframe, FlipInXUp, FlipInYLeft, FlipInXDown, FlipInYRight, FlipInEasyX, FlipInEasyY, FlipOutXUp, FlipOutYLeft, FlipOutXDown, FlipOutYRight, FlipOutEasyX, FlipOutEasyY, StretchInX, StretchInY, StretchOutX, StretchOutY, FadeIn, FadeInRight, FadeInLeft, FadeInUp, FadeInDown, FadeOut, FadeOutRight, FadeOutLeft, FadeOutUp, FadeOutDown, SlideInRight, SlideInLeft, SlideOutRight, SlideOutLeft, SlideInUp, SlideInDown, SlideOutUp, SlideOutDown, ZoomIn, ZoomInRotate, ZoomInLeft, ZoomInRight, ZoomInUp, ZoomInDown, ZoomInEasyUp, ZoomInEasyDown, ZoomOut, ZoomOutRotate, ZoomOutLeft, ZoomOutRight, ZoomOutUp, ZoomOutDown, ZoomOutEasyUp, ZoomOutEasyDown, BounceIn, BounceInDown, BounceInUp, BounceInLeft, BounceInRight, BounceOut, BounceOutDown, BounceOutUp, BounceOutLeft, BounceOutRight, LightSpeedInRight, LightSpeedInLeft, LightSpeedOutRight, LightSpeedOutLeft, PinwheelIn, PinwheelOut, RotateInDownLeft, RotateInDownRight, RotateInUpLeft, RotateInUpRight, RotateOutDownLeft, RotateOutDownRight, RotateOutUpLeft, RotateOutUpRight, RollInLeft, RollInRight, RollOutLeft, RollOutRight, Layout, LinearTransition, FadingTransition, SequencedTransition, JumpingTransition, CurvedTransition, EntryExitTransition, combineTransition, SharedTransition, SharedTransitionType, } from './layoutReanimation';
21
+ export type { ComponentCoords } from './utils';
22
+ export { getRelativeCoords, isSharedValue } from './utils';
23
+ export type { StyleProps, SharedValue, AnimatableValueObject, AnimatableValue, AnimationObject, SensorConfig, Animation, AnimatedSensor, AnimationCallback, Value3D, ValueRotation, AnimatedKeyboardInfo, AnimatedKeyboardOptions, MeasuredDimensions, } from './commonTypes';
24
+ export { SensorType, IOSReferenceFrame, InterfaceOrientation, KeyboardState, ReduceMotion, } from './commonTypes';
25
+ export type { FrameInfo } from './frameCallback';
16
26
  export { getUseOfValueInStyleWarning } from './pluginUtils';
17
27
  export { withReanimatedTimer, advanceAnimationByTime, advanceAnimationByFrame, setUpTests, getAnimatedStyle, } from './jestUtils';
18
28
  export type { Adaptable, AdaptTransforms, AnimateProps, AnimatedProps, AnimatedTransform, TransformStyleTypes, TransformArrayItem, AnimateStyle, AnimatedStyle, AnimatedStyleProp, StylesOrDefault, } from './helperTypes';
19
29
  export type { AnimatedScrollViewProps } from './component/ScrollView';
20
30
  export type { FlatListPropsWithLayout } from './component/FlatList';
31
+ export { startMapper, stopMapper } from './mappers';
@@ -1,2 +1,5 @@
1
- declare const _default: {};
2
- export default _default;
1
+ export declare function withReanimatedTimer(): void;
2
+ export declare function advanceAnimationByTime(): void;
3
+ export declare function advanceAnimationByFrame(): void;
4
+ export declare function setUpTests(): void;
5
+ export declare function getAnimatedStyle(): void;
@@ -3,4 +3,4 @@
3
3
  * with the version used to build the native part of the library in runtime.
4
4
  * Remember to keep this in sync with the version declared in `package.json`
5
5
  */
6
- export declare const jsVersion = "3.5.2";
6
+ export declare const jsVersion = "3.5.3";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-reanimated",
3
- "version": "3.5.2",
3
+ "version": "3.5.3",
4
4
  "description": "More powerful alternative to Animated library for React Native.",
5
5
  "scripts": {
6
6
  "test": "yarn run format:js && yarn run lint:js && yarn run test:unit",
@@ -1,10 +1,10 @@
1
1
  import './publicGlobals';
2
2
 
3
+ export type { WorkletRuntime } from './core';
3
4
  export {
4
5
  runOnJS,
5
6
  runOnUI,
6
7
  createWorkletRuntime,
7
- WorkletRuntime,
8
8
  makeMutable,
9
9
  makeShareableCloneRecursive,
10
10
  isReanimated3,
@@ -12,6 +12,14 @@ export {
12
12
  enableLayoutAnimations,
13
13
  getViewProp,
14
14
  } from './core';
15
+ export type {
16
+ GestureHandlers,
17
+ AnimatedRef,
18
+ ScrollHandler,
19
+ ScrollHandlers,
20
+ DerivedValue,
21
+ FrameCallback,
22
+ } from './hook';
15
23
  export {
16
24
  useAnimatedProps,
17
25
  useEvent,
@@ -21,65 +29,62 @@ export {
21
29
  useReducedMotion,
22
30
  useAnimatedStyle,
23
31
  useAnimatedGestureHandler,
24
- GestureHandlers,
25
32
  useAnimatedReaction,
26
- AnimatedRef,
27
33
  useAnimatedRef,
28
34
  useAnimatedScrollHandler,
29
- ScrollHandler,
30
- ScrollHandlers,
31
35
  useDerivedValue,
32
- DerivedValue,
33
36
  useAnimatedSensor,
34
37
  useFrameCallback,
35
- FrameCallback,
36
38
  useAnimatedKeyboard,
37
39
  useScrollViewOffset,
38
40
  } from './hook';
39
- export {
41
+ export type {
40
42
  DelayAnimation,
41
43
  RepeatAnimation,
42
44
  SequenceAnimation,
43
45
  StyleLayoutAnimation,
44
- cancelAnimation,
45
- defineAnimation,
46
- withTiming,
47
46
  WithTimingConfig,
48
47
  TimingAnimation,
49
- withSpring,
50
48
  WithSpringConfig,
51
49
  SpringAnimation,
52
- withDecay,
53
50
  WithDecayConfig,
54
51
  DecayAnimation,
52
+ } from './animation';
53
+ export {
54
+ cancelAnimation,
55
+ defineAnimation,
56
+ withTiming,
57
+ withSpring,
58
+ withDecay,
55
59
  withDelay,
56
60
  withRepeat,
57
61
  withSequence,
58
62
  } from './animation';
59
- export {
63
+ export type {
60
64
  Extrapolation,
61
65
  ExtrapolationConfig,
62
66
  ExtrapolationType,
63
- interpolate,
64
- clamp,
65
67
  } from './interpolation';
66
- export {
67
- Extrapolate,
68
+ export { interpolate, clamp } from './interpolation';
69
+ export type {
68
70
  InterpolationOptions,
69
- interpolateColor,
70
71
  ColorSpace,
71
72
  InterpolateConfig,
72
- useInterpolateConfig,
73
73
  InterpolateRGB,
74
74
  InterpolateHSV,
75
75
  } from './interpolateColor';
76
76
  export {
77
+ Extrapolate,
78
+ interpolateColor,
79
+ useInterpolateConfig,
80
+ } from './interpolateColor';
81
+ export type {
77
82
  EasingFunction,
78
83
  EasingFn,
79
84
  EasingFunctionFactory,
80
85
  EasingFactoryFn,
81
- Easing,
82
86
  } from './Easing';
87
+ export { Easing } from './Easing';
83
88
  export {
84
89
  measure,
85
90
  dispatchCommand,
@@ -87,17 +92,10 @@ export {
87
92
  setGestureState,
88
93
  } from './NativeMethods';
89
94
  export { setNativeProps } from './SetNativeProps';
90
- export {
91
- isColor,
92
- processColor,
93
- ParsedColorArray,
94
- convertToRGBA,
95
- } from './Colors';
95
+ export type { ParsedColorArray } from './Colors';
96
+ export { isColor, processColor, convertToRGBA } from './Colors';
96
97
  export { createAnimatedPropAdapter } from './PropAdapters';
97
- export {
98
- BaseAnimationBuilder,
99
- ComplexAnimationBuilder,
100
- Keyframe,
98
+ export type {
101
99
  LayoutAnimation,
102
100
  EntryAnimationsValues,
103
101
  ExitAnimationsValues,
@@ -106,6 +104,11 @@ export {
106
104
  LayoutAnimationFunction,
107
105
  ILayoutAnimationBuilder,
108
106
  IEntryExitAnimationBuilder,
107
+ } from './layoutReanimation';
108
+ export {
109
+ BaseAnimationBuilder,
110
+ ComplexAnimationBuilder,
111
+ Keyframe,
109
112
  // Flip
110
113
  FlipInXUp,
111
114
  FlipInYLeft,
@@ -207,29 +210,32 @@ export {
207
210
  SharedTransition,
208
211
  SharedTransitionType,
209
212
  } from './layoutReanimation';
210
- export { getRelativeCoords, ComponentCoords, isSharedValue } from './utils';
211
- export {
213
+ export type { ComponentCoords } from './utils';
214
+ export { getRelativeCoords, isSharedValue } from './utils';
215
+ export type {
212
216
  StyleProps,
213
217
  SharedValue,
214
218
  AnimatableValueObject,
215
219
  AnimatableValue,
216
220
  AnimationObject,
217
- Animation,
218
- SensorType,
219
- IOSReferenceFrame,
220
221
  SensorConfig,
222
+ Animation,
221
223
  AnimatedSensor,
222
224
  AnimationCallback,
223
225
  Value3D,
224
226
  ValueRotation,
225
- InterfaceOrientation,
226
- KeyboardState,
227
227
  AnimatedKeyboardInfo,
228
- MeasuredDimensions,
229
228
  AnimatedKeyboardOptions,
229
+ MeasuredDimensions,
230
+ } from './commonTypes';
231
+ export {
232
+ SensorType,
233
+ IOSReferenceFrame,
234
+ InterfaceOrientation,
235
+ KeyboardState,
230
236
  ReduceMotion,
231
237
  } from './commonTypes';
232
- export { FrameInfo } from './frameCallback';
238
+ export type { FrameInfo } from './frameCallback';
233
239
  export { getUseOfValueInStyleWarning } from './pluginUtils';
234
240
  export {
235
241
  withReanimatedTimer,
@@ -253,3 +259,4 @@ export type {
253
259
  } from './helperTypes';
254
260
  export type { AnimatedScrollViewProps } from './component/ScrollView';
255
261
  export type { FlatListPropsWithLayout } from './component/FlatList';
262
+ export { startMapper, stopMapper } from './mappers';
@@ -1,4 +1,23 @@
1
1
  /*
2
2
  * Stubbed for web, where we don't use this file;
3
3
  */
4
- export default {};
4
+
5
+ export function withReanimatedTimer() {
6
+ // NOOP
7
+ }
8
+
9
+ export function advanceAnimationByTime() {
10
+ // NOOP
11
+ }
12
+
13
+ export function advanceAnimationByFrame() {
14
+ // NOOP
15
+ }
16
+
17
+ export function setUpTests() {
18
+ // NOOP
19
+ }
20
+
21
+ export function getAnimatedStyle() {
22
+ // NOOP
23
+ }
@@ -3,4 +3,4 @@
3
3
  * with the version used to build the native part of the library in runtime.
4
4
  * Remember to keep this in sync with the version declared in `package.json`
5
5
  */
6
- export const jsVersion = '3.5.2';
6
+ export const jsVersion = '3.5.3';