@umituz/react-native-ai-generation-content 1.88.8 → 1.88.9

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.88.8",
3
+ "version": "1.88.9",
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",
@@ -10,11 +10,13 @@ import { View, StyleSheet } from "react-native";
10
10
  interface IndeterminateProgressBarProps {
11
11
  readonly backgroundColor: string;
12
12
  readonly fillColor: string;
13
+ readonly height?: number;
13
14
  }
14
15
 
15
16
  export const IndeterminateProgressBar: React.FC<IndeterminateProgressBarProps> = ({
16
17
  backgroundColor,
17
18
  fillColor,
19
+ height = 8,
18
20
  }) => {
19
21
  const [position, setPosition] = useState(0);
20
22
  const directionRef = useRef(1);
@@ -39,7 +41,7 @@ export const IndeterminateProgressBar: React.FC<IndeterminateProgressBarProps> =
39
41
  }, []);
40
42
 
41
43
  return (
42
- <View style={[styles.progressBar, { backgroundColor }]}>
44
+ <View style={[styles.progressBar, { backgroundColor, height }]}>
43
45
  <View
44
46
  style={[
45
47
  styles.progressFill,
@@ -195,6 +195,7 @@ export const GeneratingScreen: React.FC<GeneratingScreenProps> = ({
195
195
  <IndeterminateProgressBar
196
196
  backgroundColor={tokens.colors.surfaceVariant}
197
197
  fillColor={tokens.colors.primary}
198
+ height={4}
198
199
  />
199
200
  </View>
200
201
  <AtomicText type="bodySmall" style={[styles.hint, { color: tokens.colors.textSecondary, opacity: 0.7 }]}>