@create-ui/cli 0.5.8 → 0.5.9
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/{chunk-RMTTHCB3.js → chunk-2ELKDGGM.js} +3 -3
- package/dist/{chunk-RMTTHCB3.js.map → chunk-2ELKDGGM.js.map} +1 -1
- package/dist/chunk-643QI2I2.js +102 -0
- package/dist/chunk-643QI2I2.js.map +1 -0
- package/dist/{chunk-NQFMXHMH.js → chunk-KQTXDVKV.js} +3 -3
- package/dist/chunk-KQTXDVKV.js.map +1 -0
- package/dist/index.d.ts +360 -360
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/mcp/index.js +1 -1
- package/dist/registry/index.d.ts +2 -2
- package/dist/registry/index.js +1 -1
- package/dist/schema/index.d.ts +715 -715
- package/dist/skills/createui/SKILL.md +201 -177
- package/dist/skills/createui/agents/openai.yml +1 -1
- package/dist/skills/createui/cli.md +42 -42
- package/dist/skills/createui/customization.md +20 -15
- package/dist/skills/createui/evals/evals.json +68 -5
- package/dist/skills/createui/mcp.md +14 -5
- package/dist/skills/createui/reference/accordion.md +127 -0
- package/dist/skills/createui/reference/app-store-badge.md +88 -0
- package/dist/skills/createui/reference/aspect-ratio.md +52 -0
- package/dist/skills/createui/reference/avatar.md +230 -0
- package/dist/skills/createui/reference/badge.md +110 -0
- package/dist/skills/createui/reference/breadcrumb.md +153 -0
- package/dist/skills/createui/reference/button-group.md +116 -0
- package/dist/skills/createui/reference/button.md +104 -0
- package/dist/skills/createui/reference/checkbox-group.md +118 -0
- package/dist/skills/createui/reference/checkbox.md +79 -0
- package/dist/skills/createui/reference/chip.md +115 -0
- package/dist/skills/createui/reference/close-button.md +83 -0
- package/dist/skills/createui/reference/command.md +69 -0
- package/dist/skills/createui/reference/country-flag.md +109 -0
- package/dist/skills/createui/reference/credit-card-input.md +76 -0
- package/dist/skills/createui/reference/date-input.md +71 -0
- package/dist/skills/createui/reference/dropdown-menu.md +164 -0
- package/dist/skills/createui/reference/field.md +186 -0
- package/dist/skills/createui/reference/info-tooltip.md +110 -0
- package/dist/skills/createui/reference/inline-alert.md +146 -0
- package/dist/skills/createui/reference/input-group.md +171 -0
- package/dist/skills/createui/reference/input-otp.md +130 -0
- package/dist/skills/createui/reference/input-stepper.md +120 -0
- package/dist/skills/createui/reference/input.md +118 -0
- package/dist/skills/createui/reference/label.md +121 -0
- package/dist/skills/createui/reference/pagination.md +157 -0
- package/dist/skills/createui/reference/password-strength.md +70 -0
- package/dist/skills/createui/reference/phone-input.md +77 -0
- package/dist/skills/createui/reference/progress.md +158 -0
- package/dist/skills/createui/reference/radio-group.md +133 -0
- package/dist/skills/createui/reference/radio.md +79 -0
- package/dist/skills/createui/reference/scroll-area.md +212 -0
- package/dist/skills/createui/reference/segmented-control.md +146 -0
- package/dist/skills/createui/reference/select.md +204 -0
- package/dist/skills/createui/reference/separator.md +99 -0
- package/dist/skills/createui/reference/social-login-button.md +130 -0
- package/dist/skills/createui/reference/spinner.md +68 -0
- package/dist/skills/createui/reference/status-badge.md +89 -0
- package/dist/skills/createui/reference/switch-group.md +122 -0
- package/dist/skills/createui/reference/switch.md +75 -0
- package/dist/skills/createui/reference/tab-menu.md +165 -0
- package/dist/skills/createui/reference/text-link.md +84 -0
- package/dist/skills/createui/reference/textarea.md +50 -0
- package/dist/skills/createui/reference/toast.md +162 -0
- package/dist/skills/createui/reference/tooltip.md +63 -0
- package/dist/skills/createui/rules/composition.md +41 -25
- package/dist/skills/createui/rules/design.md +266 -0
- package/dist/skills/createui/rules/forms.md +44 -15
- package/dist/skills/createui/rules/icons.md +64 -18
- package/dist/skills/createui/rules/styling.md +53 -14
- package/dist/utils/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-M5DYT2NE.js +0 -64
- package/dist/chunk-M5DYT2NE.js.map +0 -1
- package/dist/chunk-NQFMXHMH.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -7,30 +7,19 @@ declare function getRegistry(name: string, options?: {
|
|
|
7
7
|
useCache?: boolean;
|
|
8
8
|
}): Promise<{
|
|
9
9
|
name: string;
|
|
10
|
+
homepage: string;
|
|
10
11
|
items: ({
|
|
11
|
-
name: string;
|
|
12
12
|
type: "registry:base";
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
name: string;
|
|
14
|
+
tailwind?: {
|
|
15
|
+
config?: {
|
|
16
|
+
content?: string[] | undefined;
|
|
17
|
+
theme?: Record<string, any> | undefined;
|
|
18
|
+
plugins?: string[] | undefined;
|
|
19
|
+
} | undefined;
|
|
20
|
+
} | undefined;
|
|
15
21
|
$schema?: string | undefined;
|
|
16
|
-
extends?: string | undefined;
|
|
17
|
-
author?: string | undefined;
|
|
18
|
-
dependencies?: string[] | undefined;
|
|
19
|
-
devDependencies?: string[] | undefined;
|
|
20
|
-
registryDependencies?: string[] | undefined;
|
|
21
|
-
files?: ({
|
|
22
|
-
path: string;
|
|
23
|
-
type: "registry:file" | "registry:page";
|
|
24
|
-
target: string;
|
|
25
|
-
content?: string | undefined;
|
|
26
|
-
} | {
|
|
27
|
-
path: string;
|
|
28
|
-
type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:font-variant" | "registry:item" | "registry:base" | "registry:example" | "registry:internal";
|
|
29
|
-
content?: string | undefined;
|
|
30
|
-
target?: string | undefined;
|
|
31
|
-
})[] | undefined;
|
|
32
22
|
config?: {
|
|
33
|
-
$schema?: string | undefined;
|
|
34
23
|
tailwind?: {
|
|
35
24
|
config?: string | undefined;
|
|
36
25
|
css?: string | undefined;
|
|
@@ -38,6 +27,7 @@ declare function getRegistry(name: string, options?: {
|
|
|
38
27
|
cssVariables?: boolean | undefined;
|
|
39
28
|
prefix?: string | undefined;
|
|
40
29
|
} | undefined;
|
|
30
|
+
$schema?: string | undefined;
|
|
41
31
|
rsc?: boolean | undefined;
|
|
42
32
|
tsx?: boolean | undefined;
|
|
43
33
|
iconLibrary?: string | undefined;
|
|
@@ -45,31 +35,42 @@ declare function getRegistry(name: string, options?: {
|
|
|
45
35
|
menuAccent?: "subtle" | "bold" | undefined;
|
|
46
36
|
aliases?: {
|
|
47
37
|
components?: string | undefined;
|
|
48
|
-
utils?: string | undefined;
|
|
49
38
|
ui?: string | undefined;
|
|
39
|
+
utils?: string | undefined;
|
|
50
40
|
lib?: string | undefined;
|
|
51
41
|
hooks?: string | undefined;
|
|
52
42
|
} | undefined;
|
|
53
43
|
} | undefined;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
44
|
+
css?: Record<string, any> | undefined;
|
|
45
|
+
extends?: string | undefined;
|
|
46
|
+
title?: string | undefined;
|
|
47
|
+
author?: string | undefined;
|
|
48
|
+
description?: string | undefined;
|
|
49
|
+
dependencies?: string[] | undefined;
|
|
50
|
+
devDependencies?: string[] | undefined;
|
|
51
|
+
registryDependencies?: string[] | undefined;
|
|
52
|
+
files?: ({
|
|
53
|
+
path: string;
|
|
54
|
+
type: "registry:page" | "registry:file";
|
|
55
|
+
target: string;
|
|
56
|
+
content?: string | undefined;
|
|
57
|
+
} | {
|
|
58
|
+
path: string;
|
|
59
|
+
type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:font-variant" | "registry:item" | "registry:base" | "registry:example" | "registry:internal";
|
|
60
|
+
content?: string | undefined;
|
|
61
|
+
target?: string | undefined;
|
|
62
|
+
})[] | undefined;
|
|
61
63
|
cssVars?: Record<string, {
|
|
62
64
|
light?: Record<string, string> | undefined;
|
|
63
65
|
dark?: Record<string, string> | undefined;
|
|
64
66
|
}> | undefined;
|
|
65
|
-
css?: Record<string, any> | undefined;
|
|
66
67
|
envVars?: Record<string, string> | undefined;
|
|
67
68
|
meta?: Record<string, any> | undefined;
|
|
68
69
|
docs?: string | undefined;
|
|
69
70
|
categories?: string[] | undefined;
|
|
70
71
|
} | {
|
|
71
|
-
name: string;
|
|
72
72
|
type: "registry:font-variant";
|
|
73
|
+
name: string;
|
|
73
74
|
fontVariant: {
|
|
74
75
|
display: {
|
|
75
76
|
family: string;
|
|
@@ -96,17 +97,25 @@ declare function getRegistry(name: string, options?: {
|
|
|
96
97
|
subsets?: string[] | undefined;
|
|
97
98
|
};
|
|
98
99
|
};
|
|
99
|
-
|
|
100
|
-
|
|
100
|
+
tailwind?: {
|
|
101
|
+
config?: {
|
|
102
|
+
content?: string[] | undefined;
|
|
103
|
+
theme?: Record<string, any> | undefined;
|
|
104
|
+
plugins?: string[] | undefined;
|
|
105
|
+
} | undefined;
|
|
106
|
+
} | undefined;
|
|
101
107
|
$schema?: string | undefined;
|
|
108
|
+
css?: Record<string, any> | undefined;
|
|
102
109
|
extends?: string | undefined;
|
|
110
|
+
title?: string | undefined;
|
|
103
111
|
author?: string | undefined;
|
|
112
|
+
description?: string | undefined;
|
|
104
113
|
dependencies?: string[] | undefined;
|
|
105
114
|
devDependencies?: string[] | undefined;
|
|
106
115
|
registryDependencies?: string[] | undefined;
|
|
107
116
|
files?: ({
|
|
108
117
|
path: string;
|
|
109
|
-
type: "registry:
|
|
118
|
+
type: "registry:page" | "registry:file";
|
|
110
119
|
target: string;
|
|
111
120
|
content?: string | undefined;
|
|
112
121
|
} | {
|
|
@@ -115,36 +124,36 @@ declare function getRegistry(name: string, options?: {
|
|
|
115
124
|
content?: string | undefined;
|
|
116
125
|
target?: string | undefined;
|
|
117
126
|
})[] | undefined;
|
|
118
|
-
tailwind?: {
|
|
119
|
-
config?: {
|
|
120
|
-
content?: string[] | undefined;
|
|
121
|
-
theme?: Record<string, any> | undefined;
|
|
122
|
-
plugins?: string[] | undefined;
|
|
123
|
-
} | undefined;
|
|
124
|
-
} | undefined;
|
|
125
127
|
cssVars?: Record<string, {
|
|
126
128
|
light?: Record<string, string> | undefined;
|
|
127
129
|
dark?: Record<string, string> | undefined;
|
|
128
130
|
}> | undefined;
|
|
129
|
-
css?: Record<string, any> | undefined;
|
|
130
131
|
envVars?: Record<string, string> | undefined;
|
|
131
132
|
meta?: Record<string, any> | undefined;
|
|
132
133
|
docs?: string | undefined;
|
|
133
134
|
categories?: string[] | undefined;
|
|
134
135
|
} | {
|
|
135
|
-
name: string;
|
|
136
136
|
type: "registry:theme";
|
|
137
|
-
|
|
138
|
-
|
|
137
|
+
name: string;
|
|
138
|
+
tailwind?: {
|
|
139
|
+
config?: {
|
|
140
|
+
content?: string[] | undefined;
|
|
141
|
+
theme?: Record<string, any> | undefined;
|
|
142
|
+
plugins?: string[] | undefined;
|
|
143
|
+
} | undefined;
|
|
144
|
+
} | undefined;
|
|
139
145
|
$schema?: string | undefined;
|
|
146
|
+
css?: Record<string, any> | undefined;
|
|
140
147
|
extends?: string | undefined;
|
|
148
|
+
title?: string | undefined;
|
|
141
149
|
author?: string | undefined;
|
|
150
|
+
description?: string | undefined;
|
|
142
151
|
dependencies?: string[] | undefined;
|
|
143
152
|
devDependencies?: string[] | undefined;
|
|
144
153
|
registryDependencies?: string[] | undefined;
|
|
145
154
|
files?: ({
|
|
146
155
|
path: string;
|
|
147
|
-
type: "registry:
|
|
156
|
+
type: "registry:page" | "registry:file";
|
|
148
157
|
target: string;
|
|
149
158
|
content?: string | undefined;
|
|
150
159
|
} | {
|
|
@@ -153,25 +162,17 @@ declare function getRegistry(name: string, options?: {
|
|
|
153
162
|
content?: string | undefined;
|
|
154
163
|
target?: string | undefined;
|
|
155
164
|
})[] | undefined;
|
|
156
|
-
tailwind?: {
|
|
157
|
-
config?: {
|
|
158
|
-
content?: string[] | undefined;
|
|
159
|
-
theme?: Record<string, any> | undefined;
|
|
160
|
-
plugins?: string[] | undefined;
|
|
161
|
-
} | undefined;
|
|
162
|
-
} | undefined;
|
|
163
165
|
cssVars?: Record<string, {
|
|
164
166
|
light?: Record<string, string> | undefined;
|
|
165
167
|
dark?: Record<string, string> | undefined;
|
|
166
168
|
}> | undefined;
|
|
167
|
-
css?: Record<string, any> | undefined;
|
|
168
169
|
envVars?: Record<string, string> | undefined;
|
|
169
170
|
meta?: Record<string, any> | undefined;
|
|
170
171
|
docs?: string | undefined;
|
|
171
172
|
categories?: string[] | undefined;
|
|
172
173
|
primary?: {
|
|
173
|
-
"50": string;
|
|
174
174
|
"100": string;
|
|
175
|
+
"50": string;
|
|
175
176
|
"200": string;
|
|
176
177
|
"300": string;
|
|
177
178
|
"400": string;
|
|
@@ -189,19 +190,27 @@ declare function getRegistry(name: string, options?: {
|
|
|
189
190
|
"alpha-48": string;
|
|
190
191
|
} | undefined;
|
|
191
192
|
} | {
|
|
193
|
+
type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:page" | "registry:file" | "registry:item" | "registry:example" | "registry:internal";
|
|
192
194
|
name: string;
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
195
|
+
tailwind?: {
|
|
196
|
+
config?: {
|
|
197
|
+
content?: string[] | undefined;
|
|
198
|
+
theme?: Record<string, any> | undefined;
|
|
199
|
+
plugins?: string[] | undefined;
|
|
200
|
+
} | undefined;
|
|
201
|
+
} | undefined;
|
|
196
202
|
$schema?: string | undefined;
|
|
203
|
+
css?: Record<string, any> | undefined;
|
|
197
204
|
extends?: string | undefined;
|
|
205
|
+
title?: string | undefined;
|
|
198
206
|
author?: string | undefined;
|
|
207
|
+
description?: string | undefined;
|
|
199
208
|
dependencies?: string[] | undefined;
|
|
200
209
|
devDependencies?: string[] | undefined;
|
|
201
210
|
registryDependencies?: string[] | undefined;
|
|
202
211
|
files?: ({
|
|
203
212
|
path: string;
|
|
204
|
-
type: "registry:
|
|
213
|
+
type: "registry:page" | "registry:file";
|
|
205
214
|
target: string;
|
|
206
215
|
content?: string | undefined;
|
|
207
216
|
} | {
|
|
@@ -210,52 +219,31 @@ declare function getRegistry(name: string, options?: {
|
|
|
210
219
|
content?: string | undefined;
|
|
211
220
|
target?: string | undefined;
|
|
212
221
|
})[] | undefined;
|
|
213
|
-
tailwind?: {
|
|
214
|
-
config?: {
|
|
215
|
-
content?: string[] | undefined;
|
|
216
|
-
theme?: Record<string, any> | undefined;
|
|
217
|
-
plugins?: string[] | undefined;
|
|
218
|
-
} | undefined;
|
|
219
|
-
} | undefined;
|
|
220
222
|
cssVars?: Record<string, {
|
|
221
223
|
light?: Record<string, string> | undefined;
|
|
222
224
|
dark?: Record<string, string> | undefined;
|
|
223
225
|
}> | undefined;
|
|
224
|
-
css?: Record<string, any> | undefined;
|
|
225
226
|
envVars?: Record<string, string> | undefined;
|
|
226
227
|
meta?: Record<string, any> | undefined;
|
|
227
228
|
docs?: string | undefined;
|
|
228
229
|
categories?: string[] | undefined;
|
|
229
230
|
})[];
|
|
230
|
-
homepage: string;
|
|
231
231
|
}>;
|
|
232
232
|
declare function getRegistryItems(items: string[], options?: {
|
|
233
233
|
config?: Partial<Config>;
|
|
234
234
|
useCache?: boolean;
|
|
235
235
|
}): Promise<({
|
|
236
|
-
name: string;
|
|
237
236
|
type: "registry:base";
|
|
238
|
-
|
|
239
|
-
|
|
237
|
+
name: string;
|
|
238
|
+
tailwind?: {
|
|
239
|
+
config?: {
|
|
240
|
+
content?: string[] | undefined;
|
|
241
|
+
theme?: Record<string, any> | undefined;
|
|
242
|
+
plugins?: string[] | undefined;
|
|
243
|
+
} | undefined;
|
|
244
|
+
} | undefined;
|
|
240
245
|
$schema?: string | undefined;
|
|
241
|
-
extends?: string | undefined;
|
|
242
|
-
author?: string | undefined;
|
|
243
|
-
dependencies?: string[] | undefined;
|
|
244
|
-
devDependencies?: string[] | undefined;
|
|
245
|
-
registryDependencies?: string[] | undefined;
|
|
246
|
-
files?: ({
|
|
247
|
-
path: string;
|
|
248
|
-
type: "registry:file" | "registry:page";
|
|
249
|
-
target: string;
|
|
250
|
-
content?: string | undefined;
|
|
251
|
-
} | {
|
|
252
|
-
path: string;
|
|
253
|
-
type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:font-variant" | "registry:item" | "registry:base" | "registry:example" | "registry:internal";
|
|
254
|
-
content?: string | undefined;
|
|
255
|
-
target?: string | undefined;
|
|
256
|
-
})[] | undefined;
|
|
257
246
|
config?: {
|
|
258
|
-
$schema?: string | undefined;
|
|
259
247
|
tailwind?: {
|
|
260
248
|
config?: string | undefined;
|
|
261
249
|
css?: string | undefined;
|
|
@@ -263,6 +251,7 @@ declare function getRegistryItems(items: string[], options?: {
|
|
|
263
251
|
cssVariables?: boolean | undefined;
|
|
264
252
|
prefix?: string | undefined;
|
|
265
253
|
} | undefined;
|
|
254
|
+
$schema?: string | undefined;
|
|
266
255
|
rsc?: boolean | undefined;
|
|
267
256
|
tsx?: boolean | undefined;
|
|
268
257
|
iconLibrary?: string | undefined;
|
|
@@ -270,31 +259,42 @@ declare function getRegistryItems(items: string[], options?: {
|
|
|
270
259
|
menuAccent?: "subtle" | "bold" | undefined;
|
|
271
260
|
aliases?: {
|
|
272
261
|
components?: string | undefined;
|
|
273
|
-
utils?: string | undefined;
|
|
274
262
|
ui?: string | undefined;
|
|
263
|
+
utils?: string | undefined;
|
|
275
264
|
lib?: string | undefined;
|
|
276
265
|
hooks?: string | undefined;
|
|
277
266
|
} | undefined;
|
|
278
267
|
} | undefined;
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
268
|
+
css?: Record<string, any> | undefined;
|
|
269
|
+
extends?: string | undefined;
|
|
270
|
+
title?: string | undefined;
|
|
271
|
+
author?: string | undefined;
|
|
272
|
+
description?: string | undefined;
|
|
273
|
+
dependencies?: string[] | undefined;
|
|
274
|
+
devDependencies?: string[] | undefined;
|
|
275
|
+
registryDependencies?: string[] | undefined;
|
|
276
|
+
files?: ({
|
|
277
|
+
path: string;
|
|
278
|
+
type: "registry:page" | "registry:file";
|
|
279
|
+
target: string;
|
|
280
|
+
content?: string | undefined;
|
|
281
|
+
} | {
|
|
282
|
+
path: string;
|
|
283
|
+
type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:font-variant" | "registry:item" | "registry:base" | "registry:example" | "registry:internal";
|
|
284
|
+
content?: string | undefined;
|
|
285
|
+
target?: string | undefined;
|
|
286
|
+
})[] | undefined;
|
|
286
287
|
cssVars?: Record<string, {
|
|
287
288
|
light?: Record<string, string> | undefined;
|
|
288
289
|
dark?: Record<string, string> | undefined;
|
|
289
290
|
}> | undefined;
|
|
290
|
-
css?: Record<string, any> | undefined;
|
|
291
291
|
envVars?: Record<string, string> | undefined;
|
|
292
292
|
meta?: Record<string, any> | undefined;
|
|
293
293
|
docs?: string | undefined;
|
|
294
294
|
categories?: string[] | undefined;
|
|
295
295
|
} | {
|
|
296
|
-
name: string;
|
|
297
296
|
type: "registry:font-variant";
|
|
297
|
+
name: string;
|
|
298
298
|
fontVariant: {
|
|
299
299
|
display: {
|
|
300
300
|
family: string;
|
|
@@ -321,17 +321,25 @@ declare function getRegistryItems(items: string[], options?: {
|
|
|
321
321
|
subsets?: string[] | undefined;
|
|
322
322
|
};
|
|
323
323
|
};
|
|
324
|
-
|
|
325
|
-
|
|
324
|
+
tailwind?: {
|
|
325
|
+
config?: {
|
|
326
|
+
content?: string[] | undefined;
|
|
327
|
+
theme?: Record<string, any> | undefined;
|
|
328
|
+
plugins?: string[] | undefined;
|
|
329
|
+
} | undefined;
|
|
330
|
+
} | undefined;
|
|
326
331
|
$schema?: string | undefined;
|
|
332
|
+
css?: Record<string, any> | undefined;
|
|
327
333
|
extends?: string | undefined;
|
|
334
|
+
title?: string | undefined;
|
|
328
335
|
author?: string | undefined;
|
|
336
|
+
description?: string | undefined;
|
|
329
337
|
dependencies?: string[] | undefined;
|
|
330
338
|
devDependencies?: string[] | undefined;
|
|
331
339
|
registryDependencies?: string[] | undefined;
|
|
332
340
|
files?: ({
|
|
333
341
|
path: string;
|
|
334
|
-
type: "registry:
|
|
342
|
+
type: "registry:page" | "registry:file";
|
|
335
343
|
target: string;
|
|
336
344
|
content?: string | undefined;
|
|
337
345
|
} | {
|
|
@@ -340,36 +348,36 @@ declare function getRegistryItems(items: string[], options?: {
|
|
|
340
348
|
content?: string | undefined;
|
|
341
349
|
target?: string | undefined;
|
|
342
350
|
})[] | undefined;
|
|
343
|
-
tailwind?: {
|
|
344
|
-
config?: {
|
|
345
|
-
content?: string[] | undefined;
|
|
346
|
-
theme?: Record<string, any> | undefined;
|
|
347
|
-
plugins?: string[] | undefined;
|
|
348
|
-
} | undefined;
|
|
349
|
-
} | undefined;
|
|
350
351
|
cssVars?: Record<string, {
|
|
351
352
|
light?: Record<string, string> | undefined;
|
|
352
353
|
dark?: Record<string, string> | undefined;
|
|
353
354
|
}> | undefined;
|
|
354
|
-
css?: Record<string, any> | undefined;
|
|
355
355
|
envVars?: Record<string, string> | undefined;
|
|
356
356
|
meta?: Record<string, any> | undefined;
|
|
357
357
|
docs?: string | undefined;
|
|
358
358
|
categories?: string[] | undefined;
|
|
359
359
|
} | {
|
|
360
|
-
name: string;
|
|
361
360
|
type: "registry:theme";
|
|
362
|
-
|
|
363
|
-
|
|
361
|
+
name: string;
|
|
362
|
+
tailwind?: {
|
|
363
|
+
config?: {
|
|
364
|
+
content?: string[] | undefined;
|
|
365
|
+
theme?: Record<string, any> | undefined;
|
|
366
|
+
plugins?: string[] | undefined;
|
|
367
|
+
} | undefined;
|
|
368
|
+
} | undefined;
|
|
364
369
|
$schema?: string | undefined;
|
|
370
|
+
css?: Record<string, any> | undefined;
|
|
365
371
|
extends?: string | undefined;
|
|
372
|
+
title?: string | undefined;
|
|
366
373
|
author?: string | undefined;
|
|
374
|
+
description?: string | undefined;
|
|
367
375
|
dependencies?: string[] | undefined;
|
|
368
376
|
devDependencies?: string[] | undefined;
|
|
369
377
|
registryDependencies?: string[] | undefined;
|
|
370
378
|
files?: ({
|
|
371
379
|
path: string;
|
|
372
|
-
type: "registry:
|
|
380
|
+
type: "registry:page" | "registry:file";
|
|
373
381
|
target: string;
|
|
374
382
|
content?: string | undefined;
|
|
375
383
|
} | {
|
|
@@ -378,25 +386,17 @@ declare function getRegistryItems(items: string[], options?: {
|
|
|
378
386
|
content?: string | undefined;
|
|
379
387
|
target?: string | undefined;
|
|
380
388
|
})[] | undefined;
|
|
381
|
-
tailwind?: {
|
|
382
|
-
config?: {
|
|
383
|
-
content?: string[] | undefined;
|
|
384
|
-
theme?: Record<string, any> | undefined;
|
|
385
|
-
plugins?: string[] | undefined;
|
|
386
|
-
} | undefined;
|
|
387
|
-
} | undefined;
|
|
388
389
|
cssVars?: Record<string, {
|
|
389
390
|
light?: Record<string, string> | undefined;
|
|
390
391
|
dark?: Record<string, string> | undefined;
|
|
391
392
|
}> | undefined;
|
|
392
|
-
css?: Record<string, any> | undefined;
|
|
393
393
|
envVars?: Record<string, string> | undefined;
|
|
394
394
|
meta?: Record<string, any> | undefined;
|
|
395
395
|
docs?: string | undefined;
|
|
396
396
|
categories?: string[] | undefined;
|
|
397
397
|
primary?: {
|
|
398
|
-
"50": string;
|
|
399
398
|
"100": string;
|
|
399
|
+
"50": string;
|
|
400
400
|
"200": string;
|
|
401
401
|
"300": string;
|
|
402
402
|
"400": string;
|
|
@@ -414,19 +414,27 @@ declare function getRegistryItems(items: string[], options?: {
|
|
|
414
414
|
"alpha-48": string;
|
|
415
415
|
} | undefined;
|
|
416
416
|
} | {
|
|
417
|
+
type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:page" | "registry:file" | "registry:item" | "registry:example" | "registry:internal";
|
|
417
418
|
name: string;
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
419
|
+
tailwind?: {
|
|
420
|
+
config?: {
|
|
421
|
+
content?: string[] | undefined;
|
|
422
|
+
theme?: Record<string, any> | undefined;
|
|
423
|
+
plugins?: string[] | undefined;
|
|
424
|
+
} | undefined;
|
|
425
|
+
} | undefined;
|
|
421
426
|
$schema?: string | undefined;
|
|
427
|
+
css?: Record<string, any> | undefined;
|
|
422
428
|
extends?: string | undefined;
|
|
429
|
+
title?: string | undefined;
|
|
423
430
|
author?: string | undefined;
|
|
431
|
+
description?: string | undefined;
|
|
424
432
|
dependencies?: string[] | undefined;
|
|
425
433
|
devDependencies?: string[] | undefined;
|
|
426
434
|
registryDependencies?: string[] | undefined;
|
|
427
435
|
files?: ({
|
|
428
436
|
path: string;
|
|
429
|
-
type: "registry:
|
|
437
|
+
type: "registry:page" | "registry:file";
|
|
430
438
|
target: string;
|
|
431
439
|
content?: string | undefined;
|
|
432
440
|
} | {
|
|
@@ -435,18 +443,10 @@ declare function getRegistryItems(items: string[], options?: {
|
|
|
435
443
|
content?: string | undefined;
|
|
436
444
|
target?: string | undefined;
|
|
437
445
|
})[] | undefined;
|
|
438
|
-
tailwind?: {
|
|
439
|
-
config?: {
|
|
440
|
-
content?: string[] | undefined;
|
|
441
|
-
theme?: Record<string, any> | undefined;
|
|
442
|
-
plugins?: string[] | undefined;
|
|
443
|
-
} | undefined;
|
|
444
|
-
} | undefined;
|
|
445
446
|
cssVars?: Record<string, {
|
|
446
447
|
light?: Record<string, string> | undefined;
|
|
447
448
|
dark?: Record<string, string> | undefined;
|
|
448
449
|
}> | undefined;
|
|
449
|
-
css?: Record<string, any> | undefined;
|
|
450
450
|
envVars?: Record<string, string> | undefined;
|
|
451
451
|
meta?: Record<string, any> | undefined;
|
|
452
452
|
docs?: string | undefined;
|
|
@@ -456,11 +456,19 @@ declare function resolveRegistryItems(items: string[], options?: {
|
|
|
456
456
|
config?: Partial<Config>;
|
|
457
457
|
useCache?: boolean;
|
|
458
458
|
}): Promise<{
|
|
459
|
+
tailwind?: {
|
|
460
|
+
config?: {
|
|
461
|
+
content?: string[] | undefined;
|
|
462
|
+
theme?: Record<string, any> | undefined;
|
|
463
|
+
plugins?: string[] | undefined;
|
|
464
|
+
} | undefined;
|
|
465
|
+
} | undefined;
|
|
466
|
+
css?: Record<string, any> | undefined;
|
|
459
467
|
dependencies?: string[] | undefined;
|
|
460
468
|
devDependencies?: string[] | undefined;
|
|
461
469
|
files?: ({
|
|
462
470
|
path: string;
|
|
463
|
-
type: "registry:
|
|
471
|
+
type: "registry:page" | "registry:file";
|
|
464
472
|
target: string;
|
|
465
473
|
content?: string | undefined;
|
|
466
474
|
} | {
|
|
@@ -469,23 +477,15 @@ declare function resolveRegistryItems(items: string[], options?: {
|
|
|
469
477
|
content?: string | undefined;
|
|
470
478
|
target?: string | undefined;
|
|
471
479
|
})[] | undefined;
|
|
472
|
-
tailwind?: {
|
|
473
|
-
config?: {
|
|
474
|
-
content?: string[] | undefined;
|
|
475
|
-
theme?: Record<string, any> | undefined;
|
|
476
|
-
plugins?: string[] | undefined;
|
|
477
|
-
} | undefined;
|
|
478
|
-
} | undefined;
|
|
479
480
|
cssVars?: Record<string, {
|
|
480
481
|
light?: Record<string, string> | undefined;
|
|
481
482
|
dark?: Record<string, string> | undefined;
|
|
482
483
|
}> | undefined;
|
|
483
|
-
css?: Record<string, any> | undefined;
|
|
484
484
|
envVars?: Record<string, string> | undefined;
|
|
485
485
|
docs?: string | undefined;
|
|
486
486
|
fonts?: {
|
|
487
|
-
name: string;
|
|
488
487
|
type: "registry:font";
|
|
488
|
+
name: string;
|
|
489
489
|
role: "display" | "body" | "numeric";
|
|
490
490
|
font: {
|
|
491
491
|
family: string;
|
|
@@ -495,17 +495,25 @@ declare function resolveRegistryItems(items: string[], options?: {
|
|
|
495
495
|
weight?: string[] | undefined;
|
|
496
496
|
subsets?: string[] | undefined;
|
|
497
497
|
};
|
|
498
|
-
|
|
499
|
-
|
|
498
|
+
tailwind?: {
|
|
499
|
+
config?: {
|
|
500
|
+
content?: string[] | undefined;
|
|
501
|
+
theme?: Record<string, any> | undefined;
|
|
502
|
+
plugins?: string[] | undefined;
|
|
503
|
+
} | undefined;
|
|
504
|
+
} | undefined;
|
|
500
505
|
$schema?: string | undefined;
|
|
506
|
+
css?: Record<string, any> | undefined;
|
|
501
507
|
extends?: string | undefined;
|
|
508
|
+
title?: string | undefined;
|
|
502
509
|
author?: string | undefined;
|
|
510
|
+
description?: string | undefined;
|
|
503
511
|
dependencies?: string[] | undefined;
|
|
504
512
|
devDependencies?: string[] | undefined;
|
|
505
513
|
registryDependencies?: string[] | undefined;
|
|
506
514
|
files?: ({
|
|
507
515
|
path: string;
|
|
508
|
-
type: "registry:
|
|
516
|
+
type: "registry:page" | "registry:file";
|
|
509
517
|
target: string;
|
|
510
518
|
content?: string | undefined;
|
|
511
519
|
} | {
|
|
@@ -514,18 +522,10 @@ declare function resolveRegistryItems(items: string[], options?: {
|
|
|
514
522
|
content?: string | undefined;
|
|
515
523
|
target?: string | undefined;
|
|
516
524
|
})[] | undefined;
|
|
517
|
-
tailwind?: {
|
|
518
|
-
config?: {
|
|
519
|
-
content?: string[] | undefined;
|
|
520
|
-
theme?: Record<string, any> | undefined;
|
|
521
|
-
plugins?: string[] | undefined;
|
|
522
|
-
} | undefined;
|
|
523
|
-
} | undefined;
|
|
524
525
|
cssVars?: Record<string, {
|
|
525
526
|
light?: Record<string, string> | undefined;
|
|
526
527
|
dark?: Record<string, string> | undefined;
|
|
527
528
|
}> | undefined;
|
|
528
|
-
css?: Record<string, any> | undefined;
|
|
529
529
|
envVars?: Record<string, string> | undefined;
|
|
530
530
|
meta?: Record<string, any> | undefined;
|
|
531
531
|
docs?: string | undefined;
|
|
@@ -533,29 +533,17 @@ declare function resolveRegistryItems(items: string[], options?: {
|
|
|
533
533
|
}[] | undefined;
|
|
534
534
|
} | null>;
|
|
535
535
|
declare function getcreateuiRegistryIndex(): Promise<({
|
|
536
|
-
name: string;
|
|
537
536
|
type: "registry:base";
|
|
538
|
-
|
|
539
|
-
|
|
537
|
+
name: string;
|
|
538
|
+
tailwind?: {
|
|
539
|
+
config?: {
|
|
540
|
+
content?: string[] | undefined;
|
|
541
|
+
theme?: Record<string, any> | undefined;
|
|
542
|
+
plugins?: string[] | undefined;
|
|
543
|
+
} | undefined;
|
|
544
|
+
} | undefined;
|
|
540
545
|
$schema?: string | undefined;
|
|
541
|
-
extends?: string | undefined;
|
|
542
|
-
author?: string | undefined;
|
|
543
|
-
dependencies?: string[] | undefined;
|
|
544
|
-
devDependencies?: string[] | undefined;
|
|
545
|
-
registryDependencies?: string[] | undefined;
|
|
546
|
-
files?: ({
|
|
547
|
-
path: string;
|
|
548
|
-
type: "registry:file" | "registry:page";
|
|
549
|
-
target: string;
|
|
550
|
-
content?: string | undefined;
|
|
551
|
-
} | {
|
|
552
|
-
path: string;
|
|
553
|
-
type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:font-variant" | "registry:item" | "registry:base" | "registry:example" | "registry:internal";
|
|
554
|
-
content?: string | undefined;
|
|
555
|
-
target?: string | undefined;
|
|
556
|
-
})[] | undefined;
|
|
557
546
|
config?: {
|
|
558
|
-
$schema?: string | undefined;
|
|
559
547
|
tailwind?: {
|
|
560
548
|
config?: string | undefined;
|
|
561
549
|
css?: string | undefined;
|
|
@@ -563,6 +551,7 @@ declare function getcreateuiRegistryIndex(): Promise<({
|
|
|
563
551
|
cssVariables?: boolean | undefined;
|
|
564
552
|
prefix?: string | undefined;
|
|
565
553
|
} | undefined;
|
|
554
|
+
$schema?: string | undefined;
|
|
566
555
|
rsc?: boolean | undefined;
|
|
567
556
|
tsx?: boolean | undefined;
|
|
568
557
|
iconLibrary?: string | undefined;
|
|
@@ -570,31 +559,42 @@ declare function getcreateuiRegistryIndex(): Promise<({
|
|
|
570
559
|
menuAccent?: "subtle" | "bold" | undefined;
|
|
571
560
|
aliases?: {
|
|
572
561
|
components?: string | undefined;
|
|
573
|
-
utils?: string | undefined;
|
|
574
562
|
ui?: string | undefined;
|
|
563
|
+
utils?: string | undefined;
|
|
575
564
|
lib?: string | undefined;
|
|
576
565
|
hooks?: string | undefined;
|
|
577
566
|
} | undefined;
|
|
578
567
|
} | undefined;
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
568
|
+
css?: Record<string, any> | undefined;
|
|
569
|
+
extends?: string | undefined;
|
|
570
|
+
title?: string | undefined;
|
|
571
|
+
author?: string | undefined;
|
|
572
|
+
description?: string | undefined;
|
|
573
|
+
dependencies?: string[] | undefined;
|
|
574
|
+
devDependencies?: string[] | undefined;
|
|
575
|
+
registryDependencies?: string[] | undefined;
|
|
576
|
+
files?: ({
|
|
577
|
+
path: string;
|
|
578
|
+
type: "registry:page" | "registry:file";
|
|
579
|
+
target: string;
|
|
580
|
+
content?: string | undefined;
|
|
581
|
+
} | {
|
|
582
|
+
path: string;
|
|
583
|
+
type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:font-variant" | "registry:item" | "registry:base" | "registry:example" | "registry:internal";
|
|
584
|
+
content?: string | undefined;
|
|
585
|
+
target?: string | undefined;
|
|
586
|
+
})[] | undefined;
|
|
586
587
|
cssVars?: Record<string, {
|
|
587
588
|
light?: Record<string, string> | undefined;
|
|
588
589
|
dark?: Record<string, string> | undefined;
|
|
589
590
|
}> | undefined;
|
|
590
|
-
css?: Record<string, any> | undefined;
|
|
591
591
|
envVars?: Record<string, string> | undefined;
|
|
592
592
|
meta?: Record<string, any> | undefined;
|
|
593
593
|
docs?: string | undefined;
|
|
594
594
|
categories?: string[] | undefined;
|
|
595
595
|
} | {
|
|
596
|
-
name: string;
|
|
597
596
|
type: "registry:font-variant";
|
|
597
|
+
name: string;
|
|
598
598
|
fontVariant: {
|
|
599
599
|
display: {
|
|
600
600
|
family: string;
|
|
@@ -621,17 +621,25 @@ declare function getcreateuiRegistryIndex(): Promise<({
|
|
|
621
621
|
subsets?: string[] | undefined;
|
|
622
622
|
};
|
|
623
623
|
};
|
|
624
|
-
|
|
625
|
-
|
|
624
|
+
tailwind?: {
|
|
625
|
+
config?: {
|
|
626
|
+
content?: string[] | undefined;
|
|
627
|
+
theme?: Record<string, any> | undefined;
|
|
628
|
+
plugins?: string[] | undefined;
|
|
629
|
+
} | undefined;
|
|
630
|
+
} | undefined;
|
|
626
631
|
$schema?: string | undefined;
|
|
632
|
+
css?: Record<string, any> | undefined;
|
|
627
633
|
extends?: string | undefined;
|
|
634
|
+
title?: string | undefined;
|
|
628
635
|
author?: string | undefined;
|
|
636
|
+
description?: string | undefined;
|
|
629
637
|
dependencies?: string[] | undefined;
|
|
630
638
|
devDependencies?: string[] | undefined;
|
|
631
639
|
registryDependencies?: string[] | undefined;
|
|
632
640
|
files?: ({
|
|
633
641
|
path: string;
|
|
634
|
-
type: "registry:
|
|
642
|
+
type: "registry:page" | "registry:file";
|
|
635
643
|
target: string;
|
|
636
644
|
content?: string | undefined;
|
|
637
645
|
} | {
|
|
@@ -640,36 +648,36 @@ declare function getcreateuiRegistryIndex(): Promise<({
|
|
|
640
648
|
content?: string | undefined;
|
|
641
649
|
target?: string | undefined;
|
|
642
650
|
})[] | undefined;
|
|
643
|
-
tailwind?: {
|
|
644
|
-
config?: {
|
|
645
|
-
content?: string[] | undefined;
|
|
646
|
-
theme?: Record<string, any> | undefined;
|
|
647
|
-
plugins?: string[] | undefined;
|
|
648
|
-
} | undefined;
|
|
649
|
-
} | undefined;
|
|
650
651
|
cssVars?: Record<string, {
|
|
651
652
|
light?: Record<string, string> | undefined;
|
|
652
653
|
dark?: Record<string, string> | undefined;
|
|
653
654
|
}> | undefined;
|
|
654
|
-
css?: Record<string, any> | undefined;
|
|
655
655
|
envVars?: Record<string, string> | undefined;
|
|
656
656
|
meta?: Record<string, any> | undefined;
|
|
657
657
|
docs?: string | undefined;
|
|
658
658
|
categories?: string[] | undefined;
|
|
659
659
|
} | {
|
|
660
|
-
name: string;
|
|
661
660
|
type: "registry:theme";
|
|
662
|
-
|
|
663
|
-
|
|
661
|
+
name: string;
|
|
662
|
+
tailwind?: {
|
|
663
|
+
config?: {
|
|
664
|
+
content?: string[] | undefined;
|
|
665
|
+
theme?: Record<string, any> | undefined;
|
|
666
|
+
plugins?: string[] | undefined;
|
|
667
|
+
} | undefined;
|
|
668
|
+
} | undefined;
|
|
664
669
|
$schema?: string | undefined;
|
|
670
|
+
css?: Record<string, any> | undefined;
|
|
665
671
|
extends?: string | undefined;
|
|
672
|
+
title?: string | undefined;
|
|
666
673
|
author?: string | undefined;
|
|
674
|
+
description?: string | undefined;
|
|
667
675
|
dependencies?: string[] | undefined;
|
|
668
676
|
devDependencies?: string[] | undefined;
|
|
669
677
|
registryDependencies?: string[] | undefined;
|
|
670
678
|
files?: ({
|
|
671
679
|
path: string;
|
|
672
|
-
type: "registry:
|
|
680
|
+
type: "registry:page" | "registry:file";
|
|
673
681
|
target: string;
|
|
674
682
|
content?: string | undefined;
|
|
675
683
|
} | {
|
|
@@ -678,25 +686,17 @@ declare function getcreateuiRegistryIndex(): Promise<({
|
|
|
678
686
|
content?: string | undefined;
|
|
679
687
|
target?: string | undefined;
|
|
680
688
|
})[] | undefined;
|
|
681
|
-
tailwind?: {
|
|
682
|
-
config?: {
|
|
683
|
-
content?: string[] | undefined;
|
|
684
|
-
theme?: Record<string, any> | undefined;
|
|
685
|
-
plugins?: string[] | undefined;
|
|
686
|
-
} | undefined;
|
|
687
|
-
} | undefined;
|
|
688
689
|
cssVars?: Record<string, {
|
|
689
690
|
light?: Record<string, string> | undefined;
|
|
690
691
|
dark?: Record<string, string> | undefined;
|
|
691
692
|
}> | undefined;
|
|
692
|
-
css?: Record<string, any> | undefined;
|
|
693
693
|
envVars?: Record<string, string> | undefined;
|
|
694
694
|
meta?: Record<string, any> | undefined;
|
|
695
695
|
docs?: string | undefined;
|
|
696
696
|
categories?: string[] | undefined;
|
|
697
697
|
primary?: {
|
|
698
|
-
"50": string;
|
|
699
698
|
"100": string;
|
|
699
|
+
"50": string;
|
|
700
700
|
"200": string;
|
|
701
701
|
"300": string;
|
|
702
702
|
"400": string;
|
|
@@ -714,19 +714,27 @@ declare function getcreateuiRegistryIndex(): Promise<({
|
|
|
714
714
|
"alpha-48": string;
|
|
715
715
|
} | undefined;
|
|
716
716
|
} | {
|
|
717
|
+
type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:page" | "registry:file" | "registry:item" | "registry:example" | "registry:internal";
|
|
717
718
|
name: string;
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
719
|
+
tailwind?: {
|
|
720
|
+
config?: {
|
|
721
|
+
content?: string[] | undefined;
|
|
722
|
+
theme?: Record<string, any> | undefined;
|
|
723
|
+
plugins?: string[] | undefined;
|
|
724
|
+
} | undefined;
|
|
725
|
+
} | undefined;
|
|
721
726
|
$schema?: string | undefined;
|
|
727
|
+
css?: Record<string, any> | undefined;
|
|
722
728
|
extends?: string | undefined;
|
|
729
|
+
title?: string | undefined;
|
|
723
730
|
author?: string | undefined;
|
|
731
|
+
description?: string | undefined;
|
|
724
732
|
dependencies?: string[] | undefined;
|
|
725
733
|
devDependencies?: string[] | undefined;
|
|
726
734
|
registryDependencies?: string[] | undefined;
|
|
727
735
|
files?: ({
|
|
728
736
|
path: string;
|
|
729
|
-
type: "registry:
|
|
737
|
+
type: "registry:page" | "registry:file";
|
|
730
738
|
target: string;
|
|
731
739
|
content?: string | undefined;
|
|
732
740
|
} | {
|
|
@@ -735,18 +743,10 @@ declare function getcreateuiRegistryIndex(): Promise<({
|
|
|
735
743
|
content?: string | undefined;
|
|
736
744
|
target?: string | undefined;
|
|
737
745
|
})[] | undefined;
|
|
738
|
-
tailwind?: {
|
|
739
|
-
config?: {
|
|
740
|
-
content?: string[] | undefined;
|
|
741
|
-
theme?: Record<string, any> | undefined;
|
|
742
|
-
plugins?: string[] | undefined;
|
|
743
|
-
} | undefined;
|
|
744
|
-
} | undefined;
|
|
745
746
|
cssVars?: Record<string, {
|
|
746
747
|
light?: Record<string, string> | undefined;
|
|
747
748
|
dark?: Record<string, string> | undefined;
|
|
748
749
|
}> | undefined;
|
|
749
|
-
css?: Record<string, any> | undefined;
|
|
750
750
|
envVars?: Record<string, string> | undefined;
|
|
751
751
|
meta?: Record<string, any> | undefined;
|
|
752
752
|
docs?: string | undefined;
|
|
@@ -761,29 +761,17 @@ declare function getRegistryIcons(): Promise<Record<string, Record<string, strin
|
|
|
761
761
|
* @deprecated This function is deprecated and will be removed in a future version.
|
|
762
762
|
*/
|
|
763
763
|
declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names: string[]): Promise<({
|
|
764
|
-
name: string;
|
|
765
764
|
type: "registry:base";
|
|
766
|
-
|
|
767
|
-
|
|
765
|
+
name: string;
|
|
766
|
+
tailwind?: {
|
|
767
|
+
config?: {
|
|
768
|
+
content?: string[] | undefined;
|
|
769
|
+
theme?: Record<string, any> | undefined;
|
|
770
|
+
plugins?: string[] | undefined;
|
|
771
|
+
} | undefined;
|
|
772
|
+
} | undefined;
|
|
768
773
|
$schema?: string | undefined;
|
|
769
|
-
extends?: string | undefined;
|
|
770
|
-
author?: string | undefined;
|
|
771
|
-
dependencies?: string[] | undefined;
|
|
772
|
-
devDependencies?: string[] | undefined;
|
|
773
|
-
registryDependencies?: string[] | undefined;
|
|
774
|
-
files?: ({
|
|
775
|
-
path: string;
|
|
776
|
-
type: "registry:file" | "registry:page";
|
|
777
|
-
target: string;
|
|
778
|
-
content?: string | undefined;
|
|
779
|
-
} | {
|
|
780
|
-
path: string;
|
|
781
|
-
type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:font-variant" | "registry:item" | "registry:base" | "registry:example" | "registry:internal";
|
|
782
|
-
content?: string | undefined;
|
|
783
|
-
target?: string | undefined;
|
|
784
|
-
})[] | undefined;
|
|
785
774
|
config?: {
|
|
786
|
-
$schema?: string | undefined;
|
|
787
775
|
tailwind?: {
|
|
788
776
|
config?: string | undefined;
|
|
789
777
|
css?: string | undefined;
|
|
@@ -791,6 +779,7 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
|
|
|
791
779
|
cssVariables?: boolean | undefined;
|
|
792
780
|
prefix?: string | undefined;
|
|
793
781
|
} | undefined;
|
|
782
|
+
$schema?: string | undefined;
|
|
794
783
|
rsc?: boolean | undefined;
|
|
795
784
|
tsx?: boolean | undefined;
|
|
796
785
|
iconLibrary?: string | undefined;
|
|
@@ -798,31 +787,42 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
|
|
|
798
787
|
menuAccent?: "subtle" | "bold" | undefined;
|
|
799
788
|
aliases?: {
|
|
800
789
|
components?: string | undefined;
|
|
801
|
-
utils?: string | undefined;
|
|
802
790
|
ui?: string | undefined;
|
|
791
|
+
utils?: string | undefined;
|
|
803
792
|
lib?: string | undefined;
|
|
804
793
|
hooks?: string | undefined;
|
|
805
794
|
} | undefined;
|
|
806
795
|
} | undefined;
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
796
|
+
css?: Record<string, any> | undefined;
|
|
797
|
+
extends?: string | undefined;
|
|
798
|
+
title?: string | undefined;
|
|
799
|
+
author?: string | undefined;
|
|
800
|
+
description?: string | undefined;
|
|
801
|
+
dependencies?: string[] | undefined;
|
|
802
|
+
devDependencies?: string[] | undefined;
|
|
803
|
+
registryDependencies?: string[] | undefined;
|
|
804
|
+
files?: ({
|
|
805
|
+
path: string;
|
|
806
|
+
type: "registry:page" | "registry:file";
|
|
807
|
+
target: string;
|
|
808
|
+
content?: string | undefined;
|
|
809
|
+
} | {
|
|
810
|
+
path: string;
|
|
811
|
+
type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:font-variant" | "registry:item" | "registry:base" | "registry:example" | "registry:internal";
|
|
812
|
+
content?: string | undefined;
|
|
813
|
+
target?: string | undefined;
|
|
814
|
+
})[] | undefined;
|
|
814
815
|
cssVars?: Record<string, {
|
|
815
816
|
light?: Record<string, string> | undefined;
|
|
816
817
|
dark?: Record<string, string> | undefined;
|
|
817
818
|
}> | undefined;
|
|
818
|
-
css?: Record<string, any> | undefined;
|
|
819
819
|
envVars?: Record<string, string> | undefined;
|
|
820
820
|
meta?: Record<string, any> | undefined;
|
|
821
821
|
docs?: string | undefined;
|
|
822
822
|
categories?: string[] | undefined;
|
|
823
823
|
} | {
|
|
824
|
-
name: string;
|
|
825
824
|
type: "registry:font-variant";
|
|
825
|
+
name: string;
|
|
826
826
|
fontVariant: {
|
|
827
827
|
display: {
|
|
828
828
|
family: string;
|
|
@@ -849,17 +849,25 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
|
|
|
849
849
|
subsets?: string[] | undefined;
|
|
850
850
|
};
|
|
851
851
|
};
|
|
852
|
-
|
|
853
|
-
|
|
852
|
+
tailwind?: {
|
|
853
|
+
config?: {
|
|
854
|
+
content?: string[] | undefined;
|
|
855
|
+
theme?: Record<string, any> | undefined;
|
|
856
|
+
plugins?: string[] | undefined;
|
|
857
|
+
} | undefined;
|
|
858
|
+
} | undefined;
|
|
854
859
|
$schema?: string | undefined;
|
|
860
|
+
css?: Record<string, any> | undefined;
|
|
855
861
|
extends?: string | undefined;
|
|
862
|
+
title?: string | undefined;
|
|
856
863
|
author?: string | undefined;
|
|
864
|
+
description?: string | undefined;
|
|
857
865
|
dependencies?: string[] | undefined;
|
|
858
866
|
devDependencies?: string[] | undefined;
|
|
859
867
|
registryDependencies?: string[] | undefined;
|
|
860
868
|
files?: ({
|
|
861
869
|
path: string;
|
|
862
|
-
type: "registry:
|
|
870
|
+
type: "registry:page" | "registry:file";
|
|
863
871
|
target: string;
|
|
864
872
|
content?: string | undefined;
|
|
865
873
|
} | {
|
|
@@ -868,36 +876,36 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
|
|
|
868
876
|
content?: string | undefined;
|
|
869
877
|
target?: string | undefined;
|
|
870
878
|
})[] | undefined;
|
|
871
|
-
tailwind?: {
|
|
872
|
-
config?: {
|
|
873
|
-
content?: string[] | undefined;
|
|
874
|
-
theme?: Record<string, any> | undefined;
|
|
875
|
-
plugins?: string[] | undefined;
|
|
876
|
-
} | undefined;
|
|
877
|
-
} | undefined;
|
|
878
879
|
cssVars?: Record<string, {
|
|
879
880
|
light?: Record<string, string> | undefined;
|
|
880
881
|
dark?: Record<string, string> | undefined;
|
|
881
882
|
}> | undefined;
|
|
882
|
-
css?: Record<string, any> | undefined;
|
|
883
883
|
envVars?: Record<string, string> | undefined;
|
|
884
884
|
meta?: Record<string, any> | undefined;
|
|
885
885
|
docs?: string | undefined;
|
|
886
886
|
categories?: string[] | undefined;
|
|
887
887
|
} | {
|
|
888
|
-
name: string;
|
|
889
888
|
type: "registry:theme";
|
|
890
|
-
|
|
891
|
-
|
|
889
|
+
name: string;
|
|
890
|
+
tailwind?: {
|
|
891
|
+
config?: {
|
|
892
|
+
content?: string[] | undefined;
|
|
893
|
+
theme?: Record<string, any> | undefined;
|
|
894
|
+
plugins?: string[] | undefined;
|
|
895
|
+
} | undefined;
|
|
896
|
+
} | undefined;
|
|
892
897
|
$schema?: string | undefined;
|
|
898
|
+
css?: Record<string, any> | undefined;
|
|
893
899
|
extends?: string | undefined;
|
|
900
|
+
title?: string | undefined;
|
|
894
901
|
author?: string | undefined;
|
|
902
|
+
description?: string | undefined;
|
|
895
903
|
dependencies?: string[] | undefined;
|
|
896
904
|
devDependencies?: string[] | undefined;
|
|
897
905
|
registryDependencies?: string[] | undefined;
|
|
898
906
|
files?: ({
|
|
899
907
|
path: string;
|
|
900
|
-
type: "registry:
|
|
908
|
+
type: "registry:page" | "registry:file";
|
|
901
909
|
target: string;
|
|
902
910
|
content?: string | undefined;
|
|
903
911
|
} | {
|
|
@@ -906,25 +914,17 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
|
|
|
906
914
|
content?: string | undefined;
|
|
907
915
|
target?: string | undefined;
|
|
908
916
|
})[] | undefined;
|
|
909
|
-
tailwind?: {
|
|
910
|
-
config?: {
|
|
911
|
-
content?: string[] | undefined;
|
|
912
|
-
theme?: Record<string, any> | undefined;
|
|
913
|
-
plugins?: string[] | undefined;
|
|
914
|
-
} | undefined;
|
|
915
|
-
} | undefined;
|
|
916
917
|
cssVars?: Record<string, {
|
|
917
918
|
light?: Record<string, string> | undefined;
|
|
918
919
|
dark?: Record<string, string> | undefined;
|
|
919
920
|
}> | undefined;
|
|
920
|
-
css?: Record<string, any> | undefined;
|
|
921
921
|
envVars?: Record<string, string> | undefined;
|
|
922
922
|
meta?: Record<string, any> | undefined;
|
|
923
923
|
docs?: string | undefined;
|
|
924
924
|
categories?: string[] | undefined;
|
|
925
925
|
primary?: {
|
|
926
|
-
"50": string;
|
|
927
926
|
"100": string;
|
|
927
|
+
"50": string;
|
|
928
928
|
"200": string;
|
|
929
929
|
"300": string;
|
|
930
930
|
"400": string;
|
|
@@ -942,19 +942,27 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
|
|
|
942
942
|
"alpha-48": string;
|
|
943
943
|
} | undefined;
|
|
944
944
|
} | {
|
|
945
|
+
type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:page" | "registry:file" | "registry:item" | "registry:example" | "registry:internal";
|
|
945
946
|
name: string;
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
947
|
+
tailwind?: {
|
|
948
|
+
config?: {
|
|
949
|
+
content?: string[] | undefined;
|
|
950
|
+
theme?: Record<string, any> | undefined;
|
|
951
|
+
plugins?: string[] | undefined;
|
|
952
|
+
} | undefined;
|
|
953
|
+
} | undefined;
|
|
949
954
|
$schema?: string | undefined;
|
|
955
|
+
css?: Record<string, any> | undefined;
|
|
950
956
|
extends?: string | undefined;
|
|
957
|
+
title?: string | undefined;
|
|
951
958
|
author?: string | undefined;
|
|
959
|
+
description?: string | undefined;
|
|
952
960
|
dependencies?: string[] | undefined;
|
|
953
961
|
devDependencies?: string[] | undefined;
|
|
954
962
|
registryDependencies?: string[] | undefined;
|
|
955
963
|
files?: ({
|
|
956
964
|
path: string;
|
|
957
|
-
type: "registry:
|
|
965
|
+
type: "registry:page" | "registry:file";
|
|
958
966
|
target: string;
|
|
959
967
|
content?: string | undefined;
|
|
960
968
|
} | {
|
|
@@ -963,18 +971,10 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
|
|
|
963
971
|
content?: string | undefined;
|
|
964
972
|
target?: string | undefined;
|
|
965
973
|
})[] | undefined;
|
|
966
|
-
tailwind?: {
|
|
967
|
-
config?: {
|
|
968
|
-
content?: string[] | undefined;
|
|
969
|
-
theme?: Record<string, any> | undefined;
|
|
970
|
-
plugins?: string[] | undefined;
|
|
971
|
-
} | undefined;
|
|
972
|
-
} | undefined;
|
|
973
974
|
cssVars?: Record<string, {
|
|
974
975
|
light?: Record<string, string> | undefined;
|
|
975
976
|
dark?: Record<string, string> | undefined;
|
|
976
977
|
}> | undefined;
|
|
977
|
-
css?: Record<string, any> | undefined;
|
|
978
978
|
envVars?: Record<string, string> | undefined;
|
|
979
979
|
meta?: Record<string, any> | undefined;
|
|
980
980
|
docs?: string | undefined;
|
|
@@ -984,29 +984,17 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
|
|
|
984
984
|
* @deprecated This function is deprecated and will be removed in a future version.
|
|
985
985
|
*/
|
|
986
986
|
declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSchema>): Promise<({
|
|
987
|
-
name: string;
|
|
988
987
|
type: "registry:base";
|
|
989
|
-
|
|
990
|
-
|
|
988
|
+
name: string;
|
|
989
|
+
tailwind?: {
|
|
990
|
+
config?: {
|
|
991
|
+
content?: string[] | undefined;
|
|
992
|
+
theme?: Record<string, any> | undefined;
|
|
993
|
+
plugins?: string[] | undefined;
|
|
994
|
+
} | undefined;
|
|
995
|
+
} | undefined;
|
|
991
996
|
$schema?: string | undefined;
|
|
992
|
-
extends?: string | undefined;
|
|
993
|
-
author?: string | undefined;
|
|
994
|
-
dependencies?: string[] | undefined;
|
|
995
|
-
devDependencies?: string[] | undefined;
|
|
996
|
-
registryDependencies?: string[] | undefined;
|
|
997
|
-
files?: ({
|
|
998
|
-
path: string;
|
|
999
|
-
type: "registry:file" | "registry:page";
|
|
1000
|
-
target: string;
|
|
1001
|
-
content?: string | undefined;
|
|
1002
|
-
} | {
|
|
1003
|
-
path: string;
|
|
1004
|
-
type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:font-variant" | "registry:item" | "registry:base" | "registry:example" | "registry:internal";
|
|
1005
|
-
content?: string | undefined;
|
|
1006
|
-
target?: string | undefined;
|
|
1007
|
-
})[] | undefined;
|
|
1008
997
|
config?: {
|
|
1009
|
-
$schema?: string | undefined;
|
|
1010
998
|
tailwind?: {
|
|
1011
999
|
config?: string | undefined;
|
|
1012
1000
|
css?: string | undefined;
|
|
@@ -1014,6 +1002,7 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
|
|
|
1014
1002
|
cssVariables?: boolean | undefined;
|
|
1015
1003
|
prefix?: string | undefined;
|
|
1016
1004
|
} | undefined;
|
|
1005
|
+
$schema?: string | undefined;
|
|
1017
1006
|
rsc?: boolean | undefined;
|
|
1018
1007
|
tsx?: boolean | undefined;
|
|
1019
1008
|
iconLibrary?: string | undefined;
|
|
@@ -1021,31 +1010,42 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
|
|
|
1021
1010
|
menuAccent?: "subtle" | "bold" | undefined;
|
|
1022
1011
|
aliases?: {
|
|
1023
1012
|
components?: string | undefined;
|
|
1024
|
-
utils?: string | undefined;
|
|
1025
1013
|
ui?: string | undefined;
|
|
1014
|
+
utils?: string | undefined;
|
|
1026
1015
|
lib?: string | undefined;
|
|
1027
1016
|
hooks?: string | undefined;
|
|
1028
1017
|
} | undefined;
|
|
1029
1018
|
} | undefined;
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1019
|
+
css?: Record<string, any> | undefined;
|
|
1020
|
+
extends?: string | undefined;
|
|
1021
|
+
title?: string | undefined;
|
|
1022
|
+
author?: string | undefined;
|
|
1023
|
+
description?: string | undefined;
|
|
1024
|
+
dependencies?: string[] | undefined;
|
|
1025
|
+
devDependencies?: string[] | undefined;
|
|
1026
|
+
registryDependencies?: string[] | undefined;
|
|
1027
|
+
files?: ({
|
|
1028
|
+
path: string;
|
|
1029
|
+
type: "registry:page" | "registry:file";
|
|
1030
|
+
target: string;
|
|
1031
|
+
content?: string | undefined;
|
|
1032
|
+
} | {
|
|
1033
|
+
path: string;
|
|
1034
|
+
type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:font-variant" | "registry:item" | "registry:base" | "registry:example" | "registry:internal";
|
|
1035
|
+
content?: string | undefined;
|
|
1036
|
+
target?: string | undefined;
|
|
1037
|
+
})[] | undefined;
|
|
1037
1038
|
cssVars?: Record<string, {
|
|
1038
1039
|
light?: Record<string, string> | undefined;
|
|
1039
1040
|
dark?: Record<string, string> | undefined;
|
|
1040
1041
|
}> | undefined;
|
|
1041
|
-
css?: Record<string, any> | undefined;
|
|
1042
1042
|
envVars?: Record<string, string> | undefined;
|
|
1043
1043
|
meta?: Record<string, any> | undefined;
|
|
1044
1044
|
docs?: string | undefined;
|
|
1045
1045
|
categories?: string[] | undefined;
|
|
1046
1046
|
} | {
|
|
1047
|
-
name: string;
|
|
1048
1047
|
type: "registry:font-variant";
|
|
1048
|
+
name: string;
|
|
1049
1049
|
fontVariant: {
|
|
1050
1050
|
display: {
|
|
1051
1051
|
family: string;
|
|
@@ -1072,17 +1072,25 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
|
|
|
1072
1072
|
subsets?: string[] | undefined;
|
|
1073
1073
|
};
|
|
1074
1074
|
};
|
|
1075
|
-
|
|
1076
|
-
|
|
1075
|
+
tailwind?: {
|
|
1076
|
+
config?: {
|
|
1077
|
+
content?: string[] | undefined;
|
|
1078
|
+
theme?: Record<string, any> | undefined;
|
|
1079
|
+
plugins?: string[] | undefined;
|
|
1080
|
+
} | undefined;
|
|
1081
|
+
} | undefined;
|
|
1077
1082
|
$schema?: string | undefined;
|
|
1083
|
+
css?: Record<string, any> | undefined;
|
|
1078
1084
|
extends?: string | undefined;
|
|
1085
|
+
title?: string | undefined;
|
|
1079
1086
|
author?: string | undefined;
|
|
1087
|
+
description?: string | undefined;
|
|
1080
1088
|
dependencies?: string[] | undefined;
|
|
1081
1089
|
devDependencies?: string[] | undefined;
|
|
1082
1090
|
registryDependencies?: string[] | undefined;
|
|
1083
1091
|
files?: ({
|
|
1084
1092
|
path: string;
|
|
1085
|
-
type: "registry:
|
|
1093
|
+
type: "registry:page" | "registry:file";
|
|
1086
1094
|
target: string;
|
|
1087
1095
|
content?: string | undefined;
|
|
1088
1096
|
} | {
|
|
@@ -1091,36 +1099,36 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
|
|
|
1091
1099
|
content?: string | undefined;
|
|
1092
1100
|
target?: string | undefined;
|
|
1093
1101
|
})[] | undefined;
|
|
1094
|
-
tailwind?: {
|
|
1095
|
-
config?: {
|
|
1096
|
-
content?: string[] | undefined;
|
|
1097
|
-
theme?: Record<string, any> | undefined;
|
|
1098
|
-
plugins?: string[] | undefined;
|
|
1099
|
-
} | undefined;
|
|
1100
|
-
} | undefined;
|
|
1101
1102
|
cssVars?: Record<string, {
|
|
1102
1103
|
light?: Record<string, string> | undefined;
|
|
1103
1104
|
dark?: Record<string, string> | undefined;
|
|
1104
1105
|
}> | undefined;
|
|
1105
|
-
css?: Record<string, any> | undefined;
|
|
1106
1106
|
envVars?: Record<string, string> | undefined;
|
|
1107
1107
|
meta?: Record<string, any> | undefined;
|
|
1108
1108
|
docs?: string | undefined;
|
|
1109
1109
|
categories?: string[] | undefined;
|
|
1110
1110
|
} | {
|
|
1111
|
-
name: string;
|
|
1112
1111
|
type: "registry:theme";
|
|
1113
|
-
|
|
1114
|
-
|
|
1112
|
+
name: string;
|
|
1113
|
+
tailwind?: {
|
|
1114
|
+
config?: {
|
|
1115
|
+
content?: string[] | undefined;
|
|
1116
|
+
theme?: Record<string, any> | undefined;
|
|
1117
|
+
plugins?: string[] | undefined;
|
|
1118
|
+
} | undefined;
|
|
1119
|
+
} | undefined;
|
|
1115
1120
|
$schema?: string | undefined;
|
|
1121
|
+
css?: Record<string, any> | undefined;
|
|
1116
1122
|
extends?: string | undefined;
|
|
1123
|
+
title?: string | undefined;
|
|
1117
1124
|
author?: string | undefined;
|
|
1125
|
+
description?: string | undefined;
|
|
1118
1126
|
dependencies?: string[] | undefined;
|
|
1119
1127
|
devDependencies?: string[] | undefined;
|
|
1120
1128
|
registryDependencies?: string[] | undefined;
|
|
1121
1129
|
files?: ({
|
|
1122
1130
|
path: string;
|
|
1123
|
-
type: "registry:
|
|
1131
|
+
type: "registry:page" | "registry:file";
|
|
1124
1132
|
target: string;
|
|
1125
1133
|
content?: string | undefined;
|
|
1126
1134
|
} | {
|
|
@@ -1129,25 +1137,17 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
|
|
|
1129
1137
|
content?: string | undefined;
|
|
1130
1138
|
target?: string | undefined;
|
|
1131
1139
|
})[] | undefined;
|
|
1132
|
-
tailwind?: {
|
|
1133
|
-
config?: {
|
|
1134
|
-
content?: string[] | undefined;
|
|
1135
|
-
theme?: Record<string, any> | undefined;
|
|
1136
|
-
plugins?: string[] | undefined;
|
|
1137
|
-
} | undefined;
|
|
1138
|
-
} | undefined;
|
|
1139
1140
|
cssVars?: Record<string, {
|
|
1140
1141
|
light?: Record<string, string> | undefined;
|
|
1141
1142
|
dark?: Record<string, string> | undefined;
|
|
1142
1143
|
}> | undefined;
|
|
1143
|
-
css?: Record<string, any> | undefined;
|
|
1144
1144
|
envVars?: Record<string, string> | undefined;
|
|
1145
1145
|
meta?: Record<string, any> | undefined;
|
|
1146
1146
|
docs?: string | undefined;
|
|
1147
1147
|
categories?: string[] | undefined;
|
|
1148
1148
|
primary?: {
|
|
1149
|
-
"50": string;
|
|
1150
1149
|
"100": string;
|
|
1150
|
+
"50": string;
|
|
1151
1151
|
"200": string;
|
|
1152
1152
|
"300": string;
|
|
1153
1153
|
"400": string;
|
|
@@ -1165,19 +1165,27 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
|
|
|
1165
1165
|
"alpha-48": string;
|
|
1166
1166
|
} | undefined;
|
|
1167
1167
|
} | {
|
|
1168
|
+
type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:page" | "registry:file" | "registry:item" | "registry:example" | "registry:internal";
|
|
1168
1169
|
name: string;
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1170
|
+
tailwind?: {
|
|
1171
|
+
config?: {
|
|
1172
|
+
content?: string[] | undefined;
|
|
1173
|
+
theme?: Record<string, any> | undefined;
|
|
1174
|
+
plugins?: string[] | undefined;
|
|
1175
|
+
} | undefined;
|
|
1176
|
+
} | undefined;
|
|
1172
1177
|
$schema?: string | undefined;
|
|
1178
|
+
css?: Record<string, any> | undefined;
|
|
1173
1179
|
extends?: string | undefined;
|
|
1180
|
+
title?: string | undefined;
|
|
1174
1181
|
author?: string | undefined;
|
|
1182
|
+
description?: string | undefined;
|
|
1175
1183
|
dependencies?: string[] | undefined;
|
|
1176
1184
|
devDependencies?: string[] | undefined;
|
|
1177
1185
|
registryDependencies?: string[] | undefined;
|
|
1178
1186
|
files?: ({
|
|
1179
1187
|
path: string;
|
|
1180
|
-
type: "registry:
|
|
1188
|
+
type: "registry:page" | "registry:file";
|
|
1181
1189
|
target: string;
|
|
1182
1190
|
content?: string | undefined;
|
|
1183
1191
|
} | {
|
|
@@ -1186,18 +1194,10 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
|
|
|
1186
1194
|
content?: string | undefined;
|
|
1187
1195
|
target?: string | undefined;
|
|
1188
1196
|
})[] | undefined;
|
|
1189
|
-
tailwind?: {
|
|
1190
|
-
config?: {
|
|
1191
|
-
content?: string[] | undefined;
|
|
1192
|
-
theme?: Record<string, any> | undefined;
|
|
1193
|
-
plugins?: string[] | undefined;
|
|
1194
|
-
} | undefined;
|
|
1195
|
-
} | undefined;
|
|
1196
1197
|
cssVars?: Record<string, {
|
|
1197
1198
|
light?: Record<string, string> | undefined;
|
|
1198
1199
|
dark?: Record<string, string> | undefined;
|
|
1199
1200
|
}> | undefined;
|
|
1200
|
-
css?: Record<string, any> | undefined;
|
|
1201
1201
|
envVars?: Record<string, string> | undefined;
|
|
1202
1202
|
meta?: Record<string, any> | undefined;
|
|
1203
1203
|
docs?: string | undefined;
|
|
@@ -1210,13 +1210,13 @@ declare function getItemTargetPath(config: Config, item: Pick<z.infer<typeof reg
|
|
|
1210
1210
|
declare function getPresets(options?: {
|
|
1211
1211
|
useCache?: boolean;
|
|
1212
1212
|
}): Promise<{
|
|
1213
|
-
name: string;
|
|
1214
|
-
title: string;
|
|
1215
|
-
description: string;
|
|
1216
|
-
theme: string;
|
|
1217
1213
|
iconLibrary: string;
|
|
1218
1214
|
menuColor: "default" | "inverted";
|
|
1219
1215
|
menuAccent: "subtle" | "bold";
|
|
1216
|
+
theme: string;
|
|
1217
|
+
name: string;
|
|
1218
|
+
title: string;
|
|
1219
|
+
description: string;
|
|
1220
1220
|
fontVariant: string;
|
|
1221
1221
|
neutralTheme: string;
|
|
1222
1222
|
item?: string | undefined;
|
|
@@ -1224,13 +1224,13 @@ declare function getPresets(options?: {
|
|
|
1224
1224
|
declare function getPreset(name: string, options?: {
|
|
1225
1225
|
useCache?: boolean;
|
|
1226
1226
|
}): Promise<{
|
|
1227
|
-
name: string;
|
|
1228
|
-
title: string;
|
|
1229
|
-
description: string;
|
|
1230
|
-
theme: string;
|
|
1231
1227
|
iconLibrary: string;
|
|
1232
1228
|
menuColor: "default" | "inverted";
|
|
1233
1229
|
menuAccent: "subtle" | "bold";
|
|
1230
|
+
theme: string;
|
|
1231
|
+
name: string;
|
|
1232
|
+
title: string;
|
|
1233
|
+
description: string;
|
|
1234
1234
|
fontVariant: string;
|
|
1235
1235
|
neutralTheme: string;
|
|
1236
1236
|
item?: string | undefined;
|