@sdvf23rvfa43f/stealth-glass 1.3.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/chunk-5IRVGRFN.js +237 -0
- package/dist/chunk-5IRVGRFN.js.map +1 -0
- package/dist/chunk-62HIMTUS.js +10343 -0
- package/dist/chunk-62HIMTUS.js.map +1 -0
- package/dist/components/index.d.ts +2032 -0
- package/dist/components/index.js +4 -0
- package/dist/components/index.js.map +1 -0
- package/dist/design-tokens.d.ts +215 -0
- package/dist/design-tokens.js +3 -0
- package/dist/design-tokens.js.map +1 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -0
- package/dist/stealth-glass-theme.css +494 -0
- package/package.json +132 -0
|
@@ -0,0 +1,2032 @@
|
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
|
+
import React__default, { HTMLAttributes, ReactNode } from 'react';
|
|
3
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
+
import { LucideIcon } from 'lucide-react';
|
|
5
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
|
+
import { VariantProps } from 'class-variance-authority';
|
|
7
|
+
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
8
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
9
|
+
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
10
|
+
import { ToasterProps } from 'sonner';
|
|
11
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
12
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
13
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
14
|
+
import { Drawer as Drawer$1 } from 'vaul';
|
|
15
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
16
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
17
|
+
import { TooltipProps } from 'recharts';
|
|
18
|
+
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
19
|
+
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
|
20
|
+
|
|
21
|
+
type GlowColor = 'blue' | 'indigo' | 'purple' | 'success' | 'warning' | 'danger' | 'none';
|
|
22
|
+
type TileVariant = 'default' | 'elevated' | 'inner';
|
|
23
|
+
type TilePadding = 'none' | 'sm' | 'md' | 'lg';
|
|
24
|
+
interface GlassTileProps extends HTMLAttributes<HTMLDivElement> {
|
|
25
|
+
children: ReactNode;
|
|
26
|
+
/** Surface depth variant */
|
|
27
|
+
variant?: TileVariant;
|
|
28
|
+
/** Padding size */
|
|
29
|
+
padding?: TilePadding;
|
|
30
|
+
/** Enable hover state */
|
|
31
|
+
hover?: boolean;
|
|
32
|
+
/** Ambient glow color (positioned top-right) */
|
|
33
|
+
glow?: GlowColor;
|
|
34
|
+
/** Additional className */
|
|
35
|
+
className?: string;
|
|
36
|
+
}
|
|
37
|
+
declare const GlassTile: React$1.ForwardRefExoticComponent<GlassTileProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
38
|
+
|
|
39
|
+
interface HudLabelProps extends HTMLAttributes<HTMLSpanElement> {
|
|
40
|
+
children: ReactNode;
|
|
41
|
+
/** Brightness level */
|
|
42
|
+
brightness?: 'muted' | 'secondary' | 'primary';
|
|
43
|
+
}
|
|
44
|
+
declare function HudLabel({ children, brightness, className, ...rest }: HudLabelProps): react_jsx_runtime.JSX.Element;
|
|
45
|
+
interface DataValueProps extends HTMLAttributes<HTMLSpanElement> {
|
|
46
|
+
children: ReactNode;
|
|
47
|
+
/** Text size (Tailwind text-* without the "text-" prefix) */
|
|
48
|
+
size?: 'xs' | 'sm' | 'base' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl';
|
|
49
|
+
/** Color override */
|
|
50
|
+
color?: 'primary' | 'secondary' | 'muted' | 'success' | 'warning' | 'danger';
|
|
51
|
+
}
|
|
52
|
+
declare function DataValue({ children, size, color, className, ...rest }: DataValueProps): react_jsx_runtime.JSX.Element;
|
|
53
|
+
declare function SectionDot({ className }: {
|
|
54
|
+
className?: string;
|
|
55
|
+
}): react_jsx_runtime.JSX.Element;
|
|
56
|
+
|
|
57
|
+
type StatusType = 'online' | 'offline' | 'warning' | 'processing' | 'neutral';
|
|
58
|
+
type DotSize = 'sm' | 'md' | 'lg';
|
|
59
|
+
interface StatusDotProps {
|
|
60
|
+
status: StatusType;
|
|
61
|
+
size?: DotSize;
|
|
62
|
+
/** Show pulse animation */
|
|
63
|
+
pulse?: boolean;
|
|
64
|
+
className?: string;
|
|
65
|
+
}
|
|
66
|
+
declare function StatusDot({ status, size, pulse, className }: StatusDotProps): react_jsx_runtime.JSX.Element;
|
|
67
|
+
type BadgeStatus = 'active' | 'inactive' | 'warning' | 'error' | 'processing' | 'neutral' | 'new';
|
|
68
|
+
interface StatusBadgeProps {
|
|
69
|
+
status: BadgeStatus;
|
|
70
|
+
children: ReactNode;
|
|
71
|
+
className?: string;
|
|
72
|
+
}
|
|
73
|
+
declare function StatusBadge({ status, children, className }: StatusBadgeProps): react_jsx_runtime.JSX.Element;
|
|
74
|
+
declare function StatusIndicator({ status, label }: {
|
|
75
|
+
status: string;
|
|
76
|
+
label: string;
|
|
77
|
+
}): react_jsx_runtime.JSX.Element;
|
|
78
|
+
|
|
79
|
+
type GlowPreset = 'blue' | 'indigo' | 'purple' | 'emerald' | 'amber';
|
|
80
|
+
interface AmbientBackgroundProps {
|
|
81
|
+
/** Which glow colors to render. Default: ['blue', 'indigo'] */
|
|
82
|
+
colors?: [GlowPreset, GlowPreset];
|
|
83
|
+
/** Intensity (opacity multiplier). Default: 10 (maps to /10) */
|
|
84
|
+
intensity?: 5 | 10 | 15 | 20;
|
|
85
|
+
}
|
|
86
|
+
declare function AmbientBackground({ colors, intensity }: AmbientBackgroundProps): react_jsx_runtime.JSX.Element;
|
|
87
|
+
|
|
88
|
+
interface RevealGroupProps extends HTMLAttributes<HTMLDivElement> {
|
|
89
|
+
children: ReactNode;
|
|
90
|
+
}
|
|
91
|
+
declare function RevealGroup({ children, className, ...rest }: RevealGroupProps): react_jsx_runtime.JSX.Element;
|
|
92
|
+
interface RevealActionProps extends HTMLAttributes<HTMLDivElement> {
|
|
93
|
+
children: ReactNode;
|
|
94
|
+
/** Animation direction */
|
|
95
|
+
from?: 'right' | 'bottom' | 'left' | 'fade';
|
|
96
|
+
}
|
|
97
|
+
declare function RevealAction({ children, from, className, ...rest }: RevealActionProps): react_jsx_runtime.JSX.Element;
|
|
98
|
+
|
|
99
|
+
interface BentoGridProps extends HTMLAttributes<HTMLDivElement> {
|
|
100
|
+
children: ReactNode;
|
|
101
|
+
/** Number of columns at desktop (mobile is always 1). Default: 3 */
|
|
102
|
+
cols?: 1 | 2 | 3 | 4;
|
|
103
|
+
/** Max container width. Default: 1600px */
|
|
104
|
+
maxWidth?: string;
|
|
105
|
+
}
|
|
106
|
+
declare function BentoGrid({ children, cols, maxWidth, className, ...rest }: BentoGridProps): react_jsx_runtime.JSX.Element;
|
|
107
|
+
interface BentoCellProps extends HTMLAttributes<HTMLDivElement> {
|
|
108
|
+
children: ReactNode;
|
|
109
|
+
/** How many columns this cell spans at desktop. Default: 1 */
|
|
110
|
+
span?: 1 | 2 | 3 | 4;
|
|
111
|
+
/** How many rows this cell spans. Default: 1 */
|
|
112
|
+
rowSpan?: 1 | 2 | 3;
|
|
113
|
+
}
|
|
114
|
+
declare function BentoCell({ children, span, rowSpan, className, ...rest }: BentoCellProps): react_jsx_runtime.JSX.Element;
|
|
115
|
+
interface BentoCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
116
|
+
children: ReactNode;
|
|
117
|
+
/** Columns to span */
|
|
118
|
+
colSpan?: 1 | 2 | 3 | 4;
|
|
119
|
+
/** Rows to span */
|
|
120
|
+
rowSpan?: 1 | 2 | 3;
|
|
121
|
+
/** Optional title */
|
|
122
|
+
title?: string;
|
|
123
|
+
/** Optional icon component */
|
|
124
|
+
icon?: React.ElementType;
|
|
125
|
+
/** Content padding */
|
|
126
|
+
padding?: 'none' | 'sm' | 'md' | 'lg';
|
|
127
|
+
}
|
|
128
|
+
declare function BentoCard({ children, colSpan, rowSpan, title, icon: Icon, padding, className, ...rest }: BentoCardProps): react_jsx_runtime.JSX.Element;
|
|
129
|
+
|
|
130
|
+
interface PageShellProps {
|
|
131
|
+
children: ReactNode;
|
|
132
|
+
/** Page title (optional — for header area) */
|
|
133
|
+
title?: string;
|
|
134
|
+
/** Page subtitle */
|
|
135
|
+
subtitle?: string;
|
|
136
|
+
/** Right-aligned actions rendered next to the title */
|
|
137
|
+
actions?: ReactNode;
|
|
138
|
+
/** Additional className for the content area */
|
|
139
|
+
className?: string;
|
|
140
|
+
}
|
|
141
|
+
declare function PageShell({ children, title, subtitle, actions, className }: PageShellProps): react_jsx_runtime.JSX.Element;
|
|
142
|
+
interface AnimatedSectionProps {
|
|
143
|
+
children: ReactNode;
|
|
144
|
+
className?: string;
|
|
145
|
+
}
|
|
146
|
+
declare function AnimatedSection({ children, className }: AnimatedSectionProps): react_jsx_runtime.JSX.Element;
|
|
147
|
+
|
|
148
|
+
interface SidebarNavItem {
|
|
149
|
+
/** Unique identifier for this nav item */
|
|
150
|
+
id: string;
|
|
151
|
+
/** Display label */
|
|
152
|
+
label: string;
|
|
153
|
+
/** Lucide icon component */
|
|
154
|
+
icon: LucideIcon;
|
|
155
|
+
/** Optional badge text (count, "NEW", "SOON", etc.) */
|
|
156
|
+
badge?: string | null;
|
|
157
|
+
/** Disable this item */
|
|
158
|
+
disabled?: boolean;
|
|
159
|
+
}
|
|
160
|
+
interface SidebarNavSection {
|
|
161
|
+
/** Section heading */
|
|
162
|
+
category: string;
|
|
163
|
+
/** Navigation items in this section */
|
|
164
|
+
items: SidebarNavItem[];
|
|
165
|
+
}
|
|
166
|
+
interface SidebarSubmenuConfig {
|
|
167
|
+
/** Parent item ID that triggers the submenu */
|
|
168
|
+
parentId: string;
|
|
169
|
+
/** Parent display label */
|
|
170
|
+
parentLabel: string;
|
|
171
|
+
/** Parent icon */
|
|
172
|
+
parentIcon: LucideIcon;
|
|
173
|
+
/** Submenu items — matched by id prefix (e.g. "settings-password") */
|
|
174
|
+
items: SidebarNavItem[];
|
|
175
|
+
}
|
|
176
|
+
interface SidebarLogo {
|
|
177
|
+
/** Logo image URL */
|
|
178
|
+
src: string;
|
|
179
|
+
/** Alt text */
|
|
180
|
+
alt?: string;
|
|
181
|
+
/** Brand name text shown next to logo */
|
|
182
|
+
title?: string;
|
|
183
|
+
}
|
|
184
|
+
interface SidebarWallet {
|
|
185
|
+
/** Current balance */
|
|
186
|
+
balance: number;
|
|
187
|
+
/** Currency symbol (default: '€') */
|
|
188
|
+
currency?: string;
|
|
189
|
+
/** Add funds callback */
|
|
190
|
+
onAddFunds?: () => void;
|
|
191
|
+
/** Show loading skeleton */
|
|
192
|
+
isLoading?: boolean;
|
|
193
|
+
}
|
|
194
|
+
interface SidebarUser {
|
|
195
|
+
/** Display name */
|
|
196
|
+
name: string;
|
|
197
|
+
/** Email address */
|
|
198
|
+
email?: string;
|
|
199
|
+
/** Loading state */
|
|
200
|
+
isLoading?: boolean;
|
|
201
|
+
}
|
|
202
|
+
interface SidebarCTAButton {
|
|
203
|
+
/** Button label */
|
|
204
|
+
label: string;
|
|
205
|
+
/** Lucide icon */
|
|
206
|
+
icon: LucideIcon;
|
|
207
|
+
/** Click handler */
|
|
208
|
+
onClick: () => void;
|
|
209
|
+
}
|
|
210
|
+
interface StealthSidebarProps {
|
|
211
|
+
/** Logo and brand config */
|
|
212
|
+
logo: SidebarLogo;
|
|
213
|
+
/** Navigation sections */
|
|
214
|
+
navigation: SidebarNavSection[];
|
|
215
|
+
/** Currently active item ID */
|
|
216
|
+
currentId: string;
|
|
217
|
+
/** Navigate to an item */
|
|
218
|
+
onNavigate: (id: string) => void;
|
|
219
|
+
/** Sign out callback */
|
|
220
|
+
onSignOut: () => void;
|
|
221
|
+
/** Is user authenticated */
|
|
222
|
+
isAuthenticated?: boolean;
|
|
223
|
+
/** User info for profile footer */
|
|
224
|
+
user?: SidebarUser;
|
|
225
|
+
/** Wallet widget config */
|
|
226
|
+
wallet?: SidebarWallet;
|
|
227
|
+
/** Primary CTA button (mobile) */
|
|
228
|
+
ctaButton?: SidebarCTAButton;
|
|
229
|
+
/** Unauthenticated CTA fallback */
|
|
230
|
+
ctaButtonUnauth?: SidebarCTAButton;
|
|
231
|
+
/** Optional submenu (e.g. Settings) */
|
|
232
|
+
submenu?: SidebarSubmenuConfig;
|
|
233
|
+
/** Collapsed state (controlled) */
|
|
234
|
+
isCollapsed?: boolean;
|
|
235
|
+
/** Toggle collapse callback */
|
|
236
|
+
onToggleCollapse?: () => void;
|
|
237
|
+
/** Extra content below nav (slot) */
|
|
238
|
+
footerSlot?: ReactNode;
|
|
239
|
+
}
|
|
240
|
+
declare function StealthSidebar({ logo, navigation, currentId, onNavigate, onSignOut, isAuthenticated, user, wallet, ctaButton, ctaButtonUnauth, submenu, isCollapsed, onToggleCollapse, footerSlot, }: StealthSidebarProps): react_jsx_runtime.JSX.Element;
|
|
241
|
+
|
|
242
|
+
interface HeaderCTAButton {
|
|
243
|
+
/** Button label */
|
|
244
|
+
label: string;
|
|
245
|
+
/** Lucide icon */
|
|
246
|
+
icon: LucideIcon;
|
|
247
|
+
/** Click handler */
|
|
248
|
+
onClick: () => void;
|
|
249
|
+
}
|
|
250
|
+
interface HeaderWallet {
|
|
251
|
+
/** Current balance */
|
|
252
|
+
balance: number;
|
|
253
|
+
/** Currency symbol (default: '€') */
|
|
254
|
+
currency?: string;
|
|
255
|
+
/** Add funds callback */
|
|
256
|
+
onAddFunds?: () => void;
|
|
257
|
+
/** Loading state */
|
|
258
|
+
isLoading?: boolean;
|
|
259
|
+
}
|
|
260
|
+
interface HeaderUser {
|
|
261
|
+
/** Display name */
|
|
262
|
+
name: string;
|
|
263
|
+
/** Loading state */
|
|
264
|
+
isLoading?: boolean;
|
|
265
|
+
}
|
|
266
|
+
interface StealthHeaderProps {
|
|
267
|
+
/** Primary CTA button */
|
|
268
|
+
ctaButton?: HeaderCTAButton;
|
|
269
|
+
/** Unauthenticated CTA fallback */
|
|
270
|
+
ctaButtonUnauth?: HeaderCTAButton;
|
|
271
|
+
/** Wallet widget */
|
|
272
|
+
wallet?: HeaderWallet;
|
|
273
|
+
/** User profile info */
|
|
274
|
+
user?: HeaderUser;
|
|
275
|
+
/** Sign out callback */
|
|
276
|
+
onSignOut: () => void;
|
|
277
|
+
/** Whether user is authenticated */
|
|
278
|
+
isAuthenticated?: boolean;
|
|
279
|
+
/** Whether sidebar is collapsed (adjusts left offset) */
|
|
280
|
+
isSidebarCollapsed?: boolean;
|
|
281
|
+
/** Custom left slot (e.g. breadcrumbs) */
|
|
282
|
+
leftSlot?: ReactNode;
|
|
283
|
+
/** Custom right slot (extra actions before user) */
|
|
284
|
+
rightSlot?: ReactNode;
|
|
285
|
+
}
|
|
286
|
+
declare function StealthHeader({ ctaButton, ctaButtonUnauth, wallet, user, onSignOut, isAuthenticated, isSidebarCollapsed, leftSlot, rightSlot, }: StealthHeaderProps): react_jsx_runtime.JSX.Element;
|
|
287
|
+
|
|
288
|
+
type AmbientColor = 'blue' | 'indigo' | 'purple' | 'emerald' | 'amber';
|
|
289
|
+
interface AppShellProps extends Omit<StealthSidebarProps, 'isCollapsed' | 'onToggleCollapse'> {
|
|
290
|
+
/** Page content */
|
|
291
|
+
children: ReactNode;
|
|
292
|
+
/** Ambient background glow colors. Set to null to disable. Default: ['blue', 'indigo'] */
|
|
293
|
+
ambientColors?: [AmbientColor, AmbientColor] | null;
|
|
294
|
+
/** Ambient intensity */
|
|
295
|
+
ambientIntensity?: 5 | 10 | 15 | 20;
|
|
296
|
+
/** Header left slot (e.g. breadcrumbs) */
|
|
297
|
+
headerLeftSlot?: ReactNode;
|
|
298
|
+
/** Header right slot (extra actions) */
|
|
299
|
+
headerRightSlot?: ReactNode;
|
|
300
|
+
/** Loading skeleton for content area */
|
|
301
|
+
loadingFallback?: ReactNode;
|
|
302
|
+
/** Whether to show loading skeleton */
|
|
303
|
+
isLoading?: boolean;
|
|
304
|
+
/** Max content width (default: 1600px) */
|
|
305
|
+
contentMaxWidth?: string;
|
|
306
|
+
}
|
|
307
|
+
declare function AuthLoadingSkeleton(): react_jsx_runtime.JSX.Element;
|
|
308
|
+
declare function AppShell({ children, logo, navigation, currentId, onNavigate, onSignOut, isAuthenticated, user, wallet, ctaButton, ctaButtonUnauth, submenu, footerSlot, ambientColors, ambientIntensity, headerLeftSlot, headerRightSlot, loadingFallback, isLoading, contentMaxWidth, }: AppShellProps): react_jsx_runtime.JSX.Element;
|
|
309
|
+
declare namespace AppShell {
|
|
310
|
+
var AuthSkeleton: typeof AuthLoadingSkeleton;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
declare const buttonVariants: (props?: ({
|
|
314
|
+
variant?: "success" | "secondary" | "primary" | "outline" | "ghost" | "destructive" | null | undefined;
|
|
315
|
+
size?: "sm" | "md" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
|
|
316
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
317
|
+
interface ButtonProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
318
|
+
loading?: boolean;
|
|
319
|
+
leftIcon?: LucideIcon;
|
|
320
|
+
rightIcon?: LucideIcon;
|
|
321
|
+
asChild?: boolean;
|
|
322
|
+
}
|
|
323
|
+
declare const Button: React__default.ForwardRefExoticComponent<ButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
324
|
+
|
|
325
|
+
declare const badgeVariants: {
|
|
326
|
+
default: string;
|
|
327
|
+
brand: string;
|
|
328
|
+
success: string;
|
|
329
|
+
warning: string;
|
|
330
|
+
danger: string;
|
|
331
|
+
outline: string;
|
|
332
|
+
};
|
|
333
|
+
interface BadgeProps {
|
|
334
|
+
variant?: keyof typeof badgeVariants;
|
|
335
|
+
size?: 'sm' | 'md';
|
|
336
|
+
dot?: boolean;
|
|
337
|
+
children: React__default.ReactNode;
|
|
338
|
+
className?: string;
|
|
339
|
+
}
|
|
340
|
+
declare function Badge({ variant, size, dot, children, className, }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
341
|
+
|
|
342
|
+
interface DividerProps {
|
|
343
|
+
orientation?: 'horizontal' | 'vertical';
|
|
344
|
+
label?: string;
|
|
345
|
+
className?: string;
|
|
346
|
+
}
|
|
347
|
+
declare function Divider({ orientation, label, className }: DividerProps): react_jsx_runtime.JSX.Element;
|
|
348
|
+
|
|
349
|
+
interface KbdProps {
|
|
350
|
+
keys: string | string[];
|
|
351
|
+
className?: string;
|
|
352
|
+
}
|
|
353
|
+
declare function Kbd({ keys, className }: KbdProps): react_jsx_runtime.JSX.Element;
|
|
354
|
+
|
|
355
|
+
declare const roundedMap: {
|
|
356
|
+
none: string;
|
|
357
|
+
sm: string;
|
|
358
|
+
md: string;
|
|
359
|
+
lg: string;
|
|
360
|
+
full: string;
|
|
361
|
+
};
|
|
362
|
+
interface SkeletonProps {
|
|
363
|
+
width?: string;
|
|
364
|
+
height?: string;
|
|
365
|
+
rounded?: keyof typeof roundedMap;
|
|
366
|
+
className?: string;
|
|
367
|
+
}
|
|
368
|
+
declare function Skeleton({ width, height, rounded, className, }: SkeletonProps): react_jsx_runtime.JSX.Element;
|
|
369
|
+
interface SkeletonTextProps {
|
|
370
|
+
lines?: number;
|
|
371
|
+
lastLineWidth?: string;
|
|
372
|
+
gap?: string;
|
|
373
|
+
className?: string;
|
|
374
|
+
}
|
|
375
|
+
declare function SkeletonText({ lines, lastLineWidth, gap, className, }: SkeletonTextProps): react_jsx_runtime.JSX.Element;
|
|
376
|
+
interface SkeletonCircleProps {
|
|
377
|
+
size?: number | string;
|
|
378
|
+
className?: string;
|
|
379
|
+
}
|
|
380
|
+
declare function SkeletonCircle({ size, className, }: SkeletonCircleProps): react_jsx_runtime.JSX.Element;
|
|
381
|
+
|
|
382
|
+
declare const toggleVariants: (props?: ({
|
|
383
|
+
variant?: "default" | "outline" | null | undefined;
|
|
384
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
385
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
386
|
+
interface ToggleProps extends React__default.ComponentPropsWithoutRef<typeof TogglePrimitive.Root>, VariantProps<typeof toggleVariants> {
|
|
387
|
+
className?: string;
|
|
388
|
+
}
|
|
389
|
+
declare function Toggle({ variant, size, className, ...props }: ToggleProps): react_jsx_runtime.JSX.Element;
|
|
390
|
+
type ToggleGroupProps = React__default.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Root> & {
|
|
391
|
+
variant?: 'default' | 'outline';
|
|
392
|
+
size?: 'sm' | 'md' | 'lg';
|
|
393
|
+
className?: string;
|
|
394
|
+
children?: React__default.ReactNode;
|
|
395
|
+
};
|
|
396
|
+
declare function ToggleGroup({ variant, size, className, children, ...props }: ToggleGroupProps): react_jsx_runtime.JSX.Element;
|
|
397
|
+
interface ToggleGroupItemProps extends React__default.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item> {
|
|
398
|
+
variant?: 'default' | 'outline';
|
|
399
|
+
size?: 'sm' | 'md' | 'lg';
|
|
400
|
+
className?: string;
|
|
401
|
+
}
|
|
402
|
+
declare function ToggleGroupItem({ variant, size, className, ...props }: ToggleGroupItemProps): react_jsx_runtime.JSX.Element;
|
|
403
|
+
|
|
404
|
+
interface InputProps extends Omit<React__default.InputHTMLAttributes<HTMLInputElement>, 'size'> {
|
|
405
|
+
label?: string;
|
|
406
|
+
helperText?: string;
|
|
407
|
+
error?: string;
|
|
408
|
+
leftIcon?: LucideIcon;
|
|
409
|
+
rightIcon?: LucideIcon;
|
|
410
|
+
leftAddon?: string;
|
|
411
|
+
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
412
|
+
}
|
|
413
|
+
declare const Input: React__default.ForwardRefExoticComponent<InputProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
414
|
+
interface SearchInputProps extends Omit<InputProps, 'leftIcon' | 'rightIcon' | 'leftAddon'> {
|
|
415
|
+
onClear?: () => void;
|
|
416
|
+
}
|
|
417
|
+
declare const SearchInput: React__default.ForwardRefExoticComponent<SearchInputProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
418
|
+
interface TextareaProps extends React__default.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
419
|
+
label?: string;
|
|
420
|
+
helperText?: string;
|
|
421
|
+
error?: string;
|
|
422
|
+
maxLength?: number;
|
|
423
|
+
autoResize?: boolean;
|
|
424
|
+
}
|
|
425
|
+
declare const Textarea: React__default.ForwardRefExoticComponent<TextareaProps & React__default.RefAttributes<HTMLTextAreaElement>>;
|
|
426
|
+
|
|
427
|
+
interface CheckboxProps {
|
|
428
|
+
checked?: boolean | 'indeterminate';
|
|
429
|
+
onCheckedChange?: (checked: boolean | 'indeterminate') => void;
|
|
430
|
+
label?: string;
|
|
431
|
+
description?: string;
|
|
432
|
+
disabled?: boolean;
|
|
433
|
+
className?: string;
|
|
434
|
+
id?: string;
|
|
435
|
+
}
|
|
436
|
+
declare function Checkbox({ checked, onCheckedChange, label, description, disabled, className, id, }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
437
|
+
|
|
438
|
+
interface RadioGroupProps {
|
|
439
|
+
value?: string;
|
|
440
|
+
onValueChange?: (value: string) => void;
|
|
441
|
+
orientation?: 'horizontal' | 'vertical';
|
|
442
|
+
children: React__default.ReactNode;
|
|
443
|
+
className?: string;
|
|
444
|
+
}
|
|
445
|
+
declare function RadioGroup({ value, onValueChange, orientation, children, className }: RadioGroupProps): react_jsx_runtime.JSX.Element;
|
|
446
|
+
interface RadioItemProps {
|
|
447
|
+
value: string;
|
|
448
|
+
label?: string;
|
|
449
|
+
description?: string;
|
|
450
|
+
disabled?: boolean;
|
|
451
|
+
className?: string;
|
|
452
|
+
id?: string;
|
|
453
|
+
}
|
|
454
|
+
declare function RadioItem({ value, label, description, disabled, className, id }: RadioItemProps): react_jsx_runtime.JSX.Element;
|
|
455
|
+
|
|
456
|
+
interface SwitchProps {
|
|
457
|
+
checked?: boolean;
|
|
458
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
459
|
+
label?: string;
|
|
460
|
+
description?: string;
|
|
461
|
+
disabled?: boolean;
|
|
462
|
+
size?: 'sm' | 'md';
|
|
463
|
+
className?: string;
|
|
464
|
+
id?: string;
|
|
465
|
+
}
|
|
466
|
+
declare function Switch({ checked, onCheckedChange, label, description, disabled, size, className, id, }: SwitchProps): react_jsx_runtime.JSX.Element;
|
|
467
|
+
|
|
468
|
+
interface SelectTriggerProps extends React__default.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger> {
|
|
469
|
+
size?: 'sm' | 'md' | 'lg';
|
|
470
|
+
error?: string;
|
|
471
|
+
label?: string;
|
|
472
|
+
}
|
|
473
|
+
declare const SelectTrigger: React__default.ForwardRefExoticComponent<SelectTriggerProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
474
|
+
declare const SelectContent: React__default.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React__default.RefAttributes<HTMLDivElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
475
|
+
declare const SelectItem: React__default.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React__default.RefAttributes<HTMLDivElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
476
|
+
declare const SelectGroup: React__default.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
477
|
+
declare const SelectLabel: React__default.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React__default.RefAttributes<HTMLDivElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
478
|
+
declare function SelectSeparator({ className }: {
|
|
479
|
+
className?: string;
|
|
480
|
+
}): react_jsx_runtime.JSX.Element;
|
|
481
|
+
declare const Select: React__default.FC<SelectPrimitive.SelectProps>;
|
|
482
|
+
declare const SelectValue: React__default.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React__default.RefAttributes<HTMLSpanElement>>;
|
|
483
|
+
|
|
484
|
+
declare const colorMap$1: Record<string, {
|
|
485
|
+
range: string;
|
|
486
|
+
thumb: string;
|
|
487
|
+
glow: string;
|
|
488
|
+
}>;
|
|
489
|
+
interface SliderMark {
|
|
490
|
+
value: number;
|
|
491
|
+
label: string;
|
|
492
|
+
}
|
|
493
|
+
interface SliderProps {
|
|
494
|
+
min?: number;
|
|
495
|
+
max?: number;
|
|
496
|
+
step?: number;
|
|
497
|
+
value: number;
|
|
498
|
+
onValueChange: (value: number) => void;
|
|
499
|
+
label?: string;
|
|
500
|
+
showValue?: boolean;
|
|
501
|
+
formatValue?: (value: number) => string;
|
|
502
|
+
size?: 'sm' | 'md';
|
|
503
|
+
color?: keyof typeof colorMap$1;
|
|
504
|
+
marks?: SliderMark[];
|
|
505
|
+
disabled?: boolean;
|
|
506
|
+
className?: string;
|
|
507
|
+
}
|
|
508
|
+
declare function Slider({ min, max, step, value, onValueChange, label, showValue, formatValue, size, color, marks, disabled, className, }: SliderProps): react_jsx_runtime.JSX.Element;
|
|
509
|
+
interface RangeSliderProps {
|
|
510
|
+
min?: number;
|
|
511
|
+
max?: number;
|
|
512
|
+
step?: number;
|
|
513
|
+
value: [number, number];
|
|
514
|
+
onValueChange: (value: [number, number]) => void;
|
|
515
|
+
label?: string;
|
|
516
|
+
showValue?: boolean;
|
|
517
|
+
formatValue?: (value: number) => string;
|
|
518
|
+
size?: 'sm' | 'md';
|
|
519
|
+
color?: keyof typeof colorMap$1;
|
|
520
|
+
disabled?: boolean;
|
|
521
|
+
className?: string;
|
|
522
|
+
}
|
|
523
|
+
declare function RangeSlider({ min, max, step, value, onValueChange, label, showValue, formatValue, size, color, disabled, className, }: RangeSliderProps): react_jsx_runtime.JSX.Element;
|
|
524
|
+
|
|
525
|
+
interface NumberInputProps {
|
|
526
|
+
value: number;
|
|
527
|
+
onChange: (value: number) => void;
|
|
528
|
+
min?: number;
|
|
529
|
+
max?: number;
|
|
530
|
+
step?: number;
|
|
531
|
+
label?: string;
|
|
532
|
+
helperText?: string;
|
|
533
|
+
error?: string;
|
|
534
|
+
unit?: string;
|
|
535
|
+
size?: 'sm' | 'md' | 'lg';
|
|
536
|
+
disabled?: boolean;
|
|
537
|
+
className?: string;
|
|
538
|
+
}
|
|
539
|
+
declare function NumberInput({ value, onChange, min, max, step, label, helperText, error, unit, size, disabled, className, }: NumberInputProps): react_jsx_runtime.JSX.Element;
|
|
540
|
+
|
|
541
|
+
declare const tagVariants: {
|
|
542
|
+
default: string;
|
|
543
|
+
brand: string;
|
|
544
|
+
success: string;
|
|
545
|
+
warning: string;
|
|
546
|
+
danger: string;
|
|
547
|
+
};
|
|
548
|
+
interface TagProps {
|
|
549
|
+
label: string;
|
|
550
|
+
onRemove?: () => void;
|
|
551
|
+
variant?: keyof typeof tagVariants;
|
|
552
|
+
size?: 'sm' | 'md';
|
|
553
|
+
className?: string;
|
|
554
|
+
}
|
|
555
|
+
declare function Tag({ label, onRemove, variant, size, className, }: TagProps): react_jsx_runtime.JSX.Element;
|
|
556
|
+
interface TagInputProps {
|
|
557
|
+
value: string[];
|
|
558
|
+
onChange: (tags: string[]) => void;
|
|
559
|
+
placeholder?: string;
|
|
560
|
+
maxTags?: number;
|
|
561
|
+
suggestions?: string[];
|
|
562
|
+
label?: string;
|
|
563
|
+
error?: string;
|
|
564
|
+
disabled?: boolean;
|
|
565
|
+
allowDuplicates?: boolean;
|
|
566
|
+
validateTag?: (tag: string) => boolean | string;
|
|
567
|
+
className?: string;
|
|
568
|
+
}
|
|
569
|
+
declare function TagInput({ value, onChange, placeholder, maxTags, suggestions, label, error, disabled, allowDuplicates, validateTag, className, }: TagInputProps): react_jsx_runtime.JSX.Element;
|
|
570
|
+
|
|
571
|
+
interface StealthToasterProps {
|
|
572
|
+
position?: ToasterProps['position'];
|
|
573
|
+
}
|
|
574
|
+
declare function StealthToaster({ position }: StealthToasterProps): react_jsx_runtime.JSX.Element;
|
|
575
|
+
|
|
576
|
+
declare const Dialog: React__default.FC<DialogPrimitive.DialogProps>;
|
|
577
|
+
declare const DialogTrigger: React__default.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
578
|
+
declare const DialogClose: React__default.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
579
|
+
declare const DialogPortal: React__default.FC<DialogPrimitive.DialogPortalProps>;
|
|
580
|
+
declare const DialogOverlay: React__default.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React__default.RefAttributes<HTMLDivElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
581
|
+
declare const DialogContent: React__default.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React__default.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
582
|
+
hideClose?: boolean;
|
|
583
|
+
} & React__default.RefAttributes<HTMLDivElement>>;
|
|
584
|
+
declare function DialogHeader({ className, ...props }: React__default.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
585
|
+
declare const DialogTitle: React__default.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React__default.RefAttributes<HTMLHeadingElement>, "ref"> & React__default.RefAttributes<HTMLHeadingElement>>;
|
|
586
|
+
declare const DialogDescription: React__default.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React__default.RefAttributes<HTMLParagraphElement>, "ref"> & React__default.RefAttributes<HTMLParagraphElement>>;
|
|
587
|
+
declare function DialogFooter({ className, ...props }: React__default.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
588
|
+
interface ConfirmDialogProps {
|
|
589
|
+
open: boolean;
|
|
590
|
+
onOpenChange: (open: boolean) => void;
|
|
591
|
+
title: string;
|
|
592
|
+
description?: string;
|
|
593
|
+
confirmLabel?: string;
|
|
594
|
+
cancelLabel?: string;
|
|
595
|
+
variant?: 'default' | 'destructive';
|
|
596
|
+
loading?: boolean;
|
|
597
|
+
onConfirm: () => void | Promise<void>;
|
|
598
|
+
onCancel?: () => void;
|
|
599
|
+
}
|
|
600
|
+
declare function ConfirmDialog({ open, onOpenChange, title, description, confirmLabel, cancelLabel, variant, loading, onConfirm, onCancel, }: ConfirmDialogProps): react_jsx_runtime.JSX.Element;
|
|
601
|
+
|
|
602
|
+
declare const Popover: React__default.FC<PopoverPrimitive.PopoverProps>;
|
|
603
|
+
declare const PopoverTrigger: React__default.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
604
|
+
declare const PopoverAnchor: React__default.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
605
|
+
declare const PopoverContent: React__default.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React__default.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
606
|
+
showClose?: boolean;
|
|
607
|
+
} & React__default.RefAttributes<HTMLDivElement>>;
|
|
608
|
+
|
|
609
|
+
declare const TooltipProvider: ({ children, ...props }: TooltipPrimitive.TooltipProviderProps) => react_jsx_runtime.JSX.Element;
|
|
610
|
+
declare const Tooltip: React__default.FC<TooltipPrimitive.TooltipProps>;
|
|
611
|
+
declare const TooltipTrigger: React__default.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
612
|
+
declare const TooltipContent: React__default.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React__default.RefAttributes<HTMLDivElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
613
|
+
|
|
614
|
+
declare const DrawerTrigger: React__default.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
615
|
+
declare const DrawerClose: React__default.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
616
|
+
type DrawerProps = React__default.ComponentPropsWithoutRef<typeof Drawer$1.Root> & {
|
|
617
|
+
direction?: 'top' | 'bottom' | 'left' | 'right';
|
|
618
|
+
};
|
|
619
|
+
declare function Drawer({ direction, ...props }: DrawerProps): react_jsx_runtime.JSX.Element;
|
|
620
|
+
declare const sizeClasses: {
|
|
621
|
+
sm: string;
|
|
622
|
+
md: string;
|
|
623
|
+
lg: string;
|
|
624
|
+
xl: string;
|
|
625
|
+
full: string;
|
|
626
|
+
};
|
|
627
|
+
interface DrawerContentProps extends React__default.ComponentPropsWithoutRef<typeof Drawer$1.Content> {
|
|
628
|
+
side?: 'right' | 'bottom' | 'left';
|
|
629
|
+
size?: keyof typeof sizeClasses;
|
|
630
|
+
showHandle?: boolean;
|
|
631
|
+
children: React__default.ReactNode;
|
|
632
|
+
className?: string;
|
|
633
|
+
}
|
|
634
|
+
declare function DrawerContent({ side, size, showHandle, children, className, ...props }: DrawerContentProps): react_jsx_runtime.JSX.Element;
|
|
635
|
+
interface DrawerHeaderProps {
|
|
636
|
+
children: React__default.ReactNode;
|
|
637
|
+
className?: string;
|
|
638
|
+
}
|
|
639
|
+
declare function DrawerHeader({ children, className }: DrawerHeaderProps): react_jsx_runtime.JSX.Element;
|
|
640
|
+
interface DrawerTitleProps {
|
|
641
|
+
children: React__default.ReactNode;
|
|
642
|
+
className?: string;
|
|
643
|
+
}
|
|
644
|
+
declare function DrawerTitle({ children, className }: DrawerTitleProps): react_jsx_runtime.JSX.Element;
|
|
645
|
+
interface DrawerDescriptionProps {
|
|
646
|
+
children: React__default.ReactNode;
|
|
647
|
+
className?: string;
|
|
648
|
+
}
|
|
649
|
+
declare function DrawerDescription({ children, className }: DrawerDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
650
|
+
interface DrawerFooterProps {
|
|
651
|
+
children: React__default.ReactNode;
|
|
652
|
+
className?: string;
|
|
653
|
+
}
|
|
654
|
+
declare function DrawerFooter({ children, className }: DrawerFooterProps): react_jsx_runtime.JSX.Element;
|
|
655
|
+
|
|
656
|
+
declare const Tabs: React__default.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
657
|
+
interface TabsListProps extends React__default.ComponentPropsWithoutRef<typeof TabsPrimitive.List> {
|
|
658
|
+
variant?: 'glass' | 'underline' | 'pills';
|
|
659
|
+
}
|
|
660
|
+
declare const TabsList: React__default.ForwardRefExoticComponent<TabsListProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
661
|
+
interface TabsTriggerProps extends React__default.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger> {
|
|
662
|
+
icon?: LucideIcon;
|
|
663
|
+
}
|
|
664
|
+
declare const TabsTrigger: React__default.ForwardRefExoticComponent<TabsTriggerProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
665
|
+
declare function createTriggerClass(variant: 'glass' | 'underline' | 'pills'): string;
|
|
666
|
+
declare const TabsContent: React__default.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React__default.RefAttributes<HTMLDivElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
667
|
+
|
|
668
|
+
declare function Breadcrumb({ className, ...props }: React__default.HTMLAttributes<HTMLElement>): react_jsx_runtime.JSX.Element;
|
|
669
|
+
declare function BreadcrumbList({ className, ...props }: React__default.HTMLAttributes<HTMLOListElement>): react_jsx_runtime.JSX.Element;
|
|
670
|
+
declare function BreadcrumbItem({ className, ...props }: React__default.HTMLAttributes<HTMLLIElement>): react_jsx_runtime.JSX.Element;
|
|
671
|
+
interface BreadcrumbLinkProps {
|
|
672
|
+
href?: string;
|
|
673
|
+
onClick?: () => void;
|
|
674
|
+
icon?: LucideIcon;
|
|
675
|
+
children: React__default.ReactNode;
|
|
676
|
+
className?: string;
|
|
677
|
+
}
|
|
678
|
+
declare function BreadcrumbLink({ href, onClick, icon: Icon, children, className }: BreadcrumbLinkProps): react_jsx_runtime.JSX.Element;
|
|
679
|
+
declare function BreadcrumbPage({ className, ...props }: React__default.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
680
|
+
declare function BreadcrumbSeparator({ className }: {
|
|
681
|
+
className?: string;
|
|
682
|
+
}): react_jsx_runtime.JSX.Element;
|
|
683
|
+
interface BreadcrumbTrailItem {
|
|
684
|
+
label: string;
|
|
685
|
+
href?: string;
|
|
686
|
+
onClick?: () => void;
|
|
687
|
+
icon?: LucideIcon;
|
|
688
|
+
}
|
|
689
|
+
declare function BreadcrumbTrail({ items, className, }: {
|
|
690
|
+
items: BreadcrumbTrailItem[];
|
|
691
|
+
className?: string;
|
|
692
|
+
}): react_jsx_runtime.JSX.Element;
|
|
693
|
+
|
|
694
|
+
interface PaginationProps {
|
|
695
|
+
currentPage: number;
|
|
696
|
+
totalPages: number;
|
|
697
|
+
totalItems?: number;
|
|
698
|
+
pageSize?: number;
|
|
699
|
+
onPageChange: (page: number) => void;
|
|
700
|
+
onPageSizeChange?: (size: number) => void;
|
|
701
|
+
pageSizeOptions?: number[];
|
|
702
|
+
showInfo?: boolean;
|
|
703
|
+
showPageSize?: boolean;
|
|
704
|
+
className?: string;
|
|
705
|
+
}
|
|
706
|
+
declare function Pagination({ currentPage, totalPages, totalItems, pageSize, onPageChange, onPageSizeChange, pageSizeOptions, showInfo, showPageSize, className, }: PaginationProps): react_jsx_runtime.JSX.Element | null;
|
|
707
|
+
|
|
708
|
+
type AccordionVariant = 'default' | 'bordered' | 'ghost';
|
|
709
|
+
type AccordionProps = React__default.ComponentPropsWithoutRef<typeof AccordionPrimitive.Root> & {
|
|
710
|
+
variant?: AccordionVariant;
|
|
711
|
+
className?: string;
|
|
712
|
+
};
|
|
713
|
+
declare function Accordion({ variant, className, ...props }: AccordionProps): react_jsx_runtime.JSX.Element;
|
|
714
|
+
interface AccordionItemProps extends React__default.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item> {
|
|
715
|
+
className?: string;
|
|
716
|
+
}
|
|
717
|
+
declare function AccordionItem({ className, ...props }: AccordionItemProps): react_jsx_runtime.JSX.Element;
|
|
718
|
+
interface AccordionTriggerProps extends React__default.ComponentPropsWithoutRef<typeof AccordionPrimitive.Trigger> {
|
|
719
|
+
className?: string;
|
|
720
|
+
children: React__default.ReactNode;
|
|
721
|
+
}
|
|
722
|
+
declare function AccordionTrigger({ className, children, ...props }: AccordionTriggerProps): react_jsx_runtime.JSX.Element;
|
|
723
|
+
interface AccordionContentProps extends React__default.ComponentPropsWithoutRef<typeof AccordionPrimitive.Content> {
|
|
724
|
+
className?: string;
|
|
725
|
+
children: React__default.ReactNode;
|
|
726
|
+
}
|
|
727
|
+
declare function AccordionContent({ className, children, ...props }: AccordionContentProps): react_jsx_runtime.JSX.Element;
|
|
728
|
+
|
|
729
|
+
interface ScrollAreaProps {
|
|
730
|
+
orientation?: 'vertical' | 'horizontal' | 'both';
|
|
731
|
+
className?: string;
|
|
732
|
+
children: React__default.ReactNode;
|
|
733
|
+
}
|
|
734
|
+
declare function ScrollArea({ orientation, className, children, }: ScrollAreaProps): react_jsx_runtime.JSX.Element;
|
|
735
|
+
interface ScrollBarProps {
|
|
736
|
+
orientation?: 'vertical' | 'horizontal';
|
|
737
|
+
className?: string;
|
|
738
|
+
}
|
|
739
|
+
declare function ScrollBar({ orientation, className, }: ScrollBarProps): react_jsx_runtime.JSX.Element;
|
|
740
|
+
|
|
741
|
+
interface AvatarProps {
|
|
742
|
+
src?: string;
|
|
743
|
+
alt?: string;
|
|
744
|
+
name?: string;
|
|
745
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
746
|
+
status?: 'online' | 'offline' | 'away' | 'busy';
|
|
747
|
+
shape?: 'circle' | 'rounded';
|
|
748
|
+
className?: string;
|
|
749
|
+
}
|
|
750
|
+
declare function Avatar({ src, alt, name, size, status, shape, className, }: AvatarProps): react_jsx_runtime.JSX.Element;
|
|
751
|
+
interface AvatarGroupProps {
|
|
752
|
+
children: React__default.ReactNode;
|
|
753
|
+
max?: number;
|
|
754
|
+
size?: AvatarProps['size'];
|
|
755
|
+
className?: string;
|
|
756
|
+
}
|
|
757
|
+
declare function AvatarGroup({ children, max, size, className }: AvatarGroupProps): react_jsx_runtime.JSX.Element;
|
|
758
|
+
|
|
759
|
+
interface StatCardProps {
|
|
760
|
+
label: string;
|
|
761
|
+
value: string | number;
|
|
762
|
+
unit?: string;
|
|
763
|
+
trend?: {
|
|
764
|
+
value: number;
|
|
765
|
+
direction: 'up' | 'down' | 'flat';
|
|
766
|
+
};
|
|
767
|
+
icon?: LucideIcon;
|
|
768
|
+
status?: 'success' | 'warning' | 'danger' | 'neutral';
|
|
769
|
+
footer?: React__default.ReactNode;
|
|
770
|
+
className?: string;
|
|
771
|
+
}
|
|
772
|
+
declare function StatCard({ label, value, unit, trend, icon: Icon, status, footer, className, }: StatCardProps): react_jsx_runtime.JSX.Element;
|
|
773
|
+
interface StatGridProps {
|
|
774
|
+
cols?: 2 | 3 | 4;
|
|
775
|
+
children: React__default.ReactNode;
|
|
776
|
+
className?: string;
|
|
777
|
+
}
|
|
778
|
+
declare function StatGrid({ cols, children, className }: StatGridProps): react_jsx_runtime.JSX.Element;
|
|
779
|
+
|
|
780
|
+
interface AlertProps {
|
|
781
|
+
variant?: 'info' | 'success' | 'warning' | 'error' | 'neutral';
|
|
782
|
+
dismissable?: boolean;
|
|
783
|
+
onDismiss?: () => void;
|
|
784
|
+
icon?: LucideIcon;
|
|
785
|
+
children: React__default.ReactNode;
|
|
786
|
+
className?: string;
|
|
787
|
+
}
|
|
788
|
+
declare function Alert({ variant, dismissable, onDismiss, icon, children, className, }: AlertProps): react_jsx_runtime.JSX.Element;
|
|
789
|
+
declare function AlertTitle({ className, ...props }: React__default.HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
|
|
790
|
+
declare function AlertDescription({ className, ...props }: React__default.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
791
|
+
declare function AlertActions({ className, ...props }: React__default.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
792
|
+
|
|
793
|
+
interface ProgressProps {
|
|
794
|
+
value: number;
|
|
795
|
+
max?: number;
|
|
796
|
+
size?: 'sm' | 'md' | 'lg';
|
|
797
|
+
color?: 'blue' | 'indigo' | 'success' | 'warning' | 'danger' | 'auto';
|
|
798
|
+
animated?: boolean;
|
|
799
|
+
className?: string;
|
|
800
|
+
}
|
|
801
|
+
declare function Progress({ value, max, size, color, animated, className, }: ProgressProps): react_jsx_runtime.JSX.Element;
|
|
802
|
+
interface UsageMeterProps {
|
|
803
|
+
label: string;
|
|
804
|
+
current: number;
|
|
805
|
+
max: number;
|
|
806
|
+
unit?: string;
|
|
807
|
+
showPercentage?: boolean;
|
|
808
|
+
size?: ProgressProps['size'];
|
|
809
|
+
className?: string;
|
|
810
|
+
}
|
|
811
|
+
declare function UsageMeter({ label, current, max, unit, showPercentage, size, className, }: UsageMeterProps): react_jsx_runtime.JSX.Element;
|
|
812
|
+
|
|
813
|
+
interface CopyButtonProps {
|
|
814
|
+
text: string;
|
|
815
|
+
label?: string;
|
|
816
|
+
variant?: 'inline' | 'button';
|
|
817
|
+
size?: 'sm' | 'md';
|
|
818
|
+
className?: string;
|
|
819
|
+
}
|
|
820
|
+
declare function CopyButton({ text, label, variant, size, className, }: CopyButtonProps): react_jsx_runtime.JSX.Element;
|
|
821
|
+
interface CopyFieldProps {
|
|
822
|
+
label?: string;
|
|
823
|
+
value: string;
|
|
824
|
+
mono?: boolean;
|
|
825
|
+
masked?: boolean;
|
|
826
|
+
className?: string;
|
|
827
|
+
}
|
|
828
|
+
declare function CopyField({ label, value, mono, masked, className, }: CopyFieldProps): react_jsx_runtime.JSX.Element;
|
|
829
|
+
|
|
830
|
+
interface DescriptionListProps {
|
|
831
|
+
variant?: 'stacked' | 'inline' | 'grid';
|
|
832
|
+
dividers?: boolean;
|
|
833
|
+
className?: string;
|
|
834
|
+
children: React__default.ReactNode;
|
|
835
|
+
}
|
|
836
|
+
declare function DescriptionList({ variant, dividers, className, children, }: DescriptionListProps): react_jsx_runtime.JSX.Element;
|
|
837
|
+
interface DescriptionItemProps {
|
|
838
|
+
label: string;
|
|
839
|
+
value: React__default.ReactNode;
|
|
840
|
+
mono?: boolean;
|
|
841
|
+
copyable?: boolean;
|
|
842
|
+
icon?: LucideIcon;
|
|
843
|
+
actions?: React__default.ReactNode;
|
|
844
|
+
className?: string;
|
|
845
|
+
/** @internal — injected by DescriptionList */
|
|
846
|
+
_variant?: 'stacked' | 'inline' | 'grid';
|
|
847
|
+
/** @internal — injected by DescriptionList */
|
|
848
|
+
_divider?: boolean;
|
|
849
|
+
}
|
|
850
|
+
declare function DescriptionItem({ label, value, mono, copyable, icon: Icon, actions, className, _variant, _divider, }: DescriptionItemProps): react_jsx_runtime.JSX.Element;
|
|
851
|
+
|
|
852
|
+
type TimelineStatus = 'default' | 'success' | 'warning' | 'danger' | 'info';
|
|
853
|
+
interface TimelineProps {
|
|
854
|
+
variant?: 'default' | 'compact';
|
|
855
|
+
className?: string;
|
|
856
|
+
children: React__default.ReactNode;
|
|
857
|
+
}
|
|
858
|
+
declare function Timeline({ variant, className, children, }: TimelineProps): react_jsx_runtime.JSX.Element;
|
|
859
|
+
interface TimelineItemProps {
|
|
860
|
+
title: string;
|
|
861
|
+
description?: React__default.ReactNode;
|
|
862
|
+
timestamp: string | Date;
|
|
863
|
+
icon?: LucideIcon;
|
|
864
|
+
status?: TimelineStatus;
|
|
865
|
+
user?: {
|
|
866
|
+
name: string;
|
|
867
|
+
avatar?: string;
|
|
868
|
+
};
|
|
869
|
+
isLast?: boolean;
|
|
870
|
+
actions?: React__default.ReactNode;
|
|
871
|
+
className?: string;
|
|
872
|
+
}
|
|
873
|
+
declare function TimelineItem({ title, description, timestamp, icon: Icon, status, user, isLast, actions, className, }: TimelineItemProps): react_jsx_runtime.JSX.Element;
|
|
874
|
+
|
|
875
|
+
interface CodeBlockProps {
|
|
876
|
+
code: string;
|
|
877
|
+
language?: string;
|
|
878
|
+
showLineNumbers?: boolean;
|
|
879
|
+
showCopy?: boolean;
|
|
880
|
+
maxHeight?: string;
|
|
881
|
+
wrap?: boolean;
|
|
882
|
+
title?: string;
|
|
883
|
+
highlightLines?: number[];
|
|
884
|
+
className?: string;
|
|
885
|
+
}
|
|
886
|
+
declare function CodeBlock({ code, language, showLineNumbers, showCopy, maxHeight, wrap, title, highlightLines, className, }: CodeBlockProps): react_jsx_runtime.JSX.Element;
|
|
887
|
+
interface InlineCodeProps {
|
|
888
|
+
children: React__default.ReactNode;
|
|
889
|
+
className?: string;
|
|
890
|
+
}
|
|
891
|
+
declare function InlineCode({ children, className }: InlineCodeProps): react_jsx_runtime.JSX.Element;
|
|
892
|
+
|
|
893
|
+
type LogLevel$1 = 'info' | 'warn' | 'error' | 'debug';
|
|
894
|
+
interface LogEntry$1 {
|
|
895
|
+
id: string;
|
|
896
|
+
timestamp: string;
|
|
897
|
+
level: LogLevel$1;
|
|
898
|
+
message: string;
|
|
899
|
+
source?: string;
|
|
900
|
+
requestId?: string;
|
|
901
|
+
duration?: number;
|
|
902
|
+
memory?: number;
|
|
903
|
+
metadata?: Record<string, string>;
|
|
904
|
+
}
|
|
905
|
+
interface LogColumn {
|
|
906
|
+
key: 'timestamp' | 'level' | 'source' | 'message' | 'requestId' | 'duration' | 'memory';
|
|
907
|
+
label: string;
|
|
908
|
+
width?: string;
|
|
909
|
+
}
|
|
910
|
+
interface LogLevelBadgeProps {
|
|
911
|
+
level: LogLevel$1;
|
|
912
|
+
className?: string;
|
|
913
|
+
}
|
|
914
|
+
declare function LogLevelBadge({ level, className }: LogLevelBadgeProps): react_jsx_runtime.JSX.Element;
|
|
915
|
+
interface LogLineProps {
|
|
916
|
+
entry: LogEntry$1;
|
|
917
|
+
showSource?: boolean;
|
|
918
|
+
compact?: boolean;
|
|
919
|
+
highlighted?: boolean;
|
|
920
|
+
onClick?: () => void;
|
|
921
|
+
className?: string;
|
|
922
|
+
cardView?: boolean;
|
|
923
|
+
}
|
|
924
|
+
declare function LogLine({ entry, showSource, compact, highlighted, onClick, className, cardView, }: LogLineProps): react_jsx_runtime.JSX.Element;
|
|
925
|
+
interface LogViewerProps {
|
|
926
|
+
entries: LogEntry$1[];
|
|
927
|
+
maxHeight?: string;
|
|
928
|
+
showHeader?: boolean;
|
|
929
|
+
headerColumns?: LogColumn[];
|
|
930
|
+
autoScroll?: boolean;
|
|
931
|
+
onEntryClick?: (entry: LogEntry$1) => void;
|
|
932
|
+
emptyMessage?: string;
|
|
933
|
+
showSource?: boolean;
|
|
934
|
+
compact?: boolean;
|
|
935
|
+
className?: string;
|
|
936
|
+
}
|
|
937
|
+
declare function LogViewer({ entries, maxHeight, showHeader, headerColumns, autoScroll, onEntryClick, emptyMessage, showSource, compact, className, }: LogViewerProps): react_jsx_runtime.JSX.Element;
|
|
938
|
+
|
|
939
|
+
interface KeyValueItem {
|
|
940
|
+
id: string;
|
|
941
|
+
key: string;
|
|
942
|
+
value: string;
|
|
943
|
+
scope?: string;
|
|
944
|
+
isSecret?: boolean;
|
|
945
|
+
updatedAt?: string;
|
|
946
|
+
}
|
|
947
|
+
interface SecretFieldProps {
|
|
948
|
+
value: string;
|
|
949
|
+
revealed?: boolean;
|
|
950
|
+
onRevealToggle?: () => void;
|
|
951
|
+
copyable?: boolean;
|
|
952
|
+
className?: string;
|
|
953
|
+
}
|
|
954
|
+
declare function SecretField({ value, revealed, onRevealToggle, copyable, className, }: SecretFieldProps): react_jsx_runtime.JSX.Element;
|
|
955
|
+
interface KeyValueRowProps {
|
|
956
|
+
item: KeyValueItem;
|
|
957
|
+
onEdit?: () => void;
|
|
958
|
+
onDelete?: () => void;
|
|
959
|
+
readOnly?: boolean;
|
|
960
|
+
className?: string;
|
|
961
|
+
}
|
|
962
|
+
declare function KeyValueRow({ item, onEdit, onDelete, readOnly, className, }: KeyValueRowProps): react_jsx_runtime.JSX.Element;
|
|
963
|
+
interface KeyValueEditorProps {
|
|
964
|
+
items: KeyValueItem[];
|
|
965
|
+
onChange: (items: KeyValueItem[]) => void;
|
|
966
|
+
scopes?: string[];
|
|
967
|
+
allowSecrets?: boolean;
|
|
968
|
+
addLabel?: string;
|
|
969
|
+
emptyMessage?: string;
|
|
970
|
+
readOnly?: boolean;
|
|
971
|
+
className?: string;
|
|
972
|
+
}
|
|
973
|
+
declare function KeyValueEditor({ items, onChange, scopes, allowSecrets, addLabel, emptyMessage, readOnly, className, }: KeyValueEditorProps): react_jsx_runtime.JSX.Element;
|
|
974
|
+
|
|
975
|
+
interface ChartConfig {
|
|
976
|
+
[key: string]: {
|
|
977
|
+
label: string;
|
|
978
|
+
color: string;
|
|
979
|
+
icon?: LucideIcon;
|
|
980
|
+
};
|
|
981
|
+
}
|
|
982
|
+
interface ChartContainerProps {
|
|
983
|
+
config: ChartConfig;
|
|
984
|
+
children: React__default.ReactNode;
|
|
985
|
+
className?: string;
|
|
986
|
+
aspect?: number;
|
|
987
|
+
}
|
|
988
|
+
declare function ChartContainer({ config, children, className, aspect, }: ChartContainerProps): react_jsx_runtime.JSX.Element;
|
|
989
|
+
interface ChartTooltipContentProps {
|
|
990
|
+
active?: boolean;
|
|
991
|
+
payload?: TooltipProps<number, string>['payload'];
|
|
992
|
+
label?: string;
|
|
993
|
+
config?: ChartConfig;
|
|
994
|
+
labelFormatter?: (label: string) => string;
|
|
995
|
+
valueFormatter?: (value: number, key: string) => string;
|
|
996
|
+
className?: string;
|
|
997
|
+
}
|
|
998
|
+
declare function ChartTooltipContent({ active, payload, label, config, labelFormatter, valueFormatter, className, }: ChartTooltipContentProps): react_jsx_runtime.JSX.Element | null;
|
|
999
|
+
interface ChartTooltipProps {
|
|
1000
|
+
config?: ChartConfig;
|
|
1001
|
+
labelFormatter?: (label: string) => string;
|
|
1002
|
+
valueFormatter?: (value: number, key: string) => string;
|
|
1003
|
+
cursor?: boolean | object;
|
|
1004
|
+
}
|
|
1005
|
+
declare function ChartTooltip({ config, labelFormatter, valueFormatter, cursor, }: ChartTooltipProps): react_jsx_runtime.JSX.Element;
|
|
1006
|
+
interface ChartLegendContentProps {
|
|
1007
|
+
payload?: Array<{
|
|
1008
|
+
value: string;
|
|
1009
|
+
color: string;
|
|
1010
|
+
dataKey?: string;
|
|
1011
|
+
}>;
|
|
1012
|
+
config?: ChartConfig;
|
|
1013
|
+
className?: string;
|
|
1014
|
+
}
|
|
1015
|
+
declare function ChartLegendContent({ payload, config, className, }: ChartLegendContentProps): react_jsx_runtime.JSX.Element | null;
|
|
1016
|
+
interface ChartLegendProps {
|
|
1017
|
+
config?: ChartConfig;
|
|
1018
|
+
}
|
|
1019
|
+
declare function ChartLegend({ config }: ChartLegendProps): react_jsx_runtime.JSX.Element;
|
|
1020
|
+
interface ChartGridProps {
|
|
1021
|
+
horizontal?: boolean;
|
|
1022
|
+
vertical?: boolean;
|
|
1023
|
+
className?: string;
|
|
1024
|
+
}
|
|
1025
|
+
declare function ChartGrid({ horizontal, vertical, ...props }: ChartGridProps): react_jsx_runtime.JSX.Element;
|
|
1026
|
+
declare const chartAxisStyle: {
|
|
1027
|
+
tick: {
|
|
1028
|
+
fill: string;
|
|
1029
|
+
fontSize: number;
|
|
1030
|
+
fontFamily: string;
|
|
1031
|
+
};
|
|
1032
|
+
axisLine: {
|
|
1033
|
+
stroke: string;
|
|
1034
|
+
};
|
|
1035
|
+
tickLine: false;
|
|
1036
|
+
};
|
|
1037
|
+
|
|
1038
|
+
declare const DropdownMenu: React__default.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
1039
|
+
declare const DropdownMenuTrigger: React__default.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
1040
|
+
declare const DropdownMenuGroup: React__default.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1041
|
+
declare const DropdownMenuPortal: React__default.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
1042
|
+
declare const DropdownMenuSub: React__default.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
1043
|
+
declare const DropdownMenuRadioGroup: React__default.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1044
|
+
declare const DropdownMenuContent: React__default.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React__default.RefAttributes<HTMLDivElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1045
|
+
interface DropdownMenuItemProps extends React__default.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Item> {
|
|
1046
|
+
variant?: 'default' | 'destructive';
|
|
1047
|
+
shortcut?: string;
|
|
1048
|
+
}
|
|
1049
|
+
declare const DropdownMenuItem: React__default.ForwardRefExoticComponent<DropdownMenuItemProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1050
|
+
declare const DropdownMenuCheckboxItem: React__default.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React__default.RefAttributes<HTMLDivElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1051
|
+
declare const DropdownMenuRadioItem: React__default.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React__default.RefAttributes<HTMLDivElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1052
|
+
declare const DropdownMenuLabel: React__default.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React__default.RefAttributes<HTMLDivElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1053
|
+
declare const DropdownMenuSeparator: React__default.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React__default.RefAttributes<HTMLDivElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1054
|
+
declare const DropdownMenuSubTrigger: React__default.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React__default.RefAttributes<HTMLDivElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1055
|
+
declare const DropdownMenuSubContent: React__default.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React__default.RefAttributes<HTMLDivElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1056
|
+
|
|
1057
|
+
interface ColumnDef<T = Record<string, unknown>> {
|
|
1058
|
+
key: string;
|
|
1059
|
+
label: string;
|
|
1060
|
+
sortable?: boolean;
|
|
1061
|
+
render?: (value: unknown, row: T) => React__default.ReactNode;
|
|
1062
|
+
width?: string;
|
|
1063
|
+
align?: 'left' | 'center' | 'right';
|
|
1064
|
+
/** Hide this column below the given breakpoint */
|
|
1065
|
+
hiddenBelow?: 'sm' | 'md' | 'lg';
|
|
1066
|
+
}
|
|
1067
|
+
interface DataTableProps<T = Record<string, unknown>> {
|
|
1068
|
+
columns: ColumnDef<T>[];
|
|
1069
|
+
data: T[];
|
|
1070
|
+
searchable?: boolean;
|
|
1071
|
+
searchPlaceholder?: string;
|
|
1072
|
+
searchKeys?: string[];
|
|
1073
|
+
rowNumbers?: boolean;
|
|
1074
|
+
onRowClick?: (item: T) => void;
|
|
1075
|
+
emptyMessage?: string;
|
|
1076
|
+
loading?: boolean;
|
|
1077
|
+
getRowId?: (item: T) => string;
|
|
1078
|
+
/** Row selection */
|
|
1079
|
+
selectable?: boolean;
|
|
1080
|
+
selectedIds?: string[];
|
|
1081
|
+
onSelectionChange?: (ids: string[]) => void;
|
|
1082
|
+
/** Pagination */
|
|
1083
|
+
paginated?: boolean;
|
|
1084
|
+
pageSize?: number;
|
|
1085
|
+
pageSizeOptions?: number[];
|
|
1086
|
+
className?: string;
|
|
1087
|
+
}
|
|
1088
|
+
declare function DataTable<T extends Record<string, unknown>>({ columns, data, searchable, searchPlaceholder, searchKeys, rowNumbers, onRowClick, emptyMessage, loading, getRowId, paginated, pageSize: initialPageSize, pageSizeOptions, className, selectable, selectedIds, onSelectionChange, }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
1089
|
+
|
|
1090
|
+
interface EmptyStateProps {
|
|
1091
|
+
icon?: LucideIcon;
|
|
1092
|
+
title?: string;
|
|
1093
|
+
description?: string;
|
|
1094
|
+
action?: {
|
|
1095
|
+
label: string;
|
|
1096
|
+
onClick: () => void;
|
|
1097
|
+
icon?: LucideIcon;
|
|
1098
|
+
};
|
|
1099
|
+
compact?: boolean;
|
|
1100
|
+
className?: string;
|
|
1101
|
+
}
|
|
1102
|
+
declare function EmptyState({ icon: Icon, title, description, action, compact, className, }: EmptyStateProps): react_jsx_runtime.JSX.Element;
|
|
1103
|
+
interface ErrorStateProps {
|
|
1104
|
+
icon?: LucideIcon;
|
|
1105
|
+
title?: string;
|
|
1106
|
+
description?: string;
|
|
1107
|
+
onRetry?: () => void;
|
|
1108
|
+
retrying?: boolean;
|
|
1109
|
+
fullPage?: boolean;
|
|
1110
|
+
className?: string;
|
|
1111
|
+
}
|
|
1112
|
+
declare function ErrorState({ icon: Icon, title, description, onRetry, retrying, fullPage, className, }: ErrorStateProps): react_jsx_runtime.JSX.Element;
|
|
1113
|
+
interface LoadingStateProps {
|
|
1114
|
+
variant?: 'spinner' | 'skeleton' | 'dots';
|
|
1115
|
+
message?: string;
|
|
1116
|
+
extendedMessage?: string;
|
|
1117
|
+
count?: number;
|
|
1118
|
+
className?: string;
|
|
1119
|
+
}
|
|
1120
|
+
declare function LoadingState({ variant, message, extendedMessage, count, className, }: LoadingStateProps): react_jsx_runtime.JSX.Element;
|
|
1121
|
+
|
|
1122
|
+
interface CommandItem {
|
|
1123
|
+
id: string;
|
|
1124
|
+
label: string;
|
|
1125
|
+
description?: string;
|
|
1126
|
+
icon?: LucideIcon;
|
|
1127
|
+
shortcut?: string;
|
|
1128
|
+
keywords?: string[];
|
|
1129
|
+
disabled?: boolean;
|
|
1130
|
+
}
|
|
1131
|
+
interface CommandGroup {
|
|
1132
|
+
heading: string;
|
|
1133
|
+
items: CommandItem[];
|
|
1134
|
+
}
|
|
1135
|
+
interface CommandPaletteProps {
|
|
1136
|
+
open: boolean;
|
|
1137
|
+
onOpenChange: (open: boolean) => void;
|
|
1138
|
+
groups: CommandGroup[];
|
|
1139
|
+
onSelect: (item: CommandItem) => void;
|
|
1140
|
+
placeholder?: string;
|
|
1141
|
+
emptyMessage?: string;
|
|
1142
|
+
}
|
|
1143
|
+
declare function CommandPalette({ open, onOpenChange, groups, onSelect, placeholder, emptyMessage, }: CommandPaletteProps): react_jsx_runtime.JSX.Element;
|
|
1144
|
+
declare function useCommandPalette(): {
|
|
1145
|
+
open: boolean;
|
|
1146
|
+
setOpen: React__default.Dispatch<React__default.SetStateAction<boolean>>;
|
|
1147
|
+
toggle: () => void;
|
|
1148
|
+
};
|
|
1149
|
+
|
|
1150
|
+
interface TimeRangePreset {
|
|
1151
|
+
label: string;
|
|
1152
|
+
value: string;
|
|
1153
|
+
getRange: () => {
|
|
1154
|
+
from: Date;
|
|
1155
|
+
to: Date;
|
|
1156
|
+
};
|
|
1157
|
+
}
|
|
1158
|
+
interface TimeRangeValue {
|
|
1159
|
+
from: Date;
|
|
1160
|
+
to: Date;
|
|
1161
|
+
}
|
|
1162
|
+
interface TimeRangePickerProps {
|
|
1163
|
+
value?: TimeRangeValue;
|
|
1164
|
+
onChange: (range: TimeRangeValue) => void;
|
|
1165
|
+
presets?: TimeRangePreset[];
|
|
1166
|
+
showCustom?: boolean;
|
|
1167
|
+
placeholder?: string;
|
|
1168
|
+
label?: string;
|
|
1169
|
+
size?: 'sm' | 'md';
|
|
1170
|
+
className?: string;
|
|
1171
|
+
}
|
|
1172
|
+
declare function TimeRangePicker({ value, onChange, presets, showCustom, placeholder, label, size, className, }: TimeRangePickerProps): react_jsx_runtime.JSX.Element;
|
|
1173
|
+
|
|
1174
|
+
interface PricingFeature {
|
|
1175
|
+
label: string;
|
|
1176
|
+
included: boolean;
|
|
1177
|
+
tooltip?: string;
|
|
1178
|
+
}
|
|
1179
|
+
interface PricingCardProps {
|
|
1180
|
+
name: string;
|
|
1181
|
+
description?: string;
|
|
1182
|
+
price: {
|
|
1183
|
+
amount: number | string;
|
|
1184
|
+
period?: string;
|
|
1185
|
+
currency?: string;
|
|
1186
|
+
} | string;
|
|
1187
|
+
features: PricingFeature[];
|
|
1188
|
+
highlighted?: boolean;
|
|
1189
|
+
current?: boolean;
|
|
1190
|
+
ctaLabel?: string;
|
|
1191
|
+
onSelect?: () => void;
|
|
1192
|
+
icon?: LucideIcon;
|
|
1193
|
+
badge?: string;
|
|
1194
|
+
className?: string;
|
|
1195
|
+
}
|
|
1196
|
+
declare function PricingCard({ name, description, price, features, highlighted, current, ctaLabel, onSelect, icon: Icon, badge, className, }: PricingCardProps): react_jsx_runtime.JSX.Element;
|
|
1197
|
+
|
|
1198
|
+
type Impact = 'high' | 'medium' | 'low';
|
|
1199
|
+
interface RecommendationCardProps {
|
|
1200
|
+
title: string;
|
|
1201
|
+
description: string;
|
|
1202
|
+
impact: Impact;
|
|
1203
|
+
savings?: string;
|
|
1204
|
+
icon?: LucideIcon;
|
|
1205
|
+
onApply?: () => void;
|
|
1206
|
+
onDismiss?: () => void;
|
|
1207
|
+
applyLabel?: string;
|
|
1208
|
+
dismissLabel?: string;
|
|
1209
|
+
applied?: boolean;
|
|
1210
|
+
className?: string;
|
|
1211
|
+
}
|
|
1212
|
+
declare function RecommendationCard({ title, description, impact, savings, icon: Icon, onApply, onDismiss, applyLabel, dismissLabel, applied, className, }: RecommendationCardProps): react_jsx_runtime.JSX.Element;
|
|
1213
|
+
|
|
1214
|
+
type CellValue = boolean | 'partial';
|
|
1215
|
+
interface PermissionRole {
|
|
1216
|
+
id: string;
|
|
1217
|
+
label: string;
|
|
1218
|
+
description?: string;
|
|
1219
|
+
}
|
|
1220
|
+
interface Permission {
|
|
1221
|
+
id: string;
|
|
1222
|
+
label: string;
|
|
1223
|
+
description?: string;
|
|
1224
|
+
group?: string;
|
|
1225
|
+
}
|
|
1226
|
+
interface PermissionMatrixProps {
|
|
1227
|
+
roles: PermissionRole[];
|
|
1228
|
+
permissions: Permission[];
|
|
1229
|
+
values: Record<string, Record<string, CellValue>>;
|
|
1230
|
+
onChange?: (permissionId: string, roleId: string, value: boolean) => void;
|
|
1231
|
+
readOnly?: boolean;
|
|
1232
|
+
className?: string;
|
|
1233
|
+
}
|
|
1234
|
+
declare function PermissionMatrix({ roles, permissions, values, onChange, readOnly, className, }: PermissionMatrixProps): react_jsx_runtime.JSX.Element;
|
|
1235
|
+
|
|
1236
|
+
interface CronPreset {
|
|
1237
|
+
label: string;
|
|
1238
|
+
value: string;
|
|
1239
|
+
}
|
|
1240
|
+
interface CronEditorProps {
|
|
1241
|
+
value: string;
|
|
1242
|
+
onChange: (expression: string) => void;
|
|
1243
|
+
presets?: CronPreset[];
|
|
1244
|
+
showPreview?: boolean;
|
|
1245
|
+
showNextRuns?: boolean;
|
|
1246
|
+
nextRunCount?: number;
|
|
1247
|
+
label?: string;
|
|
1248
|
+
error?: string;
|
|
1249
|
+
className?: string;
|
|
1250
|
+
}
|
|
1251
|
+
declare function CronEditor({ value, onChange, presets, showPreview, showNextRuns, nextRunCount, label, error, className, }: CronEditorProps): react_jsx_runtime.JSX.Element;
|
|
1252
|
+
|
|
1253
|
+
type StepStatus = 'pending' | 'active' | 'completed' | 'failed' | 'skipped';
|
|
1254
|
+
interface Step {
|
|
1255
|
+
id: string;
|
|
1256
|
+
label: string;
|
|
1257
|
+
description?: string;
|
|
1258
|
+
status: StepStatus;
|
|
1259
|
+
duration?: string;
|
|
1260
|
+
icon?: LucideIcon;
|
|
1261
|
+
}
|
|
1262
|
+
interface StepIndicatorProps {
|
|
1263
|
+
steps: Step[];
|
|
1264
|
+
orientation?: 'horizontal' | 'vertical';
|
|
1265
|
+
size?: 'sm' | 'md';
|
|
1266
|
+
onStepClick?: (step: Step) => void;
|
|
1267
|
+
className?: string;
|
|
1268
|
+
}
|
|
1269
|
+
declare function StepIndicator({ steps, orientation: orientationProp, size, onStepClick, className, }: StepIndicatorProps): react_jsx_runtime.JSX.Element;
|
|
1270
|
+
|
|
1271
|
+
interface TrafficSplit {
|
|
1272
|
+
id: string;
|
|
1273
|
+
label: string;
|
|
1274
|
+
version?: string;
|
|
1275
|
+
percentage: number;
|
|
1276
|
+
color?: string;
|
|
1277
|
+
}
|
|
1278
|
+
interface TrafficSplitterProps {
|
|
1279
|
+
splits: TrafficSplit[];
|
|
1280
|
+
onChange: (splits: TrafficSplit[]) => void;
|
|
1281
|
+
min?: number;
|
|
1282
|
+
maxTargets?: number;
|
|
1283
|
+
label?: string;
|
|
1284
|
+
onAddTarget?: () => void;
|
|
1285
|
+
addTargetLabel?: string;
|
|
1286
|
+
className?: string;
|
|
1287
|
+
}
|
|
1288
|
+
declare function TrafficSplitter({ splits, onChange, min, maxTargets, label, onAddTarget, addTargetLabel, className, }: TrafficSplitterProps): react_jsx_runtime.JSX.Element;
|
|
1289
|
+
|
|
1290
|
+
type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
1291
|
+
interface RequestHeader {
|
|
1292
|
+
id: string;
|
|
1293
|
+
key: string;
|
|
1294
|
+
value: string;
|
|
1295
|
+
}
|
|
1296
|
+
interface RequestConfig {
|
|
1297
|
+
method: HttpMethod;
|
|
1298
|
+
url: string;
|
|
1299
|
+
headers: RequestHeader[];
|
|
1300
|
+
body: string;
|
|
1301
|
+
}
|
|
1302
|
+
interface ResponseResult {
|
|
1303
|
+
status: number;
|
|
1304
|
+
statusText?: string;
|
|
1305
|
+
headers?: Record<string, string>;
|
|
1306
|
+
body: string;
|
|
1307
|
+
duration?: number;
|
|
1308
|
+
}
|
|
1309
|
+
interface RequestBuilderProps {
|
|
1310
|
+
method?: HttpMethod;
|
|
1311
|
+
url?: string;
|
|
1312
|
+
headers?: RequestHeader[];
|
|
1313
|
+
body?: string;
|
|
1314
|
+
onSend?: (request: RequestConfig) => Promise<ResponseResult>;
|
|
1315
|
+
readOnlyUrl?: boolean;
|
|
1316
|
+
label?: string;
|
|
1317
|
+
className?: string;
|
|
1318
|
+
}
|
|
1319
|
+
declare function RequestBuilder({ method: initialMethod, url: initialUrl, headers: initialHeaders, body: initialBody, onSend, readOnlyUrl, label, className, }: RequestBuilderProps): react_jsx_runtime.JSX.Element;
|
|
1320
|
+
|
|
1321
|
+
type SpanStatus = 'ok' | 'error' | 'timeout';
|
|
1322
|
+
interface TraceSpan {
|
|
1323
|
+
id: string;
|
|
1324
|
+
parentId?: string;
|
|
1325
|
+
service: string;
|
|
1326
|
+
operation: string;
|
|
1327
|
+
startTime: number;
|
|
1328
|
+
duration: number;
|
|
1329
|
+
status: SpanStatus;
|
|
1330
|
+
tags?: Record<string, string>;
|
|
1331
|
+
}
|
|
1332
|
+
interface TraceWaterfallProps {
|
|
1333
|
+
spans: TraceSpan[];
|
|
1334
|
+
totalDuration?: number;
|
|
1335
|
+
onSpanClick?: (span: TraceSpan) => void;
|
|
1336
|
+
className?: string;
|
|
1337
|
+
}
|
|
1338
|
+
declare function TraceWaterfall({ spans, totalDuration: totalDurationProp, onSpanClick, className, }: TraceWaterfallProps): react_jsx_runtime.JSX.Element;
|
|
1339
|
+
|
|
1340
|
+
type NodeStatus = 'healthy' | 'degraded' | 'error' | 'unknown';
|
|
1341
|
+
type EdgeStatus = 'ok' | 'error' | 'slow';
|
|
1342
|
+
interface ServiceNode {
|
|
1343
|
+
id: string;
|
|
1344
|
+
label: string;
|
|
1345
|
+
type?: string;
|
|
1346
|
+
status: NodeStatus;
|
|
1347
|
+
metrics?: {
|
|
1348
|
+
rps?: number;
|
|
1349
|
+
latency?: number;
|
|
1350
|
+
errorRate?: number;
|
|
1351
|
+
};
|
|
1352
|
+
}
|
|
1353
|
+
interface ServiceEdge {
|
|
1354
|
+
from: string;
|
|
1355
|
+
to: string;
|
|
1356
|
+
label?: string;
|
|
1357
|
+
status?: EdgeStatus;
|
|
1358
|
+
metrics?: {
|
|
1359
|
+
rps?: number;
|
|
1360
|
+
latency?: number;
|
|
1361
|
+
};
|
|
1362
|
+
}
|
|
1363
|
+
interface ServiceMapProps {
|
|
1364
|
+
nodes: ServiceNode[];
|
|
1365
|
+
edges: ServiceEdge[];
|
|
1366
|
+
onNodeClick?: (node: ServiceNode) => void;
|
|
1367
|
+
width?: number;
|
|
1368
|
+
height?: number;
|
|
1369
|
+
className?: string;
|
|
1370
|
+
}
|
|
1371
|
+
declare function ServiceMap({ nodes, edges, onNodeClick, width, height, className, }: ServiceMapProps): react_jsx_runtime.JSX.Element;
|
|
1372
|
+
|
|
1373
|
+
type Operator = '>' | '>=' | '<' | '<=' | '==' | '!=';
|
|
1374
|
+
type Severity = 'critical' | 'warning' | 'info';
|
|
1375
|
+
interface MetricOption {
|
|
1376
|
+
value: string;
|
|
1377
|
+
label: string;
|
|
1378
|
+
icon?: LucideIcon;
|
|
1379
|
+
}
|
|
1380
|
+
interface ChannelOption {
|
|
1381
|
+
value: string;
|
|
1382
|
+
label: string;
|
|
1383
|
+
icon?: LucideIcon;
|
|
1384
|
+
}
|
|
1385
|
+
interface AlertRule {
|
|
1386
|
+
id: string;
|
|
1387
|
+
metric: string;
|
|
1388
|
+
operator: Operator;
|
|
1389
|
+
threshold: number;
|
|
1390
|
+
window: string;
|
|
1391
|
+
severity: Severity;
|
|
1392
|
+
channels: string[];
|
|
1393
|
+
enabled: boolean;
|
|
1394
|
+
}
|
|
1395
|
+
interface AlertRuleEditorProps {
|
|
1396
|
+
rules: AlertRule[];
|
|
1397
|
+
onChange: (rules: AlertRule[]) => void;
|
|
1398
|
+
metrics: MetricOption[];
|
|
1399
|
+
channels?: ChannelOption[];
|
|
1400
|
+
severities?: Severity[];
|
|
1401
|
+
label?: string;
|
|
1402
|
+
className?: string;
|
|
1403
|
+
}
|
|
1404
|
+
declare function AlertRuleEditor({ rules, onChange, metrics, channels, severities, label, className, }: AlertRuleEditorProps): react_jsx_runtime.JSX.Element;
|
|
1405
|
+
|
|
1406
|
+
interface FileItem {
|
|
1407
|
+
id: string;
|
|
1408
|
+
name: string;
|
|
1409
|
+
type: 'file' | 'folder';
|
|
1410
|
+
size?: number;
|
|
1411
|
+
modified?: string;
|
|
1412
|
+
children?: FileItem[];
|
|
1413
|
+
}
|
|
1414
|
+
interface FileBrowserActions {
|
|
1415
|
+
onUpload?: () => void;
|
|
1416
|
+
onDownload?: (ids: string[]) => void;
|
|
1417
|
+
onDelete?: (ids: string[]) => void;
|
|
1418
|
+
onCreateFolder?: () => void;
|
|
1419
|
+
}
|
|
1420
|
+
interface FileBrowserProps {
|
|
1421
|
+
items: FileItem[];
|
|
1422
|
+
currentPath?: string[];
|
|
1423
|
+
onNavigate?: (path: string[]) => void;
|
|
1424
|
+
selectedIds?: string[];
|
|
1425
|
+
onSelect?: (ids: string[]) => void;
|
|
1426
|
+
actions?: FileBrowserActions;
|
|
1427
|
+
className?: string;
|
|
1428
|
+
}
|
|
1429
|
+
declare function FileBrowser({ items, currentPath, onNavigate, selectedIds, onSelect, actions, className, }: FileBrowserProps): react_jsx_runtime.JSX.Element;
|
|
1430
|
+
|
|
1431
|
+
interface WizardStep {
|
|
1432
|
+
id: string;
|
|
1433
|
+
label: string;
|
|
1434
|
+
description?: string;
|
|
1435
|
+
icon?: LucideIcon;
|
|
1436
|
+
}
|
|
1437
|
+
interface StepWizardProps {
|
|
1438
|
+
steps: WizardStep[];
|
|
1439
|
+
currentStep: number;
|
|
1440
|
+
onStepChange: (step: number) => void;
|
|
1441
|
+
onFinish?: () => void;
|
|
1442
|
+
canProceed?: boolean;
|
|
1443
|
+
children: (step: WizardStep, index: number) => React__default.ReactNode;
|
|
1444
|
+
backLabel?: string;
|
|
1445
|
+
nextLabel?: string;
|
|
1446
|
+
finishLabel?: string;
|
|
1447
|
+
className?: string;
|
|
1448
|
+
}
|
|
1449
|
+
declare function StepWizard({ steps, currentStep, onStepChange, onFinish, canProceed, children, backLabel, nextLabel, finishLabel, className, }: StepWizardProps): react_jsx_runtime.JSX.Element;
|
|
1450
|
+
interface ChecklistItem {
|
|
1451
|
+
id: string;
|
|
1452
|
+
label: string;
|
|
1453
|
+
description?: string;
|
|
1454
|
+
completed: boolean;
|
|
1455
|
+
action?: {
|
|
1456
|
+
label: string;
|
|
1457
|
+
onClick: () => void;
|
|
1458
|
+
icon?: LucideIcon;
|
|
1459
|
+
};
|
|
1460
|
+
}
|
|
1461
|
+
interface ChecklistProps {
|
|
1462
|
+
items: ChecklistItem[];
|
|
1463
|
+
onChange?: (id: string, completed: boolean) => void;
|
|
1464
|
+
title?: string;
|
|
1465
|
+
className?: string;
|
|
1466
|
+
}
|
|
1467
|
+
declare function Checklist({ items, onChange, title, className, }: ChecklistProps): react_jsx_runtime.JSX.Element;
|
|
1468
|
+
|
|
1469
|
+
interface FormFieldContextValue {
|
|
1470
|
+
id: string;
|
|
1471
|
+
hasError: boolean;
|
|
1472
|
+
}
|
|
1473
|
+
declare function useFormField(): FormFieldContextValue;
|
|
1474
|
+
interface FormFieldProps {
|
|
1475
|
+
/** Field label */
|
|
1476
|
+
label?: string;
|
|
1477
|
+
/** Small description below the label */
|
|
1478
|
+
description?: string;
|
|
1479
|
+
/** Error message — shows red state when truthy */
|
|
1480
|
+
error?: string;
|
|
1481
|
+
/** Helper text below the input (hidden when error is shown) */
|
|
1482
|
+
helperText?: string;
|
|
1483
|
+
/** Show required asterisk */
|
|
1484
|
+
required?: boolean;
|
|
1485
|
+
/** Disable the entire field */
|
|
1486
|
+
disabled?: boolean;
|
|
1487
|
+
/** Horizontal layout (label left, input right) */
|
|
1488
|
+
horizontal?: boolean;
|
|
1489
|
+
children: React__default.ReactNode;
|
|
1490
|
+
className?: string;
|
|
1491
|
+
}
|
|
1492
|
+
declare function FormField({ label, description, error, helperText, required, disabled, horizontal, children, className, }: FormFieldProps): react_jsx_runtime.JSX.Element;
|
|
1493
|
+
interface FormGroupProps {
|
|
1494
|
+
/** Section title */
|
|
1495
|
+
title?: string;
|
|
1496
|
+
/** Section description */
|
|
1497
|
+
description?: string;
|
|
1498
|
+
/** Collapsible */
|
|
1499
|
+
collapsible?: boolean;
|
|
1500
|
+
/** Default collapsed state */
|
|
1501
|
+
defaultCollapsed?: boolean;
|
|
1502
|
+
children: React__default.ReactNode;
|
|
1503
|
+
className?: string;
|
|
1504
|
+
}
|
|
1505
|
+
declare function FormGroup({ title, description, children, className, }: FormGroupProps): react_jsx_runtime.JSX.Element;
|
|
1506
|
+
interface FormActionsProps {
|
|
1507
|
+
/** Align buttons */
|
|
1508
|
+
align?: 'left' | 'right' | 'between';
|
|
1509
|
+
children: React__default.ReactNode;
|
|
1510
|
+
className?: string;
|
|
1511
|
+
}
|
|
1512
|
+
declare function FormActions({ align, children, className }: FormActionsProps): react_jsx_runtime.JSX.Element;
|
|
1513
|
+
interface FormLabelProps {
|
|
1514
|
+
htmlFor?: string;
|
|
1515
|
+
required?: boolean;
|
|
1516
|
+
children: React__default.ReactNode;
|
|
1517
|
+
className?: string;
|
|
1518
|
+
}
|
|
1519
|
+
declare function FormLabel({ htmlFor, required, children, className }: FormLabelProps): react_jsx_runtime.JSX.Element;
|
|
1520
|
+
interface FormErrorProps {
|
|
1521
|
+
children: React__default.ReactNode;
|
|
1522
|
+
className?: string;
|
|
1523
|
+
}
|
|
1524
|
+
declare function FormError({ children, className }: FormErrorProps): react_jsx_runtime.JSX.Element;
|
|
1525
|
+
interface FormHelperTextProps {
|
|
1526
|
+
children: React__default.ReactNode;
|
|
1527
|
+
className?: string;
|
|
1528
|
+
}
|
|
1529
|
+
declare function FormHelperText({ children, className }: FormHelperTextProps): react_jsx_runtime.JSX.Element;
|
|
1530
|
+
|
|
1531
|
+
type NotificationType = 'info' | 'success' | 'warning' | 'error' | 'deploy' | 'alert' | 'system';
|
|
1532
|
+
interface NotificationAction {
|
|
1533
|
+
label: string;
|
|
1534
|
+
onClick: () => void;
|
|
1535
|
+
}
|
|
1536
|
+
interface NotificationItem {
|
|
1537
|
+
id: string;
|
|
1538
|
+
type: NotificationType;
|
|
1539
|
+
title: string;
|
|
1540
|
+
description?: string;
|
|
1541
|
+
timestamp: Date;
|
|
1542
|
+
read: boolean;
|
|
1543
|
+
action?: NotificationAction;
|
|
1544
|
+
/** Optional avatar/icon URL */
|
|
1545
|
+
avatarUrl?: string;
|
|
1546
|
+
}
|
|
1547
|
+
interface NotificationCenterProps {
|
|
1548
|
+
notifications: NotificationItem[];
|
|
1549
|
+
onMarkRead?: (id: string) => void;
|
|
1550
|
+
onMarkAllRead?: () => void;
|
|
1551
|
+
onDismiss?: (id: string) => void;
|
|
1552
|
+
/** Max notifications shown before "View all" */
|
|
1553
|
+
maxVisible?: number;
|
|
1554
|
+
onViewAll?: () => void;
|
|
1555
|
+
className?: string;
|
|
1556
|
+
}
|
|
1557
|
+
declare function NotificationCenter({ notifications, onMarkRead, onMarkAllRead, onDismiss, maxVisible, onViewAll, className, }: NotificationCenterProps): react_jsx_runtime.JSX.Element;
|
|
1558
|
+
interface NotificationBellProps {
|
|
1559
|
+
count?: number;
|
|
1560
|
+
onClick?: () => void;
|
|
1561
|
+
className?: string;
|
|
1562
|
+
}
|
|
1563
|
+
declare function NotificationBell({ count, onClick, className }: NotificationBellProps): react_jsx_runtime.JSX.Element;
|
|
1564
|
+
|
|
1565
|
+
declare const colorMap: Record<string, {
|
|
1566
|
+
stroke: string;
|
|
1567
|
+
fill: string;
|
|
1568
|
+
}>;
|
|
1569
|
+
interface SparklineProps {
|
|
1570
|
+
/** Array of numbers or objects with a `value` key */
|
|
1571
|
+
data: number[] | Array<{
|
|
1572
|
+
value: number;
|
|
1573
|
+
[key: string]: unknown;
|
|
1574
|
+
}>;
|
|
1575
|
+
/** Chart variant */
|
|
1576
|
+
variant?: 'area' | 'line' | 'bar';
|
|
1577
|
+
/** Color theme */
|
|
1578
|
+
color?: keyof typeof colorMap;
|
|
1579
|
+
/** Width in pixels */
|
|
1580
|
+
width?: number;
|
|
1581
|
+
/** Height in pixels */
|
|
1582
|
+
height?: number;
|
|
1583
|
+
/** Show min/max Y range or auto-scale from 0 */
|
|
1584
|
+
autoScale?: boolean;
|
|
1585
|
+
/** Animate on mount */
|
|
1586
|
+
animate?: boolean;
|
|
1587
|
+
/** Accessible label for screen readers */
|
|
1588
|
+
'aria-label'?: string;
|
|
1589
|
+
className?: string;
|
|
1590
|
+
}
|
|
1591
|
+
declare function Sparkline({ data, variant, color, width, height, autoScale, animate, 'aria-label': ariaLabel, className, }: SparklineProps): react_jsx_runtime.JSX.Element;
|
|
1592
|
+
interface SparklineBarProps {
|
|
1593
|
+
data: number[];
|
|
1594
|
+
color?: keyof typeof colorMap;
|
|
1595
|
+
width?: number;
|
|
1596
|
+
height?: number;
|
|
1597
|
+
className?: string;
|
|
1598
|
+
}
|
|
1599
|
+
declare function SparklineBar({ data, color, width, height, className, }: SparklineBarProps): react_jsx_runtime.JSX.Element;
|
|
1600
|
+
interface SparklineStatProps {
|
|
1601
|
+
label: string;
|
|
1602
|
+
value: string | number;
|
|
1603
|
+
/** Trend percentage (positive = up, negative = down) */
|
|
1604
|
+
trend?: number;
|
|
1605
|
+
data: number[];
|
|
1606
|
+
color?: keyof typeof colorMap;
|
|
1607
|
+
variant?: 'area' | 'line' | 'bar';
|
|
1608
|
+
className?: string;
|
|
1609
|
+
}
|
|
1610
|
+
declare function SparklineStat({ label, value, trend, data, color, variant, className, }: SparklineStatProps): react_jsx_runtime.JSX.Element;
|
|
1611
|
+
|
|
1612
|
+
type DiffMode = 'unified' | 'split';
|
|
1613
|
+
interface DiffLine {
|
|
1614
|
+
type: 'added' | 'removed' | 'unchanged' | 'header';
|
|
1615
|
+
content: string;
|
|
1616
|
+
oldLineNum?: number;
|
|
1617
|
+
newLineNum?: number;
|
|
1618
|
+
}
|
|
1619
|
+
interface DiffViewerProps {
|
|
1620
|
+
/** The original text */
|
|
1621
|
+
oldValue: string;
|
|
1622
|
+
/** The modified text */
|
|
1623
|
+
newValue: string;
|
|
1624
|
+
/** Label for the old version */
|
|
1625
|
+
oldTitle?: string;
|
|
1626
|
+
/** Label for the new version */
|
|
1627
|
+
newTitle?: string;
|
|
1628
|
+
/** Display mode */
|
|
1629
|
+
mode?: DiffMode;
|
|
1630
|
+
/** Allow toggling between modes */
|
|
1631
|
+
showModeToggle?: boolean;
|
|
1632
|
+
/** Language label (decorative) */
|
|
1633
|
+
language?: string;
|
|
1634
|
+
/** Max height before scroll */
|
|
1635
|
+
maxHeight?: string;
|
|
1636
|
+
className?: string;
|
|
1637
|
+
}
|
|
1638
|
+
declare function DiffViewer({ oldValue, newValue, oldTitle, newTitle, mode: initialMode, showModeToggle, language, maxHeight, className, }: DiffViewerProps): react_jsx_runtime.JSX.Element;
|
|
1639
|
+
|
|
1640
|
+
type BannerVariant = 'info' | 'warning' | 'error' | 'success' | 'announcement';
|
|
1641
|
+
interface BannerAction {
|
|
1642
|
+
label: string;
|
|
1643
|
+
onClick: () => void;
|
|
1644
|
+
}
|
|
1645
|
+
interface BannerProps {
|
|
1646
|
+
variant?: BannerVariant;
|
|
1647
|
+
title: string;
|
|
1648
|
+
description?: string;
|
|
1649
|
+
action?: BannerAction;
|
|
1650
|
+
dismissible?: boolean;
|
|
1651
|
+
onDismiss?: () => void;
|
|
1652
|
+
/** Sticky to top of viewport */
|
|
1653
|
+
sticky?: boolean;
|
|
1654
|
+
/** Icon override */
|
|
1655
|
+
icon?: React__default.ElementType;
|
|
1656
|
+
className?: string;
|
|
1657
|
+
}
|
|
1658
|
+
declare function Banner({ variant, title, description, action, dismissible, onDismiss, sticky, icon: IconOverride, className, }: BannerProps): react_jsx_runtime.JSX.Element | null;
|
|
1659
|
+
interface BannerStackProps {
|
|
1660
|
+
children: React__default.ReactNode;
|
|
1661
|
+
className?: string;
|
|
1662
|
+
}
|
|
1663
|
+
declare function BannerStack({ children, className }: BannerStackProps): react_jsx_runtime.JSX.Element;
|
|
1664
|
+
|
|
1665
|
+
type TerminalLineType = 'stdout' | 'stderr' | 'system' | 'error' | 'success' | 'warning';
|
|
1666
|
+
interface TerminalLine {
|
|
1667
|
+
text: string;
|
|
1668
|
+
type?: TerminalLineType;
|
|
1669
|
+
timestamp?: Date;
|
|
1670
|
+
}
|
|
1671
|
+
interface TerminalProps {
|
|
1672
|
+
lines: TerminalLine[];
|
|
1673
|
+
title?: string;
|
|
1674
|
+
/** Show timestamps beside each line */
|
|
1675
|
+
showTimestamps?: boolean;
|
|
1676
|
+
/** Auto-scroll to bottom on new lines */
|
|
1677
|
+
autoScroll?: boolean;
|
|
1678
|
+
/** Max height */
|
|
1679
|
+
maxHeight?: string;
|
|
1680
|
+
/** Show line numbers */
|
|
1681
|
+
lineNumbers?: boolean;
|
|
1682
|
+
/** Allow pause/resume of auto-scroll */
|
|
1683
|
+
showControls?: boolean;
|
|
1684
|
+
/** On clear callback */
|
|
1685
|
+
onClear?: () => void;
|
|
1686
|
+
className?: string;
|
|
1687
|
+
}
|
|
1688
|
+
declare function Terminal({ lines, title, showTimestamps, autoScroll: initialAutoScroll, maxHeight, lineNumbers, showControls, onClear, className, }: TerminalProps): react_jsx_runtime.JSX.Element;
|
|
1689
|
+
|
|
1690
|
+
interface DateTimePickerProps {
|
|
1691
|
+
value?: Date | null;
|
|
1692
|
+
onChange: (date: Date | null) => void;
|
|
1693
|
+
/** Show time picker */
|
|
1694
|
+
showTime?: boolean;
|
|
1695
|
+
/** Min date */
|
|
1696
|
+
minDate?: Date;
|
|
1697
|
+
/** Max date */
|
|
1698
|
+
maxDate?: Date;
|
|
1699
|
+
/** Placeholder text */
|
|
1700
|
+
placeholder?: string;
|
|
1701
|
+
/** Label above the picker */
|
|
1702
|
+
label?: string;
|
|
1703
|
+
/** Size variant */
|
|
1704
|
+
size?: 'sm' | 'md';
|
|
1705
|
+
/** Allow clearing the value */
|
|
1706
|
+
clearable?: boolean;
|
|
1707
|
+
/** Disabled state */
|
|
1708
|
+
disabled?: boolean;
|
|
1709
|
+
className?: string;
|
|
1710
|
+
}
|
|
1711
|
+
declare function DateTimePicker({ value, onChange, showTime, minDate, maxDate, placeholder, label, size, clearable, disabled, className, }: DateTimePickerProps): react_jsx_runtime.JSX.Element;
|
|
1712
|
+
|
|
1713
|
+
type PipelineStepStatus = 'pending' | 'running' | 'success' | 'failed' | 'skipped' | 'cancelled';
|
|
1714
|
+
interface PipelineStep {
|
|
1715
|
+
id: string;
|
|
1716
|
+
name: string;
|
|
1717
|
+
status: PipelineStepStatus;
|
|
1718
|
+
duration?: string;
|
|
1719
|
+
/** Log output preview */
|
|
1720
|
+
logPreview?: string;
|
|
1721
|
+
}
|
|
1722
|
+
interface PipelineStage {
|
|
1723
|
+
id: string;
|
|
1724
|
+
name: string;
|
|
1725
|
+
status: PipelineStepStatus;
|
|
1726
|
+
duration?: string;
|
|
1727
|
+
/** Steps within this stage */
|
|
1728
|
+
steps?: PipelineStep[];
|
|
1729
|
+
/** Are steps parallel? */
|
|
1730
|
+
parallel?: boolean;
|
|
1731
|
+
}
|
|
1732
|
+
interface PipelineProps {
|
|
1733
|
+
stages: PipelineStage[];
|
|
1734
|
+
/** Compact mode (no step details) */
|
|
1735
|
+
compact?: boolean;
|
|
1736
|
+
/** Currently selected stage ID */
|
|
1737
|
+
selectedStageId?: string;
|
|
1738
|
+
onStageClick?: (stageId: string) => void;
|
|
1739
|
+
className?: string;
|
|
1740
|
+
}
|
|
1741
|
+
declare function Pipeline({ stages, compact, selectedStageId, onStageClick, className, }: PipelineProps): react_jsx_runtime.JSX.Element;
|
|
1742
|
+
|
|
1743
|
+
declare const ContextMenu: React__default.FC<ContextMenuPrimitive.ContextMenuProps>;
|
|
1744
|
+
declare const ContextMenuTrigger: React__default.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuTriggerProps & React__default.RefAttributes<HTMLSpanElement>>;
|
|
1745
|
+
declare const ContextMenuGroup: React__default.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuGroupProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1746
|
+
declare const ContextMenuPortal: React__default.FC<ContextMenuPrimitive.ContextMenuPortalProps>;
|
|
1747
|
+
declare const ContextMenuSub: React__default.FC<ContextMenuPrimitive.ContextMenuSubProps>;
|
|
1748
|
+
declare const ContextMenuRadioGroup: React__default.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuRadioGroupProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1749
|
+
declare const ContextMenuContent: React__default.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuContentProps & React__default.RefAttributes<HTMLDivElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1750
|
+
interface ContextMenuItemProps extends React__default.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Item> {
|
|
1751
|
+
icon?: React__default.ElementType;
|
|
1752
|
+
shortcut?: string;
|
|
1753
|
+
destructive?: boolean;
|
|
1754
|
+
}
|
|
1755
|
+
declare const ContextMenuItem: React__default.ForwardRefExoticComponent<ContextMenuItemProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1756
|
+
declare const ContextMenuCheckboxItem: React__default.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuCheckboxItemProps & React__default.RefAttributes<HTMLDivElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1757
|
+
declare const ContextMenuRadioItem: React__default.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuRadioItemProps & React__default.RefAttributes<HTMLDivElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1758
|
+
declare const ContextMenuLabel: React__default.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuLabelProps & React__default.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1759
|
+
inset?: boolean;
|
|
1760
|
+
} & React__default.RefAttributes<HTMLDivElement>>;
|
|
1761
|
+
declare const ContextMenuSeparator: React__default.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSeparatorProps & React__default.RefAttributes<HTMLDivElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1762
|
+
declare const ContextMenuSubTrigger: React__default.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubTriggerProps & React__default.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1763
|
+
icon?: React__default.ElementType;
|
|
1764
|
+
} & React__default.RefAttributes<HTMLDivElement>>;
|
|
1765
|
+
declare const ContextMenuSubContent: React__default.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubContentProps & React__default.RefAttributes<HTMLDivElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1766
|
+
|
|
1767
|
+
interface FilterOption {
|
|
1768
|
+
value: string;
|
|
1769
|
+
label: string;
|
|
1770
|
+
/** Optional color dot (e.g., for status) */
|
|
1771
|
+
color?: string;
|
|
1772
|
+
/** Count of matching items */
|
|
1773
|
+
count?: number;
|
|
1774
|
+
}
|
|
1775
|
+
interface FilterDefinition {
|
|
1776
|
+
id: string;
|
|
1777
|
+
label: string;
|
|
1778
|
+
type: 'select' | 'multi-select';
|
|
1779
|
+
options: FilterOption[];
|
|
1780
|
+
/** Icon for the filter */
|
|
1781
|
+
icon?: React__default.ElementType;
|
|
1782
|
+
}
|
|
1783
|
+
interface ActiveFilter {
|
|
1784
|
+
filterId: string;
|
|
1785
|
+
values: string[];
|
|
1786
|
+
}
|
|
1787
|
+
interface FilterBarProps {
|
|
1788
|
+
filters: FilterDefinition[];
|
|
1789
|
+
activeFilters: ActiveFilter[];
|
|
1790
|
+
onFiltersChange: (filters: ActiveFilter[]) => void;
|
|
1791
|
+
/** Search input */
|
|
1792
|
+
searchValue?: string;
|
|
1793
|
+
onSearchChange?: (value: string) => void;
|
|
1794
|
+
searchPlaceholder?: string;
|
|
1795
|
+
/** Show filter count badges */
|
|
1796
|
+
showCounts?: boolean;
|
|
1797
|
+
className?: string;
|
|
1798
|
+
}
|
|
1799
|
+
declare function FilterBar({ filters, activeFilters, onFiltersChange, searchValue, onSearchChange, searchPlaceholder, showCounts, className, }: FilterBarProps): react_jsx_runtime.JSX.Element;
|
|
1800
|
+
|
|
1801
|
+
type DropZoneFileStatus = 'pending' | 'uploading' | 'success' | 'error';
|
|
1802
|
+
interface DropZoneFile {
|
|
1803
|
+
id: string;
|
|
1804
|
+
file: File;
|
|
1805
|
+
status: DropZoneFileStatus;
|
|
1806
|
+
progress?: number;
|
|
1807
|
+
error?: string;
|
|
1808
|
+
}
|
|
1809
|
+
interface DropZoneProps {
|
|
1810
|
+
/** Accepted file types (e.g., ['.js', '.ts', 'image/*']) */
|
|
1811
|
+
accept?: string[];
|
|
1812
|
+
/** Max file size in bytes */
|
|
1813
|
+
maxSize?: number;
|
|
1814
|
+
/** Allow multiple files */
|
|
1815
|
+
multiple?: boolean;
|
|
1816
|
+
/** Max number of files */
|
|
1817
|
+
maxFiles?: number;
|
|
1818
|
+
/** Callback when files are dropped/selected */
|
|
1819
|
+
onDrop: (files: File[]) => void;
|
|
1820
|
+
/** Show file list below drop zone */
|
|
1821
|
+
showFileList?: boolean;
|
|
1822
|
+
/** Files currently in the list (for controlled mode) */
|
|
1823
|
+
files?: DropZoneFile[];
|
|
1824
|
+
/** Remove file callback */
|
|
1825
|
+
onRemove?: (fileId: string) => void;
|
|
1826
|
+
/** Custom label */
|
|
1827
|
+
label?: string;
|
|
1828
|
+
/** Custom description */
|
|
1829
|
+
description?: string;
|
|
1830
|
+
/** Compact mode */
|
|
1831
|
+
compact?: boolean;
|
|
1832
|
+
/** Disabled */
|
|
1833
|
+
disabled?: boolean;
|
|
1834
|
+
className?: string;
|
|
1835
|
+
}
|
|
1836
|
+
declare function DropZone({ accept, maxSize, multiple, maxFiles, onDrop, showFileList, files: controlledFiles, onRemove, label, description, compact, disabled, className, }: DropZoneProps): react_jsx_runtime.JSX.Element;
|
|
1837
|
+
|
|
1838
|
+
type PodStatus = 'running' | 'pending' | 'failed' | 'warning' | 'terminating';
|
|
1839
|
+
interface PodNode {
|
|
1840
|
+
id: string;
|
|
1841
|
+
name: string;
|
|
1842
|
+
status: PodStatus;
|
|
1843
|
+
/** 0-100 representation of load */
|
|
1844
|
+
load?: number;
|
|
1845
|
+
/** Optional group/node identifier */
|
|
1846
|
+
group?: string;
|
|
1847
|
+
}
|
|
1848
|
+
interface PodHoneycombProps {
|
|
1849
|
+
pods: PodNode[];
|
|
1850
|
+
/** Group pods by this field (e.g. 'group') */
|
|
1851
|
+
groupBy?: keyof PodNode;
|
|
1852
|
+
className?: string;
|
|
1853
|
+
onPodClick?: (pod: PodNode) => void;
|
|
1854
|
+
}
|
|
1855
|
+
declare function PodHoneycomb({ pods, groupBy, className, onPodClick }: PodHoneycombProps): react_jsx_runtime.JSX.Element;
|
|
1856
|
+
|
|
1857
|
+
type RegionStatus = 'online' | 'degraded' | 'offline';
|
|
1858
|
+
interface RegionPoint {
|
|
1859
|
+
id: string;
|
|
1860
|
+
name: string;
|
|
1861
|
+
code: string;
|
|
1862
|
+
latency: number;
|
|
1863
|
+
status: RegionStatus;
|
|
1864
|
+
}
|
|
1865
|
+
interface LatencyRadarProps {
|
|
1866
|
+
regions: RegionPoint[];
|
|
1867
|
+
className?: string;
|
|
1868
|
+
onRegionClick?: (region: RegionPoint) => void;
|
|
1869
|
+
}
|
|
1870
|
+
declare function LatencyRadar({ regions, className, onRegionClick }: LatencyRadarProps): react_jsx_runtime.JSX.Element;
|
|
1871
|
+
|
|
1872
|
+
interface CostDataPoint {
|
|
1873
|
+
date: string;
|
|
1874
|
+
actual: number | null;
|
|
1875
|
+
projected: number | null;
|
|
1876
|
+
}
|
|
1877
|
+
interface CostForecastProps {
|
|
1878
|
+
data: CostDataPoint[];
|
|
1879
|
+
currentSpend: number;
|
|
1880
|
+
projectedSpend: number;
|
|
1881
|
+
budget: number;
|
|
1882
|
+
currency?: string;
|
|
1883
|
+
className?: string;
|
|
1884
|
+
}
|
|
1885
|
+
declare function CostForecast({ data, currentSpend, projectedSpend, budget, currency, className }: CostForecastProps): react_jsx_runtime.JSX.Element;
|
|
1886
|
+
|
|
1887
|
+
interface ResourceGaugeProps {
|
|
1888
|
+
label: string;
|
|
1889
|
+
value: number;
|
|
1890
|
+
limit?: string;
|
|
1891
|
+
unit?: string;
|
|
1892
|
+
color?: 'blue' | 'purple' | 'emerald' | 'amber' | 'red';
|
|
1893
|
+
size?: number;
|
|
1894
|
+
className?: string;
|
|
1895
|
+
}
|
|
1896
|
+
declare function ResourceGauge({ label, value, limit, unit, color, size, className, }: ResourceGaugeProps): react_jsx_runtime.JSX.Element;
|
|
1897
|
+
|
|
1898
|
+
type LogLevel = 'info' | 'warn' | 'error' | 'debug' | 'success';
|
|
1899
|
+
interface LogEntry {
|
|
1900
|
+
id: string;
|
|
1901
|
+
timestamp: string;
|
|
1902
|
+
level: LogLevel;
|
|
1903
|
+
message: string;
|
|
1904
|
+
source?: string;
|
|
1905
|
+
}
|
|
1906
|
+
interface LogTerminalProps {
|
|
1907
|
+
logs: LogEntry[];
|
|
1908
|
+
title?: string;
|
|
1909
|
+
isStreaming?: boolean;
|
|
1910
|
+
className?: string;
|
|
1911
|
+
onClear?: () => void;
|
|
1912
|
+
onDownload?: () => void;
|
|
1913
|
+
onToggleStream?: () => void;
|
|
1914
|
+
}
|
|
1915
|
+
declare function LogTerminal({ logs, title, isStreaming, className, onClear, onDownload, onToggleStream }: LogTerminalProps): react_jsx_runtime.JSX.Element;
|
|
1916
|
+
|
|
1917
|
+
interface EnvVar {
|
|
1918
|
+
id: string;
|
|
1919
|
+
key: string;
|
|
1920
|
+
value: string;
|
|
1921
|
+
isSecret: boolean;
|
|
1922
|
+
isSynced: boolean;
|
|
1923
|
+
}
|
|
1924
|
+
interface EnvManagerProps {
|
|
1925
|
+
variables: EnvVar[];
|
|
1926
|
+
className?: string;
|
|
1927
|
+
onUpdate?: (vars: EnvVar[]) => void;
|
|
1928
|
+
onDeploy?: () => void;
|
|
1929
|
+
}
|
|
1930
|
+
declare function EnvManager({ variables: initialVars, className, onUpdate, onDeploy }: EnvManagerProps): react_jsx_runtime.JSX.Element;
|
|
1931
|
+
|
|
1932
|
+
interface GlobePoint {
|
|
1933
|
+
id: string;
|
|
1934
|
+
lat: number;
|
|
1935
|
+
lng: number;
|
|
1936
|
+
label: string;
|
|
1937
|
+
status: 'active' | 'degraded' | 'offline';
|
|
1938
|
+
pulse?: boolean;
|
|
1939
|
+
}
|
|
1940
|
+
interface GlobeTrackerProps {
|
|
1941
|
+
points: GlobePoint[];
|
|
1942
|
+
className?: string;
|
|
1943
|
+
height?: number;
|
|
1944
|
+
}
|
|
1945
|
+
declare function GlobeTracker({ points, className, height }: GlobeTrackerProps): react_jsx_runtime.JSX.Element;
|
|
1946
|
+
|
|
1947
|
+
interface DomainRecord {
|
|
1948
|
+
id: string;
|
|
1949
|
+
domain: string;
|
|
1950
|
+
status: 'active' | 'pending' | 'error';
|
|
1951
|
+
type: 'primary' | 'redirect' | 'alias';
|
|
1952
|
+
dnsRecord?: {
|
|
1953
|
+
type: 'CNAME' | 'A' | 'TXT';
|
|
1954
|
+
name: string;
|
|
1955
|
+
value: string;
|
|
1956
|
+
};
|
|
1957
|
+
errorMessage?: string;
|
|
1958
|
+
}
|
|
1959
|
+
interface DomainManagerProps {
|
|
1960
|
+
domains: DomainRecord[];
|
|
1961
|
+
onAddDomain?: () => void;
|
|
1962
|
+
onVerify?: (id: string) => void;
|
|
1963
|
+
onRemove?: (id: string) => void;
|
|
1964
|
+
className?: string;
|
|
1965
|
+
}
|
|
1966
|
+
declare function DomainManager({ domains, onAddDomain, onVerify, onRemove, className }: DomainManagerProps): react_jsx_runtime.JSX.Element;
|
|
1967
|
+
|
|
1968
|
+
interface ActivityDataPoint {
|
|
1969
|
+
date: string;
|
|
1970
|
+
count: number;
|
|
1971
|
+
level?: 0 | 1 | 2 | 3 | 4;
|
|
1972
|
+
}
|
|
1973
|
+
interface ActivityHeatmapProps {
|
|
1974
|
+
data: ActivityDataPoint[];
|
|
1975
|
+
startDate?: Date;
|
|
1976
|
+
days?: number;
|
|
1977
|
+
className?: string;
|
|
1978
|
+
colorScale?: 'blue' | 'green' | 'amber' | 'purple';
|
|
1979
|
+
}
|
|
1980
|
+
declare function ActivityHeatmap({ data, startDate, days, // 12 weeks * 7 days
|
|
1981
|
+
className, colorScale }: ActivityHeatmapProps): react_jsx_runtime.JSX.Element;
|
|
1982
|
+
|
|
1983
|
+
type DeploymentStatus = 'queued' | 'building' | 'ready' | 'error' | 'cancelled';
|
|
1984
|
+
interface DeploymentItem {
|
|
1985
|
+
id: string;
|
|
1986
|
+
project: string;
|
|
1987
|
+
branch: string;
|
|
1988
|
+
commitHash: string;
|
|
1989
|
+
commitMessage: string;
|
|
1990
|
+
status: DeploymentStatus;
|
|
1991
|
+
createdAt: string;
|
|
1992
|
+
duration?: string;
|
|
1993
|
+
authorName: string;
|
|
1994
|
+
authorAvatar?: string;
|
|
1995
|
+
}
|
|
1996
|
+
interface DeploymentListProps {
|
|
1997
|
+
deployments: DeploymentItem[];
|
|
1998
|
+
className?: string;
|
|
1999
|
+
onSelect?: (id: string) => void;
|
|
2000
|
+
onRollback?: (id: string) => void;
|
|
2001
|
+
}
|
|
2002
|
+
declare function DeploymentList({ deployments, className, onSelect, onRollback }: DeploymentListProps): react_jsx_runtime.JSX.Element;
|
|
2003
|
+
|
|
2004
|
+
interface AutoscaleConfig {
|
|
2005
|
+
minReplicas: number;
|
|
2006
|
+
maxReplicas: number;
|
|
2007
|
+
cpuThreshold: number;
|
|
2008
|
+
enabled: boolean;
|
|
2009
|
+
}
|
|
2010
|
+
interface AutoscaleControlProps {
|
|
2011
|
+
config: AutoscaleConfig;
|
|
2012
|
+
onChange: (config: AutoscaleConfig) => void;
|
|
2013
|
+
className?: string;
|
|
2014
|
+
maxLimit?: number;
|
|
2015
|
+
}
|
|
2016
|
+
declare function AutoscaleControl({ config, onChange, className, maxLimit }: AutoscaleControlProps): react_jsx_runtime.JSX.Element;
|
|
2017
|
+
|
|
2018
|
+
interface CachePurgeRecord {
|
|
2019
|
+
id: string;
|
|
2020
|
+
path: string;
|
|
2021
|
+
status: 'pending' | 'completed' | 'failed';
|
|
2022
|
+
initiatedBy: string;
|
|
2023
|
+
timestamp: string;
|
|
2024
|
+
}
|
|
2025
|
+
interface CacheManagerProps {
|
|
2026
|
+
records: CachePurgeRecord[];
|
|
2027
|
+
onPurge: (path: string, tags: string[]) => void;
|
|
2028
|
+
className?: string;
|
|
2029
|
+
}
|
|
2030
|
+
declare function CacheManager({ records, onPurge, className }: CacheManagerProps): react_jsx_runtime.JSX.Element;
|
|
2031
|
+
|
|
2032
|
+
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, type ActiveFilter, type ActivityDataPoint, ActivityHeatmap, type ActivityHeatmapProps, Alert, AlertActions, AlertDescription, type AlertProps, type AlertRule, AlertRuleEditor, type AlertRuleEditorProps, AlertTitle, AmbientBackground, AnimatedSection, AppShell, type AppShellProps, type AutoscaleConfig, AutoscaleControl, type AutoscaleControlProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, Banner, type BannerAction, type BannerProps, BannerStack, type BannerStackProps, type BannerVariant, BentoCard, type BentoCardProps, BentoCell, type BentoCellProps, BentoGrid, type BentoGridProps, Breadcrumb, BreadcrumbItem, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, BreadcrumbTrail, type BreadcrumbTrailItem, Button, type ButtonProps, CacheManager, type CacheManagerProps, type CachePurgeRecord, type ChannelOption, type ChartConfig, ChartContainer, type ChartContainerProps, ChartGrid, type ChartGridProps, ChartLegend, ChartLegendContent, type ChartLegendContentProps, type ChartLegendProps, ChartTooltip, ChartTooltipContent, type ChartTooltipContentProps, type ChartTooltipProps, Checkbox, type CheckboxProps, Checklist, type ChecklistItem, type ChecklistProps, CodeBlock, type CodeBlockProps, type ColumnDef, type CommandGroup, type CommandItem, CommandPalette, type CommandPaletteProps, ConfirmDialog, type ConfirmDialogProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, type ContextMenuItemProps, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, type CopyButtonProps, CopyField, type CopyFieldProps, type CostDataPoint, CostForecast, type CostForecastProps, CronEditor, type CronEditorProps, type CronPreset, DataTable, type DataTableProps, DataValue, DateTimePicker, type DateTimePickerProps, type DeploymentItem, DeploymentList, type DeploymentListProps, type DeploymentStatus, DescriptionItem, type DescriptionItemProps, DescriptionList, type DescriptionListProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, type DiffLine, type DiffMode, DiffViewer, type DiffViewerProps, Divider, type DividerProps, DomainManager, type DomainManagerProps, type DomainRecord, Drawer, DrawerClose, DrawerContent, type DrawerContentProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerProps, DrawerTitle, type DrawerTitleProps, DrawerTrigger, DropZone, type DropZoneFile, type DropZoneFileStatus, type DropZoneProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, type EmptyStateProps, EnvManager, type EnvManagerProps, type EnvVar, ErrorState, type ErrorStateProps, FileBrowser, type FileBrowserActions, type FileBrowserProps, type FileItem, FilterBar, type FilterBarProps, type FilterDefinition, type FilterOption, FormActions, type FormActionsProps, FormError, type FormErrorProps, FormField, type FormFieldProps, FormGroup, type FormGroupProps, FormHelperText, type FormHelperTextProps, FormLabel, type FormLabelProps, GlassTile, type GlobePoint, GlobeTracker, type GlobeTrackerProps, type HeaderCTAButton, type HeaderUser, type HeaderWallet, HudLabel, InlineCode, type InlineCodeProps, Input, type InputProps, Kbd, type KbdProps, KeyValueEditor, type KeyValueEditorProps, type KeyValueItem, KeyValueRow, type KeyValueRowProps, LatencyRadar, type LatencyRadarProps, LoadingState, type LoadingStateProps, type LogColumn, type LogEntry$1 as LogEntry, type LogLevel$1 as LogLevel, LogLevelBadge, type LogLevelBadgeProps, LogLine, type LogLineProps, LogTerminal, type LogEntry as LogTerminalEntry, type LogLevel as LogTerminalLevel, type LogTerminalProps, LogViewer, type LogViewerProps, type MetricOption, type NotificationAction, NotificationBell, type NotificationBellProps, NotificationCenter, type NotificationCenterProps, type NotificationItem, type NotificationType, NumberInput, type NumberInputProps, PageShell, Pagination, type PaginationProps, type Permission as PermissionItem, PermissionMatrix, type PermissionMatrixProps, type PermissionRole, Pipeline, type PipelineProps, type PipelineStage, type PipelineStep, type PipelineStepStatus, PodHoneycomb, type PodHoneycombProps, type PodNode, type PodStatus, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PricingCard, type PricingCardProps, type PricingFeature, Progress, type ProgressProps, RadioGroup, type RadioGroupProps, RadioItem, type RadioItemProps, RangeSlider, type RangeSliderProps, RecommendationCard, type RecommendationCardProps, type RegionPoint, type RegionStatus, RequestBuilder, type RequestBuilderProps, type RequestConfig, type RequestHeader, ResourceGauge, type ResourceGaugeProps, type ResponseResult, RevealAction, RevealGroup, ScrollArea, type ScrollAreaProps, ScrollBar, type ScrollBarProps, SearchInput, type SearchInputProps, SecretField, type SecretFieldProps, SectionDot, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, type ServiceEdge, ServiceMap, type ServiceMapProps, type ServiceNode, type SidebarCTAButton, type SidebarLogo, type SidebarNavItem, type SidebarNavSection, type SidebarSubmenuConfig, type SidebarUser, type SidebarWallet, Skeleton, SkeletonCircle, type SkeletonCircleProps, type SkeletonProps, SkeletonText, type SkeletonTextProps, Slider, type SliderMark, type SliderProps, Sparkline, SparklineBar, type SparklineBarProps, type SparklineProps, SparklineStat, type SparklineStatProps, StatCard, type StatCardProps, StatGrid, type StatGridProps, StatusBadge, StatusDot, StatusIndicator, StealthHeader, type StealthHeaderProps, StealthSidebar, type StealthSidebarProps, StealthToaster, type StealthToasterProps, type Step, StepIndicator, type StepIndicatorProps, StepWizard, type StepWizardProps, Switch, type SwitchProps, Tabs, TabsContent, TabsList, type TabsListProps, TabsTrigger, type TabsTriggerProps, Tag, TagInput, type TagInputProps, type TagProps, Terminal, type TerminalLine, type TerminalLineType, type TerminalProps, Textarea, type TextareaProps, TimeRangePicker, type TimeRangePickerProps, type TimeRangePreset, type TimeRangeValue, Timeline, TimelineItem, type TimelineItemProps, type TimelineProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type TraceSpan, TraceWaterfall, type TraceWaterfallProps, type TrafficSplit, TrafficSplitter, type TrafficSplitterProps, UsageMeter, type UsageMeterProps, type WizardStep, buttonVariants, chartAxisStyle, createTriggerClass, useCommandPalette, useFormField };
|