@umituz/react-native-ai-generation-content 1.17.288 → 1.17.290
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-ai-generation-content",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.290",
|
|
4
4
|
"description": "Provider-agnostic AI generation orchestration for React Native with result preview components",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "src/index.ts",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"@types/react": "~19.1.10",
|
|
63
63
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
64
64
|
"@typescript-eslint/parser": "^8.0.0",
|
|
65
|
-
"@umituz/react-native-design-system": "^2.8.
|
|
65
|
+
"@umituz/react-native-design-system": "^2.8.25",
|
|
66
66
|
"@umituz/react-native-firebase": "*",
|
|
67
67
|
"@umituz/react-native-localization": "*",
|
|
68
68
|
"eslint": "^9.0.0",
|
|
@@ -97,6 +97,15 @@ export const ResultActionBar: React.FC<ResultActionBarProps> = ({
|
|
|
97
97
|
<AtomicIcon name="share-social-outline" customSize={24} color="onPrimary" />
|
|
98
98
|
)}
|
|
99
99
|
</TouchableOpacity>
|
|
100
|
+
{showTryAgain && onTryAgain && (
|
|
101
|
+
<TouchableOpacity
|
|
102
|
+
style={styles.iconButton}
|
|
103
|
+
onPress={onTryAgain}
|
|
104
|
+
activeOpacity={0.7}
|
|
105
|
+
>
|
|
106
|
+
<AtomicIcon name="refresh-outline" customSize={24} color="onPrimary" />
|
|
107
|
+
</TouchableOpacity>
|
|
108
|
+
)}
|
|
100
109
|
{showRating && onRate && (
|
|
101
110
|
<TouchableOpacity
|
|
102
111
|
style={styles.iconButton}
|
|
@@ -121,7 +130,7 @@ export const ResultActionBar: React.FC<ResultActionBarProps> = ({
|
|
|
121
130
|
{isSaving ? (
|
|
122
131
|
<ActivityIndicator color={tokens.colors.textInverse} size="small" />
|
|
123
132
|
) : (
|
|
124
|
-
<AtomicIcon name="download" customSize={18} color="onPrimary" />
|
|
133
|
+
<AtomicIcon name="download-outline" customSize={18} color="onPrimary" />
|
|
125
134
|
)}
|
|
126
135
|
<AtomicText style={styles.buttonText}>{saveButtonText}</AtomicText>
|
|
127
136
|
</TouchableOpacity>
|
|
@@ -134,13 +143,13 @@ export const ResultActionBar: React.FC<ResultActionBarProps> = ({
|
|
|
134
143
|
{isSharing ? (
|
|
135
144
|
<ActivityIndicator color={tokens.colors.textInverse} size="small" />
|
|
136
145
|
) : (
|
|
137
|
-
<AtomicIcon name="share-
|
|
146
|
+
<AtomicIcon name="share-social-outline" customSize={18} color="onPrimary" />
|
|
138
147
|
)}
|
|
139
148
|
<AtomicText style={styles.buttonText}>{shareButtonText}</AtomicText>
|
|
140
149
|
</TouchableOpacity>
|
|
141
150
|
{showTryAgain && (
|
|
142
151
|
<TouchableOpacity style={styles.button} onPress={onTryAgain} activeOpacity={0.7}>
|
|
143
|
-
<AtomicIcon name="refresh-
|
|
152
|
+
<AtomicIcon name="refresh-outline" customSize={18} color="onPrimary" />
|
|
144
153
|
<AtomicText style={styles.buttonText}>{tryAgainButtonText}</AtomicText>
|
|
145
154
|
</TouchableOpacity>
|
|
146
155
|
)}
|
|
@@ -152,7 +152,7 @@ export const ScenarioGrid: React.FC<ScenarioGridProps> = ({
|
|
|
152
152
|
|
|
153
153
|
return (
|
|
154
154
|
<AtomicCard
|
|
155
|
-
image={item.imageUrl
|
|
155
|
+
image={item.previewImageUrl ?? item.imageUrl ?? ""}
|
|
156
156
|
title={title}
|
|
157
157
|
subtitle={description}
|
|
158
158
|
selected={selectedScenarioId === item.id}
|