@nicorp/nui 0.1.2 → 0.1.7
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.cjs.js +35 -66
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +123 -47
- package/dist/index.es.js +6131 -19231
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +1 -0
- package/package.json +22 -20
- package/dist/nui.css +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -14,8 +14,9 @@ import { DialogProps } from '@radix-ui/react-dialog';
|
|
|
14
14
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
15
15
|
import { ForwardRefExoticComponent } from 'react';
|
|
16
16
|
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
17
|
-
import { JSX } from 'react/jsx-runtime';
|
|
17
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
18
18
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
19
|
+
import { Legend } from 'recharts';
|
|
19
20
|
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
20
21
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
21
22
|
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
@@ -31,6 +32,7 @@ import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
|
31
32
|
import { Toaster as Toaster_2 } from 'sonner';
|
|
32
33
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
33
34
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
35
|
+
import { Tooltip as Tooltip_2 } from 'recharts';
|
|
34
36
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
35
37
|
import { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
36
38
|
import { VariantProps } from 'class-variance-authority';
|
|
@@ -60,12 +62,12 @@ export declare const AlertDialogContent: React_2.ForwardRefExoticComponent<Omit<
|
|
|
60
62
|
export declare const AlertDialogDescription: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
61
63
|
|
|
62
64
|
export declare const AlertDialogFooter: {
|
|
63
|
-
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>):
|
|
65
|
+
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
64
66
|
displayName: string;
|
|
65
67
|
};
|
|
66
68
|
|
|
67
69
|
export declare const AlertDialogHeader: {
|
|
68
|
-
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>):
|
|
70
|
+
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
69
71
|
displayName: string;
|
|
70
72
|
};
|
|
71
73
|
|
|
@@ -79,6 +81,11 @@ export declare const AlertDialogTrigger: React_2.ForwardRefExoticComponent<Alert
|
|
|
79
81
|
|
|
80
82
|
export declare const AlertTitle: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLHeadingElement> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
81
83
|
|
|
84
|
+
export declare const AppShell: React_2.ForwardRefExoticComponent<AppShellProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
85
|
+
|
|
86
|
+
declare interface AppShellProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
87
|
+
}
|
|
88
|
+
|
|
82
89
|
export declare const AspectRatio: ForwardRefExoticComponent<AspectRatioPrimitive.AspectRatioProps & RefAttributes<HTMLDivElement>>;
|
|
83
90
|
|
|
84
91
|
export declare const Avatar: React_2.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React_2.RefAttributes<HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
|
|
@@ -87,7 +94,7 @@ export declare const AvatarFallback: React_2.ForwardRefExoticComponent<Omit<Avat
|
|
|
87
94
|
|
|
88
95
|
export declare const AvatarImage: React_2.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React_2.RefAttributes<HTMLImageElement>, "ref"> & React_2.RefAttributes<HTMLImageElement>>;
|
|
89
96
|
|
|
90
|
-
export declare function Badge({ className, variant, ...props }: BadgeProps):
|
|
97
|
+
export declare function Badge({ className, variant, ...props }: BadgeProps): JSX_2.Element;
|
|
91
98
|
|
|
92
99
|
export declare interface BadgeProps extends React_2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
93
100
|
}
|
|
@@ -96,7 +103,7 @@ export declare const badgeVariants: (props?: ({
|
|
|
96
103
|
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
97
104
|
} & ClassProp) | undefined) => string;
|
|
98
105
|
|
|
99
|
-
export declare function Blockquote({ className, ...props }: BlockquoteProps):
|
|
106
|
+
export declare function Blockquote({ className, ...props }: BlockquoteProps): JSX_2.Element;
|
|
100
107
|
|
|
101
108
|
export declare interface BlockquoteProps extends React_2.HTMLAttributes<HTMLQuoteElement> {
|
|
102
109
|
}
|
|
@@ -110,7 +117,7 @@ export declare interface BoxProps extends React_2.HTMLAttributes<HTMLDivElement>
|
|
|
110
117
|
export declare const Breadcrumb: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & React_2.RefAttributes<HTMLElement>>;
|
|
111
118
|
|
|
112
119
|
export declare const BreadcrumbEllipsis: {
|
|
113
|
-
({ className, ...props }: React_2.ComponentProps<"span">):
|
|
120
|
+
({ className, ...props }: React_2.ComponentProps<"span">): JSX_2.Element;
|
|
114
121
|
displayName: string;
|
|
115
122
|
};
|
|
116
123
|
|
|
@@ -125,7 +132,7 @@ export declare const BreadcrumbList: React_2.ForwardRefExoticComponent<Omit<Reac
|
|
|
125
132
|
export declare const BreadcrumbPage: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
|
|
126
133
|
|
|
127
134
|
export declare const BreadcrumbSeparator: {
|
|
128
|
-
({ children, className, ...props }: React_2.ComponentProps<"li">):
|
|
135
|
+
({ children, className, ...props }: React_2.ComponentProps<"li">): JSX_2.Element;
|
|
129
136
|
displayName: string;
|
|
130
137
|
};
|
|
131
138
|
|
|
@@ -136,11 +143,11 @@ export declare interface ButtonProps extends React_2.ButtonHTMLAttributes<HTMLBu
|
|
|
136
143
|
}
|
|
137
144
|
|
|
138
145
|
export declare const buttonVariants: (props?: ({
|
|
139
|
-
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
|
|
140
|
-
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
146
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | "brand" | "glow" | null | undefined;
|
|
147
|
+
size?: "default" | "sm" | "lg" | "xl" | "icon" | null | undefined;
|
|
141
148
|
} & ClassProp) | undefined) => string;
|
|
142
149
|
|
|
143
|
-
export declare function Calendar({ selected, onSelect, className, disabled, }: CalendarProps):
|
|
150
|
+
export declare function Calendar({ selected, onSelect, className, disabled, }: CalendarProps): JSX_2.Element;
|
|
144
151
|
|
|
145
152
|
export declare namespace Calendar {
|
|
146
153
|
var displayName: string;
|
|
@@ -153,7 +160,7 @@ export declare interface CalendarProps {
|
|
|
153
160
|
disabled?: (date: Date) => boolean;
|
|
154
161
|
}
|
|
155
162
|
|
|
156
|
-
export declare const Card: React_2.ForwardRefExoticComponent<
|
|
163
|
+
export declare const Card: React_2.ForwardRefExoticComponent<CardProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
157
164
|
|
|
158
165
|
export declare const CardContent: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
159
166
|
|
|
@@ -163,8 +170,15 @@ export declare const CardFooter: React_2.ForwardRefExoticComponent<React_2.HTMLA
|
|
|
163
170
|
|
|
164
171
|
export declare const CardHeader: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
165
172
|
|
|
173
|
+
export declare interface CardProps extends React_2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
|
|
174
|
+
}
|
|
175
|
+
|
|
166
176
|
export declare const CardTitle: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLHeadingElement> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
167
177
|
|
|
178
|
+
export declare const cardVariants: (props?: ({
|
|
179
|
+
variant?: "default" | "ghost" | "elevated" | "glass" | null | undefined;
|
|
180
|
+
} & ClassProp) | undefined) => string;
|
|
181
|
+
|
|
168
182
|
export declare const Carousel: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & CarouselProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
169
183
|
|
|
170
184
|
export declare type CarouselApi = UseEmblaCarouselType[1];
|
|
@@ -188,13 +202,19 @@ declare type CarouselProps = {
|
|
|
188
202
|
setApi?: (api: CarouselApi) => void;
|
|
189
203
|
};
|
|
190
204
|
|
|
205
|
+
export declare const ChartContainer: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
206
|
+
|
|
207
|
+
export declare const ChartLegend: typeof Legend;
|
|
208
|
+
|
|
209
|
+
export declare const ChartTooltip: typeof Tooltip_2;
|
|
210
|
+
|
|
191
211
|
export declare const Checkbox: React_2.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
192
212
|
|
|
193
213
|
export declare function cn(...inputs: ClassValue[]): string;
|
|
194
214
|
|
|
195
|
-
export declare function Code({ className, ...props }: CodeProps):
|
|
215
|
+
export declare function Code({ className, ...props }: CodeProps): JSX_2.Element;
|
|
196
216
|
|
|
197
|
-
export declare function CodeBlock({ code, language, showLineNumbers, className, }: CodeBlockProps):
|
|
217
|
+
export declare function CodeBlock({ code, language, showLineNumbers, className, }: CodeBlockProps): JSX_2.Element;
|
|
198
218
|
|
|
199
219
|
export declare interface CodeBlockProps {
|
|
200
220
|
code: string;
|
|
@@ -212,7 +232,7 @@ export declare const CollapsibleContent: React_2.ForwardRefExoticComponent<Omit<
|
|
|
212
232
|
|
|
213
233
|
export declare const CollapsibleTrigger: React_2.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
214
234
|
|
|
215
|
-
export declare function ColorPicker({ value, onChange, disabled, className, }: ColorPickerProps):
|
|
235
|
+
export declare function ColorPicker({ value, onChange, disabled, className, }: ColorPickerProps): JSX_2.Element;
|
|
216
236
|
|
|
217
237
|
export declare interface ColorPickerProps {
|
|
218
238
|
value?: string;
|
|
@@ -221,7 +241,7 @@ export declare interface ColorPickerProps {
|
|
|
221
241
|
className?: string;
|
|
222
242
|
}
|
|
223
243
|
|
|
224
|
-
export declare function Combobox({ options, value, onChange, placeholder, searchPlaceholder, emptyText, disabled, className, }: ComboboxProps):
|
|
244
|
+
export declare function Combobox({ options, value, onChange, placeholder, searchPlaceholder, emptyText, disabled, className, }: ComboboxProps): JSX_2.Element;
|
|
225
245
|
|
|
226
246
|
export declare interface ComboboxOption {
|
|
227
247
|
value: string;
|
|
@@ -257,7 +277,7 @@ export declare const Command: React_2.ForwardRefExoticComponent<Omit<{
|
|
|
257
277
|
vimBindings?: boolean;
|
|
258
278
|
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
259
279
|
|
|
260
|
-
export declare const CommandDialog: ({ children, ...props }: CommandDialogProps) =>
|
|
280
|
+
export declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => JSX_2.Element;
|
|
261
281
|
|
|
262
282
|
declare interface CommandDialogProps extends DialogProps {
|
|
263
283
|
}
|
|
@@ -324,7 +344,7 @@ export declare const CommandSeparator: React_2.ForwardRefExoticComponent<Omit<Pi
|
|
|
324
344
|
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
325
345
|
|
|
326
346
|
export declare const CommandShortcut: {
|
|
327
|
-
({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>):
|
|
347
|
+
({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>): JSX_2.Element;
|
|
328
348
|
displayName: string;
|
|
329
349
|
};
|
|
330
350
|
|
|
@@ -360,7 +380,7 @@ export declare const ContextMenuRadioItem: React_2.ForwardRefExoticComponent<Omi
|
|
|
360
380
|
export declare const ContextMenuSeparator: React_2.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSeparatorProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
361
381
|
|
|
362
382
|
export declare const ContextMenuShortcut: {
|
|
363
|
-
({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>):
|
|
383
|
+
({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>): JSX_2.Element;
|
|
364
384
|
displayName: string;
|
|
365
385
|
};
|
|
366
386
|
|
|
@@ -374,13 +394,20 @@ export declare const ContextMenuSubTrigger: React_2.ForwardRefExoticComponent<Om
|
|
|
374
394
|
|
|
375
395
|
export declare const ContextMenuTrigger: React_2.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuTriggerProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
376
396
|
|
|
377
|
-
export declare
|
|
397
|
+
export declare const CopyInput: React_2.ForwardRefExoticComponent<CopyInputProps & React_2.RefAttributes<HTMLInputElement>>;
|
|
398
|
+
|
|
399
|
+
declare interface CopyInputProps extends React_2.InputHTMLAttributes<HTMLInputElement> {
|
|
400
|
+
label?: string;
|
|
401
|
+
value: string;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
export declare function DataTable<TData, TValue>({ columns, data, searchKey, searchPlaceholder, pageSize, }: DataTableProps<TData, TValue>): JSX_2.Element;
|
|
378
405
|
|
|
379
406
|
export declare function DataTableColumnHeader({ column, title, className, }: {
|
|
380
407
|
column: any;
|
|
381
408
|
title: string;
|
|
382
409
|
className?: string;
|
|
383
|
-
}):
|
|
410
|
+
}): JSX_2.Element;
|
|
384
411
|
|
|
385
412
|
export declare interface DataTableProps<TData, TValue> {
|
|
386
413
|
columns: ColumnDef<TData, TValue>[];
|
|
@@ -390,7 +417,7 @@ export declare interface DataTableProps<TData, TValue> {
|
|
|
390
417
|
pageSize?: number;
|
|
391
418
|
}
|
|
392
419
|
|
|
393
|
-
export declare function DatePicker({ value, onChange, placeholder, disabled, className, }: DatePickerProps):
|
|
420
|
+
export declare function DatePicker({ value, onChange, placeholder, disabled, className, }: DatePickerProps): JSX_2.Element;
|
|
394
421
|
|
|
395
422
|
export declare interface DatePickerProps {
|
|
396
423
|
value?: Date;
|
|
@@ -409,12 +436,12 @@ export declare const DialogContent: React_2.ForwardRefExoticComponent<Omit<Dialo
|
|
|
409
436
|
export declare const DialogDescription: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
410
437
|
|
|
411
438
|
export declare const DialogFooter: {
|
|
412
|
-
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>):
|
|
439
|
+
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
413
440
|
displayName: string;
|
|
414
441
|
};
|
|
415
442
|
|
|
416
443
|
export declare const DialogHeader: {
|
|
417
|
-
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>):
|
|
444
|
+
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
418
445
|
displayName: string;
|
|
419
446
|
};
|
|
420
447
|
|
|
@@ -451,7 +478,7 @@ export declare const DropdownMenuRadioItem: React_2.ForwardRefExoticComponent<Om
|
|
|
451
478
|
export declare const DropdownMenuSeparator: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
452
479
|
|
|
453
480
|
export declare const DropdownMenuShortcut: {
|
|
454
|
-
({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>):
|
|
481
|
+
({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>): JSX_2.Element;
|
|
455
482
|
displayName: string;
|
|
456
483
|
};
|
|
457
484
|
|
|
@@ -465,7 +492,7 @@ export declare const DropdownMenuSubTrigger: React_2.ForwardRefExoticComponent<O
|
|
|
465
492
|
|
|
466
493
|
export declare const DropdownMenuTrigger: React_2.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
467
494
|
|
|
468
|
-
export declare function EmptyState({ icon, title, description, action, className, }: EmptyStateProps):
|
|
495
|
+
export declare function EmptyState({ icon, title, description, action, className, }: EmptyStateProps): JSX_2.Element;
|
|
469
496
|
|
|
470
497
|
export declare interface EmptyStateProps {
|
|
471
498
|
icon?: React_2.ReactNode;
|
|
@@ -475,7 +502,7 @@ export declare interface EmptyStateProps {
|
|
|
475
502
|
className?: string;
|
|
476
503
|
}
|
|
477
504
|
|
|
478
|
-
export declare function FileUpload({ accept, maxSize, multiple, onUpload, disabled, className, }: FileUploadProps):
|
|
505
|
+
export declare function FileUpload({ accept, maxSize, multiple, onUpload, disabled, className, }: FileUploadProps): JSX_2.Element;
|
|
479
506
|
|
|
480
507
|
export declare interface FileUploadProps {
|
|
481
508
|
accept?: string;
|
|
@@ -508,14 +535,16 @@ export declare interface GridProps extends React_2.HTMLAttributes<HTMLDivElement
|
|
|
508
535
|
gap?: number | string;
|
|
509
536
|
}
|
|
510
537
|
|
|
511
|
-
export declare
|
|
538
|
+
export declare const Header: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLElement> & React_2.RefAttributes<HTMLElement>>;
|
|
539
|
+
|
|
540
|
+
export declare function Heading({ className, level, as, children, ...props }: HeadingProps): JSX_2.Element;
|
|
512
541
|
|
|
513
542
|
export declare interface HeadingProps extends React_2.HTMLAttributes<HTMLHeadingElement>, VariantProps<typeof headingVariants> {
|
|
514
543
|
as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
515
544
|
}
|
|
516
545
|
|
|
517
546
|
export declare const headingVariants: (props?: ({
|
|
518
|
-
level?: 1 | 2 |
|
|
547
|
+
level?: 1 | 2 | 3 | 4 | 5 | 6 | null | undefined;
|
|
519
548
|
} & ClassProp) | undefined) => string;
|
|
520
549
|
|
|
521
550
|
export declare const HoverCard: React_2.FC<HoverCardPrimitive.HoverCardProps>;
|
|
@@ -528,16 +557,41 @@ export declare const HStack: React_2.ForwardRefExoticComponent<StackProps & Reac
|
|
|
528
557
|
|
|
529
558
|
export declare const Input: React_2.ForwardRefExoticComponent<InputProps & React_2.RefAttributes<HTMLInputElement>>;
|
|
530
559
|
|
|
531
|
-
export declare
|
|
560
|
+
export declare interface InputProps extends Omit<React_2.InputHTMLAttributes<HTMLInputElement>, 'size'>, VariantProps<typeof inputVariants> {
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
export declare const inputVariants: (props?: ({
|
|
564
|
+
variant?: "default" | "ghost" | "glow" | "filled" | null | undefined;
|
|
565
|
+
inputSize?: "default" | "sm" | "lg" | null | undefined;
|
|
566
|
+
} & ClassProp) | undefined) => string;
|
|
567
|
+
|
|
568
|
+
export declare const JsonViewer: React_2.ForwardRefExoticComponent<JsonViewerProps & React_2.RefAttributes<HTMLPreElement>>;
|
|
569
|
+
|
|
570
|
+
declare interface JsonViewerProps extends React_2.HTMLAttributes<HTMLPreElement> {
|
|
571
|
+
data: any;
|
|
572
|
+
}
|
|
532
573
|
|
|
533
574
|
export declare const Label: React_2.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React_2.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: ClassProp | undefined) => string> & React_2.RefAttributes<HTMLLabelElement>>;
|
|
534
575
|
|
|
535
|
-
export declare function Lead({ className, ...props }: LeadProps):
|
|
576
|
+
export declare function Lead({ className, ...props }: LeadProps): JSX_2.Element;
|
|
536
577
|
|
|
537
578
|
export declare interface LeadProps extends React_2.HTMLAttributes<HTMLParagraphElement> {
|
|
538
579
|
}
|
|
539
580
|
|
|
540
|
-
export declare
|
|
581
|
+
export declare const Main: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLElement> & React_2.RefAttributes<HTMLElement>>;
|
|
582
|
+
|
|
583
|
+
export declare function MetricCard({ title, value, description, trend, trendLabel, icon, className, ...props }: MetricCardProps): JSX_2.Element;
|
|
584
|
+
|
|
585
|
+
declare interface MetricCardProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
586
|
+
title: string;
|
|
587
|
+
value: string | number;
|
|
588
|
+
description?: string;
|
|
589
|
+
trend?: number;
|
|
590
|
+
trendLabel?: string;
|
|
591
|
+
icon?: React_2.ReactNode;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
export declare function Muted({ className, ...props }: MutedProps): JSX_2.Element;
|
|
541
595
|
|
|
542
596
|
export declare interface MutedProps extends React_2.HTMLAttributes<HTMLParagraphElement> {
|
|
543
597
|
}
|
|
@@ -560,7 +614,7 @@ export declare const navigationMenuTriggerStyle: (props?: ClassProp | undefined)
|
|
|
560
614
|
|
|
561
615
|
export declare const NavigationMenuViewport: React_2.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
562
616
|
|
|
563
|
-
export declare function NumberInput({ value, onChange, min, max, step, disabled, className, }: NumberInputProps):
|
|
617
|
+
export declare function NumberInput({ value, onChange, min, max, step, disabled, className, }: NumberInputProps): JSX_2.Element;
|
|
564
618
|
|
|
565
619
|
export declare interface NumberInputProps {
|
|
566
620
|
value?: number;
|
|
@@ -572,7 +626,7 @@ export declare interface NumberInputProps {
|
|
|
572
626
|
className?: string;
|
|
573
627
|
}
|
|
574
628
|
|
|
575
|
-
export declare function OTPInput({ length, value, onChange, onComplete, disabled, className, }: OTPInputProps):
|
|
629
|
+
export declare function OTPInput({ length, value, onChange, onComplete, disabled, className, }: OTPInputProps): JSX_2.Element;
|
|
576
630
|
|
|
577
631
|
export declare interface OTPInputProps {
|
|
578
632
|
length?: number;
|
|
@@ -584,21 +638,21 @@ export declare interface OTPInputProps {
|
|
|
584
638
|
}
|
|
585
639
|
|
|
586
640
|
export declare const Pagination: {
|
|
587
|
-
({ className, ...props }: React_2.ComponentProps<"nav">):
|
|
641
|
+
({ className, ...props }: React_2.ComponentProps<"nav">): JSX_2.Element;
|
|
588
642
|
displayName: string;
|
|
589
643
|
};
|
|
590
644
|
|
|
591
645
|
export declare const PaginationContent: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React_2.RefAttributes<HTMLUListElement>>;
|
|
592
646
|
|
|
593
647
|
export declare const PaginationEllipsis: {
|
|
594
|
-
({ className, ...props }: React_2.ComponentProps<"span">):
|
|
648
|
+
({ className, ...props }: React_2.ComponentProps<"span">): JSX_2.Element;
|
|
595
649
|
displayName: string;
|
|
596
650
|
};
|
|
597
651
|
|
|
598
652
|
export declare const PaginationItem: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React_2.RefAttributes<HTMLLIElement>>;
|
|
599
653
|
|
|
600
654
|
export declare const PaginationLink: {
|
|
601
|
-
({ className, isActive, size, ...props }: PaginationLinkProps):
|
|
655
|
+
({ className, isActive, size, ...props }: PaginationLinkProps): JSX_2.Element;
|
|
602
656
|
displayName: string;
|
|
603
657
|
};
|
|
604
658
|
|
|
@@ -607,12 +661,12 @@ declare type PaginationLinkProps = {
|
|
|
607
661
|
} & Pick<ButtonProps, "size"> & React_2.ComponentProps<"a">;
|
|
608
662
|
|
|
609
663
|
export declare const PaginationNext: {
|
|
610
|
-
({ className, ...props }: React_2.ComponentProps<typeof PaginationLink>):
|
|
664
|
+
({ className, ...props }: React_2.ComponentProps<typeof PaginationLink>): JSX_2.Element;
|
|
611
665
|
displayName: string;
|
|
612
666
|
};
|
|
613
667
|
|
|
614
668
|
export declare const PaginationPrevious: {
|
|
615
|
-
({ className, ...props }: React_2.ComponentProps<typeof PaginationLink>):
|
|
669
|
+
({ className, ...props }: React_2.ComponentProps<typeof PaginationLink>): JSX_2.Element;
|
|
616
670
|
displayName: string;
|
|
617
671
|
};
|
|
618
672
|
|
|
@@ -674,14 +728,14 @@ export { SheetDescription as DrawerDescription }
|
|
|
674
728
|
export { SheetDescription }
|
|
675
729
|
|
|
676
730
|
declare const SheetFooter: {
|
|
677
|
-
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>):
|
|
731
|
+
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
678
732
|
displayName: string;
|
|
679
733
|
};
|
|
680
734
|
export { SheetFooter as DrawerFooter }
|
|
681
735
|
export { SheetFooter }
|
|
682
736
|
|
|
683
737
|
declare const SheetHeader: {
|
|
684
|
-
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>):
|
|
738
|
+
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
685
739
|
displayName: string;
|
|
686
740
|
};
|
|
687
741
|
export { SheetHeader as DrawerHeader }
|
|
@@ -703,7 +757,9 @@ declare const sheetVariants: (props?: ({
|
|
|
703
757
|
side?: "top" | "right" | "bottom" | "left" | null | undefined;
|
|
704
758
|
} & ClassProp) | undefined) => string;
|
|
705
759
|
|
|
706
|
-
export declare
|
|
760
|
+
export declare const Sidebar: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
761
|
+
|
|
762
|
+
export declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
707
763
|
|
|
708
764
|
export declare const Slider: React_2.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React_2.RefAttributes<HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
|
|
709
765
|
|
|
@@ -712,7 +768,17 @@ export declare interface StackProps extends React_2.HTMLAttributes<HTMLDivElemen
|
|
|
712
768
|
align?: "start" | "end" | "center" | "stretch";
|
|
713
769
|
}
|
|
714
770
|
|
|
715
|
-
export declare function
|
|
771
|
+
export declare function StatusBadge({ className, status, dot, children, ...props }: StatusBadgeProps): JSX_2.Element;
|
|
772
|
+
|
|
773
|
+
export declare interface StatusBadgeProps extends React_2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof statusBadgeVariants> {
|
|
774
|
+
dot?: boolean;
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
declare const statusBadgeVariants: (props?: ({
|
|
778
|
+
status?: "error" | "success" | "neutral" | "warning" | "info" | null | undefined;
|
|
779
|
+
} & ClassProp) | undefined) => string;
|
|
780
|
+
|
|
781
|
+
export declare function Stepper({ steps, activeStep, orientation, className, }: StepperProps): JSX_2.Element;
|
|
716
782
|
|
|
717
783
|
export declare interface StepperProps {
|
|
718
784
|
steps: StepProps[];
|
|
@@ -752,7 +818,7 @@ export declare const TabsList: React_2.ForwardRefExoticComponent<Omit<TabsPrimit
|
|
|
752
818
|
|
|
753
819
|
export declare const TabsTrigger: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
754
820
|
|
|
755
|
-
export declare function TagInput({ values, onChange, placeholder, disabled, className, maxTags, }: TagInputProps):
|
|
821
|
+
export declare function TagInput({ values, onChange, placeholder, disabled, className, maxTags, }: TagInputProps): JSX_2.Element;
|
|
756
822
|
|
|
757
823
|
export declare interface TagInputProps {
|
|
758
824
|
values?: string[];
|
|
@@ -763,7 +829,7 @@ export declare interface TagInputProps {
|
|
|
763
829
|
maxTags?: number;
|
|
764
830
|
}
|
|
765
831
|
|
|
766
|
-
declare function Text_2({ className, size, weight, variant, leading, as: Tag, children, ...props }: TextProps):
|
|
832
|
+
declare function Text_2({ className, size, weight, variant, leading, as: Tag, children, ...props }: TextProps): JSX_2.Element;
|
|
767
833
|
export { Text_2 as Text }
|
|
768
834
|
|
|
769
835
|
export declare const Textarea: React_2.ForwardRefExoticComponent<TextareaProps & React_2.RefAttributes<HTMLTextAreaElement>>;
|
|
@@ -777,13 +843,23 @@ export declare interface TextProps extends VariantProps<typeof textVariants> {
|
|
|
777
843
|
}
|
|
778
844
|
|
|
779
845
|
export declare const textVariants: (props?: ({
|
|
780
|
-
size?: "sm" | "lg" | "
|
|
846
|
+
size?: "sm" | "lg" | "xl" | "base" | "xs" | null | undefined;
|
|
781
847
|
weight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
|
|
782
848
|
variant?: "default" | "destructive" | "muted" | "primary" | "success" | null | undefined;
|
|
783
849
|
leading?: "normal" | "tight" | "relaxed" | null | undefined;
|
|
784
850
|
} & ClassProp) | undefined) => string;
|
|
785
851
|
|
|
786
|
-
export declare
|
|
852
|
+
export declare const Timeline: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
853
|
+
|
|
854
|
+
export declare const TimelineConnector: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
855
|
+
|
|
856
|
+
export declare const TimelineContent: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
857
|
+
|
|
858
|
+
export declare const TimelineIcon: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
859
|
+
|
|
860
|
+
export declare const TimelineItem: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
861
|
+
|
|
862
|
+
export declare function TimePicker({ value, onChange, is24Hour, disabled, className, }: TimePickerProps): JSX_2.Element;
|
|
787
863
|
|
|
788
864
|
export declare interface TimePickerProps {
|
|
789
865
|
value?: {
|
|
@@ -799,7 +875,7 @@ export declare interface TimePickerProps {
|
|
|
799
875
|
className?: string;
|
|
800
876
|
}
|
|
801
877
|
|
|
802
|
-
export declare const Toaster: ({ ...props }: ToasterProps) =>
|
|
878
|
+
export declare const Toaster: ({ ...props }: ToasterProps) => JSX_2.Element;
|
|
803
879
|
|
|
804
880
|
declare type ToasterProps = React.ComponentProps<typeof Toaster_2>;
|
|
805
881
|
|