archyra 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +399 -0
- package/dist/index.css +820 -0
- package/dist/index.d.ts +237 -0
- package/dist/index.js +11094 -0
- package/dist/index.mjs +11075 -0
- package/dist/mcp/cli.js +274 -0
- package/dist/mcp/server.js +25509 -0
- package/dist/styles.css +638 -0
- package/mcp/cli.ts +326 -0
- package/mcp/registry.ts +5835 -0
- package/mcp/server.ts +363 -0
- package/package.json +116 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
import { FC, ReactNode, CSSProperties } from 'react';
|
|
2
|
+
|
|
3
|
+
// ============================================================================
|
|
4
|
+
// CREATIVE / AI COMPONENTS
|
|
5
|
+
// ============================================================================
|
|
6
|
+
|
|
7
|
+
export interface AiCreatingProps {
|
|
8
|
+
isLoading: boolean;
|
|
9
|
+
onComplete?: () => void;
|
|
10
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'full';
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface AiCreating2Props {
|
|
14
|
+
isLoading: boolean;
|
|
15
|
+
onComplete?: () => void;
|
|
16
|
+
message?: string;
|
|
17
|
+
subMessage?: string;
|
|
18
|
+
primaryColor?: string;
|
|
19
|
+
backgroundColor?: string;
|
|
20
|
+
textColor?: string;
|
|
21
|
+
contained?: boolean;
|
|
22
|
+
statusMessages?: Array<{ icon: 'sparkles' | 'brain' | 'zap'; text: string }>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export interface CodeTypingProps {
|
|
26
|
+
code?: string;
|
|
27
|
+
language?: 'javascript' | 'typescript' | 'python' | 'jsx';
|
|
28
|
+
typingSpeed?: number;
|
|
29
|
+
showLineNumbers?: boolean;
|
|
30
|
+
autoStart?: boolean;
|
|
31
|
+
onComplete?: () => void;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export declare const AiCreating: FC<AiCreatingProps>;
|
|
35
|
+
export declare const AiCreating2: FC<AiCreating2Props>;
|
|
36
|
+
export declare const CodeTyping: FC<CodeTypingProps>;
|
|
37
|
+
|
|
38
|
+
// ============================================================================
|
|
39
|
+
// LOADING COMPONENTS
|
|
40
|
+
// ============================================================================
|
|
41
|
+
|
|
42
|
+
export interface LoadingDotsProps {
|
|
43
|
+
color?: string;
|
|
44
|
+
size?: 'sm' | 'md' | 'lg';
|
|
45
|
+
speed?: 'slow' | 'normal' | 'fast';
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export interface SkeletonProps {
|
|
49
|
+
variant?: 'text' | 'circular' | 'rectangular' | 'rounded';
|
|
50
|
+
width?: number | string;
|
|
51
|
+
height?: number | string;
|
|
52
|
+
animation?: 'pulse' | 'wave' | 'none';
|
|
53
|
+
className?: string;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export interface ShimmerProps {
|
|
57
|
+
width?: number | string;
|
|
58
|
+
height?: number | string;
|
|
59
|
+
borderRadius?: number | string;
|
|
60
|
+
className?: string;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export declare const LoadingDots: FC<LoadingDotsProps>;
|
|
64
|
+
export declare const Skeleton: FC<SkeletonProps>;
|
|
65
|
+
export declare const SkeletonText: FC<{ lines?: number; width?: string }>;
|
|
66
|
+
export declare const SkeletonAvatar: FC<{ size?: number }>;
|
|
67
|
+
export declare const SkeletonCard: FC<{}>;
|
|
68
|
+
export declare const SkeletonImage: FC<{ width?: number | string; height?: number | string }>;
|
|
69
|
+
export declare const SkeletonList: FC<{ count?: number }>;
|
|
70
|
+
export declare const Shimmer: FC<ShimmerProps>;
|
|
71
|
+
export declare const ShimmerCard: FC<{}>;
|
|
72
|
+
export declare const ShimmerTable: FC<{ rows?: number }>;
|
|
73
|
+
export declare const ShimmerPage: FC<{}>;
|
|
74
|
+
|
|
75
|
+
// ============================================================================
|
|
76
|
+
// PROCESSING COMPONENTS
|
|
77
|
+
// ============================================================================
|
|
78
|
+
|
|
79
|
+
export interface PulseCircleProps {
|
|
80
|
+
size?: number;
|
|
81
|
+
color?: string;
|
|
82
|
+
progress?: number;
|
|
83
|
+
showPercentage?: boolean;
|
|
84
|
+
pulseCount?: number;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export interface DataProcessingProps {
|
|
88
|
+
isProcessing?: boolean;
|
|
89
|
+
inputLabel?: string;
|
|
90
|
+
outputLabel?: string;
|
|
91
|
+
processingSteps?: string[];
|
|
92
|
+
onComplete?: () => void;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export interface ProgressBarProps {
|
|
96
|
+
value: number;
|
|
97
|
+
max?: number;
|
|
98
|
+
variant?: 'default' | 'gradient' | 'striped' | 'glow';
|
|
99
|
+
size?: 'sm' | 'md' | 'lg';
|
|
100
|
+
showValue?: boolean;
|
|
101
|
+
color?: string;
|
|
102
|
+
animated?: boolean;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export declare const PulseCircle: FC<PulseCircleProps>;
|
|
106
|
+
export declare const DataProcessing: FC<DataProcessingProps>;
|
|
107
|
+
export declare const ProgressBar: FC<ProgressBarProps>;
|
|
108
|
+
export declare const StepProgress: FC<{ steps: string[]; currentStep: number }>;
|
|
109
|
+
export declare const CircularProgress: FC<{ value: number; size?: number; strokeWidth?: number }>;
|
|
110
|
+
|
|
111
|
+
// ============================================================================
|
|
112
|
+
// AUTH COMPONENTS
|
|
113
|
+
// ============================================================================
|
|
114
|
+
|
|
115
|
+
export interface LoginData {
|
|
116
|
+
email: string;
|
|
117
|
+
password: string;
|
|
118
|
+
rememberMe?: boolean;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export interface FloatingLoginProps {
|
|
122
|
+
onSubmit?: (data: LoginData) => void | Promise<void>;
|
|
123
|
+
onGoogleLogin?: () => void;
|
|
124
|
+
onGithubLogin?: () => void;
|
|
125
|
+
showSocialLogin?: boolean;
|
|
126
|
+
title?: string;
|
|
127
|
+
subtitle?: string;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export declare const FloatingLogin: FC<FloatingLoginProps>;
|
|
131
|
+
|
|
132
|
+
// ============================================================================
|
|
133
|
+
// CHAT COMPONENTS
|
|
134
|
+
// ============================================================================
|
|
135
|
+
|
|
136
|
+
export interface ChatBubbleProps {
|
|
137
|
+
message: string;
|
|
138
|
+
variant?: 'sender' | 'receiver';
|
|
139
|
+
color?: 'blue' | 'green' | 'purple' | 'gray' | 'gradient';
|
|
140
|
+
timestamp?: string;
|
|
141
|
+
status?: 'sending' | 'sent' | 'delivered' | 'read';
|
|
142
|
+
animated?: boolean;
|
|
143
|
+
delay?: number;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export interface ChatTypingProps {
|
|
147
|
+
variant?: 'dots' | 'pulse' | 'wave';
|
|
148
|
+
size?: 'sm' | 'md' | 'lg';
|
|
149
|
+
color?: string;
|
|
150
|
+
showAvatar?: boolean;
|
|
151
|
+
username?: string;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export interface ChatMessageProps {
|
|
155
|
+
message: string;
|
|
156
|
+
sender?: { name: string; avatar?: string };
|
|
157
|
+
isOwn?: boolean;
|
|
158
|
+
timestamp?: string;
|
|
159
|
+
type?: 'text' | 'image' | 'system';
|
|
160
|
+
imageUrl?: string;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
export declare const ChatBubble: FC<ChatBubbleProps>;
|
|
164
|
+
export declare const ChatBubbleWithReactions: FC<ChatBubbleProps & { reactions?: Array<{ emoji: string; count: number }> }>;
|
|
165
|
+
export declare const ChatTyping: FC<ChatTypingProps>;
|
|
166
|
+
export declare const ChatMessage: FC<ChatMessageProps>;
|
|
167
|
+
export declare const ChatConversation: FC<{ children: ReactNode }>;
|
|
168
|
+
export declare const ChatInput: FC<{ onSend: (message: string) => void; placeholder?: string }>;
|
|
169
|
+
|
|
170
|
+
// ============================================================================
|
|
171
|
+
// E-COMMERCE COMPONENTS
|
|
172
|
+
// ============================================================================
|
|
173
|
+
|
|
174
|
+
export interface ProductCardProps {
|
|
175
|
+
image?: string;
|
|
176
|
+
name?: string;
|
|
177
|
+
price?: number;
|
|
178
|
+
originalPrice?: number;
|
|
179
|
+
rating?: number;
|
|
180
|
+
reviews?: number;
|
|
181
|
+
badge?: string;
|
|
182
|
+
onAddToCart?: () => void;
|
|
183
|
+
onWishlist?: () => void;
|
|
184
|
+
onQuickView?: () => void;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
export interface AddToCartButtonProps {
|
|
188
|
+
onClick?: () => Promise<void> | void;
|
|
189
|
+
text?: string;
|
|
190
|
+
successText?: string;
|
|
191
|
+
price?: number;
|
|
192
|
+
variant?: 'violet' | 'emerald' | 'rose' | 'amber';
|
|
193
|
+
size?: 'sm' | 'md' | 'lg';
|
|
194
|
+
disabled?: boolean;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
export interface WishlistHeartProps {
|
|
198
|
+
isActive?: boolean;
|
|
199
|
+
onToggle?: (isActive: boolean) => void;
|
|
200
|
+
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
201
|
+
showBackground?: boolean;
|
|
202
|
+
activeColor?: string;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
export interface FlashSaleTimerProps {
|
|
206
|
+
endTime: Date | number;
|
|
207
|
+
title?: string;
|
|
208
|
+
onEnd?: () => void;
|
|
209
|
+
variant?: 'default' | 'urgent' | 'minimal';
|
|
210
|
+
showBadge?: boolean;
|
|
211
|
+
discount?: number;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
export interface CartNotificationProps {
|
|
215
|
+
isVisible: boolean;
|
|
216
|
+
productImage?: string;
|
|
217
|
+
productName?: string;
|
|
218
|
+
productPrice?: number;
|
|
219
|
+
cartCount?: number;
|
|
220
|
+
autoHideDuration?: number;
|
|
221
|
+
onDismiss?: () => void;
|
|
222
|
+
onViewCart?: () => void;
|
|
223
|
+
position?: 'top-right' | 'top-center' | 'bottom-right' | 'bottom-center';
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
export declare const ProductCard: FC<ProductCardProps>;
|
|
227
|
+
export declare const AddToCartButton: FC<AddToCartButtonProps>;
|
|
228
|
+
export declare const WishlistHeart: FC<WishlistHeartProps>;
|
|
229
|
+
export declare const FlashSaleTimer: FC<FlashSaleTimerProps>;
|
|
230
|
+
export declare const CartNotification: FC<CartNotificationProps>;
|
|
231
|
+
export declare const CartNotificationDemo: FC<{}>;
|
|
232
|
+
|
|
233
|
+
// ============================================================================
|
|
234
|
+
// DEFAULT EXPORT
|
|
235
|
+
// ============================================================================
|
|
236
|
+
|
|
237
|
+
export default AiCreating;
|