@umituz/react-native-ai-generation-content 1.8.1 → 1.8.3
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 +6 -4
- package/src/presentation/components/GenerationProgressBar.tsx +1 -1
- package/src/presentation/components/GenerationProgressContent.tsx +3 -3
- package/src/presentation/components/GenerationProgressModal.tsx +1 -1
- package/src/presentation/components/PendingJobCard.tsx +1 -1
- package/src/presentation/components/PendingJobCardActions.tsx +1 -1
- package/src/presentation/components/PendingJobProgressBar.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umituz/react-native-ai-generation-content",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.3",
|
|
4
4
|
"description": "Provider-agnostic AI generation orchestration for React Native",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "src/index.ts",
|
|
@@ -31,13 +31,14 @@
|
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@tanstack/react-query": ">=5.0.0",
|
|
34
|
-
"@umituz/react-native-design-system-theme": "
|
|
34
|
+
"@umituz/react-native-design-system-theme": "^1.12.3",
|
|
35
35
|
"react": ">=18.0.0",
|
|
36
36
|
"react-native": ">=0.74.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
+
"@react-native-async-storage/async-storage": "2.2.0",
|
|
39
40
|
"@tanstack/react-query": "^5.0.0",
|
|
40
|
-
"@umituz/react-native-design-system-theme": "
|
|
41
|
+
"@umituz/react-native-design-system-theme": "^1.12.3",
|
|
41
42
|
"@types/react": "~19.1.10",
|
|
42
43
|
"@types/react-native": "^0.73.0",
|
|
43
44
|
"@typescript-eslint/eslint-plugin": "^7.0.0",
|
|
@@ -45,7 +46,8 @@
|
|
|
45
46
|
"eslint": "^8.57.0",
|
|
46
47
|
"react": "19.1.0",
|
|
47
48
|
"react-native": "0.81.5",
|
|
48
|
-
"typescript": "^5.3.0"
|
|
49
|
+
"typescript": "^5.3.0",
|
|
50
|
+
"zustand": "^5.0.2"
|
|
49
51
|
},
|
|
50
52
|
"publishConfig": {
|
|
51
53
|
"access": "public"
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, StyleSheet, Text } from "react-native";
|
|
8
|
-
import { useAppDesignTokens } from "@umituz/react-native-design-system
|
|
8
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system";
|
|
9
9
|
|
|
10
10
|
export interface GenerationProgressBarProps {
|
|
11
11
|
progress: number;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, Text, TouchableOpacity, StyleSheet } from "react-native";
|
|
8
|
-
import { useAppDesignTokens } from "@umituz/react-native-design-system
|
|
8
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system";
|
|
9
9
|
import { GenerationProgressBar } from "./GenerationProgressBar";
|
|
10
10
|
|
|
11
11
|
export interface GenerationProgressContentProps {
|
|
@@ -29,7 +29,7 @@ export const GenerationProgressContent: React.FC<
|
|
|
29
29
|
title,
|
|
30
30
|
message,
|
|
31
31
|
hint,
|
|
32
|
-
dismissLabel
|
|
32
|
+
dismissLabel,
|
|
33
33
|
onDismiss,
|
|
34
34
|
backgroundColor,
|
|
35
35
|
textColor,
|
|
@@ -73,7 +73,7 @@ export const GenerationProgressContent: React.FC<
|
|
|
73
73
|
]}
|
|
74
74
|
onPress={onDismiss}
|
|
75
75
|
>
|
|
76
|
-
<Text style={styles.dismissText}>{dismissLabel}</Text>
|
|
76
|
+
<Text style={styles.dismissText}>{dismissLabel || "OK"}</Text>
|
|
77
77
|
</TouchableOpacity>
|
|
78
78
|
)}
|
|
79
79
|
</View>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { Modal, View, StyleSheet } from "react-native";
|
|
8
|
-
import { useAppDesignTokens } from "@umituz/react-native-design-system
|
|
8
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system";
|
|
9
9
|
import {
|
|
10
10
|
GenerationProgressContent,
|
|
11
11
|
GenerationProgressContentProps,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, Text, ActivityIndicator, StyleSheet } from "react-native";
|
|
8
|
-
import { useAppDesignTokens } from "@umituz/react-native-design-system
|
|
8
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system";
|
|
9
9
|
import type { BackgroundJob } from "../../domain/entities/job.types";
|
|
10
10
|
import { PendingJobProgressBar } from "./PendingJobProgressBar";
|
|
11
11
|
import { PendingJobCardActions } from "./PendingJobCardActions";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, TouchableOpacity, Text, StyleSheet } from "react-native";
|
|
8
|
-
import { useAppDesignTokens } from "@umituz/react-native-design-system
|
|
8
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system";
|
|
9
9
|
|
|
10
10
|
export interface PendingJobCardActionsProps {
|
|
11
11
|
id: string;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, StyleSheet } from "react-native";
|
|
8
|
-
import { useAppDesignTokens } from "@umituz/react-native-design-system
|
|
8
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system";
|
|
9
9
|
|
|
10
10
|
export interface PendingJobProgressBarProps {
|
|
11
11
|
progress: number;
|