@towsila/expo-ui-library 4.10.4 → 4.10.5

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.10.4",
3
+ "version": "4.10.5",
4
4
  "description": "",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -109,7 +109,7 @@ export default function Input({
109
109
  fontFamily: textFontFamily,
110
110
 
111
111
  direction: isRTL ? "rtl" : "ltr",
112
- textAlign: isRTL ? "left" : "right",
112
+ textAlign: align,
113
113
 
114
114
  paddingStart: prefix ? prefixW + 10 : iconLeft ? 42 : 16,
115
115
  paddingEnd: iconRight ? 42 : 16,
@@ -14,8 +14,8 @@ export default function NavigationRow({icon: Icon, label, onNavigate}:Props){
14
14
  const {colors} = useAppTheme();
15
15
  const {isRTL} = useLanguage();
16
16
  const arrow: keyof typeof Ionicons.glyphMap = isRTL
17
- ? "chevron-forward-outline"
18
- : "chevron-back-outline";
17
+ ? "chevron-back-outline"
18
+ : "chevron-forward-outline";
19
19
  const align = isRTL ? "row-reverse":"row";
20
20
  return(
21
21
  <TouchableOpacity
@@ -32,7 +32,7 @@ export default function ThemeToggle({ label }: TextTheme) {
32
32
  // in RTL the thumb travels the other way
33
33
  const translateX = progress.interpolate({
34
34
  inputRange: [0, 1],
35
- outputRange: isRTL ? [0, -TRAVEL] : [0, TRAVEL],
35
+ outputRange: isRTL ? [0, TRAVEL] : [0, -TRAVEL],
36
36
  });
37
37
  const align = isRTL?"row-reverse":"row";
38
38