@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.
@@ -90,6 +90,7 @@ const HeaderTitle: React.FC<
90
90
  {
91
91
  fontSize: useScaleSize(15),
92
92
  lineHeight: useScaleSize(22),
93
+ fontWeight: 'bold',
93
94
  },
94
95
  {
95
96
  fontFamily: exportFontFamily(
@@ -361,6 +361,7 @@ const InputMoney = forwardRef(
361
361
  height: '100%',
362
362
  fontSize: scaledFontSize,
363
363
  paddingVertical: Spacing.S,
364
+ fontWeight: 'bold',
364
365
  fontFamily: inputFontFamily,
365
366
  },
366
367
  {
@@ -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 },
@@ -190,5 +190,6 @@ const styles = StyleSheet.create({
190
190
  },
191
191
  label: {
192
192
  marginLeft: 8,
193
+ fontWeight: '700',
193
194
  },
194
195
  });
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
@@ -42,6 +42,7 @@ export default StyleSheet.create({
42
42
  },
43
43
  contentView: { marginRight: Spacing.S, flex: 1 },
44
44
  title: {
45
+ fontWeight: 'bold',
45
46
  color: Colors.black_17,
46
47
  },
47
48
  badge: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.167.1-beta.12",
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
+ }