@umituz/react-native-ai-generation-content 1.83.87 → 1.83.89
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.83.
|
|
3
|
+
"version": "1.83.89",
|
|
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",
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import React, { useMemo } from "react";
|
|
7
7
|
import { View, StyleSheet } from "react-native";
|
|
8
8
|
import { AtomicIcon, AtomicText } from "@umituz/react-native-design-system/atoms";
|
|
9
|
-
import { useAppDesignTokens
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
10
10
|
import type { CreationStatus, CreationTypeId } from "../../domain/types";
|
|
11
11
|
import { getStatusColorKey, getStatusText, getTypeIcon, getTypeText } from "../../domain/utils";
|
|
12
12
|
|
|
@@ -49,21 +49,21 @@ export function CreationBadges({
|
|
|
49
49
|
right: 8,
|
|
50
50
|
flexDirection: "row",
|
|
51
51
|
alignItems: "center",
|
|
52
|
-
paddingHorizontal:
|
|
53
|
-
paddingVertical:
|
|
52
|
+
paddingHorizontal: 10,
|
|
53
|
+
paddingVertical: 5,
|
|
54
54
|
borderRadius: 12,
|
|
55
|
-
backgroundColor:
|
|
55
|
+
backgroundColor: "rgba(0, 0, 0, 0.7)",
|
|
56
56
|
},
|
|
57
57
|
statusDot: {
|
|
58
58
|
width: 6,
|
|
59
59
|
height: 6,
|
|
60
60
|
borderRadius: 3,
|
|
61
|
-
marginRight:
|
|
61
|
+
marginRight: 5,
|
|
62
62
|
backgroundColor: statusColor,
|
|
63
63
|
},
|
|
64
64
|
statusText: {
|
|
65
|
-
fontSize:
|
|
66
|
-
fontWeight: "
|
|
65
|
+
fontSize: 11,
|
|
66
|
+
fontWeight: "700",
|
|
67
67
|
textTransform: "capitalize",
|
|
68
68
|
color: statusColor,
|
|
69
69
|
},
|
|
@@ -73,17 +73,17 @@ export function CreationBadges({
|
|
|
73
73
|
left: 8,
|
|
74
74
|
flexDirection: "row",
|
|
75
75
|
alignItems: "center",
|
|
76
|
-
paddingHorizontal:
|
|
77
|
-
paddingVertical:
|
|
76
|
+
paddingHorizontal: 10,
|
|
77
|
+
paddingVertical: 5,
|
|
78
78
|
borderRadius: 12,
|
|
79
|
-
backgroundColor:
|
|
79
|
+
backgroundColor: "rgba(0, 0, 0, 0.7)",
|
|
80
80
|
gap: 4,
|
|
81
|
+
maxWidth: "70%",
|
|
81
82
|
},
|
|
82
83
|
typeText: {
|
|
83
|
-
fontSize:
|
|
84
|
-
fontWeight: "
|
|
85
|
-
color:
|
|
86
|
-
textTransform: "capitalize",
|
|
84
|
+
fontSize: 11,
|
|
85
|
+
fontWeight: "700",
|
|
86
|
+
color: "#FFFFFF",
|
|
87
87
|
},
|
|
88
88
|
}),
|
|
89
89
|
[statusColor, tokens]
|
|
@@ -101,7 +101,7 @@ export function CreationBadges({
|
|
|
101
101
|
{showType && type && (
|
|
102
102
|
<View style={styles.typeBadge}>
|
|
103
103
|
<AtomicIcon name={typeIcon} color="textInverse" size="xs" />
|
|
104
|
-
<AtomicText style={styles.typeText}>{displayTypeText}</AtomicText>
|
|
104
|
+
<AtomicText style={styles.typeText} numberOfLines={1}>{displayTypeText}</AtomicText>
|
|
105
105
|
</View>
|
|
106
106
|
)}
|
|
107
107
|
</>
|