shadcn 4.9.0 → 4.10.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/chunk-MKTVVRV2.js +108 -0
- package/dist/{chunk-NAQBA4XN.js → chunk-OY2PM3KO.js} +4 -4
- package/dist/index.d.ts +156 -0
- package/dist/index.js +69 -69
- package/dist/mcp/index.js +1 -1
- package/dist/registry/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-2X25ZGWB.js +0 -97
package/dist/index.d.ts
CHANGED
|
@@ -168,6 +168,162 @@ declare function getRegistry(name: string, options?: {
|
|
|
168
168
|
})[];
|
|
169
169
|
$schema?: string | undefined;
|
|
170
170
|
include?: string[] | undefined;
|
|
171
|
+
} | {
|
|
172
|
+
items: ({
|
|
173
|
+
files: ({
|
|
174
|
+
path: string;
|
|
175
|
+
type: "registry:page" | "registry:file";
|
|
176
|
+
target: string;
|
|
177
|
+
} | {
|
|
178
|
+
path: string;
|
|
179
|
+
type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
|
|
180
|
+
target?: string | undefined;
|
|
181
|
+
})[] | undefined;
|
|
182
|
+
type: "registry:base";
|
|
183
|
+
name: string;
|
|
184
|
+
tailwind?: {
|
|
185
|
+
config?: {
|
|
186
|
+
content?: string[] | undefined;
|
|
187
|
+
theme?: Record<string, any> | undefined;
|
|
188
|
+
plugins?: string[] | undefined;
|
|
189
|
+
} | undefined;
|
|
190
|
+
} | undefined;
|
|
191
|
+
docs?: string | undefined;
|
|
192
|
+
$schema?: string | undefined;
|
|
193
|
+
config?: {
|
|
194
|
+
tailwind?: {
|
|
195
|
+
config?: string | undefined;
|
|
196
|
+
css?: string | undefined;
|
|
197
|
+
baseColor?: string | undefined;
|
|
198
|
+
cssVariables?: boolean | undefined;
|
|
199
|
+
prefix?: string | undefined;
|
|
200
|
+
} | undefined;
|
|
201
|
+
$schema?: string | undefined;
|
|
202
|
+
style?: string | undefined;
|
|
203
|
+
rsc?: boolean | undefined;
|
|
204
|
+
tsx?: boolean | undefined;
|
|
205
|
+
iconLibrary?: string | undefined;
|
|
206
|
+
rtl?: boolean | undefined;
|
|
207
|
+
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
208
|
+
menuAccent?: "subtle" | "bold" | undefined;
|
|
209
|
+
aliases?: {
|
|
210
|
+
components?: string | undefined;
|
|
211
|
+
ui?: string | undefined;
|
|
212
|
+
utils?: string | undefined;
|
|
213
|
+
lib?: string | undefined;
|
|
214
|
+
hooks?: string | undefined;
|
|
215
|
+
} | undefined;
|
|
216
|
+
registries?: Record<string, string | {
|
|
217
|
+
url: string;
|
|
218
|
+
params?: Record<string, string> | undefined;
|
|
219
|
+
headers?: Record<string, string> | undefined;
|
|
220
|
+
}> | undefined;
|
|
221
|
+
} | undefined;
|
|
222
|
+
css?: Record<string, any> | undefined;
|
|
223
|
+
extends?: string | undefined;
|
|
224
|
+
title?: string | undefined;
|
|
225
|
+
author?: string | undefined;
|
|
226
|
+
description?: string | undefined;
|
|
227
|
+
dependencies?: string[] | undefined;
|
|
228
|
+
devDependencies?: string[] | undefined;
|
|
229
|
+
registryDependencies?: string[] | undefined;
|
|
230
|
+
cssVars?: {
|
|
231
|
+
theme?: Record<string, string> | undefined;
|
|
232
|
+
light?: Record<string, string> | undefined;
|
|
233
|
+
dark?: Record<string, string> | undefined;
|
|
234
|
+
} | undefined;
|
|
235
|
+
envVars?: Record<string, string> | undefined;
|
|
236
|
+
meta?: Record<string, any> | undefined;
|
|
237
|
+
categories?: string[] | undefined;
|
|
238
|
+
} | {
|
|
239
|
+
files: ({
|
|
240
|
+
path: string;
|
|
241
|
+
type: "registry:page" | "registry:file";
|
|
242
|
+
target: string;
|
|
243
|
+
} | {
|
|
244
|
+
path: string;
|
|
245
|
+
type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
|
|
246
|
+
target?: string | undefined;
|
|
247
|
+
})[] | undefined;
|
|
248
|
+
type: "registry:font";
|
|
249
|
+
name: string;
|
|
250
|
+
font: {
|
|
251
|
+
family: string;
|
|
252
|
+
provider: "google";
|
|
253
|
+
import: string;
|
|
254
|
+
variable: string;
|
|
255
|
+
weight?: string[] | undefined;
|
|
256
|
+
subsets?: string[] | undefined;
|
|
257
|
+
selector?: string | undefined;
|
|
258
|
+
dependency?: string | undefined;
|
|
259
|
+
};
|
|
260
|
+
tailwind?: {
|
|
261
|
+
config?: {
|
|
262
|
+
content?: string[] | undefined;
|
|
263
|
+
theme?: Record<string, any> | undefined;
|
|
264
|
+
plugins?: string[] | undefined;
|
|
265
|
+
} | undefined;
|
|
266
|
+
} | undefined;
|
|
267
|
+
docs?: string | undefined;
|
|
268
|
+
$schema?: string | undefined;
|
|
269
|
+
css?: Record<string, any> | undefined;
|
|
270
|
+
extends?: string | undefined;
|
|
271
|
+
title?: string | undefined;
|
|
272
|
+
author?: string | undefined;
|
|
273
|
+
description?: string | undefined;
|
|
274
|
+
dependencies?: string[] | undefined;
|
|
275
|
+
devDependencies?: string[] | undefined;
|
|
276
|
+
registryDependencies?: string[] | undefined;
|
|
277
|
+
cssVars?: {
|
|
278
|
+
theme?: Record<string, string> | undefined;
|
|
279
|
+
light?: Record<string, string> | undefined;
|
|
280
|
+
dark?: Record<string, string> | undefined;
|
|
281
|
+
} | undefined;
|
|
282
|
+
envVars?: Record<string, string> | undefined;
|
|
283
|
+
meta?: Record<string, any> | undefined;
|
|
284
|
+
categories?: string[] | undefined;
|
|
285
|
+
} | {
|
|
286
|
+
files: ({
|
|
287
|
+
path: string;
|
|
288
|
+
type: "registry:page" | "registry:file";
|
|
289
|
+
target: string;
|
|
290
|
+
} | {
|
|
291
|
+
path: string;
|
|
292
|
+
type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
|
|
293
|
+
target?: string | undefined;
|
|
294
|
+
})[] | undefined;
|
|
295
|
+
type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:page" | "registry:file" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
296
|
+
name: string;
|
|
297
|
+
tailwind?: {
|
|
298
|
+
config?: {
|
|
299
|
+
content?: string[] | undefined;
|
|
300
|
+
theme?: Record<string, any> | undefined;
|
|
301
|
+
plugins?: string[] | undefined;
|
|
302
|
+
} | undefined;
|
|
303
|
+
} | undefined;
|
|
304
|
+
docs?: string | undefined;
|
|
305
|
+
$schema?: string | undefined;
|
|
306
|
+
css?: Record<string, any> | undefined;
|
|
307
|
+
extends?: string | undefined;
|
|
308
|
+
title?: string | undefined;
|
|
309
|
+
author?: string | undefined;
|
|
310
|
+
description?: string | undefined;
|
|
311
|
+
dependencies?: string[] | undefined;
|
|
312
|
+
devDependencies?: string[] | undefined;
|
|
313
|
+
registryDependencies?: string[] | undefined;
|
|
314
|
+
cssVars?: {
|
|
315
|
+
theme?: Record<string, string> | undefined;
|
|
316
|
+
light?: Record<string, string> | undefined;
|
|
317
|
+
dark?: Record<string, string> | undefined;
|
|
318
|
+
} | undefined;
|
|
319
|
+
envVars?: Record<string, string> | undefined;
|
|
320
|
+
meta?: Record<string, any> | undefined;
|
|
321
|
+
categories?: string[] | undefined;
|
|
322
|
+
})[];
|
|
323
|
+
name: string;
|
|
324
|
+
homepage: string;
|
|
325
|
+
$schema?: string | undefined;
|
|
326
|
+
include?: string[] | undefined;
|
|
171
327
|
}>;
|
|
172
328
|
declare function getRegistryItems(items: string[], options?: {
|
|
173
329
|
config?: Partial<Config>;
|