@towsila/expo-ui-library 4.11.1 → 4.11.2

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.11.1",
3
+ "version": "4.11.2",
4
4
  "description": "",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -45,8 +45,9 @@ export default function OnBoarding({
45
45
  >
46
46
  {/* ---------- Header ---------- */}
47
47
  <View style={{minHeight: 40,}}>
48
- <View style={{ height: 44, flexDirection: isRTL? "row-reverse": "row", alignItems: "center", gap: 15, justifyContent: "flex-start",}}>
48
+ <View style={{ height: 44, flexDirection: isRTL? "row-reverse": "row", alignItems: "center", gap: 15, justifyContent: "space-between",}}>
49
49
  <BackIcon onBack={onBack}/>
50
+ <View style={{flexDirection: isRTL? "row-reverse": "row", alignItems: "center", gap: 15,}}>
50
51
  <Text
51
52
  style={{
52
53
  fontSize: textSize.xl,
@@ -56,17 +57,18 @@ export default function OnBoarding({
56
57
  >
57
58
  {title}
58
59
  </Text>
60
+ <TouchableOpacity onPress={onSkip}>
61
+ <Text
62
+ style={[
63
+ styles.skipLabel,
64
+ { color: colors.text.primary, textAlign: isRTL ? "left" : "right" },
65
+ ]}
66
+ >
67
+ {skipLabel}
68
+ </Text>
69
+ </TouchableOpacity>
70
+ </View>
59
71
  </View>
60
- <TouchableOpacity onPress={onSkip}>
61
- <Text
62
- style={[
63
- styles.skipLabel,
64
- { color: colors.text.primary, textAlign: isRTL ? "left" : "right" },
65
- ]}
66
- >
67
- {skipLabel}
68
- </Text>
69
- </TouchableOpacity>
70
72
  </View>
71
73
 
72
74
  {/* ---------- Content ---------- */}
@@ -17,7 +17,9 @@ export default function ScreenHeader({title, description, onBack}:PageProps){
17
17
  return (
18
18
  <View style={{minHeight: 40, gap: 10}}>
19
19
  <View style={{ height: 44, flexDirection: isRTL? "row-reverse": "row", alignItems: "center", gap: 15}}>
20
- <BackIcon onBack={onBack}/>
20
+ {onBack && (
21
+ <BackIcon onBack={onBack}/>
22
+ )}
21
23
  <Text
22
24
  style={{
23
25
  fontSize: textSize.xl,