@amazecontinuityprojects/amazeui 1.0.0 → 1.0.2
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/dist/index.d.mts +51 -35
- package/dist/index.d.ts +51 -35
- package/dist/index.js +210 -160
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +203 -153
- package/dist/index.mjs.map +1 -1
- package/dist/tailwind.css +229 -0
- package/package.json +4 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,53 +1,54 @@
|
|
|
1
|
-
import * as react_native from 'react-native';
|
|
2
|
-
import { PressableProps, ViewProps, View, TextProps, Text, TextInputProps, TextInput, SwitchProps as SwitchProps$1, Switch as Switch$1, ModalProps } from 'react-native';
|
|
3
1
|
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
|
|
4
2
|
import * as React from 'react';
|
|
3
|
+
import * as react_native from 'react-native';
|
|
4
|
+
import { PressableProps, ViewProps, TextProps, TextInputProps, SwitchProps as SwitchProps$1, Switch as Switch$1, ModalProps } from 'react-native';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
6
|
import { ClassValue } from 'clsx';
|
|
7
7
|
|
|
8
8
|
declare const buttonVariants: (props?: ({
|
|
9
|
-
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" |
|
|
9
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
10
10
|
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
11
11
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
12
12
|
declare const buttonTextVariants: (props?: ({
|
|
13
|
-
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" |
|
|
13
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
14
14
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
15
15
|
interface ButtonProps extends PressableProps, VariantProps<typeof buttonVariants> {
|
|
16
16
|
children: React.ReactNode;
|
|
17
17
|
className?: string;
|
|
18
18
|
textClassName?: string;
|
|
19
|
+
onClick?: (event: any) => void;
|
|
19
20
|
}
|
|
20
|
-
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<
|
|
21
|
+
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<any>>;
|
|
21
22
|
|
|
22
23
|
declare const Card: React.ForwardRefExoticComponent<ViewProps & {
|
|
23
24
|
className?: string;
|
|
24
|
-
} & React.RefAttributes<
|
|
25
|
+
} & React.RefAttributes<any>>;
|
|
25
26
|
declare const CardHeader: React.ForwardRefExoticComponent<ViewProps & {
|
|
26
27
|
className?: string;
|
|
27
|
-
} & React.RefAttributes<
|
|
28
|
+
} & React.RefAttributes<any>>;
|
|
28
29
|
declare const CardTitle: React.ForwardRefExoticComponent<TextProps & {
|
|
29
30
|
className?: string;
|
|
30
|
-
} & React.RefAttributes<
|
|
31
|
+
} & React.RefAttributes<any>>;
|
|
31
32
|
declare const CardDescription: React.ForwardRefExoticComponent<TextProps & {
|
|
32
33
|
className?: string;
|
|
33
|
-
} & React.RefAttributes<
|
|
34
|
+
} & React.RefAttributes<any>>;
|
|
34
35
|
declare const CardContent: React.ForwardRefExoticComponent<ViewProps & {
|
|
35
36
|
className?: string;
|
|
36
|
-
} & React.RefAttributes<
|
|
37
|
+
} & React.RefAttributes<any>>;
|
|
37
38
|
declare const CardFooter: React.ForwardRefExoticComponent<ViewProps & {
|
|
38
39
|
className?: string;
|
|
39
|
-
} & React.RefAttributes<
|
|
40
|
+
} & React.RefAttributes<any>>;
|
|
40
41
|
|
|
41
42
|
interface InputProps extends TextInputProps {
|
|
42
43
|
className?: string;
|
|
43
44
|
}
|
|
44
|
-
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<
|
|
45
|
+
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<any>>;
|
|
45
46
|
|
|
46
47
|
declare const labelVariants: (props?: ({} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
47
48
|
interface LabelProps extends TextProps, VariantProps<typeof labelVariants> {
|
|
48
49
|
className?: string;
|
|
49
50
|
}
|
|
50
|
-
declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<
|
|
51
|
+
declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<any>>;
|
|
51
52
|
|
|
52
53
|
interface SkeletonProps extends ViewProps {
|
|
53
54
|
className?: string;
|
|
@@ -55,6 +56,9 @@ interface SkeletonProps extends ViewProps {
|
|
|
55
56
|
declare function Skeleton({ className, ...props }: SkeletonProps): React.JSX.Element;
|
|
56
57
|
|
|
57
58
|
interface SwitchProps extends SwitchProps$1 {
|
|
59
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
60
|
+
checked?: boolean;
|
|
61
|
+
onChange?: (event: any) => void;
|
|
58
62
|
className?: string;
|
|
59
63
|
}
|
|
60
64
|
declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<Switch$1>>;
|
|
@@ -63,7 +67,7 @@ interface ProgressProps extends ViewProps {
|
|
|
63
67
|
className?: string;
|
|
64
68
|
value?: number;
|
|
65
69
|
}
|
|
66
|
-
declare const Progress: React.ForwardRefExoticComponent<ProgressProps & React.RefAttributes<
|
|
70
|
+
declare const Progress: React.ForwardRefExoticComponent<ProgressProps & React.RefAttributes<any>>;
|
|
67
71
|
|
|
68
72
|
interface TabsProps extends ViewProps {
|
|
69
73
|
value?: string;
|
|
@@ -74,35 +78,35 @@ interface TabsProps extends ViewProps {
|
|
|
74
78
|
declare function Tabs({ value: controlledValue, defaultValue, onValueChange, className, children, ...props }: TabsProps): React.JSX.Element;
|
|
75
79
|
declare const TabsList: React.ForwardRefExoticComponent<ViewProps & {
|
|
76
80
|
className?: string;
|
|
77
|
-
} & React.RefAttributes<
|
|
81
|
+
} & React.RefAttributes<any>>;
|
|
78
82
|
declare const TabsTrigger: React.ForwardRefExoticComponent<PressableProps & {
|
|
79
83
|
value: string;
|
|
80
84
|
className?: string;
|
|
81
85
|
textClassName?: string;
|
|
82
|
-
} & React.RefAttributes<
|
|
86
|
+
} & React.RefAttributes<any>>;
|
|
83
87
|
declare const TabsContent: React.ForwardRefExoticComponent<ViewProps & {
|
|
84
88
|
value: string;
|
|
85
89
|
className?: string;
|
|
86
|
-
} & React.RefAttributes<
|
|
90
|
+
} & React.RefAttributes<any>>;
|
|
87
91
|
|
|
88
92
|
declare const Table: React.ForwardRefExoticComponent<ViewProps & {
|
|
89
93
|
className?: string;
|
|
90
|
-
} & React.RefAttributes<
|
|
94
|
+
} & React.RefAttributes<any>>;
|
|
91
95
|
declare const TableHeader: React.ForwardRefExoticComponent<ViewProps & {
|
|
92
96
|
className?: string;
|
|
93
|
-
} & React.RefAttributes<
|
|
97
|
+
} & React.RefAttributes<any>>;
|
|
94
98
|
declare const TableBody: React.ForwardRefExoticComponent<ViewProps & {
|
|
95
99
|
className?: string;
|
|
96
|
-
} & React.RefAttributes<
|
|
100
|
+
} & React.RefAttributes<any>>;
|
|
97
101
|
declare const TableRow: React.ForwardRefExoticComponent<ViewProps & {
|
|
98
102
|
className?: string;
|
|
99
|
-
} & React.RefAttributes<
|
|
103
|
+
} & React.RefAttributes<any>>;
|
|
100
104
|
declare const TableHead: React.ForwardRefExoticComponent<ViewProps & {
|
|
101
105
|
className?: string;
|
|
102
|
-
} & React.RefAttributes<
|
|
106
|
+
} & React.RefAttributes<any>>;
|
|
103
107
|
declare const TableCell: React.ForwardRefExoticComponent<ViewProps & {
|
|
104
108
|
className?: string;
|
|
105
|
-
} & React.RefAttributes<
|
|
109
|
+
} & React.RefAttributes<any>>;
|
|
106
110
|
|
|
107
111
|
interface DialogProps extends ModalProps {
|
|
108
112
|
open?: boolean;
|
|
@@ -110,10 +114,13 @@ interface DialogProps extends ModalProps {
|
|
|
110
114
|
children?: React.ReactNode;
|
|
111
115
|
}
|
|
112
116
|
declare function Dialog({ open, onOpenChange, children, ...props }: DialogProps): React.JSX.Element;
|
|
113
|
-
declare const DialogTrigger: React.ForwardRefExoticComponent<Omit<react_native.PressableProps &
|
|
117
|
+
declare const DialogTrigger: React.ForwardRefExoticComponent<Omit<react_native.PressableProps & {
|
|
118
|
+
className?: string;
|
|
119
|
+
onClick?: any;
|
|
120
|
+
} & React.RefAttributes<any>, "ref"> & React.RefAttributes<any>>;
|
|
114
121
|
declare const DialogContent: React.ForwardRefExoticComponent<ViewProps & {
|
|
115
122
|
className?: string;
|
|
116
|
-
} & React.RefAttributes<
|
|
123
|
+
} & React.RefAttributes<any>>;
|
|
117
124
|
declare const DialogHeader: {
|
|
118
125
|
({ className, ...props }: ViewProps & {
|
|
119
126
|
className?: string;
|
|
@@ -128,38 +135,47 @@ declare const DialogFooter: {
|
|
|
128
135
|
};
|
|
129
136
|
declare const DialogTitle: React.ForwardRefExoticComponent<TextProps & {
|
|
130
137
|
className?: string;
|
|
131
|
-
} & React.RefAttributes<
|
|
138
|
+
} & React.RefAttributes<any>>;
|
|
132
139
|
declare const DialogDescription: React.ForwardRefExoticComponent<TextProps & {
|
|
133
140
|
className?: string;
|
|
134
|
-
} & React.RefAttributes<
|
|
141
|
+
} & React.RefAttributes<any>>;
|
|
135
142
|
|
|
136
143
|
interface DropdownMenuProps {
|
|
137
144
|
children: React.ReactNode;
|
|
138
145
|
}
|
|
139
146
|
declare function DropdownMenu({ children }: DropdownMenuProps): React.JSX.Element;
|
|
140
|
-
declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<Omit<react_native.PressableProps &
|
|
147
|
+
declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<Omit<react_native.PressableProps & {
|
|
148
|
+
className?: string;
|
|
149
|
+
onClick?: any;
|
|
150
|
+
} & React.RefAttributes<any>, "ref"> & React.RefAttributes<any>>;
|
|
141
151
|
declare const DropdownMenuContent: React.ForwardRefExoticComponent<ViewProps & {
|
|
142
152
|
className?: string;
|
|
143
|
-
} & React.RefAttributes<
|
|
144
|
-
declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<react_native.PressableProps &
|
|
153
|
+
} & React.RefAttributes<any>>;
|
|
154
|
+
declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<react_native.PressableProps & {
|
|
155
|
+
className?: string;
|
|
156
|
+
onClick?: any;
|
|
157
|
+
} & React.RefAttributes<any> & {
|
|
145
158
|
className?: string;
|
|
146
159
|
textClassName?: string;
|
|
147
|
-
}, "ref"> & React.RefAttributes<
|
|
160
|
+
}, "ref"> & React.RefAttributes<any>>;
|
|
148
161
|
declare const DropdownMenuLabel: React.ForwardRefExoticComponent<TextProps & {
|
|
149
162
|
className?: string;
|
|
150
|
-
} & React.RefAttributes<
|
|
163
|
+
} & React.RefAttributes<any>>;
|
|
151
164
|
declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<ViewProps & {
|
|
152
165
|
className?: string;
|
|
153
|
-
} & React.RefAttributes<
|
|
166
|
+
} & React.RefAttributes<any>>;
|
|
154
167
|
|
|
155
168
|
interface PopoverProps {
|
|
156
169
|
children: React.ReactNode;
|
|
157
170
|
}
|
|
158
171
|
declare function Popover({ children }: PopoverProps): React.JSX.Element;
|
|
159
|
-
declare const PopoverTrigger: React.ForwardRefExoticComponent<Omit<react_native.PressableProps &
|
|
172
|
+
declare const PopoverTrigger: React.ForwardRefExoticComponent<Omit<react_native.PressableProps & {
|
|
173
|
+
className?: string;
|
|
174
|
+
onClick?: any;
|
|
175
|
+
} & React.RefAttributes<any>, "ref"> & React.RefAttributes<any>>;
|
|
160
176
|
declare const PopoverContent: React.ForwardRefExoticComponent<ViewProps & {
|
|
161
177
|
className?: string;
|
|
162
|
-
} & React.RefAttributes<
|
|
178
|
+
} & React.RefAttributes<any>>;
|
|
163
179
|
|
|
164
180
|
declare function cn(...inputs: ClassValue[]): string;
|
|
165
181
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,53 +1,54 @@
|
|
|
1
|
-
import * as react_native from 'react-native';
|
|
2
|
-
import { PressableProps, ViewProps, View, TextProps, Text, TextInputProps, TextInput, SwitchProps as SwitchProps$1, Switch as Switch$1, ModalProps } from 'react-native';
|
|
3
1
|
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
|
|
4
2
|
import * as React from 'react';
|
|
3
|
+
import * as react_native from 'react-native';
|
|
4
|
+
import { PressableProps, ViewProps, TextProps, TextInputProps, SwitchProps as SwitchProps$1, Switch as Switch$1, ModalProps } from 'react-native';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
6
|
import { ClassValue } from 'clsx';
|
|
7
7
|
|
|
8
8
|
declare const buttonVariants: (props?: ({
|
|
9
|
-
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" |
|
|
9
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
10
10
|
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
11
11
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
12
12
|
declare const buttonTextVariants: (props?: ({
|
|
13
|
-
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" |
|
|
13
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
14
14
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
15
15
|
interface ButtonProps extends PressableProps, VariantProps<typeof buttonVariants> {
|
|
16
16
|
children: React.ReactNode;
|
|
17
17
|
className?: string;
|
|
18
18
|
textClassName?: string;
|
|
19
|
+
onClick?: (event: any) => void;
|
|
19
20
|
}
|
|
20
|
-
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<
|
|
21
|
+
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<any>>;
|
|
21
22
|
|
|
22
23
|
declare const Card: React.ForwardRefExoticComponent<ViewProps & {
|
|
23
24
|
className?: string;
|
|
24
|
-
} & React.RefAttributes<
|
|
25
|
+
} & React.RefAttributes<any>>;
|
|
25
26
|
declare const CardHeader: React.ForwardRefExoticComponent<ViewProps & {
|
|
26
27
|
className?: string;
|
|
27
|
-
} & React.RefAttributes<
|
|
28
|
+
} & React.RefAttributes<any>>;
|
|
28
29
|
declare const CardTitle: React.ForwardRefExoticComponent<TextProps & {
|
|
29
30
|
className?: string;
|
|
30
|
-
} & React.RefAttributes<
|
|
31
|
+
} & React.RefAttributes<any>>;
|
|
31
32
|
declare const CardDescription: React.ForwardRefExoticComponent<TextProps & {
|
|
32
33
|
className?: string;
|
|
33
|
-
} & React.RefAttributes<
|
|
34
|
+
} & React.RefAttributes<any>>;
|
|
34
35
|
declare const CardContent: React.ForwardRefExoticComponent<ViewProps & {
|
|
35
36
|
className?: string;
|
|
36
|
-
} & React.RefAttributes<
|
|
37
|
+
} & React.RefAttributes<any>>;
|
|
37
38
|
declare const CardFooter: React.ForwardRefExoticComponent<ViewProps & {
|
|
38
39
|
className?: string;
|
|
39
|
-
} & React.RefAttributes<
|
|
40
|
+
} & React.RefAttributes<any>>;
|
|
40
41
|
|
|
41
42
|
interface InputProps extends TextInputProps {
|
|
42
43
|
className?: string;
|
|
43
44
|
}
|
|
44
|
-
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<
|
|
45
|
+
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<any>>;
|
|
45
46
|
|
|
46
47
|
declare const labelVariants: (props?: ({} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
47
48
|
interface LabelProps extends TextProps, VariantProps<typeof labelVariants> {
|
|
48
49
|
className?: string;
|
|
49
50
|
}
|
|
50
|
-
declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<
|
|
51
|
+
declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<any>>;
|
|
51
52
|
|
|
52
53
|
interface SkeletonProps extends ViewProps {
|
|
53
54
|
className?: string;
|
|
@@ -55,6 +56,9 @@ interface SkeletonProps extends ViewProps {
|
|
|
55
56
|
declare function Skeleton({ className, ...props }: SkeletonProps): React.JSX.Element;
|
|
56
57
|
|
|
57
58
|
interface SwitchProps extends SwitchProps$1 {
|
|
59
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
60
|
+
checked?: boolean;
|
|
61
|
+
onChange?: (event: any) => void;
|
|
58
62
|
className?: string;
|
|
59
63
|
}
|
|
60
64
|
declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<Switch$1>>;
|
|
@@ -63,7 +67,7 @@ interface ProgressProps extends ViewProps {
|
|
|
63
67
|
className?: string;
|
|
64
68
|
value?: number;
|
|
65
69
|
}
|
|
66
|
-
declare const Progress: React.ForwardRefExoticComponent<ProgressProps & React.RefAttributes<
|
|
70
|
+
declare const Progress: React.ForwardRefExoticComponent<ProgressProps & React.RefAttributes<any>>;
|
|
67
71
|
|
|
68
72
|
interface TabsProps extends ViewProps {
|
|
69
73
|
value?: string;
|
|
@@ -74,35 +78,35 @@ interface TabsProps extends ViewProps {
|
|
|
74
78
|
declare function Tabs({ value: controlledValue, defaultValue, onValueChange, className, children, ...props }: TabsProps): React.JSX.Element;
|
|
75
79
|
declare const TabsList: React.ForwardRefExoticComponent<ViewProps & {
|
|
76
80
|
className?: string;
|
|
77
|
-
} & React.RefAttributes<
|
|
81
|
+
} & React.RefAttributes<any>>;
|
|
78
82
|
declare const TabsTrigger: React.ForwardRefExoticComponent<PressableProps & {
|
|
79
83
|
value: string;
|
|
80
84
|
className?: string;
|
|
81
85
|
textClassName?: string;
|
|
82
|
-
} & React.RefAttributes<
|
|
86
|
+
} & React.RefAttributes<any>>;
|
|
83
87
|
declare const TabsContent: React.ForwardRefExoticComponent<ViewProps & {
|
|
84
88
|
value: string;
|
|
85
89
|
className?: string;
|
|
86
|
-
} & React.RefAttributes<
|
|
90
|
+
} & React.RefAttributes<any>>;
|
|
87
91
|
|
|
88
92
|
declare const Table: React.ForwardRefExoticComponent<ViewProps & {
|
|
89
93
|
className?: string;
|
|
90
|
-
} & React.RefAttributes<
|
|
94
|
+
} & React.RefAttributes<any>>;
|
|
91
95
|
declare const TableHeader: React.ForwardRefExoticComponent<ViewProps & {
|
|
92
96
|
className?: string;
|
|
93
|
-
} & React.RefAttributes<
|
|
97
|
+
} & React.RefAttributes<any>>;
|
|
94
98
|
declare const TableBody: React.ForwardRefExoticComponent<ViewProps & {
|
|
95
99
|
className?: string;
|
|
96
|
-
} & React.RefAttributes<
|
|
100
|
+
} & React.RefAttributes<any>>;
|
|
97
101
|
declare const TableRow: React.ForwardRefExoticComponent<ViewProps & {
|
|
98
102
|
className?: string;
|
|
99
|
-
} & React.RefAttributes<
|
|
103
|
+
} & React.RefAttributes<any>>;
|
|
100
104
|
declare const TableHead: React.ForwardRefExoticComponent<ViewProps & {
|
|
101
105
|
className?: string;
|
|
102
|
-
} & React.RefAttributes<
|
|
106
|
+
} & React.RefAttributes<any>>;
|
|
103
107
|
declare const TableCell: React.ForwardRefExoticComponent<ViewProps & {
|
|
104
108
|
className?: string;
|
|
105
|
-
} & React.RefAttributes<
|
|
109
|
+
} & React.RefAttributes<any>>;
|
|
106
110
|
|
|
107
111
|
interface DialogProps extends ModalProps {
|
|
108
112
|
open?: boolean;
|
|
@@ -110,10 +114,13 @@ interface DialogProps extends ModalProps {
|
|
|
110
114
|
children?: React.ReactNode;
|
|
111
115
|
}
|
|
112
116
|
declare function Dialog({ open, onOpenChange, children, ...props }: DialogProps): React.JSX.Element;
|
|
113
|
-
declare const DialogTrigger: React.ForwardRefExoticComponent<Omit<react_native.PressableProps &
|
|
117
|
+
declare const DialogTrigger: React.ForwardRefExoticComponent<Omit<react_native.PressableProps & {
|
|
118
|
+
className?: string;
|
|
119
|
+
onClick?: any;
|
|
120
|
+
} & React.RefAttributes<any>, "ref"> & React.RefAttributes<any>>;
|
|
114
121
|
declare const DialogContent: React.ForwardRefExoticComponent<ViewProps & {
|
|
115
122
|
className?: string;
|
|
116
|
-
} & React.RefAttributes<
|
|
123
|
+
} & React.RefAttributes<any>>;
|
|
117
124
|
declare const DialogHeader: {
|
|
118
125
|
({ className, ...props }: ViewProps & {
|
|
119
126
|
className?: string;
|
|
@@ -128,38 +135,47 @@ declare const DialogFooter: {
|
|
|
128
135
|
};
|
|
129
136
|
declare const DialogTitle: React.ForwardRefExoticComponent<TextProps & {
|
|
130
137
|
className?: string;
|
|
131
|
-
} & React.RefAttributes<
|
|
138
|
+
} & React.RefAttributes<any>>;
|
|
132
139
|
declare const DialogDescription: React.ForwardRefExoticComponent<TextProps & {
|
|
133
140
|
className?: string;
|
|
134
|
-
} & React.RefAttributes<
|
|
141
|
+
} & React.RefAttributes<any>>;
|
|
135
142
|
|
|
136
143
|
interface DropdownMenuProps {
|
|
137
144
|
children: React.ReactNode;
|
|
138
145
|
}
|
|
139
146
|
declare function DropdownMenu({ children }: DropdownMenuProps): React.JSX.Element;
|
|
140
|
-
declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<Omit<react_native.PressableProps &
|
|
147
|
+
declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<Omit<react_native.PressableProps & {
|
|
148
|
+
className?: string;
|
|
149
|
+
onClick?: any;
|
|
150
|
+
} & React.RefAttributes<any>, "ref"> & React.RefAttributes<any>>;
|
|
141
151
|
declare const DropdownMenuContent: React.ForwardRefExoticComponent<ViewProps & {
|
|
142
152
|
className?: string;
|
|
143
|
-
} & React.RefAttributes<
|
|
144
|
-
declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<react_native.PressableProps &
|
|
153
|
+
} & React.RefAttributes<any>>;
|
|
154
|
+
declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<react_native.PressableProps & {
|
|
155
|
+
className?: string;
|
|
156
|
+
onClick?: any;
|
|
157
|
+
} & React.RefAttributes<any> & {
|
|
145
158
|
className?: string;
|
|
146
159
|
textClassName?: string;
|
|
147
|
-
}, "ref"> & React.RefAttributes<
|
|
160
|
+
}, "ref"> & React.RefAttributes<any>>;
|
|
148
161
|
declare const DropdownMenuLabel: React.ForwardRefExoticComponent<TextProps & {
|
|
149
162
|
className?: string;
|
|
150
|
-
} & React.RefAttributes<
|
|
163
|
+
} & React.RefAttributes<any>>;
|
|
151
164
|
declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<ViewProps & {
|
|
152
165
|
className?: string;
|
|
153
|
-
} & React.RefAttributes<
|
|
166
|
+
} & React.RefAttributes<any>>;
|
|
154
167
|
|
|
155
168
|
interface PopoverProps {
|
|
156
169
|
children: React.ReactNode;
|
|
157
170
|
}
|
|
158
171
|
declare function Popover({ children }: PopoverProps): React.JSX.Element;
|
|
159
|
-
declare const PopoverTrigger: React.ForwardRefExoticComponent<Omit<react_native.PressableProps &
|
|
172
|
+
declare const PopoverTrigger: React.ForwardRefExoticComponent<Omit<react_native.PressableProps & {
|
|
173
|
+
className?: string;
|
|
174
|
+
onClick?: any;
|
|
175
|
+
} & React.RefAttributes<any>, "ref"> & React.RefAttributes<any>>;
|
|
160
176
|
declare const PopoverContent: React.ForwardRefExoticComponent<ViewProps & {
|
|
161
177
|
className?: string;
|
|
162
|
-
} & React.RefAttributes<
|
|
178
|
+
} & React.RefAttributes<any>>;
|
|
163
179
|
|
|
164
180
|
declare function cn(...inputs: ClassValue[]): string;
|
|
165
181
|
|