@umituz/react-native-design-system 2.8.6 → 2.8.7
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-design-system",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.7",
|
|
4
4
|
"description": "Universal design system for React Native apps - Consolidated package with atoms, molecules, organisms, theme, typography, responsive, safe area, exception, infinite scroll, UUID, image, timezone, offline, and onboarding utilities",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"types": "./src/index.ts",
|
|
@@ -51,7 +51,7 @@ export class ImageBatchService {
|
|
|
51
51
|
const chunk = operations.slice(i, i + concurrency);
|
|
52
52
|
|
|
53
53
|
const chunkResults = await Promise.all(
|
|
54
|
-
chunk.map(operation => BatchProcessor.processBatchItem(operation
|
|
54
|
+
chunk.map(operation => BatchProcessor.processBatchItem(operation))
|
|
55
55
|
);
|
|
56
56
|
|
|
57
57
|
// Process results
|
|
@@ -85,8 +85,9 @@ export const TextStyleTab: React.FC<TabProps & {
|
|
|
85
85
|
export const TextTransformTab: React.FC<TabProps & {
|
|
86
86
|
scale: number; setScale: (s: number) => void;
|
|
87
87
|
rotation: number; setRotation: (r: number) => void;
|
|
88
|
+
opacity: number; setOpacity: (o: number) => void;
|
|
88
89
|
onDelete?: () => void;
|
|
89
|
-
}> = ({ scale, setScale, rotation, setRotation, onDelete }) => {
|
|
90
|
+
}> = ({ scale, setScale, rotation, setRotation, opacity, setOpacity, onDelete }) => {
|
|
90
91
|
const tokens = useAppDesignTokens();
|
|
91
92
|
return (
|
|
92
93
|
<View style={{ gap: tokens.spacing.xl }}>
|
|
@@ -98,6 +99,10 @@ export const TextTransformTab: React.FC<TabProps & {
|
|
|
98
99
|
<AtomicText style={{ ...tokens.typography.labelMedium, marginBottom: tokens.spacing.xs }}>Rotation: {Math.round(rotation)}°</AtomicText>
|
|
99
100
|
<Slider value={rotation} onValueChange={setRotation} minimumValue={0} maximumValue={360} step={1} minimumTrackTintColor={tokens.colors.primary} />
|
|
100
101
|
</View>
|
|
102
|
+
<View>
|
|
103
|
+
<AtomicText style={{ ...tokens.typography.labelMedium, marginBottom: tokens.spacing.xs }}>Opacity: {(opacity * 100).toFixed(0)}%</AtomicText>
|
|
104
|
+
<Slider value={opacity} onValueChange={setOpacity} minimumValue={0} maximumValue={1} step={0.05} minimumTrackTintColor={tokens.colors.primary} />
|
|
105
|
+
</View>
|
|
101
106
|
{onDelete && (
|
|
102
107
|
<TouchableOpacity onPress={onDelete} style={{
|
|
103
108
|
flexDirection: 'row', alignItems: 'center', justifyContent: 'center', gap: tokens.spacing.sm,
|