@moontra/moonui-pro 2.1.0 → 2.1.1

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.
Files changed (49) hide show
  1. package/dist/index.d.ts +790 -0
  2. package/dist/index.mjs +758 -326
  3. package/package.json +2 -3
  4. package/scripts/postinstall.js +144 -66
  5. package/src/components/advanced-chart/index.tsx +3 -3
  6. package/src/components/advanced-forms/index.tsx +4 -9
  7. package/src/components/animated-button/index.tsx +4 -8
  8. package/src/components/calendar/index.tsx +2 -28
  9. package/src/components/color-picker/index.tsx +2 -4
  10. package/src/components/dashboard/index.tsx +3 -3
  11. package/src/components/data-table/index.tsx +5 -8
  12. package/src/components/enhanced/badge.tsx +191 -0
  13. package/src/components/enhanced/button.tsx +7 -5
  14. package/src/components/enhanced/card.tsx +11 -17
  15. package/src/components/enhanced/dialog.tsx +26 -28
  16. package/src/components/enhanced/index.ts +2 -1
  17. package/src/components/error-boundary/index.tsx +2 -4
  18. package/src/components/file-upload/index.tsx +3 -5
  19. package/src/components/floating-action-button/index.tsx +1 -4
  20. package/src/components/github-stars/index.tsx +4 -6
  21. package/src/components/health-check/index.tsx +5 -7
  22. package/src/components/hover-card-3d/index.tsx +3 -6
  23. package/src/components/kanban/index.tsx +4 -6
  24. package/src/components/lazy-component/index.tsx +4 -7
  25. package/src/components/magnetic-button/index.tsx +3 -6
  26. package/src/components/memory-efficient-data/index.tsx +6 -6
  27. package/src/components/optimized-image/index.tsx +4 -6
  28. package/src/components/performance-debugger/index.tsx +8 -10
  29. package/src/components/performance-monitor/index.tsx +37 -18
  30. package/src/components/pinch-zoom/index.tsx +2 -4
  31. package/src/components/rich-text-editor/index-old-backup.tsx +3 -9
  32. package/src/components/rich-text-editor/index.tsx +75 -10
  33. package/src/components/rich-text-editor/slash-commands-extension.ts +1 -1
  34. package/src/components/spotlight-card/index.tsx +1 -4
  35. package/src/components/swipeable-card/index.tsx +1 -1
  36. package/src/components/timeline/index.tsx +2 -2
  37. package/src/components/ui/color-picker.tsx +1 -1
  38. package/src/components/ui/index.ts +2 -0
  39. package/src/components/ui/progress.tsx +27 -0
  40. package/src/components/ui/skeleton.tsx +17 -0
  41. package/src/components/ui/tooltip.tsx +1 -1
  42. package/src/components/virtual-list/index.tsx +3 -4
  43. package/src/hooks/use-chart.ts +2 -2
  44. package/src/index.ts +0 -3
  45. package/src/patterns/login-form/types.ts +6 -6
  46. package/src/use-pro-access.ts +2 -2
  47. package/src/utils/chart-helpers.ts +1 -1
  48. package/src/utils/license-guard.tsx +0 -177
  49. package/src/utils/package-guard.ts +0 -60
