anhedral 0.20.0 → 0.21.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 +7 -7
- package/dist/capability-catalog.d.ts +1 -1
- package/dist/capability-catalog.js +1 -1
- package/dist/cli-arguments.js +2 -0
- package/dist/cli-commands.js +1 -4
- package/dist/cli-errors.js +3 -5
- package/dist/command-schema.js +0 -37
- package/dist/completion.js +0 -3
- package/dist/launch.js +4 -2
- package/dist/platforms/tanstack.js +0 -3
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/docs/capabilities.md +1 -1
- package/docs/software-factory.md +1 -1
- package/docs/stack-standard.md +1 -1
- package/docs/ui.md +10 -13
- package/package.json +1 -4
- package/assets/ui/LICENSE.react-native-reusables +0 -21
- package/assets/ui/catalog.json +0 -603
- package/assets/ui/extensions/registry.json +0 -6
- package/dist/ui-catalog.d.ts +0 -24
- package/dist/ui-catalog.js +0 -15
- package/dist/ui-command.d.ts +0 -5
- package/dist/ui-command.js +0 -221
- package/dist/ui-project.d.ts +0 -24
- package/dist/ui-project.js +0 -112
package/assets/ui/catalog.json
DELETED
|
@@ -1,603 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 1,
|
|
3
|
-
"revision": "2026-10-26.1",
|
|
4
|
-
"shadcnCliVersion": "4.22.1",
|
|
5
|
-
"sources": {
|
|
6
|
-
"web": "https://ui.shadcn.com/r/index.json"
|
|
7
|
-
},
|
|
8
|
-
"components": [
|
|
9
|
-
{
|
|
10
|
-
"name": "accordion",
|
|
11
|
-
"web": {
|
|
12
|
-
"item": "accordion",
|
|
13
|
-
"dependencies": [],
|
|
14
|
-
"registryDependencies": [],
|
|
15
|
-
"compatibility": "upstream-source; application validation required"
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"name": "alert",
|
|
20
|
-
"web": {
|
|
21
|
-
"item": "alert",
|
|
22
|
-
"dependencies": [],
|
|
23
|
-
"registryDependencies": [],
|
|
24
|
-
"compatibility": "upstream-source; application validation required"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"name": "alert-dialog",
|
|
29
|
-
"web": {
|
|
30
|
-
"item": "alert-dialog",
|
|
31
|
-
"dependencies": [],
|
|
32
|
-
"registryDependencies": ["button"],
|
|
33
|
-
"compatibility": "upstream-source; application validation required"
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"name": "aspect-ratio",
|
|
38
|
-
"web": {
|
|
39
|
-
"item": "aspect-ratio",
|
|
40
|
-
"dependencies": [],
|
|
41
|
-
"registryDependencies": [],
|
|
42
|
-
"compatibility": "upstream-source; application validation required"
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"name": "attachment",
|
|
47
|
-
"web": {
|
|
48
|
-
"item": "attachment",
|
|
49
|
-
"dependencies": [],
|
|
50
|
-
"registryDependencies": ["button"],
|
|
51
|
-
"compatibility": "upstream-source; application validation required"
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"name": "avatar",
|
|
56
|
-
"web": {
|
|
57
|
-
"item": "avatar",
|
|
58
|
-
"dependencies": [],
|
|
59
|
-
"registryDependencies": [],
|
|
60
|
-
"compatibility": "upstream-source; application validation required"
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"name": "badge",
|
|
65
|
-
"web": {
|
|
66
|
-
"item": "badge",
|
|
67
|
-
"dependencies": [],
|
|
68
|
-
"registryDependencies": [],
|
|
69
|
-
"compatibility": "upstream-source; application validation required"
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"name": "breadcrumb",
|
|
74
|
-
"web": {
|
|
75
|
-
"item": "breadcrumb",
|
|
76
|
-
"dependencies": [],
|
|
77
|
-
"registryDependencies": [],
|
|
78
|
-
"compatibility": "upstream-source; application validation required"
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"name": "bubble",
|
|
83
|
-
"web": {
|
|
84
|
-
"item": "bubble",
|
|
85
|
-
"dependencies": [],
|
|
86
|
-
"registryDependencies": [],
|
|
87
|
-
"compatibility": "upstream-source; application validation required"
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"name": "button",
|
|
92
|
-
"web": {
|
|
93
|
-
"item": "button",
|
|
94
|
-
"dependencies": [],
|
|
95
|
-
"registryDependencies": [],
|
|
96
|
-
"compatibility": "upstream-source; application validation required"
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"name": "button-group",
|
|
101
|
-
"web": {
|
|
102
|
-
"item": "button-group",
|
|
103
|
-
"dependencies": [],
|
|
104
|
-
"registryDependencies": ["separator"],
|
|
105
|
-
"compatibility": "upstream-source; application validation required"
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
"name": "calendar",
|
|
110
|
-
"web": {
|
|
111
|
-
"item": "calendar",
|
|
112
|
-
"dependencies": ["react-day-picker@latest", "date-fns"],
|
|
113
|
-
"registryDependencies": ["button"],
|
|
114
|
-
"compatibility": "upstream-source; application validation required"
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
"name": "card",
|
|
119
|
-
"web": {
|
|
120
|
-
"item": "card",
|
|
121
|
-
"dependencies": [],
|
|
122
|
-
"registryDependencies": [],
|
|
123
|
-
"compatibility": "upstream-source; application validation required"
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"name": "carousel",
|
|
128
|
-
"web": {
|
|
129
|
-
"item": "carousel",
|
|
130
|
-
"dependencies": ["embla-carousel-react"],
|
|
131
|
-
"registryDependencies": ["button"],
|
|
132
|
-
"compatibility": "upstream-source; application validation required"
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
"name": "chart",
|
|
137
|
-
"web": {
|
|
138
|
-
"item": "chart",
|
|
139
|
-
"dependencies": ["recharts@3.8.0"],
|
|
140
|
-
"registryDependencies": ["card"],
|
|
141
|
-
"compatibility": "upstream-source; application validation required"
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
"name": "checkbox",
|
|
146
|
-
"web": {
|
|
147
|
-
"item": "checkbox",
|
|
148
|
-
"dependencies": [],
|
|
149
|
-
"registryDependencies": [],
|
|
150
|
-
"compatibility": "upstream-source; application validation required"
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
"name": "code-block",
|
|
155
|
-
"web": {
|
|
156
|
-
"item": "code-block",
|
|
157
|
-
"dependencies": [],
|
|
158
|
-
"registryDependencies": ["button", "use-highlighted-code"],
|
|
159
|
-
"compatibility": "upstream-source; application validation required"
|
|
160
|
-
}
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"name": "collapsible",
|
|
164
|
-
"web": {
|
|
165
|
-
"item": "collapsible",
|
|
166
|
-
"dependencies": [],
|
|
167
|
-
"registryDependencies": [],
|
|
168
|
-
"compatibility": "upstream-source; application validation required"
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
"name": "combobox",
|
|
173
|
-
"web": {
|
|
174
|
-
"item": "combobox",
|
|
175
|
-
"dependencies": ["@base-ui/react"],
|
|
176
|
-
"registryDependencies": ["button", "input-group"],
|
|
177
|
-
"compatibility": "upstream-source; application validation required"
|
|
178
|
-
}
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
"name": "command",
|
|
182
|
-
"web": {
|
|
183
|
-
"item": "command",
|
|
184
|
-
"dependencies": ["cmdk"],
|
|
185
|
-
"registryDependencies": ["dialog", "input-group"],
|
|
186
|
-
"compatibility": "upstream-source; application validation required"
|
|
187
|
-
}
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
"name": "context-menu",
|
|
191
|
-
"web": {
|
|
192
|
-
"item": "context-menu",
|
|
193
|
-
"dependencies": [],
|
|
194
|
-
"registryDependencies": [],
|
|
195
|
-
"compatibility": "upstream-source; application validation required"
|
|
196
|
-
}
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
"name": "dialog",
|
|
200
|
-
"web": {
|
|
201
|
-
"item": "dialog",
|
|
202
|
-
"dependencies": [],
|
|
203
|
-
"registryDependencies": ["button"],
|
|
204
|
-
"compatibility": "upstream-source; application validation required"
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
"name": "direction",
|
|
209
|
-
"web": {
|
|
210
|
-
"item": "direction",
|
|
211
|
-
"dependencies": ["@base-ui/react"],
|
|
212
|
-
"registryDependencies": [],
|
|
213
|
-
"compatibility": "upstream-source; application validation required"
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
"name": "drawer",
|
|
218
|
-
"web": {
|
|
219
|
-
"item": "drawer",
|
|
220
|
-
"dependencies": ["@base-ui/react"],
|
|
221
|
-
"registryDependencies": [],
|
|
222
|
-
"compatibility": "upstream-source; application validation required"
|
|
223
|
-
}
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
"name": "dropdown-menu",
|
|
227
|
-
"web": {
|
|
228
|
-
"item": "dropdown-menu",
|
|
229
|
-
"dependencies": [],
|
|
230
|
-
"registryDependencies": [],
|
|
231
|
-
"compatibility": "upstream-source; application validation required"
|
|
232
|
-
}
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
"name": "empty",
|
|
236
|
-
"web": {
|
|
237
|
-
"item": "empty",
|
|
238
|
-
"dependencies": [],
|
|
239
|
-
"registryDependencies": [],
|
|
240
|
-
"compatibility": "upstream-source; application validation required"
|
|
241
|
-
}
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
"name": "field",
|
|
245
|
-
"web": {
|
|
246
|
-
"item": "field",
|
|
247
|
-
"dependencies": [],
|
|
248
|
-
"registryDependencies": ["label", "separator"],
|
|
249
|
-
"compatibility": "upstream-source; application validation required"
|
|
250
|
-
}
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
"name": "form",
|
|
254
|
-
"web": {
|
|
255
|
-
"item": "form",
|
|
256
|
-
"dependencies": [],
|
|
257
|
-
"registryDependencies": [],
|
|
258
|
-
"compatibility": "upstream-source; application validation required"
|
|
259
|
-
}
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
"name": "hover-card",
|
|
263
|
-
"web": {
|
|
264
|
-
"item": "hover-card",
|
|
265
|
-
"dependencies": [],
|
|
266
|
-
"registryDependencies": [],
|
|
267
|
-
"compatibility": "upstream-source; application validation required"
|
|
268
|
-
}
|
|
269
|
-
},
|
|
270
|
-
{
|
|
271
|
-
"name": "input",
|
|
272
|
-
"web": {
|
|
273
|
-
"item": "input",
|
|
274
|
-
"dependencies": [],
|
|
275
|
-
"registryDependencies": [],
|
|
276
|
-
"compatibility": "upstream-source; application validation required"
|
|
277
|
-
}
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
"name": "input-group",
|
|
281
|
-
"web": {
|
|
282
|
-
"item": "input-group",
|
|
283
|
-
"dependencies": [],
|
|
284
|
-
"registryDependencies": ["button", "input", "textarea"],
|
|
285
|
-
"compatibility": "upstream-source; application validation required"
|
|
286
|
-
}
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
"name": "input-otp",
|
|
290
|
-
"web": {
|
|
291
|
-
"item": "input-otp",
|
|
292
|
-
"dependencies": ["input-otp"],
|
|
293
|
-
"registryDependencies": [],
|
|
294
|
-
"compatibility": "upstream-source; application validation required"
|
|
295
|
-
}
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
"name": "item",
|
|
299
|
-
"web": {
|
|
300
|
-
"item": "item",
|
|
301
|
-
"dependencies": [],
|
|
302
|
-
"registryDependencies": ["separator"],
|
|
303
|
-
"compatibility": "upstream-source; application validation required"
|
|
304
|
-
}
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
"name": "kbd",
|
|
308
|
-
"web": {
|
|
309
|
-
"item": "kbd",
|
|
310
|
-
"dependencies": [],
|
|
311
|
-
"registryDependencies": [],
|
|
312
|
-
"compatibility": "upstream-source; application validation required"
|
|
313
|
-
}
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
"name": "label",
|
|
317
|
-
"web": {
|
|
318
|
-
"item": "label",
|
|
319
|
-
"dependencies": [],
|
|
320
|
-
"registryDependencies": [],
|
|
321
|
-
"compatibility": "upstream-source; application validation required"
|
|
322
|
-
}
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
"name": "marker",
|
|
326
|
-
"web": {
|
|
327
|
-
"item": "marker",
|
|
328
|
-
"dependencies": [],
|
|
329
|
-
"registryDependencies": [],
|
|
330
|
-
"compatibility": "upstream-source; application validation required"
|
|
331
|
-
}
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
"name": "menubar",
|
|
335
|
-
"web": {
|
|
336
|
-
"item": "menubar",
|
|
337
|
-
"dependencies": [],
|
|
338
|
-
"registryDependencies": ["dropdown-menu"],
|
|
339
|
-
"compatibility": "upstream-source; application validation required"
|
|
340
|
-
}
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
"name": "message",
|
|
344
|
-
"web": {
|
|
345
|
-
"item": "message",
|
|
346
|
-
"dependencies": [],
|
|
347
|
-
"registryDependencies": [],
|
|
348
|
-
"compatibility": "upstream-source; application validation required"
|
|
349
|
-
}
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
"name": "message-scroller",
|
|
353
|
-
"web": {
|
|
354
|
-
"item": "message-scroller",
|
|
355
|
-
"dependencies": ["@shadcn/react"],
|
|
356
|
-
"registryDependencies": ["button"],
|
|
357
|
-
"compatibility": "upstream-source; application validation required"
|
|
358
|
-
}
|
|
359
|
-
},
|
|
360
|
-
{
|
|
361
|
-
"name": "native-select",
|
|
362
|
-
"web": {
|
|
363
|
-
"item": "native-select",
|
|
364
|
-
"dependencies": [],
|
|
365
|
-
"registryDependencies": [],
|
|
366
|
-
"compatibility": "upstream-source; application validation required"
|
|
367
|
-
}
|
|
368
|
-
},
|
|
369
|
-
{
|
|
370
|
-
"name": "navigation-menu",
|
|
371
|
-
"web": {
|
|
372
|
-
"item": "navigation-menu",
|
|
373
|
-
"dependencies": [],
|
|
374
|
-
"registryDependencies": [],
|
|
375
|
-
"compatibility": "upstream-source; application validation required"
|
|
376
|
-
}
|
|
377
|
-
},
|
|
378
|
-
{
|
|
379
|
-
"name": "pagination",
|
|
380
|
-
"web": {
|
|
381
|
-
"item": "pagination",
|
|
382
|
-
"dependencies": [],
|
|
383
|
-
"registryDependencies": ["button"],
|
|
384
|
-
"compatibility": "upstream-source; application validation required"
|
|
385
|
-
}
|
|
386
|
-
},
|
|
387
|
-
{
|
|
388
|
-
"name": "popover",
|
|
389
|
-
"web": {
|
|
390
|
-
"item": "popover",
|
|
391
|
-
"dependencies": [],
|
|
392
|
-
"registryDependencies": [],
|
|
393
|
-
"compatibility": "upstream-source; application validation required"
|
|
394
|
-
}
|
|
395
|
-
},
|
|
396
|
-
{
|
|
397
|
-
"name": "progress",
|
|
398
|
-
"web": {
|
|
399
|
-
"item": "progress",
|
|
400
|
-
"dependencies": [],
|
|
401
|
-
"registryDependencies": [],
|
|
402
|
-
"compatibility": "upstream-source; application validation required"
|
|
403
|
-
}
|
|
404
|
-
},
|
|
405
|
-
{
|
|
406
|
-
"name": "questionnaire",
|
|
407
|
-
"web": {
|
|
408
|
-
"item": "questionnaire",
|
|
409
|
-
"dependencies": ["@shadcn/react"],
|
|
410
|
-
"registryDependencies": ["button"],
|
|
411
|
-
"compatibility": "upstream-source; application validation required"
|
|
412
|
-
}
|
|
413
|
-
},
|
|
414
|
-
{
|
|
415
|
-
"name": "radio-group",
|
|
416
|
-
"web": {
|
|
417
|
-
"item": "radio-group",
|
|
418
|
-
"dependencies": [],
|
|
419
|
-
"registryDependencies": [],
|
|
420
|
-
"compatibility": "upstream-source; application validation required"
|
|
421
|
-
}
|
|
422
|
-
},
|
|
423
|
-
{
|
|
424
|
-
"name": "resizable",
|
|
425
|
-
"web": {
|
|
426
|
-
"item": "resizable",
|
|
427
|
-
"dependencies": ["react-resizable-panels"],
|
|
428
|
-
"registryDependencies": [],
|
|
429
|
-
"compatibility": "upstream-source; application validation required"
|
|
430
|
-
}
|
|
431
|
-
},
|
|
432
|
-
{
|
|
433
|
-
"name": "scroll-area",
|
|
434
|
-
"web": {
|
|
435
|
-
"item": "scroll-area",
|
|
436
|
-
"dependencies": [],
|
|
437
|
-
"registryDependencies": [],
|
|
438
|
-
"compatibility": "upstream-source; application validation required"
|
|
439
|
-
}
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
"name": "select",
|
|
443
|
-
"web": {
|
|
444
|
-
"item": "select",
|
|
445
|
-
"dependencies": [],
|
|
446
|
-
"registryDependencies": [],
|
|
447
|
-
"compatibility": "upstream-source; application validation required"
|
|
448
|
-
}
|
|
449
|
-
},
|
|
450
|
-
{
|
|
451
|
-
"name": "separator",
|
|
452
|
-
"web": {
|
|
453
|
-
"item": "separator",
|
|
454
|
-
"dependencies": [],
|
|
455
|
-
"registryDependencies": [],
|
|
456
|
-
"compatibility": "upstream-source; application validation required"
|
|
457
|
-
}
|
|
458
|
-
},
|
|
459
|
-
{
|
|
460
|
-
"name": "sheet",
|
|
461
|
-
"web": {
|
|
462
|
-
"item": "sheet",
|
|
463
|
-
"dependencies": [],
|
|
464
|
-
"registryDependencies": ["button"],
|
|
465
|
-
"compatibility": "upstream-source; application validation required"
|
|
466
|
-
}
|
|
467
|
-
},
|
|
468
|
-
{
|
|
469
|
-
"name": "sidebar",
|
|
470
|
-
"web": {
|
|
471
|
-
"item": "sidebar",
|
|
472
|
-
"dependencies": [],
|
|
473
|
-
"registryDependencies": [
|
|
474
|
-
"button",
|
|
475
|
-
"input",
|
|
476
|
-
"separator",
|
|
477
|
-
"sheet",
|
|
478
|
-
"skeleton",
|
|
479
|
-
"tooltip",
|
|
480
|
-
"use-mobile"
|
|
481
|
-
],
|
|
482
|
-
"compatibility": "upstream-source; application validation required"
|
|
483
|
-
}
|
|
484
|
-
},
|
|
485
|
-
{
|
|
486
|
-
"name": "skeleton",
|
|
487
|
-
"web": {
|
|
488
|
-
"item": "skeleton",
|
|
489
|
-
"dependencies": [],
|
|
490
|
-
"registryDependencies": [],
|
|
491
|
-
"compatibility": "upstream-source; application validation required"
|
|
492
|
-
}
|
|
493
|
-
},
|
|
494
|
-
{
|
|
495
|
-
"name": "slider",
|
|
496
|
-
"web": {
|
|
497
|
-
"item": "slider",
|
|
498
|
-
"dependencies": [],
|
|
499
|
-
"registryDependencies": [],
|
|
500
|
-
"compatibility": "upstream-source; application validation required"
|
|
501
|
-
}
|
|
502
|
-
},
|
|
503
|
-
{
|
|
504
|
-
"name": "sonner",
|
|
505
|
-
"web": {
|
|
506
|
-
"item": "sonner",
|
|
507
|
-
"dependencies": ["sonner", "next-themes"],
|
|
508
|
-
"registryDependencies": [],
|
|
509
|
-
"compatibility": "upstream-source; application validation required"
|
|
510
|
-
}
|
|
511
|
-
},
|
|
512
|
-
{
|
|
513
|
-
"name": "spinner",
|
|
514
|
-
"web": {
|
|
515
|
-
"item": "spinner",
|
|
516
|
-
"dependencies": [],
|
|
517
|
-
"registryDependencies": [],
|
|
518
|
-
"compatibility": "upstream-source; application validation required"
|
|
519
|
-
}
|
|
520
|
-
},
|
|
521
|
-
{
|
|
522
|
-
"name": "switch",
|
|
523
|
-
"web": {
|
|
524
|
-
"item": "switch",
|
|
525
|
-
"dependencies": [],
|
|
526
|
-
"registryDependencies": [],
|
|
527
|
-
"compatibility": "upstream-source; application validation required"
|
|
528
|
-
}
|
|
529
|
-
},
|
|
530
|
-
{
|
|
531
|
-
"name": "table",
|
|
532
|
-
"web": {
|
|
533
|
-
"item": "table",
|
|
534
|
-
"dependencies": [],
|
|
535
|
-
"registryDependencies": [],
|
|
536
|
-
"compatibility": "upstream-source; application validation required"
|
|
537
|
-
}
|
|
538
|
-
},
|
|
539
|
-
{
|
|
540
|
-
"name": "tabs",
|
|
541
|
-
"web": {
|
|
542
|
-
"item": "tabs",
|
|
543
|
-
"dependencies": [],
|
|
544
|
-
"registryDependencies": [],
|
|
545
|
-
"compatibility": "upstream-source; application validation required"
|
|
546
|
-
}
|
|
547
|
-
},
|
|
548
|
-
{
|
|
549
|
-
"name": "textarea",
|
|
550
|
-
"web": {
|
|
551
|
-
"item": "textarea",
|
|
552
|
-
"dependencies": [],
|
|
553
|
-
"registryDependencies": [],
|
|
554
|
-
"compatibility": "upstream-source; application validation required"
|
|
555
|
-
}
|
|
556
|
-
},
|
|
557
|
-
{
|
|
558
|
-
"name": "toast",
|
|
559
|
-
"web": {
|
|
560
|
-
"item": "toast",
|
|
561
|
-
"dependencies": ["@base-ui/react"],
|
|
562
|
-
"registryDependencies": ["button"],
|
|
563
|
-
"compatibility": "upstream-source; application validation required"
|
|
564
|
-
}
|
|
565
|
-
},
|
|
566
|
-
{
|
|
567
|
-
"name": "toggle",
|
|
568
|
-
"web": {
|
|
569
|
-
"item": "toggle",
|
|
570
|
-
"dependencies": [],
|
|
571
|
-
"registryDependencies": [],
|
|
572
|
-
"compatibility": "upstream-source; application validation required"
|
|
573
|
-
}
|
|
574
|
-
},
|
|
575
|
-
{
|
|
576
|
-
"name": "toggle-group",
|
|
577
|
-
"web": {
|
|
578
|
-
"item": "toggle-group",
|
|
579
|
-
"dependencies": [],
|
|
580
|
-
"registryDependencies": ["toggle"],
|
|
581
|
-
"compatibility": "upstream-source; application validation required"
|
|
582
|
-
}
|
|
583
|
-
},
|
|
584
|
-
{
|
|
585
|
-
"name": "tooltip",
|
|
586
|
-
"web": {
|
|
587
|
-
"item": "tooltip",
|
|
588
|
-
"dependencies": [],
|
|
589
|
-
"registryDependencies": [],
|
|
590
|
-
"compatibility": "upstream-source; application validation required"
|
|
591
|
-
}
|
|
592
|
-
},
|
|
593
|
-
{
|
|
594
|
-
"name": "trace",
|
|
595
|
-
"web": {
|
|
596
|
-
"item": "trace",
|
|
597
|
-
"dependencies": [],
|
|
598
|
-
"registryDependencies": ["collapsible"],
|
|
599
|
-
"compatibility": "upstream-source; application validation required"
|
|
600
|
-
}
|
|
601
|
-
}
|
|
602
|
-
]
|
|
603
|
-
}
|
package/dist/ui-catalog.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export type UiPlatform = 'web';
|
|
2
|
-
export interface UiSource {
|
|
3
|
-
item: string;
|
|
4
|
-
dependencies: string[];
|
|
5
|
-
registryDependencies: string[];
|
|
6
|
-
compatibility: string;
|
|
7
|
-
}
|
|
8
|
-
export interface UiComponent {
|
|
9
|
-
name: string;
|
|
10
|
-
web: UiSource | null;
|
|
11
|
-
}
|
|
12
|
-
export declare const UI_CATALOG: {
|
|
13
|
-
schemaVersion: number;
|
|
14
|
-
revision: string;
|
|
15
|
-
shadcnCliVersion: string;
|
|
16
|
-
sources: Record<string, string>;
|
|
17
|
-
components: UiComponent[];
|
|
18
|
-
};
|
|
19
|
-
/** Resolve source-owned shadcn names for the single Anhedral Stack web foundation. */
|
|
20
|
-
export declare function resolveUiItems(names: string[], platform: UiPlatform): {
|
|
21
|
-
name: string;
|
|
22
|
-
source: string;
|
|
23
|
-
item: string;
|
|
24
|
-
}[];
|
package/dist/ui-catalog.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { readFileSync } from 'node:fs';
|
|
2
|
-
export const UI_CATALOG = JSON.parse(readFileSync(new URL('../assets/ui/catalog.json', import.meta.url), 'utf8'));
|
|
3
|
-
/** Resolve source-owned shadcn names for the single Anhedral Stack web foundation. */
|
|
4
|
-
export function resolveUiItems(names, platform) {
|
|
5
|
-
if (platform !== 'web')
|
|
6
|
-
throw Error('Only the Anhedral Stack web UI is supported.');
|
|
7
|
-
return [...new Set(names)].map((name) => {
|
|
8
|
-
if (!/^[a-z][a-z0-9-]{0,79}$/.test(name))
|
|
9
|
-
throw Error(`Invalid component name: ${name}.`);
|
|
10
|
-
const component = UI_CATALOG.components.find((item) => item.name === name);
|
|
11
|
-
if (!component?.web)
|
|
12
|
-
throw Error(`Unknown shadcn component: ${name}. Run anhedral ui list.`);
|
|
13
|
-
return { name, source: 'shadcn', item: name };
|
|
14
|
-
});
|
|
15
|
-
}
|
package/dist/ui-command.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type OutputOptions } from './cli-output.js';
|
|
2
|
-
export type UiRunner = (args: string[], cwd: string) => string | Promise<string>;
|
|
3
|
-
/** Public UI surface: one Anhedral Stack web target, with no native install fallback. */
|
|
4
|
-
export declare function runAnhedralUiCommand(args: string[], output: OutputOptions, run?: UiRunner): Promise<void>;
|
|
5
|
-
export declare function runUiCommand(args: string[], output: OutputOptions, run?: UiRunner): Promise<void>;
|