@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.
- package/Application/BottomSheet.tsx +4 -1
- package/Assets/icon.json +12 -0
- package/Layout/FloatingButton.tsx +1 -1
- package/Layout/GridSystem.tsx +1 -1
- package/package.json +2 -2
- package/publish.sh +6 -6
|
@@ -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
|
}
|
package/Layout/GridSystem.tsx
CHANGED
|
@@ -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 !==
|
|
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.
|
|
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
|
-
|
|
11
|
-
|
|
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
|
-
|
|
15
|
-
|
|
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
|
-
|
|
19
|
-
|
|
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
|
|