@umituz/react-native-design-system 2.9.7 → 2.9.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-design-system",
3
- "version": "2.9.7",
3
+ "version": "2.9.9",
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",
@@ -21,7 +21,7 @@ import { InputHelper } from './input/components/InputHelper';
21
21
  * - Responsive sizing
22
22
  * - Full accessibility support
23
23
  */
24
- export const AtomicInput = React.forwardRef<TextInput, AtomicInputProps>(({
24
+ export const AtomicInput = React.forwardRef<React.ElementRef<typeof TextInput>, AtomicInputProps>(({
25
25
  variant = 'outlined',
26
26
  state = 'default',
27
27
  size = 'md',
@@ -46,7 +46,7 @@ export interface AtomicTextAreaProps {
46
46
  * AtomicTextArea - Multiline Text Input Component
47
47
  * Consistent with AtomicInput but optimized for multiline usage.
48
48
  */
49
- export const AtomicTextArea = forwardRef<TextInput, AtomicTextAreaProps>(({
49
+ export const AtomicTextArea = forwardRef<React.ElementRef<typeof TextInput>, AtomicTextAreaProps>(({
50
50
  label,
51
51
  value,
52
52
  onChangeText,
@@ -30,7 +30,7 @@ export function useAppNavigation(): AppNavigationResult {
30
30
 
31
31
  const navigate = useCallback(
32
32
  (screen: string, params?: Record<string, unknown>) => {
33
- (navigation.navigate as (name: string, params?: object) => void)(screen, params);
33
+ (navigation.navigate as unknown as (name: string, params?: object) => void)(screen, params);
34
34
  },
35
35
  [navigation]
36
36
  );