@umituz/react-native-auth 3.1.11 → 3.2.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": "3.1.11",
3
+ "version": "3.2.0",
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",
@@ -59,8 +59,8 @@
59
59
  "@react-native-async-storage/async-storage": "^1.24.0",
60
60
  "@react-native-community/datetimepicker": "^8.5.1",
61
61
  "@react-navigation/bottom-tabs": "^7.9.0",
62
- "@react-navigation/native": "^6.0.0",
63
- "@react-navigation/stack": "^6.0.0",
62
+ "@react-navigation/native": "^7.1.26",
63
+ "@react-navigation/stack": "^7.6.13",
64
64
  "@sentry/react-native": "^7.8.0",
65
65
  "@sentry/types": "^10.32.1",
66
66
  "@tanstack/react-query": "^5.0.0",
@@ -68,16 +68,16 @@
68
68
  "@types/react": "~19.1.0",
69
69
  "@typescript-eslint/eslint-plugin": "^7.0.0",
70
70
  "@typescript-eslint/parser": "^7.0.0",
71
- "@umituz/react-native-design-system": "latest",
72
- "@umituz/react-native-design-system-theme": "latest",
71
+ "@umituz/react-native-design-system": "^2.5.1",
72
+ "@umituz/react-native-design-system-theme": "*",
73
73
  "@umituz/react-native-firebase": "^1.13.27",
74
- "@umituz/react-native-haptics": "latest",
75
- "@umituz/react-native-localization": "latest",
76
- "@umituz/react-native-sentry": "latest",
77
- "@umituz/react-native-storage": "latest",
78
- "@umituz/react-native-tanstack": "latest",
79
- "@umituz/react-native-uuid": "latest",
80
- "@umituz/react-native-validation": "latest",
74
+ "@umituz/react-native-haptics": "*",
75
+ "@umituz/react-native-localization": "*",
76
+ "@umituz/react-native-sentry": "*",
77
+ "@umituz/react-native-storage": "*",
78
+ "@umituz/react-native-tanstack": "*",
79
+ "@umituz/react-native-uuid": "*",
80
+ "@umituz/react-native-validation": "*",
81
81
  "eslint": "^8.57.0",
82
82
  "expo-apple-authentication": "^6.0.0",
83
83
  "expo-application": "^7.0.8",
@@ -5,11 +5,11 @@
5
5
 
6
6
  import React from "react";
7
7
  import { View, StyleSheet } from "react-native";
8
- import { AtomicText, useResponsiveDesignTokens } from "@umituz/react-native-design-system";
8
+ import { AtomicText, useAppDesignTokens } from "@umituz/react-native-design-system";
9
9
  import { useLocalization } from "@umituz/react-native-localization";
10
10
 
11
11
  export const AuthDivider: React.FC = () => {
12
- const tokens = useResponsiveDesignTokens();
12
+ const tokens = useAppDesignTokens();
13
13
  const { t } = useLocalization();
14
14
 
15
15
  return (
@@ -27,7 +27,6 @@ export const AuthDivider: React.FC = () => {
27
27
  textTransform: "uppercase",
28
28
  letterSpacing: 0.5,
29
29
  }}
30
- responsive
31
30
  >
32
31
  {t("general.or")}
33
32
  </AtomicText>
@@ -5,14 +5,14 @@
5
5
 
6
6
  import React from "react";
7
7
  import { View, StyleSheet } from "react-native";
8
- import { useResponsiveDesignTokens } from "@umituz/react-native-design-system";
8
+ import { useAppDesignTokens } from "@umituz/react-native-design-system";
9
9
 
10
10
  interface AuthFormCardProps {
11
11
  children: React.ReactNode;
12
12
  }
13
13
 
14
14
  export const AuthFormCard: React.FC<AuthFormCardProps> = ({ children }) => {
15
- const tokens = useResponsiveDesignTokens();
15
+ const tokens = useAppDesignTokens();
16
16
 
17
17
  return (
18
18
  <View
@@ -5,7 +5,7 @@
5
5
 
6
6
  import React from "react";
7
7
  import { View, StyleSheet } from "react-native";
8
- import { AtomicText, useResponsiveDesignTokens } from "@umituz/react-native-design-system";
8
+ import { AtomicText, useAppDesignTokens } from "@umituz/react-native-design-system";
9
9
  import { useLocalization } from "@umituz/react-native-localization";
10
10
 
11
11
  interface AuthHeaderProps {
@@ -14,7 +14,7 @@ interface AuthHeaderProps {
14
14
  }
15
15
 
16
16
  export const AuthHeader: React.FC<AuthHeaderProps> = ({ title, subtitle }) => {
17
- const tokens = useResponsiveDesignTokens();
17
+ const tokens = useAppDesignTokens();
18
18
  const { t } = useLocalization();
19
19
 
20
20
  return (
@@ -22,7 +22,6 @@ export const AuthHeader: React.FC<AuthHeaderProps> = ({ title, subtitle }) => {
22
22
  <AtomicText
23
23
  type="headlineLarge"
24
24
  style={{ color: tokens.colors.onPrimary, textAlign: "center" }}
25
- responsive
26
25
  >
27
26
  {title}
28
27
  </AtomicText>
@@ -34,7 +33,6 @@ export const AuthHeader: React.FC<AuthHeaderProps> = ({ title, subtitle }) => {
34
33
  textAlign: "center",
35
34
  marginTop: tokens.spacing.xs,
36
35
  }}
37
- responsive
38
36
  >
39
37
  {subtitle || t("auth.subtitle")}
40
38
  </AtomicText>
@@ -5,7 +5,7 @@
5
5
 
6
6
  import React from "react";
7
7
  import { View, StyleSheet } from "react-native";
8
- import { AtomicText, AtomicButton, useResponsiveDesignTokens } from "@umituz/react-native-design-system";
8
+ import { AtomicText, AtomicButton, useAppDesignTokens } from "@umituz/react-native-design-system";
9
9
 
10
10
  interface AuthLinkProps {
11
11
  text: string;
@@ -20,14 +20,13 @@ export const AuthLink: React.FC<AuthLinkProps> = ({
20
20
  onPress,
21
21
  disabled = false,
22
22
  }) => {
23
- const tokens = useResponsiveDesignTokens();
23
+ const tokens = useAppDesignTokens();
24
24
 
25
25
  return (
26
26
  <View style={[styles.container, { marginTop: tokens.spacing.xs, paddingTop: tokens.spacing.xs }]}>
27
27
  <AtomicText
28
28
  type="bodyMedium"
29
29
  style={{ color: tokens.colors.textSecondary }}
30
- responsive
31
30
  >
32
31
  {text}{" "}
33
32
  </AtomicText>