react-native-reanimated 3.6.2 → 3.6.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.
Files changed (51) hide show
  1. package/lib/module/createAnimatedComponent/commonTypes.js.map +1 -1
  2. package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Bounce.js +10 -0
  3. package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Bounce.js.map +1 -1
  4. package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Fade.js +10 -0
  5. package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Fade.js.map +1 -1
  6. package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Flip.js +12 -0
  7. package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Flip.js.map +1 -1
  8. package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Lightspeed.js +4 -0
  9. package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Lightspeed.js.map +1 -1
  10. package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Pinwheel.js +2 -0
  11. package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Pinwheel.js.map +1 -1
  12. package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Roll.js +4 -0
  13. package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Roll.js.map +1 -1
  14. package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Rotate.js +8 -0
  15. package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Rotate.js.map +1 -1
  16. package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Slide.js +8 -0
  17. package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Slide.js.map +1 -1
  18. package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Stretch.js +4 -0
  19. package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Stretch.js.map +1 -1
  20. package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Zoom.js +16 -0
  21. package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Zoom.js.map +1 -1
  22. package/lib/module/reanimated2/layoutReanimation/web/animationsManager.js +1 -1
  23. package/lib/module/reanimated2/layoutReanimation/web/animationsManager.js.map +1 -1
  24. package/lib/module/reanimated2/platform-specific/jsVersion.js +1 -1
  25. package/lib/module/reanimated2/platform-specific/jsVersion.js.map +1 -1
  26. package/lib/typescript/createAnimatedComponent/commonTypes.d.ts +6 -3
  27. package/lib/typescript/reanimated2/layoutReanimation/defaultAnimations/Bounce.d.ts +10 -0
  28. package/lib/typescript/reanimated2/layoutReanimation/defaultAnimations/Fade.d.ts +10 -0
  29. package/lib/typescript/reanimated2/layoutReanimation/defaultAnimations/Flip.d.ts +12 -0
  30. package/lib/typescript/reanimated2/layoutReanimation/defaultAnimations/Lightspeed.d.ts +4 -0
  31. package/lib/typescript/reanimated2/layoutReanimation/defaultAnimations/Pinwheel.d.ts +2 -0
  32. package/lib/typescript/reanimated2/layoutReanimation/defaultAnimations/Roll.d.ts +4 -0
  33. package/lib/typescript/reanimated2/layoutReanimation/defaultAnimations/Rotate.d.ts +8 -0
  34. package/lib/typescript/reanimated2/layoutReanimation/defaultAnimations/Slide.d.ts +8 -0
  35. package/lib/typescript/reanimated2/layoutReanimation/defaultAnimations/Stretch.d.ts +4 -0
  36. package/lib/typescript/reanimated2/layoutReanimation/defaultAnimations/Zoom.d.ts +16 -0
  37. package/lib/typescript/reanimated2/platform-specific/jsVersion.d.ts +1 -1
  38. package/package.json +1 -1
  39. package/src/createAnimatedComponent/commonTypes.ts +16 -6
  40. package/src/reanimated2/layoutReanimation/defaultAnimations/Bounce.ts +20 -0
  41. package/src/reanimated2/layoutReanimation/defaultAnimations/Fade.ts +19 -0
  42. package/src/reanimated2/layoutReanimation/defaultAnimations/Flip.ts +24 -0
  43. package/src/reanimated2/layoutReanimation/defaultAnimations/Lightspeed.ts +8 -0
  44. package/src/reanimated2/layoutReanimation/defaultAnimations/Pinwheel.ts +4 -0
  45. package/src/reanimated2/layoutReanimation/defaultAnimations/Roll.ts +8 -0
  46. package/src/reanimated2/layoutReanimation/defaultAnimations/Rotate.ts +16 -0
  47. package/src/reanimated2/layoutReanimation/defaultAnimations/Slide.ts +16 -0
  48. package/src/reanimated2/layoutReanimation/defaultAnimations/Stretch.ts +8 -0
  49. package/src/reanimated2/layoutReanimation/defaultAnimations/Zoom.ts +32 -0
  50. package/src/reanimated2/layoutReanimation/web/animationsManager.ts +10 -2
  51. package/src/reanimated2/platform-specific/jsVersion.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"names":["_defineProperty","obj","key","value","_toPropertyKey","Object","defineProperty","enumerable","configurable","writable","arg","_toPrimitive","String","input","hint","prim","Symbol","toPrimitive","undefined","res","call","TypeError","Number","ComplexAnimationBuilder","ZoomIn","constructor","arguments","delayFunction","getDelayFunction","animation","config","getAnimationAndConfig","delay","getDelay","callback","callbackV","initialValues","animations","transform","scale","createInstance","ZoomInRotate","rotate","rotateV","ZoomInLeft","values","translateX","windowWidth","ZoomInRight","ZoomInUp","translateY","windowHeight","ZoomInDown","ZoomInEasyUp","targetHeight","ZoomInEasyDown","ZoomOut","ZoomOutRotate","ZoomOutLeft","ZoomOutRight","ZoomOutUp","ZoomOutDown","ZoomOutEasyUp","currentHeight","ZoomOutEasyDown"],"sources":["Zoom.ts"],"sourcesContent":["'use strict';\nimport type {\n IEntryExitAnimationBuilder,\n EntryExitAnimationFunction,\n EntryAnimationsValues,\n ExitAnimationsValues,\n EntryExitAnimationsValues,\n AnimationConfigFunction,\n IEntryAnimationBuilder,\n IExitAnimationBuilder,\n} from '../animationBuilder/commonTypes';\nimport type { BaseAnimationBuilder } from '../animationBuilder';\nimport { ComplexAnimationBuilder } from '../animationBuilder';\n\n/**\n * Scale from center animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `entering` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomIn\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomIn() as InstanceType<T>;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [{ scale: delayFunction(delay, animation(1, config)) }],\n },\n initialValues: {\n transform: [{ scale: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\n/**\n * Scale from center with rotation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `entering` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomInRotate\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomInRotate() as InstanceType<T>;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const rotate = this.rotateV ? this.rotateV : '0.3';\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n { scale: delayFunction(delay, animation(1, config)) },\n { rotate: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n transform: [{ scale: 0 }, { rotate: rotate }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\n/**\n * Scale from left animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `entering` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomInLeft\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomInLeft() as InstanceType<T>;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values: EntryExitAnimationsValues) => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateX: delayFunction(delay, animation(0, config)) },\n { scale: delayFunction(delay, animation(1, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateX: -values.windowWidth }, { scale: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\n/**\n * Scale from right animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `entering` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomInRight\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomInRight() as InstanceType<T>;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values: EntryExitAnimationsValues) => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateX: delayFunction(delay, animation(0, config)) },\n { scale: delayFunction(delay, animation(1, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateX: values.windowWidth }, { scale: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\n/**\n * Scale from top animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `entering` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomInUp\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomInUp() as InstanceType<T>;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values: EntryExitAnimationsValues) => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateY: delayFunction(delay, animation(0, config)) },\n { scale: delayFunction(delay, animation(1, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: -values.windowHeight }, { scale: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\n/**\n * Scale from bottom animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `entering` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomInDown\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomInDown() as InstanceType<T>;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values: EntryExitAnimationsValues) => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateY: delayFunction(delay, animation(0, config)) },\n { scale: delayFunction(delay, animation(1, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: values.windowHeight }, { scale: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\n/**\n * Eased scale from top animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `entering` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomInEasyUp\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder\n{\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomInEasyUp() as InstanceType<T>;\n }\n\n build = (): AnimationConfigFunction<EntryAnimationsValues> => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateY: delayFunction(delay, animation(0, config)) },\n { scale: delayFunction(delay, animation(1, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: -values.targetHeight }, { scale: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\n/**\n * Eased scale from bottom animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `entering` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomInEasyDown\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder\n{\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomInEasyDown() as InstanceType<T>;\n }\n\n build = (): AnimationConfigFunction<EntryAnimationsValues> => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateY: delayFunction(delay, animation(0, config)) },\n { scale: delayFunction(delay, animation(1, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: values.targetHeight }, { scale: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\n/**\n * Scale to center animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `exiting` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomOut\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomOut() as InstanceType<T>;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [{ scale: delayFunction(delay, animation(0, config)) }],\n },\n initialValues: {\n transform: [{ scale: 1 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\n/**\n * Scale to center with rotation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `exiting` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomOutRotate\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomOutRotate() as InstanceType<T>;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const rotate = this.rotateV ? this.rotateV : '0.3';\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n { scale: delayFunction(delay, animation(0, config)) },\n { rotate: delayFunction(delay, animation(rotate, config)) },\n ],\n },\n initialValues: {\n transform: [{ scale: 1 }, { rotate: '0' }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\n/**\n * Scale to left animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `exiting` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomOutLeft\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomOutLeft() as InstanceType<T>;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values: EntryExitAnimationsValues) => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateX: delayFunction(\n delay,\n animation(-values.windowWidth, config)\n ),\n },\n { scale: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateX: 0 }, { scale: 1 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\n/**\n * Scale to right animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `exiting` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomOutRight\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomOutRight() as InstanceType<T>;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values: EntryExitAnimationsValues) => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateX: delayFunction(\n delay,\n animation(values.windowWidth, config)\n ),\n },\n { scale: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateX: 0 }, { scale: 1 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\n/**\n * Scale to top animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `exiting` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomOutUp\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomOutUp() as InstanceType<T>;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values: EntryExitAnimationsValues) => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateY: delayFunction(\n delay,\n animation(-values.windowHeight, config)\n ),\n },\n { scale: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: 0 }, { scale: 1 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\n/**\n * Scale to bottom animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `exiting` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomOutDown\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomOutDown() as InstanceType<T>;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values: EntryExitAnimationsValues) => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateY: delayFunction(\n delay,\n animation(values.windowHeight, config)\n ),\n },\n { scale: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: 0 }, { scale: 1 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\n/**\n * Eased scale to top animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `exiting` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomOutEasyUp\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder\n{\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomOutEasyUp() as InstanceType<T>;\n }\n\n build = (): AnimationConfigFunction<ExitAnimationsValues> => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateY: delayFunction(\n delay,\n animation(-values.currentHeight, config)\n ),\n },\n { scale: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: 0 }, { scale: 1 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\n/**\n * Eased scale to bottom animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `exiting` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomOutEasyDown\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder\n{\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomOutEasyDown() as InstanceType<T>;\n }\n\n build = (): AnimationConfigFunction<ExitAnimationsValues> => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateY: delayFunction(\n delay,\n animation(values.currentHeight, config)\n ),\n },\n { scale: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: 0 }, { scale: 1 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n"],"mappings":"AAAA,YAAY;;AAAC,SAAAA,gBAAAC,GAAA,EAAAC,GAAA,EAAAC,KAAA,IAAAD,GAAA,GAAAE,cAAA,CAAAF,GAAA,OAAAA,GAAA,IAAAD,GAAA,IAAAI,MAAA,CAAAC,cAAA,CAAAL,GAAA,EAAAC,GAAA,IAAAC,KAAA,EAAAA,KAAA,EAAAI,UAAA,QAAAC,YAAA,QAAAC,QAAA,oBAAAR,GAAA,CAAAC,GAAA,IAAAC,KAAA,WAAAF,GAAA;AAAA,SAAAG,eAAAM,GAAA,QAAAR,GAAA,GA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K,EACLH,SAAS,CAACgB,MAAM,CAACkB,aAAa,EAAEjC,MAAM,CAAC;YAE3C,CAAC,EACD;cAAES,KAAK,EAAEZ,aAAa,CAACK,KAAK,EAAEH,SAAS,CAAC,CAAC,EAAEC,MAAM,CAAC;YAAE,CAAC;UAEzD,CAAC;UACDM,aAAa,EAAE;YACbE,SAAS,EAAE,CAAC;cAAEY,UAAU,EAAE;YAAE,CAAC,EAAE;cAAEX,KAAK,EAAE;YAAE,CAAC,CAAC;YAC5C,GAAGH;UACL,CAAC;UACDF,QAAQ,EAAEA;QACZ,CAAC;MACH,CAAC;IACH,CAAC;EAAA;EAlCD,OAAOM,cAAcA,CAAA,EAEF;IACjB,OAAO,IAAIwB,eAAe,EAAE;EAC9B;AA+BF"}
