@codeleap/mobile 3.20.3 → 3.21.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codeleap/mobile",
3
- "version": "3.20.3",
3
+ "version": "3.21.1",
4
4
  "main": "src/index.ts",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
@@ -196,6 +196,7 @@ const TextInputComponent = forwardRef<NativeTextInput, TextInputProps>((props, i
196
196
  value={value}
197
197
  selectionColor={selectionColor}
198
198
  secureTextEntry={password && secureTextEntry}
199
+ textAlignVertical={isMultiline ? 'top' : undefined}
199
200
  {...textInputProps}
200
201
  onBlur={handleBlur}
201
202
  onFocus={handleFocus}
@@ -209,7 +210,6 @@ const TextInputComponent = forwardRef<NativeTextInput, TextInputProps>((props, i
209
210
  ]}
210
211
  ref={innerInputRef}
211
212
  pointerEvents={isPressable ? 'none' : undefined}
212
- textAlignVertical={isMultiline ? 'top' : undefined}
213
213
  {...maskingExtraProps}
214
214
  />
215
215
  </InputBase>
@@ -75,7 +75,6 @@ const _Touchable = forwardRef<
75
75
  analyticsName,
76
76
  analyticsData = {},
77
77
  dismissKeyboard,
78
- disabled,
79
78
  ...props
80
79
  } = {
81
80
  ...defaultProps,
@@ -143,7 +142,7 @@ const _Touchable = forwardRef<
143
142
 
144
143
  }
145
144
 
146
- const _styles = StyleSheet.flatten([variantStyles.wrapper, disabled && variantStyles['wrapper:disabled'], style])
145
+ const _styles = StyleSheet.flatten([variantStyles.wrapper, props?.disabled && variantStyles['wrapper:disabled'], style])
147
146
 
148
147
  const disableFeedback = !onPress || noFeedback
149
148