@amazecontinuityprojects/amazeui 1.0.0

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