1
+ {"version":3,"names":["_defineProperty","obj","key","value","_toPropertyKey","Object","defineProperty","enumerable","configurable","writable","arg","_toPrimitive","String","input","hint","prim","Symbol","toPrimitive","undefined","res","call","TypeError","Number","ComplexAnimationBuilder","ZoomIn","constructor","arguments","delayFunction","getDelayFunction","animation","config","getAnimationAndConfig","delay","getDelay","callback","callbackV","initialValues","animations","transform","scale","createInstance","ZoomInRotate","rotate","rotateV","ZoomInLeft","values","translateX","windowWidth","ZoomInRight","ZoomInUp","translateY","windowHeight","ZoomInDown","ZoomInEasyUp","targetHeight","ZoomInEasyDown","ZoomOut","ZoomOutRotate","ZoomOutLeft","ZoomOutRight","ZoomOutUp","ZoomOutDown","ZoomOutEasyUp","currentHeight","ZoomOutEasyDown"],"sources":["Zoom.ts"],"sourcesContent":["'use strict';\nimport type {\n IEntryExitAnimationBuilder,\n EntryExitAnimationFunction,\n EntryAnimationsValues,\n ExitAnimationsValues,\n EntryExitAnimationsValues,\n AnimationConfigFunction,\n IEntryAnimationBuilder,\n IExitAnimationBuilder,\n} from '../animationBuilder/commonTypes';\nimport type { BaseAnimationBuilder } from '../animationBuilder';\nimport { ComplexAnimationBuilder } from '../animationBuilder';\n\n/**\n * Scale from center animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `entering` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomIn\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static presetName = 'ZoomIn';\n\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomIn() as InstanceType<T>;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [{ scale: delayFunction(delay, animation(1, config)) }],\n },\n initialValues: {\n transform: [{ scale: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\n/**\n * Scale from center with rotation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `entering` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomInRotate\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static presetName = 'ZoomInRotate';\n\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomInRotate() as InstanceType<T>;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const rotate = this.rotateV ? this.rotateV : '0.3';\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n { scale: delayFunction(delay, animation(1, config)) },\n { rotate: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n transform: [{ scale: 0 }, { rotate: rotate }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\n/**\n * Scale from left animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `entering` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomInLeft\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static presetName = 'ZoomInLeft';\n\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomInLeft() as InstanceType<T>;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values: EntryExitAnimationsValues) => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateX: delayFunction(delay, animation(0, config)) },\n { scale: delayFunction(delay, animation(1, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateX: -values.windowWidth }, { scale: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\n/**\n * Scale from right animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `entering` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomInRight\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static presetName = 'ZoomInRight';\n\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomInRight() as InstanceType<T>;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values: EntryExitAnimationsValues) => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateX: delayFunction(delay, animation(0, config)) },\n { scale: delayFunction(delay, animation(1, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateX: values.windowWidth }, { scale: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\n/**\n * Scale from top animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `entering` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomInUp\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static presetName = 'ZoomInUp';\n\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomInUp() as InstanceType<T>;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values: EntryExitAnimationsValues) => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateY: delayFunction(delay, animation(0, config)) },\n { scale: delayFunction(delay, animation(1, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: -values.windowHeight }, { scale: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\n/**\n * Scale from bottom animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `entering` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomInDown\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static presetName = 'ZoomInDown';\n\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomInDown() as InstanceType<T>;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values: EntryExitAnimationsValues) => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateY: delayFunction(delay, animation(0, config)) },\n { scale: delayFunction(delay, animation(1, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: values.windowHeight }, { scale: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\n/**\n * Eased scale from top animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `entering` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomInEasyUp\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder\n{\n static presetName = 'ZoomInEasyUp';\n\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomInEasyUp() as InstanceType<T>;\n }\n\n build = (): AnimationConfigFunction<EntryAnimationsValues> => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateY: delayFunction(delay, animation(0, config)) },\n { scale: delayFunction(delay, animation(1, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: -values.targetHeight }, { scale: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\n/**\n * Eased scale from bottom animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `entering` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomInEasyDown\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder\n{\n static presetName = 'ZoomInEasyDown';\n\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomInEasyDown() as InstanceType<T>;\n }\n\n build = (): AnimationConfigFunction<EntryAnimationsValues> => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateY: delayFunction(delay, animation(0, config)) },\n { scale: delayFunction(delay, animation(1, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: values.targetHeight }, { scale: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\n/**\n * Scale to center animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `exiting` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomOut\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static presetName = 'ZoomOut';\n\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomOut() as InstanceType<T>;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [{ scale: delayFunction(delay, animation(0, config)) }],\n },\n initialValues: {\n transform: [{ scale: 1 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\n/**\n * Scale to center with rotation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `exiting` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomOutRotate\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static presetName = 'ZoomOutRotate';\n\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomOutRotate() as InstanceType<T>;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const rotate = this.rotateV ? this.rotateV : '0.3';\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n { scale: delayFunction(delay, animation(0, config)) },\n { rotate: delayFunction(delay, animation(rotate, config)) },\n ],\n },\n initialValues: {\n transform: [{ scale: 1 }, { rotate: '0' }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\n/**\n * Scale to left animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `exiting` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomOutLeft\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static presetName = 'ZoomOutLeft';\n\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomOutLeft() as InstanceType<T>;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values: EntryExitAnimationsValues) => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateX: delayFunction(\n delay,\n animation(-values.windowWidth, config)\n ),\n },\n { scale: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateX: 0 }, { scale: 1 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\n/**\n * Scale to right animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `exiting` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomOutRight\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static presetName = 'ZoomOutRight';\n\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomOutRight() as InstanceType<T>;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values: EntryExitAnimationsValues) => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateX: delayFunction(\n delay,\n animation(values.windowWidth, config)\n ),\n },\n { scale: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateX: 0 }, { scale: 1 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\n/**\n * Scale to top animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `exiting` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomOutUp\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static presetName = 'ZoomOutUp';\n\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomOutUp() as InstanceType<T>;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values: EntryExitAnimationsValues) => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateY: delayFunction(\n delay,\n animation(-values.windowHeight, config)\n ),\n },\n { scale: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: 0 }, { scale: 1 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\n/**\n * Scale to bottom animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `exiting` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomOutDown\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static presetName = 'ZoomOutDown';\n\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomOutDown() as InstanceType<T>;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values: EntryExitAnimationsValues) => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateY: delayFunction(\n delay,\n animation(values.windowHeight, config)\n ),\n },\n { scale: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: 0 }, { scale: 1 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\n/**\n * Eased scale to top animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `exiting` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomOutEasyUp\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder\n{\n static presetName = 'ZoomOutEasyUp';\n\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomOutEasyUp() as InstanceType<T>;\n }\n\n build = (): AnimationConfigFunction<ExitAnimationsValues> => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateY: delayFunction(\n delay,\n animation(-values.currentHeight, config)\n ),\n },\n { scale: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: 0 }, { scale: 1 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\n/**\n * Eased scale to bottom animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.\n *\n * You pass it to the `exiting` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).\n *\n * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom\n */\nexport class ZoomOutEasyDown\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder\n{\n static presetName = 'ZoomOutEasyDown';\n\n static createInstance<T extends typeof BaseAnimationBuilder>(\n this: T\n ): InstanceType<T> {\n return new ZoomOutEasyDown() as InstanceType<T>;\n }\n\n build = (): AnimationConfigFunction<ExitAnimationsValues> => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateY: delayFunction(\n delay,\n animation(values.currentHeight, config)\n ),\n },\n { scale: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: 0 }, { scale: 1 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n"],"mappings":"AAAA,YAAY;;AAAC,SAAAA,gBAAAC,GAAA,EAAAC,GAAA,EAAAC,KAAA,IAAAD,GAAA,GAAAE,cAAA,CAAAF,GAAA,OAAAA,GAAA,IAAAD,GAAA,IAAAI,MAAA,CAAAC,cAAA,CAAAL,GAAA,EAAAC,GAAA,IAAAC,KAAA,EAAAA,KAAA,EAAAI,UAAA,QAAAC,YAAA,QAAAC,QAAA,oBAAAR,GAAA,CAAAC,GAAA,IAAAC,KAAA,WAAAF,GAAA;AAAA,SAAAG,eAAAM,GAAA,QAAAR,GAAA,GAAAS,YAAA,CAAAD,GAAA,2BAAAR,GAAA,gBAAAA,GAAA,GAAAU,MAAA,CAAAV,GAAA;AAAA,SAAAS,aAAAE,KAAA,EAAAC,IAAA,eAAAD,KAAA,iBAAAA,KAAA,kBAAAA,KAAA,MAAAE,IAAA,GAAAF,KAAA,CAAAG,MAAA,CAAAC,WAAA,OAAAF,IAAA,KAAAG,SAAA,QAAAC,GAAA,GAAAJ,IAAA,CAAAK,IAAA,CAAAP,KAAA,EAAAC,IAAA,2BAAAK,GAAA,sBAAAA,GAAA,YAAAE,SAAA,4DAAAP,IAAA,gBAAAF,MAAA,GAAAU,MAAA,EAAAT,KAAA;AAYb,SAASU,uBAAuB,QAAQ,qBAAqB;;AAE7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,MAAM,SACTD,uBAAuB,CAEjC;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAA1B,eAAA,gBASU,MAAkC;MACxC,MAAM2B,aAAa,GAAG,IAAI,CAACC,gBAAgB,EAAE;MAC7C,MAAM,CAACC,SAAS,EAAEC,MAAM,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S,CAACgB,MAAM,CAACkB,aAAa,EAAEjC,MAAM,CAAC;YAE3C,CAAC,EACD;cAAES,KAAK,EAAEZ,aAAa,CAACK,KAAK,EAAEH,SAAS,CAAC,CAAC,EAAEC,MAAM,CAAC;YAAE,CAAC;UAEzD,CAAC;UACDM,aAAa,EAAE;YACbE,SAAS,EAAE,CAAC;cAAEY,UAAU,EAAE;YAAE,CAAC,EAAE;cAAEX,KAAK,EAAE;YAAE,CAAC,CAAC;YAC5C,GAAGH;UACL,CAAC;UACDF,QAAQ,EAAEA;QACZ,CAAC;MACH,CAAC;IACH,CAAC;EAAA;EAlCD,OAAOM,cAAcA,CAAA,EAEF;IACjB,OAAO,IAAIwB,eAAe,EAAE;EAC9B;AA+BF;AAAChE,eAAA,CAzCYgE,eAAe,gBAIN,iBAAiB"}
@@ -38,7 +38,7 @@ function tryGetAnimationConfigWithTransform(props, animationType) {
38
38
  return null;
39
39
  }
