@gomeniucivan/ui 1.0.21 → 1.0.22

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 DELETED
@@ -1,2149 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React$1 from 'react';
3
- import React__default, { Component, ReactNode, ErrorInfo, ReactElement, ChangeEvent, FocusEvent, FormEvent } from 'react';
4
- import { Table as Table$1, ColumnDef, Row, Column } from '@tanstack/react-table';
5
- import { Accordion as Accordion$1, AlertDialog as AlertDialog$1, AspectRatio as AspectRatio$1, Avatar as Avatar$1, Checkbox as Checkbox$1, Collapsible as Collapsible$1, Dialog as Dialog$1, ContextMenu as ContextMenu$1, DropdownMenu as DropdownMenu$1, HoverCard as HoverCard$1, Label as Label$1, Menubar as Menubar$1, NavigationMenu as NavigationMenu$1, Popover as Popover$1, Progress as Progress$1, RadioGroup as RadioGroup$1, ScrollArea as ScrollArea$1, Select as Select$1, Separator as Separator$1, Tooltip as Tooltip$1, Slider as Slider$1, Switch as Switch$1, Toggle as Toggle$1, ToggleGroup as ToggleGroup$1 } from 'radix-ui';
6
- import { Command as Command$1 } from 'cmdk';
7
- import * as class_variance_authority_types from 'class-variance-authority/types';
8
- import { VariantProps } from 'class-variance-authority';
9
- import { DayPicker, DayButton } from 'react-day-picker';
10
- import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
11
- import * as RechartsPrimitive from 'recharts';
12
- import { Drawer as Drawer$1 } from 'vaul';
13
- import { OTPInput } from 'input-otp';
14
- import * as ResizablePrimitive from 'react-resizable-panels';
15
- import { ToasterProps } from 'sonner';
16
- export { toast } from 'sonner';
17
- import * as _tanstack_table_core from '@tanstack/table-core';
18
- import { ClassValue } from 'clsx';
19
-
20
- type Align = "left" | "center" | "right";
21
- type DataGridColumn<TData> = {
22
- key: string;
23
- title: string;
24
- item?: string;
25
- sortable?: boolean;
26
- hiddeable?: boolean;
27
- width?: number | string;
28
- align?: Align;
29
- headerClassName?: string;
30
- cellClassName?: string;
31
- headerStyle?: React$1.CSSProperties;
32
- cellStyle?: React$1.CSSProperties;
33
- func?: (row: TData, context: {
34
- value: unknown;
35
- rowIndex: number;
36
- }) => React$1.ReactNode;
37
- };
38
- type DataGridReadConfig<TData> = {
39
- method?: "get" | "post";
40
- url?: string;
41
- /** @deprecated accepts typo variant */
42
- reul?: string;
43
- get?: string;
44
- post?: string;
45
- payload?: unknown;
46
- body?: unknown;
47
- params?: Record<string, unknown>;
48
- headers?: HeadersInit;
49
- resultKey?: string;
50
- mapData?: (raw: unknown) => TData[];
51
- delay?: number;
52
- };
53
- type DataGridDataSource<TData> = {
54
- bind?: TData[];
55
- read?: DataGridReadConfig<TData>;
56
- };
57
- type DataGridPageSizeConfig = {
58
- visible?: boolean;
59
- count?: number;
60
- options?: number[];
61
- };
62
- interface DataGridProps<TData> {
63
- data: DataGridDataSource<TData>;
64
- columns: DataGridColumn<TData>[];
65
- pagination?: boolean;
66
- sortable?: boolean;
67
- reload?: boolean;
68
- filterable?: boolean;
69
- selectable?: boolean;
70
- height?: number;
71
- rowHeight?: number;
72
- overscan?: number;
73
- defaultPageSize?: number;
74
- pageSize?: DataGridPageSizeConfig;
75
- className?: string;
76
- emptyState?: React$1.ReactNode;
77
- onDataChange?: (rows: TData[]) => void;
78
- loading?: boolean;
79
- }
80
- declare function DataGrid<TData>({ data, columns, pagination, sortable, reload, filterable, selectable, height, rowHeight, overscan, defaultPageSize, pageSize, className, emptyState, onDataChange, loading: loadingProp, }: DataGridProps<TData>): react_jsx_runtime.JSX.Element;
81
- declare namespace DataGrid {
82
- var displayName: string;
83
- }
84
-
85
- type DataTableVirtualizedRows<TData> = {
86
- rows: Row<TData>[];
87
- paddingTop: number;
88
- paddingBottom: number;
89
- };
90
- interface DataTableProps<TData, TValue> {
91
- table: Table$1<TData>;
92
- columns: ColumnDef<TData, TValue>[];
93
- dndEnabled?: boolean;
94
- onReorder?: (newData: TData[]) => void;
95
- virtualizedRows?: DataTableVirtualizedRows<TData>;
96
- }
97
- declare function DataTable<TData, TValue>({ table, columns, dndEnabled, onReorder, virtualizedRows, }: DataTableProps<TData, TValue>): react_jsx_runtime.JSX.Element;
98
-
99
- interface DataTableColumnHeaderProps<TData, TValue> extends React.HTMLAttributes<HTMLDivElement> {
100
- column: Column<TData, TValue>;
101
- title: string;
102
- }
103
- declare function DataTableColumnHeader<TData, TValue>({ column, title, className, }: DataTableColumnHeaderProps<TData, TValue>): react_jsx_runtime.JSX.Element;
104
-
105
- interface DataTablePaginationProps<TData> {
106
- table: Table$1<TData>;
107
- showPageSize?: boolean;
108
- pageSizeOptions?: number[];
109
- }
110
- declare function DataTablePagination<TData>({ table, showPageSize, pageSizeOptions, }: DataTablePaginationProps<TData>): react_jsx_runtime.JSX.Element;
111
-
112
- interface DataTableViewOptionsProps<TData> {
113
- table: Table$1<TData>;
114
- }
115
- declare function DataTableViewOptions<TData>({ table }: DataTableViewOptionsProps<TData>): react_jsx_runtime.JSX.Element;
116
-
117
- declare const dragColumn: ColumnDef<any>;
118
-
119
- declare function DraggableRow<TData>({ row }: {
120
- row: Row<TData>;
121
- }): react_jsx_runtime.JSX.Element;
122
-
123
- declare function withDndColumn<T>(columns: ColumnDef<T>[]): ColumnDef<T>[];
124
-
125
- interface ErrorBoundaryProps {
126
- children: ReactNode;
127
- fallback?: ReactNode | ((reset: () => void) => ReactNode);
128
- onError?: (error: Error, info: ErrorInfo) => void;
129
- }
130
- interface ErrorBoundaryState {
131
- hasError: boolean;
132
- }
133
- declare class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {
134
- state: ErrorBoundaryState;
135
- static getDerivedStateFromError(): ErrorBoundaryState;
136
- componentDidCatch(error: Error, info: ErrorInfo): void;
137
- private resetBoundary;
138
- render(): string | number | boolean | Iterable<ReactNode> | react_jsx_runtime.JSX.Element | null | undefined;
139
- }
140
-
141
- interface FormBlockProps extends React$1.HTMLAttributes<HTMLDivElement> {
142
- }
143
- declare const FormBlock: React$1.ForwardRefExoticComponent<FormBlockProps & React$1.RefAttributes<HTMLDivElement>>;
144
-
145
- declare function Accordion({ ...props }: React$1.ComponentProps<typeof Accordion$1.Root>): react_jsx_runtime.JSX.Element;
146
- declare function AccordionItem({ className, ...props }: React$1.ComponentProps<typeof Accordion$1.Item>): react_jsx_runtime.JSX.Element;
147
- declare function AccordionTrigger({ className, children, ...props }: React$1.ComponentProps<typeof Accordion$1.Trigger>): react_jsx_runtime.JSX.Element;
148
- declare function AccordionContent({ className, children, ...props }: React$1.ComponentProps<typeof Accordion$1.Content>): react_jsx_runtime.JSX.Element;
149
-
150
- declare const alertVariants: (props?: ({
151
- variant?: "default" | "destructive" | null | undefined;
152
- } & class_variance_authority_types.ClassProp) | undefined) => string;
153
- declare function Alert({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof alertVariants>): react_jsx_runtime.JSX.Element;
154
- declare function AlertTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
155
- declare function AlertDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
156
-
157
- declare function AlertDialog({ ...props }: React$1.ComponentProps<typeof AlertDialog$1.Root>): react_jsx_runtime.JSX.Element;
158
- declare function AlertDialogTrigger({ ...props }: React$1.ComponentProps<typeof AlertDialog$1.Trigger>): react_jsx_runtime.JSX.Element;
159
- declare function AlertDialogPortal({ ...props }: React$1.ComponentProps<typeof AlertDialog$1.Portal>): react_jsx_runtime.JSX.Element;
160
- declare function AlertDialogOverlay({ className, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Overlay>): react_jsx_runtime.JSX.Element;
161
- declare function AlertDialogContent({ className, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Content>): react_jsx_runtime.JSX.Element;
162
- declare function AlertDialogHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
163
- declare function AlertDialogFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
164
- declare function AlertDialogTitle({ className, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Title>): react_jsx_runtime.JSX.Element;
165
- declare function AlertDialogDescription({ className, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Description>): react_jsx_runtime.JSX.Element;
166
- declare function AlertDialogAction({ className, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Action>): react_jsx_runtime.JSX.Element;
167
- declare function AlertDialogCancel({ className, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Cancel>): react_jsx_runtime.JSX.Element;
168
-
169
- declare function AspectRatio({ ...props }: React.ComponentProps<typeof AspectRatio$1.Root>): react_jsx_runtime.JSX.Element;
170
-
171
- declare function Avatar({ className, ...props }: React$1.ComponentProps<typeof Avatar$1.Root>): react_jsx_runtime.JSX.Element;
172
- declare function AvatarImage({ className, ...props }: React$1.ComponentProps<typeof Avatar$1.Image>): react_jsx_runtime.JSX.Element;
173
- declare function AvatarFallback({ className, ...props }: React$1.ComponentProps<typeof Avatar$1.Fallback>): react_jsx_runtime.JSX.Element;
174
-
175
- declare const badgeVariants: (props?: ({
176
- variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
177
- } & class_variance_authority_types.ClassProp) | undefined) => string;
178
- declare function Badge({ className, variant, asChild, ...props }: React$1.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
179
- asChild?: boolean;
180
- }): react_jsx_runtime.JSX.Element;
181
-
182
- declare function Breadcrumb({ ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
183
- declare function BreadcrumbList({ className, ...props }: React$1.ComponentProps<"ol">): react_jsx_runtime.JSX.Element;
184
- declare function BreadcrumbItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
185
- declare function BreadcrumbLink({ asChild, className, ...props }: React$1.ComponentProps<"a"> & {
186
- asChild?: boolean;
187
- }): react_jsx_runtime.JSX.Element;
188
- declare function BreadcrumbPage({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
189
- declare function BreadcrumbSeparator({ children, className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
190
- declare function BreadcrumbEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
191
-
192
- declare const buttonVariants: (props?: ({
193
- variant?: "default" | "link" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
194
- size?: "default" | "icon" | "sm" | "lg" | null | undefined;
195
- } & class_variance_authority_types.ClassProp) | undefined) => string;
196
- type ButtonProps = React$1.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
197
- asChild?: boolean;
198
- loading?: boolean;
199
- loadingText?: React$1.ReactNode;
200
- };
201
- declare const Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
202
-
203
- declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React$1.ComponentProps<typeof DayPicker> & {
204
- buttonVariant?: React$1.ComponentProps<typeof Button>["variant"];
205
- }): react_jsx_runtime.JSX.Element;
206
- declare function CalendarDayButton({ className, day, modifiers, ...props }: React$1.ComponentProps<typeof DayButton>): react_jsx_runtime.JSX.Element;
207
-
208
- declare function Card({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
209
- declare function CardHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
210
- declare function CardTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
211
- declare function CardDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
212
- declare function CardAction({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
213
- declare function CardContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
214
- declare function CardFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
215
-
216
- type CarouselApi = UseEmblaCarouselType[1];
217
- type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
218
- type CarouselOptions = UseCarouselParameters[0];
219
- type CarouselPlugin = UseCarouselParameters[1];
220
- type CarouselProps = {
221
- opts?: CarouselOptions;
222
- plugins?: CarouselPlugin;
223
- orientation?: "horizontal" | "vertical";
224
- setApi?: (api: CarouselApi) => void;
225
- };
226
- declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: React$1.ComponentProps<"div"> & CarouselProps): react_jsx_runtime.JSX.Element;
227
- declare function CarouselContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
228
- declare function CarouselItem({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
229
- declare function CarouselPrevious({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
230
- declare function CarouselNext({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
231
-
232
- declare const chatBubbleVariants: (props?: ({
233
- isUser?: boolean | null | undefined;
234
- animation?: "none" | "scale" | "slide" | "fade" | null | undefined;
235
- } & class_variance_authority_types.ClassProp) | undefined) => string;
236
- type Animation = VariantProps<typeof chatBubbleVariants>["animation"];
237
- interface Attachment {
238
- name?: string;
239
- contentType?: string;
240
- url: string;
241
- }
242
- interface PartialToolCall {
243
- state: "partial-call";
244
- toolName: string;
245
- }
246
- interface ToolCall {
247
- state: "call";
248
- toolName: string;
249
- }
250
- interface ToolResult {
251
- state: "result";
252
- toolName: string;
253
- result: {
254
- __cancelled?: boolean;
255
- [key: string]: any;
256
- };
257
- }
258
- type ToolInvocation = PartialToolCall | ToolCall | ToolResult;
259
- interface ReasoningPart {
260
- type: "reasoning";
261
- reasoning: string;
262
- }
263
- interface ToolInvocationPart {
264
- type: "tool-invocation";
265
- toolInvocation: ToolInvocation;
266
- }
267
- interface TextPart {
268
- type: "text";
269
- text: string;
270
- }
271
- interface SourcePart {
272
- type: "source";
273
- source?: any;
274
- }
275
- interface FilePart {
276
- type: "file";
277
- mimeType: string;
278
- data: string;
279
- }
280
- interface StepStartPart {
281
- type: "step-start";
282
- }
283
- type MessagePart = TextPart | ReasoningPart | ToolInvocationPart | SourcePart | FilePart | StepStartPart;
284
- interface Message {
285
- id: string;
286
- role: "user" | "assistant" | (string & {});
287
- content: string;
288
- createdAt?: Date;
289
- experimental_attachments?: Attachment[];
290
- toolInvocations?: ToolInvocation[];
291
- parts?: MessagePart[];
292
- }
293
- interface ChatMessageProps extends Message {
294
- showTimeStamp?: boolean;
295
- animation?: Animation;
296
- actions?: React__default.ReactNode;
297
- }
298
- declare const ChatMessage: React__default.FC<ChatMessageProps>;
299
-
300
- interface ChatPropsBase {
301
- handleSubmit: (event?: {
302
- preventDefault?: () => void;
303
- }, options?: {
304
- experimental_attachments?: FileList;
305
- }) => void;
306
- messages: Array<Message>;
307
- input: string;
308
- className?: string;
309
- handleInputChange: React.ChangeEventHandler<HTMLTextAreaElement>;
310
- isGenerating: boolean;
311
- stop?: () => void;
312
- onRateResponse?: (messageId: string, rating: "thumbs-up" | "thumbs-down") => void;
313
- setMessages?: (messages: any[]) => void;
314
- }
315
- interface ChatPropsWithoutSuggestions extends ChatPropsBase {
316
- append?: never;
317
- suggestions?: never;
318
- }
319
- interface ChatPropsWithSuggestions extends ChatPropsBase {
320
- append: (message: {
321
- role: "user";
322
- content: string;
323
- }) => void;
324
- suggestions: string[];
325
- }
326
- type ChatProps = ChatPropsWithoutSuggestions | ChatPropsWithSuggestions;
327
- declare function Chat({ messages, handleSubmit, input, handleInputChange, stop, isGenerating, append, suggestions, className, onRateResponse, setMessages, }: ChatProps): react_jsx_runtime.JSX.Element;
328
- declare namespace Chat {
329
- var displayName: string;
330
- }
331
- declare function ChatMessages({ messages, children, }: React.PropsWithChildren<{
332
- messages: Message[];
333
- }>): react_jsx_runtime.JSX.Element;
334
- declare const ChatContainer: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
335
- interface ChatFormProps {
336
- className?: string;
337
- handleSubmit: (event?: {
338
- preventDefault?: () => void;
339
- }, options?: {
340
- experimental_attachments?: FileList;
341
- }) => void;
342
- children: (props: {
343
- files: File[] | null;
344
- setFiles: React.Dispatch<React.SetStateAction<File[] | null>>;
345
- }) => ReactElement;
346
- }
347
- declare const ChatForm: React$1.ForwardRefExoticComponent<ChatFormProps & React$1.RefAttributes<HTMLFormElement>>;
348
-
349
- type AdditionalMessageOptions = Omit<ChatMessageProps, keyof Message>;
350
- interface MessageListProps {
351
- messages: Message[];
352
- showTimeStamps?: boolean;
353
- isTyping?: boolean;
354
- messageOptions?: AdditionalMessageOptions | ((message: Message) => AdditionalMessageOptions);
355
- }
356
- declare function MessageList({ messages, showTimeStamps, isTyping, messageOptions, }: MessageListProps): react_jsx_runtime.JSX.Element;
357
-
358
- interface MessageInputBaseProps extends React__default.TextareaHTMLAttributes<HTMLTextAreaElement> {
359
- value: string;
360
- submitOnEnter?: boolean;
361
- stop?: () => void;
362
- isGenerating: boolean;
363
- }
364
- interface MessageInputWithoutAttachmentProps extends MessageInputBaseProps {
365
- allowAttachments?: false;
366
- }
367
- interface MessageInputWithAttachmentsProps extends MessageInputBaseProps {
368
- allowAttachments: true;
369
- files: File[] | null;
370
- setFiles: React__default.Dispatch<React__default.SetStateAction<File[] | null>>;
371
- }
372
- type MessageInputProps = MessageInputWithoutAttachmentProps | MessageInputWithAttachmentsProps;
373
- declare function MessageInput(props: MessageInputProps): react_jsx_runtime.JSX.Element;
374
- declare namespace MessageInput {
375
- var displayName: string;
376
- }
377
-
378
- interface PromptSuggestionsProps {
379
- label: string;
380
- append: (message: {
381
- role: "user";
382
- content: string;
383
- }) => void;
384
- suggestions: string[];
385
- }
386
- declare function PromptSuggestions({ label, append, suggestions, }: PromptSuggestionsProps): react_jsx_runtime.JSX.Element;
387
-
388
- declare function TypingIndicator(): react_jsx_runtime.JSX.Element;
389
-
390
- type CopyButtonProps = {
391
- content: string;
392
- copyMessage?: string;
393
- };
394
- declare function CopyButton({ content, copyMessage }: CopyButtonProps): react_jsx_runtime.JSX.Element;
395
-
396
- declare const THEMES: {
397
- readonly light: "";
398
- readonly dark: ".dark";
399
- };
400
- type ChartConfig = {
401
- [k in string]: {
402
- label?: React$1.ReactNode;
403
- icon?: React$1.ComponentType;
404
- } & ({
405
- color?: string;
406
- theme?: never;
407
- } | {
408
- color?: never;
409
- theme: Record<keyof typeof THEMES, string>;
410
- });
411
- };
412
- declare function ChartContainer({ id, className, children, config, ...props }: React$1.ComponentProps<"div"> & {
413
- config: ChartConfig;
414
- children: React$1.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
415
- }): react_jsx_runtime.JSX.Element;
416
- declare const ChartStyle: ({ id, config }: {
417
- id: string;
418
- config: ChartConfig;
419
- }) => react_jsx_runtime.JSX.Element | null;
420
- declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
421
- declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: React$1.ComponentProps<typeof RechartsPrimitive.Tooltip> & React$1.ComponentProps<"div"> & {
422
- hideLabel?: boolean;
423
- hideIndicator?: boolean;
424
- indicator?: "line" | "dot" | "dashed";
425
- nameKey?: string;
426
- labelKey?: string;
427
- }): react_jsx_runtime.JSX.Element | null;
428
- declare const ChartLegend: typeof RechartsPrimitive.Legend;
429
- declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: React$1.ComponentProps<"div"> & Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> & {
430
- hideIcon?: boolean;
431
- nameKey?: string;
432
- }): react_jsx_runtime.JSX.Element | null;
433
-
434
- declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<Checkbox$1.CheckboxProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
435
-
436
- declare function Collapsible({ ...props }: React.ComponentProps<typeof Collapsible$1.Root>): react_jsx_runtime.JSX.Element;
437
- declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof Collapsible$1.CollapsibleTrigger>): react_jsx_runtime.JSX.Element;
438
- declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof Collapsible$1.CollapsibleContent>): react_jsx_runtime.JSX.Element;
439
-
440
- declare function Dialog({ ...props }: React$1.ComponentProps<typeof Dialog$1.Root>): react_jsx_runtime.JSX.Element;
441
- declare function DialogTrigger({ ...props }: React$1.ComponentProps<typeof Dialog$1.Trigger>): react_jsx_runtime.JSX.Element;
442
- declare function DialogPortal({ ...props }: React$1.ComponentProps<typeof Dialog$1.Portal>): react_jsx_runtime.JSX.Element;
443
- declare function DialogClose({ ...props }: React$1.ComponentProps<typeof Dialog$1.Close>): react_jsx_runtime.JSX.Element;
444
- declare function DialogOverlay({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Overlay>): react_jsx_runtime.JSX.Element;
445
- declare function DialogContent({ className, children, showCloseButton, ...props }: React$1.ComponentProps<typeof Dialog$1.Content> & {
446
- showCloseButton?: boolean;
447
- }): react_jsx_runtime.JSX.Element;
448
- declare function DialogHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
449
- declare function DialogFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
450
- declare function DialogTitle({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Title>): react_jsx_runtime.JSX.Element;
451
- declare function DialogDescription({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Description>): react_jsx_runtime.JSX.Element;
452
-
453
- declare function Command({ className, ...props }: React$1.ComponentProps<typeof Command$1>): react_jsx_runtime.JSX.Element;
454
- declare function CommandDialog({ title, description, children, className, showCloseButton, ...props }: React$1.ComponentProps<typeof Dialog> & {
455
- title?: string;
456
- description?: string;
457
- className?: string;
458
- showCloseButton?: boolean;
459
- }): react_jsx_runtime.JSX.Element;
460
- declare function CommandInput({ className, ...props }: React$1.ComponentProps<typeof Command$1.Input>): react_jsx_runtime.JSX.Element;
461
- declare function CommandList({ className, ...props }: React$1.ComponentProps<typeof Command$1.List>): react_jsx_runtime.JSX.Element;
462
- declare function CommandEmpty({ ...props }: React$1.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime.JSX.Element;
463
- declare function CommandGroup({ className, ...props }: React$1.ComponentProps<typeof Command$1.Group>): react_jsx_runtime.JSX.Element;
464
- declare function CommandSeparator({ className, ...props }: React$1.ComponentProps<typeof Command$1.Separator>): react_jsx_runtime.JSX.Element;
465
- declare function CommandItem({ className, ...props }: React$1.ComponentProps<typeof Command$1.Item>): react_jsx_runtime.JSX.Element;
466
- declare function CommandShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
467
-
468
- declare function ContextMenu({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Root>): react_jsx_runtime.JSX.Element;
469
- declare function ContextMenuTrigger({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Trigger>): react_jsx_runtime.JSX.Element;
470
- declare function ContextMenuGroup({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Group>): react_jsx_runtime.JSX.Element;
471
- declare function ContextMenuPortal({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Portal>): react_jsx_runtime.JSX.Element;
472
- declare function ContextMenuSub({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Sub>): react_jsx_runtime.JSX.Element;
473
- declare function ContextMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.RadioGroup>): react_jsx_runtime.JSX.Element;
474
- declare function ContextMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof ContextMenu$1.SubTrigger> & {
475
- inset?: boolean;
476
- }): react_jsx_runtime.JSX.Element;
477
- declare function ContextMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof ContextMenu$1.SubContent>): react_jsx_runtime.JSX.Element;
478
- declare function ContextMenuContent({ className, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Content>): react_jsx_runtime.JSX.Element;
479
- declare function ContextMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Item> & {
480
- inset?: boolean;
481
- variant?: "default" | "destructive";
482
- }): react_jsx_runtime.JSX.Element;
483
- declare function ContextMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof ContextMenu$1.CheckboxItem>): react_jsx_runtime.JSX.Element;
484
- declare function ContextMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof ContextMenu$1.RadioItem>): react_jsx_runtime.JSX.Element;
485
- declare function ContextMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Label> & {
486
- inset?: boolean;
487
- }): react_jsx_runtime.JSX.Element;
488
- declare function ContextMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Separator>): react_jsx_runtime.JSX.Element;
489
- declare function ContextMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
490
-
491
- type OpUnitType = "day" | "month" | "year";
492
- type StartUnit = OpUnitType | "week";
493
- declare class SimpleDayjs {
494
- private readonly value;
495
- constructor(date: Date);
496
- private create;
497
- clone(): SimpleDayjs;
498
- add(amount: number, unit: OpUnitType): Dayjs;
499
- subtract(amount: number, unit: OpUnitType): Dayjs;
500
- startOf(unit: StartUnit): Dayjs;
501
- endOf(unit: OpUnitType): Dayjs;
502
- isSame(other: Dayjs, unit?: StartUnit): boolean;
503
- isBefore(other: Dayjs, unit?: OpUnitType): boolean;
504
- isAfter(other: Dayjs, unit?: OpUnitType): boolean;
505
- format(format: string): string;
506
- daysInMonth(): number;
507
- month(): number;
508
- month(value: number): Dayjs;
509
- year(): number;
510
- year(value: number): Dayjs;
511
- date(): number;
512
- date(value: number): Dayjs;
513
- isValid(): boolean;
514
- toDate(): Date;
515
- valueOf(): number;
516
- }
517
- type Dayjs = SimpleDayjs;
518
-
519
- type DatePickerMode = "time" | "date" | "month" | "year" | "decade";
520
- type DatePickerVariant = "outlined" | "borderless" | "filled" | "underlined";
521
- type DatePickerPlacement = "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
522
- interface DatePickerLocale {
523
- placeholder?: string;
524
- today?: string;
525
- clear?: string;
526
- months?: string[];
527
- weekDays?: string[];
528
- yearFormat?: string;
529
- decadeFormat?: (start: Dayjs, end: Dayjs) => string;
530
- }
531
- interface DatePickerPreset {
532
- label: React$1.ReactNode;
533
- value: Dayjs | (() => Dayjs);
534
- }
535
- interface DatePickerProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size" | "value" | "defaultValue" | "prefix" | "className" | "style"> {
536
- value?: Dayjs | null;
537
- defaultValue?: Dayjs | null;
538
- onChange?: (value: Dayjs | null, dateString: string) => void;
539
- onOpenChange?: (open: boolean) => void;
540
- allowClear?: boolean | {
541
- clearIcon?: React$1.ReactNode;
542
- };
543
- className?: string;
544
- style?: React$1.CSSProperties;
545
- inputClassName?: string;
546
- inputStyle?: React$1.CSSProperties;
547
- disabled?: boolean;
548
- disabledDate?: (currentDate: Dayjs, info: {
549
- from?: Dayjs;
550
- type: DatePickerMode;
551
- }) => boolean;
552
- format?: string | string[] | ((value: Dayjs | null) => string);
553
- preserveInvalidOnBlur?: boolean;
554
- inputReadOnly?: boolean;
555
- locale?: DatePickerLocale;
556
- minDate?: Dayjs;
557
- maxDate?: Dayjs;
558
- mode?: DatePickerMode;
559
- needConfirm?: boolean;
560
- defaultOpen?: boolean;
561
- open?: boolean;
562
- panelRender?: (panelNode: React$1.ReactNode) => React$1.ReactNode;
563
- picker?: "date" | "week" | "month" | "quarter" | "year";
564
- placeholder?: string;
565
- placement?: DatePickerPlacement;
566
- prefix?: React$1.ReactNode;
567
- presets?: DatePickerPreset[];
568
- size?: "large" | "middle" | "small";
569
- status?: "error" | "warning";
570
- variant?: DatePickerVariant;
571
- }
572
- declare const DatePicker: React$1.ForwardRefExoticComponent<DatePickerProps & React$1.RefAttributes<HTMLInputElement>>;
573
-
574
- declare function Drawer({ ...props }: React$1.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime.JSX.Element;
575
- declare function DrawerTrigger({ ...props }: React$1.ComponentProps<typeof Drawer$1.Trigger>): react_jsx_runtime.JSX.Element;
576
- declare function DrawerPortal({ ...props }: React$1.ComponentProps<typeof Drawer$1.Portal>): react_jsx_runtime.JSX.Element;
577
- declare function DrawerClose({ ...props }: React$1.ComponentProps<typeof Drawer$1.Close>): react_jsx_runtime.JSX.Element;
578
- declare function DrawerOverlay({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Overlay>): react_jsx_runtime.JSX.Element;
579
- declare function DrawerContent({ className, children, ...props }: React$1.ComponentProps<typeof Drawer$1.Content>): react_jsx_runtime.JSX.Element;
580
- declare function DrawerHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
581
- declare function DrawerFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
582
- declare function DrawerTitle({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Title>): react_jsx_runtime.JSX.Element;
583
- declare function DrawerDescription({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Description>): react_jsx_runtime.JSX.Element;
584
-
585
- declare function DropdownMenu({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Root>): react_jsx_runtime.JSX.Element;
586
- declare function DropdownMenuPortal({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Portal>): react_jsx_runtime.JSX.Element;
587
- declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenu$1.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
588
- declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenu$1.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
589
- declare function DropdownMenuGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Group>): react_jsx_runtime.JSX.Element;
590
- declare function DropdownMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Item> & {
591
- inset?: boolean;
592
- variant?: "default" | "destructive";
593
- }): react_jsx_runtime.JSX.Element;
594
- declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.CheckboxItem>): react_jsx_runtime.JSX.Element;
595
- declare function DropdownMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.RadioGroup>): react_jsx_runtime.JSX.Element;
596
- declare function DropdownMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.RadioItem>): react_jsx_runtime.JSX.Element;
597
- declare function DropdownMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Label> & {
598
- inset?: boolean;
599
- }): react_jsx_runtime.JSX.Element;
600
- declare function DropdownMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Separator>): react_jsx_runtime.JSX.Element;
601
- declare function DropdownMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
602
- declare function DropdownMenuSub({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Sub>): react_jsx_runtime.JSX.Element;
603
- declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenu$1.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
604
- inset?: boolean;
605
- } & React$1.RefAttributes<HTMLDivElement>>;
606
- declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenu$1.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
607
-
608
- declare const Form: ({ children, ...props }: React$1.ComponentProps<"form">) => react_jsx_runtime.JSX.Element;
609
-
610
- declare const directionClasses: {
611
- readonly row: "flex-row";
612
- readonly "row-reverse": "flex-row-reverse";
613
- readonly column: "flex-col";
614
- readonly "column-reverse": "flex-col-reverse";
615
- };
616
- declare const alignClasses: {
617
- readonly start: "items-start";
618
- readonly center: "items-center";
619
- readonly end: "items-end";
620
- readonly stretch: "items-stretch";
621
- readonly baseline: "items-baseline";
622
- };
623
- declare const justifyClasses: {
624
- readonly start: "justify-start";
625
- readonly center: "justify-center";
626
- readonly end: "justify-end";
627
- readonly between: "justify-between";
628
- readonly around: "justify-around";
629
- readonly evenly: "justify-evenly";
630
- };
631
- declare const wrapClasses: {
632
- readonly nowrap: "flex-nowrap";
633
- readonly wrap: "flex-wrap";
634
- readonly "wrap-reverse": "flex-wrap-reverse";
635
- };
636
- declare const gapClasses: {
637
- readonly small: {
638
- readonly all: "gap-2";
639
- readonly x: "gap-x-2";
640
- readonly y: "gap-y-2";
641
- };
642
- readonly middle: {
643
- readonly all: "gap-3";
644
- readonly x: "gap-x-3";
645
- readonly y: "gap-y-3";
646
- };
647
- readonly large: {
648
- readonly all: "gap-4";
649
- readonly x: "gap-x-4";
650
- readonly y: "gap-y-4";
651
- };
652
- readonly none: {
653
- readonly all: "gap-0";
654
- readonly x: "gap-x-0";
655
- readonly y: "gap-y-0";
656
- };
657
- readonly xs: {
658
- readonly all: "gap-1";
659
- readonly x: "gap-x-1";
660
- readonly y: "gap-y-1";
661
- };
662
- readonly sm: {
663
- readonly all: "gap-2";
664
- readonly x: "gap-x-2";
665
- readonly y: "gap-y-2";
666
- };
667
- readonly md: {
668
- readonly all: "gap-3";
669
- readonly x: "gap-x-3";
670
- readonly y: "gap-y-3";
671
- };
672
- readonly lg: {
673
- readonly all: "gap-4";
674
- readonly x: "gap-x-4";
675
- readonly y: "gap-y-4";
676
- };
677
- readonly xl: {
678
- readonly all: "gap-6";
679
- readonly x: "gap-x-6";
680
- readonly y: "gap-y-6";
681
- };
682
- readonly "2xl": {
683
- readonly all: "gap-8";
684
- readonly x: "gap-x-8";
685
- readonly y: "gap-y-8";
686
- };
687
- };
688
- type FlexDirection = keyof typeof directionClasses;
689
- type FlexAlign = keyof typeof alignClasses;
690
- type FlexJustify = keyof typeof justifyClasses;
691
- type FlexWrap = keyof typeof wrapClasses | boolean;
692
- type FlexGap = keyof typeof gapClasses;
693
- interface FlexProps extends React$1.HTMLAttributes<HTMLDivElement> {
694
- direction?: FlexDirection;
695
- vertical?: boolean;
696
- align?: FlexAlign;
697
- justify?: FlexJustify;
698
- wrap?: FlexWrap;
699
- gap?: FlexGap;
700
- gapX?: FlexGap;
701
- gapY?: FlexGap;
702
- inline?: boolean;
703
- }
704
- declare const Flex: React$1.ForwardRefExoticComponent<FlexProps & React$1.RefAttributes<HTMLDivElement>>;
705
-
706
- declare function HoverCard({ ...props }: React$1.ComponentProps<typeof HoverCard$1.Root>): react_jsx_runtime.JSX.Element;
707
- declare function HoverCardTrigger({ ...props }: React$1.ComponentProps<typeof HoverCard$1.Trigger>): react_jsx_runtime.JSX.Element;
708
- declare function HoverCardContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof HoverCard$1.Content>): react_jsx_runtime.JSX.Element;
709
-
710
- interface HtmlRendererProps {
711
- /** Raw HTML string to render */
712
- children: string;
713
- className?: string;
714
- }
715
- declare function HtmlRenderer({ children, className }: HtmlRendererProps): react_jsx_runtime.JSX.Element;
716
- declare namespace HtmlRenderer {
717
- var displayName: string;
718
- }
719
- /**
720
- * Backwards compatibility alias for previous MarkdownRenderer import name.
721
- */
722
- declare const MarkdownRenderer: typeof HtmlRenderer;
723
-
724
- declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
725
-
726
- type Formatter = (value: string | number | null) => string;
727
- type ParserResult = string | number | null | undefined;
728
- type Parser = (value: string) => ParserResult;
729
- type InputNumericProps = Omit<React$1.ComponentPropsWithoutRef<typeof Input>, "type" | "value" | "defaultValue" | "onChange"> & {
730
- value?: number | null;
731
- defaultValue?: number | null;
732
- onChange?: (value: number | null) => void;
733
- min?: number;
734
- max?: number;
735
- decimals?: number;
736
- formatter?: Formatter;
737
- parser?: Parser;
738
- };
739
- declare const InputNumeric: React$1.ForwardRefExoticComponent<Omit<Omit<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>, "ref">, "value" | "defaultValue" | "onChange" | "type"> & {
740
- value?: number | null;
741
- defaultValue?: number | null;
742
- onChange?: (value: number | null) => void;
743
- min?: number;
744
- max?: number;
745
- decimals?: number;
746
- formatter?: Formatter;
747
- parser?: Parser;
748
- } & React$1.RefAttributes<HTMLInputElement>>;
749
-
750
- type InputMaskProps = Omit<React$1.ComponentPropsWithoutRef<typeof Input>, "value" | "defaultValue" | "onChange"> & {
751
- mask: string;
752
- placeholderChar?: string;
753
- value?: string;
754
- defaultValue?: string;
755
- onChange?: (value: string) => void;
756
- };
757
- declare const InputMask: React$1.ForwardRefExoticComponent<Omit<Omit<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>, "ref">, "value" | "defaultValue" | "onChange"> & {
758
- mask: string;
759
- placeholderChar?: string;
760
- value?: string;
761
- defaultValue?: string;
762
- onChange?: (value: string) => void;
763
- } & React$1.RefAttributes<HTMLInputElement>>;
764
-
765
- declare function InputOTP({ className, containerClassName, ...props }: React$1.ComponentProps<typeof OTPInput> & {
766
- containerClassName?: string;
767
- }): react_jsx_runtime.JSX.Element;
768
- declare function InputOTPGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
769
- declare function InputOTPSlot({ index, className, ...props }: React$1.ComponentProps<"div"> & {
770
- index: number;
771
- }): react_jsx_runtime.JSX.Element;
772
- declare function InputOTPSeparator({ ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
773
-
774
- declare function Label({ className, ...props }: React$1.ComponentProps<typeof Label$1.Root>): react_jsx_runtime.JSX.Element;
775
-
776
- declare function Menubar({ className, ...props }: React$1.ComponentProps<typeof Menubar$1.Root>): react_jsx_runtime.JSX.Element;
777
- declare function MenubarMenu({ ...props }: React$1.ComponentProps<typeof Menubar$1.Menu>): react_jsx_runtime.JSX.Element;
778
- declare function MenubarGroup({ ...props }: React$1.ComponentProps<typeof Menubar$1.Group>): react_jsx_runtime.JSX.Element;
779
- declare function MenubarPortal({ ...props }: React$1.ComponentProps<typeof Menubar$1.Portal>): react_jsx_runtime.JSX.Element;
780
- declare function MenubarRadioGroup({ ...props }: React$1.ComponentProps<typeof Menubar$1.RadioGroup>): react_jsx_runtime.JSX.Element;
781
- declare function MenubarTrigger({ className, ...props }: React$1.ComponentProps<typeof Menubar$1.Trigger>): react_jsx_runtime.JSX.Element;
782
- declare function MenubarContent({ className, align, alignOffset, sideOffset, ...props }: React$1.ComponentProps<typeof Menubar$1.Content>): react_jsx_runtime.JSX.Element;
783
- declare function MenubarItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof Menubar$1.Item> & {
784
- inset?: boolean;
785
- variant?: "default" | "destructive";
786
- }): react_jsx_runtime.JSX.Element;
787
- declare function MenubarCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof Menubar$1.CheckboxItem>): react_jsx_runtime.JSX.Element;
788
- declare function MenubarRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof Menubar$1.RadioItem>): react_jsx_runtime.JSX.Element;
789
- declare function MenubarLabel({ className, inset, ...props }: React$1.ComponentProps<typeof Menubar$1.Label> & {
790
- inset?: boolean;
791
- }): react_jsx_runtime.JSX.Element;
792
- declare function MenubarSeparator({ className, ...props }: React$1.ComponentProps<typeof Menubar$1.Separator>): react_jsx_runtime.JSX.Element;
793
- declare function MenubarShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
794
- declare function MenubarSub({ ...props }: React$1.ComponentProps<typeof Menubar$1.Sub>): react_jsx_runtime.JSX.Element;
795
- declare function MenubarSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof Menubar$1.SubTrigger> & {
796
- inset?: boolean;
797
- }): react_jsx_runtime.JSX.Element;
798
- declare function MenubarSubContent({ className, ...props }: React$1.ComponentProps<typeof Menubar$1.SubContent>): react_jsx_runtime.JSX.Element;
799
-
800
- declare const sizeClassNames: {
801
- sm: string;
802
- md: string;
803
- lg: string;
804
- xl: string;
805
- };
806
- type ModalSize = keyof typeof sizeClassNames;
807
- type ModalClassNames = Partial<Record<"content" | "header" | "title" | "description" | "body" | "footer", string>>;
808
- type ModalActionButtonProps = Omit<React$1.ComponentProps<typeof Button>, "onClick"> & {
809
- onClick?: React$1.MouseEventHandler<HTMLButtonElement>;
810
- };
811
- type ModalFooterConfig = {
812
- show?: boolean;
813
- render?: React$1.ReactNode;
814
- onOk?: () => void;
815
- onCancel?: () => void;
816
- showOk?: boolean;
817
- showCancel?: boolean;
818
- okText?: React$1.ReactNode;
819
- cancelText?: React$1.ReactNode;
820
- okLoading?: boolean;
821
- cancelLoading?: boolean;
822
- okDisabled?: boolean;
823
- cancelDisabled?: boolean;
824
- cancelDisable?: boolean;
825
- okType?: "primary" | "default" | "destructive";
826
- okButtonProps?: ModalActionButtonProps;
827
- cancelButtonProps?: ModalActionButtonProps;
828
- size?: React$1.ComponentProps<typeof Button>["size"];
829
- };
830
- type BaseDialogProps = Omit<React$1.ComponentProps<typeof Dialog>, "children" | "onOpenChange"> & {
831
- onOpenChange?: (open: boolean) => void;
832
- };
833
- type ModalProps = BaseDialogProps & {
834
- title?: React$1.ReactNode;
835
- description?: React$1.ReactNode;
836
- closable?: boolean;
837
- className?: string;
838
- classNames?: ModalClassNames;
839
- loading?: boolean;
840
- maskClosable?: boolean;
841
- style?: React$1.CSSProperties;
842
- footer?: ModalFooterConfig;
843
- onOk?: () => void;
844
- onCancel?: () => void;
845
- size?: ModalSize;
846
- children?: React$1.ReactNode;
847
- };
848
- declare const Modal: {
849
- ({ title, description, closable, className, classNames, loading, maskClosable, style, footer, onOk, onCancel, children, onOpenChange, size, ...dialogProps }: ModalProps): react_jsx_runtime.JSX.Element;
850
- displayName: string;
851
- };
852
-
853
- interface MobileSelectOption {
854
- label: React$1.ReactNode;
855
- value: string;
856
- disabled?: boolean;
857
- }
858
- interface MobileSelectDrawerProps {
859
- open: boolean;
860
- onOpenChange: (open: boolean) => void;
861
- title?: React$1.ReactNode;
862
- children?: React$1.ReactNode;
863
- footer?: React$1.ReactNode;
864
- footerClassName?: string;
865
- contentClassName?: string;
866
- disableContentWrapper?: boolean;
867
- options?: MobileSelectOption[];
868
- selectedValues?: string | string[];
869
- onSelect?: (value: string) => void;
870
- isMulti?: boolean;
871
- }
872
- declare function MobileSelectDrawer({ open, onOpenChange, title, children, footer, footerClassName, contentClassName, disableContentWrapper, options, selectedValues, onSelect, isMulti, }: MobileSelectDrawerProps): react_jsx_runtime.JSX.Element;
873
-
874
- type MobileFooterItem = {
875
- /** Unique identifier for the footer item */
876
- value: string;
877
- /** Label that appears under the icon */
878
- label: string;
879
- /** Icon element rendered above the label */
880
- icon?: React$1.ReactNode;
881
- /** Optional badge rendered in the top right corner of the item */
882
- badge?: React$1.ReactNode;
883
- };
884
- declare const mobileFooterVariantMeta: {
885
- readonly floating: {
886
- readonly label: "Floating Glow";
887
- readonly description: "Glassmorphism-inspired bar with a floating circular highlight around the active tab.";
888
- };
889
- readonly pill: {
890
- readonly label: "Soft Pill";
891
- readonly description: "Rounded pill navigation with a smooth capsule indicator that slides beneath the active item.";
892
- };
893
- readonly minimal: {
894
- readonly label: "Minimal Line";
895
- readonly description: "Lightweight footer that focuses on iconography with a subtle underline transition.";
896
- };
897
- readonly curved: {
898
- readonly label: "Curved Wave";
899
- readonly description: "Playful curved dock that mimics native device docks with a spotlighted active state.";
900
- };
901
- };
902
- type MobileFooterVariant = keyof typeof mobileFooterVariantMeta;
903
- declare const mobileFooterVariants: MobileFooterVariant[];
904
- type MobileFooterProps = {
905
- items: MobileFooterItem[];
906
- value?: string;
907
- defaultValue?: string;
908
- onChange?: (value: string) => void;
909
- className?: string;
910
- /** Select one of the predefined visual styles. Defaults to `floating`. */
911
- variant?: MobileFooterVariant;
912
- /**
913
- * When `true` the label stays visible on every item.
914
- * Some variants collapse labels by default on the inactive items.
915
- */
916
- forceLabels?: boolean;
917
- } & Omit<React$1.ComponentPropsWithoutRef<"nav">, "onChange">;
918
- declare const MobileFooter: React$1.ForwardRefExoticComponent<{
919
- items: MobileFooterItem[];
920
- value?: string;
921
- defaultValue?: string;
922
- onChange?: (value: string) => void;
923
- className?: string;
924
- /** Select one of the predefined visual styles. Defaults to `floating`. */
925
- variant?: MobileFooterVariant;
926
- /**
927
- * When `true` the label stays visible on every item.
928
- * Some variants collapse labels by default on the inactive items.
929
- */
930
- forceLabels?: boolean;
931
- } & Omit<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref">, "onChange"> & React$1.RefAttributes<HTMLElement>>;
932
-
933
- type MobileHeaderAction = {
934
- /** Unique identifier for the action */
935
- value: string;
936
- /** Icon rendered inside the action button */
937
- icon?: React$1.ReactNode;
938
- /** Visible label for the action */
939
- label?: string;
940
- /** Accessible label announced by screen readers */
941
- ariaLabel?: string;
942
- /** Optional badge rendered in the top right corner */
943
- badge?: React$1.ReactNode;
944
- /** Click handler */
945
- onClick?: React$1.MouseEventHandler<HTMLButtonElement>;
946
- };
947
- type MobileHeaderStory = MobileHeaderAction & {
948
- /** Secondary text displayed under the main label */
949
- description?: string;
950
- };
951
- declare const mobileHeaderVariantMeta: {
952
- readonly hero: {
953
- readonly label: "Hero Spotlight";
954
- readonly description: "Immersive header with a leading action row, large title block, and optional hero media thumbnail.";
955
- };
956
- readonly stories: {
957
- readonly label: "Stories Carousel";
958
- readonly description: "Horizontal story rail with rounded action chips that mimic social media story pickers.";
959
- };
960
- readonly minimal: {
961
- readonly label: "Minimal Bar";
962
- readonly description: "Compact navigation bar with centered title and contextual leading/trailing actions.";
963
- };
964
- readonly search: {
965
- readonly label: "Search Hub";
966
- readonly description: "Two-line header with quick actions and an inline search field anchored by an avatar trigger.";
967
- };
968
- };
969
- type MobileHeaderVariant = keyof typeof mobileHeaderVariantMeta;
970
- declare const mobileHeaderVariants: MobileHeaderVariant[];
971
- type MobileHeaderProps = {
972
- /** Primary heading rendered inside the header */
973
- title?: string;
974
- /** Secondary text shown below the title */
975
- subtitle?: string;
976
- /** Additional supporting copy */
977
- supportingText?: string;
978
- /** Badge rendered above the title for the hero variant */
979
- heroBadge?: React$1.ReactNode;
980
- /** Optional hero media thumbnail */
981
- heroMedia?: React$1.ReactNode;
982
- /** Convenience string to render an <img> as the hero media */
983
- heroImage?: string;
984
- /** Accessible alt text for the hero image */
985
- heroAlt?: string;
986
- /** Action rendered on the left-hand side */
987
- leadingAction?: MobileHeaderAction;
988
- /** Collection of actions rendered on the right-hand side */
989
- trailingActions?: MobileHeaderAction[];
990
- /** Custom content rendered on the right-hand side for minimal variant */
991
- trailingContent?: React$1.ReactNode;
992
- /** Collection of story style actions for the stories variant */
993
- stories?: MobileHeaderStory[];
994
- /** Placeholder text for the search input */
995
- searchPlaceholder?: string;
996
- /** Controlled value for the search input */
997
- searchValue?: string;
998
- /** Uncontrolled default value for the search input */
999
- defaultSearchValue?: string;
1000
- /** Change handler for the search input */
1001
- onSearchChange?: (value: string) => void;
1002
- /** Icon rendered inside the search input */
1003
- searchIcon?: React$1.ReactNode;
1004
- /** Select one of the predefined visual styles. Defaults to `hero`. */
1005
- variant?: MobileHeaderVariant;
1006
- className?: string;
1007
- children?: React$1.ReactNode;
1008
- } & React$1.ComponentPropsWithoutRef<"header">;
1009
- declare const MobileHeader: React$1.ForwardRefExoticComponent<{
1010
- /** Primary heading rendered inside the header */
1011
- title?: string;
1012
- /** Secondary text shown below the title */
1013
- subtitle?: string;
1014
- /** Additional supporting copy */
1015
- supportingText?: string;
1016
- /** Badge rendered above the title for the hero variant */
1017
- heroBadge?: React$1.ReactNode;
1018
- /** Optional hero media thumbnail */
1019
- heroMedia?: React$1.ReactNode;
1020
- /** Convenience string to render an <img> as the hero media */
1021
- heroImage?: string;
1022
- /** Accessible alt text for the hero image */
1023
- heroAlt?: string;
1024
- /** Action rendered on the left-hand side */
1025
- leadingAction?: MobileHeaderAction;
1026
- /** Collection of actions rendered on the right-hand side */
1027
- trailingActions?: MobileHeaderAction[];
1028
- /** Custom content rendered on the right-hand side for minimal variant */
1029
- trailingContent?: React$1.ReactNode;
1030
- /** Collection of story style actions for the stories variant */
1031
- stories?: MobileHeaderStory[];
1032
- /** Placeholder text for the search input */
1033
- searchPlaceholder?: string;
1034
- /** Controlled value for the search input */
1035
- searchValue?: string;
1036
- /** Uncontrolled default value for the search input */
1037
- defaultSearchValue?: string;
1038
- /** Change handler for the search input */
1039
- onSearchChange?: (value: string) => void;
1040
- /** Icon rendered inside the search input */
1041
- searchIcon?: React$1.ReactNode;
1042
- /** Select one of the predefined visual styles. Defaults to `hero`. */
1043
- variant?: MobileHeaderVariant;
1044
- className?: string;
1045
- children?: React$1.ReactNode;
1046
- } & Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
1047
-
1048
- type SafeAreaConfig = {
1049
- top?: boolean;
1050
- bottom?: boolean;
1051
- left?: boolean;
1052
- right?: boolean;
1053
- };
1054
- type MobileLayoutHeaderConfig = {
1055
- show?: boolean;
1056
- /** Visual style for the header component */
1057
- variant?: MobileHeaderVariant;
1058
- /** Alias for variant to support legacy props */
1059
- type?: MobileHeaderVariant;
1060
- className?: string;
1061
- };
1062
- type MobileLayoutFooterConfig = MobileFooterProps & {
1063
- show?: boolean;
1064
- /** Alias for the controlled value */
1065
- activeKey?: string;
1066
- };
1067
- interface MobileLayoutProps {
1068
- header?: MobileLayoutHeaderConfig;
1069
- footer?: MobileLayoutFooterConfig;
1070
- children: React$1.ReactNode;
1071
- className?: string;
1072
- safeArea?: SafeAreaConfig;
1073
- }
1074
- declare const MobileLayout: React$1.FC<MobileLayoutProps>;
1075
-
1076
- declare function NavigationMenu({ className, children, viewport, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Root> & {
1077
- viewport?: boolean;
1078
- }): react_jsx_runtime.JSX.Element;
1079
- declare function NavigationMenuList({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.List>): react_jsx_runtime.JSX.Element;
1080
- declare function NavigationMenuItem({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Item>): react_jsx_runtime.JSX.Element;
1081
- declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types.ClassProp | undefined) => string;
1082
- declare function NavigationMenuTrigger({ className, children, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Trigger>): react_jsx_runtime.JSX.Element;
1083
- declare function NavigationMenuContent({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Content>): react_jsx_runtime.JSX.Element;
1084
- declare function NavigationMenuViewport({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Viewport>): react_jsx_runtime.JSX.Element;
1085
- declare function NavigationMenuLink({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Link>): react_jsx_runtime.JSX.Element;
1086
- declare function NavigationMenuIndicator({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Indicator>): react_jsx_runtime.JSX.Element;
1087
-
1088
- declare function Pagination({ className, ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
1089
- declare function PaginationContent({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
1090
- declare function PaginationItem({ ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
1091
- type PaginationLinkProps = {
1092
- isActive?: boolean;
1093
- } & Pick<React$1.ComponentProps<typeof Button>, "size"> & React$1.ComponentProps<"a">;
1094
- declare function PaginationLink({ className, isActive, size, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
1095
- declare function PaginationPrevious({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
1096
- declare function PaginationNext({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
1097
- declare function PaginationEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
1098
-
1099
- declare function Popover({ ...props }: React$1.ComponentProps<typeof Popover$1.Root>): react_jsx_runtime.JSX.Element;
1100
- declare function PopoverTrigger({ ...props }: React$1.ComponentProps<typeof Popover$1.Trigger>): react_jsx_runtime.JSX.Element;
1101
- declare function PopoverContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof Popover$1.Content>): react_jsx_runtime.JSX.Element;
1102
- declare function PopoverAnchor({ ...props }: React$1.ComponentProps<typeof Popover$1.Anchor>): react_jsx_runtime.JSX.Element;
1103
-
1104
- declare function Progress({ className, value, ...props }: React$1.ComponentProps<typeof Progress$1.Root>): react_jsx_runtime.JSX.Element;
1105
-
1106
- declare function RadioGroup({ className, ...props }: React$1.ComponentProps<typeof RadioGroup$1.Root>): react_jsx_runtime.JSX.Element;
1107
- declare function RadioGroupItem({ className, ...props }: React$1.ComponentProps<typeof RadioGroup$1.Item>): react_jsx_runtime.JSX.Element;
1108
-
1109
- declare function ResizablePanelGroup({ className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelGroup>): react_jsx_runtime.JSX.Element;
1110
- declare function ResizablePanel({ ...props }: React$1.ComponentProps<typeof ResizablePrimitive.Panel>): react_jsx_runtime.JSX.Element;
1111
- declare function ResizableHandle({ withHandle, className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
1112
- withHandle?: boolean;
1113
- }): react_jsx_runtime.JSX.Element;
1114
-
1115
- declare function ScrollArea({ className, children, ...props }: React$1.ComponentProps<typeof ScrollArea$1.Root>): react_jsx_runtime.JSX.Element;
1116
- declare function ScrollBar({ className, orientation, ...props }: React$1.ComponentProps<typeof ScrollArea$1.ScrollAreaScrollbar>): react_jsx_runtime.JSX.Element;
1117
-
1118
- type SelectOption = {
1119
- value: string;
1120
- label?: React$1.ReactNode;
1121
- disabled?: boolean;
1122
- key?: React$1.Key;
1123
- className?: string;
1124
- };
1125
- type SimpleSelectProps = Omit<React$1.ComponentProps<typeof Select$1.Root>, "children"> & {
1126
- options: SelectOption[];
1127
- placeholder?: React$1.ReactNode;
1128
- triggerProps?: Omit<React$1.ComponentProps<typeof SelectTrigger>, "children">;
1129
- contentProps?: Omit<React$1.ComponentProps<typeof SelectContent>, "children">;
1130
- };
1131
- declare function SelectRoot({ open: openProp, defaultOpen, onOpenChange, children, ...props }: React$1.ComponentProps<typeof Select$1.Root>): react_jsx_runtime.JSX.Element;
1132
- declare function SelectTrigger({ className, size, children, ...props }: React$1.ComponentProps<typeof Select$1.Trigger> & {
1133
- size?: "sm" | "default";
1134
- }): react_jsx_runtime.JSX.Element;
1135
- declare function SelectContent({ className, children, position, title, ...props }: React$1.ComponentProps<typeof Select$1.Content> & {
1136
- title?: string;
1137
- }): react_jsx_runtime.JSX.Element;
1138
- declare function SelectItem({ className, children, onSelect, ...props }: React$1.ComponentProps<typeof Select$1.Item>): react_jsx_runtime.JSX.Element;
1139
- declare function SelectScrollUpButton({ className, ...props }: React$1.ComponentProps<typeof Select$1.ScrollUpButton>): react_jsx_runtime.JSX.Element;
1140
- declare function SelectScrollDownButton({ className, ...props }: React$1.ComponentProps<typeof Select$1.ScrollDownButton>): react_jsx_runtime.JSX.Element;
1141
- declare function SelectValue({ className, ...props }: React$1.ComponentProps<typeof Select$1.Value>): react_jsx_runtime.JSX.Element;
1142
- declare function Select({ options, placeholder, triggerProps, contentProps, ...rootProps }: SimpleSelectProps): react_jsx_runtime.JSX.Element;
1143
-
1144
- type SelectTriggerProps = React$1.ComponentProps<typeof SelectTrigger>;
1145
- type SelectContentProps = React$1.ComponentProps<typeof SelectContent>;
1146
-
1147
- type MultiSelectProps = React$1.PropsWithChildren<{
1148
- value?: string[];
1149
- defaultValue?: string[];
1150
- onValueChange?: (values: string[]) => void;
1151
- open?: boolean;
1152
- defaultOpen?: boolean;
1153
- onOpenChange?: (open: boolean) => void;
1154
- }>;
1155
- declare function MultiSelect({ value, defaultValue, onValueChange, open: openProp, defaultOpen, onOpenChange, children, }: MultiSelectProps): react_jsx_runtime.JSX.Element;
1156
- type MultiSelectTriggerProps = React$1.ComponentPropsWithoutRef<"button"> & {
1157
- disabled?: boolean;
1158
- };
1159
- declare function MultiSelectTrigger({ className, children, disabled, onClick, ...props }: MultiSelectTriggerProps): react_jsx_runtime.JSX.Element;
1160
- type MultiSelectValueProps = {
1161
- placeholder?: string;
1162
- className?: string;
1163
- separator?: string;
1164
- formatValue?: (values: string[]) => React$1.ReactNode;
1165
- };
1166
- declare function MultiSelectValue({ placeholder, className, separator, formatValue, }: MultiSelectValueProps): react_jsx_runtime.JSX.Element;
1167
- type MultiSelectContentProps = React$1.PropsWithChildren<{
1168
- title?: string;
1169
- className?: string;
1170
- commandClassName?: string;
1171
- showSearch?: boolean;
1172
- searchPlaceholder?: string;
1173
- emptyMessage?: React$1.ReactNode;
1174
- }> & Omit<React$1.ComponentProps<typeof PopoverContent>, "children" | "className">;
1175
- declare function MultiSelectContent({ className, title, children, commandClassName, showSearch, searchPlaceholder, emptyMessage, sideOffset, align, ...props }: MultiSelectContentProps): react_jsx_runtime.JSX.Element;
1176
- type MultiSelectItemProps = Omit<React$1.ComponentProps<typeof CommandItem>, "onSelect" | "value"> & {
1177
- value: string;
1178
- };
1179
- declare function MultiSelectItem({ value, children, className, disabled, ...props }: MultiSelectItemProps): react_jsx_runtime.JSX.Element;
1180
-
1181
- declare function Separator({ className, orientation, decorative, ...props }: React$1.ComponentProps<typeof Separator$1.Root>): react_jsx_runtime.JSX.Element;
1182
-
1183
- declare function Sheet({ ...props }: React$1.ComponentProps<typeof Dialog$1.Root>): react_jsx_runtime.JSX.Element;
1184
- declare function SheetTrigger({ ...props }: React$1.ComponentProps<typeof Dialog$1.Trigger>): react_jsx_runtime.JSX.Element;
1185
- declare function SheetClose({ ...props }: React$1.ComponentProps<typeof Dialog$1.Close>): react_jsx_runtime.JSX.Element;
1186
- declare function SheetContent({ className, children, side, ...props }: React$1.ComponentProps<typeof Dialog$1.Content> & {
1187
- side?: "top" | "right" | "bottom" | "left";
1188
- }): react_jsx_runtime.JSX.Element;
1189
- declare function SheetHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1190
- declare function SheetFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1191
- declare function SheetTitle({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Title>): react_jsx_runtime.JSX.Element;
1192
- declare function SheetDescription({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Description>): react_jsx_runtime.JSX.Element;
1193
-
1194
- declare function TooltipProvider({ delayDuration, ...props }: React$1.ComponentProps<typeof Tooltip$1.Provider>): react_jsx_runtime.JSX.Element;
1195
- declare function Tooltip({ ...props }: React$1.ComponentProps<typeof Tooltip$1.Root>): react_jsx_runtime.JSX.Element;
1196
- declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof Tooltip$1.Trigger>): react_jsx_runtime.JSX.Element;
1197
- declare function TooltipContent({ className, sideOffset, children, ...props }: React$1.ComponentProps<typeof Tooltip$1.Content>): react_jsx_runtime.JSX.Element;
1198
-
1199
- type SidebarContextProps = {
1200
- state: "expanded" | "collapsed";
1201
- open: boolean;
1202
- setOpen: (open: boolean) => void;
1203
- openMobile: boolean;
1204
- setOpenMobile: (open: boolean) => void;
1205
- isMobile: boolean;
1206
- toggleSidebar: () => void;
1207
- };
1208
- declare function useSidebar(): SidebarContextProps;
1209
- declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React$1.ComponentProps<"div"> & {
1210
- defaultOpen?: boolean;
1211
- open?: boolean;
1212
- onOpenChange?: (open: boolean) => void;
1213
- }): react_jsx_runtime.JSX.Element;
1214
- declare function Sidebar({ side, variant, collapsible, className, children, ...props }: React$1.ComponentProps<"div"> & {
1215
- side?: "left" | "right";
1216
- variant?: "sidebar" | "floating" | "inset";
1217
- collapsible?: "offcanvas" | "icon" | "none";
1218
- }): react_jsx_runtime.JSX.Element;
1219
- declare function SidebarTrigger({ className, onClick, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
1220
- declare function SidebarRail({ className, ...props }: React$1.ComponentProps<"button">): react_jsx_runtime.JSX.Element;
1221
- declare function SidebarInset({ className, ...props }: React$1.ComponentProps<"main">): react_jsx_runtime.JSX.Element;
1222
- declare function SidebarInput({ className, ...props }: React$1.ComponentProps<typeof Input>): react_jsx_runtime.JSX.Element;
1223
- declare function SidebarHeader({ className, sticky, ...props }: React$1.ComponentProps<"div"> & {
1224
- sticky?: boolean;
1225
- }): react_jsx_runtime.JSX.Element;
1226
- declare function SidebarFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1227
- declare function SidebarSeparator({ className, ...props }: React$1.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
1228
- declare function SidebarContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1229
- declare function SidebarGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1230
- declare function SidebarGroupLabel({ className, asChild, ...props }: React$1.ComponentProps<"div"> & {
1231
- asChild?: boolean;
1232
- }): react_jsx_runtime.JSX.Element;
1233
- declare function SidebarGroupAction({ className, asChild, ...props }: React$1.ComponentProps<"button"> & {
1234
- asChild?: boolean;
1235
- }): react_jsx_runtime.JSX.Element;
1236
- declare function SidebarGroupContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1237
- declare function SidebarMenu({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
1238
- declare function SidebarMenuItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
1239
- declare const sidebarMenuButtonVariants: (props?: ({
1240
- variant?: "default" | "outline" | null | undefined;
1241
- size?: "default" | "sm" | "lg" | null | undefined;
1242
- } & class_variance_authority_types.ClassProp) | undefined) => string;
1243
- declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, onClick, ...props }: React$1.ComponentProps<"button"> & {
1244
- asChild?: boolean;
1245
- isActive?: boolean;
1246
- tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
1247
- } & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime.JSX.Element;
1248
- declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: React$1.ComponentProps<"button"> & {
1249
- asChild?: boolean;
1250
- showOnHover?: boolean;
1251
- }): react_jsx_runtime.JSX.Element;
1252
- declare function SidebarMenuBadge({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1253
- declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React$1.ComponentProps<"div"> & {
1254
- showIcon?: boolean;
1255
- }): react_jsx_runtime.JSX.Element;
1256
- declare function SidebarMenuSub({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
1257
- declare function SidebarMenuSubItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
1258
- declare function SidebarMenuSubButton({ asChild, size, isActive, className, onClick, ...props }: React$1.ComponentProps<"a"> & {
1259
- asChild?: boolean;
1260
- size?: "sm" | "md";
1261
- isActive?: boolean;
1262
- }): react_jsx_runtime.JSX.Element;
1263
-
1264
- declare const Skeleton: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>> & {
1265
- Button: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1266
- Input: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1267
- };
1268
-
1269
- declare function Slider({ className, defaultValue, value, min, max, ...props }: React$1.ComponentProps<typeof Slider$1.Root>): react_jsx_runtime.JSX.Element;
1270
-
1271
- declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
1272
-
1273
- declare function Switch({ className, ...props }: React$1.ComponentProps<typeof Switch$1.Root>): react_jsx_runtime.JSX.Element;
1274
-
1275
- declare function Table({ className, ...props }: React$1.ComponentProps<"table">): react_jsx_runtime.JSX.Element;
1276
- declare function TableHeader({ className, ...props }: React$1.ComponentProps<"thead">): react_jsx_runtime.JSX.Element;
1277
- declare function TableBody({ className, ...props }: React$1.ComponentProps<"tbody">): react_jsx_runtime.JSX.Element;
1278
- declare function TableFooter({ className, ...props }: React$1.ComponentProps<"tfoot">): react_jsx_runtime.JSX.Element;
1279
- declare function TableRow({ className, ...props }: React$1.ComponentProps<"tr">): react_jsx_runtime.JSX.Element;
1280
- declare function TableHead({ className, ...props }: React$1.ComponentProps<"th">): react_jsx_runtime.JSX.Element;
1281
- declare function TableCell({ className, ...props }: React$1.ComponentProps<"td">): react_jsx_runtime.JSX.Element;
1282
- declare function TableCaption({ className, ...props }: React$1.ComponentProps<"caption">): react_jsx_runtime.JSX.Element;
1283
-
1284
- type TabsVariant = "default" | "solid" | "segmented" | "underline" | "boxed";
1285
- type TabsActivationMode = "automatic" | "manual";
1286
- type TabsOrientation = "horizontal" | "vertical";
1287
- interface TabsItem {
1288
- key: string;
1289
- label: React$1.ReactNode;
1290
- children: React$1.ReactNode;
1291
- disabled?: boolean;
1292
- triggerClassName?: string;
1293
- contentClassName?: string;
1294
- triggerProps?: Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "role" | "id" | "disabled" | "value" | "aria-selected" | "aria-controls" | "tabIndex" | "data-state" | "onClick" | "onKeyDown">;
1295
- contentProps?: Omit<React$1.HTMLAttributes<HTMLDivElement>, "role" | "id" | "hidden" | "aria-labelledby" | "data-state">;
1296
- }
1297
- interface TabsProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> {
1298
- value?: string;
1299
- defaultValue?: string;
1300
- onValueChange?: (value: string) => void;
1301
- activationMode?: TabsActivationMode;
1302
- variant?: TabsVariant;
1303
- orientation?: TabsOrientation;
1304
- items: TabsItem[];
1305
- listClassName?: string;
1306
- triggerClassName?: string;
1307
- contentClassName?: string;
1308
- renderList?: (list: React$1.ReactNode) => React$1.ReactNode;
1309
- }
1310
- declare const Tabs: React$1.ForwardRefExoticComponent<TabsProps & React$1.RefAttributes<HTMLDivElement>>;
1311
-
1312
- declare const Textarea: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>;
1313
-
1314
- declare const toggleVariants: (props?: ({
1315
- variant?: "default" | "outline" | null | undefined;
1316
- size?: "default" | "sm" | "lg" | null | undefined;
1317
- } & class_variance_authority_types.ClassProp) | undefined) => string;
1318
- declare function Toggle({ className, variant, size, ...props }: React$1.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
1319
-
1320
- declare function ToggleGroup({ className, variant, size, children, ...props }: React$1.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
1321
- declare function ToggleGroupItem({ className, children, variant, size, ...props }: React$1.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
1322
-
1323
- type TimeValue = {
1324
- hour: number;
1325
- minute: number;
1326
- second: number;
1327
- };
1328
- type TimePickerFormat = string | ((value: TimeValue | null) => string);
1329
- type AllowClearConfig = {
1330
- clearIcon?: React$1.ReactNode;
1331
- };
1332
- interface TimePickerProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "value" | "defaultValue" | "onChange" | "size" | "prefix" | "style" | "className" | "type"> {
1333
- value?: string | null;
1334
- defaultValue?: string | null;
1335
- onChange?: (value: string | null, timeString: string) => void;
1336
- onOpenChange?: (open: boolean) => void;
1337
- hourStep?: number;
1338
- minuteStep?: number;
1339
- secondStep?: number;
1340
- showSeconds?: boolean;
1341
- use12Hours?: boolean;
1342
- allowClear?: boolean | AllowClearConfig;
1343
- format?: TimePickerFormat;
1344
- placeholder?: string;
1345
- placement?: DatePickerPlacement;
1346
- size?: "large" | "middle" | "small";
1347
- status?: "error" | "warning";
1348
- variant?: DatePickerVariant;
1349
- inputClassName?: string;
1350
- inputStyle?: React$1.CSSProperties;
1351
- prefix?: React$1.ReactNode;
1352
- open?: boolean;
1353
- defaultOpen?: boolean;
1354
- inputReadOnly?: boolean;
1355
- className?: string;
1356
- style?: React$1.CSSProperties;
1357
- }
1358
- declare const TimePicker: React$1.ForwardRefExoticComponent<TimePickerProps & React$1.RefAttributes<HTMLInputElement>>;
1359
-
1360
- interface FormLike$9 {
1361
- form?: FormLike$9;
1362
- values?: unknown;
1363
- errors?: Record<string, string | undefined>;
1364
- touched?: Record<string, boolean | undefined>;
1365
- setFieldValue?: (field: PropertyKey, value: unknown) => void;
1366
- setFieldError?: (field: PropertyKey, error?: string) => void;
1367
- setFieldTouched?: (field: PropertyKey, touched?: boolean) => void;
1368
- handleChange?: (event: React$1.ChangeEvent<any>) => void;
1369
- validationSequence?: number;
1370
- }
1371
- type FormCheckboxProps = {
1372
- name: string;
1373
- label?: React$1.ReactNode;
1374
- description?: React$1.ReactNode;
1375
- className?: string;
1376
- checked?: boolean;
1377
- defaultChecked?: boolean;
1378
- onCheckedChange?: (checked: boolean) => void;
1379
- checkboxProps?: Omit<React$1.ComponentPropsWithoutRef<typeof Checkbox>, "checked" | "defaultChecked">;
1380
- error?: string;
1381
- form?: FormLike$9;
1382
- rules?: {
1383
- required?: boolean | string;
1384
- validate?: (checked: boolean) => string | boolean;
1385
- };
1386
- };
1387
- declare const FormCheckbox: {
1388
- ({ name, label, description, className, checked, defaultChecked, onCheckedChange, checkboxProps, error, form, rules }: FormCheckboxProps): react_jsx_runtime.JSX.Element;
1389
- displayName: string;
1390
- };
1391
-
1392
- interface FormErrorProps extends React$1.HTMLAttributes<HTMLParagraphElement> {
1393
- message?: React$1.ReactNode;
1394
- }
1395
- declare const FormError: React$1.ForwardRefExoticComponent<FormErrorProps & React$1.RefAttributes<HTMLParagraphElement>>;
1396
-
1397
- interface FormLike$8 {
1398
- form?: FormLike$8;
1399
- values?: unknown;
1400
- errors?: Record<string, string | undefined>;
1401
- touched?: Record<string, boolean | undefined>;
1402
- validationSequence?: number;
1403
- handleChange?: (event: React$1.ChangeEvent<any>) => void;
1404
- handleBlur?: (event: React$1.FocusEvent<any>) => void;
1405
- setFieldValue?: (field: string, value: unknown) => void;
1406
- setFieldError?: (field: string, error?: string) => void;
1407
- setFieldTouched?: (field: string, touched?: boolean) => void;
1408
- }
1409
- interface FormInputProps {
1410
- label?: string;
1411
- name: string;
1412
- type?: React$1.HTMLInputTypeAttribute;
1413
- placeholder?: string;
1414
- required?: boolean;
1415
- error?: string;
1416
- value?: string | number;
1417
- onChange?: (value: string) => void;
1418
- onBlur?: () => void;
1419
- className?: string;
1420
- description?: string;
1421
- autoComplete?: string;
1422
- labelProps?: React$1.ComponentProps<typeof Label>;
1423
- inputProps?: React$1.ComponentProps<typeof Input>;
1424
- form?: FormLike$8;
1425
- rules?: {
1426
- required?: boolean | string;
1427
- minLength?: {
1428
- value: number;
1429
- message: string;
1430
- };
1431
- maxLength?: {
1432
- value: number;
1433
- message: string;
1434
- };
1435
- pattern?: {
1436
- value: RegExp;
1437
- message: string;
1438
- };
1439
- validate?: (value: string) => string | boolean;
1440
- };
1441
- }
1442
- declare const FormInput: React$1.ForwardRefExoticComponent<FormInputProps & React$1.RefAttributes<HTMLInputElement>>;
1443
-
1444
- interface FormLike$7 {
1445
- form?: FormLike$7;
1446
- values?: unknown;
1447
- errors?: Record<string, string | undefined>;
1448
- touched?: Record<string, boolean | undefined>;
1449
- validationSequence?: number;
1450
- handleChange?: (event: React$1.ChangeEvent<any>) => void;
1451
- handleBlur?: (event: React$1.FocusEvent<any>) => void;
1452
- setFieldValue?: (field: string, value: unknown) => void;
1453
- setFieldError?: (field: string, error?: string) => void;
1454
- setFieldTouched?: (field: string, touched?: boolean) => void;
1455
- }
1456
- interface FormInputMaskProps {
1457
- label?: string;
1458
- name: string;
1459
- mask: string;
1460
- placeholderChar?: string;
1461
- placeholder?: string;
1462
- required?: boolean;
1463
- error?: string;
1464
- value?: string;
1465
- onChange?: (value: string) => void;
1466
- onBlur?: () => void;
1467
- className?: string;
1468
- description?: string;
1469
- labelProps?: React$1.ComponentProps<typeof Label>;
1470
- inputProps?: Omit<InputMaskProps, "value" | "defaultValue" | "mask" | "placeholderChar">;
1471
- form?: FormLike$7;
1472
- rules?: {
1473
- required?: boolean | string;
1474
- minLength?: {
1475
- value: number;
1476
- message: string;
1477
- };
1478
- maxLength?: {
1479
- value: number;
1480
- message: string;
1481
- };
1482
- pattern?: {
1483
- value: RegExp;
1484
- message: string;
1485
- };
1486
- validate?: (value: string) => string | boolean;
1487
- };
1488
- }
1489
- declare const FormInputMask: React$1.ForwardRefExoticComponent<FormInputMaskProps & React$1.RefAttributes<HTMLInputElement>>;
1490
-
1491
- interface FormLike$6 {
1492
- form?: FormLike$6;
1493
- values?: unknown;
1494
- errors?: Record<string, string | undefined>;
1495
- touched?: Record<string, boolean | undefined>;
1496
- validationSequence?: number;
1497
- handleChange?: (event: React$1.ChangeEvent<any>) => void;
1498
- handleBlur?: (event: React$1.FocusEvent<any>) => void;
1499
- setFieldValue?: (field: string, value: unknown) => void;
1500
- setFieldError?: (field: string, error?: string) => void;
1501
- setFieldTouched?: (field: string, touched?: boolean) => void;
1502
- }
1503
- interface FormInputNumericProps {
1504
- label?: string;
1505
- name: string;
1506
- placeholder?: string;
1507
- required?: boolean;
1508
- error?: string;
1509
- value?: number | null;
1510
- onChange?: (value: number | null) => void;
1511
- onBlur?: () => void;
1512
- className?: string;
1513
- description?: string;
1514
- labelProps?: React$1.ComponentProps<typeof Label>;
1515
- inputProps?: Omit<InputNumericProps, "value">;
1516
- form?: FormLike$6;
1517
- min?: number;
1518
- max?: number;
1519
- decimals?: number;
1520
- formatter?: InputNumericProps["formatter"];
1521
- parser?: InputNumericProps["parser"];
1522
- rules?: {
1523
- required?: boolean | string;
1524
- min?: {
1525
- value: number;
1526
- message: string;
1527
- };
1528
- max?: {
1529
- value: number;
1530
- message: string;
1531
- };
1532
- validate?: (value: number | null) => string | boolean;
1533
- };
1534
- }
1535
- declare const FormInputNumeric: React$1.ForwardRefExoticComponent<FormInputNumericProps & React$1.RefAttributes<HTMLInputElement>>;
1536
-
1537
- interface FormLike$5 {
1538
- form?: FormLike$5;
1539
- values?: unknown;
1540
- errors?: Record<string, string | undefined>;
1541
- touched?: Record<string, boolean | undefined>;
1542
- setFieldValue?: (field: string, value: unknown) => void;
1543
- setFieldError?: (field: string, error?: string) => void;
1544
- setFieldTouched?: (field: string, touched?: boolean) => void;
1545
- handleChange?: (event: React$1.ChangeEvent<any>) => void;
1546
- handleBlur?: (event: React$1.FocusEvent<any>) => void;
1547
- validationSequence?: number;
1548
- }
1549
- interface FormSelectOption {
1550
- label: React$1.ReactNode;
1551
- value: string;
1552
- disabled?: boolean;
1553
- }
1554
- interface FormSelectProps {
1555
- label?: string;
1556
- name: string;
1557
- description?: string;
1558
- placeholder?: string;
1559
- required?: boolean;
1560
- error?: string;
1561
- value?: string | string[];
1562
- defaultValue?: string | string[];
1563
- onChange?: (value: string | string[]) => void;
1564
- onBlur?: () => void;
1565
- className?: string;
1566
- disabled?: boolean;
1567
- labelProps?: React$1.ComponentProps<typeof Label>;
1568
- selectProps?: Omit<React$1.ComponentProps<typeof Select>, 'options' | 'placeholder' | 'triggerProps' | 'contentProps'>;
1569
- triggerProps?: SelectTriggerProps;
1570
- contentProps?: SelectContentProps;
1571
- multiSelectProps?: React$1.ComponentProps<typeof MultiSelect>;
1572
- multiSelectTriggerProps?: React$1.ComponentPropsWithoutRef<typeof MultiSelectTrigger>;
1573
- multiSelectValueProps?: React$1.ComponentProps<typeof MultiSelectValue>;
1574
- multiSelectContentProps?: React$1.ComponentProps<typeof MultiSelectContent>;
1575
- form?: FormLike$5;
1576
- options: FormSelectOption[];
1577
- isMulti?: boolean;
1578
- rules?: {
1579
- required?: boolean | string;
1580
- validate?: (value: string | string[]) => string | boolean;
1581
- };
1582
- }
1583
- declare function FormSelect({ label, name, description, placeholder, required, error, value, defaultValue, onChange, onBlur, className, disabled, labelProps, selectProps, triggerProps, contentProps, multiSelectProps, multiSelectTriggerProps, multiSelectValueProps, multiSelectContentProps, form, options, isMulti, rules }: FormSelectProps): react_jsx_runtime.JSX.Element;
1584
-
1585
- interface FormLike$4 {
1586
- form?: FormLike$4;
1587
- values?: unknown;
1588
- errors?: Record<string, string | undefined>;
1589
- touched?: Record<string, boolean | undefined>;
1590
- validationSequence?: number;
1591
- handleChange?: (event: React$1.ChangeEvent<any>) => void;
1592
- handleBlur?: (event: React$1.FocusEvent<any>) => void;
1593
- setFieldValue?: (field: string, value: unknown) => void;
1594
- setFieldError?: (field: string, error?: string) => void;
1595
- setFieldTouched?: (field: string, touched?: boolean) => void;
1596
- }
1597
- interface FormTextareaProps {
1598
- label?: string;
1599
- name: string;
1600
- placeholder?: string;
1601
- required?: boolean;
1602
- error?: string;
1603
- value?: string;
1604
- onChange?: (value: string) => void;
1605
- onBlur?: () => void;
1606
- className?: string;
1607
- labelProps?: React$1.ComponentProps<typeof Label>;
1608
- textareaProps?: React$1.ComponentProps<typeof Textarea>;
1609
- form?: FormLike$4;
1610
- rules?: {
1611
- required?: boolean | string;
1612
- minLength?: {
1613
- value: number;
1614
- message: string;
1615
- };
1616
- maxLength?: {
1617
- value: number;
1618
- message: string;
1619
- };
1620
- pattern?: {
1621
- value: RegExp;
1622
- message: string;
1623
- };
1624
- validate?: (value: string) => string | boolean;
1625
- };
1626
- }
1627
- declare const FormTextarea: React$1.ForwardRefExoticComponent<FormTextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
1628
-
1629
- interface FormLike$3 {
1630
- form?: FormLike$3;
1631
- values?: unknown;
1632
- errors?: Record<string, string | undefined>;
1633
- touched?: Record<string, boolean | undefined>;
1634
- setFieldValue?: (field: string, value: unknown) => void;
1635
- setFieldTouched?: (field: string, touched?: boolean) => void;
1636
- handleBlur?: (event: React$1.FocusEvent<HTMLInputElement>) => void;
1637
- }
1638
- interface FormRadioGroupOption {
1639
- value: string;
1640
- label: React$1.ReactNode;
1641
- description?: React$1.ReactNode;
1642
- disabled?: boolean;
1643
- className?: string;
1644
- }
1645
- interface FormRadioGroupProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'onChange' | 'onBlur'> {
1646
- label?: string;
1647
- description?: React$1.ReactNode;
1648
- name: string;
1649
- required?: boolean;
1650
- error?: string;
1651
- value?: string;
1652
- defaultValue?: string;
1653
- onChange?: (value: string) => void;
1654
- onBlur?: () => void;
1655
- form?: FormLike$3;
1656
- options: FormRadioGroupOption[];
1657
- labelProps?: React$1.ComponentProps<typeof Label>;
1658
- radioGroupProps?: React$1.ComponentProps<typeof RadioGroup>;
1659
- optionLabelProps?: Omit<React$1.ComponentProps<typeof Label>, 'htmlFor' | 'children'>;
1660
- optionWrapperClassName?: string;
1661
- }
1662
- declare const FormRadioGroup: React$1.ForwardRefExoticComponent<FormRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
1663
-
1664
- interface FormLike$2 {
1665
- form?: FormLike$2;
1666
- values?: unknown;
1667
- errors?: Record<string, string | undefined>;
1668
- touched?: Record<string, boolean | undefined>;
1669
- setFieldValue?: (field: string, value: unknown) => void;
1670
- setFieldError?: (field: string, error?: string) => void;
1671
- setFieldTouched?: (field: string, touched?: boolean) => void;
1672
- handleChange?: (event: React$1.ChangeEvent<any>) => void;
1673
- handleBlur?: (event: React$1.FocusEvent<any>) => void;
1674
- validationSequence?: number;
1675
- }
1676
- interface FormDatePickerProps {
1677
- label?: string;
1678
- name: string;
1679
- placeholder?: string;
1680
- required?: boolean;
1681
- error?: string;
1682
- value?: Dayjs | null;
1683
- defaultValue?: Dayjs | null;
1684
- onChange?: (value: Dayjs | null) => void;
1685
- onBlur?: () => void;
1686
- className?: string;
1687
- description?: string;
1688
- labelProps?: React$1.ComponentProps<typeof Label>;
1689
- datePickerProps?: Omit<DatePickerProps, 'name' | 'id' | 'value' | 'defaultValue' | 'onChange' | 'onBlur'> & {
1690
- onChange?: DatePickerProps['onChange'];
1691
- onBlur?: DatePickerProps['onBlur'];
1692
- value?: DatePickerProps['value'];
1693
- defaultValue?: DatePickerProps['defaultValue'];
1694
- };
1695
- form?: FormLike$2;
1696
- rules?: {
1697
- required?: boolean | string;
1698
- minDate?: {
1699
- value: Dayjs;
1700
- message: string;
1701
- };
1702
- maxDate?: {
1703
- value: Dayjs;
1704
- message: string;
1705
- };
1706
- validate?: (value: Dayjs | null) => string | boolean;
1707
- };
1708
- }
1709
- declare function FormDatePicker({ label, name, placeholder, required, error, value, defaultValue, onChange, onBlur, className, description, labelProps, datePickerProps, form, rules }: FormDatePickerProps): react_jsx_runtime.JSX.Element;
1710
-
1711
- interface FormLike$1 {
1712
- form?: FormLike$1;
1713
- values?: unknown;
1714
- errors?: Record<string, string | undefined>;
1715
- touched?: Record<string, boolean | undefined>;
1716
- setFieldValue?: (field: string, value: unknown) => void;
1717
- setFieldError?: (field: string, error?: string) => void;
1718
- setFieldTouched?: (field: string, touched?: boolean) => void;
1719
- handleChange?: (event: React$1.ChangeEvent<any>) => void;
1720
- handleBlur?: (event: React$1.FocusEvent<any>) => void;
1721
- validationSequence?: number;
1722
- }
1723
- interface FormTimePickerProps {
1724
- label?: string;
1725
- name: string;
1726
- placeholder?: string;
1727
- required?: boolean;
1728
- error?: string;
1729
- value?: string | null;
1730
- defaultValue?: string | null;
1731
- onChange?: (value: string | null) => void;
1732
- onBlur?: () => void;
1733
- className?: string;
1734
- description?: string;
1735
- labelProps?: React$1.ComponentProps<typeof Label>;
1736
- timePickerProps?: Omit<TimePickerProps, 'name' | 'id' | 'value' | 'defaultValue' | 'onChange' | 'onBlur'> & {
1737
- onChange?: TimePickerProps['onChange'];
1738
- onBlur?: TimePickerProps['onBlur'];
1739
- value?: TimePickerProps['value'];
1740
- defaultValue?: TimePickerProps['defaultValue'];
1741
- };
1742
- form?: FormLike$1;
1743
- rules?: {
1744
- required?: boolean | string;
1745
- validate?: (value: string | null) => string | boolean;
1746
- };
1747
- }
1748
- declare function FormTimePicker({ label, name, placeholder, required, error, value, defaultValue, onChange, onBlur, className, description, labelProps, timePickerProps, form, rules, }: FormTimePickerProps): react_jsx_runtime.JSX.Element;
1749
-
1750
- interface FormLike {
1751
- form?: FormLike;
1752
- values?: unknown;
1753
- errors?: Record<string, string | undefined>;
1754
- touched?: Record<string, boolean | undefined>;
1755
- setFieldValue?: (field: PropertyKey, value: unknown) => void;
1756
- setFieldError?: (field: PropertyKey, error?: string) => void;
1757
- setFieldTouched?: (field: PropertyKey, touched?: boolean) => void;
1758
- handleChange?: (event: React$1.ChangeEvent<any>) => void;
1759
- validationSequence?: number;
1760
- }
1761
- type FormSwitchProps = {
1762
- name: string;
1763
- label?: React$1.ReactNode;
1764
- description?: React$1.ReactNode;
1765
- className?: string;
1766
- checked?: boolean;
1767
- defaultChecked?: boolean;
1768
- onCheckedChange?: (checked: boolean) => void;
1769
- switchProps?: Omit<React$1.ComponentPropsWithoutRef<typeof Switch>, "checked" | "defaultChecked">;
1770
- error?: string;
1771
- form?: FormLike;
1772
- rules?: {
1773
- required?: boolean | string;
1774
- validate?: (checked: boolean) => string | boolean;
1775
- };
1776
- };
1777
- declare const FormSwitch: React$1.FC<FormSwitchProps>;
1778
-
1779
- declare const defaultEdges: readonly ["top", "right", "bottom", "left"];
1780
- type SafeAreaEdge = (typeof defaultEdges)[number];
1781
- type SafeAreaProps = {
1782
- /**
1783
- * Controls which edges should respect the device safe-area insets.
1784
- * Defaults to all edges.
1785
- */
1786
- edges?: ReadonlyArray<SafeAreaEdge>;
1787
- /**
1788
- * Use the passed child component instead of rendering a `div`.
1789
- */
1790
- asChild?: boolean;
1791
- } & React$1.HTMLAttributes<HTMLDivElement>;
1792
- declare const SafeArea: React$1.ForwardRefExoticComponent<{
1793
- /**
1794
- * Controls which edges should respect the device safe-area insets.
1795
- * Defaults to all edges.
1796
- */
1797
- edges?: ReadonlyArray<SafeAreaEdge>;
1798
- /**
1799
- * Use the passed child component instead of rendering a `div`.
1800
- */
1801
- asChild?: boolean;
1802
- } & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
1803
-
1804
- type LogLevel = 'debug' | 'info' | 'warning' | 'error' | 'critical';
1805
- interface LogMetadata {
1806
- context?: Record<string, unknown>;
1807
- error?: unknown;
1808
- [key: string]: unknown;
1809
- }
1810
- interface RequestLogDetails {
1811
- method?: string;
1812
- url?: string;
1813
- durationMs: number;
1814
- statusCode?: number;
1815
- thresholdMs?: number;
1816
- metadata?: Record<string, unknown>;
1817
- }
1818
- interface MonitorRequestOptions extends Omit<RequestLogDetails, 'durationMs'> {
1819
- operationName?: string;
1820
- }
1821
- interface MonitoringOptions {
1822
- enable?: boolean;
1823
- level?: LogLevel;
1824
- storeDays?: number | boolean;
1825
- json?: boolean;
1826
- slowRequestThresholdMs?: number;
1827
- maxFileSizeMB?: number;
1828
- directory?: string;
1829
- consoleLogging?: boolean;
1830
- captureUnhandled?: boolean;
1831
- writeToFileInDev?: boolean;
1832
- }
1833
- interface ResolvedMonitoringOptions {
1834
- enable: boolean;
1835
- level: LogLevel;
1836
- retentionDays: number | null;
1837
- json: boolean;
1838
- slowRequestThresholdMs: number;
1839
- maxFileSizeBytes: number;
1840
- directory: string;
1841
- consoleLogging: boolean;
1842
- captureUnhandled: boolean;
1843
- writeToFile: boolean;
1844
- }
1845
- interface MonitorApi {
1846
- log: (level: LogLevel, message: string, metadata?: LogMetadata) => Promise<void>;
1847
- debug: (message: string, metadata?: LogMetadata) => Promise<void>;
1848
- info: (message: string, metadata?: LogMetadata) => Promise<void>;
1849
- warning: (message: string, metadata?: LogMetadata) => Promise<void>;
1850
- error: (message: string, metadata?: LogMetadata) => Promise<void>;
1851
- critical: (message: string, metadata?: LogMetadata) => Promise<void>;
1852
- logRequest: (details: RequestLogDetails) => Promise<void>;
1853
- monitorRequest: <T>(details: MonitorRequestOptions, handler: () => Promise<T>) => Promise<T>;
1854
- deleteLogFile: (fileName?: string) => Promise<void>;
1855
- purgeLogs: () => Promise<void>;
1856
- listLogFiles: () => Promise<string[]>;
1857
- getLogDirectory: () => Promise<string | null>;
1858
- getOptions: () => Readonly<ResolvedMonitoringOptions>;
1859
- updateOptions: (options: MonitoringOptions) => void;
1860
- }
1861
- declare const initializeMonitoring: (options: MonitoringOptions) => MonitorApi;
1862
- declare const getMonitor: () => MonitorApi;
1863
- declare const useMonitor: (options?: MonitoringOptions) => MonitorApi;
1864
-
1865
- interface ToastOptions {
1866
- title?: string;
1867
- description?: string;
1868
- duration?: number;
1869
- action?: {
1870
- label: string;
1871
- onClick: () => void;
1872
- };
1873
- }
1874
- declare function showSonner(message: string, type?: 'success' | 'error' | 'warning' | 'info', options?: ToastOptions): void;
1875
-
1876
- declare const showSuccess: (message: string, options?: ToastOptions) => void;
1877
- declare const showError: (message: string, options?: ToastOptions) => void;
1878
- declare const showWarning: (message: string, options?: ToastOptions) => void;
1879
- declare const showInfo: (message: string, options?: ToastOptions) => void;
1880
-
1881
- declare const toBool: (value: any) => boolean;
1882
-
1883
- declare const isNullOrEmpty: (data: any) => boolean;
1884
-
1885
- type UseDataTableInstanceProps<TData, TValue> = {
1886
- data: TData[];
1887
- columns: ColumnDef<TData, TValue>[];
1888
- enableRowSelection?: boolean;
1889
- defaultPageIndex?: number;
1890
- defaultPageSize?: number;
1891
- getRowId?: (row: TData, index: number) => string;
1892
- };
1893
- declare function useDataTableInstance<TData, TValue>({ data, columns, enableRowSelection, defaultPageIndex, defaultPageSize, getRowId, }: UseDataTableInstanceProps<TData, TValue>): _tanstack_table_core.Table<TData>;
1894
-
1895
- interface FormConfig<T> {
1896
- initialValues: T;
1897
- onSubmit: (values: T) => void | Promise<void>;
1898
- validate?: (values: T) => Partial<Record<keyof T, string>>;
1899
- }
1900
- interface FormState<T> {
1901
- values: T;
1902
- errors: Partial<Record<keyof T, string>>;
1903
- fieldErrors: Partial<Record<keyof T, string>>;
1904
- touched: Partial<Record<keyof T, boolean>>;
1905
- isSubmitting: boolean;
1906
- isValid: boolean;
1907
- validationSequence: number;
1908
- }
1909
- interface FormHelpers<T> {
1910
- setFieldValue: (field: keyof T, value: any) => void;
1911
- setFieldTouched: (field: keyof T, touched?: boolean) => void;
1912
- setFieldError: (field: keyof T, error?: string) => void;
1913
- handleChange: (e: ChangeEvent<HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement>) => void;
1914
- handleBlur: (e: FocusEvent<HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement>) => void;
1915
- handleSubmit: (e?: FormEvent) => void;
1916
- resetForm: () => void;
1917
- validateForm: () => boolean;
1918
- triggerValidation: () => void;
1919
- }
1920
- declare function useForm<T extends Record<string, any>>(config: FormConfig<T>): {
1921
- form: {
1922
- values: T;
1923
- errors: Partial<Record<keyof T, string>>;
1924
- fieldErrors: Partial<Record<keyof T, string>>;
1925
- touched: Partial<Record<keyof T, boolean>>;
1926
- validationSequence: number;
1927
- setFieldValue: (field: PropertyKey, value: unknown) => void;
1928
- setFieldError: (field: PropertyKey, error?: string) => void;
1929
- setFieldTouched: (field: PropertyKey, touched?: boolean) => void;
1930
- handleChange: (e: ChangeEvent<HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement>) => void;
1931
- handleBlur: (e: FocusEvent<HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement>) => void;
1932
- handleSubmit: (e?: FormEvent) => Promise<void>;
1933
- resetForm: () => void;
1934
- validateForm: () => boolean;
1935
- triggerValidation: () => void;
1936
- isSubmitting: boolean;
1937
- isValid: boolean;
1938
- };
1939
- setFieldValue: (field: keyof T, value: any) => void;
1940
- setFieldTouched: (field: keyof T, touched?: boolean) => void;
1941
- setFieldError: (field: keyof T, error?: string) => void;
1942
- handleChange: (e: ChangeEvent<HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement>) => void;
1943
- handleBlur: (e: FocusEvent<HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement>) => void;
1944
- handleSubmit: (e?: FormEvent) => void;
1945
- resetForm: () => void;
1946
- validateForm: () => boolean;
1947
- triggerValidation: () => void;
1948
- values: T;
1949
- errors: Partial<Record<keyof T, string>>;
1950
- fieldErrors: Partial<Record<keyof T, string>>;
1951
- touched: Partial<Record<keyof T, boolean>>;
1952
- isSubmitting: boolean;
1953
- isValid: boolean;
1954
- validationSequence: number;
1955
- };
1956
-
1957
- declare function useIsMobile(): boolean;
1958
-
1959
- interface NavigationState {
1960
- title?: string;
1961
- subtitle?: string;
1962
- supportingText?: string;
1963
- heroBadge?: ReactNode;
1964
- icon?: ReactNode;
1965
- back?: boolean;
1966
- actions?: ReactNode;
1967
- variant?: MobileHeaderVariant;
1968
- }
1969
- interface UseMobileHeaderReturn {
1970
- header: NavigationState;
1971
- navigationState: NavigationState;
1972
- navigationStack: NavigationState[];
1973
- setHeader: (state: NavigationState) => void;
1974
- navigateTo: (state: NavigationState) => void;
1975
- navigateBack: () => void;
1976
- canGoBack: boolean;
1977
- resetNavigation: (initialState?: NavigationState) => void;
1978
- }
1979
- declare const MobileHeaderProvider: React.FC<{
1980
- initialState?: NavigationState;
1981
- children: ReactNode;
1982
- }>;
1983
- declare const useMobileHeader: (initialState?: NavigationState) => UseMobileHeaderReturn;
1984
-
1985
- declare const SIDEBAR_VARIANT_VALUES: readonly ["sidebar", "floating", "inset"];
1986
- type SidebarVariant = (typeof SIDEBAR_VARIANT_VALUES)[number];
1987
- declare const SIDEBAR_COLLAPSIBLE_VALUES: readonly ["offcanvas", "icon", "none"];
1988
- type SidebarCollapsible = (typeof SIDEBAR_COLLAPSIBLE_VALUES)[number];
1989
- declare const CONTENT_LAYOUT_VALUES: readonly ["centered", "full-width"];
1990
- type ContentLayout = (typeof CONTENT_LAYOUT_VALUES)[number];
1991
- declare const NAVBAR_STYLE_VALUES: readonly ["sticky", "scroll"];
1992
- type NavbarStyle = (typeof NAVBAR_STYLE_VALUES)[number];
1993
-
1994
- declare function updateContentLayout(layout: ContentLayout): void;
1995
- declare function updateNavbarStyle(style: NavbarStyle): void;
1996
-
1997
- type NavigateOptions = {
1998
- replace?: boolean;
1999
- };
2000
- declare function RouterProvider({ children }: {
2001
- children: ReactNode;
2002
- }): react_jsx_runtime.JSX.Element;
2003
- declare function usePathname(): string;
2004
- declare function useNavigate(): (path: string, options?: NavigateOptions) => void;
2005
- declare function redirect(path: string): void;
2006
-
2007
- declare const THEME_MODE_VALUES: readonly ["auto", "light", "dark"];
2008
- type ThemeMode = (typeof THEME_MODE_VALUES)[number];
2009
- type ThemePresetOption = {
2010
- label: string;
2011
- value: string;
2012
- primary: {
2013
- light: string;
2014
- dark: string;
2015
- };
2016
- };
2017
- declare const THEME_PRESET_OPTIONS: readonly [{
2018
- readonly label: "Default";
2019
- readonly value: "default";
2020
- readonly primary: {
2021
- readonly light: "oklch(0.205 0 0)";
2022
- readonly dark: "oklch(0.922 0 0)";
2023
- };
2024
- }, {
2025
- readonly label: "Brutalist";
2026
- readonly value: "brutalist";
2027
- readonly primary: {
2028
- readonly light: "oklch(0.6489 0.2370 26.9728)";
2029
- readonly dark: "oklch(0.7044 0.1872 23.1858)";
2030
- };
2031
- }, {
2032
- readonly label: "Soft Pop";
2033
- readonly value: "soft-pop";
2034
- readonly primary: {
2035
- readonly light: "oklch(0.5106 0.2301 276.9656)";
2036
- readonly dark: "oklch(0.6801 0.1583 276.9349)";
2037
- };
2038
- }, {
2039
- readonly label: "Tangerine";
2040
- readonly value: "tangerine";
2041
- readonly primary: {
2042
- readonly light: "oklch(0.64 0.17 36.44)";
2043
- readonly dark: "oklch(0.64 0.17 36.44)";
2044
- };
2045
- }];
2046
- declare const THEME_PRESET_VALUES: ("default" | "brutalist" | "soft-pop" | "tangerine")[];
2047
- type ThemePreset = (typeof THEME_PRESET_OPTIONS)[number]["value"];
2048
-
2049
- declare const THEME_MODE_STORAGE_KEY = "gi_theme";
2050
- declare const THEME_MODE_CHANGE_EVENT = "gi-theme-mode-change";
2051
- type ResolvedThemeMode = Extract<ThemeMode, "light" | "dark">;
2052
- declare function isThemeMode(value: unknown): value is ThemeMode;
2053
- declare function resolveThemeMode(theme: ThemeMode): ResolvedThemeMode;
2054
- declare function updateThemeMode(theme: ThemeMode): void;
2055
- declare function setThemeMode(theme?: ThemeMode): void;
2056
- declare function getThemeMode(): ThemeMode;
2057
- declare function updateThemePreset(preset: ThemePreset): void;
2058
-
2059
- declare function cn(...inputs: ClassValue[]): string;
2060
- type FormatCurrencyOptions = {
2061
- currency?: string;
2062
- noDecimals?: boolean;
2063
- };
2064
- declare function formatCurrency(value: number, options?: FormatCurrencyOptions): string;
2065
- declare function getInitials(name: string): string;
2066
-
2067
- type StoreApi<TState> = {
2068
- getState: () => TState;
2069
- setState: (partial: Partial<TState> | ((state: TState) => Partial<TState>)) => void;
2070
- subscribe: (listener: (state: TState, previousState: TState) => void) => () => void;
2071
- };
2072
- type StateCreator<TState> = (set: (partial: Partial<TState> | ((state: TState) => Partial<TState>)) => void, get: () => TState) => TState;
2073
- declare function createStore<TState>(initializer: StateCreator<TState>): StoreApi<TState>;
2074
- declare function useStore<TState, TSlice>(store: StoreApi<TState>, selector: (state: TState) => TSlice): TSlice;
2075
-
2076
- declare const FIELD_HEIGHT_MOBILE_CLASS = "h-10 md:h-9";
2077
-
2078
- declare const detectVirtualKeyboardDevice: () => Promise<boolean>;
2079
- declare const maybeScrollElementIntoView: (element: HTMLElement | null) => void;
2080
- declare const __virtualKeyboardTesting: {
2081
- readonly isVirtualKeyboardLikelyDevice: boolean;
2082
- readonly hasAttemptedVirtualKeyboardDetection: boolean;
2083
- reset(): void;
2084
- };
2085
-
2086
- type ThemeFramework = 'nextjs' | 'vite' | 'babel' | 'webpack' | 'unknown';
2087
- interface ThemeExtrasOptions {
2088
- enabled?: boolean;
2089
- framework?: 'auto' | ThemeFramework;
2090
- fieldName?: boolean | 'auto';
2091
- fieldCy?: boolean | 'auto';
2092
- }
2093
- interface ThemeSidebarOptions {
2094
- show?: boolean;
2095
- collapsible?: 'icon' | 'offcanvas';
2096
- navbarStyle?: 'sticky' | 'scroll';
2097
- contentLayout?: 'centered' | 'full-width';
2098
- props?: any;
2099
- header?: ThemeSidebarHeaderOptions;
2100
- content?: ThemeSidebarContentOptions;
2101
- footer?: ThemeSidebarFooterOptions;
2102
- }
2103
- interface ThemeSidebarHeaderOptions {
2104
- show?: boolean;
2105
- children: ReactNode | null;
2106
- }
2107
- interface ThemeSidebarContentOptions {
2108
- show?: boolean;
2109
- children: ReactNode | null;
2110
- }
2111
- interface ThemeSidebarFooterOptions {
2112
- show?: boolean;
2113
- children: ReactNode | null;
2114
- }
2115
- interface ThemeExtrasRuntime {
2116
- enabled: boolean;
2117
- debug: boolean;
2118
- framework: ThemeFramework;
2119
- requestedFramework: NonNullable<ThemeExtrasOptions['framework']>;
2120
- fieldName: boolean;
2121
- fieldCy: boolean;
2122
- }
2123
- interface ThemeContextType {
2124
- isDarkMode: boolean;
2125
- themeMode: ThemeMode;
2126
- isNativeApp: boolean;
2127
- isNativeLike: boolean;
2128
- isNative: boolean;
2129
- extras: ThemeExtrasRuntime;
2130
- nativeOverlayContainer: HTMLElement | null;
2131
- setIsDarkMode: (darkMode: boolean) => void;
2132
- setThemeMode: (mode: ThemeMode) => void;
2133
- setNativeApp: (nativeApp: boolean) => void;
2134
- setNativeOverlayContainer: (element: HTMLElement | null) => void;
2135
- }
2136
-
2137
- interface ThemeProviderProps {
2138
- children: React__default.ReactNode;
2139
- defaultTheme?: 'light' | 'dark' | 'system';
2140
- nativeApp?: boolean;
2141
- extras?: ThemeExtrasOptions;
2142
- monitoring?: MonitoringOptions;
2143
- siderbar?: ThemeSidebarOptions;
2144
- }
2145
- declare const ThemeProvider: React__default.FC<ThemeProviderProps>;
2146
- declare const useTheme: () => ThemeContextType;
2147
- declare const useThemeExtras: () => ThemeExtrasRuntime;
2148
-
2149
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, type Attachment, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, CONTENT_LAYOUT_VALUES, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Chat, ChatContainer, ChatForm, ChatMessage, type ChatMessageProps, ChatMessages, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, type ContentLayout, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, DataGrid, type DataGridColumn, type DataGridProps, DataTable, DataTableColumnHeader, DataTablePagination, DataTableViewOptions, DatePicker, type DatePickerLocale, type DatePickerMode, type DatePickerPlacement, type DatePickerPreset, type DatePickerProps, type DatePickerVariant, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DraggableRow, 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, ErrorBoundary, FIELD_HEIGHT_MOBILE_CLASS, Flex, type FlexAlign, type FlexDirection, type FlexGap, type FlexJustify, type FlexProps, type FlexWrap, Form, FormBlock, type FormBlockProps, FormCheckbox, type FormConfig, FormDatePicker, type FormDatePickerProps, FormError, type FormErrorProps, type FormHelpers, FormInput, FormInputMask, type FormInputMaskProps, FormInputNumeric, type FormInputNumericProps, type FormInputProps, FormRadioGroup, type FormRadioGroupOption, type FormRadioGroupProps, FormSelect, type FormSelectOption, type FormSelectProps, type FormState, FormSwitch, type FormSwitchProps, FormTextarea, type FormTextareaProps, FormTimePicker, type FormTimePickerProps, HoverCard, HoverCardContent, HoverCardTrigger, HtmlRenderer, type HtmlRendererProps, Input, InputMask, type InputMaskProps, InputNumeric, type InputNumericProps, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Label, type LogLevel, type LogMetadata, MarkdownRenderer, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, type Message, MessageInput, type MessageInputProps, MessageList, type MessagePart, MobileFooter, type MobileFooterItem, type MobileFooterProps, type MobileFooterVariant, MobileHeader, type MobileHeaderAction, type MobileHeaderProps, MobileHeaderProvider, type MobileHeaderStory, type MobileHeaderVariant, MobileLayout, type MobileLayoutProps, MobileSelectDrawer, type MobileSelectDrawerProps, type MobileSelectOption, Modal, type ModalClassNames, type ModalFooterConfig, type ModalProps, type MonitorApi, type MonitorRequestOptions, type MonitoringOptions, MultiSelect, MultiSelectContent, MultiSelectItem, MultiSelectTrigger, MultiSelectValue, NAVBAR_STYLE_VALUES, type NavbarStyle, type NavigateOptions, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, type NavigationState, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PartialToolCall, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, PromptSuggestions, RadioGroup, RadioGroupItem, type ReasoningPart, type RequestLogDetails, ResizableHandle, ResizablePanel, ResizablePanelGroup, type ResolvedMonitoringOptions, RouterProvider, SIDEBAR_COLLAPSIBLE_VALUES, SIDEBAR_VARIANT_VALUES, SafeArea, type SafeAreaEdge, type SafeAreaProps, ScrollArea, ScrollBar, Select, SelectContent, type SelectContentProps, SelectItem, type SelectOption, SelectRoot, SelectScrollDownButton, SelectScrollUpButton, SelectTrigger, type SelectTriggerProps, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, type SidebarCollapsible, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, type SidebarVariant, Skeleton, Slider, type StoreApi, Switch, THEME_MODE_CHANGE_EVENT, THEME_MODE_STORAGE_KEY, THEME_MODE_VALUES, THEME_PRESET_OPTIONS, THEME_PRESET_VALUES, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, type TabsItem, type TabsProps, type TabsVariant, type TextPart, Textarea, type ThemeMode, type ThemePreset, type ThemePresetOption, ThemeProvider, TimePicker, type TimePickerProps, type ToastOptions, Toaster, Toggle, ToggleGroup, ToggleGroupItem, type ToolCall, type ToolInvocation, type ToolInvocationPart, type ToolResult, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TypingIndicator, type UseMobileHeaderReturn, __virtualKeyboardTesting, badgeVariants, buttonVariants, cn, createStore, detectVirtualKeyboardDevice, dragColumn, formatCurrency, getInitials, getMonitor, getThemeMode, initializeMonitoring, isNullOrEmpty, isThemeMode, maybeScrollElementIntoView, mobileFooterVariantMeta, mobileFooterVariants, mobileHeaderVariantMeta, mobileHeaderVariants, navigationMenuTriggerStyle, redirect, resolveThemeMode, setThemeMode, showError, showInfo, showSonner, showSuccess, showWarning, toBool, toggleVariants, updateContentLayout, updateNavbarStyle, updateThemeMode, updateThemePreset, useDataTableInstance, useForm, useIsMobile, useMobileHeader, useMonitor, useNavigate, usePathname, useSidebar, useStore, useTheme, useThemeExtras, withDndColumn };