@gv-tech/ui-native 2.19.0 → 2.21.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 +627 -107
- package/dist/ui-native.cjs +2 -0
- package/dist/ui-native.mjs +2036 -1428
- package/package.json +14 -11
- package/src/aspect-ratio.tsx +9 -5
- package/src/breadcrumb.tsx +126 -4
- package/src/calendar.tsx +5 -7
- package/src/carousel.tsx +28 -8
- package/src/chart.tsx +30 -8
- package/src/command.tsx +48 -8
- package/src/context-menu.tsx +213 -5
- package/src/drawer.tsx +132 -6
- package/src/dropdown-menu.tsx +217 -5
- package/src/hooks/use-toast.ts +186 -0
- package/src/hover-card.tsx +26 -6
- package/src/index.ts +114 -11
- package/src/menubar.tsx +253 -5
- package/src/navigation-menu.tsx +175 -5
- package/src/pagination.tsx +107 -4
- package/src/resizable.tsx +9 -19
- package/src/scroll-area.tsx +24 -7
- package/src/slider.tsx +38 -5
- package/src/sonner.tsx +5 -7
- package/src/toaster.tsx +25 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,21 +1,102 @@
|
|
|
1
1
|
import * as AccordionPrimitive from '@rn-primitives/accordion';
|
|
2
2
|
import * as AlertDialogPrimitive from '@rn-primitives/alert-dialog';
|
|
3
|
+
import { AspectRatioBaseProps } from '../../ui-core/src';
|
|
3
4
|
import * as AvatarPrimitive from '@rn-primitives/avatar';
|
|
5
|
+
import { BreadcrumbBaseProps } from '../../ui-core/src';
|
|
6
|
+
import { BreadcrumbEllipsisBaseProps } from '../../ui-core/src';
|
|
7
|
+
import { BreadcrumbItemBaseProps } from '../../ui-core/src';
|
|
8
|
+
import { BreadcrumbLinkBaseProps } from '../../ui-core/src';
|
|
9
|
+
import { BreadcrumbListBaseProps } from '../../ui-core/src';
|
|
10
|
+
import { BreadcrumbPageBaseProps } from '../../ui-core/src';
|
|
11
|
+
import { BreadcrumbSeparatorBaseProps } from '../../ui-core/src';
|
|
4
12
|
import { ButtonBaseProps } from '../../ui-core/src';
|
|
13
|
+
import { CalendarBaseProps } from '../../ui-core/src';
|
|
5
14
|
import { CardBaseProps } from '../../ui-core/src';
|
|
15
|
+
import { CarouselBaseProps } from '../../ui-core/src';
|
|
16
|
+
import { CarouselContentBaseProps } from '../../ui-core/src';
|
|
17
|
+
import { CarouselItemBaseProps } from '../../ui-core/src';
|
|
18
|
+
import { CarouselNextBaseProps } from '../../ui-core/src';
|
|
19
|
+
import { CarouselPreviousBaseProps } from '../../ui-core/src';
|
|
20
|
+
import { ChartContainerBaseProps } from '../../ui-core/src';
|
|
21
|
+
import { ChartLegendContentBaseProps } from '../../ui-core/src';
|
|
22
|
+
import { ChartTooltipContentBaseProps } from '../../ui-core/src';
|
|
6
23
|
import * as CheckboxPrimitive from '@rn-primitives/checkbox';
|
|
7
24
|
import { ClassProp } from 'class-variance-authority/types';
|
|
8
25
|
import { ClassValue } from 'clsx';
|
|
9
26
|
import * as CollapsiblePrimitive from '@rn-primitives/collapsible';
|
|
27
|
+
import { CommandBaseProps } from '../../ui-core/src';
|
|
28
|
+
import { CommandEmptyBaseProps } from '../../ui-core/src';
|
|
29
|
+
import { CommandGroupBaseProps } from '../../ui-core/src';
|
|
30
|
+
import { CommandInputBaseProps } from '../../ui-core/src';
|
|
31
|
+
import { CommandItemBaseProps } from '../../ui-core/src';
|
|
32
|
+
import { CommandListBaseProps } from '../../ui-core/src';
|
|
33
|
+
import { CommandSeparatorBaseProps } from '../../ui-core/src';
|
|
34
|
+
import { CommandShortcutBaseProps } from '../../ui-core/src';
|
|
35
|
+
import { ContextMenuCheckboxItemBaseProps } from '../../ui-core/src';
|
|
36
|
+
import { ContextMenuContentBaseProps } from '../../ui-core/src';
|
|
37
|
+
import { ContextMenuItemBaseProps } from '../../ui-core/src';
|
|
38
|
+
import { ContextMenuLabelBaseProps } from '../../ui-core/src';
|
|
39
|
+
import * as ContextMenuPrimitive from '@rn-primitives/context-menu';
|
|
40
|
+
import { ContextMenuRadioItemBaseProps } from '../../ui-core/src';
|
|
41
|
+
import { ContextMenuSeparatorBaseProps } from '../../ui-core/src';
|
|
42
|
+
import { ContextMenuShortcutBaseProps } from '../../ui-core/src';
|
|
43
|
+
import { ContextMenuSubContentBaseProps } from '../../ui-core/src';
|
|
44
|
+
import { ContextMenuSubTriggerBaseProps } from '../../ui-core/src';
|
|
10
45
|
import { DialogBaseProps } from '../../ui-core/src';
|
|
11
46
|
import { DialogContentBaseProps } from '../../ui-core/src';
|
|
12
47
|
import * as DialogPrimitive from '@rn-primitives/dialog';
|
|
48
|
+
import { DrawerBaseProps } from '../../ui-core/src';
|
|
49
|
+
import { DrawerCloseBaseProps } from '../../ui-core/src';
|
|
50
|
+
import { DrawerContentBaseProps } from '../../ui-core/src';
|
|
51
|
+
import { DrawerDescriptionBaseProps } from '../../ui-core/src';
|
|
52
|
+
import { DrawerFooterBaseProps } from '../../ui-core/src';
|
|
53
|
+
import { DrawerHeaderBaseProps } from '../../ui-core/src';
|
|
54
|
+
import { DrawerTitleBaseProps } from '../../ui-core/src';
|
|
55
|
+
import { DrawerTriggerBaseProps } from '../../ui-core/src';
|
|
56
|
+
import { DropdownMenuCheckboxItemBaseProps } from '../../ui-core/src';
|
|
57
|
+
import { DropdownMenuContentBaseProps } from '../../ui-core/src';
|
|
58
|
+
import { DropdownMenuItemBaseProps } from '../../ui-core/src';
|
|
59
|
+
import { DropdownMenuLabelBaseProps } from '../../ui-core/src';
|
|
60
|
+
import * as DropdownMenuPrimitive from '@rn-primitives/dropdown-menu';
|
|
61
|
+
import { DropdownMenuRadioItemBaseProps } from '../../ui-core/src';
|
|
62
|
+
import { DropdownMenuSeparatorBaseProps } from '../../ui-core/src';
|
|
63
|
+
import { DropdownMenuShortcutBaseProps } from '../../ui-core/src';
|
|
64
|
+
import { DropdownMenuSubContentBaseProps } from '../../ui-core/src';
|
|
65
|
+
import { DropdownMenuSubTriggerBaseProps } from '../../ui-core/src';
|
|
13
66
|
import { FlatList } from 'react-native';
|
|
67
|
+
import { HoverCardContentBaseProps } from '../../ui-core/src';
|
|
14
68
|
import { InputBaseProps } from '../../ui-core/src';
|
|
15
69
|
import { JSX } from 'react/jsx-runtime';
|
|
70
|
+
import { MenubarBaseProps } from '../../ui-core/src';
|
|
71
|
+
import { MenubarCheckboxItemBaseProps } from '../../ui-core/src';
|
|
72
|
+
import { MenubarContentBaseProps } from '../../ui-core/src';
|
|
73
|
+
import { MenubarItemBaseProps } from '../../ui-core/src';
|
|
74
|
+
import { MenubarLabelBaseProps } from '../../ui-core/src';
|
|
75
|
+
import * as MenubarPrimitive from '@rn-primitives/menubar';
|
|
76
|
+
import { MenubarRadioItemBaseProps } from '../../ui-core/src';
|
|
77
|
+
import { MenubarSeparatorBaseProps } from '../../ui-core/src';
|
|
78
|
+
import { MenubarShortcutBaseProps } from '../../ui-core/src';
|
|
79
|
+
import { MenubarSubContentBaseProps } from '../../ui-core/src';
|
|
80
|
+
import { MenubarSubTriggerBaseProps } from '../../ui-core/src';
|
|
81
|
+
import { MenubarTriggerBaseProps } from '../../ui-core/src';
|
|
16
82
|
import { NativeScrollEvent } from 'react-native';
|
|
17
83
|
import { NativeSyntheticEvent } from 'react-native';
|
|
84
|
+
import { NavigationMenuBaseProps } from '../../ui-core/src';
|
|
85
|
+
import { NavigationMenuContentBaseProps } from '../../ui-core/src';
|
|
86
|
+
import { NavigationMenuIndicatorBaseProps } from '../../ui-core/src';
|
|
87
|
+
import { NavigationMenuItemBaseProps } from '../../ui-core/src';
|
|
88
|
+
import { NavigationMenuLinkBaseProps } from '../../ui-core/src';
|
|
89
|
+
import { NavigationMenuListBaseProps } from '../../ui-core/src';
|
|
90
|
+
import { NavigationMenuTriggerBaseProps } from '../../ui-core/src';
|
|
91
|
+
import { NavigationMenuViewportBaseProps } from '../../ui-core/src';
|
|
18
92
|
import { Option as Option_2 } from '@rn-primitives/select';
|
|
93
|
+
import { PaginationBaseProps } from '../../ui-core/src';
|
|
94
|
+
import { PaginationContentBaseProps } from '../../ui-core/src';
|
|
95
|
+
import { PaginationEllipsisBaseProps } from '../../ui-core/src';
|
|
96
|
+
import { PaginationItemBaseProps } from '../../ui-core/src';
|
|
97
|
+
import { PaginationLinkBaseProps } from '../../ui-core/src';
|
|
98
|
+
import { PaginationNextBaseProps } from '../../ui-core/src';
|
|
99
|
+
import { PaginationPreviousBaseProps } from '../../ui-core/src';
|
|
19
100
|
import { PopoverAnchorBaseProps } from '../../ui-core/src';
|
|
20
101
|
import { PopoverBaseProps } from '../../ui-core/src';
|
|
21
102
|
import { PopoverContentBaseProps } from '../../ui-core/src';
|
|
@@ -26,6 +107,10 @@ import { RadioGroupBaseProps } from '../../ui-core/src';
|
|
|
26
107
|
import { RadioGroupItemBaseProps } from '../../ui-core/src';
|
|
27
108
|
import * as RadioGroupPrimitive from '@rn-primitives/radio-group';
|
|
28
109
|
import * as React_2 from 'react';
|
|
110
|
+
import { ResizableHandleBaseProps } from '../../ui-core/src';
|
|
111
|
+
import { ResizablePanelBaseProps } from '../../ui-core/src';
|
|
112
|
+
import { ResizablePanelGroupBaseProps } from '../../ui-core/src';
|
|
113
|
+
import { ScrollAreaBaseProps } from '../../ui-core/src';
|
|
29
114
|
import { ScrollToTopBaseProps } from '../../ui-core/src';
|
|
30
115
|
import { ScrollView } from 'react-native';
|
|
31
116
|
import { SelectContentBaseProps } from '../../ui-core/src';
|
|
@@ -36,6 +121,8 @@ import { SelectScrollDownButtonBaseProps } from '../../ui-core/src';
|
|
|
36
121
|
import { SelectScrollUpButtonBaseProps } from '../../ui-core/src';
|
|
37
122
|
import { SelectSeparatorBaseProps } from '../../ui-core/src';
|
|
38
123
|
import { SelectTriggerBaseProps } from '../../ui-core/src';
|
|
124
|
+
import { SliderBaseProps } from '../../ui-core/src';
|
|
125
|
+
import { SonnerBaseProps } from '../../ui-core/src';
|
|
39
126
|
import { SwitchBaseProps } from '../../ui-core/src';
|
|
40
127
|
import * as SwitchPrimitive from '@rn-primitives/switch';
|
|
41
128
|
import { TableOfContentsContentBaseProps } from '../../ui-core/src';
|
|
@@ -50,6 +137,7 @@ import { TextBaseProps } from '../../ui-core/src';
|
|
|
50
137
|
import { TextInput } from 'react-native';
|
|
51
138
|
import { TextInputProps } from 'react-native';
|
|
52
139
|
import { TextProps as TextProps_2 } from 'react-native';
|
|
140
|
+
import { ToasterBaseProps } from '../../ui-core/src';
|
|
53
141
|
import { ToggleBaseProps } from '../../ui-core/src';
|
|
54
142
|
import { ToggleGroupBaseProps } from '../../ui-core/src';
|
|
55
143
|
import { ToggleGroupItemBaseProps } from '../../ui-core/src';
|
|
@@ -57,8 +145,11 @@ import * as ToggleGroupPrimitive from '@rn-primitives/toggle-group';
|
|
|
57
145
|
import * as TogglePrimitive from '@rn-primitives/toggle';
|
|
58
146
|
import { toggleVariants } from '../../ui-core/src';
|
|
59
147
|
import * as TooltipPrimitive from '@rn-primitives/tooltip';
|
|
60
|
-
import { TriggerRef } from '@rn-primitives/
|
|
61
|
-
import { TriggerRef as TriggerRef_2 } from '@rn-primitives/
|
|
148
|
+
import { TriggerRef } from '@rn-primitives/context-menu';
|
|
149
|
+
import { TriggerRef as TriggerRef_2 } from '@rn-primitives/dropdown-menu';
|
|
150
|
+
import { TriggerRef as TriggerRef_3 } from '@rn-primitives/hover-card';
|
|
151
|
+
import { TriggerRef as TriggerRef_4 } from '@rn-primitives/select';
|
|
152
|
+
import { TriggerRef as TriggerRef_5 } from '@rn-primitives/tooltip';
|
|
62
153
|
import { VariantProps } from 'class-variance-authority';
|
|
63
154
|
import { View } from 'react-native';
|
|
64
155
|
import { ViewProps } from 'react-native';
|
|
@@ -86,13 +177,16 @@ export declare const Alert: React_2.ForwardRefExoticComponent<ViewProps & Varian
|
|
|
86
177
|
|
|
87
178
|
export declare const AlertDescription: React_2.ForwardRefExoticComponent<TextProps_2 & React_2.RefAttributes<Text_3>>;
|
|
88
179
|
|
|
89
|
-
export declare const AlertDialog:
|
|
90
|
-
open
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
180
|
+
export declare const AlertDialog: {
|
|
181
|
+
({ asChild, open: openProp, defaultOpen, onOpenChange: onOpenChangeProp, ref, ...viewProps }: {
|
|
182
|
+
open?: boolean;
|
|
183
|
+
onOpenChange?: (value: boolean) => void;
|
|
184
|
+
defaultOpen?: boolean;
|
|
185
|
+
} & ViewProps & {
|
|
186
|
+
asChild?: boolean;
|
|
187
|
+
} & React_2.RefAttributes<View>): React_2.JSX.Element;
|
|
188
|
+
displayName: string;
|
|
189
|
+
};
|
|
96
190
|
|
|
97
191
|
export declare const AlertDialogAction: React_2.ForwardRefExoticComponent<AlertDialogActionProps & React_2.RefAttributes<React_2.ElementRef<typeof AlertDialogPrimitive.Action>>>;
|
|
98
192
|
|
|
@@ -134,16 +228,19 @@ export declare const AlertDialogTitle: React_2.ForwardRefExoticComponent<AlertDi
|
|
|
134
228
|
|
|
135
229
|
declare type AlertDialogTitleProps = React_2.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Title>;
|
|
136
230
|
|
|
137
|
-
export declare const AlertDialogTrigger:
|
|
138
|
-
asChild
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
231
|
+
export declare const AlertDialogTrigger: {
|
|
232
|
+
({ asChild, onPress: onPressProp, disabled, ref, ...props }: Omit<PressableProps & React_2.RefAttributes<View>, "ref"> & {
|
|
233
|
+
asChild?: boolean;
|
|
234
|
+
} & {
|
|
235
|
+
onKeyDown?: (ev: React_2.KeyboardEvent) => void;
|
|
236
|
+
onKeyUp?: (ev: React_2.KeyboardEvent) => void;
|
|
237
|
+
} & React_2.RefAttributes<View>): React_2.JSX.Element;
|
|
238
|
+
displayName: string;
|
|
239
|
+
};
|
|
143
240
|
|
|
144
241
|
export declare const AlertTitle: React_2.ForwardRefExoticComponent<TextProps_2 & React_2.RefAttributes<Text_3>>;
|
|
145
242
|
|
|
146
|
-
export declare const AspectRatio:
|
|
243
|
+
export declare const AspectRatio: React_2.FC<AspectRatioBaseProps>;
|
|
147
244
|
|
|
148
245
|
export declare const Avatar: React_2.ForwardRefExoticComponent<AvatarProps & React_2.RefAttributes<React_2.ElementRef<typeof AvatarPrimitive.Root>>>;
|
|
149
246
|
|
|
@@ -167,7 +264,29 @@ export declare const badgeVariants: (props?: ({
|
|
|
167
264
|
variant?: "default" | "destructive" | "secondary" | "outline" | null | undefined;
|
|
168
265
|
} & ClassProp) | undefined) => string;
|
|
169
266
|
|
|
170
|
-
export declare const Breadcrumb:
|
|
267
|
+
export declare const Breadcrumb: React_2.ForwardRefExoticComponent<BreadcrumbBaseProps & {
|
|
268
|
+
separator?: React_2.ReactNode;
|
|
269
|
+
} & React_2.RefAttributes<View>>;
|
|
270
|
+
|
|
271
|
+
export declare const BreadcrumbEllipsis: {
|
|
272
|
+
({ className, children, ...props }: BreadcrumbEllipsisBaseProps): JSX.Element;
|
|
273
|
+
displayName: string;
|
|
274
|
+
};
|
|
275
|
+
|
|
276
|
+
export declare const BreadcrumbItem: React_2.ForwardRefExoticComponent<BreadcrumbItemBaseProps & React_2.RefAttributes<View>>;
|
|
277
|
+
|
|
278
|
+
export declare const BreadcrumbLink: React_2.ForwardRefExoticComponent<BreadcrumbLinkBaseProps & {
|
|
279
|
+
onPress?: () => void;
|
|
280
|
+
} & React_2.RefAttributes<View>>;
|
|
281
|
+
|
|
282
|
+
export declare const BreadcrumbList: React_2.ForwardRefExoticComponent<BreadcrumbListBaseProps & React_2.RefAttributes<View>>;
|
|
283
|
+
|
|
284
|
+
export declare const BreadcrumbPage: React_2.ForwardRefExoticComponent<BreadcrumbPageBaseProps & React_2.RefAttributes<View>>;
|
|
285
|
+
|
|
286
|
+
export declare const BreadcrumbSeparator: {
|
|
287
|
+
({ children, className, ...props }: BreadcrumbSeparatorBaseProps): JSX.Element;
|
|
288
|
+
displayName: string;
|
|
289
|
+
};
|
|
171
290
|
|
|
172
291
|
export declare const Button: React_2.ForwardRefExoticComponent<ButtonProps & React_2.RefAttributes<View>>;
|
|
173
292
|
|
|
@@ -180,7 +299,7 @@ export declare const buttonVariants: (props?: ({
|
|
|
180
299
|
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
181
300
|
} & ClassProp) | undefined) => string;
|
|
182
301
|
|
|
183
|
-
export declare const Calendar:
|
|
302
|
+
export declare const Calendar: React_2.FC<CalendarBaseProps>;
|
|
184
303
|
|
|
185
304
|
export declare const Card: React_2.ForwardRefExoticComponent<CardProps & React_2.RefAttributes<View>>;
|
|
186
305
|
|
|
@@ -197,9 +316,31 @@ export declare interface CardProps extends React_2.ComponentPropsWithoutRef<type
|
|
|
197
316
|
|
|
198
317
|
export declare const CardTitle: React_2.ForwardRefExoticComponent<TextProps_2 & React_2.RefAttributes<Text_3>>;
|
|
199
318
|
|
|
200
|
-
export declare const Carousel:
|
|
319
|
+
export declare const Carousel: React_2.FC<CarouselBaseProps>;
|
|
320
|
+
|
|
321
|
+
export declare const CarouselContent: React_2.FC<CarouselContentBaseProps>;
|
|
322
|
+
|
|
323
|
+
export declare const CarouselItem: React_2.FC<CarouselItemBaseProps>;
|
|
324
|
+
|
|
325
|
+
export declare const CarouselNext: React_2.FC<CarouselNextBaseProps>;
|
|
326
|
+
|
|
327
|
+
export declare const CarouselPrevious: React_2.FC<CarouselPreviousBaseProps>;
|
|
328
|
+
|
|
329
|
+
export declare const ChartContainer: React_2.FC<ChartContainerBaseProps>;
|
|
330
|
+
|
|
331
|
+
export declare const ChartLegend: React_2.FC<{
|
|
332
|
+
children?: React_2.ReactNode;
|
|
333
|
+
}>;
|
|
201
334
|
|
|
202
|
-
export declare const
|
|
335
|
+
export declare const ChartLegendContent: React_2.FC<ChartLegendContentBaseProps>;
|
|
336
|
+
|
|
337
|
+
export declare const ChartStyle: React_2.FC;
|
|
338
|
+
|
|
339
|
+
export declare const ChartTooltip: React_2.FC<{
|
|
340
|
+
children?: React_2.ReactNode;
|
|
341
|
+
}>;
|
|
342
|
+
|
|
343
|
+
export declare const ChartTooltipContent: React_2.FC<ChartTooltipContentBaseProps>;
|
|
203
344
|
|
|
204
345
|
export declare const Checkbox: React_2.ForwardRefExoticComponent<Omit<Omit<PressableProps & React_2.RefAttributes<View>, "ref"> & {
|
|
205
346
|
asChild?: boolean;
|
|
@@ -222,24 +363,117 @@ export declare const CollapsibleContent: typeof CollapsiblePrimitive.Content;
|
|
|
222
363
|
|
|
223
364
|
export declare const CollapsibleTrigger: typeof CollapsiblePrimitive.Trigger;
|
|
224
365
|
|
|
225
|
-
export declare const Command:
|
|
366
|
+
export declare const Command: React_2.FC<CommandBaseProps>;
|
|
226
367
|
|
|
227
|
-
export declare const
|
|
368
|
+
export declare const CommandDialog: React_2.FC<{
|
|
369
|
+
children?: React_2.ReactNode;
|
|
370
|
+
}>;
|
|
228
371
|
|
|
229
|
-
export declare const
|
|
230
|
-
asChild?: boolean;
|
|
231
|
-
} & {
|
|
232
|
-
open?: boolean;
|
|
233
|
-
defaultOpen?: boolean;
|
|
234
|
-
onOpenChange?: (value: boolean) => void;
|
|
235
|
-
} & React_2.RefAttributes<View>>;
|
|
372
|
+
export declare const CommandEmpty: React_2.FC<CommandEmptyBaseProps>;
|
|
236
373
|
|
|
237
|
-
export declare const
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
374
|
+
export declare const CommandGroup: React_2.FC<CommandGroupBaseProps>;
|
|
375
|
+
|
|
376
|
+
export declare const CommandInput: React_2.FC<CommandInputBaseProps>;
|
|
377
|
+
|
|
378
|
+
export declare const CommandItem: React_2.FC<CommandItemBaseProps>;
|
|
379
|
+
|
|
380
|
+
export declare const CommandList: React_2.FC<CommandListBaseProps>;
|
|
381
|
+
|
|
382
|
+
export declare const CommandSeparator: React_2.FC<CommandSeparatorBaseProps>;
|
|
383
|
+
|
|
384
|
+
export declare const CommandShortcut: React_2.FC<CommandShortcutBaseProps>;
|
|
385
|
+
|
|
386
|
+
export declare const ContextMenu: {
|
|
387
|
+
({ asChild, relativeTo, onOpenChange: onOpenChangeProp, ref, ...viewProps }: ViewProps & {
|
|
388
|
+
asChild?: boolean;
|
|
389
|
+
} & {
|
|
390
|
+
onOpenChange?: (open: boolean) => void;
|
|
391
|
+
relativeTo?: "longPress" | "trigger";
|
|
392
|
+
} & React_2.RefAttributes<View>): React_2.JSX.Element;
|
|
393
|
+
displayName: string;
|
|
394
|
+
};
|
|
395
|
+
|
|
396
|
+
export declare const ContextMenuCheckboxItem: React_2.ForwardRefExoticComponent<ContextMenuCheckboxItemBaseProps & React_2.RefAttributes<View>>;
|
|
397
|
+
|
|
398
|
+
export declare const ContextMenuContent: React_2.ForwardRefExoticComponent<ContextMenuContentBaseProps & React_2.RefAttributes<View>>;
|
|
399
|
+
|
|
400
|
+
export declare const ContextMenuGroup: {
|
|
401
|
+
({ asChild, ref, ...props }: ViewProps & {
|
|
402
|
+
asChild?: boolean;
|
|
403
|
+
} & React_2.RefAttributes<View>): React_2.JSX.Element;
|
|
404
|
+
displayName: string;
|
|
405
|
+
};
|
|
406
|
+
|
|
407
|
+
export declare const ContextMenuItem: React_2.ForwardRefExoticComponent<ContextMenuItemBaseProps & React_2.RefAttributes<View>>;
|
|
408
|
+
|
|
409
|
+
export declare const ContextMenuLabel: React_2.ForwardRefExoticComponent<ContextMenuLabelBaseProps & React_2.RefAttributes<Text_3>>;
|
|
410
|
+
|
|
411
|
+
export declare const ContextMenuPortal: typeof ContextMenuPrimitive.Portal;
|
|
412
|
+
|
|
413
|
+
export declare const ContextMenuRadioGroup: {
|
|
414
|
+
({ asChild, value, onValueChange, ref, ...props }: ViewProps & {
|
|
415
|
+
asChild?: boolean;
|
|
416
|
+
} & {
|
|
417
|
+
value: string | undefined;
|
|
418
|
+
onValueChange: (value: string) => void;
|
|
419
|
+
} & React_2.RefAttributes<View>): React_2.JSX.Element;
|
|
420
|
+
displayName: string;
|
|
421
|
+
};
|
|
422
|
+
|
|
423
|
+
export declare const ContextMenuRadioItem: React_2.ForwardRefExoticComponent<ContextMenuRadioItemBaseProps & React_2.RefAttributes<View>>;
|
|
424
|
+
|
|
425
|
+
export declare const ContextMenuSeparator: React_2.ForwardRefExoticComponent<ContextMenuSeparatorBaseProps & React_2.RefAttributes<View>>;
|
|
426
|
+
|
|
427
|
+
export declare const ContextMenuShortcut: {
|
|
428
|
+
({ className, children, ...props }: ContextMenuShortcutBaseProps): JSX.Element;
|
|
429
|
+
displayName: string;
|
|
430
|
+
};
|
|
431
|
+
|
|
432
|
+
export declare const ContextMenuSub: {
|
|
433
|
+
({ asChild, defaultOpen, open: openProp, onOpenChange: onOpenChangeProp, ref, ...props }: ViewProps & {
|
|
434
|
+
asChild?: boolean;
|
|
435
|
+
} & {
|
|
436
|
+
defaultOpen?: boolean;
|
|
437
|
+
open?: boolean;
|
|
438
|
+
onOpenChange?: (value: boolean) => void;
|
|
439
|
+
} & React_2.RefAttributes<View>): React_2.JSX.Element;
|
|
440
|
+
displayName: string;
|
|
441
|
+
};
|
|
442
|
+
|
|
443
|
+
export declare const ContextMenuSubContent: React_2.ForwardRefExoticComponent<ContextMenuSubContentBaseProps & React_2.RefAttributes<View>>;
|
|
444
|
+
|
|
445
|
+
export declare const ContextMenuSubTrigger: React_2.ForwardRefExoticComponent<ContextMenuSubTriggerBaseProps & React_2.RefAttributes<View>>;
|
|
446
|
+
|
|
447
|
+
export declare const ContextMenuTrigger: {
|
|
448
|
+
({ asChild, onLongPress: onLongPressProp, disabled, onAccessibilityAction: onAccessibilityActionProp, ref, ...props }: Omit<PressableProps & React_2.RefAttributes<View>, "ref"> & {
|
|
449
|
+
asChild?: boolean;
|
|
450
|
+
} & {
|
|
451
|
+
onKeyDown?: (ev: React_2.KeyboardEvent) => void;
|
|
452
|
+
onKeyUp?: (ev: React_2.KeyboardEvent) => void;
|
|
453
|
+
} & React_2.RefAttributes<TriggerRef>): React_2.JSX.Element;
|
|
454
|
+
displayName: string;
|
|
455
|
+
};
|
|
456
|
+
|
|
457
|
+
export declare const Dialog: {
|
|
458
|
+
({ asChild, open: openProp, defaultOpen, onOpenChange: onOpenChangeProp, ref, ...viewProps }: ViewProps & {
|
|
459
|
+
asChild?: boolean;
|
|
460
|
+
} & {
|
|
461
|
+
open?: boolean;
|
|
462
|
+
defaultOpen?: boolean;
|
|
463
|
+
onOpenChange?: (value: boolean) => void;
|
|
464
|
+
} & React_2.RefAttributes<View>): React_2.JSX.Element;
|
|
465
|
+
displayName: string;
|
|
466
|
+
};
|
|
467
|
+
|
|
468
|
+
export declare const DialogClose: {
|
|
469
|
+
({ asChild, onPress: onPressProp, disabled, ref, ...props }: Omit<PressableProps & React_2.RefAttributes<View>, "ref"> & {
|
|
470
|
+
asChild?: boolean;
|
|
471
|
+
} & {
|
|
472
|
+
onKeyDown?: (ev: React_2.KeyboardEvent) => void;
|
|
473
|
+
onKeyUp?: (ev: React_2.KeyboardEvent) => void;
|
|
474
|
+
} & React_2.RefAttributes<View>): React_2.JSX.Element;
|
|
475
|
+
displayName: string;
|
|
476
|
+
};
|
|
243
477
|
|
|
244
478
|
export declare const DialogContent: React_2.ForwardRefExoticComponent<DialogContentProps & React_2.RefAttributes<DialogContentRef>>;
|
|
245
479
|
|
|
@@ -276,20 +510,148 @@ declare type DialogTitleProps = React_2.ComponentPropsWithoutRef<typeof DialogPr
|
|
|
276
510
|
|
|
277
511
|
declare type DialogTitleRef = React_2.ElementRef<typeof DialogPrimitive.Title>;
|
|
278
512
|
|
|
279
|
-
export declare const DialogTrigger:
|
|
280
|
-
asChild
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
513
|
+
export declare const DialogTrigger: {
|
|
514
|
+
({ asChild, onPress: onPressProp, disabled, ref, ...props }: Omit<PressableProps & React_2.RefAttributes<View>, "ref"> & {
|
|
515
|
+
asChild?: boolean;
|
|
516
|
+
} & {
|
|
517
|
+
onKeyDown?: (ev: React_2.KeyboardEvent) => void;
|
|
518
|
+
onKeyUp?: (ev: React_2.KeyboardEvent) => void;
|
|
519
|
+
} & React_2.RefAttributes<View>): React_2.JSX.Element;
|
|
520
|
+
displayName: string;
|
|
521
|
+
};
|
|
522
|
+
|
|
523
|
+
export declare const Drawer: React_2.FC<DrawerBaseProps>;
|
|
524
|
+
|
|
525
|
+
export declare const DrawerClose: React_2.ForwardRefExoticComponent<DrawerCloseBaseProps & {
|
|
526
|
+
className?: string;
|
|
284
527
|
} & React_2.RefAttributes<View>>;
|
|
285
528
|
|
|
286
|
-
export declare const
|
|
529
|
+
export declare const DrawerContent: React_2.ForwardRefExoticComponent<DrawerContentBaseProps & {
|
|
530
|
+
portalHost?: string;
|
|
531
|
+
overlayClassName?: string;
|
|
532
|
+
overlayStyle?: ViewStyle;
|
|
533
|
+
} & React_2.RefAttributes<View>>;
|
|
534
|
+
|
|
535
|
+
export declare const DrawerDescription: React_2.ForwardRefExoticComponent<DrawerDescriptionBaseProps & React_2.RefAttributes<Text_3>>;
|
|
536
|
+
|
|
537
|
+
export declare const DrawerFooter: {
|
|
538
|
+
({ className, children, ...props }: DrawerFooterBaseProps): JSX.Element;
|
|
539
|
+
displayName: string;
|
|
540
|
+
};
|
|
541
|
+
|
|
542
|
+
export declare const DrawerHeader: {
|
|
543
|
+
({ className, children, ...props }: DrawerHeaderBaseProps): JSX.Element;
|
|
544
|
+
displayName: string;
|
|
545
|
+
};
|
|
546
|
+
|
|
547
|
+
export declare const DrawerOverlay: React_2.ForwardRefExoticComponent<DrawerOverlayProps & React_2.RefAttributes<DrawerOverlayRef>>;
|
|
548
|
+
|
|
549
|
+
declare type DrawerOverlayProps = React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>;
|
|
550
|
+
|
|
551
|
+
declare type DrawerOverlayRef = React_2.ElementRef<typeof DialogPrimitive.Overlay>;
|
|
552
|
+
|
|
553
|
+
export declare const DrawerPortal: typeof DialogPrimitive.Portal;
|
|
554
|
+
|
|
555
|
+
export declare const DrawerTitle: React_2.ForwardRefExoticComponent<DrawerTitleBaseProps & React_2.RefAttributes<Text_3>>;
|
|
556
|
+
|
|
557
|
+
export declare const DrawerTrigger: React_2.ForwardRefExoticComponent<DrawerTriggerBaseProps & {
|
|
558
|
+
className?: string;
|
|
559
|
+
} & React_2.RefAttributes<View>>;
|
|
560
|
+
|
|
561
|
+
export declare const DropdownMenu: {
|
|
562
|
+
({ asChild, onOpenChange: onOpenChangeProp, ref, ...viewProps }: ViewProps & {
|
|
563
|
+
asChild?: boolean;
|
|
564
|
+
} & {
|
|
565
|
+
onOpenChange?: (open: boolean) => void;
|
|
566
|
+
} & React_2.RefAttributes<View>): React_2.JSX.Element;
|
|
567
|
+
displayName: string;
|
|
568
|
+
};
|
|
569
|
+
|
|
570
|
+
export declare const DropdownMenuCheckboxItem: React_2.ForwardRefExoticComponent<DropdownMenuCheckboxItemBaseProps & React_2.RefAttributes<View>>;
|
|
571
|
+
|
|
572
|
+
export declare const DropdownMenuContent: React_2.ForwardRefExoticComponent<DropdownMenuContentBaseProps & React_2.RefAttributes<View>>;
|
|
573
|
+
|
|
574
|
+
export declare const DropdownMenuGroup: {
|
|
575
|
+
({ asChild, ref, ...props }: ViewProps & {
|
|
576
|
+
asChild?: boolean;
|
|
577
|
+
} & React_2.RefAttributes<View>): React_2.JSX.Element;
|
|
578
|
+
displayName: string;
|
|
579
|
+
};
|
|
580
|
+
|
|
581
|
+
export declare const DropdownMenuItem: React_2.ForwardRefExoticComponent<DropdownMenuItemBaseProps & React_2.RefAttributes<View>>;
|
|
582
|
+
|
|
583
|
+
export declare const DropdownMenuLabel: React_2.ForwardRefExoticComponent<DropdownMenuLabelBaseProps & React_2.RefAttributes<Text_3>>;
|
|
584
|
+
|
|
585
|
+
export declare const DropdownMenuPortal: typeof DropdownMenuPrimitive.Portal;
|
|
586
|
+
|
|
587
|
+
export declare const DropdownMenuRadioGroup: {
|
|
588
|
+
({ asChild, value, onValueChange, ref, ...props }: ViewProps & {
|
|
589
|
+
asChild?: boolean;
|
|
590
|
+
} & {
|
|
591
|
+
value: string | undefined;
|
|
592
|
+
onValueChange: (value: string) => void;
|
|
593
|
+
} & React_2.RefAttributes<View>): React_2.JSX.Element;
|
|
594
|
+
displayName: string;
|
|
595
|
+
};
|
|
596
|
+
|
|
597
|
+
export declare const DropdownMenuRadioItem: React_2.ForwardRefExoticComponent<DropdownMenuRadioItemBaseProps & React_2.RefAttributes<View>>;
|
|
287
598
|
|
|
288
|
-
export declare const
|
|
599
|
+
export declare const DropdownMenuSeparator: React_2.ForwardRefExoticComponent<DropdownMenuSeparatorBaseProps & React_2.RefAttributes<View>>;
|
|
600
|
+
|
|
601
|
+
export declare const DropdownMenuShortcut: {
|
|
602
|
+
({ className, children, ...props }: DropdownMenuShortcutBaseProps): JSX.Element;
|
|
603
|
+
displayName: string;
|
|
604
|
+
};
|
|
605
|
+
|
|
606
|
+
export declare const DropdownMenuSub: {
|
|
607
|
+
({ asChild, defaultOpen, open: openProp, onOpenChange: onOpenChangeProp, ref, ...props }: ViewProps & {
|
|
608
|
+
asChild?: boolean;
|
|
609
|
+
} & {
|
|
610
|
+
defaultOpen?: boolean;
|
|
611
|
+
open?: boolean;
|
|
612
|
+
onOpenChange?: (value: boolean) => void;
|
|
613
|
+
} & React_2.RefAttributes<View>): React_2.JSX.Element;
|
|
614
|
+
displayName: string;
|
|
615
|
+
};
|
|
616
|
+
|
|
617
|
+
export declare const DropdownMenuSubContent: React_2.ForwardRefExoticComponent<DropdownMenuSubContentBaseProps & React_2.RefAttributes<View>>;
|
|
618
|
+
|
|
619
|
+
export declare const DropdownMenuSubTrigger: React_2.ForwardRefExoticComponent<DropdownMenuSubTriggerBaseProps & React_2.RefAttributes<View>>;
|
|
620
|
+
|
|
621
|
+
export declare const DropdownMenuTrigger: {
|
|
622
|
+
({ asChild, onPress: onPressProp, disabled, ref, ...props }: Omit<PressableProps & React_2.RefAttributes<View>, "ref"> & {
|
|
623
|
+
asChild?: boolean;
|
|
624
|
+
} & {
|
|
625
|
+
onKeyDown?: (ev: React_2.KeyboardEvent) => void;
|
|
626
|
+
onKeyUp?: (ev: React_2.KeyboardEvent) => void;
|
|
627
|
+
} & React_2.RefAttributes<TriggerRef_2>): React_2.JSX.Element;
|
|
628
|
+
displayName: string;
|
|
629
|
+
};
|
|
289
630
|
|
|
290
631
|
export declare const Form: () => JSX.Element;
|
|
291
632
|
|
|
292
|
-
export declare const HoverCard:
|
|
633
|
+
export declare const HoverCard: {
|
|
634
|
+
({ asChild, openDelay: _openDelay, closeDelay: _closeDelay, onOpenChange: onOpenChangeProp, ref, ...viewProps }: ViewProps & {
|
|
635
|
+
asChild?: boolean;
|
|
636
|
+
} & {
|
|
637
|
+
onOpenChange?: (open: boolean) => void;
|
|
638
|
+
openDelay?: number;
|
|
639
|
+
closeDelay?: number;
|
|
640
|
+
} & React_2.RefAttributes<View>): React_2.JSX.Element;
|
|
641
|
+
displayName: string;
|
|
642
|
+
};
|
|
643
|
+
|
|
644
|
+
export declare const HoverCardContent: React_2.ForwardRefExoticComponent<HoverCardContentBaseProps & React_2.RefAttributes<View>>;
|
|
645
|
+
|
|
646
|
+
export declare const HoverCardTrigger: {
|
|
647
|
+
({ asChild, onPress: onPressProp, disabled, ref, ...props }: Omit<PressableProps & React_2.RefAttributes<View>, "ref"> & {
|
|
648
|
+
asChild?: boolean;
|
|
649
|
+
} & {
|
|
650
|
+
onKeyDown?: (ev: React_2.KeyboardEvent) => void;
|
|
651
|
+
onKeyUp?: (ev: React_2.KeyboardEvent) => void;
|
|
652
|
+
} & React_2.RefAttributes<TriggerRef_3>): React_2.JSX.Element;
|
|
653
|
+
displayName: string;
|
|
654
|
+
};
|
|
293
655
|
|
|
294
656
|
export declare const Input: React_2.ForwardRefExoticComponent<InputProps & React_2.RefAttributes<TextInput>>;
|
|
295
657
|
|
|
@@ -303,11 +665,124 @@ export declare const Label: React_2.ForwardRefExoticComponent<Omit<TextProps_2 &
|
|
|
303
665
|
htmlFor?: string;
|
|
304
666
|
} & React_2.RefAttributes<Text_3>, "ref"> & React_2.RefAttributes<Text_3>>;
|
|
305
667
|
|
|
306
|
-
export declare const Menubar:
|
|
668
|
+
export declare const Menubar: React_2.ForwardRefExoticComponent<MenubarBaseProps & React_2.RefAttributes<View>>;
|
|
669
|
+
|
|
670
|
+
export declare const MenubarCheckboxItem: React_2.ForwardRefExoticComponent<MenubarCheckboxItemBaseProps & React_2.RefAttributes<View>>;
|
|
671
|
+
|
|
672
|
+
export declare const MenubarContent: React_2.ForwardRefExoticComponent<MenubarContentBaseProps & React_2.RefAttributes<View>>;
|
|
673
|
+
|
|
674
|
+
export declare const MenubarGroup: {
|
|
675
|
+
({ asChild, ref, ...props }: ViewProps & {
|
|
676
|
+
asChild?: boolean;
|
|
677
|
+
} & React_2.RefAttributes<View>): React_2.JSX.Element;
|
|
678
|
+
displayName: string;
|
|
679
|
+
};
|
|
680
|
+
|
|
681
|
+
export declare const MenubarItem: React_2.ForwardRefExoticComponent<MenubarItemBaseProps & React_2.RefAttributes<View>>;
|
|
682
|
+
|
|
683
|
+
export declare const MenubarLabel: React_2.ForwardRefExoticComponent<MenubarLabelBaseProps & React_2.RefAttributes<Text_3>>;
|
|
684
|
+
|
|
685
|
+
export declare const MenubarMenu: {
|
|
686
|
+
({ asChild, value, ref, ...viewProps }: ViewProps & {
|
|
687
|
+
asChild?: boolean;
|
|
688
|
+
} & {
|
|
689
|
+
value: string | undefined;
|
|
690
|
+
} & React_2.RefAttributes<View>): React_2.JSX.Element;
|
|
691
|
+
displayName: string;
|
|
692
|
+
};
|
|
693
|
+
|
|
694
|
+
export declare const MenubarPortal: typeof MenubarPrimitive.Portal;
|
|
695
|
+
|
|
696
|
+
export declare const MenubarRadioGroup: {
|
|
697
|
+
({ asChild, value, onValueChange, ref, ...props }: ViewProps & {
|
|
698
|
+
asChild?: boolean;
|
|
699
|
+
} & {
|
|
700
|
+
value: string | undefined;
|
|
701
|
+
onValueChange: (value: string) => void;
|
|
702
|
+
} & React_2.RefAttributes<View>): React_2.JSX.Element;
|
|
703
|
+
displayName: string;
|
|
704
|
+
};
|
|
705
|
+
|
|
706
|
+
export declare const MenubarRadioItem: React_2.ForwardRefExoticComponent<MenubarRadioItemBaseProps & React_2.RefAttributes<View>>;
|
|
707
|
+
|
|
708
|
+
export declare const MenubarSeparator: React_2.ForwardRefExoticComponent<MenubarSeparatorBaseProps & React_2.RefAttributes<View>>;
|
|
709
|
+
|
|
710
|
+
export declare const MenubarShortcut: {
|
|
711
|
+
({ className, children, ...props }: MenubarShortcutBaseProps): JSX.Element;
|
|
712
|
+
displayName: string;
|
|
713
|
+
};
|
|
714
|
+
|
|
715
|
+
export declare const MenubarSub: {
|
|
716
|
+
({ asChild, defaultOpen, open: openProp, onOpenChange: onOpenChangeProp, ref, ...props }: ViewProps & {
|
|
717
|
+
asChild?: boolean;
|
|
718
|
+
} & {
|
|
719
|
+
defaultOpen?: boolean;
|
|
720
|
+
open?: boolean;
|
|
721
|
+
onOpenChange?: (value: boolean) => void;
|
|
722
|
+
} & React_2.RefAttributes<View>): React_2.JSX.Element;
|
|
723
|
+
displayName: string;
|
|
724
|
+
};
|
|
725
|
+
|
|
726
|
+
export declare const MenubarSubContent: React_2.ForwardRefExoticComponent<MenubarSubContentBaseProps & React_2.RefAttributes<View>>;
|
|
727
|
+
|
|
728
|
+
export declare const MenubarSubTrigger: React_2.ForwardRefExoticComponent<MenubarSubTriggerBaseProps & React_2.RefAttributes<View>>;
|
|
729
|
+
|
|
730
|
+
export declare const MenubarTrigger: React_2.ForwardRefExoticComponent<MenubarTriggerBaseProps & React_2.RefAttributes<View>>;
|
|
731
|
+
|
|
732
|
+
export declare const NavigationMenu: React_2.ForwardRefExoticComponent<NavigationMenuBaseProps & React_2.RefAttributes<View>>;
|
|
733
|
+
|
|
734
|
+
export declare const NavigationMenuContent: React_2.ForwardRefExoticComponent<NavigationMenuContentBaseProps & React_2.RefAttributes<View>>;
|
|
735
|
+
|
|
736
|
+
export declare const NavigationMenuIndicator: React_2.ForwardRefExoticComponent<NavigationMenuIndicatorBaseProps & React_2.RefAttributes<View>>;
|
|
737
|
+
|
|
738
|
+
export declare const NavigationMenuItem: React_2.ForwardRefExoticComponent<NavigationMenuItemBaseProps & React_2.RefAttributes<View>>;
|
|
739
|
+
|
|
740
|
+
export declare const NavigationMenuLink: React_2.ForwardRefExoticComponent<NavigationMenuLinkBaseProps & {
|
|
741
|
+
onPress?: () => void;
|
|
742
|
+
} & React_2.RefAttributes<View>>;
|
|
743
|
+
|
|
744
|
+
export declare const NavigationMenuList: React_2.ForwardRefExoticComponent<NavigationMenuListBaseProps & React_2.RefAttributes<View>>;
|
|
745
|
+
|
|
746
|
+
export declare const NavigationMenuTrigger: React_2.ForwardRefExoticComponent<NavigationMenuTriggerBaseProps & React_2.RefAttributes<View>>;
|
|
747
|
+
|
|
748
|
+
export declare const NavigationMenuViewport: React_2.ForwardRefExoticComponent<NavigationMenuViewportBaseProps & React_2.RefAttributes<View>>;
|
|
749
|
+
|
|
750
|
+
export declare const Pagination: {
|
|
751
|
+
({ className, children, ...props }: PaginationBaseProps): JSX.Element;
|
|
752
|
+
displayName: string;
|
|
753
|
+
};
|
|
754
|
+
|
|
755
|
+
export declare const PaginationContent: React_2.ForwardRefExoticComponent<PaginationContentBaseProps & React_2.RefAttributes<View>>;
|
|
756
|
+
|
|
757
|
+
export declare const PaginationEllipsis: {
|
|
758
|
+
({ className, ...props }: PaginationEllipsisBaseProps): JSX.Element;
|
|
759
|
+
displayName: string;
|
|
760
|
+
};
|
|
761
|
+
|
|
762
|
+
export declare const PaginationItem: React_2.ForwardRefExoticComponent<PaginationItemBaseProps & React_2.RefAttributes<View>>;
|
|
763
|
+
|
|
764
|
+
export declare const PaginationLink: {
|
|
765
|
+
({ className, isActive, size, children, onPress, ...props }: PaginationLinkProps): JSX.Element;
|
|
766
|
+
displayName: string;
|
|
767
|
+
};
|
|
768
|
+
|
|
769
|
+
declare type PaginationLinkProps = PaginationLinkBaseProps & {
|
|
770
|
+
onPress?: () => void;
|
|
771
|
+
};
|
|
307
772
|
|
|
308
|
-
export declare const
|
|
773
|
+
export declare const PaginationNext: {
|
|
774
|
+
({ className, children, onPress, ...props }: PaginationNextBaseProps & {
|
|
775
|
+
onPress?: () => void;
|
|
776
|
+
}): JSX.Element;
|
|
777
|
+
displayName: string;
|
|
778
|
+
};
|
|
309
779
|
|
|
310
|
-
export declare const
|
|
780
|
+
export declare const PaginationPrevious: {
|
|
781
|
+
({ className, children, onPress, ...props }: PaginationPreviousBaseProps & {
|
|
782
|
+
onPress?: () => void;
|
|
783
|
+
}): JSX.Element;
|
|
784
|
+
displayName: string;
|
|
785
|
+
};
|
|
311
786
|
|
|
312
787
|
export declare const Popover: React_2.ForwardRefExoticComponent<ViewProps & PopoverBaseProps & React_2.RefAttributes<View>>;
|
|
313
788
|
|
|
@@ -329,13 +804,13 @@ export declare interface RadioGroupItemProps extends Omit<React_2.ComponentProps
|
|
|
329
804
|
export declare interface RadioGroupProps extends React_2.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>, RadioGroupBaseProps {
|
|
330
805
|
}
|
|
331
806
|
|
|
332
|
-
export declare const ResizableHandle:
|
|
807
|
+
export declare const ResizableHandle: React_2.FC<ResizableHandleBaseProps>;
|
|
333
808
|
|
|
334
|
-
export declare const ResizablePanel:
|
|
809
|
+
export declare const ResizablePanel: React_2.FC<ResizablePanelBaseProps>;
|
|
335
810
|
|
|
336
|
-
export declare const ResizablePanelGroup:
|
|
811
|
+
export declare const ResizablePanelGroup: React_2.FC<ResizablePanelGroupBaseProps>;
|
|
337
812
|
|
|
338
|
-
export declare const ScrollArea:
|
|
813
|
+
export declare const ScrollArea: React_2.ForwardRefExoticComponent<ScrollAreaBaseProps & React_2.RefAttributes<ScrollView>>;
|
|
339
814
|
|
|
340
815
|
export declare const ScrollToTop: React_2.ForwardRefExoticComponent<ScrollToTopProps & React_2.RefAttributes<ScrollToTopHandle>>;
|
|
341
816
|
|
|
@@ -367,18 +842,21 @@ export declare interface ScrollToTopProps extends ScrollToTopBaseProps {
|
|
|
367
842
|
|
|
368
843
|
export declare const Search: () => JSX.Element;
|
|
369
844
|
|
|
370
|
-
export declare const Select:
|
|
371
|
-
asChild
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
845
|
+
export declare const Select: {
|
|
846
|
+
({ asChild, value: valueProp, defaultValue, onValueChange: onValueChangeProp, onOpenChange: onOpenChangeProp, disabled, ref, ...viewProps }: ViewProps & {
|
|
847
|
+
asChild?: boolean;
|
|
848
|
+
} & {
|
|
849
|
+
value?: Option_2;
|
|
850
|
+
defaultValue?: Option_2;
|
|
851
|
+
onValueChange?: (option: Option_2) => void;
|
|
852
|
+
onOpenChange?: (open: boolean) => void;
|
|
853
|
+
disabled?: boolean;
|
|
854
|
+
dir?: "ltr" | "rtl";
|
|
855
|
+
name?: string;
|
|
856
|
+
required?: boolean;
|
|
857
|
+
} & React_2.RefAttributes<View>): React_2.JSX.Element;
|
|
858
|
+
displayName: string;
|
|
859
|
+
};
|
|
382
860
|
|
|
383
861
|
export declare const SelectContent: React_2.ForwardRefExoticComponent<SelectContentProps & React_2.RefAttributes<View>>;
|
|
384
862
|
|
|
@@ -388,9 +866,12 @@ declare interface SelectContentProps extends Omit<React_2.ComponentPropsWithoutR
|
|
|
388
866
|
overlayStyle?: ViewStyle;
|
|
389
867
|
}
|
|
390
868
|
|
|
391
|
-
export declare const SelectGroup:
|
|
392
|
-
asChild
|
|
393
|
-
|
|
869
|
+
export declare const SelectGroup: {
|
|
870
|
+
({ asChild, ref, ...props }: ViewProps & {
|
|
871
|
+
asChild?: boolean;
|
|
872
|
+
} & React_2.RefAttributes<View>): React_2.JSX.Element;
|
|
873
|
+
displayName: string;
|
|
874
|
+
};
|
|
394
875
|
|
|
395
876
|
export declare const SelectItem: React_2.ForwardRefExoticComponent<SelectItemProps & React_2.RefAttributes<View>>;
|
|
396
877
|
|
|
@@ -418,16 +899,19 @@ export declare const SelectSeparator: React_2.ForwardRefExoticComponent<SelectSe
|
|
|
418
899
|
declare interface SelectSeparatorProps extends React_2.ComponentPropsWithoutRef<typeof SelectPrimitive.Separator>, SelectSeparatorBaseProps {
|
|
419
900
|
}
|
|
420
901
|
|
|
421
|
-
export declare const SelectTrigger: React_2.ForwardRefExoticComponent<SelectTriggerProps & React_2.RefAttributes<
|
|
902
|
+
export declare const SelectTrigger: React_2.ForwardRefExoticComponent<SelectTriggerProps & React_2.RefAttributes<TriggerRef_4>>;
|
|
422
903
|
|
|
423
904
|
declare interface SelectTriggerProps extends Omit<React_2.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>, 'children' | 'disabled'>, SelectTriggerBaseProps {
|
|
424
905
|
}
|
|
425
906
|
|
|
426
|
-
export declare const SelectValue:
|
|
427
|
-
asChild
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
907
|
+
export declare const SelectValue: {
|
|
908
|
+
({ asChild, placeholder, ref, ...props }: TextProps_2 & {
|
|
909
|
+
asChild?: boolean;
|
|
910
|
+
} & {
|
|
911
|
+
placeholder: string;
|
|
912
|
+
} & React_2.RefAttributes<Text_3>): React_2.JSX.Element;
|
|
913
|
+
displayName: string;
|
|
914
|
+
};
|
|
431
915
|
|
|
432
916
|
export declare const Separator: React_2.ForwardRefExoticComponent<Omit<ViewProps & {
|
|
433
917
|
asChild?: boolean;
|
|
@@ -436,20 +920,26 @@ export declare const Separator: React_2.ForwardRefExoticComponent<Omit<ViewProps
|
|
|
436
920
|
decorative?: boolean;
|
|
437
921
|
} & React_2.RefAttributes<View>, "ref"> & React_2.RefAttributes<View>>;
|
|
438
922
|
|
|
439
|
-
export declare const Sheet:
|
|
440
|
-
asChild
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
923
|
+
export declare const Sheet: {
|
|
924
|
+
({ asChild, open: openProp, defaultOpen, onOpenChange: onOpenChangeProp, ref, ...viewProps }: ViewProps & {
|
|
925
|
+
asChild?: boolean;
|
|
926
|
+
} & {
|
|
927
|
+
open?: boolean;
|
|
928
|
+
defaultOpen?: boolean;
|
|
929
|
+
onOpenChange?: (value: boolean) => void;
|
|
930
|
+
} & React_2.RefAttributes<View>): React_2.JSX.Element;
|
|
931
|
+
displayName: string;
|
|
932
|
+
};
|
|
446
933
|
|
|
447
|
-
export declare const SheetClose:
|
|
448
|
-
asChild
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
934
|
+
export declare const SheetClose: {
|
|
935
|
+
({ asChild, onPress: onPressProp, disabled, ref, ...props }: Omit<PressableProps & React_2.RefAttributes<View>, "ref"> & {
|
|
936
|
+
asChild?: boolean;
|
|
937
|
+
} & {
|
|
938
|
+
onKeyDown?: (ev: React_2.KeyboardEvent) => void;
|
|
939
|
+
onKeyUp?: (ev: React_2.KeyboardEvent) => void;
|
|
940
|
+
} & React_2.RefAttributes<View>): React_2.JSX.Element;
|
|
941
|
+
displayName: string;
|
|
942
|
+
};
|
|
453
943
|
|
|
454
944
|
export declare const SheetContent: React_2.ForwardRefExoticComponent<SheetContentProps & React_2.RefAttributes<SheetContentRef>>;
|
|
455
945
|
|
|
@@ -491,18 +981,21 @@ declare type SheetTitleProps = React_2.ComponentPropsWithoutRef<typeof DialogPri
|
|
|
491
981
|
|
|
492
982
|
declare type SheetTitleRef = React_2.ElementRef<typeof DialogPrimitive.Title>;
|
|
493
983
|
|
|
494
|
-
export declare const SheetTrigger:
|
|
495
|
-
asChild
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
984
|
+
export declare const SheetTrigger: {
|
|
985
|
+
({ asChild, onPress: onPressProp, disabled, ref, ...props }: Omit<PressableProps & React_2.RefAttributes<View>, "ref"> & {
|
|
986
|
+
asChild?: boolean;
|
|
987
|
+
} & {
|
|
988
|
+
onKeyDown?: (ev: React_2.KeyboardEvent) => void;
|
|
989
|
+
onKeyUp?: (ev: React_2.KeyboardEvent) => void;
|
|
990
|
+
} & React_2.RefAttributes<View>): React_2.JSX.Element;
|
|
991
|
+
displayName: string;
|
|
992
|
+
};
|
|
500
993
|
|
|
501
994
|
export declare function Skeleton({ className, ...props }: React_2.ComponentPropsWithoutRef<typeof View>): JSX.Element;
|
|
502
995
|
|
|
503
|
-
export declare const Slider:
|
|
996
|
+
export declare const Slider: React_2.FC<SliderBaseProps>;
|
|
504
997
|
|
|
505
|
-
export declare const Sonner:
|
|
998
|
+
export declare const Sonner: React_2.FC<SonnerBaseProps>;
|
|
506
999
|
|
|
507
1000
|
export declare function SupportFab({ supportUrl, creatorId, title, description, open, defaultOpen, onOpenChange, positionClassName, buttonClassName, panelClassName, className, ...buttonProps }: SupportFabProps): JSX.Element;
|
|
508
1001
|
|
|
@@ -629,7 +1122,22 @@ export declare const Toast: React_2.ForwardRefExoticComponent<Omit<ViewProps & {
|
|
|
629
1122
|
variant?: "default" | "destructive";
|
|
630
1123
|
} & React_2.RefAttributes<View>>;
|
|
631
1124
|
|
|
632
|
-
export declare function
|
|
1125
|
+
export declare function toast({ ...props }: Toast_2): {
|
|
1126
|
+
id: string;
|
|
1127
|
+
dismiss: () => void;
|
|
1128
|
+
update: (props: ToasterToast) => void;
|
|
1129
|
+
};
|
|
1130
|
+
|
|
1131
|
+
declare type Toast_2 = Omit<ToasterToast, 'id'>;
|
|
1132
|
+
|
|
1133
|
+
export declare const Toaster: React_2.FC<ToasterBaseProps>;
|
|
1134
|
+
|
|
1135
|
+
declare type ToasterToast = ToastProps & {
|
|
1136
|
+
id: string;
|
|
1137
|
+
title?: React_2.ReactNode;
|
|
1138
|
+
description?: React_2.ReactNode;
|
|
1139
|
+
action?: React_2.ReactNode;
|
|
1140
|
+
};
|
|
633
1141
|
|
|
634
1142
|
export declare type ToastProps = React_2.ComponentPropsWithoutRef<typeof Toast>;
|
|
635
1143
|
|
|
@@ -650,14 +1158,17 @@ declare interface ToggleProps extends Omit<React_2.ComponentPropsWithoutRef<type
|
|
|
650
1158
|
|
|
651
1159
|
export { toggleVariants }
|
|
652
1160
|
|
|
653
|
-
export declare const Tooltip:
|
|
654
|
-
asChild
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
1161
|
+
export declare const Tooltip: {
|
|
1162
|
+
({ asChild, delayDuration: _delayDuration, skipDelayDuration: _skipDelayDuration, disableHoverableContent: _disableHoverableContent, onOpenChange: onOpenChangeProp, ref, ...viewProps }: ViewProps & {
|
|
1163
|
+
asChild?: boolean;
|
|
1164
|
+
} & {
|
|
1165
|
+
onOpenChange?: (open: boolean) => void;
|
|
1166
|
+
delayDuration?: number;
|
|
1167
|
+
skipDelayDuration?: number;
|
|
1168
|
+
disableHoverableContent?: boolean;
|
|
1169
|
+
} & React_2.RefAttributes<View>): React_2.JSX.Element;
|
|
1170
|
+
displayName: string;
|
|
1171
|
+
};
|
|
661
1172
|
|
|
662
1173
|
export declare const TooltipContent: React_2.ForwardRefExoticComponent<React_2.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content> & {
|
|
663
1174
|
portalHost?: string;
|
|
@@ -667,12 +1178,21 @@ export declare const TooltipProvider: ({ children }: {
|
|
|
667
1178
|
children: React_2.ReactNode;
|
|
668
1179
|
}) => JSX.Element;
|
|
669
1180
|
|
|
670
|
-
export declare const TooltipTrigger:
|
|
671
|
-
asChild
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
1181
|
+
export declare const TooltipTrigger: {
|
|
1182
|
+
({ asChild, onPress: onPressProp, disabled, ref, ...props }: Omit<PressableProps & React_2.RefAttributes<View>, "ref"> & {
|
|
1183
|
+
asChild?: boolean;
|
|
1184
|
+
} & {
|
|
1185
|
+
onKeyDown?: (ev: React_2.KeyboardEvent) => void;
|
|
1186
|
+
onKeyUp?: (ev: React_2.KeyboardEvent) => void;
|
|
1187
|
+
} & React_2.RefAttributes<TriggerRef_5>): React_2.JSX.Element;
|
|
1188
|
+
displayName: string;
|
|
1189
|
+
};
|
|
1190
|
+
|
|
1191
|
+
export declare function useToast(): {
|
|
1192
|
+
toast: typeof toast;
|
|
1193
|
+
dismiss: (toastId?: string) => void;
|
|
1194
|
+
toasts: ToasterToast[];
|
|
1195
|
+
};
|
|
676
1196
|
|
|
677
1197
|
export declare function wrapTextChildren(children: React_2.ReactNode, TextComponent?: React_2.ComponentType<TextProps_2>, textProps?: TextProps_2): React_2.ReactNode;
|
|
678
1198
|
|