galaxy-design 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +320 -0
- package/dist/bin.js +11 -0
- package/dist/bin.js.map +1 -0
- package/dist/commands/add.js +252 -0
- package/dist/commands/add.js.map +1 -0
- package/dist/commands/init-old.js +159 -0
- package/dist/commands/init-old.js.map +1 -0
- package/dist/commands/init.js +266 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/cli.js +5 -0
- package/dist/lib/cli.js.map +1 -0
- package/dist/registries/blocks-angular.json +89 -0
- package/dist/registries/blocks-flutter.json +60 -0
- package/dist/registries/blocks-react-native.json +60 -0
- package/dist/registries/blocks-react.json +89 -0
- package/dist/registries/blocks-vue.json +89 -0
- package/dist/registries/registry-angular.json +557 -0
- package/dist/registries/registry-flutter.json +491 -0
- package/dist/registries/registry-flutter.json.old +258 -0
- package/dist/registries/registry-react-native.json +491 -0
- package/dist/registries/registry-react-native.json.old +379 -0
- package/dist/registries/registry-react.json +526 -0
- package/dist/registries/registry-vue.json +586 -0
- package/dist/registry.json +460 -0
- package/dist/schemas/components-schema.json +91 -0
- package/dist/templates/tailwind.config.template +45 -0
- package/dist/templates/utils.ts.template +11 -0
- package/dist/utils/component-copier.js +207 -0
- package/dist/utils/component-copier.js.map +1 -0
- package/dist/utils/components-config.js +58 -0
- package/dist/utils/components-config.js.map +1 -0
- package/dist/utils/config-schema.js +221 -0
- package/dist/utils/config-schema.js.map +1 -0
- package/dist/utils/config.js +88 -0
- package/dist/utils/config.js.map +1 -0
- package/dist/utils/detect.js +86 -0
- package/dist/utils/detect.js.map +1 -0
- package/dist/utils/files.js +52 -0
- package/dist/utils/files.js.map +1 -0
- package/dist/utils/framework-registry.js +133 -0
- package/dist/utils/framework-registry.js.map +1 -0
- package/dist/utils/github-fetcher.js +120 -0
- package/dist/utils/github-fetcher.js.map +1 -0
- package/dist/utils/index.js +12 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/package-manager.js +173 -0
- package/dist/utils/package-manager.js.map +1 -0
- package/dist/utils/platform-detector.js +176 -0
- package/dist/utils/platform-detector.js.map +1 -0
- package/dist/utils/registry-loader.js +143 -0
- package/dist/utils/registry-loader.js.map +1 -0
- package/dist/utils/registry.js +92 -0
- package/dist/utils/registry.js.map +1 -0
- package/package.json +77 -0
|
@@ -0,0 +1,491 @@
|
|
|
1
|
+
{
|
|
2
|
+
"platform": "react-native",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"components": {
|
|
5
|
+
"accordion": {
|
|
6
|
+
"name": "Accordion",
|
|
7
|
+
"type": "layout",
|
|
8
|
+
"description": "Collapsible accordion component for expandable content sections",
|
|
9
|
+
"files": ["accordion/Accordion.tsx", "accordion/index.ts"],
|
|
10
|
+
"dependencies": [],
|
|
11
|
+
"peerDependencies": ["react", "react-native"],
|
|
12
|
+
"exports": ["Accordion", "AccordionItem", "AccordionTrigger", "AccordionContent"]
|
|
13
|
+
},
|
|
14
|
+
"alert": {
|
|
15
|
+
"name": "Alert",
|
|
16
|
+
"type": "feedback",
|
|
17
|
+
"description": "Alert component for displaying important messages with variants",
|
|
18
|
+
"files": ["alert/Alert.tsx", "alert/index.ts"],
|
|
19
|
+
"dependencies": [],
|
|
20
|
+
"peerDependencies": ["react", "react-native"],
|
|
21
|
+
"exports": ["Alert", "AlertTitle", "AlertDescription"]
|
|
22
|
+
},
|
|
23
|
+
"alert-dialog": {
|
|
24
|
+
"name": "Alert Dialog",
|
|
25
|
+
"type": "overlay",
|
|
26
|
+
"description": "Modal alert dialog for important confirmations and decisions",
|
|
27
|
+
"files": ["alert-dialog/AlertDialog.tsx", "alert-dialog/index.ts"],
|
|
28
|
+
"dependencies": [],
|
|
29
|
+
"peerDependencies": ["react", "react-native"],
|
|
30
|
+
"exports": ["AlertDialog", "AlertDialogContent", "AlertDialogHeader", "AlertDialogFooter", "AlertDialogTitle", "AlertDialogDescription", "AlertDialogAction", "AlertDialogCancel"]
|
|
31
|
+
},
|
|
32
|
+
"aspect-ratio": {
|
|
33
|
+
"name": "Aspect Ratio",
|
|
34
|
+
"type": "layout",
|
|
35
|
+
"description": "Container that maintains a specific aspect ratio for its content",
|
|
36
|
+
"files": ["aspect-ratio/AspectRatio.tsx", "aspect-ratio/index.ts"],
|
|
37
|
+
"dependencies": [],
|
|
38
|
+
"peerDependencies": ["react", "react-native"],
|
|
39
|
+
"exports": ["AspectRatio"]
|
|
40
|
+
},
|
|
41
|
+
"avatar": {
|
|
42
|
+
"name": "Avatar",
|
|
43
|
+
"type": "data-display",
|
|
44
|
+
"description": "Avatar component for displaying user profile images with fallback",
|
|
45
|
+
"files": ["avatar/Avatar.tsx", "avatar/index.ts"],
|
|
46
|
+
"dependencies": [],
|
|
47
|
+
"peerDependencies": ["react", "react-native"],
|
|
48
|
+
"exports": ["Avatar", "AvatarImage", "AvatarFallback", "AvatarGroup"]
|
|
49
|
+
},
|
|
50
|
+
"badge": {
|
|
51
|
+
"name": "Badge",
|
|
52
|
+
"type": "data-display",
|
|
53
|
+
"description": "Badge component for status indicators, counts, and labels",
|
|
54
|
+
"files": ["badge/Badge.tsx", "badge/index.ts"],
|
|
55
|
+
"dependencies": [],
|
|
56
|
+
"peerDependencies": ["react", "react-native"],
|
|
57
|
+
"exports": ["Badge"]
|
|
58
|
+
},
|
|
59
|
+
"button": {
|
|
60
|
+
"name": "Button",
|
|
61
|
+
"type": "form",
|
|
62
|
+
"description": "Button component with multiple variants, sizes, and states",
|
|
63
|
+
"files": ["button/Button.tsx", "button/index.ts"],
|
|
64
|
+
"dependencies": [],
|
|
65
|
+
"peerDependencies": ["react", "react-native"],
|
|
66
|
+
"exports": ["Button"]
|
|
67
|
+
},
|
|
68
|
+
"card": {
|
|
69
|
+
"name": "Card",
|
|
70
|
+
"type": "layout",
|
|
71
|
+
"description": "Card container with header, content, and footer sections",
|
|
72
|
+
"files": ["card/Card.tsx", "card/index.ts"],
|
|
73
|
+
"dependencies": [],
|
|
74
|
+
"peerDependencies": ["react", "react-native"],
|
|
75
|
+
"exports": ["Card", "CardHeader", "CardTitle", "CardDescription", "CardContent", "CardFooter"]
|
|
76
|
+
},
|
|
77
|
+
"checkbox": {
|
|
78
|
+
"name": "Checkbox",
|
|
79
|
+
"type": "form",
|
|
80
|
+
"description": "Checkbox input with label and indeterminate state support",
|
|
81
|
+
"files": ["checkbox/Checkbox.tsx", "checkbox/index.ts"],
|
|
82
|
+
"dependencies": [],
|
|
83
|
+
"peerDependencies": ["react", "react-native"],
|
|
84
|
+
"exports": ["Checkbox"]
|
|
85
|
+
},
|
|
86
|
+
"collapsible": {
|
|
87
|
+
"name": "Collapsible",
|
|
88
|
+
"type": "layout",
|
|
89
|
+
"description": "Collapsible container for showing and hiding content",
|
|
90
|
+
"files": ["collapsible/Collapsible.tsx", "collapsible/index.ts"],
|
|
91
|
+
"dependencies": [],
|
|
92
|
+
"peerDependencies": ["react", "react-native"],
|
|
93
|
+
"exports": ["Collapsible", "CollapsibleTrigger", "CollapsibleContent"]
|
|
94
|
+
},
|
|
95
|
+
"context-menu": {
|
|
96
|
+
"name": "Context Menu",
|
|
97
|
+
"type": "overlay",
|
|
98
|
+
"description": "Context menu triggered by long press gesture",
|
|
99
|
+
"files": ["context-menu/ContextMenu.tsx", "context-menu/index.ts"],
|
|
100
|
+
"dependencies": [],
|
|
101
|
+
"peerDependencies": ["react", "react-native"],
|
|
102
|
+
"exports": ["ContextMenu", "ContextMenuTrigger", "ContextMenuContent", "ContextMenuItem", "ContextMenuSeparator"]
|
|
103
|
+
},
|
|
104
|
+
"date-picker": {
|
|
105
|
+
"name": "Date Picker",
|
|
106
|
+
"type": "form",
|
|
107
|
+
"description": "Date picker with single date and date range selection",
|
|
108
|
+
"files": ["date-picker/DatePicker.tsx", "date-picker/index.ts"],
|
|
109
|
+
"dependencies": [],
|
|
110
|
+
"peerDependencies": ["react", "react-native", "@react-native-community/datetimepicker"],
|
|
111
|
+
"exports": ["DatePicker", "DateRangePicker"]
|
|
112
|
+
},
|
|
113
|
+
"dialog": {
|
|
114
|
+
"name": "Dialog",
|
|
115
|
+
"type": "overlay",
|
|
116
|
+
"description": "Modal dialog for displaying content over the main interface",
|
|
117
|
+
"files": ["dialog/Dialog.tsx", "dialog/index.ts"],
|
|
118
|
+
"dependencies": [],
|
|
119
|
+
"peerDependencies": ["react", "react-native"],
|
|
120
|
+
"exports": ["Dialog", "DialogContent", "DialogHeader", "DialogFooter", "DialogTitle", "DialogDescription"]
|
|
121
|
+
},
|
|
122
|
+
"dropdown-menu": {
|
|
123
|
+
"name": "Dropdown Menu",
|
|
124
|
+
"type": "overlay",
|
|
125
|
+
"description": "Dropdown menu for displaying a list of actions or options",
|
|
126
|
+
"files": ["dropdown-menu/DropdownMenu.tsx", "dropdown-menu/index.ts"],
|
|
127
|
+
"dependencies": [],
|
|
128
|
+
"peerDependencies": ["react", "react-native"],
|
|
129
|
+
"exports": ["DropdownMenu", "DropdownMenuTrigger", "DropdownMenuContent", "DropdownMenuItem", "DropdownMenuSeparator", "DropdownMenuLabel"]
|
|
130
|
+
},
|
|
131
|
+
"empty": {
|
|
132
|
+
"name": "Empty",
|
|
133
|
+
"type": "data-display",
|
|
134
|
+
"description": "Empty state component with presets for no data, errors, and offline states",
|
|
135
|
+
"files": ["empty/Empty.tsx", "empty/index.ts"],
|
|
136
|
+
"dependencies": [],
|
|
137
|
+
"peerDependencies": ["react", "react-native"],
|
|
138
|
+
"exports": ["Empty"]
|
|
139
|
+
},
|
|
140
|
+
"hover-card": {
|
|
141
|
+
"name": "Hover Card",
|
|
142
|
+
"type": "overlay",
|
|
143
|
+
"description": "Hover card for displaying additional information on press",
|
|
144
|
+
"files": ["hover-card/HoverCard.tsx", "hover-card/index.ts"],
|
|
145
|
+
"dependencies": [],
|
|
146
|
+
"peerDependencies": ["react", "react-native"],
|
|
147
|
+
"exports": ["HoverCard", "HoverCardTrigger", "HoverCardContent"]
|
|
148
|
+
},
|
|
149
|
+
"input": {
|
|
150
|
+
"name": "Input",
|
|
151
|
+
"type": "form",
|
|
152
|
+
"description": "Text input component with label, placeholder, and error states",
|
|
153
|
+
"files": ["input/Input.tsx", "input/index.ts"],
|
|
154
|
+
"dependencies": [],
|
|
155
|
+
"peerDependencies": ["react", "react-native"],
|
|
156
|
+
"exports": ["Input"]
|
|
157
|
+
},
|
|
158
|
+
"label": {
|
|
159
|
+
"name": "Label",
|
|
160
|
+
"type": "form",
|
|
161
|
+
"description": "Label component for form inputs",
|
|
162
|
+
"files": ["label/Label.tsx", "label/index.ts"],
|
|
163
|
+
"dependencies": [],
|
|
164
|
+
"peerDependencies": ["react", "react-native"],
|
|
165
|
+
"exports": ["Label"]
|
|
166
|
+
},
|
|
167
|
+
"menubar": {
|
|
168
|
+
"name": "Menubar",
|
|
169
|
+
"type": "navigation",
|
|
170
|
+
"description": "Menubar component for horizontal navigation menus",
|
|
171
|
+
"files": ["menubar/Menubar.tsx", "menubar/index.ts"],
|
|
172
|
+
"dependencies": [],
|
|
173
|
+
"peerDependencies": ["react", "react-native"],
|
|
174
|
+
"exports": ["Menubar", "MenubarMenu", "MenubarTrigger", "MenubarContent", "MenubarItem", "MenubarSeparator"]
|
|
175
|
+
},
|
|
176
|
+
"navigation-menu": {
|
|
177
|
+
"name": "Navigation Menu",
|
|
178
|
+
"type": "navigation",
|
|
179
|
+
"description": "Navigation menu with bottom tab and drawer variants",
|
|
180
|
+
"files": ["navigation-menu/NavigationMenu.tsx", "navigation-menu/index.ts"],
|
|
181
|
+
"dependencies": [],
|
|
182
|
+
"peerDependencies": ["react", "react-native"],
|
|
183
|
+
"exports": ["NavigationMenu", "NavigationMenuItem", "DrawerMenu"]
|
|
184
|
+
},
|
|
185
|
+
"pagination": {
|
|
186
|
+
"name": "Pagination",
|
|
187
|
+
"type": "navigation",
|
|
188
|
+
"description": "Pagination component with compact, full, and load more variants",
|
|
189
|
+
"files": ["pagination/Pagination.tsx", "pagination/index.ts"],
|
|
190
|
+
"dependencies": [],
|
|
191
|
+
"peerDependencies": ["react", "react-native"],
|
|
192
|
+
"exports": ["Pagination"]
|
|
193
|
+
},
|
|
194
|
+
"popover": {
|
|
195
|
+
"name": "Popover",
|
|
196
|
+
"type": "overlay",
|
|
197
|
+
"description": "Popover component for displaying floating content",
|
|
198
|
+
"files": ["popover/Popover.tsx", "popover/index.ts"],
|
|
199
|
+
"dependencies": [],
|
|
200
|
+
"peerDependencies": ["react", "react-native"],
|
|
201
|
+
"exports": ["Popover", "PopoverTrigger", "PopoverContent"]
|
|
202
|
+
},
|
|
203
|
+
"progress": {
|
|
204
|
+
"name": "Progress",
|
|
205
|
+
"type": "feedback",
|
|
206
|
+
"description": "Progress bar component for showing task completion",
|
|
207
|
+
"files": ["progress/Progress.tsx", "progress/index.ts"],
|
|
208
|
+
"dependencies": [],
|
|
209
|
+
"peerDependencies": ["react", "react-native"],
|
|
210
|
+
"exports": ["Progress"]
|
|
211
|
+
},
|
|
212
|
+
"radio-group": {
|
|
213
|
+
"name": "Radio Group",
|
|
214
|
+
"type": "form",
|
|
215
|
+
"description": "Radio button group for single selection from multiple options",
|
|
216
|
+
"files": ["radio-group/RadioGroup.tsx", "radio-group/index.ts"],
|
|
217
|
+
"dependencies": [],
|
|
218
|
+
"peerDependencies": ["react", "react-native"],
|
|
219
|
+
"exports": ["RadioGroup", "RadioGroupItem"]
|
|
220
|
+
},
|
|
221
|
+
"select": {
|
|
222
|
+
"name": "Select",
|
|
223
|
+
"type": "form",
|
|
224
|
+
"description": "Select dropdown component for choosing from a list of options",
|
|
225
|
+
"files": ["select/Select.tsx", "select/index.ts"],
|
|
226
|
+
"dependencies": [],
|
|
227
|
+
"peerDependencies": ["react", "react-native"],
|
|
228
|
+
"exports": ["Select", "SelectTrigger", "SelectContent", "SelectItem", "SelectValue"]
|
|
229
|
+
},
|
|
230
|
+
"separator": {
|
|
231
|
+
"name": "Separator",
|
|
232
|
+
"type": "layout",
|
|
233
|
+
"description": "Visual separator line for dividing content",
|
|
234
|
+
"files": ["separator/Separator.tsx", "separator/index.ts"],
|
|
235
|
+
"dependencies": [],
|
|
236
|
+
"peerDependencies": ["react", "react-native"],
|
|
237
|
+
"exports": ["Separator"]
|
|
238
|
+
},
|
|
239
|
+
"sheet": {
|
|
240
|
+
"name": "Sheet",
|
|
241
|
+
"type": "overlay",
|
|
242
|
+
"description": "Bottom sheet and side sheet component with header and footer",
|
|
243
|
+
"files": ["sheet/Sheet.tsx", "sheet/index.ts"],
|
|
244
|
+
"dependencies": [],
|
|
245
|
+
"peerDependencies": ["react", "react-native"],
|
|
246
|
+
"exports": ["Sheet", "SheetContent", "SheetHeader", "SheetFooter", "SheetTitle", "SheetDescription"]
|
|
247
|
+
},
|
|
248
|
+
"skeleton": {
|
|
249
|
+
"name": "Skeleton",
|
|
250
|
+
"type": "feedback",
|
|
251
|
+
"description": "Skeleton loading placeholder component",
|
|
252
|
+
"files": ["skeleton/Skeleton.tsx", "skeleton/index.ts"],
|
|
253
|
+
"dependencies": [],
|
|
254
|
+
"peerDependencies": ["react", "react-native"],
|
|
255
|
+
"exports": ["Skeleton"]
|
|
256
|
+
},
|
|
257
|
+
"slider": {
|
|
258
|
+
"name": "Slider",
|
|
259
|
+
"type": "form",
|
|
260
|
+
"description": "Slider component for selecting a value from a range",
|
|
261
|
+
"files": ["slider/Slider.tsx", "slider/index.ts"],
|
|
262
|
+
"dependencies": [],
|
|
263
|
+
"peerDependencies": ["react", "react-native"],
|
|
264
|
+
"exports": ["Slider"]
|
|
265
|
+
},
|
|
266
|
+
"switch": {
|
|
267
|
+
"name": "Switch",
|
|
268
|
+
"type": "form",
|
|
269
|
+
"description": "Toggle switch component for boolean input",
|
|
270
|
+
"files": ["switch/Switch.tsx", "switch/index.ts"],
|
|
271
|
+
"dependencies": [],
|
|
272
|
+
"peerDependencies": ["react", "react-native"],
|
|
273
|
+
"exports": ["Switch"]
|
|
274
|
+
},
|
|
275
|
+
"table": {
|
|
276
|
+
"name": "Table",
|
|
277
|
+
"type": "data-display",
|
|
278
|
+
"description": "Table component for displaying structured data",
|
|
279
|
+
"files": ["table/Table.tsx", "table/index.ts"],
|
|
280
|
+
"dependencies": [],
|
|
281
|
+
"peerDependencies": ["react", "react-native"],
|
|
282
|
+
"exports": ["Table", "TableHeader", "TableBody", "TableRow", "TableHead", "TableCell"]
|
|
283
|
+
},
|
|
284
|
+
"tabs": {
|
|
285
|
+
"name": "Tabs",
|
|
286
|
+
"type": "navigation",
|
|
287
|
+
"description": "Tabs component for organizing content into sections",
|
|
288
|
+
"files": ["tabs/Tabs.tsx", "tabs/index.ts"],
|
|
289
|
+
"dependencies": [],
|
|
290
|
+
"peerDependencies": ["react", "react-native"],
|
|
291
|
+
"exports": ["Tabs", "TabsList", "TabsTrigger", "TabsContent"]
|
|
292
|
+
},
|
|
293
|
+
"textarea": {
|
|
294
|
+
"name": "Textarea",
|
|
295
|
+
"type": "form",
|
|
296
|
+
"description": "Multi-line text input component",
|
|
297
|
+
"files": ["textarea/Textarea.tsx", "textarea/index.ts"],
|
|
298
|
+
"dependencies": [],
|
|
299
|
+
"peerDependencies": ["react", "react-native"],
|
|
300
|
+
"exports": ["Textarea"]
|
|
301
|
+
},
|
|
302
|
+
"toggle": {
|
|
303
|
+
"name": "Toggle",
|
|
304
|
+
"type": "form",
|
|
305
|
+
"description": "Toggle button for binary state changes",
|
|
306
|
+
"files": ["toggle/Toggle.tsx", "toggle/index.ts"],
|
|
307
|
+
"dependencies": [],
|
|
308
|
+
"peerDependencies": ["react", "react-native"],
|
|
309
|
+
"exports": ["Toggle"]
|
|
310
|
+
},
|
|
311
|
+
"toggle-group": {
|
|
312
|
+
"name": "Toggle Group",
|
|
313
|
+
"type": "form",
|
|
314
|
+
"description": "Group of toggle buttons for single or multiple selection",
|
|
315
|
+
"files": ["toggle-group/ToggleGroup.tsx", "toggle-group/index.ts"],
|
|
316
|
+
"dependencies": [],
|
|
317
|
+
"peerDependencies": ["react", "react-native"],
|
|
318
|
+
"exports": ["ToggleGroup", "ToggleGroupItem"]
|
|
319
|
+
},
|
|
320
|
+
"tooltip": {
|
|
321
|
+
"name": "Tooltip",
|
|
322
|
+
"type": "overlay",
|
|
323
|
+
"description": "Tooltip component for displaying helpful information on press",
|
|
324
|
+
"files": ["tooltip/Tooltip.tsx", "tooltip/index.ts"],
|
|
325
|
+
"dependencies": [],
|
|
326
|
+
"peerDependencies": ["react", "react-native"],
|
|
327
|
+
"exports": ["Tooltip", "TooltipTrigger", "TooltipContent"]
|
|
328
|
+
},
|
|
329
|
+
"typography": {
|
|
330
|
+
"name": "Typography",
|
|
331
|
+
"type": "data-display",
|
|
332
|
+
"description": "Typography component with 11 text variants (h1-h4, p, lead, large, small, muted, blockquote, code)",
|
|
333
|
+
"files": ["typography/Typography.tsx", "typography/index.ts"],
|
|
334
|
+
"dependencies": [],
|
|
335
|
+
"peerDependencies": ["react", "react-native"],
|
|
336
|
+
"exports": ["Typography"]
|
|
337
|
+
},
|
|
338
|
+
"line-chart": {
|
|
339
|
+
"name": "LineChart",
|
|
340
|
+
"type": "chart",
|
|
341
|
+
"description": "Display data as a responsive line chart with smooth curves and customizable styling, optimized for mobile",
|
|
342
|
+
"files": ["charts/LineChart.tsx", "charts/types.ts", "charts/utils.ts", "charts/index.ts"],
|
|
343
|
+
"dependencies": ["@wuba/react-native-echarts", "echarts", "@shopify/react-native-skia"],
|
|
344
|
+
"peerDependencies": ["react", "react-native"],
|
|
345
|
+
"exports": ["LineChart"]
|
|
346
|
+
},
|
|
347
|
+
"bar-chart": {
|
|
348
|
+
"name": "BarChart",
|
|
349
|
+
"type": "chart",
|
|
350
|
+
"description": "Display data as vertical or horizontal bars with support for stacked and grouped layouts, optimized for mobile",
|
|
351
|
+
"files": ["charts/BarChart.tsx", "charts/types.ts", "charts/utils.ts", "charts/index.ts"],
|
|
352
|
+
"dependencies": ["@wuba/react-native-echarts", "echarts", "@shopify/react-native-skia"],
|
|
353
|
+
"peerDependencies": ["react", "react-native"],
|
|
354
|
+
"exports": ["BarChart"]
|
|
355
|
+
},
|
|
356
|
+
"pie-chart": {
|
|
357
|
+
"name": "PieChart",
|
|
358
|
+
"type": "chart",
|
|
359
|
+
"description": "Display proportional data as a pie or donut chart with customizable labels and legend, optimized for mobile",
|
|
360
|
+
"files": ["charts/PieChart.tsx", "charts/types.ts", "charts/utils.ts", "charts/index.ts"],
|
|
361
|
+
"dependencies": ["@wuba/react-native-echarts", "echarts", "@shopify/react-native-skia"],
|
|
362
|
+
"peerDependencies": ["react", "react-native"],
|
|
363
|
+
"exports": ["PieChart"]
|
|
364
|
+
},
|
|
365
|
+
"area-chart": {
|
|
366
|
+
"name": "AreaChart",
|
|
367
|
+
"type": "chart",
|
|
368
|
+
"description": "Visualize cumulative totals over time with filled areas and gradient support, optimized for mobile",
|
|
369
|
+
"files": ["charts/AreaChart.tsx", "charts/types.ts", "charts/utils.ts", "charts/index.ts"],
|
|
370
|
+
"dependencies": ["@wuba/react-native-echarts", "echarts", "@shopify/react-native-skia"],
|
|
371
|
+
"peerDependencies": ["react", "react-native"],
|
|
372
|
+
"exports": ["AreaChart"]
|
|
373
|
+
},
|
|
374
|
+
"radar-chart": {
|
|
375
|
+
"name": "RadarChart",
|
|
376
|
+
"type": "chart",
|
|
377
|
+
"description": "Display multi-dimensional data comparison on a radial grid, optimized for mobile",
|
|
378
|
+
"files": ["charts/RadarChart.tsx", "charts/types.ts", "charts/utils.ts", "charts/index.ts"],
|
|
379
|
+
"dependencies": ["@wuba/react-native-echarts", "echarts", "@shopify/react-native-skia"],
|
|
380
|
+
"peerDependencies": ["react", "react-native"],
|
|
381
|
+
"exports": ["RadarChart"]
|
|
382
|
+
},
|
|
383
|
+
"scatter-chart": {
|
|
384
|
+
"name": "ScatterChart",
|
|
385
|
+
"type": "chart",
|
|
386
|
+
"description": "Display distribution and correlation analysis with scatter plots, optimized for mobile",
|
|
387
|
+
"files": ["charts/ScatterChart.tsx", "charts/types.ts", "charts/utils.ts", "charts/index.ts"],
|
|
388
|
+
"dependencies": ["@wuba/react-native-echarts", "echarts", "@shopify/react-native-skia"],
|
|
389
|
+
"peerDependencies": ["react", "react-native"],
|
|
390
|
+
"exports": ["ScatterChart"]
|
|
391
|
+
},
|
|
392
|
+
"mixed-chart": {
|
|
393
|
+
"name": "MixedChart",
|
|
394
|
+
"type": "chart",
|
|
395
|
+
"description": "Combine multiple chart types (line, bar, area) in a single visualization, optimized for mobile",
|
|
396
|
+
"files": ["charts/MixedChart.tsx", "charts/types.ts", "charts/utils.ts", "charts/index.ts"],
|
|
397
|
+
"dependencies": ["@wuba/react-native-echarts", "echarts", "@shopify/react-native-skia"],
|
|
398
|
+
"peerDependencies": ["react", "react-native"],
|
|
399
|
+
"exports": ["MixedChart"]
|
|
400
|
+
}
|
|
401
|
+
},
|
|
402
|
+
"groups": {
|
|
403
|
+
"form": {
|
|
404
|
+
"name": "Form Components",
|
|
405
|
+
"description": "Input and form control components",
|
|
406
|
+
"components": [
|
|
407
|
+
"button",
|
|
408
|
+
"checkbox",
|
|
409
|
+
"date-picker",
|
|
410
|
+
"input",
|
|
411
|
+
"label",
|
|
412
|
+
"radio-group",
|
|
413
|
+
"select",
|
|
414
|
+
"slider",
|
|
415
|
+
"switch",
|
|
416
|
+
"textarea",
|
|
417
|
+
"toggle",
|
|
418
|
+
"toggle-group"
|
|
419
|
+
]
|
|
420
|
+
},
|
|
421
|
+
"layout": {
|
|
422
|
+
"name": "Layout Components",
|
|
423
|
+
"description": "Components for structuring content",
|
|
424
|
+
"components": [
|
|
425
|
+
"accordion",
|
|
426
|
+
"aspect-ratio",
|
|
427
|
+
"card",
|
|
428
|
+
"collapsible",
|
|
429
|
+
"separator"
|
|
430
|
+
]
|
|
431
|
+
},
|
|
432
|
+
"navigation": {
|
|
433
|
+
"name": "Navigation Components",
|
|
434
|
+
"description": "Components for navigation and routing",
|
|
435
|
+
"components": [
|
|
436
|
+
"menubar",
|
|
437
|
+
"navigation-menu",
|
|
438
|
+
"pagination",
|
|
439
|
+
"tabs"
|
|
440
|
+
]
|
|
441
|
+
},
|
|
442
|
+
"data-display": {
|
|
443
|
+
"name": "Data Display Components",
|
|
444
|
+
"description": "Components for displaying data and content",
|
|
445
|
+
"components": [
|
|
446
|
+
"avatar",
|
|
447
|
+
"badge",
|
|
448
|
+
"empty",
|
|
449
|
+
"table",
|
|
450
|
+
"typography"
|
|
451
|
+
]
|
|
452
|
+
},
|
|
453
|
+
"overlay": {
|
|
454
|
+
"name": "Overlay Components",
|
|
455
|
+
"description": "Modal dialogs, popovers, and floating content",
|
|
456
|
+
"components": [
|
|
457
|
+
"alert-dialog",
|
|
458
|
+
"context-menu",
|
|
459
|
+
"dialog",
|
|
460
|
+
"dropdown-menu",
|
|
461
|
+
"hover-card",
|
|
462
|
+
"popover",
|
|
463
|
+
"sheet",
|
|
464
|
+
"tooltip"
|
|
465
|
+
]
|
|
466
|
+
},
|
|
467
|
+
"feedback": {
|
|
468
|
+
"name": "Feedback Components",
|
|
469
|
+
"description": "Components for user feedback and status",
|
|
470
|
+
"components": [
|
|
471
|
+
"alert",
|
|
472
|
+
"progress",
|
|
473
|
+
"skeleton"
|
|
474
|
+
]
|
|
475
|
+
},
|
|
476
|
+
"charts": {
|
|
477
|
+
"name": "Chart Components",
|
|
478
|
+
"description": "Data visualization and chart components",
|
|
479
|
+
"components": [
|
|
480
|
+
"line-chart",
|
|
481
|
+
"bar-chart",
|
|
482
|
+
"pie-chart",
|
|
483
|
+
"donut-chart",
|
|
484
|
+
"area-chart",
|
|
485
|
+
"radar-chart",
|
|
486
|
+
"scatter-chart",
|
|
487
|
+
"mixed-chart"
|
|
488
|
+
]
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
}
|