@momo-kits/foundation 0.92.14-rc.2 → 0.92.14-rc.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.
@@ -34,7 +34,7 @@ const BottomSheet: React.FC<BottomSheetParams> = props => {
34
34
  new Animated.ValueXY({
35
35
  y: heightDevice,
36
36
  x: 0,
37
- }),
37
+ })
38
38
  ).current;
39
39
  const panResponder = useRef(
40
40
  PanResponder.create({
@@ -46,7 +46,7 @@ const BottomSheet: React.FC<BottomSheetParams> = props => {
46
46
  gestureState.dy > 0 &&
47
47
  Animated.event([null, {dy: pan.y}], {useNativeDriver: false})(
48
48
  e,
49
- gestureState,
49
+ gestureState
50
50
  );
51
51
  },
52
52
  onPanResponderRelease: (_, gestureState) => {
@@ -59,7 +59,7 @@ const BottomSheet: React.FC<BottomSheetParams> = props => {
59
59
  }).start();
60
60
  }
61
61
  },
62
- }),
62
+ })
63
63
  ).current;
64
64
 
65
65
  let backgroundColor = theme.colors.background.default;
@@ -209,10 +209,4 @@ const styles = StyleSheet.create({
209
209
  justifyContent: 'center',
210
210
  marginHorizontal: Spacing.M,
211
211
  },
212
- estimate: {
213
- position: 'absolute',
214
- top: -9999,
215
- left: -9999,
216
- opacity: 0,
217
- },
218
212
  });
package/index.ts CHANGED
@@ -54,5 +54,5 @@ export * from './Badge/types';
54
54
  * export trick for keep old mini app working
55
55
  * @deprecated
56
56
  */
57
- // export * from 'react-native-modalize';
58
- // export * from '@gorhom/bottom-sheet';
57
+ export * from 'react-native-modalize';
58
+ export * from '@gorhom/bottom-sheet';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.92.14-rc.2",
3
+ "version": "0.92.14-rc.3",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {},