@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 +1 -1
- package/src/presentation/components/AuthContainer.tsx +2 -0
- package/src/presentation/components/AuthDivider.tsx +2 -0
- package/src/presentation/components/AuthErrorDisplay.tsx +2 -0
- package/src/presentation/components/AuthFormCard.tsx +2 -0
- package/src/presentation/components/AuthGradientBackground.tsx +2 -0
- package/src/presentation/components/AuthHeader.tsx +2 -0
- package/src/presentation/components/AuthLegalLinks.tsx +2 -0
- package/src/presentation/components/AuthLink.tsx +2 -0
- package/src/presentation/components/LoginForm.tsx +2 -3
- package/src/presentation/components/RegisterForm.tsx +0 -1
- package/src/presentation/utils/getAuthErrorMessage.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umituz/react-native-auth",
|
|
3
|
-
"version": "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",
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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")}
|