@umituz/react-native-auth 3.6.9 → 3.6.10
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": "3.6.
|
|
3
|
+
"version": "3.6.10",
|
|
4
4
|
"description": "Authentication service for React Native apps - Secure, type-safe, and production-ready. Provider-agnostic design with dependency injection, configurable validation, and comprehensive error handling.",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"types": "./src/index.ts",
|
|
@@ -12,6 +12,7 @@ import React, { useState } from "react";
|
|
|
12
12
|
import { View, StyleSheet, Alert } from "react-native";
|
|
13
13
|
import {
|
|
14
14
|
ScreenLayout,
|
|
15
|
+
ScreenHeader,
|
|
15
16
|
AtomicInput,
|
|
16
17
|
AtomicButton,
|
|
17
18
|
AtomicText,
|
|
@@ -110,7 +111,7 @@ export const ChangePasswordScreen: React.FC<ChangePasswordScreenProps> = ({
|
|
|
110
111
|
|
|
111
112
|
const RequirementsList = () => (
|
|
112
113
|
<View style={styles.requirementsContainer}>
|
|
113
|
-
<AtomicText
|
|
114
|
+
<AtomicText type="labelMedium" style={{ color: tokens.colors.textSecondary, marginBottom: 8 }}>
|
|
114
115
|
{t("auth.passwordChange.requirements")}
|
|
115
116
|
</AtomicText>
|
|
116
117
|
<RequirementItem label={t("auth.passwordChange.minLength")} met={isLengthValid} />
|
|
@@ -131,7 +132,7 @@ export const ChangePasswordScreen: React.FC<ChangePasswordScreenProps> = ({
|
|
|
131
132
|
]}
|
|
132
133
|
/>
|
|
133
134
|
<AtomicText
|
|
134
|
-
|
|
135
|
+
type="bodySmall"
|
|
135
136
|
style={{ color: met ? tokens.colors.textPrimary : tokens.colors.textSecondary }}
|
|
136
137
|
>
|
|
137
138
|
{label}
|
|
@@ -142,12 +143,12 @@ export const ChangePasswordScreen: React.FC<ChangePasswordScreenProps> = ({
|
|
|
142
143
|
return (
|
|
143
144
|
<ScreenLayout
|
|
144
145
|
scrollable
|
|
145
|
-
title={t("auth.passwordChange.title")}
|
|
146
|
+
header={<ScreenHeader title={t("auth.passwordChange.title")} />}
|
|
146
147
|
backgroundColor={tokens.colors.backgroundPrimary}
|
|
147
148
|
edges={["bottom"]}
|
|
148
149
|
>
|
|
149
150
|
<View style={styles.content}>
|
|
150
|
-
<AtomicText
|
|
151
|
+
<AtomicText type="bodyMedium" style={{ color: tokens.colors.textSecondary, marginBottom: 24 }}>
|
|
151
152
|
{t("auth.passwordChange.description")}
|
|
152
153
|
</AtomicText>
|
|
153
154
|
|