@enterprise-ui-react/react 1.0.6

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.
@@ -0,0 +1,586 @@
1
+ import { Breakpoint } from './tokens/index.js';
2
+ export { Borders, BreakpointValue, ColorTheme, ColorToken, DarkShadows, Elevation, Motion, MotionVariant, SemanticBorders, SemanticSpacing, Shadows, Spacing, SpacingKey, TextStyle, TypographyToken, ZIndex, ZIndexKey, borders, breakpointValues, breakpoints, colors, darkShadows, elevation, mediaQueries, motion, semanticBorders, semanticSpacing, shadows, spacing, typography, zIndex } from './tokens/index.js';
3
+ import { ClassValue } from 'clsx';
4
+ import * as react_jsx_runtime from 'react/jsx-runtime';
5
+ import * as class_variance_authority_types from 'class-variance-authority/types';
6
+ import React$1 from 'react';
7
+ import { VariantProps } from 'class-variance-authority';
8
+ import * as lucide_react from 'lucide-react';
9
+ import { LucideProps, LucideIcon } from 'lucide-react';
10
+ export { LucideIcon, LucideProps } from 'lucide-react';
11
+ import { HTMLMotionProps } from 'framer-motion';
12
+ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
13
+ import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
14
+ import * as SwitchPrimitives from '@radix-ui/react-switch';
15
+ import * as SelectPrimitive from '@radix-ui/react-select';
16
+ import * as ToastPrimitives from '@radix-ui/react-toast';
17
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
18
+ import * as AvatarPrimitive from '@radix-ui/react-avatar';
19
+ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
20
+ import * as ProgressPrimitive from '@radix-ui/react-progress';
21
+
22
+ /**
23
+ * Utility for merging Tailwind CSS classes
24
+ * Uses clsx for conditional classes and tailwind-merge to handle conflicts
25
+ */
26
+
27
+ declare function cn(...inputs: ClassValue[]): string;
28
+
29
+ /**
30
+ * Theme utilities for switching between light/dark modes
31
+ * and managing theme preferences
32
+ */
33
+ type Theme = 'light' | 'dark' | 'system';
34
+ declare const THEME_STORAGE_KEY = "enterprise-ui-theme";
35
+ declare function getSystemTheme(): 'light' | 'dark';
36
+ declare function getStoredTheme(): Theme | null;
37
+ declare function setStoredTheme(theme: Theme): void;
38
+ declare function getResolvedTheme(theme: Theme): 'light' | 'dark';
39
+ declare function applyTheme(theme: 'light' | 'dark'): void;
40
+ declare function initializeTheme(): 'light' | 'dark';
41
+
42
+ /**
43
+ * Accessibility utilities
44
+ * WCAG 2.2 AA compliant helpers
45
+ */
46
+ /**
47
+ * Generate a unique ID for accessibility attributes
48
+ */
49
+ declare function generateId(prefix?: string): string;
50
+ /**
51
+ * Check if an element is focusable
52
+ */
53
+ declare function isFocusable(element: HTMLElement): boolean;
54
+ /**
55
+ * Get all focusable elements within a container
56
+ */
57
+ declare function getFocusableElements(container: HTMLElement): HTMLElement[];
58
+ /**
59
+ * Trap focus within a container (for modals, dialogs, etc.)
60
+ */
61
+ declare function trapFocus(container: HTMLElement, event: KeyboardEvent): void;
62
+ /**
63
+ * Announce message to screen readers
64
+ */
65
+ declare function announceToScreenReader(message: string, priority?: 'polite' | 'assertive'): void;
66
+ /**
67
+ * Calculate contrast ratio between two colors
68
+ * WCAG 2.2 requires 4.5:1 for normal text, 3:1 for large text
69
+ */
70
+ declare function getContrastRatio(color1: string, color2: string): number;
71
+ /**
72
+ * Check if color combination meets WCAG AA standards
73
+ */
74
+ declare function meetsWCAGAA(foreground: string, background: string, largeText?: boolean): boolean;
75
+
76
+ /**
77
+ * Responsive utilities
78
+ * Breakpoint matching and responsive helpers
79
+ */
80
+
81
+ /**
82
+ * Check if current viewport matches a breakpoint
83
+ */
84
+ declare function matchesBreakpoint(breakpoint: Breakpoint): boolean;
85
+ /**
86
+ * Get current breakpoint
87
+ */
88
+ declare function getCurrentBreakpoint(): Breakpoint;
89
+ /**
90
+ * Check if device is mobile
91
+ */
92
+ declare function isMobile(): boolean;
93
+ /**
94
+ * Check if device is tablet
95
+ */
96
+ declare function isTablet(): boolean;
97
+ /**
98
+ * Check if device is desktop
99
+ */
100
+ declare function isDesktop(): boolean;
101
+
102
+ /**
103
+ * Formatting utilities
104
+ * Common formatting functions for enterprise applications
105
+ */
106
+ /**
107
+ * Format number with commas
108
+ */
109
+ declare function formatNumber(num: number, options?: Intl.NumberFormatOptions): string;
110
+ /**
111
+ * Format currency
112
+ */
113
+ declare function formatCurrency(amount: number, currency?: string, locale?: string): string;
114
+ /**
115
+ * Format percentage
116
+ */
117
+ declare function formatPercent(value: number, decimals?: number, locale?: string): string;
118
+ /**
119
+ * Format date
120
+ */
121
+ declare function formatDate(date: Date | string | number, format?: 'short' | 'medium' | 'long' | 'full', locale?: string): string;
122
+ /**
123
+ * Format relative time (e.g., "2 hours ago")
124
+ */
125
+ declare function formatRelativeTime(date: Date | string | number, locale?: string): string;
126
+ /**
127
+ * Format file size
128
+ */
129
+ declare function formatFileSize(bytes: number, decimals?: number): string;
130
+ /**
131
+ * Truncate text with ellipsis
132
+ */
133
+ declare function truncate(text: string, maxLength: number): string;
134
+ /**
135
+ * Convert string to title case
136
+ */
137
+ declare function toTitleCase(str: string): string;
138
+ /**
139
+ * Convert string to kebab-case
140
+ */
141
+ declare function toKebabCase(str: string): string;
142
+ /**
143
+ * Convert string to camelCase
144
+ */
145
+ declare function toCamelCase(str: string): string;
146
+
147
+ interface ThemeContextValue {
148
+ theme: Theme;
149
+ resolvedTheme: 'light' | 'dark';
150
+ setTheme: (theme: Theme) => void;
151
+ }
152
+ interface ThemeProviderProps {
153
+ children: React.ReactNode;
154
+ defaultTheme?: Theme;
155
+ storageKey?: string;
156
+ }
157
+ declare function ThemeProvider({ children, defaultTheme, }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
158
+ declare function useTheme(): ThemeContextValue;
159
+
160
+ declare const typographyVariants: (props?: ({
161
+ variant?: "body" | "caption" | "code" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "label" | "bodyLarge" | "bodySmall" | "overline" | null | undefined;
162
+ color?: "disabled" | "link" | "primary" | "secondary" | "tertiary" | "inverse" | "success" | "warning" | "error" | "info" | null | undefined;
163
+ align?: "center" | "left" | "right" | "justify" | null | undefined;
164
+ weight?: "medium" | "bold" | "normal" | "semibold" | null | undefined;
165
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
166
+ type TypographyVariantProps = VariantProps<typeof typographyVariants>;
167
+ interface TypographyProps extends Omit<React$1.HTMLAttributes<HTMLElement>, 'color'>, TypographyVariantProps {
168
+ as?: keyof JSX.IntrinsicElements;
169
+ truncate?: boolean;
170
+ children: React$1.ReactNode;
171
+ }
172
+ declare const Typography: React$1.ForwardRefExoticComponent<TypographyProps & React$1.RefAttributes<HTMLElement>>;
173
+ declare const H1: React$1.FC<Omit<TypographyProps, 'variant'>>;
174
+ declare const H2: React$1.FC<Omit<TypographyProps, 'variant'>>;
175
+ declare const H3: React$1.FC<Omit<TypographyProps, 'variant'>>;
176
+ declare const H4: React$1.FC<Omit<TypographyProps, 'variant'>>;
177
+ declare const H5: React$1.FC<Omit<TypographyProps, 'variant'>>;
178
+ declare const H6: React$1.FC<Omit<TypographyProps, 'variant'>>;
179
+ declare const Text: React$1.FC<Omit<TypographyProps, 'variant'>>;
180
+ declare const Label: React$1.FC<Omit<TypographyProps, 'variant'>>;
181
+ declare const Caption: React$1.FC<Omit<TypographyProps, 'variant'>>;
182
+ declare const Code: React$1.FC<Omit<TypographyProps, 'variant'>>;
183
+
184
+ declare const iconVariants: (props?: ({
185
+ size?: "2xl" | "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
186
+ color?: "disabled" | "primary" | "secondary" | "tertiary" | "inverse" | "success" | "warning" | "error" | "info" | "accent" | null | undefined;
187
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
188
+ type IconVariantProps = VariantProps<typeof iconVariants>;
189
+ interface IconProps extends Omit<LucideProps, 'size' | 'color'>, IconVariantProps {
190
+ icon: LucideIcon;
191
+ }
192
+ declare const Icon: React$1.ForwardRefExoticComponent<Omit<IconProps, "ref"> & React$1.RefAttributes<SVGSVGElement>>;
193
+
194
+ /**
195
+ * FadeIn Motion Component
196
+ * Animated fade in effect
197
+ */
198
+
199
+ interface FadeInProps extends HTMLMotionProps<'div'> {
200
+ delay?: number;
201
+ duration?: number;
202
+ children: React$1.ReactNode;
203
+ }
204
+ declare const FadeIn: React$1.FC<FadeInProps>;
205
+
206
+ /**
207
+ * SlideIn Motion Component
208
+ * Animated slide in effect from various directions
209
+ */
210
+
211
+ interface SlideInProps extends HTMLMotionProps<'div'> {
212
+ direction?: 'up' | 'down' | 'left' | 'right';
213
+ delay?: number;
214
+ duration?: number;
215
+ distance?: number;
216
+ children: React$1.ReactNode;
217
+ }
218
+ declare const SlideIn: React$1.FC<SlideInProps>;
219
+
220
+ /**
221
+ * ScaleIn Motion Component
222
+ * Animated scale in effect
223
+ */
224
+
225
+ interface ScaleInProps extends HTMLMotionProps<'div'> {
226
+ delay?: number;
227
+ duration?: number;
228
+ initialScale?: number;
229
+ children: React$1.ReactNode;
230
+ }
231
+ declare const ScaleIn: React$1.FC<ScaleInProps>;
232
+
233
+ /**
234
+ * Stagger Motion Component
235
+ * Animate children with staggered timing
236
+ */
237
+
238
+ interface StaggerProps extends HTMLMotionProps<'div'> {
239
+ staggerDelay?: number;
240
+ children: React$1.ReactNode;
241
+ }
242
+ declare const Stagger: React$1.FC<StaggerProps>;
243
+ interface StaggerItemProps extends HTMLMotionProps<'div'> {
244
+ children: React$1.ReactNode;
245
+ }
246
+ declare const StaggerItem: React$1.FC<StaggerItemProps>;
247
+
248
+ declare const containerVariants: (props?: ({
249
+ maxWidth?: "2xl" | "3xl" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
250
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
251
+ interface ContainerProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof containerVariants> {
252
+ as?: keyof JSX.IntrinsicElements;
253
+ }
254
+ declare const Container: React$1.ForwardRefExoticComponent<ContainerProps & React$1.RefAttributes<HTMLDivElement>>;
255
+
256
+ declare const gridVariants: (props?: ({
257
+ cols?: 2 | 3 | 4 | 6 | 1 | 12 | 5 | null | undefined;
258
+ gap?: 0 | 2 | 3 | 4 | 6 | 8 | 1 | 12 | 5 | 10 | null | undefined;
259
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
260
+ interface GridProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof gridVariants> {
261
+ as?: keyof JSX.IntrinsicElements;
262
+ responsive?: {
263
+ sm?: number;
264
+ md?: number;
265
+ lg?: number;
266
+ xl?: number;
267
+ '2xl'?: number;
268
+ };
269
+ }
270
+ declare const Grid: React$1.ForwardRefExoticComponent<GridProps & React$1.RefAttributes<HTMLDivElement>>;
271
+ interface GridItemProps extends React$1.HTMLAttributes<HTMLDivElement> {
272
+ colSpan?: number;
273
+ rowSpan?: number;
274
+ colStart?: number;
275
+ colEnd?: number;
276
+ rowStart?: number;
277
+ rowEnd?: number;
278
+ }
279
+ declare const GridItem: React$1.ForwardRefExoticComponent<GridItemProps & React$1.RefAttributes<HTMLDivElement>>;
280
+
281
+ declare const stackVariants: (props?: ({
282
+ direction?: "row" | "column" | "rowReverse" | "columnReverse" | null | undefined;
283
+ gap?: 0 | 2 | 3 | 4 | 6 | 8 | 1 | 12 | 5 | 10 | null | undefined;
284
+ align?: "center" | "end" | "baseline" | "start" | "stretch" | null | undefined;
285
+ justify?: "center" | "end" | "start" | "between" | "around" | "evenly" | null | undefined;
286
+ wrap?: boolean | "reverse" | null | undefined;
287
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
288
+ interface StackProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof stackVariants> {
289
+ as?: keyof JSX.IntrinsicElements;
290
+ }
291
+ declare const Stack: React$1.ForwardRefExoticComponent<StackProps & React$1.RefAttributes<HTMLDivElement>>;
292
+ declare const HStack: React$1.ForwardRefExoticComponent<Omit<StackProps, "direction"> & React$1.RefAttributes<HTMLDivElement>>;
293
+ declare const VStack: React$1.ForwardRefExoticComponent<Omit<StackProps, "direction"> & React$1.RefAttributes<HTMLDivElement>>;
294
+
295
+ declare const sidebarVariants: (props?: ({
296
+ collapsed?: boolean | null | undefined;
297
+ mobile?: boolean | null | undefined;
298
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
299
+ interface SidebarProps extends React$1.HTMLAttributes<HTMLDivElement>, Omit<VariantProps<typeof sidebarVariants>, 'mobile'> {
300
+ collapsible?: boolean;
301
+ defaultCollapsed?: boolean;
302
+ onCollapsedChange?: (collapsed: boolean) => void;
303
+ }
304
+ declare const Sidebar: React$1.ForwardRefExoticComponent<SidebarProps & React$1.RefAttributes<HTMLDivElement>>;
305
+ declare const SidebarHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
306
+ declare const SidebarContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
307
+ declare const SidebarFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
308
+ declare const SidebarNav: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLElement> & React$1.RefAttributes<HTMLElement>>;
309
+ interface SidebarNavItemProps extends React$1.AnchorHTMLAttributes<HTMLAnchorElement> {
310
+ active?: boolean;
311
+ icon?: React$1.ReactNode;
312
+ collapsed?: boolean;
313
+ }
314
+ declare const SidebarNavItem: React$1.ForwardRefExoticComponent<SidebarNavItemProps & React$1.RefAttributes<HTMLAnchorElement>>;
315
+ interface SidebarGroupProps extends React$1.HTMLAttributes<HTMLDivElement> {
316
+ title?: string;
317
+ collapsed?: boolean;
318
+ }
319
+ declare const SidebarGroup: React$1.ForwardRefExoticComponent<SidebarGroupProps & React$1.RefAttributes<HTMLDivElement>>;
320
+
321
+ /**
322
+ * PageShell Component
323
+ * Complete page layout with sidebar, header, and content area
324
+ */
325
+
326
+ interface PageShellProps extends React$1.HTMLAttributes<HTMLDivElement> {
327
+ sidebar?: React$1.ReactNode;
328
+ header?: React$1.ReactNode;
329
+ footer?: React$1.ReactNode;
330
+ sidebarCollapsed?: boolean;
331
+ }
332
+ declare const PageShell: React$1.ForwardRefExoticComponent<PageShellProps & React$1.RefAttributes<HTMLDivElement>>;
333
+ declare const PageHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
334
+ declare const PageContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
335
+ declare const PageTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLHeadingElement>>;
336
+ declare const PageDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
337
+
338
+ declare const inputVariants: (props?: ({
339
+ variant?: "success" | "error" | "default" | null | undefined;
340
+ size?: "sm" | "md" | "lg" | null | undefined;
341
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
342
+ interface InputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'size'>, VariantProps<typeof inputVariants> {
343
+ leftIcon?: React$1.ReactNode;
344
+ rightIcon?: React$1.ReactNode;
345
+ error?: string;
346
+ helperText?: string;
347
+ label?: string;
348
+ required?: boolean;
349
+ }
350
+ declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
351
+
352
+ declare const textareaVariants: (props?: ({
353
+ variant?: "success" | "error" | "default" | null | undefined;
354
+ resize?: "none" | "both" | "horizontal" | "vertical" | null | undefined;
355
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
356
+ interface TextareaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, VariantProps<typeof textareaVariants> {
357
+ error?: string;
358
+ helperText?: string;
359
+ label?: string;
360
+ required?: boolean;
361
+ }
362
+ declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
363
+
364
+ /**
365
+ * Checkbox Component
366
+ * Checkbox input with label
367
+ */
368
+
369
+ interface CheckboxProps extends React$1.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root> {
370
+ label?: string;
371
+ helperText?: string;
372
+ error?: string;
373
+ indeterminate?: boolean;
374
+ }
375
+ declare const Checkbox: React$1.ForwardRefExoticComponent<CheckboxProps & React$1.RefAttributes<HTMLButtonElement>>;
376
+
377
+ /**
378
+ * Radio Component
379
+ * Radio button input group
380
+ */
381
+
382
+ declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
383
+ interface RadioItemProps extends React$1.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item> {
384
+ label?: string;
385
+ helperText?: string;
386
+ }
387
+ declare const RadioItem: React$1.ForwardRefExoticComponent<RadioItemProps & React$1.RefAttributes<HTMLButtonElement>>;
388
+
389
+ /**
390
+ * Switch Component
391
+ * Toggle switch for boolean values
392
+ */
393
+
394
+ interface SwitchProps extends React$1.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root> {
395
+ label?: string;
396
+ helperText?: string;
397
+ error?: string;
398
+ }
399
+ declare const Switch: React$1.ForwardRefExoticComponent<SwitchProps & React$1.RefAttributes<HTMLButtonElement>>;
400
+
401
+ /**
402
+ * Select Component
403
+ * Dropdown select input
404
+ */
405
+
406
+ declare const Select: React$1.FC<SelectPrimitive.SelectProps>;
407
+ declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
408
+ declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
409
+ declare const SelectTrigger: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
410
+ declare const SelectScrollUpButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
411
+ declare const SelectScrollDownButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
412
+ declare const SelectContent: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
413
+ declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
414
+ declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
415
+ declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
416
+
417
+ declare const buttonVariants: (props?: ({
418
+ variant?: "link" | "primary" | "secondary" | "success" | "outline" | "ghost" | "danger" | null | undefined;
419
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
420
+ fullWidth?: boolean | null | undefined;
421
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
422
+ interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
423
+ loading?: boolean;
424
+ leftIcon?: React$1.ReactNode;
425
+ rightIcon?: React$1.ReactNode;
426
+ children?: React$1.ReactNode;
427
+ }
428
+ declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
429
+
430
+ declare const ToastProvider: React$1.FC<ToastPrimitives.ToastProviderProps>;
431
+ declare const ToastViewport: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React$1.RefAttributes<HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
432
+ declare const Toast$1: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React$1.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
433
+ variant?: "success" | "warning" | "error" | "info" | "default" | null | undefined;
434
+ } & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLLIElement>>;
435
+ declare const ToastAction: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
436
+ declare const ToastClose: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
437
+ declare const ToastTitle: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
438
+ declare const ToastDescription: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
439
+ type ToastProps = React$1.ComponentPropsWithoutRef<typeof Toast$1>;
440
+ type ToastActionElement = React$1.ReactElement<typeof ToastAction>;
441
+
442
+ declare const toastIcons: {
443
+ success: lucide_react.LucideIcon;
444
+ error: lucide_react.LucideIcon;
445
+ warning: lucide_react.LucideIcon;
446
+ info: lucide_react.LucideIcon;
447
+ };
448
+
449
+ /**
450
+ * useToast hook
451
+ * Imperative API for showing toasts
452
+ */
453
+
454
+ type ToasterToast = ToastProps & {
455
+ id: string;
456
+ title?: React$1.ReactNode;
457
+ description?: React$1.ReactNode;
458
+ action?: ToastActionElement;
459
+ };
460
+ type Toast = Omit<ToasterToast, 'id'>;
461
+ declare function toast({ ...props }: Toast): {
462
+ id: string;
463
+ dismiss: () => void;
464
+ update: (props: ToasterToast) => void;
465
+ };
466
+ declare function useToast(): {
467
+ toast: typeof toast;
468
+ dismiss: (toastId?: string) => void;
469
+ toasts: ToasterToast[];
470
+ };
471
+
472
+ /**
473
+ * Toaster Component
474
+ * Container for rendering toasts
475
+ */
476
+ declare function Toaster(): react_jsx_runtime.JSX.Element;
477
+
478
+ declare const alertVariants: (props?: ({
479
+ variant?: "success" | "warning" | "error" | "info" | "default" | null | undefined;
480
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
481
+ interface AlertProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
482
+ icon?: React$1.ReactNode;
483
+ closable?: boolean;
484
+ onClose?: () => void;
485
+ }
486
+ declare const Alert: React$1.ForwardRefExoticComponent<AlertProps & React$1.RefAttributes<HTMLDivElement>>;
487
+ declare const AlertTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
488
+ declare const AlertDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
489
+
490
+ declare const Modal: React$1.FC<DialogPrimitive.DialogProps>;
491
+ declare const ModalTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
492
+ declare const ModalPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
493
+ declare const ModalClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
494
+ declare const ModalOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
495
+ declare const ModalContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
496
+ showCloseButton?: boolean;
497
+ } & React$1.RefAttributes<HTMLDivElement>>;
498
+ declare const ModalHeader: {
499
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
500
+ displayName: string;
501
+ };
502
+ declare const ModalFooter: {
503
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
504
+ displayName: string;
505
+ };
506
+ declare const ModalTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
507
+ declare const ModalDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
508
+
509
+ declare const cardVariants: (props?: ({
510
+ variant?: "default" | "elevated" | "outlined" | null | undefined;
511
+ padding?: "none" | "sm" | "md" | "lg" | null | undefined;
512
+ hoverable?: boolean | null | undefined;
513
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
514
+ interface CardProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
515
+ as?: keyof JSX.IntrinsicElements;
516
+ }
517
+ declare const Card: React$1.ForwardRefExoticComponent<CardProps & React$1.RefAttributes<HTMLDivElement>>;
518
+ declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
519
+ declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
520
+ declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
521
+ declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
522
+ declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
523
+
524
+ declare const badgeVariants: (props?: ({
525
+ variant?: "secondary" | "success" | "warning" | "error" | "info" | "outline" | "default" | null | undefined;
526
+ size?: "sm" | "md" | "lg" | null | undefined;
527
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
528
+ interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
529
+ leftIcon?: React$1.ReactNode;
530
+ rightIcon?: React$1.ReactNode;
531
+ onRemove?: () => void;
532
+ }
533
+ declare const Badge: React$1.ForwardRefExoticComponent<BadgeProps & React$1.RefAttributes<HTMLDivElement>>;
534
+
535
+ declare const avatarVariants: (props?: ({
536
+ size?: "2xl" | "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
537
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
538
+ interface AvatarProps extends React$1.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>, VariantProps<typeof avatarVariants> {
539
+ src?: string;
540
+ alt?: string;
541
+ fallback?: string;
542
+ }
543
+ declare const Avatar: React$1.ForwardRefExoticComponent<AvatarProps & React$1.RefAttributes<HTMLSpanElement>>;
544
+ declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React$1.RefAttributes<HTMLImageElement>, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
545
+ declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
546
+
547
+ /**
548
+ * Table Component
549
+ * Data table for displaying structured information
550
+ */
551
+
552
+ declare const Table: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & React$1.RefAttributes<HTMLTableElement>>;
553
+ declare const TableHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
554
+ declare const TableBody: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
555
+ declare const TableFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
556
+ declare const TableRow: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableRowElement> & React$1.RefAttributes<HTMLTableRowElement>>;
557
+ declare const TableHead: React$1.ForwardRefExoticComponent<React$1.ThHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
558
+ declare const TableCell: React$1.ForwardRefExoticComponent<React$1.TdHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
559
+ declare const TableCaption: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCaptionElement> & React$1.RefAttributes<HTMLTableCaptionElement>>;
560
+
561
+ /**
562
+ * Tooltip Component
563
+ * Contextual information on hover
564
+ */
565
+
566
+ declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
567
+ declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
568
+ declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
569
+ declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
570
+
571
+ declare const progressVariants: (props?: ({
572
+ size?: "sm" | "md" | "lg" | null | undefined;
573
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
574
+ interface ProgressProps extends React$1.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>, VariantProps<typeof progressVariants> {
575
+ indicatorClassName?: string;
576
+ }
577
+ declare const Progress: React$1.ForwardRefExoticComponent<ProgressProps & React$1.RefAttributes<HTMLDivElement>>;
578
+
579
+ declare const skeletonVariants: (props?: ({
580
+ variant?: "circle" | "text" | "default" | null | undefined;
581
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
582
+ interface SkeletonProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof skeletonVariants> {
583
+ }
584
+ declare const Skeleton: React$1.ForwardRefExoticComponent<SkeletonProps & React$1.RefAttributes<HTMLDivElement>>;
585
+
586
+ export { Alert, AlertDescription, type AlertProps, AlertTitle, Avatar, AvatarFallback, AvatarImage, type AvatarProps, Badge, type BadgeProps, Breakpoint, Button, type ButtonProps, Caption, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Checkbox, type CheckboxProps, Code, Container, type ContainerProps, FadeIn, type FadeInProps, Grid, GridItem, type GridItemProps, type GridProps, H1, H2, H3, H4, H5, H6, HStack, Icon, type IconProps, Input, type InputProps, Label, Modal, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger, PageContent, PageDescription, PageHeader, PageShell, type PageShellProps, PageTitle, Progress, type ProgressProps, RadioGroup, RadioItem, type RadioItemProps, ScaleIn, type ScaleInProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, type SidebarGroupProps, SidebarHeader, SidebarNav, SidebarNavItem, type SidebarNavItemProps, type SidebarProps, Skeleton, type SkeletonProps, SlideIn, type SlideInProps, Stack, type StackProps, Stagger, StaggerItem, type StaggerItemProps, type StaggerProps, Switch, type SwitchProps, THEME_STORAGE_KEY, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Text, Textarea, type TextareaProps, type Theme, ThemeProvider, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Typography, type TypographyProps, VStack, announceToScreenReader, applyTheme, cn, formatCurrency, formatDate, formatFileSize, formatNumber, formatPercent, formatRelativeTime, generateId, getContrastRatio, getCurrentBreakpoint, getFocusableElements, getResolvedTheme, getStoredTheme, getSystemTheme, initializeTheme, isDesktop, isFocusable, isMobile, isTablet, matchesBreakpoint, meetsWCAGAA, setStoredTheme, toCamelCase, toKebabCase, toTitleCase, toast, toastIcons, trapFocus, truncate, useTheme, useToast };