reend-components 0.3.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +47 -9
- package/dist/bin/cli.cjs +9578 -0
- package/dist/lib/index.cjs +1 -1
- package/dist/lib/index.cjs.map +1 -1
- package/dist/lib/index.d.ts +383 -14
- package/dist/lib/index.mjs +2930 -1105
- package/dist/lib/index.mjs.map +1 -1
- package/package.json +16 -4
- package/src/tailwind-preset.ts +97 -85
package/dist/lib/index.d.ts
CHANGED
|
@@ -27,6 +27,20 @@ export declare const AccordionItem: React_2.ForwardRefExoticComponent<Omit<Accor
|
|
|
27
27
|
|
|
28
28
|
export declare const AccordionTrigger: React_2.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
29
29
|
|
|
30
|
+
export declare const Alert: React_2.ForwardRefExoticComponent<AlertProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
31
|
+
|
|
32
|
+
declare interface AlertProps extends React_2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
|
|
33
|
+
variant?: "info" | "success" | "warning" | "error";
|
|
34
|
+
title?: string;
|
|
35
|
+
dismissible?: boolean;
|
|
36
|
+
onDismiss?: () => void;
|
|
37
|
+
icon?: React_2.ReactNode;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export declare const alertVariants: (props?: ({
|
|
41
|
+
variant?: "info" | "success" | "warning" | "error" | null | undefined;
|
|
42
|
+
} & ClassProp) | undefined) => string;
|
|
43
|
+
|
|
30
44
|
export declare const Avatar: React_2.ForwardRefExoticComponent<AvatarProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
31
45
|
|
|
32
46
|
export declare const AvatarFallback: React_2.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React_2.RefAttributes<HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
|
|
@@ -60,6 +74,18 @@ export declare const badgeVariants: (props?: ({
|
|
|
60
74
|
variant?: "default" | "primary" | "danger" | "info" | "success" | "warning" | "purple" | null | undefined;
|
|
61
75
|
} & ClassProp) | undefined) => string;
|
|
62
76
|
|
|
77
|
+
export declare const Breadcrumb: React_2.ForwardRefExoticComponent<BreadcrumbProps & React_2.RefAttributes<HTMLElement>>;
|
|
78
|
+
|
|
79
|
+
export declare interface BreadcrumbItemData {
|
|
80
|
+
label: string;
|
|
81
|
+
href?: string;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export declare interface BreadcrumbProps extends React_2.HTMLAttributes<HTMLElement> {
|
|
85
|
+
items: BreadcrumbItemData[];
|
|
86
|
+
separator?: React_2.ReactNode;
|
|
87
|
+
}
|
|
88
|
+
|
|
63
89
|
export declare const Button: React_2.ForwardRefExoticComponent<ButtonProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
64
90
|
|
|
65
91
|
declare interface ButtonProps extends React_2.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
@@ -122,6 +148,18 @@ declare interface CheckboxProps extends React_2.ComponentPropsWithoutRef<typeof
|
|
|
122
148
|
|
|
123
149
|
export declare function cn(...inputs: ClassValue[]): string;
|
|
124
150
|
|
|
151
|
+
export declare const CommandOutput: React_2.ForwardRefExoticComponent<CommandOutputProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
152
|
+
|
|
153
|
+
export declare interface CommandOutputProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
154
|
+
entries: LogEntry[];
|
|
155
|
+
showHeader?: boolean;
|
|
156
|
+
headerText?: string;
|
|
157
|
+
showCursor?: boolean;
|
|
158
|
+
autoScroll?: boolean;
|
|
159
|
+
maxHeight?: string;
|
|
160
|
+
showTimestamp?: boolean;
|
|
161
|
+
}
|
|
162
|
+
|
|
125
163
|
export declare const CoordinateTag: React_2.ForwardRefExoticComponent<CoordinateTagProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
126
164
|
|
|
127
165
|
export declare interface CoordinateTagProps {
|
|
@@ -131,11 +169,32 @@ export declare interface CoordinateTagProps {
|
|
|
131
169
|
className?: string;
|
|
132
170
|
}
|
|
133
171
|
|
|
172
|
+
declare const countdownDigitVariants: (props?: ({
|
|
173
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
174
|
+
} & ClassProp) | undefined) => string;
|
|
175
|
+
|
|
176
|
+
export declare const CountdownTimer: React_2.ForwardRefExoticComponent<CountdownTimerProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
177
|
+
|
|
178
|
+
export declare interface CountdownTimerProps extends React_2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof countdownDigitVariants> {
|
|
179
|
+
targetDate?: string;
|
|
180
|
+
seconds?: number;
|
|
181
|
+
onComplete?: () => void;
|
|
182
|
+
label?: string;
|
|
183
|
+
autoHideZero?: boolean;
|
|
184
|
+
showDays?: boolean;
|
|
185
|
+
}
|
|
186
|
+
|
|
134
187
|
export declare const DataStream: React_2.ForwardRefExoticComponent<DataStreamProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
135
188
|
|
|
136
|
-
export declare
|
|
137
|
-
|
|
138
|
-
|
|
189
|
+
export declare type DataStreamMessage = string | {
|
|
190
|
+
text: string;
|
|
191
|
+
type?: "system" | "data" | "warning" | "classified";
|
|
192
|
+
};
|
|
193
|
+
|
|
194
|
+
export declare interface DataStreamProps extends Omit<React_2.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
195
|
+
messages?: DataStreamMessage[];
|
|
196
|
+
speed?: 1 | 2 | 3 | 4 | 5;
|
|
197
|
+
messageType?: MessageColorMode;
|
|
139
198
|
}
|
|
140
199
|
|
|
141
200
|
export declare const Dialog: React_2.FC<DialogPrimitive.DialogProps>;
|
|
@@ -181,11 +240,43 @@ export declare interface DiamondLoaderProps {
|
|
|
181
240
|
className?: string;
|
|
182
241
|
}
|
|
183
242
|
|
|
243
|
+
export declare const EmptyState: React_2.ForwardRefExoticComponent<EmptyStateProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
244
|
+
|
|
245
|
+
declare interface EmptyStateProps extends React_2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof emptyStateVariants> {
|
|
246
|
+
icon?: React_2.ReactNode;
|
|
247
|
+
title?: string;
|
|
248
|
+
description?: string;
|
|
249
|
+
action?: React_2.ReactNode;
|
|
250
|
+
variant?: "default" | "search" | "error" | "permission" | "empty";
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
export declare const emptyStateVariants: (props?: ({
|
|
254
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
255
|
+
} & ClassProp) | undefined) => string;
|
|
256
|
+
|
|
257
|
+
export declare const FrequencyBars: React_2.ForwardRefExoticComponent<FrequencyBarsProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
258
|
+
|
|
259
|
+
export declare interface FrequencyBarsProps extends Omit<React_2.HTMLAttributes<HTMLDivElement>, "color">, VariantProps<typeof frequencyBarsVariants> {
|
|
260
|
+
barCount?: number;
|
|
261
|
+
barWidth?: number;
|
|
262
|
+
height?: number;
|
|
263
|
+
speed?: "slow" | "medium" | "fast";
|
|
264
|
+
paused?: boolean;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
export declare const frequencyBarsVariants: (props?: ({
|
|
268
|
+
color?: "muted" | "primary" | "danger" | "info" | "success" | null | undefined;
|
|
269
|
+
} & ClassProp) | undefined) => string;
|
|
270
|
+
|
|
271
|
+
export declare type GlitchIntensity = "low" | "medium" | "high";
|
|
272
|
+
|
|
184
273
|
export declare const GlitchText: React_2.ForwardRefExoticComponent<GlitchTextProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
185
274
|
|
|
186
|
-
export declare interface GlitchTextProps {
|
|
275
|
+
export declare interface GlitchTextProps extends Omit<React_2.HTMLAttributes<HTMLSpanElement>, "children"> {
|
|
187
276
|
children: string;
|
|
188
|
-
|
|
277
|
+
intensity?: GlitchIntensity;
|
|
278
|
+
continuous?: boolean;
|
|
279
|
+
continuousInterval?: number;
|
|
189
280
|
}
|
|
190
281
|
|
|
191
282
|
export declare const HelperText: React_2.ForwardRefExoticComponent<HelperTextProps & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
@@ -206,14 +297,16 @@ export declare interface HoloCardProps {
|
|
|
206
297
|
|
|
207
298
|
export declare const HUDOverlay: React_2.ForwardRefExoticComponent<HUDOverlayProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
208
299
|
|
|
209
|
-
export declare interface HUDOverlayProps {
|
|
300
|
+
export declare interface HUDOverlayProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
210
301
|
children?: React_2.ReactNode;
|
|
211
302
|
systemLabel?: string;
|
|
212
303
|
lat?: string;
|
|
213
304
|
lon?: string;
|
|
214
305
|
showCoords?: boolean;
|
|
215
306
|
showCrosshair?: boolean;
|
|
216
|
-
|
|
307
|
+
showScanlines?: boolean;
|
|
308
|
+
showNoise?: boolean;
|
|
309
|
+
bracketSize?: "sm" | "md" | "lg";
|
|
217
310
|
}
|
|
218
311
|
|
|
219
312
|
export declare const Input: React_2.ForwardRefExoticComponent<InputProps & React_2.RefAttributes<HTMLInputElement>>;
|
|
@@ -232,6 +325,107 @@ export declare const inputWrapperVariants: (props?: ({
|
|
|
232
325
|
|
|
233
326
|
export declare const Label: React_2.ForwardRefExoticComponent<React_2.LabelHTMLAttributes<HTMLLabelElement> & React_2.RefAttributes<HTMLLabelElement>>;
|
|
234
327
|
|
|
328
|
+
export declare interface LogEntry {
|
|
329
|
+
id?: string | number;
|
|
330
|
+
level: LogLevel;
|
|
331
|
+
message: string;
|
|
332
|
+
timestamp?: string;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
export declare type LogLevel = "system" | "info" | "success" | "warning" | "error";
|
|
336
|
+
|
|
337
|
+
export declare const MatrixGrid: React_2.ForwardRefExoticComponent<MatrixGridProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
338
|
+
|
|
339
|
+
export declare interface MatrixGridProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
340
|
+
cols?: number;
|
|
341
|
+
rows?: number;
|
|
342
|
+
dotSize?: number;
|
|
343
|
+
gap?: number;
|
|
344
|
+
activeColor?: string;
|
|
345
|
+
activeProbability?: number;
|
|
346
|
+
intervalMs?: number;
|
|
347
|
+
static?: boolean;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
declare type MessageColorMode = "mono" | "classified" | "transmission";
|
|
351
|
+
|
|
352
|
+
export declare const MissionCard: React_2.ForwardRefExoticComponent<MissionCardProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
353
|
+
|
|
354
|
+
export declare interface MissionCardProps extends React_2.HTMLAttributes<HTMLDivElement>, Omit<VariantProps<typeof missionCardVariants>, "clickable"> {
|
|
355
|
+
title: string;
|
|
356
|
+
missionId?: string;
|
|
357
|
+
description?: string;
|
|
358
|
+
status?: MissionStatus;
|
|
359
|
+
priority?: MissionPriority;
|
|
360
|
+
date?: string;
|
|
361
|
+
progress?: number;
|
|
362
|
+
tags?: string[];
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
export declare const missionCardVariants: (props?: ({
|
|
366
|
+
priority?: "high" | "low" | "medium" | "critical" | null | undefined;
|
|
367
|
+
status?: "completed" | "active" | "classified" | "failed" | "pending" | null | undefined;
|
|
368
|
+
clickable?: boolean | null | undefined;
|
|
369
|
+
} & ClassProp) | undefined) => string;
|
|
370
|
+
|
|
371
|
+
export declare type MissionPriority = keyof typeof PRIORITY_CONFIG;
|
|
372
|
+
|
|
373
|
+
export declare type MissionStatus = keyof typeof STATUS_CONFIG;
|
|
374
|
+
|
|
375
|
+
export declare const NumberInput: React_2.ForwardRefExoticComponent<NumberInputProps & React_2.RefAttributes<HTMLInputElement>>;
|
|
376
|
+
|
|
377
|
+
export declare interface NumberInputProps extends Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "type" | "onChange" | "value" | "defaultValue" | "size">, VariantProps<typeof numberInputVariants> {
|
|
378
|
+
value?: number;
|
|
379
|
+
defaultValue?: number;
|
|
380
|
+
onChange?: (value: number) => void;
|
|
381
|
+
min?: number;
|
|
382
|
+
max?: number;
|
|
383
|
+
step?: number;
|
|
384
|
+
size?: "sm" | "md" | "lg";
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
export declare const numberInputVariants: (props?: ({
|
|
388
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
389
|
+
} & ClassProp) | undefined) => string;
|
|
390
|
+
|
|
391
|
+
export declare const OperatorCard: React_2.ForwardRefExoticComponent<OperatorCardProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
392
|
+
|
|
393
|
+
export declare interface OperatorCardProps extends React_2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof operatorCardVariants> {
|
|
394
|
+
name: string;
|
|
395
|
+
operatorClass?: string;
|
|
396
|
+
rarity?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
397
|
+
avatarSrc?: string;
|
|
398
|
+
initials?: string;
|
|
399
|
+
stats?: OperatorStat[];
|
|
400
|
+
faction?: string;
|
|
401
|
+
tags?: string[];
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
export declare const operatorCardVariants: (props?: ({
|
|
405
|
+
size?: "default" | "compact" | null | undefined;
|
|
406
|
+
} & ClassProp) | undefined) => string;
|
|
407
|
+
|
|
408
|
+
export declare interface OperatorStat {
|
|
409
|
+
label: string;
|
|
410
|
+
value: number;
|
|
411
|
+
max?: number;
|
|
412
|
+
color?: "default" | "success" | "danger" | "info";
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
export declare const Pagination: React_2.ForwardRefExoticComponent<PaginationProps & React_2.RefAttributes<HTMLElement>>;
|
|
416
|
+
|
|
417
|
+
export declare const paginationItemVariants: (props?: ({
|
|
418
|
+
active?: boolean | null | undefined;
|
|
419
|
+
disabled?: boolean | null | undefined;
|
|
420
|
+
} & ClassProp) | undefined) => string;
|
|
421
|
+
|
|
422
|
+
export declare interface PaginationProps extends React_2.HTMLAttributes<HTMLElement> {
|
|
423
|
+
totalPages: number;
|
|
424
|
+
currentPage: number;
|
|
425
|
+
onPageChange: (page: number) => void;
|
|
426
|
+
siblingCount?: number;
|
|
427
|
+
}
|
|
428
|
+
|
|
235
429
|
export declare const Popover: React_2.FC<PopoverPrimitive.PopoverProps>;
|
|
236
430
|
|
|
237
431
|
export declare const PopoverAnchor: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -240,6 +434,25 @@ export declare const PopoverContent: React_2.ForwardRefExoticComponent<Omit<Popo
|
|
|
240
434
|
|
|
241
435
|
export declare const PopoverTrigger: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
242
436
|
|
|
437
|
+
declare const PRIORITY_CONFIG: {
|
|
438
|
+
readonly low: {
|
|
439
|
+
readonly label: "LOW";
|
|
440
|
+
readonly cls: "text-muted-foreground";
|
|
441
|
+
};
|
|
442
|
+
readonly medium: {
|
|
443
|
+
readonly label: "MEDIUM";
|
|
444
|
+
readonly cls: "text-ef-blue";
|
|
445
|
+
};
|
|
446
|
+
readonly high: {
|
|
447
|
+
readonly label: "HIGH";
|
|
448
|
+
readonly cls: "text-ef-orange";
|
|
449
|
+
};
|
|
450
|
+
readonly critical: {
|
|
451
|
+
readonly label: "CRITICAL";
|
|
452
|
+
readonly cls: "text-destructive";
|
|
453
|
+
};
|
|
454
|
+
};
|
|
455
|
+
|
|
243
456
|
export declare const Progress: React_2.ForwardRefExoticComponent<ProgressProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
244
457
|
|
|
245
458
|
export declare const progressFillVariants: (props?: ({
|
|
@@ -255,6 +468,12 @@ export declare const progressTrackVariants: (props?: ({
|
|
|
255
468
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
256
469
|
} & ClassProp) | undefined) => string;
|
|
257
470
|
|
|
471
|
+
export declare interface RadarAxisConfig {
|
|
472
|
+
label: string;
|
|
473
|
+
min?: number;
|
|
474
|
+
max?: number;
|
|
475
|
+
}
|
|
476
|
+
|
|
258
477
|
export declare const RadarChart: React_2.ForwardRefExoticComponent<RadarChartProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
259
478
|
|
|
260
479
|
export declare interface RadarChartDataPoint {
|
|
@@ -262,11 +481,20 @@ export declare interface RadarChartDataPoint {
|
|
|
262
481
|
value: number;
|
|
263
482
|
}
|
|
264
483
|
|
|
265
|
-
export declare interface RadarChartProps {
|
|
266
|
-
data
|
|
267
|
-
size?: number;
|
|
484
|
+
export declare interface RadarChartProps extends Omit<React_2.HTMLAttributes<HTMLDivElement>, "color"> {
|
|
485
|
+
data?: RadarChartDataPoint[];
|
|
268
486
|
color?: "primary" | "cyan";
|
|
269
|
-
|
|
487
|
+
axes?: RadarAxisConfig[];
|
|
488
|
+
datasets?: RadarDataset[];
|
|
489
|
+
showLegend?: boolean;
|
|
490
|
+
size?: number;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
export declare interface RadarDataset {
|
|
494
|
+
label?: string;
|
|
495
|
+
values: number[];
|
|
496
|
+
color?: string;
|
|
497
|
+
fillOpacity?: number;
|
|
270
498
|
}
|
|
271
499
|
|
|
272
500
|
export declare const RadioGroup: React_2.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -319,8 +547,99 @@ export declare const separatorVariants: (props?: ({
|
|
|
319
547
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
320
548
|
} & ClassProp) | undefined) => string;
|
|
321
549
|
|
|
550
|
+
export declare const SkeletonAvatar: React_2.ForwardRefExoticComponent<SkeletonAvatarProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
551
|
+
|
|
552
|
+
declare interface SkeletonAvatarProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
553
|
+
size?: keyof typeof skeletonAvatarSizes;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
declare const skeletonAvatarSizes: {
|
|
557
|
+
xs: string;
|
|
558
|
+
sm: string;
|
|
559
|
+
md: string;
|
|
560
|
+
lg: string;
|
|
561
|
+
xl: string;
|
|
562
|
+
};
|
|
563
|
+
|
|
564
|
+
export declare const SkeletonCard: React_2.ForwardRefExoticComponent<SkeletonCardProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
565
|
+
|
|
566
|
+
declare interface SkeletonCardProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
567
|
+
showAvatar?: boolean;
|
|
568
|
+
lines?: number;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
export declare const SkeletonLine: React_2.ForwardRefExoticComponent<SkeletonLineProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
572
|
+
|
|
573
|
+
declare interface SkeletonLineProps extends React_2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof skeletonLineVariants> {
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
export declare const skeletonLineVariants: (props?: ({
|
|
577
|
+
width?: "full" | "3/4" | "1/2" | "1/3" | "1/4" | null | undefined;
|
|
578
|
+
height?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
579
|
+
} & ClassProp) | undefined) => string;
|
|
580
|
+
|
|
581
|
+
export declare const SkeletonText: React_2.ForwardRefExoticComponent<SkeletonTextProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
582
|
+
|
|
583
|
+
declare interface SkeletonTextProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
584
|
+
lines?: number;
|
|
585
|
+
}
|
|
586
|
+
|
|
322
587
|
export declare const SonnerToaster: ({ theme, ...props }: ToasterProps) => JSX_2.Element;
|
|
323
588
|
|
|
589
|
+
declare const STATUS_CONFIG: {
|
|
590
|
+
readonly active: {
|
|
591
|
+
readonly label: "ACTIVE";
|
|
592
|
+
readonly cls: "text-ef-green border-ef-green/40 bg-ef-green/10";
|
|
593
|
+
};
|
|
594
|
+
readonly completed: {
|
|
595
|
+
readonly label: "COMPLETED";
|
|
596
|
+
readonly cls: "text-muted-foreground border-white/20 bg-white/5";
|
|
597
|
+
};
|
|
598
|
+
readonly failed: {
|
|
599
|
+
readonly label: "FAILED";
|
|
600
|
+
readonly cls: "text-destructive border-destructive/40 bg-destructive/10";
|
|
601
|
+
};
|
|
602
|
+
readonly pending: {
|
|
603
|
+
readonly label: "PENDING";
|
|
604
|
+
readonly cls: "text-ef-orange border-ef-orange/40 bg-ef-orange/10";
|
|
605
|
+
};
|
|
606
|
+
readonly classified: {
|
|
607
|
+
readonly label: "CLASSIFIED";
|
|
608
|
+
readonly cls: "text-primary border-primary/40 bg-primary/10";
|
|
609
|
+
};
|
|
610
|
+
};
|
|
611
|
+
|
|
612
|
+
export declare const StatusBar: React_2.ForwardRefExoticComponent<StatusBarProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
613
|
+
|
|
614
|
+
export declare const statusBarContainerVariants: (props?: ({
|
|
615
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
616
|
+
} & ClassProp) | undefined) => string;
|
|
617
|
+
|
|
618
|
+
export declare interface StatusBarProps extends React_2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof statusBarContainerVariants>, VariantProps<typeof statusBarSegmentVariants> {
|
|
619
|
+
value: number;
|
|
620
|
+
max?: number;
|
|
621
|
+
segments?: number;
|
|
622
|
+
label?: string;
|
|
623
|
+
showValue?: boolean;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
export declare const statusBarSegmentVariants: (props?: ({
|
|
627
|
+
variant?: "health" | "energy" | "shield" | "experience" | null | undefined;
|
|
628
|
+
} & ClassProp) | undefined) => string;
|
|
629
|
+
|
|
630
|
+
export declare interface StepItem {
|
|
631
|
+
label: string;
|
|
632
|
+
description?: string;
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
export declare const Stepper: React_2.ForwardRefExoticComponent<StepperProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
636
|
+
|
|
637
|
+
export declare interface StepperProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
638
|
+
steps: StepItem[];
|
|
639
|
+
currentStep: number;
|
|
640
|
+
orientation?: "horizontal" | "vertical";
|
|
641
|
+
}
|
|
642
|
+
|
|
324
643
|
export declare const Switch: React_2.ForwardRefExoticComponent<SwitchProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
325
644
|
|
|
326
645
|
declare interface SwitchProps extends React_2.ComponentPropsWithoutRef<typeof SwitchPrimitive.Root> {
|
|
@@ -362,11 +681,42 @@ export declare const tacticalBadgeVariants: (props?: ({
|
|
|
362
681
|
|
|
363
682
|
export declare const TacticalPanel: React_2.ForwardRefExoticComponent<TacticalPanelProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
364
683
|
|
|
365
|
-
export declare interface TacticalPanelProps {
|
|
684
|
+
export declare interface TacticalPanelProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
366
685
|
title: string;
|
|
367
686
|
status?: "online" | "warning" | "offline" | "scanning";
|
|
368
|
-
|
|
369
|
-
|
|
687
|
+
headerAction?: React_2.ReactNode;
|
|
688
|
+
collapsible?: boolean;
|
|
689
|
+
defaultCollapsed?: boolean;
|
|
690
|
+
collapsed?: boolean;
|
|
691
|
+
onCollapseChange?: (collapsed: boolean) => void;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
export declare const TacticalTable: <T extends Record<string, unknown>>(props: TacticalTableProps<T> & {
|
|
695
|
+
ref?: React_2.ForwardedRef<HTMLDivElement>;
|
|
696
|
+
}) => React_2.ReactElement;
|
|
697
|
+
|
|
698
|
+
export declare interface TacticalTableColumn<T> {
|
|
699
|
+
key: keyof T & string;
|
|
700
|
+
header: string;
|
|
701
|
+
sortable?: boolean;
|
|
702
|
+
cell?: (row: T, rowIndex: number) => React_2.ReactNode;
|
|
703
|
+
width?: string;
|
|
704
|
+
align?: "left" | "center" | "right";
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
export declare interface TacticalTableProps<T extends Record<string, unknown>> extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
708
|
+
columns: TacticalTableColumn<T>[];
|
|
709
|
+
data: T[];
|
|
710
|
+
sortKey?: keyof T & string;
|
|
711
|
+
sortDirection?: "asc" | "desc";
|
|
712
|
+
onSort?: (key: keyof T & string) => void;
|
|
713
|
+
selectable?: boolean;
|
|
714
|
+
selectedIndices?: number[];
|
|
715
|
+
onRowClick?: (row: T, index: number) => void;
|
|
716
|
+
loading?: boolean;
|
|
717
|
+
skeletonRows?: number;
|
|
718
|
+
emptyState?: React_2.ReactNode;
|
|
719
|
+
caption?: string;
|
|
370
720
|
}
|
|
371
721
|
|
|
372
722
|
export declare const Textarea: React_2.ForwardRefExoticComponent<TextareaProps & React_2.RefAttributes<HTMLTextAreaElement>>;
|
|
@@ -380,6 +730,25 @@ export declare const textareaVariants: (props?: ({
|
|
|
380
730
|
state?: "default" | "success" | "error" | null | undefined;
|
|
381
731
|
} & ClassProp) | undefined) => string;
|
|
382
732
|
|
|
733
|
+
export declare const Timeline: React_2.ForwardRefExoticComponent<TimelineProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
734
|
+
|
|
735
|
+
export declare const TimelineItem: React_2.ForwardRefExoticComponent<TimelineItemProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
736
|
+
|
|
737
|
+
export declare interface TimelineItemProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
738
|
+
date?: string;
|
|
739
|
+
title: string;
|
|
740
|
+
description?: string;
|
|
741
|
+
status?: "complete" | "current" | "upcoming";
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
export declare const timelineItemVariants: (props?: ({
|
|
745
|
+
status?: "current" | "complete" | "upcoming" | null | undefined;
|
|
746
|
+
} & ClassProp) | undefined) => string;
|
|
747
|
+
|
|
748
|
+
export declare interface TimelineProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
749
|
+
items?: TimelineItemProps[];
|
|
750
|
+
}
|
|
751
|
+
|
|
383
752
|
export declare const Toast: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React_2.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
|
384
753
|
variant?: "default" | "destructive" | null | undefined;
|
|
385
754
|
} & ClassProp) | undefined) => string> & React_2.RefAttributes<HTMLLIElement>>;
|