40
40
  const isLayoutTransition = animationType === LayoutAnimationType.LAYOUT;
41
- const initialAnimationName = typeof config === 'function' ? config.name : config.constructor.name;
41
+ const initialAnimationName = typeof config === 'function' ? config.presetName : config.constructor.presetName;
42
42
  const shouldFail = checkUndefinedAnimationFail(initialAnimationName, isLayoutTransition);
43
43
  if (shouldFail) {
44
44
  return null;
@@ -1 +1 @@
1
- {"version":3,"names":["Animations","LayoutAnimationType","createAnimationWithExistingTransform","extractTransformFromStyle","getProcessedConfig","handleExitingAnimation","handleLayoutTransition","makeElementVisible","setElementAnimation","areDOMRectsEqual","chooseConfig","animationType","props","config","ENTERING","entering","EXITING","exiting","LAYOUT","layout","checkUndefinedAnimationFail","initialAnimationName","isLayoutTransition","console","warn","chooseAction","animationConfig","element","transitionData","transform","reversed","tryGetAnimationConfigWithTransform","name","constructor","shouldFail","style","animationName","startWebLayoutAnimation","maybeAnimationConfigWithTransform","tryActivateLayoutTransition","snapshot","rect","getBoundingClientRect","translateX","x","translateY","y","scaleX","width","scaleY","height"],"sources":["animationsManager.ts"],"sourcesContent":["'use strict';\n\nimport type { AnimationConfig, AnimationNames, CustomConfig } from './config';\nimport { Animations } from './config';\nimport type { AnimatedComponentProps } from '../../../createAnimatedComponent/commonTypes';\nimport { LayoutAnimationType } from '../animationBuilder/commonTypes';\nimport type { StyleProps } from '../../commonTypes';\nimport { createAnimationWithExistingTransform } from './createAnimation';\nimport {\n extractTransformFromStyle,\n getProcessedConfig,\n handleExitingAnimation,\n handleLayoutTransition,\n makeElementVisible,\n setElementAnimation,\n} from './componentUtils';\nimport { areDOMRectsEqual } from './domUtils';\nimport type { TransformsStyle } from 'react-native';\nimport type { TransitionData } from './animationParser';\n\nfunction chooseConfig<ComponentProps extends Record<string, unknown>>(\n animationType: LayoutAnimationType,\n props: Readonly<AnimatedComponentProps<ComponentProps>>\n) {\n const config =\n animationType === LayoutAnimationType.ENTERING\n ? props.entering\n : animationType === LayoutAnimationType.EXITING\n ? props.exiting\n : animationType === LayoutAnimationType.LAYOUT\n ? props.layout\n : null;\n\n return config;\n}\n\nfunction checkUndefinedAnimationFail(\n initialAnimationName: string,\n isLayoutTransition: boolean\n) {\n // This prevents crashes if we try to set animations that are not defined.\n // We don't care about layout transitions since they're created dynamically\n if (initialAnimationName in Animations || isLayoutTransition) {\n return false;\n }\n\n console.warn(\n \"[Reanimated] Couldn't load entering/exiting animation. Current version supports only predefined animations with modifiers: duration, delay, easing, randomizeDelay, wtihCallback, reducedMotion.\"\n );\n\n return true;\n}\n\nfunction chooseAction(\n animationType: LayoutAnimationType,\n animationConfig: AnimationConfig,\n element: HTMLElement,\n transitionData: TransitionData,\n transform: TransformsStyle['transform'] | undefined\n) {\n switch (animationType) {\n case LayoutAnimationType.ENTERING:\n setElementAnimation(element, animationConfig);\n break;\n case LayoutAnimationType.LAYOUT:\n transitionData.reversed = animationConfig.reversed;\n\n handleLayoutTransition(\n element,\n animationConfig,\n transitionData,\n transform\n );\n break;\n case LayoutAnimationType.EXITING:\n handleExitingAnimation(element, animationConfig);\n break;\n }\n}\n\nfunction tryGetAnimationConfigWithTransform<\n ComponentProps extends Record<string, unknown>\n>(\n props: Readonly<AnimatedComponentProps<ComponentProps>>,\n animationType: LayoutAnimationType\n) {\n const config = chooseConfig(animationType, props);\n if (!config) {\n return null;\n }\n\n const isLayoutTransition = animationType === LayoutAnimationType.LAYOUT;\n const initialAnimationName =\n typeof config === 'function' ? config.name : config.constructor.name;\n\n const shouldFail = checkUndefinedAnimationFail(\n initialAnimationName,\n isLayoutTransition\n );\n\n if (shouldFail) {\n return null;\n }\n\n const transform = extractTransformFromStyle(props.style as StyleProps);\n\n const animationName = transform\n ? createAnimationWithExistingTransform(initialAnimationName, transform)\n : initialAnimationName;\n\n const animationConfig = getProcessedConfig(\n animationName,\n animationType,\n config as CustomConfig,\n initialAnimationName as AnimationNames\n );\n\n return { animationConfig, transform };\n}\n\nexport function startWebLayoutAnimation<\n ComponentProps extends Record<string, unknown>\n>(\n props: Readonly<AnimatedComponentProps<ComponentProps>>,\n element: HTMLElement,\n animationType: LayoutAnimationType,\n transitionData?: TransitionData\n) {\n const maybeAnimationConfigWithTransform = tryGetAnimationConfigWithTransform(\n props,\n animationType\n );\n\n if (maybeAnimationConfigWithTransform) {\n const { animationConfig, transform } = maybeAnimationConfigWithTransform;\n\n chooseAction(\n animationType,\n animationConfig,\n element,\n transitionData as TransitionData,\n transform\n );\n } else {\n makeElementVisible(element, 0);\n }\n}\n\nexport function tryActivateLayoutTransition<\n ComponentProps extends Record<string, unknown>\n>(\n props: Readonly<AnimatedComponentProps<ComponentProps>>,\n element: HTMLElement,\n snapshot: DOMRect\n) {\n if (!props.layout) {\n return;\n }\n\n const rect = element.getBoundingClientRect();\n\n if (areDOMRectsEqual(rect, snapshot)) {\n return;\n }\n\n const transitionData: TransitionData = {\n translateX: snapshot.x - rect.x,\n translateY: snapshot.y - rect.y,\n scaleX: snapshot.width / rect.width,\n scaleY: snapshot.height / rect.height,\n reversed: false, // This field is used only in `SequencedTransition`, so by default it will be false\n };\n\n startWebLayoutAn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AC,MAAM;IACLtB,kBAAkB,CAACoB,OAAO,EAAE,CAAC,CAAC;EAChC;AACF;AAEA,OAAO,SAASY,2BAA2BA,CAGzC3B,KAAuD,EACvDe,OAAoB,EACpBa,QAAiB,EACjB;EACA,IAAI,CAAC5B,KAAK,CAACO,MAAM,EAAE;IACjB;EACF;EAEA,MAAMsB,IAAI,GAAGd,OAAO,CAACe,qBAAqB,EAAE;EAE5C,IAAIjC,gBAAgB,CAACgC,IAAI,EAAED,QAAQ,CAAC,EAAE;IACpC;EACF;EAEA,MAAMZ,cAA8B,GAAG;IACrCe,UAAU,EAAEH,QAAQ,CAACI,CAAC,GAAGH,IAAI,CAACG,CAAC;IAC/BC,UAAU,EAAEL,QAAQ,CAACM,CAAC,GAAGL,IAAI,CAACK,CAAC;IAC/BC,MAAM,EAAEP,QAAQ,CAACQ,KAAK,GAAGP,IAAI,CAACO,KAAK;IACnCC,MAAM,EAAET,QAAQ,CAACU,MAAM,GAAGT,IAAI,CAACS,MAAM;IACrCpB,QAAQ,EAAE,KAAK,CAAE;EACnB,CAAC;;EAEDO,uBAAuB,CACrBzB,KAAK,EACLe,OAAO,EACP1B,mBAAmB,CAACiB,MAAM,EAC1BU,cAAc,CACf;AACH"}
1
+ {"version":3,"names":["Animations","LayoutAnimationType","createAnimationWithExistingTransform","extractTransformFromStyle","getProcessedConfig","handleExitingAnimation","handleLayoutTransition","makeElementVisible","setElementAnimation","areDOMRectsEqual","chooseConfig","animationType","props","config","ENTERING","entering","EXITING","exiting","LAYOUT","layout","checkUndefinedAnimationFail","initialAnimationName","isLayoutTransition","console","warn","chooseAction","animationConfig","element","transitionData","transform","reversed","tryGetAnimationConfigWithTransform","presetName","constructor","shouldFail","style","animationName","startWebLayoutAnimation","maybeAnimationConfigWithTransform","tryActivateLayoutTransition","snapshot","rect","getBoundingClientRect","translateX","x","translateY","y","scaleX","width","scaleY","height"],"sources":["animationsManager.ts"],"sourcesContent":["'use strict';\n\nimport type { AnimationConfig, AnimationNames, CustomConfig } from './config';\nimport { Animations } from './config';\nimport type {\n AnimatedComponentProps,\n LayoutAnimationStaticContext,\n} from '../../../createAnimatedComponent/commonTypes';\nimport { LayoutAnimationType } from '../animationBuilder/commonTypes';\nimport type { StyleProps } from '../../commonTypes';\nimport { createAnimationWithExistingTransform } from './createAnimation';\nimport {\n extractTransformFromStyle,\n getProcessedConfig,\n handleExitingAnimation,\n handleLayoutTransition,\n makeElementVisible,\n setElementAnimation,\n} from './componentUtils';\nimport { areDOMRectsEqual } from './domUtils';\nimport type { TransformsStyle } from 'react-native';\nimport type { TransitionData } from './animationParser';\n\nfunction chooseConfig<ComponentProps extends Record<string, unknown>>(\n animationType: LayoutAnimationType,\n props: Readonly<AnimatedComponentProps<ComponentProps>>\n) {\n const config =\n animationType === LayoutAnimationType.ENTERING\n ? props.entering\n : animationType === LayoutAnimationType.EXITING\n ? props.exiting\n : animationType === LayoutAnimationType.LAYOUT\n ? props.layout\n : null;\n\n return config;\n}\n\nfunction checkUndefinedAnimationFail(\n initialAnimationName: string,\n isLayoutTransition: boolean\n) {\n // This prevents crashes if we try to set animations that are not defined.\n // We don't care about layout transitions since they're created dynamically\n if (initialAnimationName in Animations || isLayoutTransition) {\n return false;\n }\n\n console.warn(\n \"[Reanimated] Couldn't load entering/exiting animation. Current version supports only predefined animations with modifiers: duration, delay, easing, randomizeDelay, wtihCallback, reducedMotion.\"\n );\n\n return true;\n}\n\nfunction chooseAction(\n animationType: LayoutAnimationType,\n animationConfig: AnimationConfig,\n element: HTMLElement,\n transitionData: TransitionData,\n transform: TransformsStyle['transform'] | undefined\n) {\n switch (animationType) {\n case LayoutAnimationType.ENTERING:\n setElementAnimation(element, animationConfig);\n break;\n case LayoutAnimationType.LAYOUT:\n transitionData.reversed = animationConfig.reversed;\n\n handleLayoutTransition(\n element,\n animationConfig,\n transitionData,\n transform\n );\n break;\n case LayoutAnimationType.EXITING:\n handleExitingAnimation(element, animationConfig);\n break;\n }\n}\n\nfunction tryGetAnimationConfigWithTransform<\n ComponentProps extends Record<string, unknown>\n>(\n props: Readonly<AnimatedComponentProps<ComponentProps>>,\n animationType: LayoutAnimationType\n) {\n const config = chooseConfig(animationType, props);\n if (!config) {\n return null;\n }\n\n type ConstructorWithStaticContext = LayoutAnimationStaticContext &\n typeof config.constructor;\n\n const isLayoutTransition = animationType === LayoutAnimationType.LAYOUT;\n const initialAnimationName =\n typeof config === 'function'\n ? config.presetName\n : (config.constructor as ConstructorWithStaticContext).presetName;\n\n const shouldFail = checkUndefinedAnimationFail(\n initialAnimationName,\n isLayoutTransition\n );\n\n if (shouldFail) {\n return null;\n }\n\n const transform = extractTransformFromStyle(props.style as StyleProps);\n\n const animationName = transform\n ? createAnimationWithExistingTransform(initialAnimationName, transform)\n : initialAnimationName;\n\n const animationConfig = getProcessedConfig(\n animationName,\n animationType,\n config as CustomConfig,\n initialAnimationName as AnimationNames\n );\n\n return { animationConfig, transform };\n}\n\nexport function startWebLayoutAnimation<\n ComponentProps extends Record<string, unknown>\n>(\n props: Readonly<AnimatedComponentProps<ComponentProps>>,\n element: HTMLElement,\n animationType: LayoutAnimationType,\n transitionData?: TransitionData\n) {\n const maybeAnimationConfigWithTransform = tryGetAnimationConfigWithTransform(\n props,\n animationType\n );\n\n if (maybeAnimationConfigWithTransform) {\n const { animationConfig, transform } = maybeAnimationConfigWithTransform;\n\n chooseAction(\n animationType,\n animationConfig,\n element,\n transitionData as TransitionData,\n transform\n );\n } else {\n makeElementVisible(element, 0);\n }\n}\n\nexport function tryActivateLayoutTransition<\n ComponentProps extends Record<string, unknown>\n>(\n props: Readonly<AnimatedComponentProps<ComponentProps>>,\n element: HTMLElement,\n snapshot: DOMRect\n) {\n if (!props.layout) {\n return;\n }\n\n const rect = element.getBoundingClientRect();\n\n if (areDOMRectsEqual(rect, snapshot)) {\n return;\n }\n\n const transitionData: TransitionData = {\n translateX: snapshot.x - rect.x,\n translateY: snapshot.y - rect.y,\n scaleX: snapshot.width / rect.width,\n scaleY: snapshot.height / rect.height,\n reversed: false, // This field is used only in `SequencedTransition`, so by default it will be false\n };\n\n startWebLayoutAnimation(\n props,\n element,\n LayoutAnimationType.LAYOUT,\n transitionData\n );\n}\n"],"mappings":"AAAA,YAAY;;AAGZ,SAASA,UAAU,QAAQ,UAAU;AAKrC,SAASC,mBAAmB,QAAQ,iCAAiC;AAErE,SAASC,oCAAoC,QAAQ,mBAAmB;AACxE,SACEC,yBAAyB,EACzBC,kBAAkB,EAClBC,sBAAsB,EACtBC,sBAAsB,EACtBC,kBAAkB,EAClBC,mBAAmB,QACd,kBAAkB;AACzB,SAASC,gBAAgB,QAAQ,YAAY;AAI7C,SAASC,YAAYA,CACnBC,aAAkC,EAClCC,KAAuD,EACvD;EACA,MAAMC,MAAM,GACVF,aAAa,KAAKV,mBAAmB,CAACa,QAAQ,GAC1CF,KAAK,CAACG,QAAQ,GACdJ,aAAa,KAAKV,mBAAmB,CAACe,OAAO,GAC7CJ,KAAK,CAACK,OAAO,GACbN,aAAa,KAAKV,mBAAmB,CAACiB,MAAM,GAC5CN,KAAK,CAACO,MAAM,GACZ,IAAI;EAEV,OAAON,MAAM;AACf;AAEA,SAASO,2BAA2BA,CAClCC,oBAA4B,EAC5BC,kBAA2B,EAC3B;EACA;EACA;EACA,IAAID,oBAAoB,IAAIrB,UAAU,IAAIsB,kBAAkB,EAAE;IAC5D,OAAO,KAAK;EACd;EAEAC,OAAO,CAACC,IAAI,CACV,kMAAkM,CACnM;EAED,OAAO,IAAI;AACb;AAEA,SAASC,YAAYA,CACnBd,aAAkC,EAClCe,eAAgC,EAChCC,OAAoB,EACpBC,cAA8B,EAC9BC,SAAmD,EACnD;EACA,QAAQlB,aAAa;IACnB,KAAKV,mBAAmB,CAACa,QAAQ;MAC/BN,mBAAmB,CAACmB,OAAO,EAAED,eAAe,CAAC;MAC7C;IACF,KAAKzB,mBAAmB,CAACiB,MAAM;MAC7BU,cAAc,CAACE,QAAQ,GAAGJ,eAAe,CAACI,QAAQ;MAElDxB,sBAAs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Aa,EACbe,eAAe,EACfC,OAAO,EACPC,cAAc,EACdC,SAAS,CACV;EACH,CAAC,MAAM;IACLtB,kBAAkB,CAACoB,OAAO,EAAE,CAAC,CAAC;EAChC;AACF;AAEA,OAAO,SAASY,2BAA2BA,CAGzC3B,KAAuD,EACvDe,OAAoB,EACpBa,QAAiB,EACjB;EACA,IAAI,CAAC5B,KAAK,CAACO,MAAM,EAAE;IACjB;EACF;EAEA,MAAMsB,IAAI,GAAGd,OAAO,CAACe,qBAAqB,EAAE;EAE5C,IAAIjC,gBAAgB,CAACgC,IAAI,EAAED,QAAQ,CAAC,EAAE;IACpC;EACF;EAEA,MAAMZ,cAA8B,GAAG;IACrCe,UAAU,EAAEH,QAAQ,CAACI,CAAC,GAAGH,IAAI,CAACG,CAAC;IAC/BC,UAAU,EAAEL,QAAQ,CAACM,CAAC,GAAGL,IAAI,CAACK,CAAC;IAC/BC,MAAM,EAAEP,QAAQ,CAACQ,KAAK,GAAGP,IAAI,CAACO,KAAK;IACnCC,MAAM,EAAET,QAAQ,CAACU,MAAM,GAAGT,IAAI,CAACS,MAAM;IACrCpB,QAAQ,EAAE,KAAK,CAAE;EACnB,CAAC;;EAEDO,uBAAuB,CACrBzB,KAAK,EACLe,OAAO,EACP1B,mBAAmB,CAACiB,MAAM,EAC1BU,cAAc,CACf;AACH"}
@@ -5,5 +5,5 @@
5
5
  * with the version used to build the native part of the library in runtime.
6
6
  * Remember to keep this in sync with the version declared in `package.json`
7
7
  */
8
- export const jsVersion = '3.6.2';
8
+ export const jsVersion = '3.6.3';
9
9
  //# sourceMappingURL=jsVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["jsVersion"],"sources":["jsVersion.ts"],"sourcesContent":["'use strict';\n/**\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.6.2';\n"],"mappings":"AAAA,YAAY;;AACZ;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,SAAS,GAAG,OAAO"}
1
+ {"version":3,"names":["jsVersion"],"sources":["jsVersion.ts"],"sourcesContent":["'use strict';\n/**\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.6.3';\n"],"mappings":"AAAA,YAAY;;AACZ;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,SAAS,GAAG,OAAO"}
@@ -26,14 +26,17 @@ export interface IJSPropsUpdater {
26
26
  addOnJSPropsChangeListener(animatedComponent: React.Component<unknown, unknown> & IAnimatedComponentInternal): void;
27
27
  removeOnJSPropsChangeListener(animatedComponent: React.Component<unknown, unknown> & IAnimatedComponentInternal): void;
28
28
  }
29
+ export type LayoutAnimationStaticContext = {
30
+ presetName: string;
31
+ };
29
32
  export type AnimatedComponentProps<P extends Record<string, unknown>> = P & {
30
33
  forwardedRef?: Ref<Component>;
31
34
  style?: NestedArray<StyleProps>;
32
35
  animatedProps?: Partial<AnimatedComponentProps<AnimatedProps>>;
33
36
  animatedStyle?: StyleProps;
34
- layout?: BaseAnimationBuilder | ILayoutAnimationBuilder | typeof BaseAnimationBuilder;
35
- entering?: BaseAnimationBuilder | typeof BaseAnimationBuilder | EntryExitAnimationFunction | Keyframe;
36
- exiting?: BaseAnimationBuilder | typeof BaseAnimationBuilder | EntryExitAnimationFunction | Keyframe;
37
+ layout?: (BaseAnimationBuilder | ILayoutAnimationBuilder | typeof BaseAnimationBuilder) & LayoutAnimationStaticContext;
38
+ entering?: (BaseAnimationBuilder | typeof BaseAnimationBuilder | EntryExitAnimationFunction | Keyframe) & LayoutAnimationStaticContext;
39
+ exiting?: (BaseAnimationBuilder | typeof BaseAnimationBuilder | EntryExitAnimationFunction | Keyframe) & LayoutAnimationStaticContext;
37
40
  sharedTransitionTag?: string;
38
41
  sharedTransitionStyle?: SharedTransition;
39
42
  };
@@ -9,6 +9,7 @@ import { ComplexAnimationBuilder } from '../animationBuilder';
9
9
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#bounce
10
10
  */
11
11
  export declare class BounceIn extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
12
+ static presetName: string;
12
13
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
13
14
  static getDuration(): number;
14
15
  getDuration(): number;
@@ -22,6 +23,7 @@ export declare class BounceIn extends ComplexAnimationBuilder implements IEntryE
22
23
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#bounce
23
24
  */
24
25
  export declare class BounceInDown extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
26
+ static presetName: string;
25
27
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
26
28
  static getDuration(): number;
27
29
  getDuration(): number;
@@ -35,6 +37,7 @@ export declare class BounceInDown extends ComplexAnimationBuilder implements IEn
35
37
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#bounce
36
38
  */
37
39
  export declare class BounceInUp extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
40
+ static presetName: string;
38
41
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
39
42
  static getDuration(): number;
40
43
  getDuration(): number;
@@ -48,6 +51,7 @@ export declare class BounceInUp extends ComplexAnimationBuilder implements IEntr
48
51
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#bounce
49
52
  */
50
53
  export declare class BounceInLeft extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
54
+ static presetName: string;
51
55
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
52
56
  static getDuration(): number;
53
57
  getDuration(): number;
@@ -61,6 +65,7 @@ export declare class BounceInLeft extends ComplexAnimationBuilder implements IEn
61
65
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#bounce
62
66
  */
63
67
  export declare class BounceInRight extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
68
+ static presetName: string;
64
69
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
65
70
  static getDuration(): number;
66
71
  getDuration(): number;
@@ -74,6 +79,7 @@ export declare class BounceInRight extends ComplexAnimationBuilder implements IE
74
79
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#bounce
75
80
  */
76
81
  export declare class BounceOut extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
82
+ static presetName: string;
77
83
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
78
84
  static getDuration(): number;
79
85
  getDuration(): number;
@@ -87,6 +93,7 @@ export declare class BounceOut extends ComplexAnimationBuilder implements IEntry
87
93
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#bounce
88
94
  */
89
95
  export declare class BounceOutDown extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
96
+ static presetName: string;
90
97
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
91
98
  static getDuration(): number;
92
99
  getDuration(): number;
@@ -100,6 +107,7 @@ export declare class BounceOutDown extends ComplexAnimationBuilder implements IE
100
107
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#bounce
101
108
  */
102
109
  export declare class BounceOutUp extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
110
+ static presetName: string;
103
111
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
104
112
  static getDuration(): number;
105
113
  getDuration(): number;
@@ -113,6 +121,7 @@ export declare class BounceOutUp extends ComplexAnimationBuilder implements IEnt
113
121
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#bounce
114
122
  */
115
123
  export declare class BounceOutLeft extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
124
+ static presetName: string;
116
125
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
117
126
  static getDuration(): number;
118
127
  getDuration(): number;
@@ -126,6 +135,7 @@ export declare class BounceOutLeft extends ComplexAnimationBuilder implements IE
126
135
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#bounce
127
136
  */
128
137
  export declare class BounceOutRight extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
138
+ static presetName: string;
129
139
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
130
140
  static getDuration(): number;
131
141
  getDuration(): number;
@@ -9,6 +9,7 @@ import { ComplexAnimationBuilder } from '../animationBuilder';
9
9
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#fade
10
10
  */
11
11
  export declare class FadeIn extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
12
+ static presetName: string;
12
13
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
13
14
  build: () => EntryExitAnimationFunction;
14
15
  }
@@ -20,6 +21,7 @@ export declare class FadeIn extends ComplexAnimationBuilder implements IEntryExi
20
21
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#fade
21
22
  */
22
23
  export declare class FadeInRight extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
24
+ static presetName: string;
23
25
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
24
26
  build: () => EntryExitAnimationFunction;
25
27
  }
