@umituz/react-native-design-system 2.6.0 → 2.6.1

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.6.0",
3
+ "version": "2.6.1",
4
4
  "description": "Universal design system for React Native apps - Consolidated package with atoms, molecules, organisms, theme, typography, responsive and safe area utilities",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -1,92 +0,0 @@
1
- declare module 'react-native-reanimated' {
2
- import React from 'react';
3
-
4
- export interface WithTimingConfig {
5
- duration?: number;
6
- easing?: (value: number) => number;
7
- }
8
-
9
- export interface WithSpringConfig {
10
- damping?: number;
11
- stiffness?: number;
12
- mass?: number;
13
- overshootClamping?: boolean;
14
- restDisplacementThreshold?: number;
15
- restSpeedThreshold?: number;
16
- }
17
-
18
- export interface SharedValue<T> {
19
- value: T;
20
- }
21
-
22
- export const Animated: {
23
- View: React.ComponentType<any>;
24
- Text: React.ComponentType<any>;
25
- Image: React.ComponentType<any>;
26
- ScrollView: React.ComponentType<any>;
27
- };
28
-
29
- export function useSharedValue<T>(initialValue: T): SharedValue<T>;
30
- export function useAnimatedStyle<T>(styleFactory: () => T): T;
31
- export function withTiming(toValue: any, config?: WithTimingConfig): any;
32
- export function withSpring(toValue: any, config?: WithSpringConfig): any;
33
- export function withSequence(...animations: any[]): any;
34
- export function withRepeat(animation: any, count?: number, reverse?: boolean): any;
35
- export function runOnUI<T>(fn: () => T): () => T;
36
- export function runOnJS<T extends (...args: any[]) => any>(fn: T): T;
37
- export function cancelAnimation(sharedValue: SharedValue<any>): void;
38
-
39
- export const Easing: {
40
- linear: (t: number) => number;
41
- ease: (t: number) => number;
42
- easeIn: (t: number) => number;
43
- easeOut: (t: number) => number;
44
- easeInOut: (t: number) => number;
45
- step0: (t: number) => number;
46
- step1: (t: number) => number;
47
- bezier: (x1: number, y1: number, x2: number, y2: number) => (t: number) => number;
48
- cubic: (x1: number, y1: number, x2: number, y2: number) => (t: number) => number;
49
- in: (easing: (t: number) => number) => (t: number) => number;
50
- out: (easing: (t: number) => number) => (t: number) => number;
51
- inOut: (easing: (t: number) => number) => (t: number) => number;
52
- };
53
- }
54
-
55
- declare module 'react-native-gesture-handler' {
56
- import React from 'react';
57
-
58
- export interface PanGestureHandlerProps {
59
- onGestureEvent?: (event: any) => void;
60
- onHandlerStateChange?: (event: any) => void;
61
- }
62
-
63
- export interface TapGestureHandlerProps {
64
- onHandlerStateChange?: (event: any) => void;
65
- }
66
-
67
- export interface PinchGestureHandlerProps {
68
- onGestureEvent?: (event: any) => void;
69
- onHandlerStateChange?: (event: any) => void;
70
- }
71
-
72
- export interface LongPressGestureHandlerProps {
73
- onHandlerStateChange?: (event: any) => void;
74
- }
75
-
76
- export const GestureDetector: React.FC<{
77
- gesture: any;
78
- children: React.ReactNode;
79
- }>;
80
-
81
- export const Gesture: {
82
- Tap: () => any;
83
- Pan: () => any;
84
- Pinch: () => any;
85
- LongPress: () => any;
86
- };
87
-
88
- export const PanGestureHandler: React.FC<PanGestureHandlerProps>;
89
- export const TapGestureHandler: React.FC<TapGestureHandlerProps>;
90
- export const PinchGestureHandler: React.FC<PinchGestureHandlerProps>;
91
- export const LongPressGestureHandler: React.FC<LongPressGestureHandlerProps>;
92
- }
@@ -1,21 +0,0 @@
1
- import 'react-native';
2
-
3
- declare module 'react-native' {
4
- import { FC } from 'react';
5
- import { ViewProps as RNViewProps, TextProps as RNTextProps } from 'react-native';
6
-
7
- export const View: FC<RNViewProps>;
8
- export const Text: FC<RNTextProps>;
9
- export const ScrollView: FC<any>;
10
- export const FlatList: FC<any>;
11
- export const TouchableOpacity: FC<any>;
12
- export const TouchableHighlight: FC<any>;
13
- export const Pressable: FC<any>;
14
- export const TextInput: FC<any>;
15
- export const Image: FC<any>;
16
- export const ActivityIndicator: FC<any>;
17
- export const Modal: FC<any>;
18
- export const Switch: FC<any>;
19
- export const KeyboardAvoidingView: FC<any>;
20
- export const RefreshControl: FC<any>;
21
- }