@melv1c/ui-kit 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +65 -0
- package/dist/base.css +49 -0
- package/dist/chunk-2ZWQNZEN.cjs +63 -0
- package/dist/chunk-2ZWQNZEN.cjs.map +1 -0
- package/dist/chunk-4H5OSMBC.js +52 -0
- package/dist/chunk-4H5OSMBC.js.map +1 -0
- package/dist/chunk-GQ6Z5A4R.cjs +262 -0
- package/dist/chunk-GQ6Z5A4R.cjs.map +1 -0
- package/dist/chunk-I7WHASOO.cjs +13 -0
- package/dist/chunk-I7WHASOO.cjs.map +1 -0
- package/dist/chunk-PYHBC3IQ.js +17 -0
- package/dist/chunk-PYHBC3IQ.js.map +1 -0
- package/dist/chunk-PZ5AY32C.js +9 -0
- package/dist/chunk-PZ5AY32C.js.map +1 -0
- package/dist/chunk-Q4GFV3J3.cjs +19 -0
- package/dist/chunk-Q4GFV3J3.cjs.map +1 -0
- package/dist/chunk-Q7SFCCGT.cjs +11 -0
- package/dist/chunk-Q7SFCCGT.cjs.map +1 -0
- package/dist/chunk-QV4CTFLS.cjs +60 -0
- package/dist/chunk-QV4CTFLS.cjs.map +1 -0
- package/dist/chunk-RZJFYAJW.js +60 -0
- package/dist/chunk-RZJFYAJW.js.map +1 -0
- package/dist/chunk-WTLIXI2B.js +225 -0
- package/dist/chunk-WTLIXI2B.js.map +1 -0
- package/dist/chunk-WZ2GOU2J.js +11 -0
- package/dist/chunk-WZ2GOU2J.js.map +1 -0
- package/dist/code-diff-editor-IT2RMVDC.js +73 -0
- package/dist/code-diff-editor-IT2RMVDC.js.map +1 -0
- package/dist/code-diff-editor-J24VGXHL.cjs +75 -0
- package/dist/code-diff-editor-J24VGXHL.cjs.map +1 -0
- package/dist/code-editor-DK64HVFQ.cjs +84 -0
- package/dist/code-editor-DK64HVFQ.cjs.map +1 -0
- package/dist/code-editor-EJIJXZLN.js +82 -0
- package/dist/code-editor-EJIJXZLN.js.map +1 -0
- package/dist/index.cjs +4196 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +623 -0
- package/dist/index.d.ts +623 -0
- package/dist/index.js +3870 -0
- package/dist/index.js.map +1 -0
- package/dist/locales/index.cjs +33 -0
- package/dist/locales/index.cjs.map +1 -0
- package/dist/locales/index.d.cts +43 -0
- package/dist/locales/index.d.ts +43 -0
- package/dist/locales/index.js +4 -0
- package/dist/locales/index.js.map +1 -0
- package/dist/rich-text-editor-JUERRDHQ.js +442 -0
- package/dist/rich-text-editor-JUERRDHQ.js.map +1 -0
- package/dist/rich-text-editor-MOJDWQTI.cjs +451 -0
- package/dist/rich-text-editor-MOJDWQTI.cjs.map +1 -0
- package/dist/themes/claude.css +125 -0
- package/dist/themes/default.css +70 -0
- package/dist/themes/doom64.css +117 -0
- package/dist/themes/t3chat.css +125 -0
- package/dist/themes/twitter.css +127 -0
- package/dist/themes/vercel.css +117 -0
- package/package.json +166 -0
- package/styles.css +120 -0
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,623 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React$1 from 'react';
|
|
3
|
+
import { ComponentProps, ReactNode, HTMLAttributes } from 'react';
|
|
4
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
5
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
|
+
import { VariantProps } from 'class-variance-authority';
|
|
7
|
+
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
8
|
+
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
9
|
+
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
10
|
+
import { DayPicker, DayButton } from 'react-day-picker';
|
|
11
|
+
import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
12
|
+
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
13
|
+
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
14
|
+
import { Command as Command$1 } from 'cmdk';
|
|
15
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
16
|
+
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
|
17
|
+
import { Drawer as Drawer$1 } from 'vaul';
|
|
18
|
+
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
19
|
+
import * as react_hook_form from 'react-hook-form';
|
|
20
|
+
import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
|
|
21
|
+
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
22
|
+
import { Slot } from '@radix-ui/react-slot';
|
|
23
|
+
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
24
|
+
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
|
25
|
+
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
26
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
27
|
+
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
28
|
+
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
29
|
+
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
30
|
+
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
31
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
32
|
+
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
33
|
+
import { ToasterProps } from 'sonner';
|
|
34
|
+
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
35
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
36
|
+
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
37
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
38
|
+
import { i18n } from 'i18next';
|
|
39
|
+
import { Monaco } from '@monaco-editor/react';
|
|
40
|
+
import { editor } from 'monaco-editor';
|
|
41
|
+
import { ClassValue } from 'clsx';
|
|
42
|
+
|
|
43
|
+
declare function Accordion({ ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
44
|
+
declare function AccordionItem({ className, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Item>): react_jsx_runtime.JSX.Element;
|
|
45
|
+
declare function AccordionTrigger({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
46
|
+
declare function AccordionContent({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
47
|
+
|
|
48
|
+
declare const alertVariants: (props?: ({
|
|
49
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
50
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
51
|
+
declare function Alert({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof alertVariants>): react_jsx_runtime.JSX.Element;
|
|
52
|
+
declare function AlertTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
53
|
+
declare function AlertDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
54
|
+
|
|
55
|
+
declare function AlertDialog({ ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
56
|
+
declare function AlertDialogTrigger({ ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
57
|
+
declare function AlertDialogPortal({ ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
58
|
+
declare function AlertDialogOverlay({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Overlay>): react_jsx_runtime.JSX.Element;
|
|
59
|
+
declare function AlertDialogContent({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
60
|
+
declare function AlertDialogHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
61
|
+
declare function AlertDialogFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
62
|
+
declare function AlertDialogTitle({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
|
|
63
|
+
declare function AlertDialogDescription({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
|
|
64
|
+
declare function AlertDialogAction({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Action>): react_jsx_runtime.JSX.Element;
|
|
65
|
+
declare function AlertDialogCancel({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Cancel>): react_jsx_runtime.JSX.Element;
|
|
66
|
+
|
|
67
|
+
declare function Avatar({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
68
|
+
declare function AvatarImage({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Image>): react_jsx_runtime.JSX.Element;
|
|
69
|
+
declare function AvatarFallback({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime.JSX.Element;
|
|
70
|
+
|
|
71
|
+
declare const badgeVariants: (props?: ({
|
|
72
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
73
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
74
|
+
declare function Badge({ className, variant, asChild, ...props }: React$1.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
|
75
|
+
asChild?: boolean;
|
|
76
|
+
}): react_jsx_runtime.JSX.Element;
|
|
77
|
+
|
|
78
|
+
declare function Breadcrumb({ ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
|
|
79
|
+
declare function BreadcrumbList({ className, ...props }: React$1.ComponentProps<"ol">): react_jsx_runtime.JSX.Element;
|
|
80
|
+
declare function BreadcrumbItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
81
|
+
declare function BreadcrumbLink({ asChild, className, ...props }: React$1.ComponentProps<"a"> & {
|
|
82
|
+
asChild?: boolean;
|
|
83
|
+
}): react_jsx_runtime.JSX.Element;
|
|
84
|
+
declare function BreadcrumbPage({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
85
|
+
declare function BreadcrumbSeparator({ children, className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
86
|
+
declare function BreadcrumbEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
87
|
+
|
|
88
|
+
declare const buttonVariants: (props?: ({
|
|
89
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
90
|
+
size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
|
|
91
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
92
|
+
declare function Button({ className, variant, size, asChild, ...props }: React$1.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
93
|
+
asChild?: boolean;
|
|
94
|
+
}): react_jsx_runtime.JSX.Element;
|
|
95
|
+
|
|
96
|
+
declare function Separator({ className, orientation, decorative, ...props }: React$1.ComponentProps<typeof SeparatorPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
97
|
+
|
|
98
|
+
declare const buttonGroupVariants: (props?: ({
|
|
99
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
100
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
101
|
+
declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>): react_jsx_runtime.JSX.Element;
|
|
102
|
+
declare function ButtonGroupText({ className, asChild, ...props }: React.ComponentProps<"div"> & {
|
|
103
|
+
asChild?: boolean;
|
|
104
|
+
}): react_jsx_runtime.JSX.Element;
|
|
105
|
+
declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
106
|
+
|
|
107
|
+
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React$1.ComponentProps<typeof DayPicker> & {
|
|
108
|
+
buttonVariant?: React$1.ComponentProps<typeof Button>["variant"];
|
|
109
|
+
}): react_jsx_runtime.JSX.Element;
|
|
110
|
+
declare function CalendarDayButton({ className, day, modifiers, ...props }: React$1.ComponentProps<typeof DayButton>): react_jsx_runtime.JSX.Element;
|
|
111
|
+
|
|
112
|
+
declare function Card({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
113
|
+
declare function CardHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
114
|
+
declare function CardTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
115
|
+
declare function CardDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
116
|
+
declare function CardAction({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
117
|
+
declare function CardContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
118
|
+
declare function CardFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
119
|
+
|
|
120
|
+
type CarouselApi = UseEmblaCarouselType[1];
|
|
121
|
+
type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
|
122
|
+
type CarouselOptions = UseCarouselParameters[0];
|
|
123
|
+
type CarouselPlugin = UseCarouselParameters[1];
|
|
124
|
+
type CarouselProps = {
|
|
125
|
+
opts?: CarouselOptions;
|
|
126
|
+
plugins?: CarouselPlugin;
|
|
127
|
+
orientation?: "horizontal" | "vertical";
|
|
128
|
+
setApi?: (api: CarouselApi) => void;
|
|
129
|
+
};
|
|
130
|
+
declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: React$1.ComponentProps<"div"> & CarouselProps): react_jsx_runtime.JSX.Element;
|
|
131
|
+
declare function CarouselContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
132
|
+
declare function CarouselItem({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
133
|
+
declare function CarouselPrevious({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
134
|
+
declare function CarouselNext({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
135
|
+
|
|
136
|
+
declare function Checkbox({ className, ...props }: React$1.ComponentProps<typeof CheckboxPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
137
|
+
|
|
138
|
+
declare function Collapsible({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
139
|
+
declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): react_jsx_runtime.JSX.Element;
|
|
140
|
+
declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): react_jsx_runtime.JSX.Element;
|
|
141
|
+
|
|
142
|
+
declare function Dialog({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
143
|
+
declare function DialogTrigger({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
144
|
+
declare function DialogPortal({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
145
|
+
declare function DialogClose({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime.JSX.Element;
|
|
146
|
+
declare function DialogOverlay({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Overlay>): react_jsx_runtime.JSX.Element;
|
|
147
|
+
declare function DialogContent({ className, children, showCloseButton, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Content> & {
|
|
148
|
+
showCloseButton?: boolean;
|
|
149
|
+
}): react_jsx_runtime.JSX.Element;
|
|
150
|
+
declare function DialogHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
151
|
+
declare function DialogFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
152
|
+
declare function DialogTitle({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
|
|
153
|
+
declare function DialogDescription({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
|
|
154
|
+
|
|
155
|
+
declare function Command({ className, ...props }: React$1.ComponentProps<typeof Command$1>): react_jsx_runtime.JSX.Element;
|
|
156
|
+
declare function CommandDialog({ title, description, children, className, showCloseButton, ...props }: React$1.ComponentProps<typeof Dialog> & {
|
|
157
|
+
title?: string;
|
|
158
|
+
description?: string;
|
|
159
|
+
className?: string;
|
|
160
|
+
showCloseButton?: boolean;
|
|
161
|
+
}): react_jsx_runtime.JSX.Element;
|
|
162
|
+
declare function CommandInput({ className, ...props }: React$1.ComponentProps<typeof Command$1.Input>): react_jsx_runtime.JSX.Element;
|
|
163
|
+
declare function CommandList({ className, ...props }: React$1.ComponentProps<typeof Command$1.List>): react_jsx_runtime.JSX.Element;
|
|
164
|
+
declare function CommandEmpty({ ...props }: React$1.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime.JSX.Element;
|
|
165
|
+
declare function CommandGroup({ className, ...props }: React$1.ComponentProps<typeof Command$1.Group>): react_jsx_runtime.JSX.Element;
|
|
166
|
+
declare function CommandSeparator({ className, ...props }: React$1.ComponentProps<typeof Command$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
167
|
+
declare function CommandItem({ className, ...props }: React$1.ComponentProps<typeof Command$1.Item>): react_jsx_runtime.JSX.Element;
|
|
168
|
+
declare function CommandShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
169
|
+
|
|
170
|
+
declare function ContextMenu({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
171
|
+
declare function ContextMenuTrigger({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
172
|
+
declare function ContextMenuGroup({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Group>): react_jsx_runtime.JSX.Element;
|
|
173
|
+
declare function ContextMenuPortal({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
174
|
+
declare function ContextMenuSub({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Sub>): react_jsx_runtime.JSX.Element;
|
|
175
|
+
declare function ContextMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
176
|
+
declare function ContextMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.SubTrigger> & {
|
|
177
|
+
inset?: boolean;
|
|
178
|
+
}): react_jsx_runtime.JSX.Element;
|
|
179
|
+
declare function ContextMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
|
|
180
|
+
declare function ContextMenuContent({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
181
|
+
declare function ContextMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Item> & {
|
|
182
|
+
inset?: boolean;
|
|
183
|
+
variant?: "default" | "destructive";
|
|
184
|
+
}): react_jsx_runtime.JSX.Element;
|
|
185
|
+
declare function ContextMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
|
|
186
|
+
declare function ContextMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
|
|
187
|
+
declare function ContextMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Label> & {
|
|
188
|
+
inset?: boolean;
|
|
189
|
+
}): react_jsx_runtime.JSX.Element;
|
|
190
|
+
declare function ContextMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Separator>): react_jsx_runtime.JSX.Element;
|
|
191
|
+
declare function ContextMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
192
|
+
|
|
193
|
+
declare function Drawer({ ...props }: React$1.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime.JSX.Element;
|
|
194
|
+
declare function DrawerTrigger({ ...props }: React$1.ComponentProps<typeof Drawer$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
195
|
+
declare function DrawerPortal({ ...props }: React$1.ComponentProps<typeof Drawer$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
196
|
+
declare function DrawerClose({ ...props }: React$1.ComponentProps<typeof Drawer$1.Close>): react_jsx_runtime.JSX.Element;
|
|
197
|
+
declare function DrawerOverlay({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Overlay>): react_jsx_runtime.JSX.Element;
|
|
198
|
+
declare function DrawerContent({ className, children, ...props }: React$1.ComponentProps<typeof Drawer$1.Content>): react_jsx_runtime.JSX.Element;
|
|
199
|
+
declare function DrawerHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
200
|
+
declare function DrawerFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
201
|
+
declare function DrawerTitle({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Title>): react_jsx_runtime.JSX.Element;
|
|
202
|
+
declare function DrawerDescription({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Description>): react_jsx_runtime.JSX.Element;
|
|
203
|
+
|
|
204
|
+
declare function DropdownMenu({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
205
|
+
declare function DropdownMenuPortal({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
206
|
+
declare function DropdownMenuTrigger({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
207
|
+
declare function DropdownMenuContent({ className, sideOffset, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
208
|
+
declare function DropdownMenuGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Group>): react_jsx_runtime.JSX.Element;
|
|
209
|
+
declare function DropdownMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
210
|
+
inset?: boolean;
|
|
211
|
+
variant?: "default" | "destructive";
|
|
212
|
+
}): react_jsx_runtime.JSX.Element;
|
|
213
|
+
declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
|
|
214
|
+
declare function DropdownMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
215
|
+
declare function DropdownMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
|
|
216
|
+
declare function DropdownMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
|
|
217
|
+
inset?: boolean;
|
|
218
|
+
}): react_jsx_runtime.JSX.Element;
|
|
219
|
+
declare function DropdownMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Separator>): react_jsx_runtime.JSX.Element;
|
|
220
|
+
declare function DropdownMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
221
|
+
declare function DropdownMenuSub({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Sub>): react_jsx_runtime.JSX.Element;
|
|
222
|
+
declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
|
|
223
|
+
inset?: boolean;
|
|
224
|
+
}): react_jsx_runtime.JSX.Element;
|
|
225
|
+
declare function DropdownMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
|
|
226
|
+
|
|
227
|
+
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
|
|
228
|
+
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
|
|
229
|
+
declare const useFormField: () => {
|
|
230
|
+
invalid: boolean;
|
|
231
|
+
isDirty: boolean;
|
|
232
|
+
isTouched: boolean;
|
|
233
|
+
isValidating: boolean;
|
|
234
|
+
error?: react_hook_form.FieldError;
|
|
235
|
+
id: string;
|
|
236
|
+
name: string;
|
|
237
|
+
formItemId: string;
|
|
238
|
+
formDescriptionId: string;
|
|
239
|
+
formMessageId: string;
|
|
240
|
+
};
|
|
241
|
+
declare function FormItem({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
242
|
+
declare function FormLabel({ className, ...props }: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
243
|
+
declare function FormControl({ ...props }: React$1.ComponentProps<typeof Slot>): react_jsx_runtime.JSX.Element;
|
|
244
|
+
declare function FormDescription({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
245
|
+
declare function FormMessage({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element | null;
|
|
246
|
+
|
|
247
|
+
declare function HoverCard({ ...props }: React$1.ComponentProps<typeof HoverCardPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
248
|
+
declare function HoverCardTrigger({ ...props }: React$1.ComponentProps<typeof HoverCardPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
249
|
+
declare function HoverCardContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof HoverCardPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
250
|
+
|
|
251
|
+
declare function Input({ className, type, ...props }: React$1.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
|
|
252
|
+
|
|
253
|
+
declare function Label({ className, ...props }: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
254
|
+
|
|
255
|
+
declare function Menubar({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
256
|
+
declare function MenubarMenu({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Menu>): react_jsx_runtime.JSX.Element;
|
|
257
|
+
declare function MenubarGroup({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Group>): react_jsx_runtime.JSX.Element;
|
|
258
|
+
declare function MenubarPortal({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
259
|
+
declare function MenubarRadioGroup({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
260
|
+
declare function MenubarTrigger({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
261
|
+
declare function MenubarContent({ className, align, alignOffset, sideOffset, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
262
|
+
declare function MenubarItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Item> & {
|
|
263
|
+
inset?: boolean;
|
|
264
|
+
variant?: "default" | "destructive";
|
|
265
|
+
}): react_jsx_runtime.JSX.Element;
|
|
266
|
+
declare function MenubarCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
|
|
267
|
+
declare function MenubarRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
|
|
268
|
+
declare function MenubarLabel({ className, inset, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Label> & {
|
|
269
|
+
inset?: boolean;
|
|
270
|
+
}): react_jsx_runtime.JSX.Element;
|
|
271
|
+
declare function MenubarSeparator({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Separator>): react_jsx_runtime.JSX.Element;
|
|
272
|
+
declare function MenubarShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
273
|
+
declare function MenubarSub({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Sub>): react_jsx_runtime.JSX.Element;
|
|
274
|
+
declare function MenubarSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.SubTrigger> & {
|
|
275
|
+
inset?: boolean;
|
|
276
|
+
}): react_jsx_runtime.JSX.Element;
|
|
277
|
+
declare function MenubarSubContent({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
|
|
278
|
+
|
|
279
|
+
declare function NavigationMenu({ className, children, viewport, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Root> & {
|
|
280
|
+
viewport?: boolean;
|
|
281
|
+
}): react_jsx_runtime.JSX.Element;
|
|
282
|
+
declare function NavigationMenuList({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.List>): react_jsx_runtime.JSX.Element;
|
|
283
|
+
declare function NavigationMenuItem({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Item>): react_jsx_runtime.JSX.Element;
|
|
284
|
+
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
285
|
+
declare function NavigationMenuTrigger({ className, children, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
286
|
+
declare function NavigationMenuContent({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
287
|
+
declare function NavigationMenuViewport({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Viewport>): react_jsx_runtime.JSX.Element;
|
|
288
|
+
declare function NavigationMenuLink({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Link>): react_jsx_runtime.JSX.Element;
|
|
289
|
+
declare function NavigationMenuIndicator({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Indicator>): react_jsx_runtime.JSX.Element;
|
|
290
|
+
|
|
291
|
+
declare function Pagination({ className, ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
|
|
292
|
+
declare function PaginationContent({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
|
|
293
|
+
declare function PaginationItem({ ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
294
|
+
type PaginationLinkProps = {
|
|
295
|
+
isActive?: boolean;
|
|
296
|
+
} & Pick<React$1.ComponentProps<typeof Button>, "size"> & React$1.ComponentProps<"a">;
|
|
297
|
+
declare function PaginationLink({ className, isActive, size, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
|
|
298
|
+
declare function PaginationPrevious({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
299
|
+
declare function PaginationNext({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
300
|
+
declare function PaginationEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
301
|
+
|
|
302
|
+
declare function Popover({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
303
|
+
declare function PopoverTrigger({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
304
|
+
declare function PopoverContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
305
|
+
declare function PopoverAnchor({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Anchor>): react_jsx_runtime.JSX.Element;
|
|
306
|
+
|
|
307
|
+
declare function Progress({ className, value, ...props }: React$1.ComponentProps<typeof ProgressPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
308
|
+
|
|
309
|
+
declare function RadioGroup({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
310
|
+
declare function RadioGroupItem({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Item>): react_jsx_runtime.JSX.Element;
|
|
311
|
+
|
|
312
|
+
declare function ScrollArea({ className, children, ...props }: React$1.ComponentProps<typeof ScrollAreaPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
313
|
+
declare function ScrollBar({ className, orientation, ...props }: React$1.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): react_jsx_runtime.JSX.Element;
|
|
314
|
+
|
|
315
|
+
declare function Select({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
316
|
+
declare function SelectGroup({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Group>): react_jsx_runtime.JSX.Element;
|
|
317
|
+
declare function SelectValue({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime.JSX.Element;
|
|
318
|
+
declare function SelectTrigger({ className, size, children, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Trigger> & {
|
|
319
|
+
size?: "sm" | "default";
|
|
320
|
+
}): react_jsx_runtime.JSX.Element;
|
|
321
|
+
declare function SelectContent({ className, children, position, align, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
322
|
+
declare function SelectLabel({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Label>): react_jsx_runtime.JSX.Element;
|
|
323
|
+
declare function SelectItem({ className, children, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Item>): react_jsx_runtime.JSX.Element;
|
|
324
|
+
declare function SelectSeparator({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Separator>): react_jsx_runtime.JSX.Element;
|
|
325
|
+
declare function SelectScrollUpButton({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): react_jsx_runtime.JSX.Element;
|
|
326
|
+
declare function SelectScrollDownButton({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): react_jsx_runtime.JSX.Element;
|
|
327
|
+
|
|
328
|
+
declare function Sheet({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
329
|
+
declare function SheetTrigger({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
330
|
+
declare function SheetClose({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime.JSX.Element;
|
|
331
|
+
declare function SheetContent({ className, children, side, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Content> & {
|
|
332
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
333
|
+
}): react_jsx_runtime.JSX.Element;
|
|
334
|
+
declare function SheetHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
335
|
+
declare function SheetFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
336
|
+
declare function SheetTitle({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
|
|
337
|
+
declare function SheetDescription({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
|
|
338
|
+
|
|
339
|
+
declare function TooltipProvider({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
|
|
340
|
+
declare function Tooltip({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
341
|
+
declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
342
|
+
declare function TooltipContent({ className, sideOffset, children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
343
|
+
|
|
344
|
+
type SidebarContextProps = {
|
|
345
|
+
state: "expanded" | "collapsed";
|
|
346
|
+
open: boolean;
|
|
347
|
+
setOpen: (open: boolean) => void;
|
|
348
|
+
openMobile: boolean;
|
|
349
|
+
setOpenMobile: (open: boolean) => void;
|
|
350
|
+
isMobile: boolean;
|
|
351
|
+
toggleSidebar: () => void;
|
|
352
|
+
};
|
|
353
|
+
declare function useSidebar(): SidebarContextProps;
|
|
354
|
+
declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React$1.ComponentProps<"div"> & {
|
|
355
|
+
defaultOpen?: boolean;
|
|
356
|
+
open?: boolean;
|
|
357
|
+
onOpenChange?: (open: boolean) => void;
|
|
358
|
+
}): react_jsx_runtime.JSX.Element;
|
|
359
|
+
declare function Sidebar({ side, variant, collapsible, className, children, ...props }: React$1.ComponentProps<"div"> & {
|
|
360
|
+
side?: "left" | "right";
|
|
361
|
+
variant?: "sidebar" | "floating" | "inset";
|
|
362
|
+
collapsible?: "offcanvas" | "icon" | "none";
|
|
363
|
+
}): react_jsx_runtime.JSX.Element;
|
|
364
|
+
declare function SidebarTrigger({ className, onClick, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
365
|
+
declare function SidebarRail({ className, ...props }: React$1.ComponentProps<"button">): react_jsx_runtime.JSX.Element;
|
|
366
|
+
declare function SidebarInset({ className, ...props }: React$1.ComponentProps<"main">): react_jsx_runtime.JSX.Element;
|
|
367
|
+
declare function SidebarInput({ className, ...props }: React$1.ComponentProps<typeof Input>): react_jsx_runtime.JSX.Element;
|
|
368
|
+
declare function SidebarHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
369
|
+
declare function SidebarFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
370
|
+
declare function SidebarSeparator({ className, ...props }: React$1.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
371
|
+
declare function SidebarContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
372
|
+
declare function SidebarGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
373
|
+
declare function SidebarGroupLabel({ className, asChild, ...props }: React$1.ComponentProps<"div"> & {
|
|
374
|
+
asChild?: boolean;
|
|
375
|
+
}): react_jsx_runtime.JSX.Element;
|
|
376
|
+
declare function SidebarGroupAction({ className, asChild, ...props }: React$1.ComponentProps<"button"> & {
|
|
377
|
+
asChild?: boolean;
|
|
378
|
+
}): react_jsx_runtime.JSX.Element;
|
|
379
|
+
declare function SidebarGroupContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
380
|
+
declare function SidebarMenu({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
|
|
381
|
+
declare function SidebarMenuItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
382
|
+
declare const sidebarMenuButtonVariants: (props?: ({
|
|
383
|
+
variant?: "default" | "outline" | null | undefined;
|
|
384
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
385
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
386
|
+
declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React$1.ComponentProps<"button"> & {
|
|
387
|
+
asChild?: boolean;
|
|
388
|
+
isActive?: boolean;
|
|
389
|
+
tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
|
|
390
|
+
} & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime.JSX.Element;
|
|
391
|
+
declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: React$1.ComponentProps<"button"> & {
|
|
392
|
+
asChild?: boolean;
|
|
393
|
+
showOnHover?: boolean;
|
|
394
|
+
}): react_jsx_runtime.JSX.Element;
|
|
395
|
+
declare function SidebarMenuBadge({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
396
|
+
declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React$1.ComponentProps<"div"> & {
|
|
397
|
+
showIcon?: boolean;
|
|
398
|
+
}): react_jsx_runtime.JSX.Element;
|
|
399
|
+
declare function SidebarMenuSub({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
|
|
400
|
+
declare function SidebarMenuSubItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
401
|
+
declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...props }: React$1.ComponentProps<"a"> & {
|
|
402
|
+
asChild?: boolean;
|
|
403
|
+
size?: "sm" | "md";
|
|
404
|
+
isActive?: boolean;
|
|
405
|
+
}): react_jsx_runtime.JSX.Element;
|
|
406
|
+
|
|
407
|
+
declare function Skeleton({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
408
|
+
|
|
409
|
+
declare function Slider({ className, defaultValue, value, min, max, ...props }: React$1.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
410
|
+
|
|
411
|
+
declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
412
|
+
|
|
413
|
+
declare function Switch({ className, ...props }: React$1.ComponentProps<typeof SwitchPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
414
|
+
|
|
415
|
+
declare function Table({ className, ...props }: React$1.ComponentProps<"table">): react_jsx_runtime.JSX.Element;
|
|
416
|
+
declare function TableHeader({ className, ...props }: React$1.ComponentProps<"thead">): react_jsx_runtime.JSX.Element;
|
|
417
|
+
declare function TableBody({ className, ...props }: React$1.ComponentProps<"tbody">): react_jsx_runtime.JSX.Element;
|
|
418
|
+
declare function TableFooter({ className, ...props }: React$1.ComponentProps<"tfoot">): react_jsx_runtime.JSX.Element;
|
|
419
|
+
declare function TableRow({ className, ...props }: React$1.ComponentProps<"tr">): react_jsx_runtime.JSX.Element;
|
|
420
|
+
declare function TableHead({ className, ...props }: React$1.ComponentProps<"th">): react_jsx_runtime.JSX.Element;
|
|
421
|
+
declare function TableCell({ className, ...props }: React$1.ComponentProps<"td">): react_jsx_runtime.JSX.Element;
|
|
422
|
+
declare function TableCaption({ className, ...props }: React$1.ComponentProps<"caption">): react_jsx_runtime.JSX.Element;
|
|
423
|
+
|
|
424
|
+
declare function Tabs({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
425
|
+
declare function TabsList({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.List>): react_jsx_runtime.JSX.Element;
|
|
426
|
+
declare function TabsTrigger({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
427
|
+
declare function TabsContent({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
428
|
+
|
|
429
|
+
declare function Textarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
|
|
430
|
+
|
|
431
|
+
declare const toggleVariants: (props?: ({
|
|
432
|
+
variant?: "default" | "outline" | null | undefined;
|
|
433
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
434
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
435
|
+
declare function Toggle({ className, variant, size, ...props }: React$1.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
436
|
+
|
|
437
|
+
declare function ToggleGroup({ className, variant, size, spacing, children, ...props }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants> & {
|
|
438
|
+
spacing?: number;
|
|
439
|
+
}): react_jsx_runtime.JSX.Element;
|
|
440
|
+
declare function ToggleGroupItem({ className, children, variant, size, ...props }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
441
|
+
|
|
442
|
+
declare function NextButton(props: Omit<ComponentProps<typeof Button>, "children">): react_jsx_runtime.JSX.Element;
|
|
443
|
+
declare function PreviousButton(props: Omit<ComponentProps<typeof Button>, "children">): react_jsx_runtime.JSX.Element;
|
|
444
|
+
|
|
445
|
+
type SupportedLanguage$1 = "en" | "fr" | "nl" | "es" | "de" | "it";
|
|
446
|
+
interface LocaleProviderProps {
|
|
447
|
+
children: ReactNode;
|
|
448
|
+
/** The language to use for UI kit translations. */
|
|
449
|
+
language: SupportedLanguage$1;
|
|
450
|
+
/** Override specific translations for the selected language. */
|
|
451
|
+
overrides?: Record<string, string>;
|
|
452
|
+
}
|
|
453
|
+
/**
|
|
454
|
+
* Provider for apps that don't need full i18n setup.
|
|
455
|
+
* Creates an isolated i18n instance with only the specified language.
|
|
456
|
+
*
|
|
457
|
+
* @example
|
|
458
|
+
* ```tsx
|
|
459
|
+
* <LocaleProvider language="fr">
|
|
460
|
+
* <App />
|
|
461
|
+
* </LocaleProvider>
|
|
462
|
+
*
|
|
463
|
+
* // With overrides
|
|
464
|
+
* <LocaleProvider language="fr" overrides={{ next: "Avancer" }}>
|
|
465
|
+
* <App />
|
|
466
|
+
* </LocaleProvider>
|
|
467
|
+
* ```
|
|
468
|
+
*/
|
|
469
|
+
declare function LocaleProvider({ children, language, overrides, }: LocaleProviderProps): react_jsx_runtime.JSX.Element | null;
|
|
470
|
+
|
|
471
|
+
interface TranslationProviderProps {
|
|
472
|
+
i18n: i18n;
|
|
473
|
+
children: ReactNode;
|
|
474
|
+
fallback?: ReactNode;
|
|
475
|
+
/**
|
|
476
|
+
* Override or extend translations.
|
|
477
|
+
* Can be used to override existing translations or add new languages.
|
|
478
|
+
*
|
|
479
|
+
* @example
|
|
480
|
+
* ```tsx
|
|
481
|
+
* // Override French translation
|
|
482
|
+
* overrides={{ fr: { next: "Avancer" } }}
|
|
483
|
+
*
|
|
484
|
+
* // Add new language
|
|
485
|
+
* overrides={{ ru: { next: "Следующий", previous: "Предыдущий" } }}
|
|
486
|
+
* ```
|
|
487
|
+
*/
|
|
488
|
+
overrides?: Partial<Record<string, Record<string, string>>>;
|
|
489
|
+
}
|
|
490
|
+
/**
|
|
491
|
+
* Provider for apps with existing i18n setup.
|
|
492
|
+
* Automatically adds UI kit translations to the provided i18n instance.
|
|
493
|
+
*
|
|
494
|
+
* @example
|
|
495
|
+
* ```tsx
|
|
496
|
+
* <TranslationProvider i18n={i18n}>
|
|
497
|
+
* <App />
|
|
498
|
+
* </TranslationProvider>
|
|
499
|
+
*
|
|
500
|
+
* // With overrides
|
|
501
|
+
* <TranslationProvider
|
|
502
|
+
* i18n={i18n}
|
|
503
|
+
* overrides={{ fr: { next: "Avancer" }, ru: { next: "Следующий" } }}
|
|
504
|
+
* >
|
|
505
|
+
* <App />
|
|
506
|
+
* </TranslationProvider>
|
|
507
|
+
* ```
|
|
508
|
+
*/
|
|
509
|
+
declare function TranslationProvider({ i18n, children, fallback, overrides, }: TranslationProviderProps): react_jsx_runtime.JSX.Element;
|
|
510
|
+
|
|
511
|
+
type SupportedLanguage = "javascript" | "typescript" | "json" | "html" | "css" | "markdown" | "python" | "sql" | "xml" | "yaml" | "plaintext";
|
|
512
|
+
type EditorTheme = "light" | "vs-dark" | "qualifio";
|
|
513
|
+
|
|
514
|
+
declare const codeEditorVariants: (props?: ({
|
|
515
|
+
variant?: "default" | "ghost" | "card" | null | undefined;
|
|
516
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
517
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
518
|
+
|
|
519
|
+
interface DiffEditorProps extends VariantProps<typeof codeEditorVariants>, Omit<HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
520
|
+
original?: string;
|
|
521
|
+
modified?: string;
|
|
522
|
+
language: SupportedLanguage;
|
|
523
|
+
theme?: EditorTheme;
|
|
524
|
+
readOnly?: boolean;
|
|
525
|
+
disabled?: boolean;
|
|
526
|
+
onMount?: (editor: editor.IStandaloneDiffEditor, monaco: Monaco) => void;
|
|
527
|
+
options?: editor.IDiffEditorConstructionOptions;
|
|
528
|
+
}
|
|
529
|
+
declare function CodeDiffEditor({ original, modified, language, theme, readOnly, disabled, className, variant, size, onMount, options, ...props }: DiffEditorProps): react_jsx_runtime.JSX.Element;
|
|
530
|
+
|
|
531
|
+
interface CodeEditorProps$1 extends VariantProps<typeof codeEditorVariants>, Omit<HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
532
|
+
value?: string;
|
|
533
|
+
defaultValue?: string;
|
|
534
|
+
language: SupportedLanguage;
|
|
535
|
+
theme?: EditorTheme;
|
|
536
|
+
readOnly?: boolean;
|
|
537
|
+
disabled?: boolean;
|
|
538
|
+
lineNumbers?: boolean;
|
|
539
|
+
wordWrap?: boolean;
|
|
540
|
+
minimap?: boolean;
|
|
541
|
+
onChange?: (value: string | undefined) => void;
|
|
542
|
+
onMount?: (editor: editor.IStandaloneCodeEditor, monaco: Monaco) => void;
|
|
543
|
+
onValidate?: (markers: editor.IMarker[]) => void;
|
|
544
|
+
options?: editor.IStandaloneEditorConstructionOptions;
|
|
545
|
+
}
|
|
546
|
+
declare function CodeEditor({ value, defaultValue, language, theme, readOnly, disabled, lineNumbers, wordWrap, minimap, className, variant, size, onChange, onMount, onValidate, options, ...props }: CodeEditorProps$1): react_jsx_runtime.JSX.Element;
|
|
547
|
+
|
|
548
|
+
declare const CodeEditorInternal: React$1.LazyExoticComponent<typeof CodeEditor>;
|
|
549
|
+
declare const CodeDiffEditorInternal: React$1.LazyExoticComponent<typeof CodeDiffEditor>;
|
|
550
|
+
type CodeEditorProps = ComponentProps<typeof CodeEditorInternal>;
|
|
551
|
+
type CodeDiffEditorProps = ComponentProps<typeof CodeDiffEditorInternal>;
|
|
552
|
+
/**
|
|
553
|
+
* Lazy-loaded Code Editor component.
|
|
554
|
+
* Monaco Editor is only loaded when this component is rendered.
|
|
555
|
+
*
|
|
556
|
+
* @requires @monaco-editor/react and monaco-editor as peer dependencies
|
|
557
|
+
*/
|
|
558
|
+
declare function LazyCodeEditor(props: CodeEditorProps): react_jsx_runtime.JSX.Element;
|
|
559
|
+
/**
|
|
560
|
+
* Lazy-loaded Code Diff Editor component.
|
|
561
|
+
* Monaco Editor is only loaded when this component is rendered.
|
|
562
|
+
*
|
|
563
|
+
* @requires @monaco-editor/react and monaco-editor as peer dependencies
|
|
564
|
+
*/
|
|
565
|
+
declare function LazyCodeDiffEditor(props: CodeDiffEditorProps): react_jsx_runtime.JSX.Element;
|
|
566
|
+
|
|
567
|
+
declare const richTextEditorVariants: (props?: ({
|
|
568
|
+
variant?: "default" | "ghost" | "card" | null | undefined;
|
|
569
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
570
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
571
|
+
|
|
572
|
+
type EditorOutput = "html" | "json" | "text";
|
|
573
|
+
/**
|
|
574
|
+
* Configuration options to enable/disable toolbar features.
|
|
575
|
+
* All options default to `true` if not specified.
|
|
576
|
+
*/
|
|
577
|
+
interface ToolbarOptions {
|
|
578
|
+
/** Enable heading buttons (H1, H2, H3) */
|
|
579
|
+
headings?: boolean;
|
|
580
|
+
/** Enable bold formatting */
|
|
581
|
+
bold?: boolean;
|
|
582
|
+
/** Enable italic formatting */
|
|
583
|
+
italic?: boolean;
|
|
584
|
+
/** Enable underline formatting */
|
|
585
|
+
underline?: boolean;
|
|
586
|
+
/** Enable strikethrough formatting */
|
|
587
|
+
strikethrough?: boolean;
|
|
588
|
+
/** Enable bullet list */
|
|
589
|
+
bulletList?: boolean;
|
|
590
|
+
/** Enable ordered list */
|
|
591
|
+
orderedList?: boolean;
|
|
592
|
+
/** Enable link insertion */
|
|
593
|
+
link?: boolean;
|
|
594
|
+
}
|
|
595
|
+
interface RichTextEditorProps$1 extends VariantProps<typeof richTextEditorVariants>, Omit<HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
596
|
+
value: string;
|
|
597
|
+
onChange: (value: string) => void;
|
|
598
|
+
placeholder?: string;
|
|
599
|
+
readOnly?: boolean;
|
|
600
|
+
disabled?: boolean;
|
|
601
|
+
/** Allow multiline content (default: true). When false, Enter key is disabled. */
|
|
602
|
+
multiline?: boolean;
|
|
603
|
+
contentClassName?: string;
|
|
604
|
+
toolbarClassName?: string;
|
|
605
|
+
/** Configure which toolbar options are enabled. All enabled by default. */
|
|
606
|
+
toolbarOptions?: ToolbarOptions;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
declare function RichTextEditor({ value, onChange, placeholder, readOnly, disabled, multiline, className, variant, size, contentClassName, toolbarClassName, toolbarOptions, ...props }: RichTextEditorProps$1): react_jsx_runtime.JSX.Element;
|
|
610
|
+
|
|
611
|
+
declare const RichTextEditorInternal: React$1.LazyExoticComponent<typeof RichTextEditor>;
|
|
612
|
+
type RichTextEditorProps = ComponentProps<typeof RichTextEditorInternal>;
|
|
613
|
+
/**
|
|
614
|
+
* Lazy-loaded Rich Text Editor component.
|
|
615
|
+
* Tiptap is only loaded when this component is rendered.
|
|
616
|
+
*
|
|
617
|
+
* @requires @tiptap/react, @tiptap/starter-kit, and related tiptap extensions as peer dependencies
|
|
618
|
+
*/
|
|
619
|
+
declare function LazyRichTextEditor(props: RichTextEditorProps): react_jsx_runtime.JSX.Element;
|
|
620
|
+
|
|
621
|
+
declare function cn(...inputs: ClassValue[]): string;
|
|
622
|
+
|
|
623
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, LazyCodeDiffEditor as CodeDiffEditor, type CodeDiffEditorProps, LazyCodeEditor as CodeEditor, type CodeEditorProps, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type EditorOutput, type SupportedLanguage as EditorSupportedLanguage, type EditorTheme, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, Input, Label, LocaleProvider, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NextButton, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PreviousButton, Progress, RadioGroup, RadioGroupItem, LazyRichTextEditor as RichTextEditor, type RichTextEditorProps, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, type SupportedLanguage$1 as SupportedLanguage, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, type ToolbarOptions, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TranslationProvider, badgeVariants, buttonGroupVariants, buttonVariants, cn, navigationMenuTriggerStyle, toggleVariants, useFormField, useSidebar };
|