@momo-kits/foundation 0.150.2-beta.22 → 0.150.2-beta.24

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.
@@ -202,6 +202,7 @@ const InputOTP = forwardRef(
202
202
  const renderInputView = () => {
203
203
  return (
204
204
  <TouchableOpacity
205
+ activeOpacity={1}
205
206
  onPress={() => inputRef.current?.focus()}
206
207
  style={[
207
208
  styles.otpInput,
@@ -238,6 +239,7 @@ const InputOTP = forwardRef(
238
239
  {...props}
239
240
  ref={inputRef}
240
241
  value={value}
242
+ textAlign={'center'}
241
243
  onChangeText={_onChangeText}
242
244
  keyboardType={dataType === 'number' ? 'number-pad' : 'default'}
243
245
  allowFontScaling={false}
package/Input/styles.ts CHANGED
@@ -1,6 +1,6 @@
1
- import {Platform, StyleSheet} from 'react-native';
2
- import {Colors, Radius, Spacing} from '../Consts';
3
- import {scaleSize} from '../Text';
1
+ import { Platform, StyleSheet } from 'react-native';
2
+ import { Colors, Radius, Spacing } from '../Consts';
3
+ import { scaleSize } from '../Text';
4
4
 
5
5
  export default StyleSheet.create({
6
6
  //input style
@@ -31,8 +31,8 @@ export default StyleSheet.create({
31
31
  flexDirection: 'row',
32
32
  alignItems: 'center',
33
33
  },
34
- floatingIcon: {marginLeft: Spacing.XS},
35
- errorIcon: {marginRight: Spacing.XS, marginTop: Spacing.XXS},
34
+ floatingIcon: { marginLeft: Spacing.XS },
35
+ errorIcon: { marginRight: Spacing.XS, marginTop: Spacing.XXS },
36
36
  errorView: {
37
37
  flexDirection: 'row',
38
38
  marginTop: Spacing.XS,
@@ -119,8 +119,8 @@ export default StyleSheet.create({
119
119
  iconSearchInput: {
120
120
  marginLeft: Spacing.S,
121
121
  },
122
- searchInputContainer: {flexDirection: 'row', alignItems: 'center'},
123
- textButton: {marginLeft: Spacing.L},
122
+ searchInputContainer: { flexDirection: 'row', alignItems: 'center' },
123
+ textButton: { marginLeft: Spacing.L },
124
124
  divider: {
125
125
  width: 1,
126
126
  height: 20,
@@ -178,16 +178,17 @@ export default StyleSheet.create({
178
178
  position: 'absolute',
179
179
  width: '100%',
180
180
  height: '100%',
181
- opacity: 0.01,
181
+ opacity: 0.02,
182
182
  backgroundColor: 'transparent',
183
+ zIndex: 2,
183
184
  },
184
185
  otpRealInput: {
185
- opacity: 0.01,
186
186
  width: '100%',
187
187
  height: '100%',
188
- zIndex: 1,
188
+ zIndex: 2,
189
+ opacity: 0.02,
190
+ letterSpacing: Spacing.XXL,
189
191
  },
190
-
191
192
  //DropDown
192
193
  inputDropDownWrapper: {
193
194
  flexDirection: 'row',
@@ -216,5 +217,5 @@ export default StyleSheet.create({
216
217
  borderRadius: Radius.XS,
217
218
  overflow: 'hidden',
218
219
  },
219
- currency: {fontSize: scaleSize(20), fontWeight: 'bold'},
220
+ currency: { fontSize: scaleSize(20), fontWeight: 'bold' },
220
221
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.150.2-beta.22",
3
+ "version": "0.150.2-beta.24",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {},