@nicorp/nui 0.1.3 → 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 -105
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +62 -49
- package/dist/index.es.js +9709 -34105
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +1 -0
- package/package.json +21 -20
- package/dist/nui.css +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ 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
19
|
import { Legend } from 'recharts';
|
|
20
20
|
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
@@ -62,12 +62,12 @@ export declare const AlertDialogContent: React_2.ForwardRefExoticComponent<Omit<
|
|
|
62
62
|
export declare const AlertDialogDescription: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
63
63
|
|
|
64
64
|
export declare const AlertDialogFooter: {
|
|
65
|
-
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>):
|
|
65
|
+
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
66
66
|
displayName: string;
|
|
67
67
|
};
|
|
68
68
|
|
|
69
69
|
export declare const AlertDialogHeader: {
|
|
70
|
-
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>):
|
|
70
|
+
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
71
71
|
displayName: string;
|
|
72
72
|
};
|
|
73
73
|
|
|
@@ -94,7 +94,7 @@ export declare const AvatarFallback: React_2.ForwardRefExoticComponent<Omit<Avat
|
|
|
94
94
|
|
|
95
95
|
export declare const AvatarImage: React_2.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React_2.RefAttributes<HTMLImageElement>, "ref"> & React_2.RefAttributes<HTMLImageElement>>;
|
|
96
96
|
|
|
97
|
-
export declare function Badge({ className, variant, ...props }: BadgeProps):
|
|
97
|
+
export declare function Badge({ className, variant, ...props }: BadgeProps): JSX_2.Element;
|
|
98
98
|
|
|
99
99
|
export declare interface BadgeProps extends React_2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
100
100
|
}
|
|
@@ -103,7 +103,7 @@ export declare const badgeVariants: (props?: ({
|
|
|
103
103
|
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
104
104
|
} & ClassProp) | undefined) => string;
|
|
105
105
|
|
|
106
|
-
export declare function Blockquote({ className, ...props }: BlockquoteProps):
|
|
106
|
+
export declare function Blockquote({ className, ...props }: BlockquoteProps): JSX_2.Element;
|
|
107
107
|
|
|
108
108
|
export declare interface BlockquoteProps extends React_2.HTMLAttributes<HTMLQuoteElement> {
|
|
109
109
|
}
|
|
@@ -117,7 +117,7 @@ export declare interface BoxProps extends React_2.HTMLAttributes<HTMLDivElement>
|
|
|
117
117
|
export declare const Breadcrumb: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & React_2.RefAttributes<HTMLElement>>;
|
|
118
118
|
|
|
119
119
|
export declare const BreadcrumbEllipsis: {
|
|
120
|
-
({ className, ...props }: React_2.ComponentProps<"span">):
|
|
120
|
+
({ className, ...props }: React_2.ComponentProps<"span">): JSX_2.Element;
|
|
121
121
|
displayName: string;
|
|
122
122
|
};
|
|
123
123
|
|
|
@@ -132,7 +132,7 @@ export declare const BreadcrumbList: React_2.ForwardRefExoticComponent<Omit<Reac
|
|
|
132
132
|
export declare const BreadcrumbPage: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
|
|
133
133
|
|
|
134
134
|
export declare const BreadcrumbSeparator: {
|
|
135
|
-
({ children, className, ...props }: React_2.ComponentProps<"li">):
|
|
135
|
+
({ children, className, ...props }: React_2.ComponentProps<"li">): JSX_2.Element;
|
|
136
136
|
displayName: string;
|
|
137
137
|
};
|
|
138
138
|
|
|
@@ -143,11 +143,11 @@ export declare interface ButtonProps extends React_2.ButtonHTMLAttributes<HTMLBu
|
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
export declare const buttonVariants: (props?: ({
|
|
146
|
-
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
|
|
147
|
-
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;
|
|
148
148
|
} & ClassProp) | undefined) => string;
|
|
149
149
|
|
|
150
|
-
export declare function Calendar({ selected, onSelect, className, disabled, }: CalendarProps):
|
|
150
|
+
export declare function Calendar({ selected, onSelect, className, disabled, }: CalendarProps): JSX_2.Element;
|
|
151
151
|
|
|
152
152
|
export declare namespace Calendar {
|
|
153
153
|
var displayName: string;
|
|
@@ -160,7 +160,7 @@ export declare interface CalendarProps {
|
|
|
160
160
|
disabled?: (date: Date) => boolean;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
export declare const Card: React_2.ForwardRefExoticComponent<
|
|
163
|
+
export declare const Card: React_2.ForwardRefExoticComponent<CardProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
164
164
|
|
|
165
165
|
export declare const CardContent: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
166
166
|
|
|
@@ -170,8 +170,15 @@ export declare const CardFooter: React_2.ForwardRefExoticComponent<React_2.HTMLA
|
|
|
170
170
|
|
|
171
171
|
export declare const CardHeader: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
172
172
|
|
|
173
|
+
export declare interface CardProps extends React_2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
|
|
174
|
+
}
|
|
175
|
+
|
|
173
176
|
export declare const CardTitle: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLHeadingElement> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
174
177
|
|
|
178
|
+
export declare const cardVariants: (props?: ({
|
|
179
|
+
variant?: "default" | "ghost" | "elevated" | "glass" | null | undefined;
|
|
180
|
+
} & ClassProp) | undefined) => string;
|
|
181
|
+
|
|
175
182
|
export declare const Carousel: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & CarouselProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
176
183
|
|
|
177
184
|
export declare type CarouselApi = UseEmblaCarouselType[1];
|
|
@@ -205,9 +212,9 @@ export declare const Checkbox: React_2.ForwardRefExoticComponent<Omit<CheckboxPr
|
|
|
205
212
|
|
|
206
213
|
export declare function cn(...inputs: ClassValue[]): string;
|
|
207
214
|
|
|
208
|
-
export declare function Code({ className, ...props }: CodeProps):
|
|
215
|
+
export declare function Code({ className, ...props }: CodeProps): JSX_2.Element;
|
|
209
216
|
|
|
210
|
-
export declare function CodeBlock({ code, language, showLineNumbers, className, }: CodeBlockProps):
|
|
217
|
+
export declare function CodeBlock({ code, language, showLineNumbers, className, }: CodeBlockProps): JSX_2.Element;
|
|
211
218
|
|
|
212
219
|
export declare interface CodeBlockProps {
|
|
213
220
|
code: string;
|
|
@@ -225,7 +232,7 @@ export declare const CollapsibleContent: React_2.ForwardRefExoticComponent<Omit<
|
|
|
225
232
|
|
|
226
233
|
export declare const CollapsibleTrigger: React_2.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
227
234
|
|
|
228
|
-
export declare function ColorPicker({ value, onChange, disabled, className, }: ColorPickerProps):
|
|
235
|
+
export declare function ColorPicker({ value, onChange, disabled, className, }: ColorPickerProps): JSX_2.Element;
|
|
229
236
|
|
|
230
237
|
export declare interface ColorPickerProps {
|
|
231
238
|
value?: string;
|
|
@@ -234,7 +241,7 @@ export declare interface ColorPickerProps {
|
|
|
234
241
|
className?: string;
|
|
235
242
|
}
|
|
236
243
|
|
|
237
|
-
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;
|
|
238
245
|
|
|
239
246
|
export declare interface ComboboxOption {
|
|
240
247
|
value: string;
|
|
@@ -270,7 +277,7 @@ export declare const Command: React_2.ForwardRefExoticComponent<Omit<{
|
|
|
270
277
|
vimBindings?: boolean;
|
|
271
278
|
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
272
279
|
|
|
273
|
-
export declare const CommandDialog: ({ children, ...props }: CommandDialogProps) =>
|
|
280
|
+
export declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => JSX_2.Element;
|
|
274
281
|
|
|
275
282
|
declare interface CommandDialogProps extends DialogProps {
|
|
276
283
|
}
|
|
@@ -337,7 +344,7 @@ export declare const CommandSeparator: React_2.ForwardRefExoticComponent<Omit<Pi
|
|
|
337
344
|
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
338
345
|
|
|
339
346
|
export declare const CommandShortcut: {
|
|
340
|
-
({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>):
|
|
347
|
+
({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>): JSX_2.Element;
|
|
341
348
|
displayName: string;
|
|
342
349
|
};
|
|
343
350
|
|
|
@@ -373,7 +380,7 @@ export declare const ContextMenuRadioItem: React_2.ForwardRefExoticComponent<Omi
|
|
|
373
380
|
export declare const ContextMenuSeparator: React_2.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSeparatorProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
374
381
|
|
|
375
382
|
export declare const ContextMenuShortcut: {
|
|
376
|
-
({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>):
|
|
383
|
+
({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>): JSX_2.Element;
|
|
377
384
|
displayName: string;
|
|
378
385
|
};
|
|
379
386
|
|
|
@@ -394,13 +401,13 @@ declare interface CopyInputProps extends React_2.InputHTMLAttributes<HTMLInputEl
|
|
|
394
401
|
value: string;
|
|
395
402
|
}
|
|
396
403
|
|
|
397
|
-
export declare function DataTable<TData, TValue>({ columns, data, searchKey, searchPlaceholder, pageSize, }: DataTableProps<TData, TValue>):
|
|
404
|
+
export declare function DataTable<TData, TValue>({ columns, data, searchKey, searchPlaceholder, pageSize, }: DataTableProps<TData, TValue>): JSX_2.Element;
|
|
398
405
|
|
|
399
406
|
export declare function DataTableColumnHeader({ column, title, className, }: {
|
|
400
407
|
column: any;
|
|
401
408
|
title: string;
|
|
402
409
|
className?: string;
|
|
403
|
-
}):
|
|
410
|
+
}): JSX_2.Element;
|
|
404
411
|
|
|
405
412
|
export declare interface DataTableProps<TData, TValue> {
|
|
406
413
|
columns: ColumnDef<TData, TValue>[];
|
|
@@ -410,7 +417,7 @@ export declare interface DataTableProps<TData, TValue> {
|
|
|
410
417
|
pageSize?: number;
|
|
411
418
|
}
|
|
412
419
|
|
|
413
|
-
export declare function DatePicker({ value, onChange, placeholder, disabled, className, }: DatePickerProps):
|
|
420
|
+
export declare function DatePicker({ value, onChange, placeholder, disabled, className, }: DatePickerProps): JSX_2.Element;
|
|
414
421
|
|
|
415
422
|
export declare interface DatePickerProps {
|
|
416
423
|
value?: Date;
|
|
@@ -429,12 +436,12 @@ export declare const DialogContent: React_2.ForwardRefExoticComponent<Omit<Dialo
|
|
|
429
436
|
export declare const DialogDescription: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
430
437
|
|
|
431
438
|
export declare const DialogFooter: {
|
|
432
|
-
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>):
|
|
439
|
+
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
433
440
|
displayName: string;
|
|
434
441
|
};
|
|
435
442
|
|
|
436
443
|
export declare const DialogHeader: {
|
|
437
|
-
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>):
|
|
444
|
+
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
438
445
|
displayName: string;
|
|
439
446
|
};
|
|
440
447
|
|
|
@@ -471,7 +478,7 @@ export declare const DropdownMenuRadioItem: React_2.ForwardRefExoticComponent<Om
|
|
|
471
478
|
export declare const DropdownMenuSeparator: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
472
479
|
|
|
473
480
|
export declare const DropdownMenuShortcut: {
|
|
474
|
-
({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>):
|
|
481
|
+
({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>): JSX_2.Element;
|
|
475
482
|
displayName: string;
|
|
476
483
|
};
|
|
477
484
|
|
|
@@ -485,7 +492,7 @@ export declare const DropdownMenuSubTrigger: React_2.ForwardRefExoticComponent<O
|
|
|
485
492
|
|
|
486
493
|
export declare const DropdownMenuTrigger: React_2.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
487
494
|
|
|
488
|
-
export declare function EmptyState({ icon, title, description, action, className, }: EmptyStateProps):
|
|
495
|
+
export declare function EmptyState({ icon, title, description, action, className, }: EmptyStateProps): JSX_2.Element;
|
|
489
496
|
|
|
490
497
|
export declare interface EmptyStateProps {
|
|
491
498
|
icon?: React_2.ReactNode;
|
|
@@ -495,7 +502,7 @@ export declare interface EmptyStateProps {
|
|
|
495
502
|
className?: string;
|
|
496
503
|
}
|
|
497
504
|
|
|
498
|
-
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;
|
|
499
506
|
|
|
500
507
|
export declare interface FileUploadProps {
|
|
501
508
|
accept?: string;
|
|
@@ -530,14 +537,14 @@ export declare interface GridProps extends React_2.HTMLAttributes<HTMLDivElement
|
|
|
530
537
|
|
|
531
538
|
export declare const Header: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLElement> & React_2.RefAttributes<HTMLElement>>;
|
|
532
539
|
|
|
533
|
-
export declare function Heading({ className, level, as, children, ...props }: HeadingProps):
|
|
540
|
+
export declare function Heading({ className, level, as, children, ...props }: HeadingProps): JSX_2.Element;
|
|
534
541
|
|
|
535
542
|
export declare interface HeadingProps extends React_2.HTMLAttributes<HTMLHeadingElement>, VariantProps<typeof headingVariants> {
|
|
536
543
|
as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
537
544
|
}
|
|
538
545
|
|
|
539
546
|
export declare const headingVariants: (props?: ({
|
|
540
|
-
level?: 1 | 2 |
|
|
547
|
+
level?: 1 | 2 | 3 | 4 | 5 | 6 | null | undefined;
|
|
541
548
|
} & ClassProp) | undefined) => string;
|
|
542
549
|
|
|
543
550
|
export declare const HoverCard: React_2.FC<HoverCardPrimitive.HoverCardProps>;
|
|
@@ -550,7 +557,13 @@ export declare const HStack: React_2.ForwardRefExoticComponent<StackProps & Reac
|
|
|
550
557
|
|
|
551
558
|
export declare const Input: React_2.ForwardRefExoticComponent<InputProps & React_2.RefAttributes<HTMLInputElement>>;
|
|
552
559
|
|
|
553
|
-
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;
|
|
554
567
|
|
|
555
568
|
export declare const JsonViewer: React_2.ForwardRefExoticComponent<JsonViewerProps & React_2.RefAttributes<HTMLPreElement>>;
|
|
556
569
|
|
|
@@ -560,14 +573,14 @@ declare interface JsonViewerProps extends React_2.HTMLAttributes<HTMLPreElement>
|
|
|
560
573
|
|
|
561
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>>;
|
|
562
575
|
|
|
563
|
-
export declare function Lead({ className, ...props }: LeadProps):
|
|
576
|
+
export declare function Lead({ className, ...props }: LeadProps): JSX_2.Element;
|
|
564
577
|
|
|
565
578
|
export declare interface LeadProps extends React_2.HTMLAttributes<HTMLParagraphElement> {
|
|
566
579
|
}
|
|
567
580
|
|
|
568
581
|
export declare const Main: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLElement> & React_2.RefAttributes<HTMLElement>>;
|
|
569
582
|
|
|
570
|
-
export declare function MetricCard({ title, value, description, trend, trendLabel, icon, className, ...props }: MetricCardProps):
|
|
583
|
+
export declare function MetricCard({ title, value, description, trend, trendLabel, icon, className, ...props }: MetricCardProps): JSX_2.Element;
|
|
571
584
|
|
|
572
585
|
declare interface MetricCardProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
573
586
|
title: string;
|
|
@@ -578,7 +591,7 @@ declare interface MetricCardProps extends React_2.HTMLAttributes<HTMLDivElement>
|
|
|
578
591
|
icon?: React_2.ReactNode;
|
|
579
592
|
}
|
|
580
593
|
|
|
581
|
-
export declare function Muted({ className, ...props }: MutedProps):
|
|
594
|
+
export declare function Muted({ className, ...props }: MutedProps): JSX_2.Element;
|
|
582
595
|
|
|
583
596
|
export declare interface MutedProps extends React_2.HTMLAttributes<HTMLParagraphElement> {
|
|
584
597
|
}
|
|
@@ -601,7 +614,7 @@ export declare const navigationMenuTriggerStyle: (props?: ClassProp | undefined)
|
|
|
601
614
|
|
|
602
615
|
export declare const NavigationMenuViewport: React_2.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
603
616
|
|
|
604
|
-
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;
|
|
605
618
|
|
|
606
619
|
export declare interface NumberInputProps {
|
|
607
620
|
value?: number;
|
|
@@ -613,7 +626,7 @@ export declare interface NumberInputProps {
|
|
|
613
626
|
className?: string;
|
|
614
627
|
}
|
|
615
628
|
|
|
616
|
-
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;
|
|
617
630
|
|
|
618
631
|
export declare interface OTPInputProps {
|
|
619
632
|
length?: number;
|
|
@@ -625,21 +638,21 @@ export declare interface OTPInputProps {
|
|
|
625
638
|
}
|
|
626
639
|
|
|
627
640
|
export declare const Pagination: {
|
|
628
|
-
({ className, ...props }: React_2.ComponentProps<"nav">):
|
|
641
|
+
({ className, ...props }: React_2.ComponentProps<"nav">): JSX_2.Element;
|
|
629
642
|
displayName: string;
|
|
630
643
|
};
|
|
631
644
|
|
|
632
645
|
export declare const PaginationContent: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React_2.RefAttributes<HTMLUListElement>>;
|
|
633
646
|
|
|
634
647
|
export declare const PaginationEllipsis: {
|
|
635
|
-
({ className, ...props }: React_2.ComponentProps<"span">):
|
|
648
|
+
({ className, ...props }: React_2.ComponentProps<"span">): JSX_2.Element;
|
|
636
649
|
displayName: string;
|
|
637
650
|
};
|
|
638
651
|
|
|
639
652
|
export declare const PaginationItem: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React_2.RefAttributes<HTMLLIElement>>;
|
|
640
653
|
|
|
641
654
|
export declare const PaginationLink: {
|
|
642
|
-
({ className, isActive, size, ...props }: PaginationLinkProps):
|
|
655
|
+
({ className, isActive, size, ...props }: PaginationLinkProps): JSX_2.Element;
|
|
643
656
|
displayName: string;
|
|
644
657
|
};
|
|
645
658
|
|
|
@@ -648,12 +661,12 @@ declare type PaginationLinkProps = {
|
|
|
648
661
|
} & Pick<ButtonProps, "size"> & React_2.ComponentProps<"a">;
|
|
649
662
|
|
|
650
663
|
export declare const PaginationNext: {
|
|
651
|
-
({ className, ...props }: React_2.ComponentProps<typeof PaginationLink>):
|
|
664
|
+
({ className, ...props }: React_2.ComponentProps<typeof PaginationLink>): JSX_2.Element;
|
|
652
665
|
displayName: string;
|
|
653
666
|
};
|
|
654
667
|
|
|
655
668
|
export declare const PaginationPrevious: {
|
|
656
|
-
({ className, ...props }: React_2.ComponentProps<typeof PaginationLink>):
|
|
669
|
+
({ className, ...props }: React_2.ComponentProps<typeof PaginationLink>): JSX_2.Element;
|
|
657
670
|
displayName: string;
|
|
658
671
|
};
|
|
659
672
|
|
|
@@ -715,14 +728,14 @@ export { SheetDescription as DrawerDescription }
|
|
|
715
728
|
export { SheetDescription }
|
|
716
729
|
|
|
717
730
|
declare const SheetFooter: {
|
|
718
|
-
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>):
|
|
731
|
+
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
719
732
|
displayName: string;
|
|
720
733
|
};
|
|
721
734
|
export { SheetFooter as DrawerFooter }
|
|
722
735
|
export { SheetFooter }
|
|
723
736
|
|
|
724
737
|
declare const SheetHeader: {
|
|
725
|
-
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>):
|
|
738
|
+
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
726
739
|
displayName: string;
|
|
727
740
|
};
|
|
728
741
|
export { SheetHeader as DrawerHeader }
|
|
@@ -746,7 +759,7 @@ declare const sheetVariants: (props?: ({
|
|
|
746
759
|
|
|
747
760
|
export declare const Sidebar: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
748
761
|
|
|
749
|
-
export declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>):
|
|
762
|
+
export declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
750
763
|
|
|
751
764
|
export declare const Slider: React_2.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React_2.RefAttributes<HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
|
|
752
765
|
|
|
@@ -755,7 +768,7 @@ export declare interface StackProps extends React_2.HTMLAttributes<HTMLDivElemen
|
|
|
755
768
|
align?: "start" | "end" | "center" | "stretch";
|
|
756
769
|
}
|
|
757
770
|
|
|
758
|
-
export declare function StatusBadge({ className, status, dot, children, ...props }: StatusBadgeProps):
|
|
771
|
+
export declare function StatusBadge({ className, status, dot, children, ...props }: StatusBadgeProps): JSX_2.Element;
|
|
759
772
|
|
|
760
773
|
export declare interface StatusBadgeProps extends React_2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof statusBadgeVariants> {
|
|
761
774
|
dot?: boolean;
|
|
@@ -765,7 +778,7 @@ declare const statusBadgeVariants: (props?: ({
|
|
|
765
778
|
status?: "error" | "success" | "neutral" | "warning" | "info" | null | undefined;
|
|
766
779
|
} & ClassProp) | undefined) => string;
|
|
767
780
|
|
|
768
|
-
export declare function Stepper({ steps, activeStep, orientation, className, }: StepperProps):
|
|
781
|
+
export declare function Stepper({ steps, activeStep, orientation, className, }: StepperProps): JSX_2.Element;
|
|
769
782
|
|
|
770
783
|
export declare interface StepperProps {
|
|
771
784
|
steps: StepProps[];
|
|
@@ -805,7 +818,7 @@ export declare const TabsList: React_2.ForwardRefExoticComponent<Omit<TabsPrimit
|
|
|
805
818
|
|
|
806
819
|
export declare const TabsTrigger: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
807
820
|
|
|
808
|
-
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;
|
|
809
822
|
|
|
810
823
|
export declare interface TagInputProps {
|
|
811
824
|
values?: string[];
|
|
@@ -816,7 +829,7 @@ export declare interface TagInputProps {
|
|
|
816
829
|
maxTags?: number;
|
|
817
830
|
}
|
|
818
831
|
|
|
819
|
-
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;
|
|
820
833
|
export { Text_2 as Text }
|
|
821
834
|
|
|
822
835
|
export declare const Textarea: React_2.ForwardRefExoticComponent<TextareaProps & React_2.RefAttributes<HTMLTextAreaElement>>;
|
|
@@ -830,7 +843,7 @@ export declare interface TextProps extends VariantProps<typeof textVariants> {
|
|
|
830
843
|
}
|
|
831
844
|
|
|
832
845
|
export declare const textVariants: (props?: ({
|
|
833
|
-
size?: "sm" | "lg" | "
|
|
846
|
+
size?: "sm" | "lg" | "xl" | "base" | "xs" | null | undefined;
|
|
834
847
|
weight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
|
|
835
848
|
variant?: "default" | "destructive" | "muted" | "primary" | "success" | null | undefined;
|
|
836
849
|
leading?: "normal" | "tight" | "relaxed" | null | undefined;
|
|
@@ -846,7 +859,7 @@ export declare const TimelineIcon: React_2.ForwardRefExoticComponent<React_2.HTM
|
|
|
846
859
|
|
|
847
860
|
export declare const TimelineItem: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
848
861
|
|
|
849
|
-
export declare function TimePicker({ value, onChange, is24Hour, disabled, className, }: TimePickerProps):
|
|
862
|
+
export declare function TimePicker({ value, onChange, is24Hour, disabled, className, }: TimePickerProps): JSX_2.Element;
|
|
850
863
|
|
|
851
864
|
export declare interface TimePickerProps {
|
|
852
865
|
value?: {
|
|
@@ -862,7 +875,7 @@ export declare interface TimePickerProps {
|
|
|
862
875
|
className?: string;
|
|
863
876
|
}
|
|
864
877
|
|
|
865
|
-
export declare const Toaster: ({ ...props }: ToasterProps) =>
|
|
878
|
+
export declare const Toaster: ({ ...props }: ToasterProps) => JSX_2.Element;
|
|
866
879
|
|
|
867
880
|
declare type ToasterProps = React.ComponentProps<typeof Toaster_2>;
|
|
868
881
|
|