@umituz/react-native-ai-generation-content 1.17.208 → 1.17.210

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.208",
3
+ "version": "1.17.210",
4
4
  "description": "Provider-agnostic AI generation orchestration for React Native",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -75,7 +75,7 @@ export const MemeGeneratorScreen: React.FC<MemeGeneratorScreenProps> = ({
75
75
  aspectRatio: 1,
76
76
  width: "100%",
77
77
  backgroundColor: tokens.colors.backgroundSecondary,
78
- borderRadius: tokens.borderRadius.lg,
78
+ borderRadius: tokens.radius.lg,
79
79
  justifyContent: "center",
80
80
  alignItems: "center",
81
81
  marginBottom: tokens.spacing.xl,
@@ -82,7 +82,7 @@ export const GenerateButton: React.FC<GenerateButtonProps> = ({
82
82
  backgroundColor: disabled
83
83
  ? tokens.colors.surfaceSecondary
84
84
  : tokens.colors.primary,
85
- borderRadius: tokens.borderRadius.lg,
85
+ borderRadius: tokens.radius.lg,
86
86
  flex: 1,
87
87
  },
88
88
  ]}
@@ -108,7 +108,7 @@ export const GenerateButton: React.FC<GenerateButtonProps> = ({
108
108
  styles.accessory,
109
109
  {
110
110
  backgroundColor: tokens.colors.surfaceSecondary,
111
- borderRadius: tokens.borderRadius.lg,
111
+ borderRadius: tokens.radius.lg,
112
112
  },
113
113
  ]}
114
114
  >
@@ -6,3 +6,76 @@ declare const console: {
6
6
  info: (...args: unknown[]) => void;
7
7
  debug: (...args: unknown[]) => void;
8
8
  };
9
+
10
+ // React Native + React 19 compatibility fix
11
+ // https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/67742
12
+ declare module 'react-native' {
13
+ import type {
14
+ ComponentType,
15
+ ReactElement,
16
+ JSXElementConstructor,
17
+ ReactNode,
18
+ } from 'react';
19
+
20
+ export interface ViewProps {
21
+ children?: ReactNode;
22
+ style?: any;
23
+ testID?: string;
24
+ accessible?: boolean;
25
+ accessibilityLabel?: string;
26
+ accessibilityHint?: string;
27
+ accessibilityRole?: string;
28
+ accessibilityState?: any;
29
+ onLayout?: (event: any) => void;
30
+ pointerEvents?: 'box-none' | 'box-only' | 'auto' | 'none';
31
+ hitSlop?: any;
32
+ removeClippedSubviews?: boolean;
33
+ collapsable?: boolean;
34
+ needsOffscreenAlphaCompositing?: boolean;
35
+ renderToHardwareTextureAndroid?: boolean;
36
+ shouldRasterizeIOS?: boolean;
37
+ onAccessibilityTap?: () => void;
38
+ onMagicTap?: () => void;
39
+ [key: string]: any;
40
+ }
41
+
42
+ export interface TextProps {
43
+ children?: ReactNode;
44
+ style?: any;
45
+ testID?: string;
46
+ numberOfLines?: number;
47
+ ellipsizeMode?: 'head' | 'middle' | 'tail' | 'clip';
48
+ allowFontScaling?: boolean;
49
+ adjustsFontSizeToFit?: boolean;
50
+ minimumFontScale?: number;
51
+ maxFontSizeMultiplier?: number;
52
+ selectable?: boolean;
53
+ selectionColor?: string;
54
+ accessibilityLabel?: string;
55
+ [key: string]: any;
56
+ }
57
+
58
+ export const View: ComponentType<ViewProps>;
59
+ export const Text: ComponentType<TextProps>;
60
+ export const Image: ComponentType<any>;
61
+ export const ScrollView: ComponentType<any>;
62
+ export const FlatList: ComponentType<any>;
63
+ export const SectionList: ComponentType<any>;
64
+ export const TextInput: ComponentType<any>;
65
+ export const TouchableOpacity: ComponentType<any>;
66
+ export const TouchableHighlight: ComponentType<any>;
67
+ export const TouchableWithoutFeedback: ComponentType<any>;
68
+ export const Pressable: ComponentType<any>;
69
+ export const ActivityIndicator: ComponentType<any>;
70
+ export const Modal: ComponentType<any>;
71
+ export const SafeAreaView: ComponentType<any>;
72
+ export const KeyboardAvoidingView: ComponentType<any>;
73
+ export const StatusBar: ComponentType<any>;
74
+ export const Animated: {
75
+ View: ComponentType<any>;
76
+ Text: ComponentType<any>;
77
+ Image: ComponentType<any>;
78
+ ScrollView: ComponentType<any>;
79
+ [key: string]: any;
80
+ };
81
+ }