@@ -31,6 +33,7 @@ export declare class FadeInRight extends ComplexAnimationBuilder implements IEnt
31
33
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#fade
32
34
  */
33
35
  export declare class FadeInLeft extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
36
+ static presetName: string;
34
37
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
35
38
  build: () => EntryExitAnimationFunction;
36
39
  }
@@ -42,6 +45,7 @@ export declare class FadeInLeft extends ComplexAnimationBuilder implements IEntr
42
45
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#fade
43
46
  */
44
47
  export declare class FadeInUp extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
48
+ static presetName: string;
45
49
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
46
50
  build: () => EntryExitAnimationFunction;
47
51
  }
@@ -53,6 +57,7 @@ export declare class FadeInUp extends ComplexAnimationBuilder implements IEntryE
53
57
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#fade
54
58
  */
55
59
  export declare class FadeInDown extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
60
+ static presetName: string;
56
61
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
57
62
  build: () => EntryExitAnimationFunction;
58
63
  }
@@ -64,6 +69,7 @@ export declare class FadeInDown extends ComplexAnimationBuilder implements IEntr
64
69
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#fade
65
70
  */
66
71
  export declare class FadeOut extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
72
+ static presetName: string;
67
73
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
68
74
  build: () => EntryExitAnimationFunction;
69
75
  }
@@ -75,6 +81,7 @@ export declare class FadeOut extends ComplexAnimationBuilder implements IEntryEx
75
81
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#fade
76
82
  */
77
83
  export declare class FadeOutRight extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
84
+ static presetName: string;
78
85
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
79
86
  build: () => EntryExitAnimationFunction;
80
87
  }
@@ -86,6 +93,7 @@ export declare class FadeOutRight extends ComplexAnimationBuilder implements IEn
86
93
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#fade
87
94
  */
88
95
  export declare class FadeOutLeft extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
96
+ static presetName: string;
89
97
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
90
98
  build: () => EntryExitAnimationFunction;
91
99
  }
@@ -97,6 +105,7 @@ export declare class FadeOutLeft extends ComplexAnimationBuilder implements IEnt
97
105
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#fade
98
106
  */
99
107
  export declare class FadeOutUp extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
108
+ static presetName: string;
100
109
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
101
110
  build: () => EntryExitAnimationFunction;
102
111
  }
@@ -108,6 +117,7 @@ export declare class FadeOutUp extends ComplexAnimationBuilder implements IEntry
108
117
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#fade
109
118
  */
110
119
  export declare class FadeOutDown extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
120
+ static presetName: string;
111
121
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
112
122
  build: () => EntryExitAnimationFunction;
