@spaceandtimelabs/makeinfinite-ui 0.37.1 → 0.38.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 +1132 -0
- package/dist/makeinfinite-ui.es.js +34484 -9598
- package/dist/makeinfinite-ui.umd.js +250 -81
- package/package.json +27 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,110 @@
|
|
|
1
|
+
import { Accordion as Accordion_2 } from 'radix-ui';
|
|
2
|
+
import { AlertDialog as AlertDialog_2 } from 'radix-ui';
|
|
3
|
+
import { AspectRatio as AspectRatio_2 } from 'radix-ui';
|
|
4
|
+
import { Avatar as Avatar_2 } from 'radix-ui';
|
|
5
|
+
import { ButtonProps as ButtonProps_2 } from './button';
|
|
6
|
+
import { Checkbox as Checkbox_2 } from 'radix-ui';
|
|
7
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
8
|
+
import { Collapsible as Collapsible_2 } from 'radix-ui';
|
|
9
|
+
import { ColumnDef } from '@tanstack/react-table';
|
|
10
|
+
import { ColumnFiltersState } from '@tanstack/react-table';
|
|
11
|
+
import { Consumer } from 'react';
|
|
12
|
+
import { Context } from 'react';
|
|
13
|
+
import { ContextMenu as ContextMenu_2 } from 'radix-ui';
|
|
14
|
+
import { ControllerProps } from 'react-hook-form';
|
|
15
|
+
import { DayPicker } from 'react-day-picker';
|
|
1
16
|
import { default as default_2 } from 'react';
|
|
17
|
+
import { default as default_3 } from 'embla-carousel-react';
|
|
18
|
+
import { DetailedHTMLProps } from 'react';
|
|
19
|
+
import { Dialog } from 'radix-ui';
|
|
20
|
+
import { DialogCloseProps } from '@radix-ui/react-dialog';
|
|
21
|
+
import { DialogContentProps } from '@radix-ui/react-dialog';
|
|
22
|
+
import { DialogDescriptionProps } from '@radix-ui/react-dialog';
|
|
23
|
+
import { DialogOverlayProps } from '@radix-ui/react-dialog';
|
|
24
|
+
import { DialogTitleProps } from '@radix-ui/react-dialog';
|
|
25
|
+
import { DialogTriggerProps } from '@radix-ui/react-dialog';
|
|
26
|
+
import { Drawer as Drawer_2 } from 'vaul';
|
|
27
|
+
import { DropdownMenu as DropdownMenu_2 } from 'radix-ui';
|
|
28
|
+
import { FC } from 'react';
|
|
29
|
+
import { FieldError } from 'react-hook-form';
|
|
30
|
+
import { FieldPath } from 'react-hook-form';
|
|
31
|
+
import { FieldValues } from 'react-hook-form';
|
|
32
|
+
import { FormProviderProps } from 'react-hook-form';
|
|
33
|
+
import { ForwardRefExoticComponent } from 'react';
|
|
34
|
+
import { HoverCard as HoverCard_2 } from 'radix-ui';
|
|
35
|
+
import { HTMLAttributes } from 'react';
|
|
36
|
+
import { ImperativePanelHandle } from 'react-resizable-panels';
|
|
2
37
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
38
|
+
import { Label } from 'radix-ui';
|
|
39
|
+
import { LiHTMLAttributes } from 'react';
|
|
40
|
+
import { Menubar as Menubar_2 } from 'radix-ui';
|
|
41
|
+
import { NavigationMenu as NavigationMenu_2 } from 'radix-ui';
|
|
42
|
+
import { PanelProps } from 'react-resizable-panels';
|
|
43
|
+
import { PanelResizeHandleProps } from 'react-resizable-panels';
|
|
44
|
+
import { Popover as Popover_2 } from 'radix-ui';
|
|
45
|
+
import { Portal } from 'vaul';
|
|
46
|
+
import { Progress as Progress_2 } from 'radix-ui';
|
|
47
|
+
import { RadioGroup as RadioGroup_2 } from 'radix-ui';
|
|
48
|
+
import * as React_2 from 'react';
|
|
49
|
+
import { RefAttributes } from 'react';
|
|
50
|
+
import { Scope } from '@radix-ui/react-context';
|
|
51
|
+
import { ScrollArea as ScrollArea_2 } from 'radix-ui';
|
|
52
|
+
import { Select as Select_2 } from 'radix-ui';
|
|
53
|
+
import { Separator as Separator_2 } from 'radix-ui';
|
|
54
|
+
import { Slider as Slider_2 } from 'radix-ui';
|
|
55
|
+
import { SlotProps } from '@radix-ui/react-slot';
|
|
56
|
+
import { SortingState } from '@tanstack/react-table';
|
|
57
|
+
import { Switch as Switch_2 } from 'radix-ui';
|
|
58
|
+
import { Tabs as Tabs_2 } from 'radix-ui';
|
|
59
|
+
import { TdHTMLAttributes } from 'react';
|
|
60
|
+
import { ThHTMLAttributes } from 'react';
|
|
61
|
+
import { Toaster as Toaster_2 } from 'sonner';
|
|
62
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
63
|
+
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
64
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
65
|
+
import { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
66
|
+
import { VariantProps } from 'class-variance-authority';
|
|
67
|
+
import { VisibilityState } from '@tanstack/react-table';
|
|
68
|
+
|
|
69
|
+
declare const Accordion: React_2.ForwardRefExoticComponent<(Accordion_2.AccordionSingleProps | Accordion_2.AccordionMultipleProps) & React_2.RefAttributes<HTMLDivElement>>;
|
|
70
|
+
|
|
71
|
+
declare const AccordionContent: React_2.ForwardRefExoticComponent<Omit<Accordion_2.AccordionContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
72
|
+
|
|
73
|
+
declare const AccordionItem: React_2.ForwardRefExoticComponent<Omit<Accordion_2.AccordionItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
74
|
+
|
|
75
|
+
declare const AccordionTrigger: React_2.ForwardRefExoticComponent<Omit<Accordion_2.AccordionTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
76
|
+
|
|
77
|
+
declare const Alert: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
78
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
79
|
+
} & ClassProp) | undefined) => string> & RefAttributes<HTMLDivElement>>;
|
|
80
|
+
|
|
81
|
+
declare const AlertDescription: ForwardRefExoticComponent<HTMLAttributes<HTMLParagraphElement> & RefAttributes<HTMLParagraphElement>>;
|
|
82
|
+
|
|
83
|
+
declare const AlertDialog: React_2.FC<AlertDialog_2.AlertDialogProps>;
|
|
84
|
+
|
|
85
|
+
declare const AlertDialogAction: React_2.ForwardRefExoticComponent<Omit<AlertDialog_2.AlertDialogActionProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
86
|
+
|
|
87
|
+
declare const AlertDialogCancel: React_2.ForwardRefExoticComponent<Omit<AlertDialog_2.AlertDialogCancelProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
88
|
+
|
|
89
|
+
declare const AlertDialogContent: React_2.ForwardRefExoticComponent<Omit<AlertDialog_2.AlertDialogContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
90
|
+
|
|
91
|
+
declare const AlertDialogDescription: React_2.ForwardRefExoticComponent<Omit<AlertDialog_2.AlertDialogDescriptionProps & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
92
|
+
|
|
93
|
+
declare const AlertDialogFooter: {
|
|
94
|
+
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
95
|
+
displayName: string;
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
declare const AlertDialogHeader: {
|
|
99
|
+
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
100
|
+
displayName: string;
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
declare const AlertDialogTitle: React_2.ForwardRefExoticComponent<Omit<AlertDialog_2.AlertDialogTitleProps & React_2.RefAttributes<HTMLHeadingElement>, "ref"> & React_2.RefAttributes<HTMLHeadingElement>>;
|
|
104
|
+
|
|
105
|
+
declare const AlertDialogTrigger: React_2.ForwardRefExoticComponent<AlertDialog_2.AlertDialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
106
|
+
|
|
107
|
+
declare const AlertTitle: ForwardRefExoticComponent<HTMLAttributes<HTMLHeadingElement> & RefAttributes<HTMLParagraphElement>>;
|
|
3
108
|
|
|
4
109
|
declare interface APIContextType {
|
|
5
110
|
isLoading: boolean;
|
|
@@ -24,6 +129,7 @@ export declare const APIHandler: (baseUrl: string) => {
|
|
|
24
129
|
updateProjectComponentSourceCode: (projectName: string, componentId: string, sourceCode: string) => Promise<Response>;
|
|
25
130
|
updateApplicationMetadata: (projectName: string, applicationName: string, applicationDescription: string, applicationCategory: string) => Promise<Response>;
|
|
26
131
|
updateApplicationSettings: (projectName: string, applicationLoginEnabled: boolean) => Promise<Response>;
|
|
132
|
+
updateProjectTheme: (projectName: string, theme: object) => Promise<Response>;
|
|
27
133
|
deleteProjectFile: (projectName: string, filePath: string) => Promise<Response>;
|
|
28
134
|
resetProjectFile: (projectName: string, filePath: string, gitRef: string, prune?: boolean, extraMetadata?: string) => Promise<Response>;
|
|
29
135
|
deleteProject: (projectName: string) => Promise<Response>;
|
|
@@ -56,6 +162,690 @@ export declare const APIProxyHandler: (baseUrl: string) => {
|
|
|
56
162
|
}[]>;
|
|
57
163
|
};
|
|
58
164
|
|
|
165
|
+
declare const AspectRatio: typeof AspectRatio_2;
|
|
166
|
+
|
|
167
|
+
declare const Avatar: React_2.ForwardRefExoticComponent<Omit<Avatar_2.AvatarProps & React_2.RefAttributes<HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
|
|
168
|
+
|
|
169
|
+
declare const AvatarFallback: React_2.ForwardRefExoticComponent<Omit<Avatar_2.AvatarFallbackProps & React_2.RefAttributes<HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
|
|
170
|
+
|
|
171
|
+
declare const AvatarImage: React_2.ForwardRefExoticComponent<Omit<Avatar_2.AvatarImageProps & React_2.RefAttributes<HTMLImageElement>, "ref"> & React_2.RefAttributes<HTMLImageElement>>;
|
|
172
|
+
|
|
173
|
+
declare function Badge({ className, variant, ...props }: BadgeProps): JSX_2.Element;
|
|
174
|
+
|
|
175
|
+
declare interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
declare const badgeVariants: (props?: ({
|
|
179
|
+
variant?: "default" | "destructive" | "secondary" | "outline" | null | undefined;
|
|
180
|
+
} & ClassProp) | undefined) => string;
|
|
181
|
+
|
|
182
|
+
declare const Breadcrumb: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLElement> & React_2.RefAttributes<HTMLElement>>;
|
|
183
|
+
|
|
184
|
+
declare const BreadcrumbItem: React_2.ForwardRefExoticComponent<React_2.LiHTMLAttributes<HTMLLIElement> & React_2.RefAttributes<HTMLLIElement>>;
|
|
185
|
+
|
|
186
|
+
declare const BreadcrumbLink: React_2.ForwardRefExoticComponent<React_2.AnchorHTMLAttributes<HTMLAnchorElement> & React_2.RefAttributes<HTMLAnchorElement>>;
|
|
187
|
+
|
|
188
|
+
declare const BreadcrumbList: React_2.ForwardRefExoticComponent<React_2.OlHTMLAttributes<HTMLOListElement> & React_2.RefAttributes<HTMLOListElement>>;
|
|
189
|
+
|
|
190
|
+
declare const BreadcrumbPage: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLSpanElement> & React_2.RefAttributes<HTMLSpanElement>>;
|
|
191
|
+
|
|
192
|
+
declare const BreadcrumbSeparator: {
|
|
193
|
+
({ className, ...props }: React_2.ComponentProps<"li">): JSX_2.Element;
|
|
194
|
+
displayName: string;
|
|
195
|
+
};
|
|
196
|
+
|
|
197
|
+
declare const Button: ForwardRefExoticComponent<ButtonProps & RefAttributes<HTMLButtonElement>>;
|
|
198
|
+
|
|
199
|
+
declare interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
200
|
+
asChild?: boolean;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
declare const buttonVariants: (props?: ({
|
|
204
|
+
variant?: "link" | "default" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
|
|
205
|
+
size?: "default" | "icon" | "sm" | "lg" | null | undefined;
|
|
206
|
+
} & ClassProp) | undefined) => string;
|
|
207
|
+
|
|
208
|
+
declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): JSX_2.Element;
|
|
209
|
+
|
|
210
|
+
declare namespace Calendar {
|
|
211
|
+
var displayName: string;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
declare type CalendarProps = React.ComponentProps<typeof DayPicker>;
|
|
215
|
+
|
|
216
|
+
declare const Card: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
217
|
+
|
|
218
|
+
declare const CardContent: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
219
|
+
|
|
220
|
+
declare const CardDescription: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLParagraphElement> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
221
|
+
|
|
222
|
+
declare const CardFooter: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
223
|
+
|
|
224
|
+
declare const CardHeader: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
225
|
+
|
|
226
|
+
declare const CardTitle: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLHeadingElement> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
227
|
+
|
|
228
|
+
declare const Carousel: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & CarouselProps & RefAttributes<HTMLDivElement>>;
|
|
229
|
+
|
|
230
|
+
declare const CarouselContent: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
|
231
|
+
|
|
232
|
+
declare const CarouselItem: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
|
233
|
+
|
|
234
|
+
declare const CarouselNext: ForwardRefExoticComponent<Omit<ButtonProps_2 & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
235
|
+
|
|
236
|
+
declare const CarouselPrevious: ForwardRefExoticComponent<Omit<ButtonProps_2 & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
237
|
+
|
|
238
|
+
declare type CarouselProps = {
|
|
239
|
+
opts?: Parameters<typeof default_3>[0];
|
|
240
|
+
plugins?: Parameters<typeof default_3>[1];
|
|
241
|
+
orientation?: "horizontal" | "vertical";
|
|
242
|
+
setApi?: (api: NonNullable<ReturnType<typeof default_3>[1]>) => void;
|
|
243
|
+
};
|
|
244
|
+
|
|
245
|
+
declare const Checkbox: ForwardRefExoticComponent<Omit<Checkbox_2.CheckboxProps & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
246
|
+
|
|
247
|
+
declare const Collapsible: ForwardRefExoticComponent<Collapsible_2.CollapsibleProps & RefAttributes<HTMLDivElement>>;
|
|
248
|
+
|
|
249
|
+
declare const CollapsibleContent: ForwardRefExoticComponent<Omit<Collapsible_2.CollapsibleContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
250
|
+
|
|
251
|
+
declare const CollapsibleTrigger: ForwardRefExoticComponent<Collapsible_2.CollapsibleTriggerProps & RefAttributes<HTMLButtonElement>>;
|
|
252
|
+
|
|
253
|
+
declare function Combobox({ options, value, onValueChange, placeholder, emptyText, className, }: ComboboxProps): JSX_2.Element;
|
|
254
|
+
|
|
255
|
+
declare interface ComboboxProps {
|
|
256
|
+
options: {
|
|
257
|
+
label: string;
|
|
258
|
+
value: string;
|
|
259
|
+
}[];
|
|
260
|
+
value?: string;
|
|
261
|
+
onValueChange?: (value: string) => void;
|
|
262
|
+
placeholder?: string;
|
|
263
|
+
emptyText?: string;
|
|
264
|
+
className?: string;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
declare const Command: React_2.ForwardRefExoticComponent<Omit<{
|
|
268
|
+
children?: React_2.ReactNode;
|
|
269
|
+
} & React_2.HTMLAttributes<HTMLDivElement> & {
|
|
270
|
+
label?: string;
|
|
271
|
+
shouldFilter?: boolean;
|
|
272
|
+
filter?: (value: string, search: string) => number;
|
|
273
|
+
defaultValue?: string;
|
|
274
|
+
value?: string;
|
|
275
|
+
onValueChange?: (value: string) => void;
|
|
276
|
+
loop?: boolean;
|
|
277
|
+
vimBindings?: boolean;
|
|
278
|
+
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
279
|
+
|
|
280
|
+
declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => JSX_2.Element;
|
|
281
|
+
|
|
282
|
+
declare interface CommandDialogProps extends DialogProps {
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
declare const CommandEmpty: React_2.ForwardRefExoticComponent<Omit<{
|
|
286
|
+
children?: React_2.ReactNode;
|
|
287
|
+
} & React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
288
|
+
|
|
289
|
+
declare const CommandGroup: React_2.ForwardRefExoticComponent<Omit<{
|
|
290
|
+
children?: React_2.ReactNode;
|
|
291
|
+
} & Omit<React_2.HTMLAttributes<HTMLDivElement>, "value" | "heading"> & {
|
|
292
|
+
heading?: React_2.ReactNode;
|
|
293
|
+
value?: string;
|
|
294
|
+
forceMount?: boolean;
|
|
295
|
+
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
296
|
+
|
|
297
|
+
declare const CommandInput: React_2.ForwardRefExoticComponent<Omit<Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "value" | "type" | "onChange"> & {
|
|
298
|
+
value?: string;
|
|
299
|
+
onValueChange?: (search: string) => void;
|
|
300
|
+
} & React_2.RefAttributes<HTMLInputElement>, "ref"> & React_2.RefAttributes<HTMLInputElement>>;
|
|
301
|
+
|
|
302
|
+
declare const CommandItem: React_2.ForwardRefExoticComponent<Omit<{
|
|
303
|
+
children?: React_2.ReactNode;
|
|
304
|
+
} & Omit<React_2.HTMLAttributes<HTMLDivElement>, "value" | "onSelect" | "disabled"> & {
|
|
305
|
+
disabled?: boolean;
|
|
306
|
+
onSelect?: (value: string) => void;
|
|
307
|
+
value?: string;
|
|
308
|
+
forceMount?: boolean;
|
|
309
|
+
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
310
|
+
|
|
311
|
+
declare const CommandList: React_2.ForwardRefExoticComponent<Omit<{
|
|
312
|
+
children?: React_2.ReactNode;
|
|
313
|
+
} & React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
314
|
+
|
|
315
|
+
declare const CommandSeparator: React_2.ForwardRefExoticComponent<Omit<React_2.HTMLAttributes<HTMLDivElement> & {
|
|
316
|
+
alwaysRender?: boolean;
|
|
317
|
+
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
318
|
+
|
|
319
|
+
declare const CommandShortcut: {
|
|
320
|
+
({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>): JSX_2.Element;
|
|
321
|
+
displayName: string;
|
|
322
|
+
};
|
|
323
|
+
|
|
324
|
+
declare const ContextMenu: FC<ContextMenu_2.ContextMenuProps>;
|
|
325
|
+
|
|
326
|
+
declare const ContextMenuCheckboxItem: ForwardRefExoticComponent<Omit<ContextMenu_2.ContextMenuCheckboxItemProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
327
|
+
|
|
328
|
+
declare const ContextMenuContent: ForwardRefExoticComponent<Omit<ContextMenu_2.ContextMenuContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
329
|
+
|
|
330
|
+
declare const ContextMenuGroup: ForwardRefExoticComponent<ContextMenu_2.ContextMenuGroupProps & RefAttributes<HTMLDivElement>>;
|
|
331
|
+
|
|
332
|
+
declare const ContextMenuItem: ForwardRefExoticComponent<Omit<ContextMenu_2.ContextMenuItemProps & RefAttributes<HTMLDivElement>, "ref"> & {
|
|
333
|
+
inset?: boolean;
|
|
334
|
+
} & RefAttributes<HTMLDivElement>>;
|
|
335
|
+
|
|
336
|
+
declare const ContextMenuLabel: ForwardRefExoticComponent<Omit<ContextMenu_2.ContextMenuLabelProps & RefAttributes<HTMLDivElement>, "ref"> & {
|
|
337
|
+
inset?: boolean;
|
|
338
|
+
} & RefAttributes<HTMLDivElement>>;
|
|
339
|
+
|
|
340
|
+
declare const ContextMenuPortal: FC<ContextMenu_2.ContextMenuPortalProps>;
|
|
341
|
+
|
|
342
|
+
declare const ContextMenuRadioGroup: ForwardRefExoticComponent<ContextMenu_2.ContextMenuRadioGroupProps & RefAttributes<HTMLDivElement>>;
|
|
343
|
+
|
|
344
|
+
declare const ContextMenuRadioItem: ForwardRefExoticComponent<Omit<ContextMenu_2.ContextMenuRadioItemProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
345
|
+
|
|
346
|
+
declare const ContextMenuSeparator: ForwardRefExoticComponent<Omit<ContextMenu_2.ContextMenuSeparatorProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
347
|
+
|
|
348
|
+
declare const ContextMenuShortcut: {
|
|
349
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): JSX_2.Element;
|
|
350
|
+
displayName: string;
|
|
351
|
+
};
|
|
352
|
+
|
|
353
|
+
declare const ContextMenuSub: FC<ContextMenu_2.ContextMenuSubProps>;
|
|
354
|
+
|
|
355
|
+
declare const ContextMenuSubContent: ForwardRefExoticComponent<Omit<ContextMenu_2.ContextMenuSubContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
356
|
+
|
|
357
|
+
declare const ContextMenuSubTrigger: ForwardRefExoticComponent<Omit<ContextMenu_2.ContextMenuSubTriggerProps & RefAttributes<HTMLDivElement>, "ref"> & {
|
|
358
|
+
inset?: boolean;
|
|
359
|
+
} & RefAttributes<HTMLDivElement>>;
|
|
360
|
+
|
|
361
|
+
declare const ContextMenuTrigger: ForwardRefExoticComponent<ContextMenu_2.ContextMenuTriggerProps & RefAttributes<HTMLSpanElement>>;
|
|
362
|
+
|
|
363
|
+
declare function DataTable<TData, TValue>({ columns, data, virtualizeRows, }: DataTableProps<TData, TValue>): JSX_2.Element;
|
|
364
|
+
|
|
365
|
+
declare interface DataTableProps<TData, TValue> {
|
|
366
|
+
columns: ColumnDef<TData, TValue>[];
|
|
367
|
+
data: TData[];
|
|
368
|
+
virtualizeRows?: boolean;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
declare function DatePicker({ date, onDateChange, placeholder, disabled, className, }: DatePickerProps): JSX_2.Element;
|
|
372
|
+
|
|
373
|
+
declare interface DatePickerProps {
|
|
374
|
+
date?: Date;
|
|
375
|
+
onDateChange?: (date?: Date) => void;
|
|
376
|
+
placeholder?: string;
|
|
377
|
+
disabled?: boolean;
|
|
378
|
+
className?: string;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
declare function DateRangePicker({ dateRange, onDateRangeChange, placeholder, disabled, className, }: DateRangePickerProps): JSX_2.Element;
|
|
382
|
+
|
|
383
|
+
declare interface DateRangePickerProps {
|
|
384
|
+
dateRange?: {
|
|
385
|
+
from?: Date;
|
|
386
|
+
to?: Date;
|
|
387
|
+
};
|
|
388
|
+
onDateRangeChange?: (range: {
|
|
389
|
+
from?: Date;
|
|
390
|
+
to?: Date;
|
|
391
|
+
}) => void;
|
|
392
|
+
placeholder?: string;
|
|
393
|
+
disabled?: boolean;
|
|
394
|
+
className?: string;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
declare const DEFAULT: {
|
|
398
|
+
alert: {
|
|
399
|
+
defaultStyles: string;
|
|
400
|
+
variantStyles: {
|
|
401
|
+
variant: {
|
|
402
|
+
default: string;
|
|
403
|
+
destructive: string;
|
|
404
|
+
};
|
|
405
|
+
};
|
|
406
|
+
defaultVariants: {
|
|
407
|
+
variant: string;
|
|
408
|
+
};
|
|
409
|
+
};
|
|
410
|
+
badge: {
|
|
411
|
+
defaultStyles: string;
|
|
412
|
+
variantStyles: {
|
|
413
|
+
variant: {
|
|
414
|
+
default: string;
|
|
415
|
+
secondary: string;
|
|
416
|
+
destructive: string;
|
|
417
|
+
outline: string;
|
|
418
|
+
};
|
|
419
|
+
};
|
|
420
|
+
defaultVariants: {
|
|
421
|
+
variant: string;
|
|
422
|
+
};
|
|
423
|
+
};
|
|
424
|
+
button: {
|
|
425
|
+
defaultStyles: string;
|
|
426
|
+
variantStyles: {
|
|
427
|
+
variant: {
|
|
428
|
+
default: string;
|
|
429
|
+
destructive: string;
|
|
430
|
+
outline: string;
|
|
431
|
+
secondary: string;
|
|
432
|
+
ghost: string;
|
|
433
|
+
link: string;
|
|
434
|
+
};
|
|
435
|
+
size: {
|
|
436
|
+
default: string;
|
|
437
|
+
sm: string;
|
|
438
|
+
lg: string;
|
|
439
|
+
icon: string;
|
|
440
|
+
};
|
|
441
|
+
};
|
|
442
|
+
defaultVariants: {
|
|
443
|
+
variant: string;
|
|
444
|
+
size: string;
|
|
445
|
+
};
|
|
446
|
+
};
|
|
447
|
+
sidebar: {
|
|
448
|
+
defaultStyles: string;
|
|
449
|
+
variantStyles: {
|
|
450
|
+
variant: {
|
|
451
|
+
default: string;
|
|
452
|
+
floating: string;
|
|
453
|
+
};
|
|
454
|
+
size: {
|
|
455
|
+
default: string;
|
|
456
|
+
sm: string;
|
|
457
|
+
lg: string;
|
|
458
|
+
};
|
|
459
|
+
collapsed: {
|
|
460
|
+
true: string;
|
|
461
|
+
false: string;
|
|
462
|
+
};
|
|
463
|
+
};
|
|
464
|
+
defaultVariants: {
|
|
465
|
+
variant: string;
|
|
466
|
+
size: string;
|
|
467
|
+
collapsed: boolean;
|
|
468
|
+
};
|
|
469
|
+
};
|
|
470
|
+
sidebarItem: {
|
|
471
|
+
defaultStyles: string;
|
|
472
|
+
variantStyles: {
|
|
473
|
+
variant: {
|
|
474
|
+
default: string;
|
|
475
|
+
ghost: string;
|
|
476
|
+
active: string;
|
|
477
|
+
};
|
|
478
|
+
};
|
|
479
|
+
defaultVariants: {
|
|
480
|
+
variant: string;
|
|
481
|
+
};
|
|
482
|
+
};
|
|
483
|
+
toggle: {
|
|
484
|
+
defaultStyles: string;
|
|
485
|
+
variantStyles: {
|
|
486
|
+
variant: {
|
|
487
|
+
default: string;
|
|
488
|
+
outline: string;
|
|
489
|
+
};
|
|
490
|
+
size: {
|
|
491
|
+
default: string;
|
|
492
|
+
sm: string;
|
|
493
|
+
lg: string;
|
|
494
|
+
};
|
|
495
|
+
};
|
|
496
|
+
defaultVariants: {
|
|
497
|
+
variant: string;
|
|
498
|
+
size: string;
|
|
499
|
+
};
|
|
500
|
+
};
|
|
501
|
+
};
|
|
502
|
+
|
|
503
|
+
declare const Dialog_2: FC<Dialog.DialogProps>;
|
|
504
|
+
|
|
505
|
+
declare const DialogClose: ForwardRefExoticComponent<Dialog.DialogCloseProps & RefAttributes<HTMLButtonElement>>;
|
|
506
|
+
|
|
507
|
+
declare const DialogContent: ForwardRefExoticComponent<Omit<Dialog.DialogContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
508
|
+
|
|
509
|
+
declare const DialogDescription: ForwardRefExoticComponent<Omit<Dialog.DialogDescriptionProps & RefAttributes<HTMLParagraphElement>, "ref"> & RefAttributes<HTMLParagraphElement>>;
|
|
510
|
+
|
|
511
|
+
declare const DialogFooter: {
|
|
512
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
513
|
+
displayName: string;
|
|
514
|
+
};
|
|
515
|
+
|
|
516
|
+
declare const DialogHeader: {
|
|
517
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
518
|
+
displayName: string;
|
|
519
|
+
};
|
|
520
|
+
|
|
521
|
+
declare const DialogOverlay: ForwardRefExoticComponent<Omit<Dialog.DialogOverlayProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
522
|
+
|
|
523
|
+
declare const DialogPortal: FC<Dialog.DialogPortalProps>;
|
|
524
|
+
|
|
525
|
+
declare type DialogProps = React_2.ComponentProps<typeof Dialog.Root>;
|
|
526
|
+
|
|
527
|
+
declare const DialogTitle: ForwardRefExoticComponent<Omit<Dialog.DialogTitleProps & RefAttributes<HTMLHeadingElement>, "ref"> & RefAttributes<HTMLHeadingElement>>;
|
|
528
|
+
|
|
529
|
+
declare const DialogTrigger: ForwardRefExoticComponent<Dialog.DialogTriggerProps & RefAttributes<HTMLButtonElement>>;
|
|
530
|
+
|
|
531
|
+
declare const Drawer: {
|
|
532
|
+
({ shouldScaleBackground, ...props }: React.ComponentProps<typeof Drawer_2.Root>): JSX_2.Element;
|
|
533
|
+
displayName: string;
|
|
534
|
+
};
|
|
535
|
+
|
|
536
|
+
declare const DrawerClose: ForwardRefExoticComponent<DialogCloseProps & RefAttributes<HTMLButtonElement>>;
|
|
537
|
+
|
|
538
|
+
declare const DrawerContent: ForwardRefExoticComponent<Omit<Omit<DialogContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
539
|
+
|
|
540
|
+
declare const DrawerDescription: ForwardRefExoticComponent<Omit<DialogDescriptionProps & RefAttributes<HTMLParagraphElement>, "ref"> & RefAttributes<HTMLParagraphElement>>;
|
|
541
|
+
|
|
542
|
+
declare const DrawerFooter: {
|
|
543
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
544
|
+
displayName: string;
|
|
545
|
+
};
|
|
546
|
+
|
|
547
|
+
declare const DrawerHeader: {
|
|
548
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
549
|
+
displayName: string;
|
|
550
|
+
};
|
|
551
|
+
|
|
552
|
+
declare const DrawerOverlay: ForwardRefExoticComponent<Omit<Omit<DialogOverlayProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
553
|
+
|
|
554
|
+
declare const DrawerPortal: Portal;
|
|
555
|
+
|
|
556
|
+
declare const DrawerTitle: ForwardRefExoticComponent<Omit<DialogTitleProps & RefAttributes<HTMLHeadingElement>, "ref"> & RefAttributes<HTMLHeadingElement>>;
|
|
557
|
+
|
|
558
|
+
declare const DrawerTrigger: ForwardRefExoticComponent<DialogTriggerProps & RefAttributes<HTMLButtonElement>>;
|
|
559
|
+
|
|
560
|
+
export declare namespace DreamspaceElements {
|
|
561
|
+
export {
|
|
562
|
+
Variants,
|
|
563
|
+
Accordion,
|
|
564
|
+
AccordionItem,
|
|
565
|
+
AccordionTrigger,
|
|
566
|
+
AccordionContent,
|
|
567
|
+
Alert,
|
|
568
|
+
AlertDescription,
|
|
569
|
+
AlertTitle,
|
|
570
|
+
AlertDialog,
|
|
571
|
+
AlertDialogAction,
|
|
572
|
+
AlertDialogCancel,
|
|
573
|
+
AlertDialogContent,
|
|
574
|
+
AlertDialogDescription,
|
|
575
|
+
AlertDialogFooter,
|
|
576
|
+
AlertDialogHeader,
|
|
577
|
+
AlertDialogTitle,
|
|
578
|
+
AlertDialogTrigger,
|
|
579
|
+
AspectRatio,
|
|
580
|
+
Avatar,
|
|
581
|
+
AvatarFallback,
|
|
582
|
+
AvatarImage,
|
|
583
|
+
BadgeProps,
|
|
584
|
+
Badge,
|
|
585
|
+
badgeVariants,
|
|
586
|
+
Breadcrumb,
|
|
587
|
+
BreadcrumbItem,
|
|
588
|
+
BreadcrumbLink,
|
|
589
|
+
BreadcrumbList,
|
|
590
|
+
BreadcrumbPage,
|
|
591
|
+
BreadcrumbSeparator,
|
|
592
|
+
ButtonProps,
|
|
593
|
+
Button,
|
|
594
|
+
buttonVariants,
|
|
595
|
+
CalendarProps,
|
|
596
|
+
Calendar,
|
|
597
|
+
Card,
|
|
598
|
+
CardContent,
|
|
599
|
+
CardDescription,
|
|
600
|
+
CardFooter,
|
|
601
|
+
CardHeader,
|
|
602
|
+
CardTitle,
|
|
603
|
+
Carousel,
|
|
604
|
+
CarouselContent,
|
|
605
|
+
CarouselItem,
|
|
606
|
+
CarouselNext,
|
|
607
|
+
CarouselPrevious,
|
|
608
|
+
UseEmblaCarouselType as CarouselApi,
|
|
609
|
+
Checkbox,
|
|
610
|
+
Collapsible,
|
|
611
|
+
CollapsibleTrigger,
|
|
612
|
+
CollapsibleContent,
|
|
613
|
+
Combobox,
|
|
614
|
+
Command,
|
|
615
|
+
CommandDialog,
|
|
616
|
+
CommandEmpty,
|
|
617
|
+
CommandGroup,
|
|
618
|
+
CommandInput,
|
|
619
|
+
CommandItem,
|
|
620
|
+
CommandList,
|
|
621
|
+
CommandSeparator,
|
|
622
|
+
CommandShortcut,
|
|
623
|
+
ContextMenu,
|
|
624
|
+
ContextMenuCheckboxItem,
|
|
625
|
+
ContextMenuContent,
|
|
626
|
+
ContextMenuGroup,
|
|
627
|
+
ContextMenuItem,
|
|
628
|
+
ContextMenuLabel,
|
|
629
|
+
ContextMenuPortal,
|
|
630
|
+
ContextMenuRadioGroup,
|
|
631
|
+
ContextMenuRadioItem,
|
|
632
|
+
ContextMenuSeparator,
|
|
633
|
+
ContextMenuShortcut,
|
|
634
|
+
ContextMenuSub,
|
|
635
|
+
ContextMenuSubContent,
|
|
636
|
+
ContextMenuSubTrigger,
|
|
637
|
+
ContextMenuTrigger,
|
|
638
|
+
DataTable,
|
|
639
|
+
ColumnDef,
|
|
640
|
+
ColumnFiltersState,
|
|
641
|
+
SortingState,
|
|
642
|
+
VisibilityState,
|
|
643
|
+
DatePicker,
|
|
644
|
+
DateRangePicker,
|
|
645
|
+
Dialog_2 as Dialog,
|
|
646
|
+
DialogClose,
|
|
647
|
+
DialogContent,
|
|
648
|
+
DialogDescription,
|
|
649
|
+
DialogFooter,
|
|
650
|
+
DialogHeader,
|
|
651
|
+
DialogOverlay,
|
|
652
|
+
DialogPortal,
|
|
653
|
+
DialogTitle,
|
|
654
|
+
DialogTrigger,
|
|
655
|
+
Drawer,
|
|
656
|
+
DrawerClose,
|
|
657
|
+
DrawerContent,
|
|
658
|
+
DrawerDescription,
|
|
659
|
+
DrawerFooter,
|
|
660
|
+
DrawerHeader,
|
|
661
|
+
DrawerOverlay,
|
|
662
|
+
DrawerPortal,
|
|
663
|
+
DrawerTitle,
|
|
664
|
+
DrawerTrigger,
|
|
665
|
+
DropdownMenu,
|
|
666
|
+
DropdownMenuCheckboxItem,
|
|
667
|
+
DropdownMenuContent,
|
|
668
|
+
DropdownMenuGroup,
|
|
669
|
+
DropdownMenuItem,
|
|
670
|
+
DropdownMenuLabel,
|
|
671
|
+
DropdownMenuPortal,
|
|
672
|
+
DropdownMenuRadioGroup,
|
|
673
|
+
DropdownMenuRadioItem,
|
|
674
|
+
DropdownMenuSeparator,
|
|
675
|
+
DropdownMenuShortcut,
|
|
676
|
+
DropdownMenuSub,
|
|
677
|
+
DropdownMenuSubContent,
|
|
678
|
+
DropdownMenuSubTrigger,
|
|
679
|
+
DropdownMenuTrigger,
|
|
680
|
+
Form,
|
|
681
|
+
FormControl,
|
|
682
|
+
FormDescription,
|
|
683
|
+
FormField,
|
|
684
|
+
FormItem,
|
|
685
|
+
FormLabel,
|
|
686
|
+
FormMessage,
|
|
687
|
+
useFormField,
|
|
688
|
+
HoverCard,
|
|
689
|
+
HoverCardContent,
|
|
690
|
+
HoverCardTrigger,
|
|
691
|
+
InputProps,
|
|
692
|
+
Input,
|
|
693
|
+
Label_2 as Label,
|
|
694
|
+
Menubar,
|
|
695
|
+
MenubarCheckboxItem,
|
|
696
|
+
MenubarContent,
|
|
697
|
+
MenubarGroup,
|
|
698
|
+
MenubarItem,
|
|
699
|
+
MenubarLabel,
|
|
700
|
+
MenubarMenu,
|
|
701
|
+
MenubarPortal,
|
|
702
|
+
MenubarRadioGroup,
|
|
703
|
+
MenubarRadioItem,
|
|
704
|
+
MenubarSeparator,
|
|
705
|
+
MenubarShortcut,
|
|
706
|
+
MenubarSub,
|
|
707
|
+
MenubarSubContent,
|
|
708
|
+
MenubarSubTrigger,
|
|
709
|
+
MenubarTrigger,
|
|
710
|
+
NavigationMenu,
|
|
711
|
+
NavigationMenuContent,
|
|
712
|
+
NavigationMenuIndicator,
|
|
713
|
+
NavigationMenuItem,
|
|
714
|
+
NavigationMenuLink,
|
|
715
|
+
NavigationMenuList,
|
|
716
|
+
NavigationMenuTrigger,
|
|
717
|
+
navigationMenuTriggerStyle,
|
|
718
|
+
NavigationMenuViewport,
|
|
719
|
+
Pagination,
|
|
720
|
+
PaginationContent,
|
|
721
|
+
PaginationEllipsis,
|
|
722
|
+
PaginationFirst,
|
|
723
|
+
PaginationItem,
|
|
724
|
+
PaginationLast,
|
|
725
|
+
PaginationLink,
|
|
726
|
+
PaginationNext,
|
|
727
|
+
PaginationPrevious,
|
|
728
|
+
Popover,
|
|
729
|
+
PopoverContent,
|
|
730
|
+
PopoverTrigger,
|
|
731
|
+
Progress,
|
|
732
|
+
RadioGroup,
|
|
733
|
+
RadioGroupItem,
|
|
734
|
+
ResizableHandle,
|
|
735
|
+
ResizablePanel,
|
|
736
|
+
ResizablePanelGroup,
|
|
737
|
+
ScrollArea,
|
|
738
|
+
ScrollBar,
|
|
739
|
+
Select,
|
|
740
|
+
SelectContent,
|
|
741
|
+
SelectGroup,
|
|
742
|
+
SelectItem,
|
|
743
|
+
SelectLabel,
|
|
744
|
+
SelectScrollDownButton,
|
|
745
|
+
SelectScrollUpButton,
|
|
746
|
+
SelectSeparator,
|
|
747
|
+
SelectTrigger,
|
|
748
|
+
SelectValue,
|
|
749
|
+
Separator,
|
|
750
|
+
Sheet,
|
|
751
|
+
SheetClose,
|
|
752
|
+
SheetContent,
|
|
753
|
+
SheetDescription,
|
|
754
|
+
SheetFooter,
|
|
755
|
+
SheetHeader,
|
|
756
|
+
SheetOverlay,
|
|
757
|
+
SheetPortal,
|
|
758
|
+
SheetTitle,
|
|
759
|
+
SheetTrigger,
|
|
760
|
+
SidebarItemProps,
|
|
761
|
+
Sidebar,
|
|
762
|
+
SidebarFooter,
|
|
763
|
+
SidebarGroup,
|
|
764
|
+
SidebarHeader,
|
|
765
|
+
SidebarItem,
|
|
766
|
+
SidebarNav,
|
|
767
|
+
Skeleton,
|
|
768
|
+
Slider,
|
|
769
|
+
Toaster,
|
|
770
|
+
Switch,
|
|
771
|
+
Table,
|
|
772
|
+
TableBody,
|
|
773
|
+
TableCaption,
|
|
774
|
+
TableCell,
|
|
775
|
+
TableFooter,
|
|
776
|
+
TableHead,
|
|
777
|
+
TableHeader,
|
|
778
|
+
TableRow,
|
|
779
|
+
Tabs,
|
|
780
|
+
TabsContent,
|
|
781
|
+
TabsList,
|
|
782
|
+
TabsTrigger,
|
|
783
|
+
TextareaProps,
|
|
784
|
+
Textarea,
|
|
785
|
+
Toggle,
|
|
786
|
+
toggleVariants,
|
|
787
|
+
ToggleGroup,
|
|
788
|
+
ToggleGroupItem,
|
|
789
|
+
Tooltip,
|
|
790
|
+
TooltipContent,
|
|
791
|
+
TooltipProvider,
|
|
792
|
+
TooltipTrigger
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
declare const DropdownMenu: FC<DropdownMenu_2.DropdownMenuProps>;
|
|
797
|
+
|
|
798
|
+
declare const DropdownMenuCheckboxItem: ForwardRefExoticComponent<Omit<DropdownMenu_2.DropdownMenuCheckboxItemProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
799
|
+
|
|
800
|
+
declare const DropdownMenuContent: ForwardRefExoticComponent<Omit<DropdownMenu_2.DropdownMenuContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
801
|
+
|
|
802
|
+
declare const DropdownMenuGroup: ForwardRefExoticComponent<DropdownMenu_2.DropdownMenuGroupProps & RefAttributes<HTMLDivElement>>;
|
|
803
|
+
|
|
804
|
+
declare const DropdownMenuItem: ForwardRefExoticComponent<Omit<DropdownMenu_2.DropdownMenuItemProps & RefAttributes<HTMLDivElement>, "ref"> & {
|
|
805
|
+
inset?: boolean;
|
|
806
|
+
} & RefAttributes<HTMLDivElement>>;
|
|
807
|
+
|
|
808
|
+
declare const DropdownMenuLabel: ForwardRefExoticComponent<Omit<DropdownMenu_2.DropdownMenuLabelProps & RefAttributes<HTMLDivElement>, "ref"> & {
|
|
809
|
+
inset?: boolean;
|
|
810
|
+
} & RefAttributes<HTMLDivElement>>;
|
|
811
|
+
|
|
812
|
+
declare const DropdownMenuPortal: FC<DropdownMenu_2.DropdownMenuPortalProps>;
|
|
813
|
+
|
|
814
|
+
declare const DropdownMenuRadioGroup: ForwardRefExoticComponent<DropdownMenu_2.DropdownMenuRadioGroupProps & RefAttributes<HTMLDivElement>>;
|
|
815
|
+
|
|
816
|
+
declare const DropdownMenuRadioItem: ForwardRefExoticComponent<Omit<DropdownMenu_2.DropdownMenuRadioItemProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
817
|
+
|
|
818
|
+
declare const DropdownMenuSeparator: ForwardRefExoticComponent<Omit<DropdownMenu_2.DropdownMenuSeparatorProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
819
|
+
|
|
820
|
+
declare const DropdownMenuShortcut: {
|
|
821
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): JSX_2.Element;
|
|
822
|
+
displayName: string;
|
|
823
|
+
};
|
|
824
|
+
|
|
825
|
+
declare const DropdownMenuSub: FC<DropdownMenu_2.DropdownMenuSubProps>;
|
|
826
|
+
|
|
827
|
+
declare const DropdownMenuSubContent: ForwardRefExoticComponent<Omit<DropdownMenu_2.DropdownMenuSubContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
828
|
+
|
|
829
|
+
declare const DropdownMenuSubTrigger: ForwardRefExoticComponent<Omit<DropdownMenu_2.DropdownMenuSubTriggerProps & RefAttributes<HTMLDivElement>, "ref"> & {
|
|
830
|
+
inset?: boolean;
|
|
831
|
+
} & RefAttributes<HTMLDivElement>>;
|
|
832
|
+
|
|
833
|
+
declare const DropdownMenuTrigger: ForwardRefExoticComponent<DropdownMenu_2.DropdownMenuTriggerProps & RefAttributes<HTMLButtonElement>>;
|
|
834
|
+
|
|
835
|
+
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues extends FieldValues | undefined = undefined>(props: FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
|
|
836
|
+
|
|
837
|
+
declare const FormControl: ForwardRefExoticComponent<Omit<SlotProps & RefAttributes<HTMLElement>, "ref"> & RefAttributes<HTMLElement>>;
|
|
838
|
+
|
|
839
|
+
declare const FormDescription: ForwardRefExoticComponent<HTMLAttributes<HTMLParagraphElement> & RefAttributes<HTMLParagraphElement>>;
|
|
840
|
+
|
|
841
|
+
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => JSX_2.Element;
|
|
842
|
+
|
|
843
|
+
declare const FormItem: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
|
844
|
+
|
|
845
|
+
declare const FormLabel: ForwardRefExoticComponent<Omit<Label.LabelProps & RefAttributes<HTMLLabelElement>, "ref"> & RefAttributes<HTMLLabelElement>>;
|
|
846
|
+
|
|
847
|
+
declare const FormMessage: ForwardRefExoticComponent<HTMLAttributes<HTMLParagraphElement> & RefAttributes<HTMLParagraphElement>>;
|
|
848
|
+
|
|
59
849
|
export declare const getHeadCommit: (projectName: string) => Promise<string>;
|
|
60
850
|
|
|
61
851
|
export declare const getRedoTargetCommitForFile: (projectName: string, filePath: string) => Promise<[string, string]>;
|
|
@@ -69,8 +859,21 @@ export declare const getTags: (projectName: string, projectUrl: string) => Promi
|
|
|
69
859
|
|
|
70
860
|
export declare const getUndoTargetCommitForFile: (projectName: string, filePath: string) => Promise<[string, string]>;
|
|
71
861
|
|
|
862
|
+
declare const HoverCard: FC<HoverCard_2.HoverCardProps>;
|
|
863
|
+
|
|
864
|
+
declare const HoverCardContent: ForwardRefExoticComponent<Omit<HoverCard_2.HoverCardContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
865
|
+
|
|
866
|
+
declare const HoverCardTrigger: ForwardRefExoticComponent<HoverCard_2.HoverCardTriggerProps & RefAttributes<HTMLAnchorElement>>;
|
|
867
|
+
|
|
72
868
|
export declare const initializeMakeInfinite: () => void;
|
|
73
869
|
|
|
870
|
+
declare const Input: ForwardRefExoticComponent<InputProps & RefAttributes<HTMLInputElement>>;
|
|
871
|
+
|
|
872
|
+
declare interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
declare const Label_2: ForwardRefExoticComponent<Omit<Label.LabelProps & RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: ClassProp | undefined) => string> & RefAttributes<HTMLLabelElement>>;
|
|
876
|
+
|
|
74
877
|
export declare const listDir: (dirPath: string) => Promise<string[]>;
|
|
75
878
|
|
|
76
879
|
export declare const loadLibraryComponents: (apiHandler: any) => Promise<any>;
|
|
@@ -80,8 +883,109 @@ export declare const loadProjectComponents: (projectName: string) => Promise<{
|
|
|
80
883
|
layout: any;
|
|
81
884
|
}>;
|
|
82
885
|
|
|
886
|
+
declare const Menubar: ForwardRefExoticComponent<Omit<Menubar_2.MenubarProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
887
|
+
|
|
888
|
+
declare const MenubarCheckboxItem: ForwardRefExoticComponent<Omit<Menubar_2.MenubarCheckboxItemProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
889
|
+
|
|
890
|
+
declare const MenubarContent: ForwardRefExoticComponent<Omit<Menubar_2.MenubarContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
891
|
+
|
|
892
|
+
declare const MenubarGroup: ForwardRefExoticComponent<Menubar_2.MenubarGroupProps & RefAttributes<HTMLDivElement>>;
|
|
893
|
+
|
|
894
|
+
declare const MenubarItem: ForwardRefExoticComponent<Omit<Menubar_2.MenubarItemProps & RefAttributes<HTMLDivElement>, "ref"> & {
|
|
895
|
+
inset?: boolean;
|
|
896
|
+
} & RefAttributes<HTMLDivElement>>;
|
|
897
|
+
|
|
898
|
+
declare const MenubarLabel: ForwardRefExoticComponent<Omit<Menubar_2.MenubarLabelProps & RefAttributes<HTMLDivElement>, "ref"> & {
|
|
899
|
+
inset?: boolean;
|
|
900
|
+
} & RefAttributes<HTMLDivElement>>;
|
|
901
|
+
|
|
902
|
+
declare const MenubarMenu: {
|
|
903
|
+
(props: Menubar_2.MenubarMenuProps & {
|
|
904
|
+
__scopeMenubar?: Scope;
|
|
905
|
+
}): JSX_2.Element;
|
|
906
|
+
displayName: string;
|
|
907
|
+
};
|
|
908
|
+
|
|
909
|
+
declare const MenubarPortal: FC<Menubar_2.MenubarPortalProps>;
|
|
910
|
+
|
|
911
|
+
declare const MenubarRadioGroup: ForwardRefExoticComponent<Menubar_2.MenubarRadioGroupProps & RefAttributes<HTMLDivElement>>;
|
|
912
|
+
|
|
913
|
+
declare const MenubarRadioItem: ForwardRefExoticComponent<Omit<Menubar_2.MenubarRadioItemProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
914
|
+
|
|
915
|
+
declare const MenubarSeparator: ForwardRefExoticComponent<Omit<Menubar_2.MenubarSeparatorProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
916
|
+
|
|
917
|
+
declare const MenubarShortcut: {
|
|
918
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): JSX_2.Element;
|
|
919
|
+
displayName: string;
|
|
920
|
+
};
|
|
921
|
+
|
|
922
|
+
declare const MenubarSub: FC<Menubar_2.MenubarSubProps>;
|
|
923
|
+
|
|
924
|
+
declare const MenubarSubContent: ForwardRefExoticComponent<Omit<Menubar_2.MenubarSubContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
925
|
+
|
|
926
|
+
declare const MenubarSubTrigger: ForwardRefExoticComponent<Omit<Menubar_2.MenubarSubTriggerProps & RefAttributes<HTMLDivElement>, "ref"> & {
|
|
927
|
+
inset?: boolean;
|
|
928
|
+
} & RefAttributes<HTMLDivElement>>;
|
|
929
|
+
|
|
930
|
+
declare const MenubarTrigger: ForwardRefExoticComponent<Omit<Menubar_2.MenubarTriggerProps & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
931
|
+
|
|
83
932
|
export declare const MiniApp: () => JSX_2.Element;
|
|
84
933
|
|
|
934
|
+
declare const NavigationMenu: ForwardRefExoticComponent<Omit<NavigationMenu_2.NavigationMenuProps & RefAttributes<HTMLElement>, "ref"> & RefAttributes<HTMLElement>>;
|
|
935
|
+
|
|
936
|
+
declare const NavigationMenuContent: ForwardRefExoticComponent<Omit<NavigationMenu_2.NavigationMenuContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
937
|
+
|
|
938
|
+
declare const NavigationMenuIndicator: ForwardRefExoticComponent<Omit<NavigationMenu_2.NavigationMenuIndicatorProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
939
|
+
|
|
940
|
+
declare const NavigationMenuItem: ForwardRefExoticComponent<NavigationMenu_2.NavigationMenuItemProps & RefAttributes<HTMLLIElement>>;
|
|
941
|
+
|
|
942
|
+
declare const NavigationMenuLink: ForwardRefExoticComponent<NavigationMenu_2.NavigationMenuLinkProps & RefAttributes<HTMLAnchorElement>>;
|
|
943
|
+
|
|
944
|
+
declare const NavigationMenuList: ForwardRefExoticComponent<Omit<NavigationMenu_2.NavigationMenuListProps & RefAttributes<HTMLUListElement>, "ref"> & RefAttributes<HTMLUListElement>>;
|
|
945
|
+
|
|
946
|
+
declare const NavigationMenuTrigger: ForwardRefExoticComponent<Omit<NavigationMenu_2.NavigationMenuTriggerProps & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
947
|
+
|
|
948
|
+
declare const navigationMenuTriggerStyle: (props?: ClassProp | undefined) => string;
|
|
949
|
+
|
|
950
|
+
declare const NavigationMenuViewport: ForwardRefExoticComponent<Omit<NavigationMenu_2.NavigationMenuViewportProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
951
|
+
|
|
952
|
+
declare const Pagination: {
|
|
953
|
+
({ className, ...props }: React.ComponentProps<"nav">): JSX_2.Element;
|
|
954
|
+
displayName: string;
|
|
955
|
+
};
|
|
956
|
+
|
|
957
|
+
declare const PaginationContent: ForwardRefExoticComponent<Omit<DetailedHTMLProps<HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & RefAttributes<HTMLUListElement>>;
|
|
958
|
+
|
|
959
|
+
declare const PaginationEllipsis: {
|
|
960
|
+
({ className, ...props }: React.ComponentProps<"span">): JSX_2.Element;
|
|
961
|
+
displayName: string;
|
|
962
|
+
};
|
|
963
|
+
|
|
964
|
+
declare const PaginationFirst: ForwardRefExoticComponent<Omit<Omit<PaginationLinkProps, "ref"> & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
965
|
+
|
|
966
|
+
declare const PaginationItem: ForwardRefExoticComponent<Omit<DetailedHTMLProps<LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & RefAttributes<HTMLLIElement>>;
|
|
967
|
+
|
|
968
|
+
declare const PaginationLast: ForwardRefExoticComponent<Omit<Omit<PaginationLinkProps, "ref"> & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
969
|
+
|
|
970
|
+
declare const PaginationLink: ForwardRefExoticComponent<Omit<PaginationLinkProps, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
971
|
+
|
|
972
|
+
declare type PaginationLinkProps = {
|
|
973
|
+
isActive?: boolean;
|
|
974
|
+
disabled?: boolean;
|
|
975
|
+
} & Pick<ButtonProps, "size"> & React.ComponentProps<"button">;
|
|
976
|
+
|
|
977
|
+
declare const PaginationNext: ForwardRefExoticComponent<Omit<Omit<PaginationLinkProps, "ref"> & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
978
|
+
|
|
979
|
+
declare const PaginationPrevious: ForwardRefExoticComponent<Omit<Omit<PaginationLinkProps, "ref"> & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
980
|
+
|
|
981
|
+
declare const Popover: FC<Popover_2.PopoverProps>;
|
|
982
|
+
|
|
983
|
+
declare const PopoverContent: ForwardRefExoticComponent<Omit<Popover_2.PopoverContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
984
|
+
|
|
985
|
+
declare const PopoverTrigger: ForwardRefExoticComponent<Popover_2.PopoverTriggerProps & RefAttributes<HTMLButtonElement>>;
|
|
986
|
+
|
|
987
|
+
declare const Progress: ForwardRefExoticComponent<Omit<Progress_2.ProgressProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
988
|
+
|
|
85
989
|
export declare const ProjectProvider: (props: {
|
|
86
990
|
config: any;
|
|
87
991
|
metadata?: any;
|
|
@@ -99,6 +1003,10 @@ declare type ProxyGetViewConfig = {
|
|
|
99
1003
|
gwProxyUrl: string;
|
|
100
1004
|
};
|
|
101
1005
|
|
|
1006
|
+
declare const RadioGroup: ForwardRefExoticComponent<Omit<RadioGroup_2.RadioGroupProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1007
|
+
|
|
1008
|
+
declare const RadioGroupItem: ForwardRefExoticComponent<Omit<RadioGroup_2.RadioGroupItemProps & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
1009
|
+
|
|
102
1010
|
/** Represents rate limit configuration for a tier */
|
|
103
1011
|
declare type RateLimit = {
|
|
104
1012
|
miniapp_name: string;
|
|
@@ -108,6 +1016,15 @@ declare type RateLimit = {
|
|
|
108
1016
|
limit: number;
|
|
109
1017
|
};
|
|
110
1018
|
|
|
1019
|
+
declare const ResizableHandle: {
|
|
1020
|
+
({ className, ...props }: PanelResizeHandleProps): JSX_2.Element;
|
|
1021
|
+
displayName: string;
|
|
1022
|
+
};
|
|
1023
|
+
|
|
1024
|
+
declare const ResizablePanel: ForwardRefExoticComponent<Omit<PanelProps, "ref"> & RefAttributes<ImperativePanelHandle>>;
|
|
1025
|
+
|
|
1026
|
+
declare const ResizablePanelGroup: any;
|
|
1027
|
+
|
|
111
1028
|
export declare const RGComponent: default_2.ForwardRefExoticComponent<Omit<RGContainerProps, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
112
1029
|
|
|
113
1030
|
export declare class RGComponentErrorBoundary<T> extends default_2.Component<RGComponentErrorBoundaryProps<T>, RGComponentErrorBoundaryState> {
|
|
@@ -168,6 +1085,10 @@ export declare const RGPreviewLayout: (props: {
|
|
|
168
1085
|
layout: any;
|
|
169
1086
|
}) => JSX_2.Element;
|
|
170
1087
|
|
|
1088
|
+
declare const ScrollArea: ForwardRefExoticComponent<Omit<ScrollArea_2.ScrollAreaProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1089
|
+
|
|
1090
|
+
declare const ScrollBar: ForwardRefExoticComponent<Omit<ScrollArea_2.ScrollAreaScrollbarProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1091
|
+
|
|
171
1092
|
/** Represents a secret configuration for API access */
|
|
172
1093
|
declare type Secret = {
|
|
173
1094
|
creator_user_id: string;
|
|
@@ -178,10 +1099,187 @@ declare type Secret = {
|
|
|
178
1099
|
secret_reference: string;
|
|
179
1100
|
};
|
|
180
1101
|
|
|
1102
|
+
declare const Select: FC<Select_2.SelectProps>;
|
|
1103
|
+
|
|
1104
|
+
declare const SelectContent: ForwardRefExoticComponent<Omit<Select_2.SelectContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1105
|
+
|
|
1106
|
+
declare const SelectGroup: ForwardRefExoticComponent<Select_2.SelectGroupProps & RefAttributes<HTMLDivElement>>;
|
|
1107
|
+
|
|
1108
|
+
declare const SelectItem: ForwardRefExoticComponent<Omit<Select_2.SelectItemProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1109
|
+
|
|
1110
|
+
declare const SelectLabel: ForwardRefExoticComponent<Omit<Select_2.SelectLabelProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1111
|
+
|
|
1112
|
+
declare const SelectScrollDownButton: ForwardRefExoticComponent<Omit<Select_2.SelectScrollDownButtonProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1113
|
+
|
|
1114
|
+
declare const SelectScrollUpButton: ForwardRefExoticComponent<Omit<Select_2.SelectScrollUpButtonProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1115
|
+
|
|
1116
|
+
declare const SelectSeparator: ForwardRefExoticComponent<Omit<Select_2.SelectSeparatorProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1117
|
+
|
|
1118
|
+
declare const SelectTrigger: ForwardRefExoticComponent<Omit<Select_2.SelectTriggerProps & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
1119
|
+
|
|
1120
|
+
declare const SelectValue: ForwardRefExoticComponent<Select_2.SelectValueProps & RefAttributes<HTMLSpanElement>>;
|
|
1121
|
+
|
|
1122
|
+
declare const Separator: ForwardRefExoticComponent<Omit<Separator_2.SeparatorProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1123
|
+
|
|
181
1124
|
export declare const setTailwindTheme: (theme: object) => void;
|
|
182
1125
|
|
|
1126
|
+
declare const Sheet: FC<Dialog.DialogProps>;
|
|
1127
|
+
|
|
1128
|
+
declare const SheetClose: ForwardRefExoticComponent<Dialog.DialogCloseProps & RefAttributes<HTMLButtonElement>>;
|
|
1129
|
+
|
|
1130
|
+
declare const SheetContent: ForwardRefExoticComponent<SheetContentProps & RefAttributes<HTMLDivElement>>;
|
|
1131
|
+
|
|
1132
|
+
declare interface SheetContentProps extends React.ComponentPropsWithoutRef<typeof Dialog.Content>, VariantProps<typeof sheetVariants> {
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
declare const SheetDescription: ForwardRefExoticComponent<Omit<Dialog.DialogDescriptionProps & RefAttributes<HTMLParagraphElement>, "ref"> & RefAttributes<HTMLParagraphElement>>;
|
|
1136
|
+
|
|
1137
|
+
declare const SheetFooter: {
|
|
1138
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
1139
|
+
displayName: string;
|
|
1140
|
+
};
|
|
1141
|
+
|
|
1142
|
+
declare const SheetHeader: {
|
|
1143
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
1144
|
+
displayName: string;
|
|
1145
|
+
};
|
|
1146
|
+
|
|
1147
|
+
declare const SheetOverlay: ForwardRefExoticComponent<Omit<Dialog.DialogOverlayProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1148
|
+
|
|
1149
|
+
declare const SheetPortal: FC<Dialog.DialogPortalProps>;
|
|
1150
|
+
|
|
1151
|
+
declare const SheetTitle: ForwardRefExoticComponent<Omit<Dialog.DialogTitleProps & RefAttributes<HTMLHeadingElement>, "ref"> & RefAttributes<HTMLHeadingElement>>;
|
|
1152
|
+
|
|
1153
|
+
declare const SheetTrigger: ForwardRefExoticComponent<Dialog.DialogTriggerProps & RefAttributes<HTMLButtonElement>>;
|
|
1154
|
+
|
|
1155
|
+
declare const sheetVariants: (props?: ({
|
|
1156
|
+
side?: "left" | "right" | "bottom" | "top" | null | undefined;
|
|
1157
|
+
} & ClassProp) | undefined) => string;
|
|
1158
|
+
|
|
1159
|
+
declare const Sidebar: ForwardRefExoticComponent<SidebarProps & RefAttributes<HTMLDivElement>>;
|
|
1160
|
+
|
|
1161
|
+
declare const SidebarFooter: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
|
1162
|
+
|
|
1163
|
+
declare const SidebarGroup: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
|
1164
|
+
|
|
1165
|
+
declare const SidebarHeader: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
|
1166
|
+
|
|
1167
|
+
declare const SidebarItem: ForwardRefExoticComponent<SidebarItemProps & RefAttributes<HTMLDivElement>>;
|
|
1168
|
+
|
|
1169
|
+
declare interface SidebarItemProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof sidebarItemVariants> {
|
|
1170
|
+
icon?: React.ReactNode;
|
|
1171
|
+
badge?: React.ReactNode;
|
|
1172
|
+
active?: boolean;
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
declare const sidebarItemVariants: (props?: ({
|
|
1176
|
+
variant?: "default" | "active" | "ghost" | null | undefined;
|
|
1177
|
+
} & ClassProp) | undefined) => string;
|
|
1178
|
+
|
|
1179
|
+
declare const SidebarNav: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
|
1180
|
+
|
|
1181
|
+
declare interface SidebarProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof sidebarVariants> {
|
|
1182
|
+
fixed?: boolean;
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
declare const sidebarVariants: (props?: ({
|
|
1186
|
+
variant?: "default" | "floating" | null | undefined;
|
|
1187
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1188
|
+
collapsed?: boolean | null | undefined;
|
|
1189
|
+
} & ClassProp) | undefined) => string;
|
|
1190
|
+
|
|
1191
|
+
declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
1192
|
+
|
|
1193
|
+
declare const Slider: ForwardRefExoticComponent<Omit<Slider_2.SliderProps & RefAttributes<HTMLSpanElement>, "ref"> & RefAttributes<HTMLSpanElement>>;
|
|
1194
|
+
|
|
1195
|
+
declare const Switch: ForwardRefExoticComponent<Omit<Switch_2.SwitchProps & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
1196
|
+
|
|
183
1197
|
export declare const syncAndRetry: (projectName: string, projectRepository: string) => Promise<void>;
|
|
184
1198
|
|
|
1199
|
+
declare const Table: ForwardRefExoticComponent<HTMLAttributes<HTMLTableElement> & RefAttributes<HTMLTableElement>>;
|
|
1200
|
+
|
|
1201
|
+
declare const TableBody: ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & RefAttributes<HTMLTableSectionElement>>;
|
|
1202
|
+
|
|
1203
|
+
declare const TableCaption: ForwardRefExoticComponent<HTMLAttributes<HTMLTableCaptionElement> & RefAttributes<HTMLTableCaptionElement>>;
|
|
1204
|
+
|
|
1205
|
+
declare const TableCell: ForwardRefExoticComponent<TdHTMLAttributes<HTMLTableCellElement> & RefAttributes<HTMLTableCellElement>>;
|
|
1206
|
+
|
|
1207
|
+
declare const TableFooter: ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & RefAttributes<HTMLTableSectionElement>>;
|
|
1208
|
+
|
|
1209
|
+
declare const TableHead: ForwardRefExoticComponent<ThHTMLAttributes<HTMLTableCellElement> & RefAttributes<HTMLTableCellElement>>;
|
|
1210
|
+
|
|
1211
|
+
declare const TableHeader: ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & RefAttributes<HTMLTableSectionElement>>;
|
|
1212
|
+
|
|
1213
|
+
declare const TableRow: ForwardRefExoticComponent<HTMLAttributes<HTMLTableRowElement> & RefAttributes<HTMLTableRowElement>>;
|
|
1214
|
+
|
|
1215
|
+
declare const Tabs: React_2.ForwardRefExoticComponent<Tabs_2.TabsProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1216
|
+
|
|
1217
|
+
declare const TabsContent: React_2.ForwardRefExoticComponent<Omit<Tabs_2.TabsContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
1218
|
+
|
|
1219
|
+
declare const TabsList: React_2.ForwardRefExoticComponent<Omit<Tabs_2.TabsListProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
1220
|
+
|
|
1221
|
+
declare const TabsTrigger: React_2.ForwardRefExoticComponent<Omit<Tabs_2.TabsTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
1222
|
+
|
|
1223
|
+
declare const TailwindThemeConsumer: Consumer<any>;
|
|
1224
|
+
|
|
1225
|
+
export declare namespace TailwindThemeContext {
|
|
1226
|
+
export {
|
|
1227
|
+
TailwindThemeContext_2 as TailwindThemeContext,
|
|
1228
|
+
TailwindThemeConsumer,
|
|
1229
|
+
TailwindThemeProvider
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
declare const TailwindThemeContext_2: Context<any>;
|
|
1234
|
+
|
|
1235
|
+
export declare namespace TailwindThemeHooks {
|
|
1236
|
+
export {
|
|
1237
|
+
useFont,
|
|
1238
|
+
useVariants
|
|
1239
|
+
}
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
declare const TailwindThemeProvider: (props: {
|
|
1243
|
+
children?: React.ReactNode;
|
|
1244
|
+
}) => JSX_2.Element;
|
|
1245
|
+
|
|
1246
|
+
declare const Textarea: ForwardRefExoticComponent<TextareaProps & RefAttributes<HTMLTextAreaElement>>;
|
|
1247
|
+
|
|
1248
|
+
declare interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
declare const Toaster: ({ ...props }: ToasterProps) => JSX_2.Element;
|
|
1252
|
+
|
|
1253
|
+
declare type ToasterProps = React.ComponentProps<typeof Toaster_2>;
|
|
1254
|
+
|
|
1255
|
+
declare const Toggle: ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
1256
|
+
variant?: "default" | "outline" | null | undefined;
|
|
1257
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1258
|
+
} & ClassProp) | undefined) => string> & RefAttributes<HTMLButtonElement>>;
|
|
1259
|
+
|
|
1260
|
+
declare const ToggleGroup: ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
|
|
1261
|
+
variant?: "default" | "outline" | null | undefined;
|
|
1262
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1263
|
+
} & ClassProp) | undefined) => string>) & RefAttributes<HTMLDivElement>>;
|
|
1264
|
+
|
|
1265
|
+
declare const ToggleGroupItem: ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
1266
|
+
variant?: "default" | "outline" | null | undefined;
|
|
1267
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1268
|
+
} & ClassProp) | undefined) => string> & RefAttributes<HTMLButtonElement>>;
|
|
1269
|
+
|
|
1270
|
+
declare const toggleVariants: (props?: ({
|
|
1271
|
+
variant?: "default" | "outline" | null | undefined;
|
|
1272
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1273
|
+
} & ClassProp) | undefined) => string;
|
|
1274
|
+
|
|
1275
|
+
declare const Tooltip: FC<TooltipPrimitive.TooltipProps>;
|
|
1276
|
+
|
|
1277
|
+
declare const TooltipContent: ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1278
|
+
|
|
1279
|
+
declare const TooltipProvider: FC<TooltipPrimitive.TooltipProviderProps>;
|
|
1280
|
+
|
|
1281
|
+
declare const TooltipTrigger: ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & RefAttributes<HTMLButtonElement>>;
|
|
1282
|
+
|
|
185
1283
|
export declare const useAPI: () => APIContextType;
|
|
186
1284
|
|
|
187
1285
|
export declare const useAppMetadata: (projectName: string, deps?: any[]) => any;
|
|
@@ -192,8 +1290,37 @@ export declare const useAppVersions: (projectName: string, projectURL: string, d
|
|
|
192
1290
|
|
|
193
1291
|
export declare const useB64UrlForProjectImage: (projectName: string, imageFilename: string) => string;
|
|
194
1292
|
|
|
1293
|
+
declare const useFont: () => {
|
|
1294
|
+
font: any;
|
|
1295
|
+
setFont: any;
|
|
1296
|
+
};
|
|
1297
|
+
|
|
1298
|
+
declare const useFormField: () => {
|
|
1299
|
+
invalid: boolean;
|
|
1300
|
+
isDirty: boolean;
|
|
1301
|
+
isTouched: boolean;
|
|
1302
|
+
isValidating: boolean;
|
|
1303
|
+
error?: FieldError;
|
|
1304
|
+
id: string;
|
|
1305
|
+
name: string;
|
|
1306
|
+
formItemId: string;
|
|
1307
|
+
formDescriptionId: string;
|
|
1308
|
+
formMessageId: string;
|
|
1309
|
+
};
|
|
1310
|
+
|
|
195
1311
|
export declare const useProject: () => any;
|
|
196
1312
|
|
|
1313
|
+
declare const useVariants: () => {
|
|
1314
|
+
variants: any;
|
|
1315
|
+
setVariants: any;
|
|
1316
|
+
};
|
|
1317
|
+
|
|
1318
|
+
export declare namespace Variants {
|
|
1319
|
+
export {
|
|
1320
|
+
DEFAULT
|
|
1321
|
+
}
|
|
1322
|
+
}
|
|
1323
|
+
|
|
197
1324
|
export { }
|
|
198
1325
|
|
|
199
1326
|
|
|
@@ -209,3 +1336,8 @@ declare global {
|
|
|
209
1336
|
THREE: any;
|
|
210
1337
|
}
|
|
211
1338
|
}
|
|
1339
|
+
|
|
1340
|
+
|
|
1341
|
+
declare namespace Calendar {
|
|
1342
|
+
var displayName: string;
|
|
1343
|
+
}
|