@towsila/expo-ui-library 4.9.2 → 4.9.4

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": "@towsila/expo-ui-library",
3
- "version": "4.9.2",
3
+ "version": "4.9.4",
4
4
  "description": "",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -33,6 +33,7 @@ export default function TemplateSubPage({
33
33
  flex: 1,
34
34
  paddingTop: 80,
35
35
  paddingHorizontal: 20,
36
+ paddingBottom: 43,
36
37
  }}>
37
38
  <PageTopBar title={title} description={text} onBack={onBack} />
38
39
  <ScrollView
@@ -52,28 +52,32 @@ export default function TextArea({
52
52
  </Text>
53
53
  )}
54
54
 
55
- <TextInput
56
- value={value}
57
- onChangeText={handleChange}
58
- placeholder={placeholder}
59
- multiline
60
- textAlignVertical="top"
61
- maxLength={maxLength}
62
- placeholderTextColor={colors.text.placeholder}
63
- style={{
64
- minHeight,
65
- padding: 14,
66
- backgroundColor: bgColor ?? colors.background.card,
67
- borderWidth: 1.4,
68
- borderColor: error
69
- ? colors.semantic.error
70
- : colors.text.primary,
71
- borderRadius: 12,
72
- fontSize: textSize.sm,
73
- fontFamily: Fonts.montserrat.regular,
74
- color: colors.text.primary,
75
- }}
76
- />
55
+ <TextInput
56
+ value={value}
57
+ onChangeText={handleChange}
58
+ placeholder={placeholder}
59
+ multiline
60
+ textAlignVertical="top"
61
+ maxLength={maxLength}
62
+ placeholderTextColor={colors.text.placeholder}
63
+ style={{
64
+ minHeight,
65
+ padding: 14,
66
+ backgroundColor: bgColor ?? colors.background.card,
67
+ borderWidth: 1.4,
68
+ borderColor: error
69
+ ? colors.semantic.error
70
+ : colors.text.primary,
71
+ borderRadius: 12,
72
+ fontSize: textSize.sm,
73
+ fontFamily: Fonts.montserrat.regular,
74
+ color: colors.text.primary,
75
+
76
+ // Text and cursor direction
77
+ textAlign: isRTL ? "right" : "left",
78
+ writingDirection: isRTL ? "rtl" : "ltr",
79
+ }}
80
+ />
77
81
 
78
82
  {showCharCount && (
79
83
  <Text