@umituz/react-native-ai-generation-content 1.12.24 → 1.12.25
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 +1 -2
- package/src/features/background/presentation/components/ComparisonSlider.tsx +2 -2
- package/src/features/background/presentation/components/ErrorDisplay.tsx +1 -1
- package/src/features/background/presentation/components/FeatureHeader.tsx +1 -1
- package/src/features/background/presentation/components/GenerateButton.tsx +1 -1
- package/src/features/background/presentation/components/ImagePicker.tsx +1 -1
- package/src/features/background/presentation/components/ProcessingModal.tsx +2 -2
- package/src/features/background/presentation/components/PromptInput.tsx +5 -5
- package/src/features/background/presentation/components/ResultDisplay.tsx +2 -2
- package/src/index.ts +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umituz/react-native-ai-generation-content",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.25",
|
|
4
4
|
"description": "Provider-agnostic AI generation orchestration for React Native",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "src/index.ts",
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
".": "./src/index.ts",
|
|
9
9
|
"./prompts": "./src/domains/prompts/index.ts",
|
|
10
10
|
"./content-moderation": "./src/domains/content-moderation/index.ts",
|
|
11
|
-
"./creations": "./src/domains/creations/index.ts",
|
|
12
11
|
"./face-detection": "./src/domains/face-detection/index.ts",
|
|
13
12
|
"./feature-background": "./src/domains/feature-background/index.ts"
|
|
14
13
|
},
|
|
@@ -128,7 +128,7 @@ export const ComparisonSlider: React.FC<ComparisonSliderProps> = memo(
|
|
|
128
128
|
{beforeLabel && (
|
|
129
129
|
<View style={[styles.label, styles.labelLeft, themedStyles.labelLeft]}>
|
|
130
130
|
<AtomicText
|
|
131
|
-
|
|
131
|
+
|
|
132
132
|
color="textPrimary"
|
|
133
133
|
>
|
|
134
134
|
{beforeLabel}
|
|
@@ -139,7 +139,7 @@ export const ComparisonSlider: React.FC<ComparisonSliderProps> = memo(
|
|
|
139
139
|
{afterLabel && (
|
|
140
140
|
<View style={[styles.label, styles.labelRight, themedStyles.labelRight]}>
|
|
141
141
|
<AtomicText
|
|
142
|
-
|
|
142
|
+
|
|
143
143
|
color="backgroundPrimary"
|
|
144
144
|
>
|
|
145
145
|
{afterLabel}
|
|
@@ -35,7 +35,7 @@ export const ProcessingModal: React.FC<ProcessingModalProps> = memo(
|
|
|
35
35
|
/>
|
|
36
36
|
{title && (
|
|
37
37
|
<AtomicText
|
|
38
|
-
|
|
38
|
+
|
|
39
39
|
style={[
|
|
40
40
|
styles.title,
|
|
41
41
|
{ color: tokens.colors.textPrimary },
|
|
@@ -63,7 +63,7 @@ export const ProcessingModal: React.FC<ProcessingModalProps> = memo(
|
|
|
63
63
|
/>
|
|
64
64
|
</View>
|
|
65
65
|
<AtomicText
|
|
66
|
-
|
|
66
|
+
|
|
67
67
|
style={{ color: tokens.colors.textSecondary }}
|
|
68
68
|
>
|
|
69
69
|
{Math.round(progress)}%
|
|
@@ -28,7 +28,7 @@ export const PromptInput: React.FC<PromptInputProps> = memo(
|
|
|
28
28
|
<View style={styles.container}>
|
|
29
29
|
{label && (
|
|
30
30
|
<AtomicText
|
|
31
|
-
|
|
31
|
+
|
|
32
32
|
style={[
|
|
33
33
|
styles.label,
|
|
34
34
|
{
|
|
@@ -47,7 +47,7 @@ export const PromptInput: React.FC<PromptInputProps> = memo(
|
|
|
47
47
|
placeholder={placeholder}
|
|
48
48
|
placeholderTextColor={tokens.colors.textTertiary}
|
|
49
49
|
multiline
|
|
50
|
-
|
|
50
|
+
|
|
51
51
|
editable={!isProcessing}
|
|
52
52
|
style={[
|
|
53
53
|
styles.input,
|
|
@@ -63,7 +63,7 @@ export const PromptInput: React.FC<PromptInputProps> = memo(
|
|
|
63
63
|
<>
|
|
64
64
|
{samplePromptsLabel && (
|
|
65
65
|
<AtomicText
|
|
66
|
-
|
|
66
|
+
|
|
67
67
|
style={[
|
|
68
68
|
styles.sampleLabel,
|
|
69
69
|
{
|
|
@@ -92,9 +92,9 @@ export const PromptInput: React.FC<PromptInputProps> = memo(
|
|
|
92
92
|
disabled={isProcessing}
|
|
93
93
|
>
|
|
94
94
|
<AtomicText
|
|
95
|
-
|
|
95
|
+
|
|
96
96
|
style={{ color: tokens.colors.textSecondary }}
|
|
97
|
-
|
|
97
|
+
|
|
98
98
|
>
|
|
99
99
|
{prompt.text}
|
|
100
100
|
</AtomicText>
|
|
@@ -51,7 +51,7 @@ export const ResultDisplay: React.FC<ResultDisplayProps> = memo(
|
|
|
51
51
|
color="onSurface"
|
|
52
52
|
/>
|
|
53
53
|
<AtomicText
|
|
54
|
-
|
|
54
|
+
|
|
55
55
|
style={[styles.actionText, { color: tokens.colors.textPrimary }]}
|
|
56
56
|
>
|
|
57
57
|
{resetButtonText}
|
|
@@ -71,7 +71,7 @@ export const ResultDisplay: React.FC<ResultDisplayProps> = memo(
|
|
|
71
71
|
color="onPrimary"
|
|
72
72
|
/>
|
|
73
73
|
<AtomicText
|
|
74
|
-
|
|
74
|
+
|
|
75
75
|
style={[
|
|
76
76
|
styles.actionText,
|
|
77
77
|
{ color: tokens.colors.backgroundPrimary },
|
package/src/index.ts
CHANGED
|
@@ -234,7 +234,6 @@ export * from "./domains/prompts";
|
|
|
234
234
|
|
|
235
235
|
export * from "./domains/content-moderation";
|
|
236
236
|
|
|
237
|
-
|
|
238
237
|
// =============================================================================
|
|
239
238
|
// DOMAINS - Face Detection
|
|
240
239
|
// =============================================================================
|