@towsila/expo-ui-library 3.3.14 → 3.3.16
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,4 +1,4 @@
|
|
|
1
|
-
import { View, ScrollView
|
|
1
|
+
import { View, ScrollView } from "react-native";
|
|
2
2
|
import PageTopBar from "../ui/PageTopBar";
|
|
3
3
|
import { useAppTheme } from "../../context/ThemeContext";
|
|
4
4
|
import ErrorMessage from "../ui/error";
|
|
@@ -29,11 +29,6 @@ export default function TemplateSubPage({
|
|
|
29
29
|
const { colors } = useAppTheme();
|
|
30
30
|
|
|
31
31
|
return (
|
|
32
|
-
<KeyboardAvoidingView
|
|
33
|
-
style={{ flex: 1 }}
|
|
34
|
-
behavior={Platform.OS === "ios" ? "padding" : "height"}
|
|
35
|
-
keyboardVerticalOffset={Platform.OS === "ios" ? 0 : 20}
|
|
36
|
-
>
|
|
37
32
|
<View style={{
|
|
38
33
|
flex: 1,
|
|
39
34
|
paddingBottom: 60,
|
|
@@ -45,6 +40,7 @@ export default function TemplateSubPage({
|
|
|
45
40
|
style={{ flex: 1 }}
|
|
46
41
|
showsVerticalScrollIndicator={false}
|
|
47
42
|
contentContainerStyle={{ flexGrow: 1 }}
|
|
43
|
+
keyboardShouldPersistTaps="handled"
|
|
48
44
|
>
|
|
49
45
|
<View style={{ flex: 1, gap: 20, marginTop: 20 }}>
|
|
50
46
|
{error && (
|
|
@@ -66,6 +62,5 @@ export default function TemplateSubPage({
|
|
|
66
62
|
)}
|
|
67
63
|
|
|
68
64
|
</View>
|
|
69
|
-
</KeyboardAvoidingView>
|
|
70
65
|
);
|
|
71
66
|
}
|
|
File without changes
|
|
@@ -88,14 +88,6 @@ export default function ResetPasswordScreen({
|
|
|
88
88
|
error={form.errors.password ? t?.(form.errors.password) : ""}
|
|
89
89
|
onClearError={() => form.clearError("password")}
|
|
90
90
|
/>
|
|
91
|
-
{cardItems && (
|
|
92
|
-
<PasswordRequirementsCard
|
|
93
|
-
checks={form.passwordChecks}
|
|
94
|
-
cardTitle={cardTitle}
|
|
95
|
-
cardItems = {cardItems}
|
|
96
|
-
/>
|
|
97
|
-
)}
|
|
98
|
-
|
|
99
91
|
<Input
|
|
100
92
|
label={confirmPasswordLabel}
|
|
101
93
|
value={form.confirmPassword}
|
|
@@ -110,6 +102,13 @@ export default function ResetPasswordScreen({
|
|
|
110
102
|
error={form.errors.confirmPassword ? t?.(form.errors.confirmPassword) : ""}
|
|
111
103
|
onClearError={() => form.clearError("confirmPassword")}
|
|
112
104
|
/>
|
|
105
|
+
{cardItems && (
|
|
106
|
+
<PasswordRequirementsCard
|
|
107
|
+
checks={form.passwordChecks}
|
|
108
|
+
cardTitle={cardTitle}
|
|
109
|
+
cardItems = {cardItems}
|
|
110
|
+
/>
|
|
111
|
+
)}
|
|
113
112
|
</TemplateSubPage>
|
|
114
113
|
);
|
|
115
114
|
}
|