@momo-kits/foundation 0.92.21-beta.0 → 0.92.21-beta.10

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.
@@ -88,13 +88,16 @@ const BottomSheet: React.FC<BottomSheetParams> = props => {
88
88
  if (barrierDismissible && !force) {
89
89
  return;
90
90
  }
91
+ setTimeout(() => {
92
+ callback?.();
93
+ }, 350);
94
+
91
95
  Animated.timing(pan, {
92
96
  toValue: {x: 0, y: heightDevice},
93
97
  useNativeDriver: false,
94
98
  duration: 100,
95
99
  }).start(() => {
96
100
  navigator?.pop();
97
- callback?.();
98
101
  });
99
102
  };
100
103
 
package/Assets/icon.json CHANGED
@@ -4027,5 +4027,17 @@
4027
4027
  },
4028
4028
  "travel_suitcase": {
4029
4029
  "uri": "https://static.momocdn.net/app/img/kits/travel_suitcase.png"
4030
+ },
4031
+ "security_abnormal_activity": {
4032
+ "uri": "https://static.momocdn.net/app/img/kits/security_abnormal_activity.png"
4033
+ },
4034
+ "security_bug": {
4035
+ "uri": "https://static.momocdn.net/app/img/kits/security_bug.png"
4036
+ },
4037
+ "security_hacker": {
4038
+ "uri": "https://static.momocdn.net/app/img/kits/security_hacker.png"
4039
+ },
4040
+ "security_phishing": {
4041
+ "uri": "https://static.momocdn.net/app/img/kits/security_phishing.png"
4030
4042
  }
4031
4043
  }
@@ -84,7 +84,7 @@ export const FloatingButton: React.FC<FloatingButtonProps> = ({
84
84
  });
85
85
 
86
86
  return () => {
87
- if (listener !== null) {
87
+ if (listener) {
88
88
  animatedValue?.removeListener(listener);
89
89
  }
90
90
  };
@@ -53,7 +53,7 @@ const GridSystem: React.FC<any> = ({
53
53
  {list.map((_, index) => {
54
54
  return (
55
55
  <View style={{flexDirection: 'row'}} key={index.toString()}>
56
- {index !== -0 && <View style={{width: grid.gutterSize}} />}
56
+ {index !== 0 && <View style={{width: grid.gutterSize}} />}
57
57
  <View
58
58
  key={`Grid${index.toString()}`}
59
59
  pointerEvents="none"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.92.21-beta.0",
3
+ "version": "0.92.21-beta.10",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {},
@@ -43,4 +43,4 @@
43
43
  },
44
44
  "author": "@momo-kits/foundation",
45
45
  "license": "ISC"
46
- }
46
+ }
package/publish.sh CHANGED
@@ -7,16 +7,16 @@ rsync -r --exclude=/dist ./* dist
7
7
  cd dist
8
8
 
9
9
  if [ "$1" == "stable" ]; then
10
- #npm version $(npm view @momo-kits/foundation@stable version)
11
- #npm version patch
10
+ npm version $(npm view @momo-kits/foundation@stable version)
11
+ npm version patch
12
12
  npm publish --tag stable --access=public
13
13
  elif [ "$1" == "latest" ]; then
14
- #npm version $(npm view @momo-kits/foundation@latest version)
15
- #npm version prerelease --preid=rc
14
+ npm version $(npm view @momo-kits/foundation@latest version)
15
+ npm version prerelease --preid=rc
16
16
  npm publish --tag latest --access=public
17
17
  else
18
- #npm version $(npm view @momo-kits/foundation@beta version)
19
- #npm version prerelease --preid=beta
18
+ npm version $(npm view @momo-kits/foundation@beta version)
19
+ npm version prerelease --preid=beta
20
20
  npm publish --tag beta --access=public
21
21
  fi
22
22