113
123
  }
@@ -9,6 +9,7 @@ import { ComplexAnimationBuilder } from '../animationBuilder';
9
9
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#flip
10
10
  */
11
11
  export declare class FlipInXUp extends ComplexAnimationBuilder implements IEntryAnimationBuilder {
12
+ static presetName: string;
12
13
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
13
14
  build: () => AnimationConfigFunction<EntryAnimationsValues>;
14
15
  }
@@ -20,6 +21,7 @@ export declare class FlipInXUp extends ComplexAnimationBuilder implements IEntry
20
21
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#flip
21
22
  */
22
23
  export declare class FlipInYLeft extends ComplexAnimationBuilder implements IEntryAnimationBuilder {
24
+ static presetName: string;
23
25
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
24
26
  build: () => AnimationConfigFunction<EntryAnimationsValues>;
25
27
  }
@@ -31,6 +33,7 @@ export declare class FlipInYLeft extends ComplexAnimationBuilder implements IEnt
31
33
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#flip
32
34
  */
33
35
  export declare class FlipInXDown extends ComplexAnimationBuilder implements IEntryAnimationBuilder {
36
+ static presetName: string;
34
37
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
35
38
  build: () => AnimationConfigFunction<EntryAnimationsValues>;
36
39
  }
@@ -42,6 +45,7 @@ export declare class FlipInXDown extends ComplexAnimationBuilder implements IEnt
42
45
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#flip
43
46
  */
