@umituz/react-native-auth 2.6.2 → 2.6.4

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": "2.6.2",
3
+ "version": "2.6.4",
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",
@@ -68,4 +68,4 @@
68
68
  "README.md",
69
69
  "LICENSE"
70
70
  ]
71
- }
71
+ }
@@ -113,7 +113,7 @@ export const AuthBottomSheet: React.FC<AuthBottomSheetProps> = ({
113
113
  [],
114
114
  );
115
115
 
116
- const snapPoints = ["85%"];
116
+ const snapPoints = ["92%"];
117
117
 
118
118
  return (
119
119
  <BottomSheetModal
@@ -15,6 +15,7 @@ import {
15
15
  ActivityIndicator,
16
16
  } from "react-native";
17
17
  import { useAppDesignTokens } from "@umituz/react-native-design-system-theme";
18
+ import { Avatar } from "@umituz/react-native-avatar";
18
19
 
19
20
  export interface EditProfileConfig {
20
21
  displayName: string;
@@ -66,6 +67,16 @@ export const EditProfileScreen: React.FC<EditProfileScreenProps> = ({
66
67
  {config.labels.title}
67
68
  </Text>
68
69
 
70
+ {/* Avatar */}
71
+ <View style={styles.avatarContainer}>
72
+ <Avatar
73
+ uri={config.photoURL || undefined}
74
+ name={config.displayName}
75
+ size="xl"
76
+ shape="circle"
77
+ />
78
+ </View>
79
+
69
80
  {/* Display Name */}
70
81
  <View style={styles.field}>
71
82
  <Text style={[styles.label, { color: tokens.colors.textSecondary }]}>
@@ -182,6 +193,10 @@ const styles = StyleSheet.create({
182
193
  fontWeight: "600",
183
194
  marginBottom: 24,
184
195
  },
196
+ avatarContainer: {
197
+ alignItems: "center",
198
+ marginBottom: 24,
199
+ },
185
200
  field: {
186
201
  marginBottom: 20,
187
202
  },