@umituz/react-native-auth 1.4.1 → 1.5.0

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": "@umituz/react-native-auth",
3
- "version": "1.4.1",
3
+ "version": "1.5.0",
4
4
  "description": "Authentication service for React Native apps - Secure, type-safe, and production-ready. Provider-agnostic design supports Firebase Auth and can be adapted for Supabase or other providers.",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -62,3 +62,5 @@ const styles = StyleSheet.create({
62
62
 
63
63
 
64
64
 
65
+
66
+
@@ -60,3 +60,5 @@ const styles = StyleSheet.create({
60
60
 
61
61
 
62
62
 
63
+
64
+
@@ -44,3 +44,5 @@ const styles = StyleSheet.create({
44
44
 
45
45
 
46
46
 
47
+
48
+
@@ -39,3 +39,5 @@ const styles = StyleSheet.create({
39
39
 
40
40
 
41
41
 
42
+
43
+
@@ -24,3 +24,5 @@ export const AuthGradientBackground: React.FC = () => {
24
24
 
25
25
 
26
26
 
27
+
28
+
@@ -69,3 +69,5 @@ const styles = StyleSheet.create({
69
69
 
70
70
 
71
71
 
72
+
73
+
@@ -136,3 +136,5 @@ const styles = StyleSheet.create({
136
136
 
137
137
 
138
138
 
139
+
140
+
@@ -65,3 +65,5 @@ const styles = StyleSheet.create({
65
65
 
66
66
 
67
67
 
68
+
69
+
@@ -100,7 +100,7 @@ export const LoginForm: React.FC<LoginFormProps> = ({
100
100
  placeholder={t("auth.emailPlaceholder")}
101
101
  keyboardType="email-address"
102
102
  autoCapitalize="none"
103
- editable={!loading}
103
+ disabled={loading}
104
104
  state={emailError ? "error" : "default"}
105
105
  helperText={emailError || undefined}
106
106
  />
@@ -114,7 +114,7 @@ export const LoginForm: React.FC<LoginFormProps> = ({
114
114
  placeholder={t("auth.passwordPlaceholder")}
115
115
  secureTextEntry
116
116
  autoCapitalize="none"
117
- editable={!loading}
117
+ disabled={loading}
118
118
  state={passwordError ? "error" : "default"}
119
119
  helperText={passwordError || undefined}
120
120
  />
@@ -128,7 +128,6 @@ export const LoginForm: React.FC<LoginFormProps> = ({
128
128
  onPress={handleSignIn}
129
129
  disabled={loading || !email.trim() || !password.trim()}
130
130
  fullWidth
131
- loading={loading}
132
131
  style={styles.signInButton}
133
132
  >
134
133
  {t("auth.signIn")}
@@ -204,7 +204,6 @@ export const RegisterForm: React.FC<RegisterFormProps> = ({
204
204
  !confirmPassword.trim()
205
205
  }
206
206
  fullWidth
207
- loading={loading}
208
207
  style={styles.signUpButton}
209
208
  >
210
209
  {t("auth.signUp")}
@@ -79,3 +79,5 @@ export function getAuthErrorLocalizationKey(error: Error): string {
79
79
 
80
80
 
81
81
 
82
+
83
+