44
47
  export declare class FlipInYRight extends ComplexAnimationBuilder implements IEntryAnimationBuilder {
48
+ static presetName: string;
45
49
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
46
50
  build: () => AnimationConfigFunction<EntryAnimationsValues>;
47
51
  }
@@ -53,6 +57,7 @@ export declare class FlipInYRight extends ComplexAnimationBuilder implements IEn
53
57
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#flip
54
58
  */
55
59
  export declare class FlipInEasyX extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
60
+ static presetName: string;
56
61
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
57
62
  build: () => EntryExitAnimationFunction;
58
63
  }
@@ -64,6 +69,7 @@ export declare class FlipInEasyX extends ComplexAnimationBuilder implements IEnt
64
69
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#flip
65
70
  */
66
71
  export declare class FlipInEasyY extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
72
+ static presetName: string;
67
73
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
68
74
  build: () => EntryExitAnimationFunction;
69
75
  }
@@ -75,6 +81,7 @@ export declare class FlipInEasyY extends ComplexAnimationBuilder implements IEnt
75
81
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#flip
76
82
  */
77
83
  export declare class FlipOutXUp extends ComplexAnimationBuilder implements IExitAnimationBuilder {
84
+ static presetName: string;
78
85
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
79
86
  build: () => AnimationConfigFunction<ExitAnimationsValues>;
80
87
  }
