reend-components 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/cli.cjs +249 -6
- package/dist/lib/index.cjs +4 -1
- package/dist/lib/index.cjs.map +1 -1
- package/dist/lib/index.d.ts +574 -19
- package/dist/lib/index.mjs +4414 -1403
- package/dist/lib/index.mjs.map +1 -1
- package/dist/lib/style.css +1 -1
- package/package.json +10 -1
- package/src/styles/utilities.css +580 -0
- package/src/styles/variables.css +250 -14
- package/src/tailwind-preset.ts +194 -15
package/dist/lib/index.d.ts
CHANGED
|
@@ -5,6 +5,9 @@ import { ClassProp } from 'class-variance-authority/types';
|
|
|
5
5
|
import { ClassValue } from 'clsx';
|
|
6
6
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
7
7
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
8
|
+
import { Panel } from 'react-resizable-panels';
|
|
9
|
+
import { Group as PanelGroup } from 'react-resizable-panels';
|
|
10
|
+
import { Separator as PanelResizeHandle } from 'react-resizable-panels';
|
|
8
11
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
9
12
|
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
10
13
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
@@ -17,6 +20,11 @@ import { toast } from 'sonner';
|
|
|
17
20
|
import { Toaster as Toaster_2 } from 'sonner';
|
|
18
21
|
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
19
22
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
23
|
+
import { useFocusTrap } from '../../hooks/use-focus-trap';
|
|
24
|
+
import { useInView } from '../../hooks/use-in-view';
|
|
25
|
+
import { UseInViewOptions } from '../../hooks/use-in-view';
|
|
26
|
+
import { useShortcut } from '../../hooks/use-shortcut';
|
|
27
|
+
import { useStagger } from '../../hooks/use-stagger';
|
|
20
28
|
import { VariantProps } from 'class-variance-authority';
|
|
21
29
|
|
|
22
30
|
export declare const Accordion: React_2.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -29,7 +37,7 @@ export declare const AccordionTrigger: React_2.ForwardRefExoticComponent<Omit<Ac
|
|
|
29
37
|
|
|
30
38
|
export declare const Alert: React_2.ForwardRefExoticComponent<AlertProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
31
39
|
|
|
32
|
-
declare interface AlertProps extends React_2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
|
|
40
|
+
export declare interface AlertProps extends React_2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
|
|
33
41
|
variant?: "info" | "success" | "warning" | "error";
|
|
34
42
|
title?: string;
|
|
35
43
|
dismissible?: boolean;
|
|
@@ -38,7 +46,7 @@ declare interface AlertProps extends React_2.HTMLAttributes<HTMLDivElement>, Var
|
|
|
38
46
|
}
|
|
39
47
|
|
|
40
48
|
export declare const alertVariants: (props?: ({
|
|
41
|
-
variant?: "
|
|
49
|
+
variant?: "error" | "success" | "warning" | "info" | null | undefined;
|
|
42
50
|
} & ClassProp) | undefined) => string;
|
|
43
51
|
|
|
44
52
|
export declare const Avatar: React_2.ForwardRefExoticComponent<AvatarProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
@@ -55,6 +63,13 @@ export declare const avatarVariants: (props?: ({
|
|
|
55
63
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
|
|
56
64
|
} & ClassProp) | undefined) => string;
|
|
57
65
|
|
|
66
|
+
export declare const BackToTop: React_2.ForwardRefExoticComponent<BackToTopProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
67
|
+
|
|
68
|
+
export declare interface BackToTopProps extends React_2.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
69
|
+
threshold?: number;
|
|
70
|
+
smooth?: boolean;
|
|
71
|
+
}
|
|
72
|
+
|
|
58
73
|
export declare const Badge: React_2.ForwardRefExoticComponent<BadgeProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
59
74
|
|
|
60
75
|
declare interface BadgeProps extends React_2.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
|
|
@@ -71,9 +86,27 @@ declare interface BadgeProps extends React_2.HTMLAttributes<HTMLSpanElement>, Va
|
|
|
71
86
|
}
|
|
72
87
|
|
|
73
88
|
export declare const badgeVariants: (props?: ({
|
|
74
|
-
variant?: "default" | "
|
|
89
|
+
variant?: "default" | "success" | "warning" | "info" | "primary" | "danger" | "purple" | null | undefined;
|
|
75
90
|
} & ClassProp) | undefined) => string;
|
|
76
91
|
|
|
92
|
+
export declare const BottomSheet: {
|
|
93
|
+
({ open, onClose, title, children, maxHeight, snapPoints, initialSnap, className, }: BottomSheetProps): React_2.ReactPortal | null;
|
|
94
|
+
displayName: string;
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
export declare interface BottomSheetProps {
|
|
98
|
+
open: boolean;
|
|
99
|
+
onClose: () => void;
|
|
100
|
+
title?: string;
|
|
101
|
+
children: React_2.ReactNode;
|
|
102
|
+
maxHeight?: string;
|
|
103
|
+
/** Snap points as fraction of viewport height (0-1). Default: [0.5] */
|
|
104
|
+
snapPoints?: number[];
|
|
105
|
+
/** Initial snap point index (into the snapPoints array). Default: 0 */
|
|
106
|
+
initialSnap?: number;
|
|
107
|
+
className?: string;
|
|
108
|
+
}
|
|
109
|
+
|
|
77
110
|
export declare const Breadcrumb: React_2.ForwardRefExoticComponent<BreadcrumbProps & React_2.RefAttributes<HTMLElement>>;
|
|
78
111
|
|
|
79
112
|
export declare interface BreadcrumbItemData {
|
|
@@ -103,7 +136,7 @@ declare interface ButtonProps extends React_2.ButtonHTMLAttributes<HTMLButtonEle
|
|
|
103
136
|
}
|
|
104
137
|
|
|
105
138
|
export declare const buttonVariants: (props?: ({
|
|
106
|
-
variant?: "link" | "
|
|
139
|
+
variant?: "link" | "icon" | "primary" | "secondary" | "ghost" | "danger" | null | undefined;
|
|
107
140
|
size?: "icon" | "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
108
141
|
} & ClassProp) | undefined) => string;
|
|
109
142
|
|
|
@@ -139,6 +172,22 @@ export declare const cardVariants: (props?: ({
|
|
|
139
172
|
selected?: boolean | null | undefined;
|
|
140
173
|
} & ClassProp) | undefined) => string;
|
|
141
174
|
|
|
175
|
+
export declare const Carousel: React_2.ForwardRefExoticComponent<CarouselProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
176
|
+
|
|
177
|
+
export declare const CarouselItem: React_2.ForwardRefExoticComponent<CarouselItemProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
178
|
+
|
|
179
|
+
export declare type CarouselItemProps = React_2.HTMLAttributes<HTMLDivElement>;
|
|
180
|
+
|
|
181
|
+
export declare interface CarouselProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
182
|
+
autoPlay?: boolean;
|
|
183
|
+
autoPlayInterval?: number;
|
|
184
|
+
showDots?: boolean;
|
|
185
|
+
showArrows?: boolean;
|
|
186
|
+
loop?: boolean;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
export declare const CHART_COLORS: readonly ["var(--chart-1)", "var(--chart-2)", "var(--chart-3)", "var(--chart-4)", "var(--chart-5)", "var(--chart-6)", "var(--chart-7)", "var(--chart-8)"];
|
|
190
|
+
|
|
142
191
|
export declare const Checkbox: React_2.ForwardRefExoticComponent<CheckboxProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
143
192
|
|
|
144
193
|
declare interface CheckboxProps extends React_2.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root> {
|
|
@@ -148,6 +197,18 @@ declare interface CheckboxProps extends React_2.ComponentPropsWithoutRef<typeof
|
|
|
148
197
|
|
|
149
198
|
export declare function cn(...inputs: ClassValue[]): string;
|
|
150
199
|
|
|
200
|
+
export declare interface CommandGroup {
|
|
201
|
+
label: string;
|
|
202
|
+
items: CommandItem[];
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
export declare interface CommandItem {
|
|
206
|
+
id: string;
|
|
207
|
+
label: string;
|
|
208
|
+
recent?: boolean;
|
|
209
|
+
onSelect?: () => void;
|
|
210
|
+
}
|
|
211
|
+
|
|
151
212
|
export declare const CommandOutput: React_2.ForwardRefExoticComponent<CommandOutputProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
152
213
|
|
|
153
214
|
export declare interface CommandOutputProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
@@ -160,6 +221,54 @@ export declare interface CommandOutputProps extends React_2.HTMLAttributes<HTMLD
|
|
|
160
221
|
showTimestamp?: boolean;
|
|
161
222
|
}
|
|
162
223
|
|
|
224
|
+
export declare const CommandPalette: {
|
|
225
|
+
({ open, onOpenChange, groups, onSelect, placeholder, }: CommandPaletteProps): JSX_2.Element | null;
|
|
226
|
+
displayName: string;
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
export declare interface CommandPaletteProps {
|
|
230
|
+
open: boolean;
|
|
231
|
+
onOpenChange: (open: boolean) => void;
|
|
232
|
+
groups: CommandGroup[];
|
|
233
|
+
onSelect?: (item: CommandItem) => void;
|
|
234
|
+
placeholder?: string;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
export declare const ContextMenu: {
|
|
238
|
+
({ children, groups, items, className, }: ContextMenuProps): JSX_2.Element;
|
|
239
|
+
displayName: string;
|
|
240
|
+
};
|
|
241
|
+
|
|
242
|
+
export declare interface ContextMenuGroup {
|
|
243
|
+
label?: string;
|
|
244
|
+
items: ContextMenuItem[];
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
export declare interface ContextMenuItem {
|
|
248
|
+
label: string;
|
|
249
|
+
shortcut?: string;
|
|
250
|
+
onClick?: () => void;
|
|
251
|
+
variant?: "default" | "danger";
|
|
252
|
+
disabled?: boolean;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
export declare interface ContextMenuProps {
|
|
256
|
+
children: React_2.ReactNode;
|
|
257
|
+
groups?: ContextMenuGroup[];
|
|
258
|
+
items?: ContextMenuItem[];
|
|
259
|
+
className?: string;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export declare const CookieConsent: React_2.ForwardRefExoticComponent<CookieConsentProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
263
|
+
|
|
264
|
+
export declare interface CookieConsentProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
265
|
+
message?: string;
|
|
266
|
+
onAccept: () => void;
|
|
267
|
+
onCustomize?: () => void;
|
|
268
|
+
acceptLabel?: string;
|
|
269
|
+
customizeLabel?: string;
|
|
270
|
+
}
|
|
271
|
+
|
|
163
272
|
export declare const CoordinateTag: React_2.ForwardRefExoticComponent<CoordinateTagProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
164
273
|
|
|
165
274
|
export declare interface CoordinateTagProps {
|
|
@@ -169,6 +278,14 @@ export declare interface CoordinateTagProps {
|
|
|
169
278
|
className?: string;
|
|
170
279
|
}
|
|
171
280
|
|
|
281
|
+
export declare const CopyClipboard: React_2.ForwardRefExoticComponent<CopyClipboardProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
282
|
+
|
|
283
|
+
export declare interface CopyClipboardProps extends React_2.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
284
|
+
text: string;
|
|
285
|
+
resetDelay?: number;
|
|
286
|
+
onCopy?: () => void;
|
|
287
|
+
}
|
|
288
|
+
|
|
172
289
|
declare const countdownDigitVariants: (props?: ({
|
|
173
290
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
174
291
|
} & ClassProp) | undefined) => string;
|
|
@@ -197,6 +314,32 @@ export declare interface DataStreamProps extends Omit<React_2.HTMLAttributes<HTM
|
|
|
197
314
|
messageType?: MessageColorMode;
|
|
198
315
|
}
|
|
199
316
|
|
|
317
|
+
export declare const DatePicker: React_2.ForwardRefExoticComponent<DatePickerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
318
|
+
|
|
319
|
+
export declare interface DatePickerProps {
|
|
320
|
+
value?: string;
|
|
321
|
+
onChange?: (value: string) => void;
|
|
322
|
+
placeholder?: string;
|
|
323
|
+
size?: "sm" | "md" | "lg";
|
|
324
|
+
error?: boolean | string;
|
|
325
|
+
label?: string;
|
|
326
|
+
/** Dates before minDate are disabled */
|
|
327
|
+
minDate?: string;
|
|
328
|
+
/** Dates after maxDate are disabled */
|
|
329
|
+
maxDate?: string;
|
|
330
|
+
disabled?: boolean;
|
|
331
|
+
className?: string;
|
|
332
|
+
id?: string;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
export declare const DescriptionDetail: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLElement> & React_2.RefAttributes<HTMLElement>>;
|
|
336
|
+
|
|
337
|
+
export declare const DescriptionList: React_2.ForwardRefExoticComponent<DescriptionListProps & React_2.RefAttributes<HTMLDListElement>>;
|
|
338
|
+
|
|
339
|
+
declare type DescriptionListProps = React_2.HTMLAttributes<HTMLDListElement>;
|
|
340
|
+
|
|
341
|
+
export declare const DescriptionTerm: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLElement> & React_2.RefAttributes<HTMLElement>>;
|
|
342
|
+
|
|
200
343
|
export declare const Dialog: React_2.FC<DialogPrimitive.DialogProps>;
|
|
201
344
|
|
|
202
345
|
export declare const DialogClose: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
@@ -240,6 +383,31 @@ export declare interface DiamondLoaderProps {
|
|
|
240
383
|
className?: string;
|
|
241
384
|
}
|
|
242
385
|
|
|
386
|
+
export declare const Dropdown: {
|
|
387
|
+
({ trigger, groups, items, align, sideOffset, }: DropdownProps): JSX_2.Element;
|
|
388
|
+
displayName: string;
|
|
389
|
+
};
|
|
390
|
+
|
|
391
|
+
export declare interface DropdownGroup {
|
|
392
|
+
label?: string;
|
|
393
|
+
items: DropdownItem[];
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
export declare interface DropdownItem {
|
|
397
|
+
label: string;
|
|
398
|
+
onClick?: () => void;
|
|
399
|
+
variant?: "default" | "danger";
|
|
400
|
+
disabled?: boolean;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
export declare interface DropdownProps {
|
|
404
|
+
trigger: React_2.ReactNode;
|
|
405
|
+
groups?: DropdownGroup[];
|
|
406
|
+
items?: DropdownItem[];
|
|
407
|
+
align?: "start" | "end" | "center";
|
|
408
|
+
sideOffset?: number;
|
|
409
|
+
}
|
|
410
|
+
|
|
243
411
|
export declare const EmptyState: React_2.ForwardRefExoticComponent<EmptyStateProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
244
412
|
|
|
245
413
|
declare interface EmptyStateProps extends React_2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof emptyStateVariants> {
|
|
@@ -247,13 +415,101 @@ declare interface EmptyStateProps extends React_2.HTMLAttributes<HTMLDivElement>
|
|
|
247
415
|
title?: string;
|
|
248
416
|
description?: string;
|
|
249
417
|
action?: React_2.ReactNode;
|
|
250
|
-
variant?: "default" | "search" | "error" | "permission" | "empty";
|
|
418
|
+
variant?: "default" | "search" | "empty-list" | "no-notifications" | "error-loading" | "no-permission" | "empty-filter" | "inbox-zero" | "no-connection" | "error" | "permission" | "empty";
|
|
251
419
|
}
|
|
252
420
|
|
|
253
421
|
export declare const emptyStateVariants: (props?: ({
|
|
254
422
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
255
423
|
} & ClassProp) | undefined) => string;
|
|
256
424
|
|
|
425
|
+
export declare const endfieldChartTheme: {
|
|
426
|
+
readonly backgroundColor: "transparent";
|
|
427
|
+
readonly style: {
|
|
428
|
+
readonly fontFamily: "JetBrains Mono, monospace";
|
|
429
|
+
readonly fontSize: 11;
|
|
430
|
+
};
|
|
431
|
+
readonly tick: {
|
|
432
|
+
readonly fill: "hsl(var(--muted-foreground))";
|
|
433
|
+
};
|
|
434
|
+
readonly grid: {
|
|
435
|
+
readonly stroke: "hsl(var(--border))";
|
|
436
|
+
};
|
|
437
|
+
};
|
|
438
|
+
|
|
439
|
+
export declare const FileUpload: React_2.ForwardRefExoticComponent<FileUploadProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
440
|
+
|
|
441
|
+
export declare interface FileUploadProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
442
|
+
accept?: string;
|
|
443
|
+
multiple?: boolean;
|
|
444
|
+
/** Max file size in bytes */
|
|
445
|
+
maxSize?: number;
|
|
446
|
+
onFileSelect?: (files: File[]) => void;
|
|
447
|
+
state?: FileUploadState;
|
|
448
|
+
/** Overall upload progress 0–100 (used when state=uploading) */
|
|
449
|
+
progress?: number;
|
|
450
|
+
error?: string;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
export declare type FileUploadState = "idle" | "hover" | "dragging" | "drag-invalid" | "uploading" | "success" | "error" | "disabled";
|
|
454
|
+
|
|
455
|
+
export declare const FilterBar: React_2.ForwardRefExoticComponent<FilterBarProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
456
|
+
|
|
457
|
+
export declare interface FilterBarProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
458
|
+
filters: {
|
|
459
|
+
id: string;
|
|
460
|
+
label: string;
|
|
461
|
+
options: FilterOption[];
|
|
462
|
+
}[];
|
|
463
|
+
activeFilters?: Record<string, string[]>;
|
|
464
|
+
onFilterChange?: (id: string, values: string[]) => void;
|
|
465
|
+
onClearAll?: () => void;
|
|
466
|
+
chips?: {
|
|
467
|
+
label: string;
|
|
468
|
+
value: string;
|
|
469
|
+
filterId: string;
|
|
470
|
+
}[];
|
|
471
|
+
/** Placeholder text for the built-in search input (renders when onSearchChange or searchValue is provided) */
|
|
472
|
+
searchPlaceholder?: string;
|
|
473
|
+
/** Controlled value for the built-in search input */
|
|
474
|
+
searchValue?: string;
|
|
475
|
+
/** Called when the built-in search input value changes */
|
|
476
|
+
onSearchChange?: (value: string) => void;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
export declare const FilterChip: ({ label, onRemove, className }: FilterChipProps) => JSX_2.Element;
|
|
480
|
+
|
|
481
|
+
declare interface FilterChipProps {
|
|
482
|
+
label: string;
|
|
483
|
+
onRemove?: () => void;
|
|
484
|
+
className?: string;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
export declare interface FilterOption {
|
|
488
|
+
label: string;
|
|
489
|
+
value: string;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
export declare const Footer: React_2.ForwardRefExoticComponent<FooterProps & React_2.RefAttributes<HTMLElement>>;
|
|
493
|
+
|
|
494
|
+
export declare const FooterColumn: React_2.ForwardRefExoticComponent<FooterColumnProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
495
|
+
|
|
496
|
+
export declare interface FooterColumnProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
497
|
+
title: string;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
export declare const FooterLink: React_2.ForwardRefExoticComponent<FooterLinkProps & React_2.RefAttributes<HTMLAnchorElement>>;
|
|
501
|
+
|
|
502
|
+
export declare interface FooterLinkProps extends React_2.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
503
|
+
external?: boolean;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
export declare interface FooterProps extends React_2.HTMLAttributes<HTMLElement> {
|
|
507
|
+
brand?: string;
|
|
508
|
+
tagline?: string;
|
|
509
|
+
copyright?: string;
|
|
510
|
+
note?: string;
|
|
511
|
+
}
|
|
512
|
+
|
|
257
513
|
export declare const FrequencyBars: React_2.ForwardRefExoticComponent<FrequencyBarsProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
258
514
|
|
|
259
515
|
export declare interface FrequencyBarsProps extends Omit<React_2.HTMLAttributes<HTMLDivElement>, "color">, VariantProps<typeof frequencyBarsVariants> {
|
|
@@ -265,7 +521,7 @@ export declare interface FrequencyBarsProps extends Omit<React_2.HTMLAttributes<
|
|
|
265
521
|
}
|
|
266
522
|
|
|
267
523
|
export declare const frequencyBarsVariants: (props?: ({
|
|
268
|
-
color?: "muted" | "
|
|
524
|
+
color?: "muted" | "success" | "info" | "primary" | "danger" | null | undefined;
|
|
269
525
|
} & ClassProp) | undefined) => string;
|
|
270
526
|
|
|
271
527
|
export declare type GlitchIntensity = "low" | "medium" | "high";
|
|
@@ -319,12 +575,39 @@ declare interface InputProps extends Omit<React_2.InputHTMLAttributes<HTMLInputE
|
|
|
319
575
|
}
|
|
320
576
|
|
|
321
577
|
export declare const inputWrapperVariants: (props?: ({
|
|
322
|
-
state?: "default" | "
|
|
578
|
+
state?: "default" | "error" | "success" | null | undefined;
|
|
323
579
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
324
580
|
} & ClassProp) | undefined) => string;
|
|
325
581
|
|
|
326
582
|
export declare const Label: React_2.ForwardRefExoticComponent<React_2.LabelHTMLAttributes<HTMLLabelElement> & React_2.RefAttributes<HTMLLabelElement>>;
|
|
327
583
|
|
|
584
|
+
export declare const LinkCard: React_2.ForwardRefExoticComponent<LinkCardProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
585
|
+
|
|
586
|
+
export declare interface LinkCardProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
587
|
+
title: string;
|
|
588
|
+
icon?: React_2.ReactNode;
|
|
589
|
+
href?: string;
|
|
590
|
+
external?: boolean;
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
export declare const LinkList: React_2.ForwardRefExoticComponent<LinkListProps & React_2.RefAttributes<HTMLUListElement>>;
|
|
594
|
+
|
|
595
|
+
export declare const LinkListItem: React_2.ForwardRefExoticComponent<LinkListItemProps & React_2.RefAttributes<HTMLAnchorElement>>;
|
|
596
|
+
|
|
597
|
+
export declare interface LinkListItemProps extends React_2.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
598
|
+
description?: string;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
export declare type LinkListProps = React_2.HTMLAttributes<HTMLUListElement>;
|
|
602
|
+
|
|
603
|
+
export declare const List: React_2.ForwardRefExoticComponent<ListProps & React_2.RefAttributes<HTMLUListElement>>;
|
|
604
|
+
|
|
605
|
+
export declare const ListItem: React_2.ForwardRefExoticComponent<ListItemProps & React_2.RefAttributes<HTMLLIElement>>;
|
|
606
|
+
|
|
607
|
+
export declare type ListItemProps = React_2.HTMLAttributes<HTMLLIElement>;
|
|
608
|
+
|
|
609
|
+
export declare type ListProps = React_2.HTMLAttributes<HTMLUListElement>;
|
|
610
|
+
|
|
328
611
|
export declare interface LogEntry {
|
|
329
612
|
id?: string | number;
|
|
330
613
|
level: LogLevel;
|
|
@@ -363,7 +646,7 @@ export declare interface MissionCardProps extends React_2.HTMLAttributes<HTMLDiv
|
|
|
363
646
|
}
|
|
364
647
|
|
|
365
648
|
export declare const missionCardVariants: (props?: ({
|
|
366
|
-
priority?: "high" | "low" | "
|
|
649
|
+
priority?: "high" | "low" | "critical" | "medium" | null | undefined;
|
|
367
650
|
status?: "completed" | "active" | "classified" | "failed" | "pending" | null | undefined;
|
|
368
651
|
clickable?: boolean | null | undefined;
|
|
369
652
|
} & ClassProp) | undefined) => string;
|
|
@@ -372,6 +655,23 @@ export declare type MissionPriority = keyof typeof PRIORITY_CONFIG;
|
|
|
372
655
|
|
|
373
656
|
export declare type MissionStatus = keyof typeof STATUS_CONFIG;
|
|
374
657
|
|
|
658
|
+
export declare const notify: {
|
|
659
|
+
info: (msg: string, opts?: object) => string | number;
|
|
660
|
+
success: (msg: string, opts?: object) => string | number;
|
|
661
|
+
warning: (msg: string, opts?: object) => string | number;
|
|
662
|
+
error: (msg: string, opts?: object) => string | number;
|
|
663
|
+
};
|
|
664
|
+
|
|
665
|
+
export declare const NumberedList: React_2.ForwardRefExoticComponent<NumberedListProps & React_2.RefAttributes<HTMLOListElement>>;
|
|
666
|
+
|
|
667
|
+
export declare const NumberedListItem: React_2.ForwardRefExoticComponent<NumberedListItemProps & React_2.RefAttributes<HTMLLIElement>>;
|
|
668
|
+
|
|
669
|
+
declare interface NumberedListItemProps extends React_2.HTMLAttributes<HTMLLIElement> {
|
|
670
|
+
/* Excluded from this release type: _index */
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
declare type NumberedListProps = React_2.HTMLAttributes<HTMLOListElement>;
|
|
674
|
+
|
|
375
675
|
export declare const NumberInput: React_2.ForwardRefExoticComponent<NumberInputProps & React_2.RefAttributes<HTMLInputElement>>;
|
|
376
676
|
|
|
377
677
|
export declare interface NumberInputProps extends Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "type" | "onChange" | "value" | "defaultValue" | "size">, VariantProps<typeof numberInputVariants> {
|
|
@@ -390,15 +690,13 @@ export declare const numberInputVariants: (props?: ({
|
|
|
390
690
|
|
|
391
691
|
export declare const OperatorCard: React_2.ForwardRefExoticComponent<OperatorCardProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
392
692
|
|
|
393
|
-
export declare interface OperatorCardProps extends React_2.HTMLAttributes<HTMLDivElement
|
|
693
|
+
export declare interface OperatorCardProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
394
694
|
name: string;
|
|
395
|
-
operatorClass?: string;
|
|
396
|
-
rarity?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
397
|
-
avatarSrc?: string;
|
|
398
|
-
initials?: string;
|
|
399
|
-
stats?: OperatorStat[];
|
|
400
695
|
faction?: string;
|
|
401
|
-
|
|
696
|
+
rarity?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
697
|
+
imageSrc?: string;
|
|
698
|
+
imageAlt?: string;
|
|
699
|
+
selected?: boolean;
|
|
402
700
|
}
|
|
403
701
|
|
|
404
702
|
export declare const operatorCardVariants: (props?: ({
|
|
@@ -412,6 +710,28 @@ export declare interface OperatorStat {
|
|
|
412
710
|
color?: "default" | "success" | "danger" | "info";
|
|
413
711
|
}
|
|
414
712
|
|
|
713
|
+
export declare const OTPInput: {
|
|
714
|
+
({ length, value, onChange, onComplete, success, error, disabled, resendCooldown, onResend, resendLabel, className, }: OTPInputProps): JSX_2.Element;
|
|
715
|
+
displayName: string;
|
|
716
|
+
};
|
|
717
|
+
|
|
718
|
+
export declare interface OTPInputProps {
|
|
719
|
+
length?: number;
|
|
720
|
+
value?: string;
|
|
721
|
+
onChange?: (value: string) => void;
|
|
722
|
+
onComplete?: (value: string) => void;
|
|
723
|
+
/** Show success state on all boxes */
|
|
724
|
+
success?: boolean;
|
|
725
|
+
error?: boolean;
|
|
726
|
+
disabled?: boolean;
|
|
727
|
+
/** Show resend link — pass initial countdown seconds (e.g. 45) */
|
|
728
|
+
resendCooldown?: number;
|
|
729
|
+
/** Called when user clicks RESEND */
|
|
730
|
+
onResend?: () => void;
|
|
731
|
+
resendLabel?: string;
|
|
732
|
+
className?: string;
|
|
733
|
+
}
|
|
734
|
+
|
|
415
735
|
export declare const Pagination: React_2.ForwardRefExoticComponent<PaginationProps & React_2.RefAttributes<HTMLElement>>;
|
|
416
736
|
|
|
417
737
|
export declare const paginationItemVariants: (props?: ({
|
|
@@ -426,6 +746,12 @@ export declare interface PaginationProps extends React_2.HTMLAttributes<HTMLElem
|
|
|
426
746
|
siblingCount?: number;
|
|
427
747
|
}
|
|
428
748
|
|
|
749
|
+
export { Panel }
|
|
750
|
+
|
|
751
|
+
export { PanelGroup }
|
|
752
|
+
|
|
753
|
+
export { PanelResizeHandle }
|
|
754
|
+
|
|
429
755
|
export declare const Popover: React_2.FC<PopoverPrimitive.PopoverProps>;
|
|
430
756
|
|
|
431
757
|
export declare const PopoverAnchor: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -456,7 +782,7 @@ declare const PRIORITY_CONFIG: {
|
|
|
456
782
|
export declare const Progress: React_2.ForwardRefExoticComponent<ProgressProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
457
783
|
|
|
458
784
|
export declare const progressFillVariants: (props?: ({
|
|
459
|
-
variant?: "default" | "
|
|
785
|
+
variant?: "default" | "success" | "info" | "danger" | null | undefined;
|
|
460
786
|
} & ClassProp) | undefined) => string;
|
|
461
787
|
|
|
462
788
|
declare interface ProgressProps extends React_2.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>, VariantProps<typeof progressTrackVariants>, VariantProps<typeof progressFillVariants> {
|
|
@@ -468,6 +794,21 @@ export declare const progressTrackVariants: (props?: ({
|
|
|
468
794
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
469
795
|
} & ClassProp) | undefined) => string;
|
|
470
796
|
|
|
797
|
+
export declare const PullToRefresh: React_2.ForwardRefExoticComponent<PullToRefreshProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
798
|
+
|
|
799
|
+
export declare interface PullToRefreshProps {
|
|
800
|
+
onRefresh: () => Promise<void>;
|
|
801
|
+
/** Pull distance (px) to trigger refresh. Default: 60 */
|
|
802
|
+
threshold?: number;
|
|
803
|
+
/** Text shown while refreshing. Default: "SYNCING..." */
|
|
804
|
+
refreshingLabel?: string;
|
|
805
|
+
/** Text shown on complete. Default: "UPDATED" */
|
|
806
|
+
completeLabel?: string;
|
|
807
|
+
disabled?: boolean;
|
|
808
|
+
className?: string;
|
|
809
|
+
children: React_2.ReactNode;
|
|
810
|
+
}
|
|
811
|
+
|
|
471
812
|
export declare interface RadarAxisConfig {
|
|
472
813
|
label: string;
|
|
473
814
|
min?: number;
|
|
@@ -506,6 +847,41 @@ declare interface RadioGroupItemProps extends React_2.ComponentPropsWithoutRef<t
|
|
|
506
847
|
helperText?: string;
|
|
507
848
|
}
|
|
508
849
|
|
|
850
|
+
export declare const Rating: React_2.ForwardRefExoticComponent<RatingProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
851
|
+
|
|
852
|
+
export declare interface RatingProps extends Omit<React_2.HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
853
|
+
value?: number;
|
|
854
|
+
defaultValue?: number;
|
|
855
|
+
max?: number;
|
|
856
|
+
onChange?: (value: number) => void;
|
|
857
|
+
readOnly?: boolean;
|
|
858
|
+
size?: "sm" | "md" | "lg";
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
export declare const ResizeHandle: {
|
|
862
|
+
({ direction, className, ...props }: ResizeHandleProps): JSX_2.Element;
|
|
863
|
+
displayName: string;
|
|
864
|
+
};
|
|
865
|
+
|
|
866
|
+
declare interface ResizeHandleProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
867
|
+
direction?: "horizontal" | "vertical";
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
export declare const RichTextEditor: React_2.ForwardRefExoticComponent<RichTextEditorProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
871
|
+
|
|
872
|
+
export declare interface RichTextEditorProps {
|
|
873
|
+
value?: string;
|
|
874
|
+
onChange?: (value: string) => void;
|
|
875
|
+
placeholder?: string;
|
|
876
|
+
maxLength?: number;
|
|
877
|
+
minHeight?: number;
|
|
878
|
+
mode?: "markdown" | "preview";
|
|
879
|
+
onModeChange?: (mode: "markdown" | "preview") => void;
|
|
880
|
+
disabled?: boolean;
|
|
881
|
+
className?: string;
|
|
882
|
+
id?: string;
|
|
883
|
+
}
|
|
884
|
+
|
|
509
885
|
export declare const ScanDivider: React_2.ForwardRefExoticComponent<ScanDividerProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
510
886
|
|
|
511
887
|
export declare interface ScanDividerProps {
|
|
@@ -513,6 +889,14 @@ export declare interface ScanDividerProps {
|
|
|
513
889
|
className?: string;
|
|
514
890
|
}
|
|
515
891
|
|
|
892
|
+
export declare const ScrollProgress: React_2.ForwardRefExoticComponent<ScrollProgressProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
893
|
+
|
|
894
|
+
export declare interface ScrollProgressProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
895
|
+
color?: string;
|
|
896
|
+
height?: number;
|
|
897
|
+
zIndex?: number;
|
|
898
|
+
}
|
|
899
|
+
|
|
516
900
|
export declare const Select: React_2.FC<SelectPrimitive.SelectProps>;
|
|
517
901
|
|
|
518
902
|
export declare const SelectContent: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -547,6 +931,20 @@ export declare const separatorVariants: (props?: ({
|
|
|
547
931
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
548
932
|
} & ClassProp) | undefined) => string;
|
|
549
933
|
|
|
934
|
+
export declare const SessionTimeoutModal: {
|
|
935
|
+
({ open, secondsRemaining, onExtend, onLogout, onAutoLogout, warningAt, }: SessionTimeoutModalProps): JSX_2.Element;
|
|
936
|
+
displayName: string;
|
|
937
|
+
};
|
|
938
|
+
|
|
939
|
+
export declare interface SessionTimeoutModalProps {
|
|
940
|
+
open: boolean;
|
|
941
|
+
secondsRemaining: number;
|
|
942
|
+
onExtend: () => void;
|
|
943
|
+
onLogout: () => void;
|
|
944
|
+
onAutoLogout?: () => void;
|
|
945
|
+
warningAt?: number;
|
|
946
|
+
}
|
|
947
|
+
|
|
550
948
|
export declare const SkeletonAvatar: React_2.ForwardRefExoticComponent<SkeletonAvatarProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
551
949
|
|
|
552
950
|
declare interface SkeletonAvatarProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
@@ -568,6 +966,12 @@ declare interface SkeletonCardProps extends React_2.HTMLAttributes<HTMLDivElemen
|
|
|
568
966
|
lines?: number;
|
|
569
967
|
}
|
|
570
968
|
|
|
969
|
+
export declare const SkeletonImage: React_2.ForwardRefExoticComponent<SkeletonImageProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
970
|
+
|
|
971
|
+
export declare interface SkeletonImageProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
972
|
+
aspectRatio?: "video" | "square" | "portrait";
|
|
973
|
+
}
|
|
974
|
+
|
|
571
975
|
export declare const SkeletonLine: React_2.ForwardRefExoticComponent<SkeletonLineProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
572
976
|
|
|
573
977
|
declare interface SkeletonLineProps extends React_2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof skeletonLineVariants> {
|
|
@@ -578,6 +982,12 @@ export declare const skeletonLineVariants: (props?: ({
|
|
|
578
982
|
height?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
579
983
|
} & ClassProp) | undefined) => string;
|
|
580
984
|
|
|
985
|
+
export declare const SkeletonTableRow: React_2.ForwardRefExoticComponent<SkeletonTableRowProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
986
|
+
|
|
987
|
+
export declare interface SkeletonTableRowProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
988
|
+
columns?: number;
|
|
989
|
+
}
|
|
990
|
+
|
|
581
991
|
export declare const SkeletonText: React_2.ForwardRefExoticComponent<SkeletonTextProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
582
992
|
|
|
583
993
|
declare interface SkeletonTextProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
@@ -586,6 +996,55 @@ declare interface SkeletonTextProps extends React_2.HTMLAttributes<HTMLDivElemen
|
|
|
586
996
|
|
|
587
997
|
export declare const SonnerToaster: ({ theme, ...props }: ToasterProps) => JSX_2.Element;
|
|
588
998
|
|
|
999
|
+
export declare const SortControl: React_2.ForwardRefExoticComponent<SortControlProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1000
|
+
|
|
1001
|
+
export declare type SortControlDirection = "asc" | "desc" | "none";
|
|
1002
|
+
|
|
1003
|
+
export declare interface SortControlProps {
|
|
1004
|
+
options: SortOption[];
|
|
1005
|
+
activeId?: string;
|
|
1006
|
+
direction?: SortControlDirection;
|
|
1007
|
+
onSortChange?: (id: string, direction: SortControlDirection) => void;
|
|
1008
|
+
className?: string;
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
export declare type SortDirection = "asc" | "desc" | null;
|
|
1012
|
+
|
|
1013
|
+
export declare interface SortOption {
|
|
1014
|
+
id: string;
|
|
1015
|
+
label: string;
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
export declare const SpoilerBlock: React_2.ForwardRefExoticComponent<SpoilerBlockProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1019
|
+
|
|
1020
|
+
export declare interface SpoilerBlockProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
1021
|
+
children: React_2.ReactNode;
|
|
1022
|
+
title?: string;
|
|
1023
|
+
revealLabel?: string;
|
|
1024
|
+
hideLabel?: string;
|
|
1025
|
+
defaultRevealed?: boolean;
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
export declare const SpoilerInline: React_2.ForwardRefExoticComponent<SpoilerInlineProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
1029
|
+
|
|
1030
|
+
export declare interface SpoilerInlineProps extends React_2.HTMLAttributes<HTMLSpanElement> {
|
|
1031
|
+
children: React_2.ReactNode;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
export declare const Stat: React_2.ForwardRefExoticComponent<StatProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1035
|
+
|
|
1036
|
+
export declare const StatGrid: React_2.ForwardRefExoticComponent<StatGridProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1037
|
+
|
|
1038
|
+
export declare type StatGridProps = React_2.HTMLAttributes<HTMLDivElement>;
|
|
1039
|
+
|
|
1040
|
+
export declare interface StatProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
1041
|
+
value: string | number;
|
|
1042
|
+
label: string;
|
|
1043
|
+
trend?: "up" | "down" | "neutral";
|
|
1044
|
+
trendValue?: string;
|
|
1045
|
+
description?: string;
|
|
1046
|
+
}
|
|
1047
|
+
|
|
589
1048
|
declare const STATUS_CONFIG: {
|
|
590
1049
|
readonly active: {
|
|
591
1050
|
readonly label: "ACTIVE";
|
|
@@ -593,7 +1052,7 @@ declare const STATUS_CONFIG: {
|
|
|
593
1052
|
};
|
|
594
1053
|
readonly completed: {
|
|
595
1054
|
readonly label: "COMPLETED";
|
|
596
|
-
readonly cls: "text-muted-foreground border-
|
|
1055
|
+
readonly cls: "text-muted-foreground border-border bg-surface-1";
|
|
597
1056
|
};
|
|
598
1057
|
readonly failed: {
|
|
599
1058
|
readonly label: "FAILED";
|
|
@@ -640,6 +1099,31 @@ export declare interface StepperProps extends React_2.HTMLAttributes<HTMLDivElem
|
|
|
640
1099
|
orientation?: "horizontal" | "vertical";
|
|
641
1100
|
}
|
|
642
1101
|
|
|
1102
|
+
export declare const SwipeableItem: React_2.ForwardRefExoticComponent<SwipeableItemProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1103
|
+
|
|
1104
|
+
export declare interface SwipeableItemProps {
|
|
1105
|
+
/** Action revealed on left-swipe (appears on the right side) */
|
|
1106
|
+
leftSwipeAction?: SwipeAction;
|
|
1107
|
+
/** Action revealed on right-swipe (appears on the left side) */
|
|
1108
|
+
rightSwipeAction?: SwipeAction;
|
|
1109
|
+
/** Swipe distance to reveal action (default: 80) */
|
|
1110
|
+
revealThreshold?: number;
|
|
1111
|
+
/** Swipe distance to auto-trigger (default: 160) */
|
|
1112
|
+
triggerThreshold?: number;
|
|
1113
|
+
disabled?: boolean;
|
|
1114
|
+
className?: string;
|
|
1115
|
+
children: React_2.ReactNode;
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
export declare interface SwipeAction {
|
|
1119
|
+
label: string;
|
|
1120
|
+
/** 'delete' | 'archive' | 'custom' -- affects background color */
|
|
1121
|
+
variant?: "delete" | "archive" | "custom";
|
|
1122
|
+
/** Custom background color class (used when variant='custom') */
|
|
1123
|
+
bgClass?: string;
|
|
1124
|
+
onTrigger: () => void;
|
|
1125
|
+
}
|
|
1126
|
+
|
|
643
1127
|
export declare const Switch: React_2.ForwardRefExoticComponent<SwitchProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
644
1128
|
|
|
645
1129
|
declare interface SwitchProps extends React_2.ComponentPropsWithoutRef<typeof SwitchPrimitive.Root> {
|
|
@@ -648,6 +1132,38 @@ declare interface SwitchProps extends React_2.ComponentPropsWithoutRef<typeof Sw
|
|
|
648
1132
|
onLabel?: string;
|
|
649
1133
|
}
|
|
650
1134
|
|
|
1135
|
+
export declare const Table: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableElement> & React_2.RefAttributes<HTMLTableElement>>;
|
|
1136
|
+
|
|
1137
|
+
export declare const TableBody: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableSectionElement> & React_2.RefAttributes<HTMLTableSectionElement>>;
|
|
1138
|
+
|
|
1139
|
+
export declare const TableCaption: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableCaptionElement> & React_2.RefAttributes<HTMLTableCaptionElement>>;
|
|
1140
|
+
|
|
1141
|
+
export declare const TableCell: React_2.ForwardRefExoticComponent<React_2.TdHTMLAttributes<HTMLTableCellElement> & React_2.RefAttributes<HTMLTableCellElement>>;
|
|
1142
|
+
|
|
1143
|
+
export declare const TableEmpty: React_2.ForwardRefExoticComponent<TableEmptyProps & React_2.RefAttributes<HTMLTableRowElement>>;
|
|
1144
|
+
|
|
1145
|
+
export declare interface TableEmptyProps extends React_2.HTMLAttributes<HTMLTableRowElement> {
|
|
1146
|
+
colSpan: number;
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
export declare const TableFooter: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableSectionElement> & React_2.RefAttributes<HTMLTableSectionElement>>;
|
|
1150
|
+
|
|
1151
|
+
export declare const TableHead: React_2.ForwardRefExoticComponent<TableHeadProps & React_2.RefAttributes<HTMLTableCellElement>>;
|
|
1152
|
+
|
|
1153
|
+
export declare const TableHeader: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableSectionElement> & React_2.RefAttributes<HTMLTableSectionElement>>;
|
|
1154
|
+
|
|
1155
|
+
export declare interface TableHeadProps extends React_2.ThHTMLAttributes<HTMLTableCellElement> {
|
|
1156
|
+
sortable?: boolean;
|
|
1157
|
+
sortDirection?: SortDirection;
|
|
1158
|
+
onSort?: () => void;
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
export declare const TableRow: React_2.ForwardRefExoticComponent<TableRowProps & React_2.RefAttributes<HTMLTableRowElement>>;
|
|
1162
|
+
|
|
1163
|
+
export declare interface TableRowProps extends React_2.HTMLAttributes<HTMLTableRowElement> {
|
|
1164
|
+
selected?: boolean;
|
|
1165
|
+
}
|
|
1166
|
+
|
|
651
1167
|
export declare const Tabs: React_2.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
652
1168
|
|
|
653
1169
|
export declare const TabsContent: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -676,7 +1192,7 @@ export declare interface TacticalBadgeProps extends React_2.HTMLAttributes<HTMLS
|
|
|
676
1192
|
}
|
|
677
1193
|
|
|
678
1194
|
export declare const tacticalBadgeVariants: (props?: ({
|
|
679
|
-
variant?: "default" | "
|
|
1195
|
+
variant?: "default" | "success" | "warning" | "info" | "danger" | null | undefined;
|
|
680
1196
|
} & ClassProp) | undefined) => string;
|
|
681
1197
|
|
|
682
1198
|
export declare const TacticalPanel: React_2.ForwardRefExoticComponent<TacticalPanelProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -727,9 +1243,15 @@ declare interface TextareaProps extends React_2.TextareaHTMLAttributes<HTMLTextA
|
|
|
727
1243
|
}
|
|
728
1244
|
|
|
729
1245
|
export declare const textareaVariants: (props?: ({
|
|
730
|
-
state?: "default" | "
|
|
1246
|
+
state?: "default" | "error" | "success" | null | undefined;
|
|
731
1247
|
} & ClassProp) | undefined) => string;
|
|
732
1248
|
|
|
1249
|
+
export declare const ThemeSwitcher: React_2.ForwardRefExoticComponent<ThemeSwitcherProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
1250
|
+
|
|
1251
|
+
export declare interface ThemeSwitcherProps extends React_2.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
1252
|
+
storageKey?: string;
|
|
1253
|
+
}
|
|
1254
|
+
|
|
733
1255
|
export declare const Timeline: React_2.ForwardRefExoticComponent<TimelineProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
734
1256
|
|
|
735
1257
|
export declare const TimelineItem: React_2.ForwardRefExoticComponent<TimelineItemProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -798,12 +1320,45 @@ export declare const TooltipProvider: React_2.FC<TooltipPrimitive.TooltipProvide
|
|
|
798
1320
|
|
|
799
1321
|
export declare const TooltipTrigger: React_2.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
800
1322
|
|
|
1323
|
+
export declare const TopBanner: React_2.ForwardRefExoticComponent<TopBannerProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1324
|
+
|
|
1325
|
+
export declare interface TopBannerProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
1326
|
+
dismissible?: boolean;
|
|
1327
|
+
onDismiss?: () => void;
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
export declare function useCommandPalette(): {
|
|
1331
|
+
open: boolean;
|
|
1332
|
+
toggle: () => void;
|
|
1333
|
+
close: () => void;
|
|
1334
|
+
};
|
|
1335
|
+
|
|
1336
|
+
export { useFocusTrap }
|
|
1337
|
+
|
|
1338
|
+
export { useInView }
|
|
1339
|
+
|
|
1340
|
+
export { UseInViewOptions }
|
|
1341
|
+
|
|
1342
|
+
export { useShortcut }
|
|
1343
|
+
|
|
1344
|
+
export { useStagger }
|
|
1345
|
+
|
|
801
1346
|
export declare function useToast(): {
|
|
802
1347
|
toast: typeof toastAction;
|
|
803
1348
|
dismiss: (toastId?: string) => void;
|
|
804
1349
|
toasts: ToasterToast[];
|
|
805
1350
|
};
|
|
806
1351
|
|
|
1352
|
+
export declare const ViewToggle: React_2.ForwardRefExoticComponent<ViewToggleProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1353
|
+
|
|
1354
|
+
export declare interface ViewToggleProps {
|
|
1355
|
+
value?: "grid" | "list";
|
|
1356
|
+
defaultValue?: "grid" | "list";
|
|
1357
|
+
onChange?: (value: "grid" | "list") => void;
|
|
1358
|
+
storageKey?: string;
|
|
1359
|
+
className?: string;
|
|
1360
|
+
}
|
|
1361
|
+
|
|
807
1362
|
export declare const WarningBanner: React_2.ForwardRefExoticComponent<WarningBannerProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
808
1363
|
|
|
809
1364
|
export declare interface WarningBannerProps {
|