rampkit-expo-dev 0.0.12 → 0.0.14

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.
@@ -273,12 +273,15 @@ function Overlay(props) {
273
273
  if (isClosing)
274
274
  return;
275
275
  setIsClosing(true);
276
- react_native_1.Animated.timing(overlayOpacity, {
277
- toValue: 0,
278
- duration: 220,
279
- easing: react_native_1.Easing.out(react_native_1.Easing.cubic),
280
- useNativeDriver: true,
281
- }).start(() => {
276
+ react_native_1.Animated.sequence([
277
+ react_native_1.Animated.delay(150),
278
+ react_native_1.Animated.timing(overlayOpacity, {
279
+ toValue: 0,
280
+ duration: 320,
281
+ easing: react_native_1.Easing.out(react_native_1.Easing.cubic),
282
+ useNativeDriver: true,
283
+ }),
284
+ ]).start(() => {
282
285
  props.onRequestClose();
283
286
  });
284
287
  }, [isClosing, overlayOpacity, props.onRequestClose]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rampkit-expo-dev",
3
- "version": "0.0.12",
3
+ "version": "0.0.14",
4
4
  "description": "The Expo SDK for RampKit. Build, test, and personalize app onboardings with instant updates.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",