@@ -86,6 +93,7 @@ export declare class FlipOutXUp extends ComplexAnimationBuilder implements IExit
86
93
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#flip
87
94
  */
88
95
  export declare class FlipOutYLeft extends ComplexAnimationBuilder implements IExitAnimationBuilder {
96
+ static presetName: string;
89
97
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
90
98
  build: () => AnimationConfigFunction<ExitAnimationsValues>;
91
99
  }
@@ -97,6 +105,7 @@ export declare class FlipOutYLeft extends ComplexAnimationBuilder implements IEx
97
105
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#flip
98
106
  */
99
107
  export declare class FlipOutXDown extends ComplexAnimationBuilder implements IExitAnimationBuilder {
108
+ static presetName: string;
100
109
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
101
110
  build: () => AnimationConfigFunction<ExitAnimationsValues>;
102
111
  }
@@ -108,6 +117,7 @@ export declare class FlipOutXDown extends ComplexAnimationBuilder implements IEx
108
117
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#flip
109
118
  */
110
119
  export declare class FlipOutYRight extends ComplexAnimationBuilder implements IExitAnimationBuilder {
120
+ static presetName: string;
111
121
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
112
122
  build: () => AnimationConfigFunction<ExitAnimationsValues>;
113
123
  }
@@ -119,6 +129,7 @@ export declare class FlipOutYRight extends ComplexAnimationBuilder implements IE
119
129
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#flip
120
130
  */
121
131
  export declare class FlipOutEasyX extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
132
+ static presetName: string;
122
133
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
123
134
  build: () => EntryExitAnimationFunction;
124
135
  }
@@ -130,6 +141,7 @@ export declare class FlipOutEasyX extends ComplexAnimationBuilder implements IEn
130
141
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#flip
131
142
  */
132
143
  export declare class FlipOutEasyY extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
144
+ static presetName: string;
133
145
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
134
146
  build: () => EntryExitAnimationFunction;
135
147
  }
@@ -9,6 +9,7 @@ import type { EntryExitAnimationFunction, IEntryExitAnimationBuilder } from '../
9
9
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#lightspeed
10
10
  */
11
11
  export declare class LightSpeedInRight extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
12
+ static presetName: string;
12
13
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
13
14
  build: () => EntryExitAnimationFunction;
14
15
  }
@@ -20,6 +21,7 @@ export declare class LightSpeedInRight extends ComplexAnimationBuilder implement
20
21
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#lightspeed
21
22
  */
22
23
  export declare class LightSpeedInLeft extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
24
+ static presetName: string;
23
25
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
24
26
  build: () => EntryExitAnimationFunction;
25
27
  }
@@ -31,6 +33,7 @@ export declare class LightSpeedInLeft extends ComplexAnimationBuilder implements
31
33
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#lightspeed
32
34
  */
33
35
  export declare class LightSpeedOutRight extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
36
+ static presetName: string;
34
37
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
35
38
  build: () => EntryExitAnimationFunction;
36
39
  }
@@ -42,6 +45,7 @@ export declare class LightSpeedOutRight extends ComplexAnimationBuilder implemen
42
45
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#lightspeed
43
46
  */
44
47
  export declare class LightSpeedOutLeft extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
48
+ static presetName: string;
45
49
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
46
50
  build: () => EntryExitAnimationFunction;
47
51
  }
@@ -9,6 +9,7 @@ import type { EntryExitAnimationFunction, IEntryExitAnimationBuilder } from '../
9
9
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#pinwheel
10
10
  */
11
11
  export declare class PinwheelIn extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
12
+ static presetName: string;
12
13
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
13
14
  build: () => EntryExitAnimationFunction;
14
15
  }
@@ -20,6 +21,7 @@ export declare class PinwheelIn extends ComplexAnimationBuilder implements IEntr
20
21
  * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#pinwheel
21
22
  */
22
23
  export declare class PinwheelOut extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
24
+ static presetName: string;
23
25
  static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
24
26
  build: () => EntryExitAnimationFunction;
25
27
  }