@@ -0,0 +1,790 @@
1
+ import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
2
+ import * as React from 'react';
3
+ import React__default, { ReactNode, ErrorInfo } from 'react';
4
+ import { VariantProps } from 'class-variance-authority';
5
+ import * as react_jsx_runtime from 'react/jsx-runtime';
6
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
7
+
8
+ declare const animatedButtonVariants: (props?: ({
9
+ variant?: "default" | "outline" | "link" | "secondary" | "ghost" | "destructive" | null | undefined;
10
+ size?: "default" | "sm" | "lg" | null | undefined;
11
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
12
+ interface AnimatedButtonProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof animatedButtonVariants> {
13
+ state?: "idle" | "loading" | "success" | "error";
14
+ onStateChange?: (state: "idle" | "loading" | "success" | "error") => void;
15
+ }
16
+ declare const AnimatedButton: React__default.ForwardRefExoticComponent<AnimatedButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
17
+
18
+ interface ErrorBoundaryProps {
19
+ children: ReactNode;
20
+ fallback?: ReactNode;
21
+ className?: string;
22
+ onError?: (error: Error, errorInfo: ErrorInfo) => void;
23
+ }
24
+ declare function ErrorBoundaryWrapper(props: ErrorBoundaryProps): react_jsx_runtime.JSX.Element;
25
+ declare const ErrorBoundary: typeof ErrorBoundaryWrapper;
26
+
27
+ interface FloatingActionButtonProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
28
+ actions?: Array<{
29
+ icon: React__default.ReactNode;
30
+ label: string;
31
+ onClick: () => void;
32
+ }>;
33
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left";
34
+ size?: "sm" | "default" | "lg";
35
+ }
36
+ declare const FloatingActionButton: React__default.ForwardRefExoticComponent<FloatingActionButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
37
+
38
+ interface HoverCard3DProps extends React__default.HTMLAttributes<HTMLDivElement> {
39
+ perspective?: number;
40
+ rotationIntensity?: number;
41
+ springConfig?: {
42
+ stiffness?: number;
43
+ damping?: number;
44
+ };
45
+ }
46
+ declare const HoverCard3D: React__default.ForwardRefExoticComponent<HoverCard3DProps & React__default.RefAttributes<HTMLDivElement>>;
47
+
48
+ interface MagneticButtonProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
49
+ strength?: number;
50
+ range?: number;
51
+ springConfig?: {
52
+ stiffness?: number;
53
+ damping?: number;
54
+ };
55
+ }
56
+ declare const MagneticButton: React__default.ForwardRefExoticComponent<MagneticButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
57
+
58
+ interface PinchZoomProps {
59
+ children: React__default.ReactNode;
60
+ minZoom?: number;
61
+ maxZoom?: number;
62
+ initialZoom?: number;
63
+ className?: string;
64
+ contentClassName?: string;
65
+ onZoomChange?: (zoom: number) => void;
66
+ }
67
+ declare const PinchZoom: React__default.ForwardRefExoticComponent<PinchZoomProps & React__default.RefAttributes<HTMLDivElement>>;
68
+
69
+ interface SpotlightCardProps extends React__default.HTMLAttributes<HTMLDivElement> {
70
+ spotlightColor?: string;
71
+ spotlightSize?: number;
72
+ intensity?: number;
73
+ borderGlow?: boolean;
74
+ }
75
+ declare const SpotlightCard: React__default.ForwardRefExoticComponent<SpotlightCardProps & React__default.RefAttributes<HTMLDivElement>>;
76
+
77
+ interface CalendarEvent {
78
+ id: string;
79
+ title: string;
80
+ description?: string;
81
+ date: Date;
82
+ startTime?: string;
83
+ endTime?: string;
84
+ location?: string;
85
+ attendees?: string[];
86
+ color?: string;
87
+ type?: 'meeting' | 'task' | 'reminder' | 'event';
88
+ }
89
+ interface CalendarProps {
90
+ events?: CalendarEvent[];
91
+ onEventClick?: (event: CalendarEvent) => void;
92
+ onEventAdd?: (eventData: Omit<CalendarEvent, 'id'> & {
93
+ id?: string;
94
+ }) => void;
95
+ onEventEdit?: (eventData: Omit<CalendarEvent, 'id'> & {
96
+ id: string;
97
+ }) => void;
98
+ onEventDelete?: (eventId: string) => void;
99
+ className?: string;
100
+ showWeekends?: boolean;
101
+ showEventDetails?: boolean;
102
+ disabled?: boolean;
103
+ minDate?: Date;
104
+ maxDate?: Date;
105
+ highlightToday?: boolean;
106
+ height?: number;
107
+ showProUpgrade?: boolean;
108
+ }
109
+ declare function Calendar({ events, onEventClick, onEventAdd, onEventEdit, onEventDelete, className, showWeekends, showEventDetails, disabled, minDate, maxDate, highlightToday, height, showProUpgrade }: CalendarProps): react_jsx_runtime.JSX.Element;
110
+
111
+ interface KanbanCard {
112
+ id: string;
113
+ title: string;
114
+ description?: string;
115
+ assignee?: {
116
+ name: string;
117
+ avatar?: string;
118
+ email?: string;
119
+ };
120
+ dueDate?: Date;
121
+ priority?: 'low' | 'medium' | 'high' | 'urgent';
122
+ tags?: string[];
123
+ attachments?: number;
124
+ comments?: number;
125
+ completed?: boolean;
126
+ }
127
+ interface KanbanColumn {
128
+ id: string;
129
+ title: string;
130
+ color?: string;
131
+ cards: KanbanCard[];
132
+ limit?: number;
133
+ }
134
+ interface KanbanProps {
135
+ columns: KanbanColumn[];
136
+ onCardMove?: (cardId: string, fromColumn: string, toColumn: string, newIndex: number) => void;
137
+ onCardClick?: (card: KanbanCard) => void;
138
+ onCardEdit?: (card: KanbanCard) => void;
139
+ onCardDelete?: (card: KanbanCard) => void;
140
+ onAddCard?: (columnId: string) => void;
141
+ onAddColumn?: () => void;
142
+ className?: string;
143
+ showAddColumn?: boolean;
144
+ showCardDetails?: boolean;
145
+ disabled?: boolean;
146
+ }
147
+ declare function Kanban({ columns, onCardMove, onCardClick, onCardEdit, onCardDelete, onAddCard, onAddColumn, className, showAddColumn, showCardDetails, disabled }: KanbanProps): react_jsx_runtime.JSX.Element;
148
+
149
+ interface RichTextEditorProps {
150
+ value?: string;
151
+ onChange?: (value: string) => void;
152
+ placeholder?: string;
153
+ className?: string;
154
+ height?: number | string;
155
+ features?: {
156
+ bold?: boolean;
157
+ italic?: boolean;
158
+ underline?: boolean;
159
+ strike?: boolean;
160
+ heading?: boolean;
161
+ lists?: boolean;
162
+ blockquote?: boolean;
163
+ code?: boolean;
164
+ link?: boolean;
165
+ image?: boolean;
166
+ table?: boolean;
167
+ align?: boolean;
168
+ color?: boolean;
169
+ ai?: boolean;
170
+ };
171
+ aiConfig?: {
172
+ provider?: 'openai' | 'claude' | 'gemini' | 'cohere';
173
+ apiKey?: string;
174
+ model?: string;
175
+ temperature?: number;
176
+ maxTokens?: number;
177
+ };
178
+ }
179
+ declare function RichTextEditor({ placeholder, className, height, features, aiConfig, }: RichTextEditorProps): react_jsx_runtime.JSX.Element | null;
180
+
181
+ interface MemoryConfig {
182
+ chunkSize?: number;
183
+ maxMemoryItems?: number;
184
+ cacheStrategy?: 'lru' | 'fifo' | 'lfu';
185
+ compression?: boolean;
186
+ autoCleanup?: boolean;
187
+ cleanupThreshold?: number;
188
+ streamingMode?: boolean;
189
+ enableAnalytics?: boolean;
190
+ analyticsCallback?: (stats: MemoryStats) => void;
191
+ }
192
+ interface MemoryStats {
193
+ memoryUsage: number;
194
+ itemCount: number;
195
+ cacheHitRate: number;
196
+ compressionRatio?: number;
197
+ lastCleanup?: number;
198
+ }
199
+ interface MemoryEfficientDataProps<T = any> {
200
+ data: T[];
201
+ config?: MemoryConfig;
202
+ renderItem: (item: T, index: number) => React__default.ReactNode;
203
+ height?: number;
204
+ onMemoryUpdate?: (stats: MemoryStats) => void;
205
+ className?: string;
206
+ }
207
+ declare function MemoryEfficientData<T = any>({ data, config, renderItem, height, onMemoryUpdate, className }: MemoryEfficientDataProps<T>): react_jsx_runtime.JSX.Element;
208
+ interface MemoryAnalyticsProps {
209
+ onStatsUpdate?: (stats: MemoryStats) => void;
210
+ showRealTime?: boolean;
211
+ className?: string;
212
+ }
213
+ declare function MemoryAnalytics({ onStatsUpdate, showRealTime, className }: MemoryAnalyticsProps): react_jsx_runtime.JSX.Element | null;
214
+ declare function useStreamingData<T>(initialData?: T[], streamingConfig?: {
215
+ interval?: number;
216
+ maxItems?: number;
217
+ }): {
218
+ data: T[];
219
+ addItem: (newItem: T) => void;
220
+ clearData: () => void;
221
+ };
222
+
223
+ interface VirtualListProps<T = any> {
224
+ items: T[];
225
+ height: number;
226
+ itemHeight?: number;
227
+ estimatedItemHeight?: number;
228
+ variableHeight?: boolean;
229
+ overscan?: number;
230
+ renderItem: (item: T, index: number) => React__default.ReactNode;
231
+ onScroll?: (scrollTop: number) => void;
232
+ className?: string;
233
+ }
234
+ declare function VirtualList<T = any>({ items, height, itemHeight, estimatedItemHeight, variableHeight, overscan, renderItem, onScroll, className }: VirtualListProps<T>): react_jsx_runtime.JSX.Element;
235
+ declare function useVirtualList<T>(items: T[], initialConfig?: Partial<VirtualListProps<T>>): {
236
+ config: Partial<VirtualListProps<T>>;
237
+ updateConfig: (newConfig: Partial<VirtualListProps<T>>) => void;
238
+ selectedItems: Set<number>;
239
+ selectItem: (index: number) => void;
240
+ deselectItem: (index: number) => void;
241
+ clearSelection: () => void;
242
+ };
243
+ interface SelectableVirtualListProps<T = any> extends VirtualListProps<T> {
244
+ selectable?: boolean;
245
+ multiSelect?: boolean;
246
+ selectedItems?: Set<number>;
247
+ onSelectionChange?: (selectedItems: Set<number>) => void;
248
+ }
249
+ declare function SelectableVirtualList<T = any>({ selectable, multiSelect, selectedItems, onSelectionChange, renderItem: originalRenderItem, ...props }: SelectableVirtualListProps<T>): react_jsx_runtime.JSX.Element;
250
+
251
+ interface SwipeableCardProps {
252
+ children: ReactNode;
253
+ onSwipeLeft?: () => void;
254
+ onSwipeRight?: () => void;
255
+ onSwipeStart?: () => void;
256
+ onSwipeEnd?: () => void;
257
+ threshold?: number;
258
+ disabled?: boolean;
259
+ className?: string;
260
+ style?: React__default.CSSProperties;
261
+ }
262
+ declare const SwipeableCard: React__default.ForwardRefExoticComponent<SwipeableCardProps & React__default.RefAttributes<HTMLDivElement>>;
263
+
264
+ interface TimelineEvent {
265
+ id: string;
266
+ title: string;
267
+ description?: string;
268
+ date: Date;
269
+ type: 'success' | 'warning' | 'error' | 'info' | 'pending';
270
+ user?: {
271
+ name: string;
272
+ avatar?: string;
273
+ email?: string;
274
+ };
275
+ metadata?: {
276
+ location?: string;
277
+ duration?: string;
278
+ tags?: string[];
279
+ attachments?: number;
280
+ comments?: number;
281
+ externalLink?: string;
282
+ };
283
+ icon?: React__default.ReactNode;
284
+ color?: string;
285
+ }
286
+ interface TimelineProps {
287
+ events: TimelineEvent[];
288
+ onEventClick?: (event: TimelineEvent) => void;
289
+ className?: string;
290
+ showUserInfo?: boolean;
291
+ showMetadata?: boolean;
292
+ showRelativeTime?: boolean;
293
+ groupByDate?: boolean;
294
+ orientation?: 'vertical' | 'horizontal';
295
+ compact?: boolean;
296
+ interactive?: boolean;
297
+ }
298
+ declare function Timeline({ events, onEventClick, className, showUserInfo, showMetadata, showRelativeTime, groupByDate, orientation, compact, interactive }: TimelineProps): react_jsx_runtime.JSX.Element;
299
+
300
+ type ChartType = 'line' | 'bar' | 'area' | 'pie' | 'scatter';
301
+ interface ChartDataPoint {
302
+ [key: string]: string | number | null;
303
+ }
304
+ interface ChartSeries {
305
+ dataKey: string;
306
+ name: string;
307
+ color: string;
308
+ type?: 'monotone' | 'linear' | 'step';
309
+ strokeWidth?: number;
310
+ fillOpacity?: number;
311
+ hide?: boolean;
312
+ }
313
+ interface AdvancedChartProps {
314
+ data: ChartDataPoint[];
315
+ type: ChartType;
316
+ series: ChartSeries[];
317
+ title?: string;
318
+ subtitle?: string;
319
+ height?: number;
320
+ width?: number | string;
321
+ xAxisKey?: string;
322
+ yAxisKey?: string;
323
+ showGrid?: boolean;
324
+ showTooltip?: boolean;
325
+ showLegend?: boolean;
326
+ showBrush?: boolean;
327
+ showReference?: boolean;
328
+ referenceLines?: Array<{
329
+ value: number;
330
+ label?: string;
331
+ color?: string;
332
+ }>;
333
+ referenceAreas?: Array<{
334
+ x1: string | number;
335
+ x2: string | number;
336
+ label?: string;
337
+ color?: string;
338
+ }>;
339
+ colors?: string[];
340
+ className?: string;
341
+ onDataPointClick?: (data: ChartDataPoint) => void;
342
+ onExport?: (format: 'png' | 'svg' | 'pdf') => void;
343
+ onRefresh?: () => void;
344
+ customTooltip?: React__default.ComponentType<any>;
345
+ customLegend?: React__default.ComponentType<any>;
346
+ loading?: boolean;
347
+ error?: string | null;
348
+ animated?: boolean;
349
+ responsive?: boolean;
350
+ }
351
+ declare function AdvancedChart({ data, type, series, title, subtitle, height, width, xAxisKey, yAxisKey, showGrid, showTooltip, showLegend, showBrush, showReference, referenceLines, referenceAreas, colors, className, onDataPointClick, onExport, onRefresh, customTooltip, customLegend, loading, error, animated, responsive, }: AdvancedChartProps): react_jsx_runtime.JSX.Element;
352
+
353
+ interface DashboardMetric {
354
+ id: string;
355
+ title: string;
356
+ value: string | number;
357
+ change?: {
358
+ value: number;
359
+ type: 'increase' | 'decrease' | 'neutral';
360
+ period: string;
361
+ };
362
+ icon?: React__default.ReactNode;
363
+ color?: string;
364
+ description?: string;
365
+ trend?: number[];
366
+ }
367
+ interface DashboardWidget {
368
+ id: string;
369
+ title: string;
370
+ description?: string;
371
+ content: React__default.ReactNode;
372
+ size?: 'sm' | 'md' | 'lg' | 'xl';
373
+ loading?: boolean;
374
+ error?: string;
375
+ }
376
+ interface DashboardProps {
377
+ metrics?: DashboardMetric[];
378
+ widgets?: DashboardWidget[];
379
+ onMetricClick?: (metric: DashboardMetric) => void;
380
+ onWidgetAction?: (widgetId: string, action: string) => void;
381
+ className?: string;
382
+ showHeader?: boolean;
383
+ title?: string;
384
+ description?: string;
385
+ refreshable?: boolean;
386
+ onRefresh?: () => void;
387
+ loading?: boolean;
388
+ }
389
+ declare function Dashboard({ metrics, widgets, onMetricClick, onWidgetAction, className, showHeader, title, description, refreshable, onRefresh, loading }: DashboardProps): react_jsx_runtime.JSX.Element;
390
+
391
+ interface DraggableListProps<T> {
392
+ items: T[];
393
+ onReorder: (items: T[]) => void;
394
+ renderItem: (item: T, index: number) => ReactNode;
395
+ keyExtractor: (item: T) => string;
396
+ direction?: "vertical" | "horizontal";
397
+ className?: string;
398
+ droppableId?: string;
399
+ disabled?: boolean;
400
+ }
401
+ declare function DraggableList<T>({ items, onReorder, renderItem, keyExtractor, direction, className, droppableId, disabled, }: DraggableListProps<T>): react_jsx_runtime.JSX.Element;
402
+
403
+ interface AdvancedFormField {
404
+ name: string;
405
+ label: string;
406
+ type: "text" | "email" | "password" | "textarea" | "select" | "checkbox" | "switch" | "file" | "number" | "url" | "tel";
407
+ placeholder?: string;
408
+ required?: boolean;
409
+ options?: Array<{
410
+ value: string;
411
+ label: string;
412
+ }>;
413
+ validation?: {
414
+ minLength?: number;
415
+ maxLength?: number;
416
+ pattern?: RegExp;
417
+ custom?: (value: any) => string | true;
418
+ };
419
+ description?: string;
420
+ defaultValue?: any;
421
+ }
422
+ interface AdvancedFormsProps {
423
+ fields: AdvancedFormField[];
424
+ onSubmit: (data: any) => void | Promise<void>;
425
+ title?: string;
426
+ description?: string;
427
+ submitText?: string;
428
+ enableAutoSave?: boolean;
429
+ showProgress?: boolean;
430
+ className?: string;
431
+ layout?: "vertical" | "horizontal" | "grid";
432
+ columns?: number;
433
+ }
434
+ declare const AdvancedForms: React__default.FC<AdvancedFormsProps>;
435
+
436
+ interface ColorPickerProps {
437
+ value?: string;
438
+ onChange?: (color: string) => void;
439
+ disabled?: boolean;
440
+ showPresets?: boolean;
441
+ showAlpha?: boolean;
442
+ showInput?: boolean;
443
+ showCopy?: boolean;
444
+ presetColors?: string[];
445
+ className?: string;
446
+ size?: "sm" | "default" | "lg";
447
+ }
448
+ declare const ColorPicker: React__default.FC<ColorPickerProps>;
449
+
450
+ interface GitHubRepository {
451
+ id: number;
452
+ name: string;
453
+ full_name: string;
454
+ description: string | null;
455
+ html_url: string;
456
+ homepage: string | null;
457
+ stargazers_count: number;
458
+ watchers_count: number;
459
+ forks_count: number;
460
+ language: string | null;
461
+ topics: string[];
462
+ created_at: string;
463
+ updated_at: string;
464
+ owner: {
465
+ login: string;
466
+ avatar_url: string;
467
+ html_url: string;
468
+ };
469
+ }
470
+ interface GitHubStarsProps {
471
+ username: string;
472
+ repositories?: string[];
473
+ showDescription?: boolean;
474
+ showTopics?: boolean;
475
+ showStats?: boolean;
476
+ showOwner?: boolean;
477
+ sortBy?: "stars" | "forks" | "updated" | "created";
478
+ layout?: "grid" | "list";
479
+ maxItems?: number;
480
+ autoRefresh?: boolean;
481
+ refreshInterval?: number;
482
+ className?: string;
483
+ onRepositoryClick?: (repo: GitHubRepository) => void;
484
+ }
485
+ declare const GitHubStars: React__default.FC<GitHubStarsProps>;
486
+
487
+ interface HealthCheckEndpoint {
488
+ id: string;
489
+ name: string;
490
+ url: string;
491
+ method: "GET" | "POST" | "PUT" | "DELETE" | "HEAD";
492
+ expectedStatus?: number[];
493
+ timeout?: number;
494
+ headers?: Record<string, string>;
495
+ body?: string;
496
+ critical?: boolean;
497
+ }
498
+ interface HealthCheckResult {
499
+ id: string;
500
+ name: string;
501
+ status: "healthy" | "unhealthy" | "warning" | "pending";
502
+ responseTime: number;
503
+ statusCode?: number;
504
+ error?: string;
505
+ timestamp: Date;
506
+ uptime?: number;
507
+ }
508
+ interface HealthCheckProps {
509
+ endpoints: HealthCheckEndpoint[];
510
+ interval?: number;
511
+ autoRefresh?: boolean;
512
+ showResponseTime?: boolean;
513
+ showUptime?: boolean;
514
+ showHistory?: boolean;
515
+ maxHistory?: number;
516
+ onStatusChange?: (results: HealthCheckResult[]) => void;
517
+ className?: string;
518
+ }
519
+ declare const HealthCheck: React__default.FC<HealthCheckProps>;
520
+
521
+ interface LazyComponentProps {
522
+ children: React__default.ReactNode;
523
+ fallback?: React__default.ReactNode;
524
+ threshold?: number;
525
+ rootMargin?: string;
526
+ triggerOnce?: boolean;
527
+ disabled?: boolean;
528
+ onLoad?: () => void;
529
+ onVisible?: () => void;
530
+ showLoadingState?: boolean;
531
+ delay?: number;
532
+ className?: string;
533
+ }
534
+ interface LazyImageProps extends React__default.ImgHTMLAttributes<HTMLImageElement> {
535
+ src: string;
536
+ alt: string;
537
+ fallbackSrc?: string;
538
+ showPlaceholder?: boolean;
539
+ threshold?: number;
540
+ rootMargin?: string;
541
+ onLoad?: () => void;
542
+ onError?: () => void;
543
+ className?: string;
544
+ }
545
+ declare const LazyImage: React__default.FC<LazyImageProps>;
546
+ interface LazyListProps<T> {
547
+ items: T[];
548
+ renderItem: (item: T, index: number) => React__default.ReactNode;
549
+ itemHeight?: number;
550
+ batchSize?: number;
551
+ threshold?: number;
552
+ className?: string;
553
+ }
554
+ declare function LazyList<T>({ items, renderItem, itemHeight, batchSize, threshold, className }: LazyListProps<T>): react_jsx_runtime.JSX.Element;
555
+ declare const LazyComponent: React__default.FC<LazyComponentProps>;
556
+
557
+ interface OptimizedImageProps {
558
+ src: string;
559
+ alt: string;
560
+ width?: number;
561
+ height?: number;
562
+ quality?: number;
563
+ format?: "webp" | "avif" | "jpeg" | "png" | "auto";
564
+ lazy?: boolean;
565
+ blur?: boolean;
566
+ priority?: boolean;
567
+ sizes?: string;
568
+ srcSet?: string;
569
+ fallbackSrc?: string;
570
+ showPreview?: boolean;
571
+ showZoom?: boolean;
572
+ showDownload?: boolean;
573
+ showInfo?: boolean;
574
+ zoomLevel?: number;
575
+ className?: string;
576
+ onLoad?: () => void;
577
+ onError?: (error: Error) => void;
578
+ onZoom?: (level: number) => void;
579
+ }
580
+ declare const OptimizedImage: React__default.FC<OptimizedImageProps>;
581
+
582
+ interface PerformanceMetric {
583
+ name: string;
584
+ value: number;
585
+ unit: string;
586
+ threshold?: {
587
+ good: number;
588
+ needs_improvement: number;
589
+ };
590
+ description?: string;
591
+ }
592
+ interface PerformanceEntry {
593
+ timestamp: number;
594
+ metrics: PerformanceMetric[];
595
+ url: string;
596
+ userAgent: string;
597
+ }
598
+ interface PerformanceDebuggerProps {
599
+ autoCapture?: boolean;
600
+ captureInterval?: number;
601
+ maxEntries?: number;
602
+ showRealTime?: boolean;
603
+ showWebVitals?: boolean;
604
+ showResourceTiming?: boolean;
605
+ showNavigationTiming?: boolean;
606
+ onMetricChange?: (metrics: PerformanceMetric[]) => void;
607
+ className?: string;
608
+ }
609
+ declare const PerformanceDebugger: React__default.FC<PerformanceDebuggerProps>;
610
+
611
+ interface PerformanceMetrics {
612
+ cpu: {
613
+ usage: number;
614
+ cores: number;
615
+ temperature?: number;
616
+ };
617
+ memory: {
618
+ used: number;
619
+ total: number;
620
+ available: number;
621
+ percentage: number;
622
+ };
623
+ disk: {
624
+ used: number;
625
+ total: number;
626
+ free: number;
627
+ percentage: number;
628
+ };
629
+ network: {
630
+ download: number;
631
+ upload: number;
632
+ latency: number;
633
+ };
634
+ system: {
635
+ uptime: number;
636
+ loadAverage: number[];
637
+ processes: number;
638
+ };
639
+ browser?: {
640
+ jsHeapUsed: number;
641
+ jsHeapTotal: number;
642
+ jsHeapLimit: number;
643
+ };
644
+ }
645
+ interface PerformanceAlert {
646
+ id: string;
647
+ type: "warning" | "critical" | "info";
648
+ metric: string;
649
+ message: string;
650
+ value: number;
651
+ threshold: number;
652
+ timestamp: Date;
653
+ }
654
+ interface PerformanceMonitorProps {
655
+ autoRefresh?: boolean;
656
+ refreshInterval?: number;
657
+ showAlerts?: boolean;
658
+ alertThresholds?: {
659
+ cpu: number;
660
+ memory: number;
661
+ disk: number;
662
+ network: number;
663
+ };
664
+ showCharts?: boolean;
665
+ chartDuration?: number;
666
+ maxDataPoints?: number;
667
+ onAlert?: (alert: PerformanceAlert) => void;
668
+ onMetricsUpdate?: (metrics: PerformanceMetrics) => void;
669
+ className?: string;
670
+ }
671
+ declare const PerformanceMonitor: React__default.FC<PerformanceMonitorProps>;
672
+
673
+ declare const enhancedButtonVariants: (props?: ({
674
+ variant?: "default" | "glow" | "outline" | "gradient" | "link" | "secondary" | "ghost" | "destructive" | null | undefined;
675
+ size?: "default" | "sm" | "lg" | "icon" | null | undefined;
676
+ animation?: "ripple" | "morph" | "particles" | "magnetic" | "glitch" | null | undefined;
677
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
678
+ interface ButtonProProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof enhancedButtonVariants> {
679
+ state?: "idle" | "loading" | "success" | "error";
680
+ onStateChange?: (state: "idle" | "loading" | "success" | "error") => void;
681
+ enableRipple?: boolean;
682
+ enableMorph?: boolean;
683
+ enableParticles?: boolean;
684
+ enableMagnetic?: boolean;
685
+ enableGlitch?: boolean;
686
+ }
687
+ declare const ButtonPro: React__default.ForwardRefExoticComponent<ButtonProProps & React__default.RefAttributes<HTMLButtonElement>>;
688
+
689
+ interface CardProProps extends React__default.HTMLAttributes<HTMLDivElement> {
690
+ enableGlassmorphism?: boolean;
691
+ enableParallax?: boolean;
692
+ enableTilt?: boolean;
693
+ enableGlow?: boolean;
694
+ enableReveal?: boolean;
695
+ tiltMaxAngle?: number;
696
+ glowColor?: string;
697
+ parallaxOffset?: number;
698
+ }
699
+ declare const CardPro: React__default.ForwardRefExoticComponent<CardProProps & React__default.RefAttributes<HTMLDivElement>>;
700
+ declare const CardProHeader: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
701
+ declare const EnhancedCardTitle: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLHeadingElement> & React__default.RefAttributes<HTMLParagraphElement>>;
702
+ declare const EnhancedCardDescription: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLParagraphElement> & React__default.RefAttributes<HTMLParagraphElement>>;
703
+ declare const CardProContent: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
704
+ declare const CardProFooter: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
705
+
706
+ declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
707
+ declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
708
+ declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
709
+ interface DialogProOverlayProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay> {
710
+ blur?: "none" | "sm" | "md" | "lg" | "xl";
711
+ variant?: "default" | "dark" | "light" | "gradient";
712
+ }
713
+ interface DialogProContentProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> {
714
+ animation?: "fade" | "scale" | "slide" | "rotate" | "bounce";
715
+ animationDuration?: number;
716
+ overlay?: boolean;
717
+ overlayProps?: DialogProOverlayProps;
718
+ }
719
+ declare const DialogProContent: React.ForwardRefExoticComponent<DialogProContentProps & React.RefAttributes<HTMLDivElement>>;
720
+ declare const DialogProHeader: {
721
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
722
+ displayName: string;
723
+ };
724
+ declare const DialogProFooter: {
725
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
726
+ displayName: string;
727
+ };
728
+ declare const DialogProTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
729
+ declare const DialogProDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
730
+
731
+ declare const badgeVariants: (props?: ({
732
+ variant?: "default" | "outline" | "secondary" | "destructive" | "success" | "pro" | "warning" | null | undefined;
733
+ size?: "default" | "sm" | "lg" | null | undefined;
734
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
735
+ interface BadgeProProps extends React__default.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
736
+ enablePulse?: boolean;
737
+ enableGlow?: boolean;
738
+ enableShimmer?: boolean;
739
+ removable?: boolean;
740
+ onRemove?: () => void;
741
+ leftIcon?: React__default.ReactNode;
742
+ rightIcon?: React__default.ReactNode;
743
+ }
744
+ declare const BadgePro: React__default.ForwardRefExoticComponent<BadgeProProps & React__default.RefAttributes<HTMLDivElement>>;
745
+
746
+ declare const index_BadgePro: typeof BadgePro;
747
+ type index_BadgeProProps = BadgeProProps;
748
+ declare const index_ButtonPro: typeof ButtonPro;
749
+ type index_ButtonProProps = ButtonProProps;
750
+ declare const index_CardPro: typeof CardPro;
751
+ declare const index_CardProContent: typeof CardProContent;
752
+ declare const index_CardProFooter: typeof CardProFooter;
753
+ declare const index_CardProHeader: typeof CardProHeader;
754
+ type index_CardProProps = CardProProps;
755
+ declare const index_DialogProContent: typeof DialogProContent;
756
+ declare const index_DialogProDescription: typeof DialogProDescription;
757
+ declare const index_DialogProFooter: typeof DialogProFooter;
758
+ declare const index_DialogProHeader: typeof DialogProHeader;
759
+ declare const index_DialogProTitle: typeof DialogProTitle;
760
+ declare const index_EnhancedCardDescription: typeof EnhancedCardDescription;
761
+ declare const index_EnhancedCardTitle: typeof EnhancedCardTitle;
762
+ declare const index_badgeVariants: typeof badgeVariants;
763
+ declare const index_enhancedButtonVariants: typeof enhancedButtonVariants;
764
+ declare namespace index {
765
+ export {
766
+ index_BadgePro as BadgePro,
767
+ index_BadgeProProps as BadgeProProps,
768
+ index_ButtonPro as ButtonPro,
769
+ index_ButtonProProps as ButtonProProps,
770
+ index_CardPro as CardPro,
771
+ index_CardProContent as CardProContent,
772
+ index_CardProFooter as CardProFooter,
773
+ index_CardProHeader as CardProHeader,
774
+ index_CardProProps as CardProProps,
775
+ Dialog as DialogPro,
776
+ DialogClose as DialogProClose,
777
+ index_DialogProContent as DialogProContent,
778
+ index_DialogProDescription as DialogProDescription,
779
+ index_DialogProFooter as DialogProFooter,
780
+ index_DialogProHeader as DialogProHeader,
781
+ index_DialogProTitle as DialogProTitle,
782
+ DialogTrigger as DialogProTrigger,
783
+ index_EnhancedCardDescription as EnhancedCardDescription,
784
+ index_EnhancedCardTitle as EnhancedCardTitle,
785
+ index_badgeVariants as badgeVariants,
786
+ index_enhancedButtonVariants as enhancedButtonVariants,
787
+ };
788
+ }
789
+
790
+ export { AdvancedChart, AdvancedFormField, AdvancedForms, AdvancedFormsProps, AnimatedButton, AnimatedButtonProps, Calendar, CalendarEvent, ChartType, ColorPicker, ColorPickerProps, Dashboard, DraggableList, DraggableListProps, index as Enhanced, ErrorBoundary, FloatingActionButton, FloatingActionButtonProps, GitHubRepository, GitHubStars, GitHubStarsProps, HealthCheck, HealthCheckEndpoint, HealthCheckProps, HealthCheckResult, HoverCard3D, HoverCard3DProps, Kanban, LazyComponent, LazyImage, LazyImageProps, LazyList, LazyListProps, MagneticButton, MagneticButtonProps, MemoryAnalytics, MemoryAnalyticsProps, MemoryConfig, MemoryEfficientData, MemoryEfficientDataProps, MemoryStats, OptimizedImage, OptimizedImageProps, PerformanceAlert, PerformanceDebugger, PerformanceDebuggerProps, PerformanceEntry, PerformanceMetric, PerformanceMetrics, PerformanceMonitor, PerformanceMonitorProps, PinchZoom, RichTextEditor, SelectableVirtualList, SelectableVirtualListProps, SpotlightCard, SpotlightCardProps, SwipeableCard, Timeline, VirtualList, VirtualListProps, animatedButtonVariants, useStreamingData, useVirtualList };