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