@uibot/registry 0.5.0 → 0.7.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/dist/index.js +9 -9
- package/dist/shadcn/r/admin-dashboard.json +70 -0
- package/dist/shadcn/r/admin-shell.json +148 -0
- package/dist/shadcn/r/ai-chat.json +74 -0
- package/dist/shadcn/r/analytics-dashboard.json +65 -0
- package/dist/shadcn/r/app-shell-floating.json +54 -0
- package/dist/shadcn/r/app-shell-icon-rail.json +54 -0
- package/dist/shadcn/r/app-shell-inset.json +54 -0
- package/dist/shadcn/r/app-shell-settings.json +54 -0
- package/dist/shadcn/r/app-shell-sidebar.json +54 -0
- package/dist/shadcn/r/app-shell-workspace.json +54 -0
- package/dist/shadcn/r/auth.json +61 -0
- package/dist/shadcn/r/blog.json +64 -0
- package/dist/shadcn/r/charts.json +211 -0
- package/dist/shadcn/r/content.json +444 -0
- package/dist/shadcn/r/creation-html-generation.json +29 -0
- package/dist/shadcn/r/creation-reference-generation.json +29 -0
- package/dist/shadcn/r/creation-revision-export.json +27 -0
- package/dist/shadcn/r/creation-shared.json +24 -0
- package/dist/shadcn/r/creation-workspace.json +33 -0
- package/dist/shadcn/r/crm.json +67 -0
- package/dist/shadcn/r/dashboard.json +147 -0
- package/dist/shadcn/r/data-studio.json +368 -0
- package/dist/shadcn/r/data-table.json +224 -0
- package/dist/shadcn/r/data.json +320 -0
- package/dist/shadcn/r/ecommerce.json +65 -0
- package/dist/shadcn/r/feedback.json +300 -0
- package/dist/shadcn/r/field.json +164 -0
- package/dist/shadcn/r/form.json +425 -0
- package/dist/shadcn/r/grid.json +188 -0
- package/dist/shadcn/r/interactive.json +355 -0
- package/dist/shadcn/r/kanban.json +154 -0
- package/dist/shadcn/r/layout.json +529 -0
- package/dist/shadcn/r/lms.json +74 -0
- package/dist/shadcn/r/marketing.json +402 -0
- package/dist/shadcn/r/nav.json +257 -0
- package/dist/shadcn/r/portfolio.json +62 -0
- package/dist/shadcn/r/presentation.json +454 -0
- package/dist/shadcn/r/pricing.json +63 -0
- package/dist/shadcn/r/primitives.json +360 -0
- package/dist/shadcn/r/saas-landing.json +60 -0
- package/dist/shadcn/r/sections.json +734 -0
- package/dist/shadcn/r/settings.json +72 -0
- package/dist/shadcn/r/shadcn-admin-shell.json +49 -0
- package/dist/shadcn/r/shadcn-admin.json +76 -0
- package/dist/shadcn/r/store.json +75 -0
- package/dist/shadcn/r/support-inbox.json +63 -0
- package/dist/shadcn/r/team-directory.json +59 -0
- package/dist/shadcn/r/uibot-base.json +30 -0
- package/dist/shadcn/r/uibot-theme.json +86 -0
- package/dist/shadcn/r/workspace.json +174 -0
- package/dist/shadcn/registry.json +615 -0
- package/dist/shadcn.d.ts +10 -5
- package/package.json +2 -2
|
@@ -0,0 +1,615 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://ui.shadcn.com/schema/registry.json",
|
|
3
|
+
"name": "uibot",
|
|
4
|
+
"homepage": "https://github.com/Foundj/uibot",
|
|
5
|
+
"items": [
|
|
6
|
+
{
|
|
7
|
+
"name": "uibot-base",
|
|
8
|
+
"type": "registry:lib",
|
|
9
|
+
"description": "UIBot runtime base: RendererComponent type shim + cn util. Pulled automatically by every UIBot block.",
|
|
10
|
+
"dependencies": [
|
|
11
|
+
"clsx",
|
|
12
|
+
"tailwind-merge"
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "uibot-theme",
|
|
17
|
+
"type": "registry:theme",
|
|
18
|
+
"description": "UIBot OKLCH palette for the semantic tokens the blocks use. Optional: skip it when the host defines its own."
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "admin-shell",
|
|
22
|
+
"type": "registry:ui",
|
|
23
|
+
"description": "Workspace navigation with configured groups, brand and account",
|
|
24
|
+
"registryDependencies": [
|
|
25
|
+
"@uibot/uibot-base"
|
|
26
|
+
],
|
|
27
|
+
"dependencies": [
|
|
28
|
+
"react"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "field",
|
|
33
|
+
"type": "registry:ui",
|
|
34
|
+
"description": "Accessible controlled or local form field; native validation and scalar event values",
|
|
35
|
+
"registryDependencies": [
|
|
36
|
+
"@uibot/uibot-base"
|
|
37
|
+
],
|
|
38
|
+
"dependencies": [
|
|
39
|
+
"react"
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "dashboard",
|
|
44
|
+
"type": "registry:ui",
|
|
45
|
+
"description": "Metric with label, value and supporting text",
|
|
46
|
+
"registryDependencies": [
|
|
47
|
+
"@uibot/uibot-base"
|
|
48
|
+
],
|
|
49
|
+
"dependencies": [
|
|
50
|
+
"react"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "workspace",
|
|
55
|
+
"type": "registry:ui",
|
|
56
|
+
"description": "Searchable integrations with explicit capability availability",
|
|
57
|
+
"registryDependencies": [
|
|
58
|
+
"@uibot/uibot-base"
|
|
59
|
+
],
|
|
60
|
+
"dependencies": [
|
|
61
|
+
"react"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "data-table",
|
|
66
|
+
"type": "registry:ui",
|
|
67
|
+
"description": "Configurable record table with search, facets, sorting, stable selection and pagination. Server mode emits query intent without filtering current-page rows.",
|
|
68
|
+
"registryDependencies": [
|
|
69
|
+
"@uibot/uibot-base"
|
|
70
|
+
],
|
|
71
|
+
"dependencies": [
|
|
72
|
+
"react"
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"name": "layout",
|
|
77
|
+
"type": "registry:ui",
|
|
78
|
+
"description": "Flex container for composing layout. Use as a row or column spacer between other blocks.",
|
|
79
|
+
"registryDependencies": [
|
|
80
|
+
"@uibot/uibot-base"
|
|
81
|
+
],
|
|
82
|
+
"dependencies": [
|
|
83
|
+
"react"
|
|
84
|
+
]
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "nav",
|
|
88
|
+
"type": "registry:ui",
|
|
89
|
+
"description": "Vertical sidebar navigation. Place MenuLink or MenuGroup blocks as children. Usually placed in the PageLayout sidebar slot.",
|
|
90
|
+
"registryDependencies": [
|
|
91
|
+
"@uibot/uibot-base"
|
|
92
|
+
],
|
|
93
|
+
"dependencies": [
|
|
94
|
+
"react"
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "data",
|
|
99
|
+
"type": "registry:ui",
|
|
100
|
+
"description": "Unordered list of child blocks. Use with divided or compact for different visual densities.",
|
|
101
|
+
"registryDependencies": [
|
|
102
|
+
"@uibot/uibot-base"
|
|
103
|
+
],
|
|
104
|
+
"dependencies": [
|
|
105
|
+
"react"
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "form",
|
|
110
|
+
"type": "registry:ui",
|
|
111
|
+
"description": "Form wrapper that prevents default submission. Place Form.Input, Form.Select, etc. as children and end with Form.Submit.",
|
|
112
|
+
"registryDependencies": [
|
|
113
|
+
"@uibot/uibot-base"
|
|
114
|
+
],
|
|
115
|
+
"dependencies": [
|
|
116
|
+
"react",
|
|
117
|
+
"radix-ui",
|
|
118
|
+
"react-day-picker"
|
|
119
|
+
]
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "feedback",
|
|
123
|
+
"type": "registry:ui",
|
|
124
|
+
"description": "Standalone action button. Six visual variants and five sizes. Does not submit forms — use Form.Submit for that.",
|
|
125
|
+
"registryDependencies": [
|
|
126
|
+
"@uibot/uibot-base"
|
|
127
|
+
],
|
|
128
|
+
"dependencies": [
|
|
129
|
+
"react"
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "primitives",
|
|
134
|
+
"type": "registry:ui",
|
|
135
|
+
"description": "Section title with optional eyebrow, description and an `actions` slot for buttons or links.",
|
|
136
|
+
"registryDependencies": [
|
|
137
|
+
"@uibot/uibot-base"
|
|
138
|
+
],
|
|
139
|
+
"dependencies": [
|
|
140
|
+
"react"
|
|
141
|
+
]
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"name": "grid",
|
|
145
|
+
"type": "registry:ui",
|
|
146
|
+
"description": "Declarative grid layout. Maps cols/gap/responsive props to Tailwind grid classes; children become grid cells directly.",
|
|
147
|
+
"registryDependencies": [
|
|
148
|
+
"@uibot/uibot-base"
|
|
149
|
+
],
|
|
150
|
+
"dependencies": [
|
|
151
|
+
"react"
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"name": "data-studio",
|
|
156
|
+
"type": "registry:ui",
|
|
157
|
+
"description": "Responsive grid of KPI cards. Prefers child Stat blocks; falls back to inline rendering of an items array when there are no children.",
|
|
158
|
+
"registryDependencies": [
|
|
159
|
+
"@uibot/uibot-base"
|
|
160
|
+
],
|
|
161
|
+
"dependencies": [
|
|
162
|
+
"react"
|
|
163
|
+
]
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"name": "charts",
|
|
167
|
+
"type": "registry:ui",
|
|
168
|
+
"description": "Pure-SVG line / area chart with no third-party dependency. Draws one polyline per series on a shared vertical scale. Alias: LineChart.",
|
|
169
|
+
"registryDependencies": [
|
|
170
|
+
"@uibot/uibot-base"
|
|
171
|
+
],
|
|
172
|
+
"dependencies": [
|
|
173
|
+
"react"
|
|
174
|
+
]
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"name": "kanban",
|
|
178
|
+
"type": "registry:ui",
|
|
179
|
+
"description": "Horizontal kanban board: columns as swimlanes, cards grouped by their column id. Read-only display.",
|
|
180
|
+
"registryDependencies": [
|
|
181
|
+
"@uibot/uibot-base"
|
|
182
|
+
],
|
|
183
|
+
"dependencies": [
|
|
184
|
+
"react"
|
|
185
|
+
]
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "interactive",
|
|
189
|
+
"type": "registry:ui",
|
|
190
|
+
"description": "Table with a built-in search box. Typing dispatches SetState onto searchKey and filters the resolved rows (case-insensitive substring across all columns).",
|
|
191
|
+
"registryDependencies": [
|
|
192
|
+
"@uibot/uibot-base"
|
|
193
|
+
],
|
|
194
|
+
"dependencies": [
|
|
195
|
+
"react"
|
|
196
|
+
]
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"name": "presentation",
|
|
200
|
+
"type": "registry:ui",
|
|
201
|
+
"description": "Asymmetric editorial hero: serif display title (with optional italic emphasis word), mono eyebrow with amber dot, warm radial-glow + blueprint dot-grid backdrop, grain overlay, staggered reveal, and primary/secondary CTAs. An optional right-side visual renders via the `aside` slot or children.",
|
|
202
|
+
"registryDependencies": [
|
|
203
|
+
"@uibot/uibot-base"
|
|
204
|
+
],
|
|
205
|
+
"dependencies": [
|
|
206
|
+
"react"
|
|
207
|
+
]
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"name": "content",
|
|
211
|
+
"type": "registry:ui",
|
|
212
|
+
"description": "Editorial accordion FAQ built on native <details>/<summary> — fully functional with zero JS / state wiring. Optional eyebrow/title/lead header; rows carry a mono index numeral, a hairline plus-mark that rotates 45° into a close-mark on open, and a grid-rows expand transition.",
|
|
213
|
+
"registryDependencies": [
|
|
214
|
+
"@uibot/uibot-base"
|
|
215
|
+
],
|
|
216
|
+
"dependencies": [
|
|
217
|
+
"react"
|
|
218
|
+
]
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"name": "marketing",
|
|
222
|
+
"type": "registry:ui",
|
|
223
|
+
"description": "Responsive 2–4 column pricing grid of hairline cards. The `highlighted` plan gets an amber border + 'Popular' badge + solid amber CTA; others use an outline CTA. Features list with amber check glyphs. CTAs are {label, href} anchors.",
|
|
224
|
+
"registryDependencies": [
|
|
225
|
+
"@uibot/uibot-base"
|
|
226
|
+
],
|
|
227
|
+
"dependencies": [
|
|
228
|
+
"react"
|
|
229
|
+
]
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"name": "sections",
|
|
233
|
+
"type": "registry:ui",
|
|
234
|
+
"description": "Slim full-width announcement bar: optional icon + message, an inline CTA link and a decorative dismiss '×'. `tone` picks one of the four brand accents; `solid` fills the strip with the accent instead of a soft tint.",
|
|
235
|
+
"registryDependencies": [
|
|
236
|
+
"@uibot/uibot-base"
|
|
237
|
+
],
|
|
238
|
+
"dependencies": [
|
|
239
|
+
"react"
|
|
240
|
+
]
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"name": "admin-dashboard",
|
|
244
|
+
"type": "registry:block",
|
|
245
|
+
"description": "Acme Admin",
|
|
246
|
+
"registryDependencies": [
|
|
247
|
+
"@uibot/app-shell-sidebar",
|
|
248
|
+
"@uibot/charts",
|
|
249
|
+
"@uibot/data",
|
|
250
|
+
"@uibot/data-studio",
|
|
251
|
+
"@uibot/feedback",
|
|
252
|
+
"@uibot/grid",
|
|
253
|
+
"@uibot/interactive",
|
|
254
|
+
"@uibot/layout",
|
|
255
|
+
"@uibot/nav"
|
|
256
|
+
]
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"name": "ai-chat",
|
|
260
|
+
"type": "registry:block",
|
|
261
|
+
"description": "Nova — Chat",
|
|
262
|
+
"registryDependencies": [
|
|
263
|
+
"@uibot/app-shell-sidebar",
|
|
264
|
+
"@uibot/charts",
|
|
265
|
+
"@uibot/data",
|
|
266
|
+
"@uibot/data-studio",
|
|
267
|
+
"@uibot/feedback",
|
|
268
|
+
"@uibot/form",
|
|
269
|
+
"@uibot/interactive",
|
|
270
|
+
"@uibot/layout"
|
|
271
|
+
]
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"name": "analytics-dashboard",
|
|
275
|
+
"type": "registry:block",
|
|
276
|
+
"description": "Analytics",
|
|
277
|
+
"registryDependencies": [
|
|
278
|
+
"@uibot/charts",
|
|
279
|
+
"@uibot/data",
|
|
280
|
+
"@uibot/data-studio",
|
|
281
|
+
"@uibot/feedback",
|
|
282
|
+
"@uibot/grid",
|
|
283
|
+
"@uibot/interactive",
|
|
284
|
+
"@uibot/layout"
|
|
285
|
+
]
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"name": "app-shell-floating",
|
|
289
|
+
"type": "registry:block",
|
|
290
|
+
"description": "Floating App",
|
|
291
|
+
"registryDependencies": [
|
|
292
|
+
"@uibot/data",
|
|
293
|
+
"@uibot/layout",
|
|
294
|
+
"@uibot/nav"
|
|
295
|
+
]
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"name": "app-shell-icon-rail",
|
|
299
|
+
"type": "registry:block",
|
|
300
|
+
"description": "Icon Rail",
|
|
301
|
+
"registryDependencies": [
|
|
302
|
+
"@uibot/data",
|
|
303
|
+
"@uibot/layout",
|
|
304
|
+
"@uibot/nav"
|
|
305
|
+
]
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"name": "app-shell-inset",
|
|
309
|
+
"type": "registry:block",
|
|
310
|
+
"description": "Inset App",
|
|
311
|
+
"registryDependencies": [
|
|
312
|
+
"@uibot/data",
|
|
313
|
+
"@uibot/layout",
|
|
314
|
+
"@uibot/nav"
|
|
315
|
+
]
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"name": "app-shell-settings",
|
|
319
|
+
"type": "registry:block",
|
|
320
|
+
"description": "Settings",
|
|
321
|
+
"registryDependencies": [
|
|
322
|
+
"@uibot/data",
|
|
323
|
+
"@uibot/layout",
|
|
324
|
+
"@uibot/nav"
|
|
325
|
+
]
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"name": "app-shell-sidebar",
|
|
329
|
+
"type": "registry:block",
|
|
330
|
+
"description": "App",
|
|
331
|
+
"registryDependencies": [
|
|
332
|
+
"@uibot/data",
|
|
333
|
+
"@uibot/layout",
|
|
334
|
+
"@uibot/nav"
|
|
335
|
+
]
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"name": "app-shell-workspace",
|
|
339
|
+
"type": "registry:block",
|
|
340
|
+
"description": "Workspace",
|
|
341
|
+
"registryDependencies": [
|
|
342
|
+
"@uibot/data",
|
|
343
|
+
"@uibot/layout",
|
|
344
|
+
"@uibot/nav"
|
|
345
|
+
]
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"name": "auth",
|
|
349
|
+
"type": "registry:block",
|
|
350
|
+
"description": "Sign in",
|
|
351
|
+
"registryDependencies": [
|
|
352
|
+
"@uibot/data",
|
|
353
|
+
"@uibot/feedback",
|
|
354
|
+
"@uibot/form",
|
|
355
|
+
"@uibot/layout",
|
|
356
|
+
"@uibot/nav"
|
|
357
|
+
]
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"name": "blog",
|
|
361
|
+
"type": "registry:block",
|
|
362
|
+
"description": "The Northwind Journal",
|
|
363
|
+
"registryDependencies": [
|
|
364
|
+
"@uibot/data",
|
|
365
|
+
"@uibot/form",
|
|
366
|
+
"@uibot/grid",
|
|
367
|
+
"@uibot/interactive",
|
|
368
|
+
"@uibot/layout",
|
|
369
|
+
"@uibot/nav"
|
|
370
|
+
]
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"name": "crm",
|
|
374
|
+
"type": "registry:block",
|
|
375
|
+
"description": "Pipeline — CRM",
|
|
376
|
+
"registryDependencies": [
|
|
377
|
+
"@uibot/app-shell-sidebar",
|
|
378
|
+
"@uibot/data",
|
|
379
|
+
"@uibot/data-studio",
|
|
380
|
+
"@uibot/feedback",
|
|
381
|
+
"@uibot/interactive",
|
|
382
|
+
"@uibot/kanban",
|
|
383
|
+
"@uibot/layout",
|
|
384
|
+
"@uibot/nav"
|
|
385
|
+
]
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"name": "ecommerce",
|
|
389
|
+
"type": "registry:block",
|
|
390
|
+
"description": "Shop — All products",
|
|
391
|
+
"registryDependencies": [
|
|
392
|
+
"@uibot/data",
|
|
393
|
+
"@uibot/feedback",
|
|
394
|
+
"@uibot/form",
|
|
395
|
+
"@uibot/grid",
|
|
396
|
+
"@uibot/interactive",
|
|
397
|
+
"@uibot/layout",
|
|
398
|
+
"@uibot/nav"
|
|
399
|
+
]
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"name": "lms",
|
|
403
|
+
"type": "registry:block",
|
|
404
|
+
"description": "Learn — Dashboard",
|
|
405
|
+
"registryDependencies": [
|
|
406
|
+
"@uibot/app-shell-sidebar",
|
|
407
|
+
"@uibot/charts",
|
|
408
|
+
"@uibot/data",
|
|
409
|
+
"@uibot/data-studio",
|
|
410
|
+
"@uibot/feedback",
|
|
411
|
+
"@uibot/grid",
|
|
412
|
+
"@uibot/interactive",
|
|
413
|
+
"@uibot/layout",
|
|
414
|
+
"@uibot/nav"
|
|
415
|
+
]
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"name": "portfolio",
|
|
419
|
+
"type": "registry:block",
|
|
420
|
+
"description": "Ada Lovelace — Designer & Engineer",
|
|
421
|
+
"registryDependencies": [
|
|
422
|
+
"@uibot/data",
|
|
423
|
+
"@uibot/feedback",
|
|
424
|
+
"@uibot/grid",
|
|
425
|
+
"@uibot/interactive",
|
|
426
|
+
"@uibot/layout",
|
|
427
|
+
"@uibot/nav"
|
|
428
|
+
]
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"name": "pricing",
|
|
432
|
+
"type": "registry:block",
|
|
433
|
+
"description": "Pricing",
|
|
434
|
+
"registryDependencies": [
|
|
435
|
+
"@uibot/data",
|
|
436
|
+
"@uibot/feedback",
|
|
437
|
+
"@uibot/grid",
|
|
438
|
+
"@uibot/interactive",
|
|
439
|
+
"@uibot/layout",
|
|
440
|
+
"@uibot/nav"
|
|
441
|
+
]
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"name": "saas-landing",
|
|
445
|
+
"type": "registry:block",
|
|
446
|
+
"description": "Northwind — Ship in one surface",
|
|
447
|
+
"registryDependencies": [
|
|
448
|
+
"@uibot/data",
|
|
449
|
+
"@uibot/feedback",
|
|
450
|
+
"@uibot/grid",
|
|
451
|
+
"@uibot/interactive",
|
|
452
|
+
"@uibot/layout",
|
|
453
|
+
"@uibot/nav"
|
|
454
|
+
]
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"name": "settings",
|
|
458
|
+
"type": "registry:block",
|
|
459
|
+
"description": "Settings",
|
|
460
|
+
"registryDependencies": [
|
|
461
|
+
"@uibot/app-shell-sidebar",
|
|
462
|
+
"@uibot/data",
|
|
463
|
+
"@uibot/feedback",
|
|
464
|
+
"@uibot/form",
|
|
465
|
+
"@uibot/grid",
|
|
466
|
+
"@uibot/interactive",
|
|
467
|
+
"@uibot/layout",
|
|
468
|
+
"@uibot/nav"
|
|
469
|
+
]
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"name": "shadcn-admin",
|
|
473
|
+
"type": "registry:block",
|
|
474
|
+
"description": "Dashboard",
|
|
475
|
+
"registryDependencies": [
|
|
476
|
+
"@uibot/dashboard",
|
|
477
|
+
"@uibot/data",
|
|
478
|
+
"@uibot/data-table",
|
|
479
|
+
"@uibot/feedback",
|
|
480
|
+
"@uibot/field",
|
|
481
|
+
"@uibot/form",
|
|
482
|
+
"@uibot/layout",
|
|
483
|
+
"@uibot/nav",
|
|
484
|
+
"@uibot/shadcn-admin-shell",
|
|
485
|
+
"@uibot/workspace"
|
|
486
|
+
]
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"name": "shadcn-admin-shell",
|
|
490
|
+
"type": "registry:block",
|
|
491
|
+
"description": "Shadcn Admin Shell template",
|
|
492
|
+
"registryDependencies": [
|
|
493
|
+
"@uibot/admin-shell",
|
|
494
|
+
"@uibot/layout"
|
|
495
|
+
]
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"name": "store",
|
|
499
|
+
"type": "registry:block",
|
|
500
|
+
"description": "Verdant — Storefront",
|
|
501
|
+
"registryDependencies": [
|
|
502
|
+
"@uibot/app-shell-sidebar",
|
|
503
|
+
"@uibot/data",
|
|
504
|
+
"@uibot/feedback",
|
|
505
|
+
"@uibot/form",
|
|
506
|
+
"@uibot/grid",
|
|
507
|
+
"@uibot/interactive",
|
|
508
|
+
"@uibot/layout",
|
|
509
|
+
"@uibot/nav"
|
|
510
|
+
]
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"name": "support-inbox",
|
|
514
|
+
"type": "registry:block",
|
|
515
|
+
"description": "Support Inbox",
|
|
516
|
+
"registryDependencies": [
|
|
517
|
+
"@uibot/data",
|
|
518
|
+
"@uibot/data-studio",
|
|
519
|
+
"@uibot/feedback",
|
|
520
|
+
"@uibot/form",
|
|
521
|
+
"@uibot/interactive",
|
|
522
|
+
"@uibot/layout"
|
|
523
|
+
]
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"name": "team-directory",
|
|
527
|
+
"type": "registry:block",
|
|
528
|
+
"description": "Team Directory",
|
|
529
|
+
"registryDependencies": [
|
|
530
|
+
"@uibot/data",
|
|
531
|
+
"@uibot/data-studio",
|
|
532
|
+
"@uibot/feedback",
|
|
533
|
+
"@uibot/interactive",
|
|
534
|
+
"@uibot/layout"
|
|
535
|
+
]
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
"name": "creation-shared",
|
|
539
|
+
"type": "registry:lib",
|
|
540
|
+
"description": "Copy (zh/en), domain filters and run checks shared by the UIBot creation blocks.",
|
|
541
|
+
"registryDependencies": [],
|
|
542
|
+
"dependencies": [
|
|
543
|
+
"react",
|
|
544
|
+
"@uibot/contracts@^0.7.0",
|
|
545
|
+
"@uibot/creation-kit@^0.7.0"
|
|
546
|
+
]
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"name": "creation-html-generation",
|
|
550
|
+
"type": "registry:block",
|
|
551
|
+
"description": "Generate a new HTML artifact or rewrite the current revision, with at-most-once dispatch and reconcile from @uibot/creation-kit.",
|
|
552
|
+
"registryDependencies": [
|
|
553
|
+
"button",
|
|
554
|
+
"label",
|
|
555
|
+
"textarea",
|
|
556
|
+
"@uibot/creation-shared"
|
|
557
|
+
],
|
|
558
|
+
"dependencies": [
|
|
559
|
+
"react",
|
|
560
|
+
"@uibot/contracts@^0.7.0",
|
|
561
|
+
"@uibot/creation-kit@^0.7.0"
|
|
562
|
+
]
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"name": "creation-reference-generation",
|
|
566
|
+
"type": "registry:block",
|
|
567
|
+
"description": "Generate a presentation from an explicitly chosen saved HTML revision.",
|
|
568
|
+
"registryDependencies": [
|
|
569
|
+
"button",
|
|
570
|
+
"label",
|
|
571
|
+
"textarea",
|
|
572
|
+
"@uibot/creation-shared"
|
|
573
|
+
],
|
|
574
|
+
"dependencies": [
|
|
575
|
+
"react",
|
|
576
|
+
"@uibot/contracts@^0.7.0",
|
|
577
|
+
"@uibot/creation-kit@^0.7.0"
|
|
578
|
+
]
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
"name": "creation-revision-export",
|
|
582
|
+
"type": "registry:block",
|
|
583
|
+
"description": "Download a saved HTML revision (PPTX for presentations) once no model request is open; the host supplies the export transport.",
|
|
584
|
+
"registryDependencies": [
|
|
585
|
+
"button",
|
|
586
|
+
"@uibot/creation-shared"
|
|
587
|
+
],
|
|
588
|
+
"dependencies": [
|
|
589
|
+
"react",
|
|
590
|
+
"@uibot/contracts@^0.7.0",
|
|
591
|
+
"@uibot/creation-kit@^0.7.0"
|
|
592
|
+
]
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
"name": "creation-workspace",
|
|
596
|
+
"type": "registry:block",
|
|
597
|
+
"description": "Manual HTML creation workspace (projects, artifacts, CAS saves with a conflict step, generation, export) over useCreationWorkspace; the host renders the editor.",
|
|
598
|
+
"registryDependencies": [
|
|
599
|
+
"button",
|
|
600
|
+
"input",
|
|
601
|
+
"label",
|
|
602
|
+
"textarea",
|
|
603
|
+
"@uibot/creation-shared",
|
|
604
|
+
"@uibot/creation-html-generation",
|
|
605
|
+
"@uibot/creation-reference-generation",
|
|
606
|
+
"@uibot/creation-revision-export"
|
|
607
|
+
],
|
|
608
|
+
"dependencies": [
|
|
609
|
+
"react",
|
|
610
|
+
"@uibot/contracts@^0.7.0",
|
|
611
|
+
"@uibot/creation-kit@^0.7.0"
|
|
612
|
+
]
|
|
613
|
+
}
|
|
614
|
+
]
|
|
615
|
+
}
|
package/dist/shadcn.d.ts
CHANGED
|
@@ -62,9 +62,9 @@ export interface ShadcnRegistryItem {
|
|
|
62
62
|
name: string;
|
|
63
63
|
/**
|
|
64
64
|
* shadcn item type. UI blocks are `registry:ui`, the shared shim is
|
|
65
|
-
* `registry:lib`, Spec templates are `registry:block`.
|
|
65
|
+
* `registry:lib`, Spec templates are `registry:block`, the opt-in palette is `registry:theme`.
|
|
66
66
|
*/
|
|
67
|
-
type: "registry:ui" | "registry:lib" | "registry:block";
|
|
67
|
+
type: "registry:ui" | "registry:lib" | "registry:block" | "registry:theme";
|
|
68
68
|
description?: string;
|
|
69
69
|
/** External npm dependencies (e.g. `clsx`, `tailwind-merge`). */
|
|
70
70
|
dependencies?: string[];
|
|
@@ -121,7 +121,10 @@ export interface BuildShadcnRegistryOptions {
|
|
|
121
121
|
/** Registry name, e.g. `"uibot"`. */
|
|
122
122
|
registryName: string;
|
|
123
123
|
homepage?: string;
|
|
124
|
-
/**
|
|
124
|
+
/**
|
|
125
|
+
* OKLCH theme vars, shipped as the opt-in `uibot-theme` item. No block depends on it, so a host
|
|
126
|
+
* that already defines the semantic tokens (`--background`, `--primary`, …) keeps its palette.
|
|
127
|
+
*/
|
|
125
128
|
cssVars?: ShadcnCssVars;
|
|
126
129
|
/**
|
|
127
130
|
* npm deps shared by every block (the `cn` util needs these). Defaults to
|
|
@@ -169,6 +172,8 @@ export interface BuildShadcnRegistryResult {
|
|
|
169
172
|
}
|
|
170
173
|
/** The shared base item name every block depends on. */
|
|
171
174
|
export declare const UIBOT_BASE_ITEM = "uibot-base";
|
|
175
|
+
/** The opt-in palette item (`npx shadcn add @uibot/uibot-theme`). */
|
|
176
|
+
export declare const UIBOT_THEME_ITEM = "uibot-theme";
|
|
172
177
|
/**
|
|
173
178
|
* Convert a block name (`"Form.Input"`, `"Button"`) into a kebab-case
|
|
174
179
|
* registry-item / file slug (`"form-input"`, `"button"`).
|
|
@@ -212,8 +217,8 @@ export declare function parseOklchCssVars(css: string): ShadcnCssVars;
|
|
|
212
217
|
/**
|
|
213
218
|
* Build the shadcn registry (top-level manifest + per-item JSON) from a neutral
|
|
214
219
|
* {@link BlockSource}[]. Emits one `registry:ui` item per block plus a single
|
|
215
|
-
* shared `uibot-base` (`registry:lib`) item carrying the renderer shim
|
|
216
|
-
* util,
|
|
220
|
+
* shared `uibot-base` (`registry:lib`) item carrying the renderer shim and the `cn`
|
|
221
|
+
* util, plus the opt-in `uibot-theme` item carrying the OKLCH theme vars.
|
|
217
222
|
*/
|
|
218
223
|
export declare function buildShadcnRegistry(sources: BlockSource[], opts: BuildShadcnRegistryOptions): BuildShadcnRegistryResult;
|
|
219
224
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uibot/registry",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@uibot/contracts": "^0.
|
|
30
|
+
"@uibot/contracts": "^0.7.0"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "rm -rf dist tsconfig.tsbuildinfo && bun build --minify ./src/index.ts --outdir ./dist --format esm --target bun && bun x tsc -b",
|