reend-components 0.2.0 → 0.4.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 +660 -15
- package/dist/lib/index.mjs +3510 -595
- package/dist/lib/index.mjs.map +1 -1
- package/package.json +30 -6
- package/src/tailwind-preset.ts +93 -84
package/dist/lib/index.d.ts
CHANGED
|
@@ -1,15 +1,165 @@
|
|
|
1
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
2
|
+
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
3
|
+
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
1
4
|
import { ClassProp } from 'class-variance-authority/types';
|
|
2
5
|
import { ClassValue } from 'clsx';
|
|
6
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
3
7
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
8
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
9
|
+
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
10
|
+
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
4
11
|
import * as React_2 from 'react';
|
|
12
|
+
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
13
|
+
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
14
|
+
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
15
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
5
16
|
import { toast } from 'sonner';
|
|
6
17
|
import { Toaster as Toaster_2 } from 'sonner';
|
|
7
18
|
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
8
19
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
9
20
|
import { VariantProps } from 'class-variance-authority';
|
|
10
21
|
|
|
22
|
+
export declare const Accordion: React_2.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React_2.RefAttributes<HTMLDivElement>>;
|
|
23
|
+
|
|
24
|
+
export declare const AccordionContent: React_2.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
25
|
+
|
|
26
|
+
export declare const AccordionItem: React_2.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
27
|
+
|
|
28
|
+
export declare const AccordionTrigger: React_2.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
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
|
+
|
|
44
|
+
export declare const Avatar: React_2.ForwardRefExoticComponent<AvatarProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
45
|
+
|
|
46
|
+
export declare const AvatarFallback: React_2.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React_2.RefAttributes<HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
|
|
47
|
+
|
|
48
|
+
export declare const AvatarImage: React_2.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React_2.RefAttributes<HTMLImageElement>, "ref"> & React_2.RefAttributes<HTMLImageElement>>;
|
|
49
|
+
|
|
50
|
+
declare interface AvatarProps extends React_2.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>, VariantProps<typeof avatarVariants> {
|
|
51
|
+
status?: "online" | "offline" | "busy" | "away";
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export declare const avatarVariants: (props?: ({
|
|
55
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
|
|
56
|
+
} & ClassProp) | undefined) => string;
|
|
57
|
+
|
|
58
|
+
export declare const Badge: React_2.ForwardRefExoticComponent<BadgeProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
59
|
+
|
|
60
|
+
declare interface BadgeProps extends React_2.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
|
|
61
|
+
/**
|
|
62
|
+
* Displays a × remove button at the end of the badge.
|
|
63
|
+
* Use together with `onRemove` to handle removal.
|
|
64
|
+
*/
|
|
65
|
+
removable?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Called when the × remove button is clicked.
|
|
68
|
+
* Only fires when `removable` is true.
|
|
69
|
+
*/
|
|
70
|
+
onRemove?: () => void;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export declare const badgeVariants: (props?: ({
|
|
74
|
+
variant?: "default" | "primary" | "danger" | "info" | "success" | "warning" | "purple" | null | undefined;
|
|
75
|
+
} & ClassProp) | undefined) => string;
|
|
76
|
+
|
|
77
|
+
export declare const Breadcrumb: React_2.ForwardRefExoticComponent<BreadcrumbProps & React_2.RefAttributes<HTMLElement>>;
|
|
78
|
+
|
|
79
|
+
declare interface BreadcrumbItemData {
|
|
80
|
+
label: string;
|
|
81
|
+
href?: string;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
declare interface BreadcrumbProps extends React_2.HTMLAttributes<HTMLElement> {
|
|
85
|
+
items: BreadcrumbItemData[];
|
|
86
|
+
separator?: React_2.ReactNode;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export declare const Button: React_2.ForwardRefExoticComponent<ButtonProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
90
|
+
|
|
91
|
+
declare interface ButtonProps extends React_2.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
92
|
+
/**
|
|
93
|
+
* When true, renders the button as its child element (Radix Slot pattern).
|
|
94
|
+
* Useful for wrapping `<a>` or other elements with button styling.
|
|
95
|
+
* @example <Button asChild><a href="/page">Go</a></Button>
|
|
96
|
+
*/
|
|
97
|
+
asChild?: boolean;
|
|
98
|
+
/**
|
|
99
|
+
* Displays a diamond spinner and disables interaction.
|
|
100
|
+
* Sets `aria-busy` for accessibility.
|
|
101
|
+
*/
|
|
102
|
+
loading?: boolean;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export declare const buttonVariants: (props?: ({
|
|
106
|
+
variant?: "link" | "primary" | "secondary" | "ghost" | "danger" | "icon" | null | undefined;
|
|
107
|
+
size?: "icon" | "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
108
|
+
} & ClassProp) | undefined) => string;
|
|
109
|
+
|
|
110
|
+
export declare const Card: React_2.ForwardRefExoticComponent<CardProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
111
|
+
|
|
112
|
+
export declare const CardBody: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
113
|
+
|
|
114
|
+
export declare const CardDescription: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLParagraphElement> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
115
|
+
|
|
116
|
+
export declare const CardFooter: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
117
|
+
|
|
118
|
+
export declare const CardHeader: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
119
|
+
|
|
120
|
+
export declare const CardMeta: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLParagraphElement> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
121
|
+
|
|
122
|
+
declare interface CardProps extends React_2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
|
|
123
|
+
/**
|
|
124
|
+
* Adds hover lift effect — `translateY(-4px)` + deep shadow + yellow border tint.
|
|
125
|
+
* Bracket corners intensify on hover.
|
|
126
|
+
*/
|
|
127
|
+
hoverable?: boolean;
|
|
128
|
+
/**
|
|
129
|
+
* Highlights card with primary border + subtle yellow background.
|
|
130
|
+
* Use for selected/active state in selection grids.
|
|
131
|
+
*/
|
|
132
|
+
selected?: boolean;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export declare const CardTitle: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLHeadingElement> & React_2.RefAttributes<HTMLHeadingElement>>;
|
|
136
|
+
|
|
137
|
+
export declare const cardVariants: (props?: ({
|
|
138
|
+
hoverable?: boolean | null | undefined;
|
|
139
|
+
selected?: boolean | null | undefined;
|
|
140
|
+
} & ClassProp) | undefined) => string;
|
|
141
|
+
|
|
142
|
+
export declare const Checkbox: React_2.ForwardRefExoticComponent<CheckboxProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
143
|
+
|
|
144
|
+
declare interface CheckboxProps extends React_2.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root> {
|
|
145
|
+
label?: string;
|
|
146
|
+
helperText?: string;
|
|
147
|
+
}
|
|
148
|
+
|
|
11
149
|
export declare function cn(...inputs: ClassValue[]): string;
|
|
12
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
|
+
|
|
13
163
|
export declare const CoordinateTag: React_2.ForwardRefExoticComponent<CoordinateTagProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
14
164
|
|
|
15
165
|
export declare interface CoordinateTagProps {
|
|
@@ -19,13 +169,69 @@ export declare interface CoordinateTagProps {
|
|
|
19
169
|
className?: string;
|
|
20
170
|
}
|
|
21
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
|
+
|
|
22
187
|
export declare const DataStream: React_2.ForwardRefExoticComponent<DataStreamProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
23
188
|
|
|
24
|
-
export declare
|
|
25
|
-
|
|
26
|
-
|
|
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;
|
|
27
198
|
}
|
|
28
199
|
|
|
200
|
+
export declare const Dialog: React_2.FC<DialogPrimitive.DialogProps>;
|
|
201
|
+
|
|
202
|
+
export declare const DialogClose: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
203
|
+
|
|
204
|
+
export declare const DialogContent: React_2.ForwardRefExoticComponent<DialogContentProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
205
|
+
|
|
206
|
+
declare interface DialogContentProps extends React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof dialogContentVariants> {
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
export declare const dialogContentVariants: (props?: ({
|
|
210
|
+
size?: "sm" | "md" | "lg" | "xl" | "fullscreen" | null | undefined;
|
|
211
|
+
} & ClassProp) | undefined) => string;
|
|
212
|
+
|
|
213
|
+
export declare const DialogDescription: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
214
|
+
|
|
215
|
+
export declare function DialogFooter({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
216
|
+
|
|
217
|
+
export declare namespace DialogFooter {
|
|
218
|
+
var displayName: string;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
export declare function DialogHeader({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
222
|
+
|
|
223
|
+
export declare namespace DialogHeader {
|
|
224
|
+
var displayName: string;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
export declare const DialogOverlay: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
228
|
+
|
|
229
|
+
export declare const DialogPortal: React_2.FC<DialogPrimitive.DialogPortalProps>;
|
|
230
|
+
|
|
231
|
+
export declare const DialogTitle: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React_2.RefAttributes<HTMLHeadingElement>, "ref"> & React_2.RefAttributes<HTMLHeadingElement>>;
|
|
232
|
+
|
|
233
|
+
export declare const DialogTrigger: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
234
|
+
|
|
29
235
|
export declare const DiamondLoader: React_2.ForwardRefExoticComponent<DiamondLoaderProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
30
236
|
|
|
31
237
|
export declare interface DiamondLoaderProps {
|
|
@@ -34,11 +240,49 @@ export declare interface DiamondLoaderProps {
|
|
|
34
240
|
className?: string;
|
|
35
241
|
}
|
|
36
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
|
+
|
|
37
273
|
export declare const GlitchText: React_2.ForwardRefExoticComponent<GlitchTextProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
38
274
|
|
|
39
|
-
export declare interface GlitchTextProps {
|
|
275
|
+
export declare interface GlitchTextProps extends Omit<React_2.HTMLAttributes<HTMLSpanElement>, "children"> {
|
|
40
276
|
children: string;
|
|
41
|
-
|
|
277
|
+
intensity?: GlitchIntensity;
|
|
278
|
+
continuous?: boolean;
|
|
279
|
+
continuousInterval?: number;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
export declare const HelperText: React_2.ForwardRefExoticComponent<HelperTextProps & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
283
|
+
|
|
284
|
+
declare interface HelperTextProps extends React_2.HTMLAttributes<HTMLParagraphElement> {
|
|
285
|
+
state?: "default" | "error" | "success";
|
|
42
286
|
}
|
|
43
287
|
|
|
44
288
|
export declare const HoloCard: React_2.ForwardRefExoticComponent<HoloCardProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -53,14 +297,181 @@ export declare interface HoloCardProps {
|
|
|
53
297
|
|
|
54
298
|
export declare const HUDOverlay: React_2.ForwardRefExoticComponent<HUDOverlayProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
55
299
|
|
|
56
|
-
export declare interface HUDOverlayProps {
|
|
300
|
+
export declare interface HUDOverlayProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
57
301
|
children?: React_2.ReactNode;
|
|
58
302
|
systemLabel?: string;
|
|
59
303
|
lat?: string;
|
|
60
304
|
lon?: string;
|
|
61
305
|
showCoords?: boolean;
|
|
62
306
|
showCrosshair?: boolean;
|
|
63
|
-
|
|
307
|
+
showScanlines?: boolean;
|
|
308
|
+
showNoise?: boolean;
|
|
309
|
+
bracketSize?: "sm" | "md" | "lg";
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
export declare const Input: React_2.ForwardRefExoticComponent<InputProps & React_2.RefAttributes<HTMLInputElement>>;
|
|
313
|
+
|
|
314
|
+
declare interface InputProps extends Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "size"> {
|
|
315
|
+
state?: "default" | "error" | "success";
|
|
316
|
+
size?: "sm" | "md" | "lg";
|
|
317
|
+
leftElement?: React_2.ReactNode;
|
|
318
|
+
rightElement?: React_2.ReactNode;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
export declare const inputWrapperVariants: (props?: ({
|
|
322
|
+
state?: "default" | "success" | "error" | null | undefined;
|
|
323
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
324
|
+
} & ClassProp) | undefined) => string;
|
|
325
|
+
|
|
326
|
+
export declare const Label: React_2.ForwardRefExoticComponent<React_2.LabelHTMLAttributes<HTMLLabelElement> & React_2.RefAttributes<HTMLLabelElement>>;
|
|
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?: "active" | "classified" | "completed" | "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
|
+
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
|
+
declare interface PaginationProps extends React_2.HTMLAttributes<HTMLElement> {
|
|
423
|
+
totalPages: number;
|
|
424
|
+
currentPage: number;
|
|
425
|
+
onPageChange: (page: number) => void;
|
|
426
|
+
siblingCount?: number;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
export declare const Popover: React_2.FC<PopoverPrimitive.PopoverProps>;
|
|
430
|
+
|
|
431
|
+
export declare const PopoverAnchor: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
432
|
+
|
|
433
|
+
export declare const PopoverContent: React_2.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
434
|
+
|
|
435
|
+
export declare const PopoverTrigger: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
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
|
+
|
|
456
|
+
export declare const Progress: React_2.ForwardRefExoticComponent<ProgressProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
457
|
+
|
|
458
|
+
export declare const progressFillVariants: (props?: ({
|
|
459
|
+
variant?: "default" | "danger" | "info" | "success" | null | undefined;
|
|
460
|
+
} & ClassProp) | undefined) => string;
|
|
461
|
+
|
|
462
|
+
declare interface ProgressProps extends React_2.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>, VariantProps<typeof progressTrackVariants>, VariantProps<typeof progressFillVariants> {
|
|
463
|
+
value?: number;
|
|
464
|
+
showLabel?: boolean;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
export declare const progressTrackVariants: (props?: ({
|
|
468
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
469
|
+
} & ClassProp) | undefined) => string;
|
|
470
|
+
|
|
471
|
+
export declare interface RadarAxisConfig {
|
|
472
|
+
label: string;
|
|
473
|
+
min?: number;
|
|
474
|
+
max?: number;
|
|
64
475
|
}
|
|
65
476
|
|
|
66
477
|
export declare const RadarChart: React_2.ForwardRefExoticComponent<RadarChartProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -70,11 +481,29 @@ export declare interface RadarChartDataPoint {
|
|
|
70
481
|
value: number;
|
|
71
482
|
}
|
|
72
483
|
|
|
73
|
-
export declare interface RadarChartProps {
|
|
74
|
-
data
|
|
75
|
-
size?: number;
|
|
484
|
+
export declare interface RadarChartProps extends Omit<React_2.HTMLAttributes<HTMLDivElement>, "color"> {
|
|
485
|
+
data?: RadarChartDataPoint[];
|
|
76
486
|
color?: "primary" | "cyan";
|
|
77
|
-
|
|
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;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
export declare const RadioGroup: React_2.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
501
|
+
|
|
502
|
+
export declare const RadioGroupItem: React_2.ForwardRefExoticComponent<RadioGroupItemProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
503
|
+
|
|
504
|
+
declare interface RadioGroupItemProps extends React_2.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item> {
|
|
505
|
+
label?: string;
|
|
506
|
+
helperText?: string;
|
|
78
507
|
}
|
|
79
508
|
|
|
80
509
|
export declare const ScanDivider: React_2.ForwardRefExoticComponent<ScanDividerProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -84,24 +513,240 @@ export declare interface ScanDividerProps {
|
|
|
84
513
|
className?: string;
|
|
85
514
|
}
|
|
86
515
|
|
|
516
|
+
export declare const Select: React_2.FC<SelectPrimitive.SelectProps>;
|
|
517
|
+
|
|
518
|
+
export declare const SelectContent: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
519
|
+
|
|
520
|
+
export declare const SelectGroup: React_2.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
521
|
+
|
|
522
|
+
export declare const SelectItem: React_2.ForwardRefExoticComponent<SelectItemProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
523
|
+
|
|
524
|
+
declare interface SelectItemProps extends React_2.ComponentPropsWithoutRef<typeof SelectPrimitive.Item> {
|
|
525
|
+
danger?: boolean;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
export declare const SelectLabel: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
529
|
+
|
|
530
|
+
export declare const SelectScrollDownButton: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
531
|
+
|
|
532
|
+
export declare const SelectScrollUpButton: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
533
|
+
|
|
534
|
+
export declare const SelectSeparator: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
535
|
+
|
|
536
|
+
export declare const SelectTrigger: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
537
|
+
|
|
538
|
+
export declare const SelectValue: React_2.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
539
|
+
|
|
540
|
+
export declare const Separator: React_2.ForwardRefExoticComponent<SeparatorProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
541
|
+
|
|
542
|
+
declare interface SeparatorProps extends Omit<React_2.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>, "orientation">, VariantProps<typeof separatorVariants> {
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
export declare const separatorVariants: (props?: ({
|
|
546
|
+
variant?: "strong" | "default" | "subtle" | "glow" | "accent" | null | undefined;
|
|
547
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
548
|
+
} & ClassProp) | undefined) => string;
|
|
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
|
+
|
|
87
587
|
export declare const SonnerToaster: ({ theme, ...props }: ToasterProps) => JSX_2.Element;
|
|
88
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
|
+
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
|
+
declare interface StepperProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
638
|
+
steps: StepItem[];
|
|
639
|
+
currentStep: number;
|
|
640
|
+
orientation?: "horizontal" | "vertical";
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
export declare const Switch: React_2.ForwardRefExoticComponent<SwitchProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
644
|
+
|
|
645
|
+
declare interface SwitchProps extends React_2.ComponentPropsWithoutRef<typeof SwitchPrimitive.Root> {
|
|
646
|
+
label?: string;
|
|
647
|
+
offLabel?: string;
|
|
648
|
+
onLabel?: string;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
export declare const Tabs: React_2.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
652
|
+
|
|
653
|
+
export declare const TabsContent: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
654
|
+
|
|
655
|
+
export declare const TabsList: React_2.ForwardRefExoticComponent<TabsListProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
656
|
+
|
|
657
|
+
declare interface TabsListProps extends React_2.ComponentPropsWithoutRef<typeof TabsPrimitive.List>, VariantProps<typeof tabsListVariants> {
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
export declare const tabsListVariants: (props?: ({
|
|
661
|
+
variant?: "underline" | "pill" | "bordered" | null | undefined;
|
|
662
|
+
} & ClassProp) | undefined) => string;
|
|
663
|
+
|
|
664
|
+
export declare const TabsTrigger: React_2.ForwardRefExoticComponent<TabsTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
665
|
+
|
|
666
|
+
declare interface TabsTriggerProps extends React_2.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>, VariantProps<typeof tabsTriggerVariants> {
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
export declare const tabsTriggerVariants: (props?: ({
|
|
670
|
+
variant?: "underline" | "pill" | "bordered" | null | undefined;
|
|
671
|
+
} & ClassProp) | undefined) => string;
|
|
672
|
+
|
|
89
673
|
export declare const TacticalBadge: React_2.ForwardRefExoticComponent<TacticalBadgeProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
90
674
|
|
|
91
675
|
export declare interface TacticalBadgeProps extends React_2.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof tacticalBadgeVariants> {
|
|
92
676
|
}
|
|
93
677
|
|
|
94
678
|
export declare const tacticalBadgeVariants: (props?: ({
|
|
95
|
-
variant?: "default" | "
|
|
679
|
+
variant?: "default" | "danger" | "info" | "success" | "warning" | null | undefined;
|
|
96
680
|
} & ClassProp) | undefined) => string;
|
|
97
681
|
|
|
98
682
|
export declare const TacticalPanel: React_2.ForwardRefExoticComponent<TacticalPanelProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
99
683
|
|
|
100
|
-
export declare interface TacticalPanelProps {
|
|
684
|
+
export declare interface TacticalPanelProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
101
685
|
title: string;
|
|
102
686
|
status?: "online" | "warning" | "offline" | "scanning";
|
|
103
|
-
|
|
104
|
-
|
|
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;
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
export declare const Textarea: React_2.ForwardRefExoticComponent<TextareaProps & React_2.RefAttributes<HTMLTextAreaElement>>;
|
|
723
|
+
|
|
724
|
+
declare interface TextareaProps extends React_2.TextareaHTMLAttributes<HTMLTextAreaElement>, VariantProps<typeof textareaVariants> {
|
|
725
|
+
state?: "default" | "error" | "success";
|
|
726
|
+
showCount?: boolean;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
export declare const textareaVariants: (props?: ({
|
|
730
|
+
state?: "default" | "success" | "error" | null | undefined;
|
|
731
|
+
} & ClassProp) | undefined) => string;
|
|
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
|
+
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
|
+
declare interface TimelineProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
749
|
+
items?: TimelineItemProps[];
|
|
105
750
|
}
|
|
106
751
|
|
|
107
752
|
export declare const Toast: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React_2.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|