@gv-tech/ui-native 2.9.1 → 2.11.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.
- package/dist/index.d.ts +581 -0
- package/dist/ui-native.mjs +1090 -0
- package/package.json +1 -1
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,581 @@
|
|
|
1
|
+
import * as AccordionPrimitive from '@rn-primitives/accordion';
|
|
2
|
+
import * as AlertDialogPrimitive from '@rn-primitives/alert-dialog';
|
|
3
|
+
import * as AvatarPrimitive from '@rn-primitives/avatar';
|
|
4
|
+
import { ButtonBaseProps } from '../../ui-core/src';
|
|
5
|
+
import { CardBaseProps } from '../../ui-core/src';
|
|
6
|
+
import * as CheckboxPrimitive from '@rn-primitives/checkbox';
|
|
7
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
8
|
+
import { ClassValue } from 'clsx';
|
|
9
|
+
import * as CollapsiblePrimitive from '@rn-primitives/collapsible';
|
|
10
|
+
import { DialogBaseProps } from '../../ui-core/src';
|
|
11
|
+
import { DialogContentBaseProps } from '../../ui-core/src';
|
|
12
|
+
import * as DialogPrimitive from '@rn-primitives/dialog';
|
|
13
|
+
import { InputBaseProps } from '../../ui-core/src';
|
|
14
|
+
import { JSX } from 'react/jsx-runtime';
|
|
15
|
+
import { Option as Option_2 } from '@rn-primitives/select';
|
|
16
|
+
import { PressableProps } from 'react-native';
|
|
17
|
+
import { RadioGroupBaseProps } from '../../ui-core/src';
|
|
18
|
+
import { RadioGroupItemBaseProps } from '../../ui-core/src';
|
|
19
|
+
import * as RadioGroupPrimitive from '@rn-primitives/radio-group';
|
|
20
|
+
import * as React_2 from 'react';
|
|
21
|
+
import { SelectContentBaseProps } from '../../ui-core/src';
|
|
22
|
+
import { SelectItemBaseProps } from '../../ui-core/src';
|
|
23
|
+
import { SelectLabelBaseProps } from '../../ui-core/src';
|
|
24
|
+
import * as SelectPrimitive from '@rn-primitives/select';
|
|
25
|
+
import { SelectScrollDownButtonBaseProps } from '../../ui-core/src';
|
|
26
|
+
import { SelectScrollUpButtonBaseProps } from '../../ui-core/src';
|
|
27
|
+
import { SelectSeparatorBaseProps } from '../../ui-core/src';
|
|
28
|
+
import { SelectTriggerBaseProps } from '../../ui-core/src';
|
|
29
|
+
import { SwitchBaseProps } from '../../ui-core/src';
|
|
30
|
+
import * as SwitchPrimitive from '@rn-primitives/switch';
|
|
31
|
+
import { TabsContentBaseProps } from '../../ui-core/src';
|
|
32
|
+
import { TabsListBaseProps } from '../../ui-core/src';
|
|
33
|
+
import * as TabsPrimitive from '@rn-primitives/tabs';
|
|
34
|
+
import { TabsTriggerBaseProps } from '../../ui-core/src';
|
|
35
|
+
import { Text as Text_3 } from 'react-native';
|
|
36
|
+
import { TextBaseProps } from '../../ui-core/src';
|
|
37
|
+
import { TextInput } from 'react-native';
|
|
38
|
+
import { TextInputProps } from 'react-native';
|
|
39
|
+
import { TextProps as TextProps_2 } from 'react-native';
|
|
40
|
+
import { ToggleBaseProps } from '../../ui-core/src';
|
|
41
|
+
import { ToggleGroupBaseProps } from '../../ui-core/src';
|
|
42
|
+
import { ToggleGroupItemBaseProps } from '../../ui-core/src';
|
|
43
|
+
import * as ToggleGroupPrimitive from '@rn-primitives/toggle-group';
|
|
44
|
+
import * as TogglePrimitive from '@rn-primitives/toggle';
|
|
45
|
+
import { toggleVariants } from '../../ui-core/src';
|
|
46
|
+
import * as TooltipPrimitive from '@rn-primitives/tooltip';
|
|
47
|
+
import { TriggerRef } from '@rn-primitives/select';
|
|
48
|
+
import { TriggerRef as TriggerRef_2 } from '@rn-primitives/tooltip';
|
|
49
|
+
import { VariantProps } from 'class-variance-authority';
|
|
50
|
+
import { View } from 'react-native';
|
|
51
|
+
import { ViewProps } from 'react-native';
|
|
52
|
+
import { ViewStyle } from 'react-native';
|
|
53
|
+
|
|
54
|
+
export declare const Accordion: React_2.ForwardRefExoticComponent<AccordionProps & React_2.RefAttributes<React_2.ElementRef<typeof AccordionPrimitive.Root>>>;
|
|
55
|
+
|
|
56
|
+
export declare const AccordionContent: React_2.ForwardRefExoticComponent<AccordionContentProps & React_2.RefAttributes<React_2.ElementRef<typeof AccordionPrimitive.Content>>>;
|
|
57
|
+
|
|
58
|
+
declare type AccordionContentProps = React_2.ComponentPropsWithoutRef<typeof AccordionPrimitive.Content>;
|
|
59
|
+
|
|
60
|
+
export declare const AccordionItem: React_2.ForwardRefExoticComponent<AccordionItemProps & React_2.RefAttributes<React_2.ElementRef<typeof AccordionPrimitive.Item>>>;
|
|
61
|
+
|
|
62
|
+
declare type AccordionItemProps = React_2.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item>;
|
|
63
|
+
|
|
64
|
+
declare type AccordionProps = React_2.ComponentPropsWithoutRef<typeof AccordionPrimitive.Root>;
|
|
65
|
+
|
|
66
|
+
export declare const AccordionTrigger: React_2.ForwardRefExoticComponent<AccordionTriggerProps & React_2.RefAttributes<React_2.ElementRef<typeof AccordionPrimitive.Trigger>>>;
|
|
67
|
+
|
|
68
|
+
declare type AccordionTriggerProps = React_2.ComponentPropsWithoutRef<typeof AccordionPrimitive.Trigger>;
|
|
69
|
+
|
|
70
|
+
export declare const Alert: React_2.ForwardRefExoticComponent<ViewProps & VariantProps<(props?: ({
|
|
71
|
+
variant?: "default" | "destructive" | "warning" | "info" | null | undefined;
|
|
72
|
+
} & ClassProp) | undefined) => string> & React_2.RefAttributes<View>>;
|
|
73
|
+
|
|
74
|
+
export declare const AlertDescription: React_2.ForwardRefExoticComponent<TextProps_2 & React_2.RefAttributes<Text_3>>;
|
|
75
|
+
|
|
76
|
+
export declare const AlertDialog: React_2.ForwardRefExoticComponent<{
|
|
77
|
+
open?: boolean;
|
|
78
|
+
onOpenChange?: (value: boolean) => void;
|
|
79
|
+
defaultOpen?: boolean;
|
|
80
|
+
} & ViewProps & {
|
|
81
|
+
asChild?: boolean;
|
|
82
|
+
} & React_2.RefAttributes<View>>;
|
|
83
|
+
|
|
84
|
+
export declare const AlertDialogAction: React_2.ForwardRefExoticComponent<AlertDialogActionProps & React_2.RefAttributes<React_2.ElementRef<typeof AlertDialogPrimitive.Action>>>;
|
|
85
|
+
|
|
86
|
+
declare type AlertDialogActionProps = React_2.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Action>;
|
|
87
|
+
|
|
88
|
+
export declare const AlertDialogCancel: React_2.ForwardRefExoticComponent<AlertDialogCancelProps & React_2.RefAttributes<React_2.ElementRef<typeof AlertDialogPrimitive.Cancel>>>;
|
|
89
|
+
|
|
90
|
+
declare type AlertDialogCancelProps = React_2.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Cancel>;
|
|
91
|
+
|
|
92
|
+
export declare const AlertDialogContent: React_2.ForwardRefExoticComponent<AlertDialogContentProps & React_2.RefAttributes<React_2.ElementRef<typeof AlertDialogPrimitive.Content>>>;
|
|
93
|
+
|
|
94
|
+
declare type AlertDialogContentProps = React_2.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content> & {
|
|
95
|
+
portalHost?: string;
|
|
96
|
+
overlayClassName?: string;
|
|
97
|
+
overlayStyle?: ViewStyle;
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
export declare const AlertDialogDescription: React_2.ForwardRefExoticComponent<AlertDialogDescriptionProps & React_2.RefAttributes<React_2.ElementRef<typeof AlertDialogPrimitive.Description>>>;
|
|
101
|
+
|
|
102
|
+
declare type AlertDialogDescriptionProps = React_2.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Description>;
|
|
103
|
+
|
|
104
|
+
export declare const AlertDialogFooter: {
|
|
105
|
+
({ className, ...props }: React_2.ComponentPropsWithoutRef<typeof View>): JSX.Element;
|
|
106
|
+
displayName: string;
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
export declare const AlertDialogHeader: {
|
|
110
|
+
({ className, ...props }: React_2.ComponentPropsWithoutRef<typeof View>): JSX.Element;
|
|
111
|
+
displayName: string;
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
export declare const AlertDialogOverlay: React_2.ForwardRefExoticComponent<AlertDialogOverlayProps & React_2.RefAttributes<React_2.ElementRef<typeof AlertDialogPrimitive.Overlay>>>;
|
|
115
|
+
|
|
116
|
+
declare type AlertDialogOverlayProps = React_2.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Overlay>;
|
|
117
|
+
|
|
118
|
+
export declare const AlertDialogPortal: typeof AlertDialogPrimitive.Portal;
|
|
119
|
+
|
|
120
|
+
export declare const AlertDialogTitle: React_2.ForwardRefExoticComponent<AlertDialogTitleProps & React_2.RefAttributes<React_2.ElementRef<typeof AlertDialogPrimitive.Title>>>;
|
|
121
|
+
|
|
122
|
+
declare type AlertDialogTitleProps = React_2.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Title>;
|
|
123
|
+
|
|
124
|
+
export declare const AlertDialogTrigger: React_2.ForwardRefExoticComponent<Omit<PressableProps & React_2.RefAttributes<View>, "ref"> & {
|
|
125
|
+
asChild?: boolean;
|
|
126
|
+
} & {
|
|
127
|
+
onKeyDown?: (ev: React_2.KeyboardEvent) => void;
|
|
128
|
+
onKeyUp?: (ev: React_2.KeyboardEvent) => void;
|
|
129
|
+
} & React_2.RefAttributes<View>>;
|
|
130
|
+
|
|
131
|
+
export declare const AlertTitle: React_2.ForwardRefExoticComponent<TextProps_2 & React_2.RefAttributes<Text_3>>;
|
|
132
|
+
|
|
133
|
+
export declare const AspectRatio: () => JSX.Element;
|
|
134
|
+
|
|
135
|
+
export declare const Avatar: React_2.ForwardRefExoticComponent<AvatarProps & React_2.RefAttributes<React_2.ElementRef<typeof AvatarPrimitive.Root>>>;
|
|
136
|
+
|
|
137
|
+
export declare const AvatarFallback: React_2.ForwardRefExoticComponent<AvatarFallbackProps & React_2.RefAttributes<React_2.ElementRef<typeof AvatarPrimitive.Fallback>>>;
|
|
138
|
+
|
|
139
|
+
declare type AvatarFallbackProps = React_2.ComponentPropsWithoutRef<typeof AvatarPrimitive.Fallback>;
|
|
140
|
+
|
|
141
|
+
export declare const AvatarImage: React_2.ForwardRefExoticComponent<AvatarImageProps & React_2.RefAttributes<React_2.ElementRef<typeof AvatarPrimitive.Image>>>;
|
|
142
|
+
|
|
143
|
+
declare type AvatarImageProps = React_2.ComponentPropsWithoutRef<typeof AvatarPrimitive.Image>;
|
|
144
|
+
|
|
145
|
+
declare type AvatarProps = React_2.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>;
|
|
146
|
+
|
|
147
|
+
export declare function Badge({ className, textClassName, variant, children, ...props }: BadgeProps): JSX.Element;
|
|
148
|
+
|
|
149
|
+
declare interface BadgeProps extends React_2.ComponentPropsWithoutRef<typeof View>, VariantProps<typeof badgeVariants> {
|
|
150
|
+
textClassName?: string;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
export declare const badgeVariants: (props?: ({
|
|
154
|
+
variant?: "default" | "destructive" | "secondary" | "outline" | null | undefined;
|
|
155
|
+
} & ClassProp) | undefined) => string;
|
|
156
|
+
|
|
157
|
+
export declare const Breadcrumb: () => JSX.Element;
|
|
158
|
+
|
|
159
|
+
export declare const Button: React_2.ForwardRefExoticComponent<ButtonProps & React_2.RefAttributes<View>>;
|
|
160
|
+
|
|
161
|
+
export declare interface ButtonProps extends VariantProps<typeof buttonVariants>, ButtonBaseProps {
|
|
162
|
+
onPress?: () => void;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export declare const buttonVariants: (props?: ({
|
|
166
|
+
variant?: "link" | "default" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
|
|
167
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
168
|
+
} & ClassProp) | undefined) => string;
|
|
169
|
+
|
|
170
|
+
export declare const Calendar: () => JSX.Element;
|
|
171
|
+
|
|
172
|
+
export declare const Card: React_2.ForwardRefExoticComponent<CardProps & React_2.RefAttributes<View>>;
|
|
173
|
+
|
|
174
|
+
export declare const CardContent: React_2.ForwardRefExoticComponent<ViewProps & React_2.RefAttributes<View>>;
|
|
175
|
+
|
|
176
|
+
export declare const CardDescription: React_2.ForwardRefExoticComponent<TextProps_2 & React_2.RefAttributes<Text_3>>;
|
|
177
|
+
|
|
178
|
+
export declare const CardFooter: React_2.ForwardRefExoticComponent<ViewProps & React_2.RefAttributes<View>>;
|
|
179
|
+
|
|
180
|
+
export declare const CardHeader: React_2.ForwardRefExoticComponent<ViewProps & React_2.RefAttributes<View>>;
|
|
181
|
+
|
|
182
|
+
export declare interface CardProps extends React_2.ComponentPropsWithoutRef<typeof View>, CardBaseProps {
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
export declare const CardTitle: React_2.ForwardRefExoticComponent<TextProps_2 & React_2.RefAttributes<Text_3>>;
|
|
186
|
+
|
|
187
|
+
export declare const Carousel: () => JSX.Element;
|
|
188
|
+
|
|
189
|
+
export declare const Chart: () => JSX.Element;
|
|
190
|
+
|
|
191
|
+
export declare const Checkbox: React_2.ForwardRefExoticComponent<Omit<Omit<PressableProps & React_2.RefAttributes<View>, "ref"> & {
|
|
192
|
+
asChild?: boolean;
|
|
193
|
+
} & {
|
|
194
|
+
onKeyDown?: (ev: React_2.KeyboardEvent) => void;
|
|
195
|
+
onKeyUp?: (ev: React_2.KeyboardEvent) => void;
|
|
196
|
+
} & {
|
|
197
|
+
checked: boolean;
|
|
198
|
+
onCheckedChange: (checked: boolean) => void;
|
|
199
|
+
disabled?: boolean;
|
|
200
|
+
} & React_2.RefAttributes<View>, "ref"> & React_2.RefAttributes<View>>;
|
|
201
|
+
|
|
202
|
+
export declare type CheckboxProps = React_2.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>;
|
|
203
|
+
|
|
204
|
+
export declare function cn(...inputs: ClassValue[]): string;
|
|
205
|
+
|
|
206
|
+
export declare const Collapsible: typeof CollapsiblePrimitive.Root;
|
|
207
|
+
|
|
208
|
+
export declare const CollapsibleContent: typeof CollapsiblePrimitive.Content;
|
|
209
|
+
|
|
210
|
+
export declare const CollapsibleTrigger: typeof CollapsiblePrimitive.Trigger;
|
|
211
|
+
|
|
212
|
+
export declare const Command: () => JSX.Element;
|
|
213
|
+
|
|
214
|
+
export declare const ContextMenu: () => JSX.Element;
|
|
215
|
+
|
|
216
|
+
export declare const Dialog: React_2.ForwardRefExoticComponent<ViewProps & {
|
|
217
|
+
asChild?: boolean;
|
|
218
|
+
} & {
|
|
219
|
+
open?: boolean;
|
|
220
|
+
defaultOpen?: boolean;
|
|
221
|
+
onOpenChange?: (value: boolean) => void;
|
|
222
|
+
} & React_2.RefAttributes<View>>;
|
|
223
|
+
|
|
224
|
+
export declare const DialogClose: React_2.ForwardRefExoticComponent<Omit<PressableProps & React_2.RefAttributes<View>, "ref"> & {
|
|
225
|
+
asChild?: boolean;
|
|
226
|
+
} & {
|
|
227
|
+
onKeyDown?: (ev: React_2.KeyboardEvent) => void;
|
|
228
|
+
onKeyUp?: (ev: React_2.KeyboardEvent) => void;
|
|
229
|
+
} & React_2.RefAttributes<View>>;
|
|
230
|
+
|
|
231
|
+
export declare const DialogContent: React_2.ForwardRefExoticComponent<DialogContentProps & React_2.RefAttributes<DialogContentRef>>;
|
|
232
|
+
|
|
233
|
+
declare interface DialogContentProps extends React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, DialogContentBaseProps {
|
|
234
|
+
portalHost?: string;
|
|
235
|
+
overlayClassName?: string;
|
|
236
|
+
overlayStyle?: ViewStyle;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
declare type DialogContentRef = React_2.ElementRef<typeof DialogPrimitive.Content>;
|
|
240
|
+
|
|
241
|
+
export declare const DialogDescription: React_2.ForwardRefExoticComponent<DialogDescriptionProps & React_2.RefAttributes<DialogDescriptionRef>>;
|
|
242
|
+
|
|
243
|
+
declare type DialogDescriptionProps = React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>;
|
|
244
|
+
|
|
245
|
+
declare type DialogDescriptionRef = React_2.ElementRef<typeof DialogPrimitive.Description>;
|
|
246
|
+
|
|
247
|
+
export declare const DialogFooter: {
|
|
248
|
+
({ className, ...props }: React_2.ComponentPropsWithoutRef<typeof View>): JSX.Element;
|
|
249
|
+
displayName: string;
|
|
250
|
+
};
|
|
251
|
+
|
|
252
|
+
export declare const DialogHeader: {
|
|
253
|
+
({ className, ...props }: React_2.ComponentPropsWithoutRef<typeof View>): JSX.Element;
|
|
254
|
+
displayName: string;
|
|
255
|
+
};
|
|
256
|
+
|
|
257
|
+
export declare interface DialogProps extends React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Root>, DialogBaseProps {
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
export declare const DialogTitle: React_2.ForwardRefExoticComponent<DialogTitleProps & React_2.RefAttributes<DialogTitleRef>>;
|
|
261
|
+
|
|
262
|
+
declare type DialogTitleProps = React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>;
|
|
263
|
+
|
|
264
|
+
declare type DialogTitleRef = React_2.ElementRef<typeof DialogPrimitive.Title>;
|
|
265
|
+
|
|
266
|
+
export declare const DialogTrigger: React_2.ForwardRefExoticComponent<Omit<PressableProps & React_2.RefAttributes<View>, "ref"> & {
|
|
267
|
+
asChild?: boolean;
|
|
268
|
+
} & {
|
|
269
|
+
onKeyDown?: (ev: React_2.KeyboardEvent) => void;
|
|
270
|
+
onKeyUp?: (ev: React_2.KeyboardEvent) => void;
|
|
271
|
+
} & React_2.RefAttributes<View>>;
|
|
272
|
+
|
|
273
|
+
export declare const Drawer: () => JSX.Element;
|
|
274
|
+
|
|
275
|
+
export declare const DropdownMenu: () => JSX.Element;
|
|
276
|
+
|
|
277
|
+
export declare const Form: () => JSX.Element;
|
|
278
|
+
|
|
279
|
+
export declare const HoverCard: () => JSX.Element;
|
|
280
|
+
|
|
281
|
+
export declare const Input: React_2.ForwardRefExoticComponent<InputProps & React_2.RefAttributes<TextInput>>;
|
|
282
|
+
|
|
283
|
+
export declare interface InputProps extends React_2.ComponentPropsWithoutRef<typeof TextInput>, InputBaseProps {
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
export declare const Label: React_2.ForwardRefExoticComponent<Omit<TextProps_2 & {
|
|
287
|
+
asChild?: boolean;
|
|
288
|
+
} & {
|
|
289
|
+
nativeID?: string;
|
|
290
|
+
htmlFor?: string;
|
|
291
|
+
} & React_2.RefAttributes<Text_3>, "ref"> & React_2.RefAttributes<Text_3>>;
|
|
292
|
+
|
|
293
|
+
export declare const Menubar: () => JSX.Element;
|
|
294
|
+
|
|
295
|
+
export declare const NavigationMenu: () => JSX.Element;
|
|
296
|
+
|
|
297
|
+
export declare const Pagination: () => JSX.Element;
|
|
298
|
+
|
|
299
|
+
export declare const Popover: () => JSX.Element;
|
|
300
|
+
|
|
301
|
+
export declare const Progress: () => JSX.Element;
|
|
302
|
+
|
|
303
|
+
export declare const RadioGroup: React_2.ForwardRefExoticComponent<RadioGroupProps & React_2.RefAttributes<View>>;
|
|
304
|
+
|
|
305
|
+
export declare const RadioGroupItem: React_2.ForwardRefExoticComponent<RadioGroupItemProps & React_2.RefAttributes<View>>;
|
|
306
|
+
|
|
307
|
+
export declare interface RadioGroupItemProps extends Omit<React_2.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>, 'disabled'>, RadioGroupItemBaseProps {
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
export declare interface RadioGroupProps extends React_2.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>, RadioGroupBaseProps {
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
export declare const ResizableHandle: () => JSX.Element;
|
|
314
|
+
|
|
315
|
+
export declare const ResizablePanel: () => JSX.Element;
|
|
316
|
+
|
|
317
|
+
export declare const ResizablePanelGroup: () => JSX.Element;
|
|
318
|
+
|
|
319
|
+
export declare const ScrollArea: () => JSX.Element;
|
|
320
|
+
|
|
321
|
+
export declare const Search: () => JSX.Element;
|
|
322
|
+
|
|
323
|
+
export declare const Select: React_2.ForwardRefExoticComponent<ViewProps & {
|
|
324
|
+
asChild?: boolean;
|
|
325
|
+
} & {
|
|
326
|
+
value?: Option_2;
|
|
327
|
+
defaultValue?: Option_2;
|
|
328
|
+
onValueChange?: (option: Option_2) => void;
|
|
329
|
+
onOpenChange?: (open: boolean) => void;
|
|
330
|
+
disabled?: boolean;
|
|
331
|
+
dir?: "ltr" | "rtl";
|
|
332
|
+
name?: string;
|
|
333
|
+
required?: boolean;
|
|
334
|
+
} & React_2.RefAttributes<View>>;
|
|
335
|
+
|
|
336
|
+
export declare const SelectContent: React_2.ForwardRefExoticComponent<SelectContentProps & React_2.RefAttributes<View>>;
|
|
337
|
+
|
|
338
|
+
declare interface SelectContentProps extends Omit<React_2.ComponentPropsWithoutRef<typeof SelectPrimitive.Content>, 'position'>, SelectContentBaseProps {
|
|
339
|
+
portalHost?: string;
|
|
340
|
+
overlayClassName?: string;
|
|
341
|
+
overlayStyle?: ViewStyle;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
export declare const SelectGroup: React_2.ForwardRefExoticComponent<ViewProps & {
|
|
345
|
+
asChild?: boolean;
|
|
346
|
+
} & React_2.RefAttributes<View>>;
|
|
347
|
+
|
|
348
|
+
export declare const SelectItem: React_2.ForwardRefExoticComponent<SelectItemProps & React_2.RefAttributes<View>>;
|
|
349
|
+
|
|
350
|
+
declare interface SelectItemProps extends Omit<React_2.ComponentPropsWithoutRef<typeof SelectPrimitive.Item>, 'children' | 'disabled' | 'label'>, SelectItemBaseProps {
|
|
351
|
+
label?: string;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
export declare const SelectLabel: React_2.ForwardRefExoticComponent<SelectLabelProps & React_2.RefAttributes<Text_3>>;
|
|
355
|
+
|
|
356
|
+
declare interface SelectLabelProps extends React_2.ComponentPropsWithoutRef<typeof SelectPrimitive.Label>, SelectLabelBaseProps {
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
export declare const SelectScrollDownButton: React_2.ForwardRefExoticComponent<SelectScrollDownButtonProps & React_2.RefAttributes<unknown>>;
|
|
360
|
+
|
|
361
|
+
declare interface SelectScrollDownButtonProps extends React_2.ComponentPropsWithoutRef<typeof SelectPrimitive.ScrollDownButton>, SelectScrollDownButtonBaseProps {
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
export declare const SelectScrollUpButton: React_2.ForwardRefExoticComponent<SelectScrollUpButtonProps & React_2.RefAttributes<unknown>>;
|
|
365
|
+
|
|
366
|
+
declare interface SelectScrollUpButtonProps extends React_2.ComponentPropsWithoutRef<typeof SelectPrimitive.ScrollUpButton>, SelectScrollUpButtonBaseProps {
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
export declare const SelectSeparator: React_2.ForwardRefExoticComponent<SelectSeparatorProps & React_2.RefAttributes<View>>;
|
|
370
|
+
|
|
371
|
+
declare interface SelectSeparatorProps extends React_2.ComponentPropsWithoutRef<typeof SelectPrimitive.Separator>, SelectSeparatorBaseProps {
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
export declare const SelectTrigger: React_2.ForwardRefExoticComponent<SelectTriggerProps & React_2.RefAttributes<TriggerRef>>;
|
|
375
|
+
|
|
376
|
+
declare interface SelectTriggerProps extends Omit<React_2.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>, 'children' | 'disabled'>, SelectTriggerBaseProps {
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
export declare const SelectValue: React_2.ForwardRefExoticComponent<TextProps_2 & {
|
|
380
|
+
asChild?: boolean;
|
|
381
|
+
} & {
|
|
382
|
+
placeholder: string;
|
|
383
|
+
} & React_2.RefAttributes<Text_3>>;
|
|
384
|
+
|
|
385
|
+
export declare const Separator: React_2.ForwardRefExoticComponent<Omit<ViewProps & {
|
|
386
|
+
asChild?: boolean;
|
|
387
|
+
} & {
|
|
388
|
+
orientation?: "horizontal" | "vertical";
|
|
389
|
+
decorative?: boolean;
|
|
390
|
+
} & React_2.RefAttributes<View>, "ref"> & React_2.RefAttributes<View>>;
|
|
391
|
+
|
|
392
|
+
export declare const Sheet: React_2.ForwardRefExoticComponent<ViewProps & {
|
|
393
|
+
asChild?: boolean;
|
|
394
|
+
} & {
|
|
395
|
+
open?: boolean;
|
|
396
|
+
defaultOpen?: boolean;
|
|
397
|
+
onOpenChange?: (value: boolean) => void;
|
|
398
|
+
} & React_2.RefAttributes<View>>;
|
|
399
|
+
|
|
400
|
+
export declare const SheetClose: React_2.ForwardRefExoticComponent<Omit<PressableProps & React_2.RefAttributes<View>, "ref"> & {
|
|
401
|
+
asChild?: boolean;
|
|
402
|
+
} & {
|
|
403
|
+
onKeyDown?: (ev: React_2.KeyboardEvent) => void;
|
|
404
|
+
onKeyUp?: (ev: React_2.KeyboardEvent) => void;
|
|
405
|
+
} & React_2.RefAttributes<View>>;
|
|
406
|
+
|
|
407
|
+
export declare const SheetContent: React_2.ForwardRefExoticComponent<SheetContentProps & React_2.RefAttributes<SheetContentRef>>;
|
|
408
|
+
|
|
409
|
+
declare type SheetContentProps = DialogContentProps & {
|
|
410
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
411
|
+
overlayClassName?: string;
|
|
412
|
+
overlayStyle?: ViewStyle;
|
|
413
|
+
};
|
|
414
|
+
|
|
415
|
+
declare type SheetContentRef = React_2.ElementRef<typeof DialogPrimitive.Content>;
|
|
416
|
+
|
|
417
|
+
export declare const SheetDescription: React_2.ForwardRefExoticComponent<SheetDescriptionProps & React_2.RefAttributes<SheetDescriptionRef>>;
|
|
418
|
+
|
|
419
|
+
declare type SheetDescriptionProps = React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>;
|
|
420
|
+
|
|
421
|
+
declare type SheetDescriptionRef = React_2.ElementRef<typeof DialogPrimitive.Description>;
|
|
422
|
+
|
|
423
|
+
export declare const SheetFooter: {
|
|
424
|
+
({ className, ...props }: React_2.ComponentPropsWithoutRef<typeof View>): JSX.Element;
|
|
425
|
+
displayName: string;
|
|
426
|
+
};
|
|
427
|
+
|
|
428
|
+
export declare const SheetHeader: {
|
|
429
|
+
({ className, ...props }: React_2.ComponentPropsWithoutRef<typeof View>): JSX.Element;
|
|
430
|
+
displayName: string;
|
|
431
|
+
};
|
|
432
|
+
|
|
433
|
+
export declare const SheetOverlay: React_2.ForwardRefExoticComponent<SheetOverlayProps & React_2.RefAttributes<SheetOverlayRef>>;
|
|
434
|
+
|
|
435
|
+
declare type SheetOverlayProps = React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>;
|
|
436
|
+
|
|
437
|
+
declare type SheetOverlayRef = React_2.ElementRef<typeof DialogPrimitive.Overlay>;
|
|
438
|
+
|
|
439
|
+
export declare const SheetPortal: typeof DialogPrimitive.Portal;
|
|
440
|
+
|
|
441
|
+
export declare const SheetTitle: React_2.ForwardRefExoticComponent<SheetTitleProps & React_2.RefAttributes<SheetTitleRef>>;
|
|
442
|
+
|
|
443
|
+
declare type SheetTitleProps = React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>;
|
|
444
|
+
|
|
445
|
+
declare type SheetTitleRef = React_2.ElementRef<typeof DialogPrimitive.Title>;
|
|
446
|
+
|
|
447
|
+
export declare const SheetTrigger: React_2.ForwardRefExoticComponent<Omit<PressableProps & React_2.RefAttributes<View>, "ref"> & {
|
|
448
|
+
asChild?: boolean;
|
|
449
|
+
} & {
|
|
450
|
+
onKeyDown?: (ev: React_2.KeyboardEvent) => void;
|
|
451
|
+
onKeyUp?: (ev: React_2.KeyboardEvent) => void;
|
|
452
|
+
} & React_2.RefAttributes<View>>;
|
|
453
|
+
|
|
454
|
+
export declare function Skeleton({ className, ...props }: React_2.ComponentPropsWithoutRef<typeof View>): JSX.Element;
|
|
455
|
+
|
|
456
|
+
export declare const Slider: () => JSX.Element;
|
|
457
|
+
|
|
458
|
+
export declare const Sonner: () => JSX.Element;
|
|
459
|
+
|
|
460
|
+
export declare const Switch: React_2.ForwardRefExoticComponent<SwitchProps & React_2.RefAttributes<View>>;
|
|
461
|
+
|
|
462
|
+
declare interface SwitchProps extends Omit<React_2.ComponentPropsWithoutRef<typeof SwitchPrimitive.Root>, 'checked' | 'onCheckedChange'>, SwitchBaseProps {
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
export declare const Table: React_2.ForwardRefExoticComponent<ViewProps & React_2.RefAttributes<View>>;
|
|
466
|
+
|
|
467
|
+
export declare const TableBody: React_2.ForwardRefExoticComponent<ViewProps & React_2.RefAttributes<View>>;
|
|
468
|
+
|
|
469
|
+
export declare const TableCaption: React_2.ForwardRefExoticComponent<Omit<TextProps & React_2.RefAttributes<Text_3>, "ref"> & React_2.RefAttributes<Text_3>>;
|
|
470
|
+
|
|
471
|
+
export declare const TableCell: React_2.ForwardRefExoticComponent<Omit<TextProps & React_2.RefAttributes<Text_3>, "ref"> & React_2.RefAttributes<Text_3>>;
|
|
472
|
+
|
|
473
|
+
export declare const TableFooter: React_2.ForwardRefExoticComponent<ViewProps & React_2.RefAttributes<View>>;
|
|
474
|
+
|
|
475
|
+
export declare const TableHead: React_2.ForwardRefExoticComponent<Omit<TextProps & React_2.RefAttributes<Text_3>, "ref"> & React_2.RefAttributes<Text_3>>;
|
|
476
|
+
|
|
477
|
+
export declare const TableHeader: React_2.ForwardRefExoticComponent<ViewProps & React_2.RefAttributes<View>>;
|
|
478
|
+
|
|
479
|
+
export declare const TableRow: React_2.ForwardRefExoticComponent<ViewProps & React_2.RefAttributes<View>>;
|
|
480
|
+
|
|
481
|
+
export declare const Tabs: React_2.ForwardRefExoticComponent<ViewProps & {
|
|
482
|
+
asChild?: boolean;
|
|
483
|
+
} & {
|
|
484
|
+
value: string;
|
|
485
|
+
onValueChange: (value: string) => void;
|
|
486
|
+
orientation?: "horizontal" | "vertical";
|
|
487
|
+
dir?: "ltr" | "rtl";
|
|
488
|
+
activationMode?: "automatic" | "manual";
|
|
489
|
+
} & React_2.RefAttributes<View>>;
|
|
490
|
+
|
|
491
|
+
export declare const TabsContent: React_2.ForwardRefExoticComponent<TabsContentProps & React_2.RefAttributes<View>>;
|
|
492
|
+
|
|
493
|
+
declare interface TabsContentProps extends React_2.ComponentPropsWithoutRef<typeof TabsPrimitive.Content>, TabsContentBaseProps {
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
export declare const TabsList: React_2.ForwardRefExoticComponent<TabsListProps & React_2.RefAttributes<View>>;
|
|
497
|
+
|
|
498
|
+
declare interface TabsListProps extends React_2.ComponentPropsWithoutRef<typeof TabsPrimitive.List>, TabsListBaseProps {
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
export declare const TabsTrigger: React_2.ForwardRefExoticComponent<TabsTriggerProps & React_2.RefAttributes<View>>;
|
|
502
|
+
|
|
503
|
+
declare interface TabsTriggerProps extends Omit<React_2.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>, 'children' | 'disabled'>, TabsTriggerBaseProps {
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
declare const Text_2: React_2.ForwardRefExoticComponent<TextProps & React_2.RefAttributes<Text_3>>;
|
|
507
|
+
export { Text_2 as Text }
|
|
508
|
+
|
|
509
|
+
export declare const Textarea: React_2.ForwardRefExoticComponent<TextInputProps & React_2.RefAttributes<TextInput>>;
|
|
510
|
+
|
|
511
|
+
export declare interface TextProps extends React_2.ComponentPropsWithoutRef<typeof Text_3>, VariantProps<typeof textVariants>, TextBaseProps {
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
export declare const textVariants: (props?: ({
|
|
515
|
+
variant?: "body" | "caption" | "h1" | "h2" | "h3" | "h4" | "label" | "bodySmall" | "overline" | null | undefined;
|
|
516
|
+
} & ClassProp) | undefined) => string;
|
|
517
|
+
|
|
518
|
+
export declare function ThemeProvider({ children }: {
|
|
519
|
+
children: React_2.ReactNode;
|
|
520
|
+
}): JSX.Element;
|
|
521
|
+
|
|
522
|
+
export declare function ThemeToggle(): JSX.Element;
|
|
523
|
+
|
|
524
|
+
export declare const Toast: React_2.ForwardRefExoticComponent<Omit<ViewProps & {
|
|
525
|
+
asChild?: boolean;
|
|
526
|
+
} & {
|
|
527
|
+
open: boolean;
|
|
528
|
+
onOpenChange: (value: boolean) => void;
|
|
529
|
+
type?: "foreground" | "background";
|
|
530
|
+
} & React_2.RefAttributes<View>, "ref"> & {
|
|
531
|
+
variant?: "default" | "destructive";
|
|
532
|
+
} & React_2.RefAttributes<View>>;
|
|
533
|
+
|
|
534
|
+
export declare function Toaster(): JSX.Element;
|
|
535
|
+
|
|
536
|
+
export declare type ToastProps = React_2.ComponentPropsWithoutRef<typeof Toast>;
|
|
537
|
+
|
|
538
|
+
export declare const Toggle: React_2.ForwardRefExoticComponent<ToggleProps & React_2.RefAttributes<View>>;
|
|
539
|
+
|
|
540
|
+
export declare const ToggleGroup: React_2.ForwardRefExoticComponent<ToggleGroupProps & React_2.RefAttributes<View>>;
|
|
541
|
+
|
|
542
|
+
export declare const ToggleGroupItem: React_2.ForwardRefExoticComponent<ToggleGroupItemProps & React_2.RefAttributes<View>>;
|
|
543
|
+
|
|
544
|
+
declare interface ToggleGroupItemProps extends Omit<React_2.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item>, 'children' | 'disabled'>, ToggleGroupItemBaseProps {
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
declare interface ToggleGroupProps extends Omit<React_2.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Root>, 'value' | 'onValueChange' | 'type'>, ToggleGroupBaseProps {
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
declare interface ToggleProps extends Omit<React_2.ComponentPropsWithoutRef<typeof TogglePrimitive.Root>, 'pressed' | 'onPressedChange' | 'children'>, ToggleBaseProps {
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
export { toggleVariants }
|
|
554
|
+
|
|
555
|
+
export declare const Tooltip: React_2.ForwardRefExoticComponent<ViewProps & {
|
|
556
|
+
asChild?: boolean;
|
|
557
|
+
} & {
|
|
558
|
+
onOpenChange?: (open: boolean) => void;
|
|
559
|
+
delayDuration?: number;
|
|
560
|
+
skipDelayDuration?: number;
|
|
561
|
+
disableHoverableContent?: boolean;
|
|
562
|
+
} & React_2.RefAttributes<View>>;
|
|
563
|
+
|
|
564
|
+
export declare const TooltipContent: React_2.ForwardRefExoticComponent<React_2.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content> & {
|
|
565
|
+
portalHost?: string;
|
|
566
|
+
} & React_2.RefAttributes<React_2.ElementRef<typeof TooltipPrimitive.Content>>>;
|
|
567
|
+
|
|
568
|
+
export declare const TooltipProvider: ({ children }: {
|
|
569
|
+
children: React_2.ReactNode;
|
|
570
|
+
}) => JSX.Element;
|
|
571
|
+
|
|
572
|
+
export declare const TooltipTrigger: React_2.ForwardRefExoticComponent<Omit<PressableProps & React_2.RefAttributes<View>, "ref"> & {
|
|
573
|
+
asChild?: boolean;
|
|
574
|
+
} & {
|
|
575
|
+
onKeyDown?: (ev: React_2.KeyboardEvent) => void;
|
|
576
|
+
onKeyUp?: (ev: React_2.KeyboardEvent) => void;
|
|
577
|
+
} & React_2.RefAttributes<TriggerRef_2>>;
|
|
578
|
+
|
|
579
|
+
export declare function wrapTextChildren(children: React_2.ReactNode, TextComponent?: React_2.ComponentType<TextProps_2>, textProps?: TextProps_2): React_2.ReactNode;
|
|
580
|
+
|
|
581
|
+
export { }
|