@momo-kits/foundation 0.167.1-beta.12 → 0.167.1-beta.13
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/Input/InputMoney.tsx
CHANGED
|
@@ -134,6 +134,7 @@ const InputPhoneNumber = forwardRef(
|
|
|
134
134
|
if (size === 'small') {
|
|
135
135
|
inputTextStyles = {
|
|
136
136
|
fontSize: size14,
|
|
137
|
+
fontWeight: '600',
|
|
137
138
|
fontFamily: semiboldFontFamily,
|
|
138
139
|
};
|
|
139
140
|
dividerHeight = 24;
|
|
@@ -141,6 +142,7 @@ const InputPhoneNumber = forwardRef(
|
|
|
141
142
|
} else {
|
|
142
143
|
inputTextStyles = {
|
|
143
144
|
fontSize: size18,
|
|
145
|
+
fontWeight: '700',
|
|
144
146
|
fontFamily: boldFontFamily,
|
|
145
147
|
};
|
|
146
148
|
dividerHeight = 32;
|
|
@@ -213,6 +215,7 @@ const InputPhoneNumber = forwardRef(
|
|
|
213
215
|
styles.input,
|
|
214
216
|
{
|
|
215
217
|
color: textColor,
|
|
218
|
+
fontFamily: exportFontFamily('regular'),
|
|
216
219
|
},
|
|
217
220
|
inputTextStyles,
|
|
218
221
|
secure && haveValue && { fontSize: size === 'small' ? 18 : 22 },
|
package/Text/index.tsx
CHANGED
|
@@ -153,10 +153,6 @@ const TypoStyles = (typo: Typography, newFontFamily?: string) => {
|
|
|
153
153
|
fontSize: useScaleSize(fontSize),
|
|
154
154
|
lineHeight: useScaleSize(lineHeight),
|
|
155
155
|
fontStyle,
|
|
156
|
-
// fontFamily da mang san weight. Tren Android, ReactFontManager doi
|
|
157
|
-
// `fonts/<family>_bold.ttf` khi fontWeight >= 700; file do khong ton tai nen
|
|
158
|
-
// font se roi ve font he thong. Bo fontWeight de Android dung dung file.
|
|
159
|
-
fontWeight: undefined,
|
|
160
156
|
};
|
|
161
157
|
};
|
|
162
158
|
|
package/Title/styles.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@momo-kits/foundation",
|
|
3
|
-
"version": "0.167.1-beta.
|
|
3
|
+
"version": "0.167.1-beta.13",
|
|
4
4
|
"description": "React Native Component Kits",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"scripts": {},
|
|
@@ -8,19 +8,19 @@
|
|
|
8
8
|
"@momo-kits/foundation"
|
|
9
9
|
],
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"react-native-fast-image": "git+https://oauth2:TGi6oBj-LdzsKpLXQSoH@gitlab.mservice.com.vn/momo-platform/public/react-native-fast-image.git#v8.11.0",
|
|
12
11
|
"@react-navigation/bottom-tabs": "7.4.2",
|
|
13
12
|
"@react-navigation/core": "7.12.1",
|
|
14
13
|
"@react-navigation/elements": "2.5.2",
|
|
15
14
|
"@react-navigation/native": "7.1.14",
|
|
16
15
|
"@react-navigation/routers": "7.4.1",
|
|
17
16
|
"@react-navigation/stack": "7.4.2",
|
|
17
|
+
"@shopify/flash-list": "2.1.0",
|
|
18
|
+
"lottie-react-native": "7.2.4",
|
|
19
|
+
"react-native-fast-image": "git+https://oauth2:TGi6oBj-LdzsKpLXQSoH@gitlab.mservice.com.vn/momo-platform/public/react-native-fast-image.git#v8.11.0",
|
|
18
20
|
"react-native-gesture-handler": "2.27.1",
|
|
19
21
|
"react-native-linear-gradient": "git+https://oauth2:TGi6oBj-LdzsKpLXQSoH@gitlab.mservice.com.vn/momo-platform/public/react-native-linear-gradient#v3.0.0",
|
|
20
22
|
"react-native-reanimated": "4.2.2",
|
|
21
|
-
"react-native-safe-area-context": "5.5.2"
|
|
22
|
-
"@shopify/flash-list": "2.1.0",
|
|
23
|
-
"lottie-react-native": "7.2.4"
|
|
23
|
+
"react-native-safe-area-context": "5.5.2"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"react-native": "*"
|
|
@@ -32,4 +32,4 @@
|
|
|
32
32
|
"registry": "https://registry.npmjs.org/"
|
|
33
33
|
},
|
|
34
34
|
"license": "MoMo"
|
|
35
|
-
}
|
|
35
|
+
}
|