shadcn-vue 2.7.2 → 2.7.3
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/{api-DIv5FGuT.d.ts → api-NAcKnNvm.d.ts} +224 -224
- package/dist/api-NAcKnNvm.d.ts.map +1 -0
- package/dist/{get-config-BRAQ-Tnk.d.ts → get-config-B1tCxA_s.d.ts} +2 -2
- package/dist/get-config-B1tCxA_s.d.ts.map +1 -0
- package/dist/icons/index.d.ts.map +1 -1
- package/dist/{index-VbcDxT_d.d.ts → index-BLb9Z9so.d.ts} +626 -626
- package/dist/index-BLb9Z9so.d.ts.map +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +88 -26
- package/dist/index.js.map +1 -1
- package/dist/registry/index.d.ts +9 -9
- package/dist/registry/index.d.ts.map +1 -1
- package/dist/schema/index.d.ts +1 -1
- package/dist/utils/index.d.ts +2 -2
- package/package.json +2 -2
- package/dist/api-DIv5FGuT.d.ts.map +0 -1
- package/dist/get-config-BRAQ-Tnk.d.ts.map +0 -1
- package/dist/index-VbcDxT_d.d.ts.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as registryItemSchema, g as registryIndexSchema } from "./index-
|
|
2
|
-
import { t as Config } from "./get-config-
|
|
1
|
+
import { C as registryItemSchema, g as registryIndexSchema } from "./index-BLb9Z9so.js";
|
|
2
|
+
import { t as Config } from "./get-config-B1tCxA_s.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/registry/api.d.ts
|
|
@@ -8,28 +8,27 @@ declare function getRegistry(name: string, options?: {
|
|
|
8
8
|
useCache?: boolean;
|
|
9
9
|
}): Promise<{
|
|
10
10
|
name: string;
|
|
11
|
-
homepage: string;
|
|
12
11
|
items: ({
|
|
13
12
|
name: string;
|
|
14
13
|
type: "registry:base";
|
|
15
14
|
config?: {
|
|
16
|
-
style?: string | undefined;
|
|
17
|
-
iconLibrary?: string | undefined;
|
|
18
|
-
font?: string | undefined;
|
|
19
|
-
fontHeading?: string | undefined;
|
|
20
|
-
menuAccent?: "subtle" | "bold" | undefined;
|
|
21
|
-
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
22
15
|
$schema?: string | undefined;
|
|
23
|
-
typescript?: boolean | undefined;
|
|
24
16
|
tailwind?: {
|
|
25
17
|
config?: string | undefined;
|
|
26
|
-
baseColor?: string | undefined;
|
|
27
18
|
css?: string | undefined;
|
|
19
|
+
baseColor?: string | undefined;
|
|
28
20
|
cssVariables?: boolean | undefined;
|
|
29
21
|
prefix?: string | undefined;
|
|
30
22
|
} | undefined;
|
|
23
|
+
style?: string | undefined;
|
|
24
|
+
font?: string | undefined;
|
|
25
|
+
fontHeading?: string | undefined;
|
|
26
|
+
typescript?: boolean | undefined;
|
|
27
|
+
iconLibrary?: string | undefined;
|
|
31
28
|
rtl?: boolean | undefined;
|
|
32
29
|
pointer?: boolean | undefined;
|
|
30
|
+
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
31
|
+
menuAccent?: "subtle" | "bold" | undefined;
|
|
33
32
|
aliases?: {
|
|
34
33
|
components?: string | undefined;
|
|
35
34
|
utils?: string | undefined;
|
|
@@ -45,24 +44,16 @@ declare function getRegistry(name: string, options?: {
|
|
|
45
44
|
}> | undefined;
|
|
46
45
|
} | undefined;
|
|
47
46
|
title?: string | undefined;
|
|
47
|
+
description?: string | undefined;
|
|
48
48
|
$schema?: string | undefined;
|
|
49
|
-
tailwind?: {
|
|
50
|
-
config?: {
|
|
51
|
-
theme?: Record<string, any> | undefined;
|
|
52
|
-
content?: string[] | undefined;
|
|
53
|
-
plugins?: string[] | undefined;
|
|
54
|
-
} | undefined;
|
|
55
|
-
} | undefined;
|
|
56
|
-
css?: Record<string, any> | undefined;
|
|
57
49
|
extends?: string | undefined;
|
|
58
50
|
author?: string | undefined;
|
|
59
|
-
description?: string | undefined;
|
|
60
51
|
dependencies?: string[] | undefined;
|
|
61
52
|
devDependencies?: string[] | undefined;
|
|
62
53
|
registryDependencies?: string[] | undefined;
|
|
63
54
|
files?: ({
|
|
64
55
|
path: string;
|
|
65
|
-
type: "registry:
|
|
56
|
+
type: "registry:file" | "registry:page";
|
|
66
57
|
target: string;
|
|
67
58
|
content?: string | undefined;
|
|
68
59
|
} | {
|
|
@@ -71,17 +62,26 @@ declare function getRegistry(name: string, options?: {
|
|
|
71
62
|
content?: string | undefined;
|
|
72
63
|
target?: string | undefined;
|
|
73
64
|
})[] | undefined;
|
|
65
|
+
tailwind?: {
|
|
66
|
+
config?: {
|
|
67
|
+
content?: string[] | undefined;
|
|
68
|
+
theme?: Record<string, any> | undefined;
|
|
69
|
+
plugins?: string[] | undefined;
|
|
70
|
+
} | undefined;
|
|
71
|
+
} | undefined;
|
|
74
72
|
cssVars?: {
|
|
75
73
|
theme?: Record<string, string> | undefined;
|
|
76
74
|
light?: Record<string, string> | undefined;
|
|
77
75
|
dark?: Record<string, string> | undefined;
|
|
78
76
|
} | undefined;
|
|
77
|
+
css?: Record<string, any> | undefined;
|
|
79
78
|
envVars?: Record<string, string> | undefined;
|
|
80
79
|
meta?: Record<string, any> | undefined;
|
|
81
80
|
docs?: string | undefined;
|
|
82
81
|
categories?: string[] | undefined;
|
|
83
82
|
} | {
|
|
84
83
|
name: string;
|
|
84
|
+
type: "registry:font";
|
|
85
85
|
font: {
|
|
86
86
|
family: string;
|
|
87
87
|
provider: "google";
|
|
@@ -90,26 +90,17 @@ declare function getRegistry(name: string, options?: {
|
|
|
90
90
|
weight?: string[] | undefined;
|
|
91
91
|
subsets?: string[] | undefined;
|
|
92
92
|
};
|
|
93
|
-
type: "registry:font";
|
|
94
93
|
title?: string | undefined;
|
|
94
|
+
description?: string | undefined;
|
|
95
95
|
$schema?: string | undefined;
|
|
96
|
-
tailwind?: {
|
|
97
|
-
config?: {
|
|
98
|
-
theme?: Record<string, any> | undefined;
|
|
99
|
-
content?: string[] | undefined;
|
|
100
|
-
plugins?: string[] | undefined;
|
|
101
|
-
} | undefined;
|
|
102
|
-
} | undefined;
|
|
103
|
-
css?: Record<string, any> | undefined;
|
|
104
96
|
extends?: string | undefined;
|
|
105
97
|
author?: string | undefined;
|
|
106
|
-
description?: string | undefined;
|
|
107
98
|
dependencies?: string[] | undefined;
|
|
108
99
|
devDependencies?: string[] | undefined;
|
|
109
100
|
registryDependencies?: string[] | undefined;
|
|
110
101
|
files?: ({
|
|
111
102
|
path: string;
|
|
112
|
-
type: "registry:
|
|
103
|
+
type: "registry:file" | "registry:page";
|
|
113
104
|
target: string;
|
|
114
105
|
content?: string | undefined;
|
|
115
106
|
} | {
|
|
@@ -118,37 +109,37 @@ declare function getRegistry(name: string, options?: {
|
|
|
118
109
|
content?: string | undefined;
|
|
119
110
|
target?: string | undefined;
|
|
120
111
|
})[] | undefined;
|
|
112
|
+
tailwind?: {
|
|
113
|
+
config?: {
|
|
114
|
+
content?: string[] | undefined;
|
|
115
|
+
theme?: Record<string, any> | undefined;
|
|
116
|
+
plugins?: string[] | undefined;
|
|
117
|
+
} | undefined;
|
|
118
|
+
} | undefined;
|
|
121
119
|
cssVars?: {
|
|
122
120
|
theme?: Record<string, string> | undefined;
|
|
123
121
|
light?: Record<string, string> | undefined;
|
|
124
122
|
dark?: Record<string, string> | undefined;
|
|
125
123
|
} | undefined;
|
|
124
|
+
css?: Record<string, any> | undefined;
|
|
126
125
|
envVars?: Record<string, string> | undefined;
|
|
127
126
|
meta?: Record<string, any> | undefined;
|
|
128
127
|
docs?: string | undefined;
|
|
129
128
|
categories?: string[] | undefined;
|
|
130
129
|
} | {
|
|
131
130
|
name: string;
|
|
132
|
-
type: "registry:
|
|
131
|
+
type: "registry:file" | "registry:page" | "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
133
132
|
title?: string | undefined;
|
|
133
|
+
description?: string | undefined;
|
|
134
134
|
$schema?: string | undefined;
|
|
135
|
-
tailwind?: {
|
|
136
|
-
config?: {
|
|
137
|
-
theme?: Record<string, any> | undefined;
|
|
138
|
-
content?: string[] | undefined;
|
|
139
|
-
plugins?: string[] | undefined;
|
|
140
|
-
} | undefined;
|
|
141
|
-
} | undefined;
|
|
142
|
-
css?: Record<string, any> | undefined;
|
|
143
135
|
extends?: string | undefined;
|
|
144
136
|
author?: string | undefined;
|
|
145
|
-
description?: string | undefined;
|
|
146
137
|
dependencies?: string[] | undefined;
|
|
147
138
|
devDependencies?: string[] | undefined;
|
|
148
139
|
registryDependencies?: string[] | undefined;
|
|
149
140
|
files?: ({
|
|
150
141
|
path: string;
|
|
151
|
-
type: "registry:
|
|
142
|
+
type: "registry:file" | "registry:page";
|
|
152
143
|
target: string;
|
|
153
144
|
content?: string | undefined;
|
|
154
145
|
} | {
|
|
@@ -157,16 +148,25 @@ declare function getRegistry(name: string, options?: {
|
|
|
157
148
|
content?: string | undefined;
|
|
158
149
|
target?: string | undefined;
|
|
159
150
|
})[] | undefined;
|
|
151
|
+
tailwind?: {
|
|
152
|
+
config?: {
|
|
153
|
+
content?: string[] | undefined;
|
|
154
|
+
theme?: Record<string, any> | undefined;
|
|
155
|
+
plugins?: string[] | undefined;
|
|
156
|
+
} | undefined;
|
|
157
|
+
} | undefined;
|
|
160
158
|
cssVars?: {
|
|
161
159
|
theme?: Record<string, string> | undefined;
|
|
162
160
|
light?: Record<string, string> | undefined;
|
|
163
161
|
dark?: Record<string, string> | undefined;
|
|
164
162
|
} | undefined;
|
|
163
|
+
css?: Record<string, any> | undefined;
|
|
165
164
|
envVars?: Record<string, string> | undefined;
|
|
166
165
|
meta?: Record<string, any> | undefined;
|
|
167
166
|
docs?: string | undefined;
|
|
168
167
|
categories?: string[] | undefined;
|
|
169
168
|
})[];
|
|
169
|
+
homepage: string;
|
|
170
170
|
}>;
|
|
171
171
|
declare function getRegistryItems(items: string[], options?: {
|
|
172
172
|
config?: Partial<Config>;
|
|
@@ -175,23 +175,23 @@ declare function getRegistryItems(items: string[], options?: {
|
|
|
175
175
|
name: string;
|
|
176
176
|
type: "registry:base";
|
|
177
177
|
config?: {
|
|
178
|
-
style?: string | undefined;
|
|
179
|
-
iconLibrary?: string | undefined;
|
|
180
|
-
font?: string | undefined;
|
|
181
|
-
fontHeading?: string | undefined;
|
|
182
|
-
menuAccent?: "subtle" | "bold" | undefined;
|
|
183
|
-
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
184
178
|
$schema?: string | undefined;
|
|
185
|
-
typescript?: boolean | undefined;
|
|
186
179
|
tailwind?: {
|
|
187
180
|
config?: string | undefined;
|
|
188
|
-
baseColor?: string | undefined;
|
|
189
181
|
css?: string | undefined;
|
|
182
|
+
baseColor?: string | undefined;
|
|
190
183
|
cssVariables?: boolean | undefined;
|
|
191
184
|
prefix?: string | undefined;
|
|
192
185
|
} | undefined;
|
|
186
|
+
style?: string | undefined;
|
|
187
|
+
font?: string | undefined;
|
|
188
|
+
fontHeading?: string | undefined;
|
|
189
|
+
typescript?: boolean | undefined;
|
|
190
|
+
iconLibrary?: string | undefined;
|
|
193
191
|
rtl?: boolean | undefined;
|
|
194
192
|
pointer?: boolean | undefined;
|
|
193
|
+
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
194
|
+
menuAccent?: "subtle" | "bold" | undefined;
|
|
195
195
|
aliases?: {
|
|
196
196
|
components?: string | undefined;
|
|
197
197
|
utils?: string | undefined;
|
|
@@ -207,24 +207,16 @@ declare function getRegistryItems(items: string[], options?: {
|
|
|
207
207
|
}> | undefined;
|
|
208
208
|
} | undefined;
|
|
209
209
|
title?: string | undefined;
|
|
210
|
+
description?: string | undefined;
|
|
210
211
|
$schema?: string | undefined;
|
|
211
|
-
tailwind?: {
|
|
212
|
-
config?: {
|
|
213
|
-
theme?: Record<string, any> | undefined;
|
|
214
|
-
content?: string[] | undefined;
|
|
215
|
-
plugins?: string[] | undefined;
|
|
216
|
-
} | undefined;
|
|
217
|
-
} | undefined;
|
|
218
|
-
css?: Record<string, any> | undefined;
|
|
219
212
|
extends?: string | undefined;
|
|
220
213
|
author?: string | undefined;
|
|
221
|
-
description?: string | undefined;
|
|
222
214
|
dependencies?: string[] | undefined;
|
|
223
215
|
devDependencies?: string[] | undefined;
|
|
224
216
|
registryDependencies?: string[] | undefined;
|
|
225
217
|
files?: ({
|
|
226
218
|
path: string;
|
|
227
|
-
type: "registry:
|
|
219
|
+
type: "registry:file" | "registry:page";
|
|
228
220
|
target: string;
|
|
229
221
|
content?: string | undefined;
|
|
230
222
|
} | {
|
|
@@ -233,17 +225,26 @@ declare function getRegistryItems(items: string[], options?: {
|
|
|
233
225
|
content?: string | undefined;
|
|
234
226
|
target?: string | undefined;
|
|
235
227
|
})[] | undefined;
|
|
228
|
+
tailwind?: {
|
|
229
|
+
config?: {
|
|
230
|
+
content?: string[] | undefined;
|
|
231
|
+
theme?: Record<string, any> | undefined;
|
|
232
|
+
plugins?: string[] | undefined;
|
|
233
|
+
} | undefined;
|
|
234
|
+
} | undefined;
|
|
236
235
|
cssVars?: {
|
|
237
236
|
theme?: Record<string, string> | undefined;
|
|
238
237
|
light?: Record<string, string> | undefined;
|
|
239
238
|
dark?: Record<string, string> | undefined;
|
|
240
239
|
} | undefined;
|
|
240
|
+
css?: Record<string, any> | undefined;
|
|
241
241
|
envVars?: Record<string, string> | undefined;
|
|
242
242
|
meta?: Record<string, any> | undefined;
|
|
243
243
|
docs?: string | undefined;
|
|
244
244
|
categories?: string[] | undefined;
|
|
245
245
|
} | {
|
|
246
246
|
name: string;
|
|
247
|
+
type: "registry:font";
|
|
247
248
|
font: {
|
|
248
249
|
family: string;
|
|
249
250
|
provider: "google";
|
|
@@ -252,26 +253,17 @@ declare function getRegistryItems(items: string[], options?: {
|
|
|
252
253
|
weight?: string[] | undefined;
|
|
253
254
|
subsets?: string[] | undefined;
|
|
254
255
|
};
|
|
255
|
-
type: "registry:font";
|
|
256
256
|
title?: string | undefined;
|
|
257
|
+
description?: string | undefined;
|
|
257
258
|
$schema?: string | undefined;
|
|
258
|
-
tailwind?: {
|
|
259
|
-
config?: {
|
|
260
|
-
theme?: Record<string, any> | undefined;
|
|
261
|
-
content?: string[] | undefined;
|
|
262
|
-
plugins?: string[] | undefined;
|
|
263
|
-
} | undefined;
|
|
264
|
-
} | undefined;
|
|
265
|
-
css?: Record<string, any> | undefined;
|
|
266
259
|
extends?: string | undefined;
|
|
267
260
|
author?: string | undefined;
|
|
268
|
-
description?: string | undefined;
|
|
269
261
|
dependencies?: string[] | undefined;
|
|
270
262
|
devDependencies?: string[] | undefined;
|
|
271
263
|
registryDependencies?: string[] | undefined;
|
|
272
264
|
files?: ({
|
|
273
265
|
path: string;
|
|
274
|
-
type: "registry:
|
|
266
|
+
type: "registry:file" | "registry:page";
|
|
275
267
|
target: string;
|
|
276
268
|
content?: string | undefined;
|
|
277
269
|
} | {
|
|
@@ -280,37 +272,37 @@ declare function getRegistryItems(items: string[], options?: {
|
|
|
280
272
|
content?: string | undefined;
|
|
281
273
|
target?: string | undefined;
|
|
282
274
|
})[] | undefined;
|
|
275
|
+
tailwind?: {
|
|
276
|
+
config?: {
|
|
277
|
+
content?: string[] | undefined;
|
|
278
|
+
theme?: Record<string, any> | undefined;
|
|
279
|
+
plugins?: string[] | undefined;
|
|
280
|
+
} | undefined;
|
|
281
|
+
} | undefined;
|
|
283
282
|
cssVars?: {
|
|
284
283
|
theme?: Record<string, string> | undefined;
|
|
285
284
|
light?: Record<string, string> | undefined;
|
|
286
285
|
dark?: Record<string, string> | undefined;
|
|
287
286
|
} | undefined;
|
|
287
|
+
css?: Record<string, any> | undefined;
|
|
288
288
|
envVars?: Record<string, string> | undefined;
|
|
289
289
|
meta?: Record<string, any> | undefined;
|
|
290
290
|
docs?: string | undefined;
|
|
291
291
|
categories?: string[] | undefined;
|
|
292
292
|
} | {
|
|
293
293
|
name: string;
|
|
294
|
-
type: "registry:
|
|
294
|
+
type: "registry:file" | "registry:page" | "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
295
295
|
title?: string | undefined;
|
|
296
|
+
description?: string | undefined;
|
|
296
297
|
$schema?: string | undefined;
|
|
297
|
-
tailwind?: {
|
|
298
|
-
config?: {
|
|
299
|
-
theme?: Record<string, any> | undefined;
|
|
300
|
-
content?: string[] | undefined;
|
|
301
|
-
plugins?: string[] | undefined;
|
|
302
|
-
} | undefined;
|
|
303
|
-
} | undefined;
|
|
304
|
-
css?: Record<string, any> | undefined;
|
|
305
298
|
extends?: string | undefined;
|
|
306
299
|
author?: string | undefined;
|
|
307
|
-
description?: string | undefined;
|
|
308
300
|
dependencies?: string[] | undefined;
|
|
309
301
|
devDependencies?: string[] | undefined;
|
|
310
302
|
registryDependencies?: string[] | undefined;
|
|
311
303
|
files?: ({
|
|
312
304
|
path: string;
|
|
313
|
-
type: "registry:
|
|
305
|
+
type: "registry:file" | "registry:page";
|
|
314
306
|
target: string;
|
|
315
307
|
content?: string | undefined;
|
|
316
308
|
} | {
|
|
@@ -319,11 +311,19 @@ declare function getRegistryItems(items: string[], options?: {
|
|
|
319
311
|
content?: string | undefined;
|
|
320
312
|
target?: string | undefined;
|
|
321
313
|
})[] | undefined;
|
|
314
|
+
tailwind?: {
|
|
315
|
+
config?: {
|
|
316
|
+
content?: string[] | undefined;
|
|
317
|
+
theme?: Record<string, any> | undefined;
|
|
318
|
+
plugins?: string[] | undefined;
|
|
319
|
+
} | undefined;
|
|
320
|
+
} | undefined;
|
|
322
321
|
cssVars?: {
|
|
323
322
|
theme?: Record<string, string> | undefined;
|
|
324
323
|
light?: Record<string, string> | undefined;
|
|
325
324
|
dark?: Record<string, string> | undefined;
|
|
326
325
|
} | undefined;
|
|
326
|
+
css?: Record<string, any> | undefined;
|
|
327
327
|
envVars?: Record<string, string> | undefined;
|
|
328
328
|
meta?: Record<string, any> | undefined;
|
|
329
329
|
docs?: string | undefined;
|
|
@@ -333,19 +333,11 @@ declare function resolveRegistryItems(items: string[], options?: {
|
|
|
333
333
|
config?: Partial<Config>;
|
|
334
334
|
useCache?: boolean;
|
|
335
335
|
}): Promise<{
|
|
336
|
-
tailwind?: {
|
|
337
|
-
config?: {
|
|
338
|
-
theme?: Record<string, any> | undefined;
|
|
339
|
-
content?: string[] | undefined;
|
|
340
|
-
plugins?: string[] | undefined;
|
|
341
|
-
} | undefined;
|
|
342
|
-
} | undefined;
|
|
343
|
-
css?: Record<string, any> | undefined;
|
|
344
336
|
dependencies?: string[] | undefined;
|
|
345
337
|
devDependencies?: string[] | undefined;
|
|
346
338
|
files?: ({
|
|
347
339
|
path: string;
|
|
348
|
-
type: "registry:
|
|
340
|
+
type: "registry:file" | "registry:page";
|
|
349
341
|
target: string;
|
|
350
342
|
content?: string | undefined;
|
|
351
343
|
} | {
|
|
@@ -354,15 +346,24 @@ declare function resolveRegistryItems(items: string[], options?: {
|
|
|
354
346
|
content?: string | undefined;
|
|
355
347
|
target?: string | undefined;
|
|
356
348
|
})[] | undefined;
|
|
349
|
+
tailwind?: {
|
|
350
|
+
config?: {
|
|
351
|
+
content?: string[] | undefined;
|
|
352
|
+
theme?: Record<string, any> | undefined;
|
|
353
|
+
plugins?: string[] | undefined;
|
|
354
|
+
} | undefined;
|
|
355
|
+
} | undefined;
|
|
357
356
|
cssVars?: {
|
|
358
357
|
theme?: Record<string, string> | undefined;
|
|
359
358
|
light?: Record<string, string> | undefined;
|
|
360
359
|
dark?: Record<string, string> | undefined;
|
|
361
360
|
} | undefined;
|
|
361
|
+
css?: Record<string, any> | undefined;
|
|
362
362
|
envVars?: Record<string, string> | undefined;
|
|
363
363
|
docs?: string | undefined;
|
|
364
364
|
fonts?: {
|
|
365
365
|
name: string;
|
|
366
|
+
type: "registry:font";
|
|
366
367
|
font: {
|
|
367
368
|
family: string;
|
|
368
369
|
provider: "google";
|
|
@@ -371,26 +372,17 @@ declare function resolveRegistryItems(items: string[], options?: {
|
|
|
371
372
|
weight?: string[] | undefined;
|
|
372
373
|
subsets?: string[] | undefined;
|
|
373
374
|
};
|
|
374
|
-
type: "registry:font";
|
|
375
375
|
title?: string | undefined;
|
|
376
|
+
description?: string | undefined;
|
|
376
377
|
$schema?: string | undefined;
|
|
377
|
-
tailwind?: {
|
|
378
|
-
config?: {
|
|
379
|
-
theme?: Record<string, any> | undefined;
|
|
380
|
-
content?: string[] | undefined;
|
|
381
|
-
plugins?: string[] | undefined;
|
|
382
|
-
} | undefined;
|
|
383
|
-
} | undefined;
|
|
384
|
-
css?: Record<string, any> | undefined;
|
|
385
378
|
extends?: string | undefined;
|
|
386
379
|
author?: string | undefined;
|
|
387
|
-
description?: string | undefined;
|
|
388
380
|
dependencies?: string[] | undefined;
|
|
389
381
|
devDependencies?: string[] | undefined;
|
|
390
382
|
registryDependencies?: string[] | undefined;
|
|
391
383
|
files?: ({
|
|
392
384
|
path: string;
|
|
393
|
-
type: "registry:
|
|
385
|
+
type: "registry:file" | "registry:page";
|
|
394
386
|
target: string;
|
|
395
387
|
content?: string | undefined;
|
|
396
388
|
} | {
|
|
@@ -399,11 +391,19 @@ declare function resolveRegistryItems(items: string[], options?: {
|
|
|
399
391
|
content?: string | undefined;
|
|
400
392
|
target?: string | undefined;
|
|
401
393
|
})[] | undefined;
|
|
394
|
+
tailwind?: {
|
|
395
|
+
config?: {
|
|
396
|
+
content?: string[] | undefined;
|
|
397
|
+
theme?: Record<string, any> | undefined;
|
|
398
|
+
plugins?: string[] | undefined;
|
|
399
|
+
} | undefined;
|
|
400
|
+
} | undefined;
|
|
402
401
|
cssVars?: {
|
|
403
402
|
theme?: Record<string, string> | undefined;
|
|
404
403
|
light?: Record<string, string> | undefined;
|
|
405
404
|
dark?: Record<string, string> | undefined;
|
|
406
405
|
} | undefined;
|
|
406
|
+
css?: Record<string, any> | undefined;
|
|
407
407
|
envVars?: Record<string, string> | undefined;
|
|
408
408
|
meta?: Record<string, any> | undefined;
|
|
409
409
|
docs?: string | undefined;
|
|
@@ -421,23 +421,23 @@ declare function getShadcnRegistryIndex(): Promise<({
|
|
|
421
421
|
name: string;
|
|
422
422
|
type: "registry:base";
|
|
423
423
|
config?: {
|
|
424
|
-
style?: string | undefined;
|
|
425
|
-
iconLibrary?: string | undefined;
|
|
426
|
-
font?: string | undefined;
|
|
427
|
-
fontHeading?: string | undefined;
|
|
428
|
-
menuAccent?: "subtle" | "bold" | undefined;
|
|
429
|
-
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
430
424
|
$schema?: string | undefined;
|
|
431
|
-
typescript?: boolean | undefined;
|
|
432
425
|
tailwind?: {
|
|
433
426
|
config?: string | undefined;
|
|
434
|
-
baseColor?: string | undefined;
|
|
435
427
|
css?: string | undefined;
|
|
428
|
+
baseColor?: string | undefined;
|
|
436
429
|
cssVariables?: boolean | undefined;
|
|
437
430
|
prefix?: string | undefined;
|
|
438
431
|
} | undefined;
|
|
432
|
+
style?: string | undefined;
|
|
433
|
+
font?: string | undefined;
|
|
434
|
+
fontHeading?: string | undefined;
|
|
435
|
+
typescript?: boolean | undefined;
|
|
436
|
+
iconLibrary?: string | undefined;
|
|
439
437
|
rtl?: boolean | undefined;
|
|
440
438
|
pointer?: boolean | undefined;
|
|
439
|
+
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
440
|
+
menuAccent?: "subtle" | "bold" | undefined;
|
|
441
441
|
aliases?: {
|
|
442
442
|
components?: string | undefined;
|
|
443
443
|
utils?: string | undefined;
|
|
@@ -453,24 +453,16 @@ declare function getShadcnRegistryIndex(): Promise<({
|
|
|
453
453
|
}> | undefined;
|
|
454
454
|
} | undefined;
|
|
455
455
|
title?: string | undefined;
|
|
456
|
+
description?: string | undefined;
|
|
456
457
|
$schema?: string | undefined;
|
|
457
|
-
tailwind?: {
|
|
458
|
-
config?: {
|
|
459
|
-
theme?: Record<string, any> | undefined;
|
|
460
|
-
content?: string[] | undefined;
|
|
461
|
-
plugins?: string[] | undefined;
|
|
462
|
-
} | undefined;
|
|
463
|
-
} | undefined;
|
|
464
|
-
css?: Record<string, any> | undefined;
|
|
465
458
|
extends?: string | undefined;
|
|
466
459
|
author?: string | undefined;
|
|
467
|
-
description?: string | undefined;
|
|
468
460
|
dependencies?: string[] | undefined;
|
|
469
461
|
devDependencies?: string[] | undefined;
|
|
470
462
|
registryDependencies?: string[] | undefined;
|
|
471
463
|
files?: ({
|
|
472
464
|
path: string;
|
|
473
|
-
type: "registry:
|
|
465
|
+
type: "registry:file" | "registry:page";
|
|
474
466
|
target: string;
|
|
475
467
|
content?: string | undefined;
|
|
476
468
|
} | {
|
|
@@ -479,17 +471,26 @@ declare function getShadcnRegistryIndex(): Promise<({
|
|
|
479
471
|
content?: string | undefined;
|
|
480
472
|
target?: string | undefined;
|
|
481
473
|
})[] | undefined;
|
|
474
|
+
tailwind?: {
|
|
475
|
+
config?: {
|
|
476
|
+
content?: string[] | undefined;
|
|
477
|
+
theme?: Record<string, any> | undefined;
|
|
478
|
+
plugins?: string[] | undefined;
|
|
479
|
+
} | undefined;
|
|
480
|
+
} | undefined;
|
|
482
481
|
cssVars?: {
|
|
483
482
|
theme?: Record<string, string> | undefined;
|
|
484
483
|
light?: Record<string, string> | undefined;
|
|
485
484
|
dark?: Record<string, string> | undefined;
|
|
486
485
|
} | undefined;
|
|
486
|
+
css?: Record<string, any> | undefined;
|
|
487
487
|
envVars?: Record<string, string> | undefined;
|
|
488
488
|
meta?: Record<string, any> | undefined;
|
|
489
489
|
docs?: string | undefined;
|
|
490
490
|
categories?: string[] | undefined;
|
|
491
491
|
} | {
|
|
492
492
|
name: string;
|
|
493
|
+
type: "registry:font";
|
|
493
494
|
font: {
|
|
494
495
|
family: string;
|
|
495
496
|
provider: "google";
|
|
@@ -498,26 +499,17 @@ declare function getShadcnRegistryIndex(): Promise<({
|
|
|
498
499
|
weight?: string[] | undefined;
|
|
499
500
|
subsets?: string[] | undefined;
|
|
500
501
|
};
|
|
501
|
-
type: "registry:font";
|
|
502
502
|
title?: string | undefined;
|
|
503
|
+
description?: string | undefined;
|
|
503
504
|
$schema?: string | undefined;
|
|
504
|
-
tailwind?: {
|
|
505
|
-
config?: {
|
|
506
|
-
theme?: Record<string, any> | undefined;
|
|
507
|
-
content?: string[] | undefined;
|
|
508
|
-
plugins?: string[] | undefined;
|
|
509
|
-
} | undefined;
|
|
510
|
-
} | undefined;
|
|
511
|
-
css?: Record<string, any> | undefined;
|
|
512
505
|
extends?: string | undefined;
|
|
513
506
|
author?: string | undefined;
|
|
514
|
-
description?: string | undefined;
|
|
515
507
|
dependencies?: string[] | undefined;
|
|
516
508
|
devDependencies?: string[] | undefined;
|
|
517
509
|
registryDependencies?: string[] | undefined;
|
|
518
510
|
files?: ({
|
|
519
511
|
path: string;
|
|
520
|
-
type: "registry:
|
|
512
|
+
type: "registry:file" | "registry:page";
|
|
521
513
|
target: string;
|
|
522
514
|
content?: string | undefined;
|
|
523
515
|
} | {
|
|
@@ -526,37 +518,37 @@ declare function getShadcnRegistryIndex(): Promise<({
|
|
|
526
518
|
content?: string | undefined;
|
|
527
519
|
target?: string | undefined;
|
|
528
520
|
})[] | undefined;
|
|
521
|
+
tailwind?: {
|
|
522
|
+
config?: {
|
|
523
|
+
content?: string[] | undefined;
|
|
524
|
+
theme?: Record<string, any> | undefined;
|
|
525
|
+
plugins?: string[] | undefined;
|
|
526
|
+
} | undefined;
|
|
527
|
+
} | undefined;
|
|
529
528
|
cssVars?: {
|
|
530
529
|
theme?: Record<string, string> | undefined;
|
|
531
530
|
light?: Record<string, string> | undefined;
|
|
532
531
|
dark?: Record<string, string> | undefined;
|
|
533
532
|
} | undefined;
|
|
533
|
+
css?: Record<string, any> | undefined;
|
|
534
534
|
envVars?: Record<string, string> | undefined;
|
|
535
535
|
meta?: Record<string, any> | undefined;
|
|
536
536
|
docs?: string | undefined;
|
|
537
537
|
categories?: string[] | undefined;
|
|
538
538
|
} | {
|
|
539
539
|
name: string;
|
|
540
|
-
type: "registry:
|
|
540
|
+
type: "registry:file" | "registry:page" | "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
541
541
|
title?: string | undefined;
|
|
542
|
+
description?: string | undefined;
|
|
542
543
|
$schema?: string | undefined;
|
|
543
|
-
tailwind?: {
|
|
544
|
-
config?: {
|
|
545
|
-
theme?: Record<string, any> | undefined;
|
|
546
|
-
content?: string[] | undefined;
|
|
547
|
-
plugins?: string[] | undefined;
|
|
548
|
-
} | undefined;
|
|
549
|
-
} | undefined;
|
|
550
|
-
css?: Record<string, any> | undefined;
|
|
551
544
|
extends?: string | undefined;
|
|
552
545
|
author?: string | undefined;
|
|
553
|
-
description?: string | undefined;
|
|
554
546
|
dependencies?: string[] | undefined;
|
|
555
547
|
devDependencies?: string[] | undefined;
|
|
556
548
|
registryDependencies?: string[] | undefined;
|
|
557
549
|
files?: ({
|
|
558
550
|
path: string;
|
|
559
|
-
type: "registry:
|
|
551
|
+
type: "registry:file" | "registry:page";
|
|
560
552
|
target: string;
|
|
561
553
|
content?: string | undefined;
|
|
562
554
|
} | {
|
|
@@ -565,11 +557,19 @@ declare function getShadcnRegistryIndex(): Promise<({
|
|
|
565
557
|
content?: string | undefined;
|
|
566
558
|
target?: string | undefined;
|
|
567
559
|
})[] | undefined;
|
|
560
|
+
tailwind?: {
|
|
561
|
+
config?: {
|
|
562
|
+
content?: string[] | undefined;
|
|
563
|
+
theme?: Record<string, any> | undefined;
|
|
564
|
+
plugins?: string[] | undefined;
|
|
565
|
+
} | undefined;
|
|
566
|
+
} | undefined;
|
|
568
567
|
cssVars?: {
|
|
569
568
|
theme?: Record<string, string> | undefined;
|
|
570
569
|
light?: Record<string, string> | undefined;
|
|
571
570
|
dark?: Record<string, string> | undefined;
|
|
572
571
|
} | undefined;
|
|
572
|
+
css?: Record<string, any> | undefined;
|
|
573
573
|
envVars?: Record<string, string> | undefined;
|
|
574
574
|
meta?: Record<string, any> | undefined;
|
|
575
575
|
docs?: string | undefined;
|
|
@@ -1085,23 +1085,23 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
|
|
|
1085
1085
|
name: string;
|
|
1086
1086
|
type: "registry:base";
|
|
1087
1087
|
config?: {
|
|
1088
|
-
style?: string | undefined;
|
|
1089
|
-
iconLibrary?: string | undefined;
|
|
1090
|
-
font?: string | undefined;
|
|
1091
|
-
fontHeading?: string | undefined;
|
|
1092
|
-
menuAccent?: "subtle" | "bold" | undefined;
|
|
1093
|
-
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
1094
1088
|
$schema?: string | undefined;
|
|
1095
|
-
typescript?: boolean | undefined;
|
|
1096
1089
|
tailwind?: {
|
|
1097
1090
|
config?: string | undefined;
|
|
1098
|
-
baseColor?: string | undefined;
|
|
1099
1091
|
css?: string | undefined;
|
|
1092
|
+
baseColor?: string | undefined;
|
|
1100
1093
|
cssVariables?: boolean | undefined;
|
|
1101
1094
|
prefix?: string | undefined;
|
|
1102
1095
|
} | undefined;
|
|
1096
|
+
style?: string | undefined;
|
|
1097
|
+
font?: string | undefined;
|
|
1098
|
+
fontHeading?: string | undefined;
|
|
1099
|
+
typescript?: boolean | undefined;
|
|
1100
|
+
iconLibrary?: string | undefined;
|
|
1103
1101
|
rtl?: boolean | undefined;
|
|
1104
1102
|
pointer?: boolean | undefined;
|
|
1103
|
+
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
1104
|
+
menuAccent?: "subtle" | "bold" | undefined;
|
|
1105
1105
|
aliases?: {
|
|
1106
1106
|
components?: string | undefined;
|
|
1107
1107
|
utils?: string | undefined;
|
|
@@ -1117,24 +1117,16 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
|
|
|
1117
1117
|
}> | undefined;
|
|
1118
1118
|
} | undefined;
|
|
1119
1119
|
title?: string | undefined;
|
|
1120
|
+
description?: string | undefined;
|
|
1120
1121
|
$schema?: string | undefined;
|
|
1121
|
-
tailwind?: {
|
|
1122
|
-
config?: {
|
|
1123
|
-
theme?: Record<string, any> | undefined;
|
|
1124
|
-
content?: string[] | undefined;
|
|
1125
|
-
plugins?: string[] | undefined;
|
|
1126
|
-
} | undefined;
|
|
1127
|
-
} | undefined;
|
|
1128
|
-
css?: Record<string, any> | undefined;
|
|
1129
1122
|
extends?: string | undefined;
|
|
1130
1123
|
author?: string | undefined;
|
|
1131
|
-
description?: string | undefined;
|
|
1132
1124
|
dependencies?: string[] | undefined;
|
|
1133
1125
|
devDependencies?: string[] | undefined;
|
|
1134
1126
|
registryDependencies?: string[] | undefined;
|
|
1135
1127
|
files?: ({
|
|
1136
1128
|
path: string;
|
|
1137
|
-
type: "registry:
|
|
1129
|
+
type: "registry:file" | "registry:page";
|
|
1138
1130
|
target: string;
|
|
1139
1131
|
content?: string | undefined;
|
|
1140
1132
|
} | {
|
|
@@ -1143,17 +1135,26 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
|
|
|
1143
1135
|
content?: string | undefined;
|
|
1144
1136
|
target?: string | undefined;
|
|
1145
1137
|
})[] | undefined;
|
|
1138
|
+
tailwind?: {
|
|
1139
|
+
config?: {
|
|
1140
|
+
content?: string[] | undefined;
|
|
1141
|
+
theme?: Record<string, any> | undefined;
|
|
1142
|
+
plugins?: string[] | undefined;
|
|
1143
|
+
} | undefined;
|
|
1144
|
+
} | undefined;
|
|
1146
1145
|
cssVars?: {
|
|
1147
1146
|
theme?: Record<string, string> | undefined;
|
|
1148
1147
|
light?: Record<string, string> | undefined;
|
|
1149
1148
|
dark?: Record<string, string> | undefined;
|
|
1150
1149
|
} | undefined;
|
|
1150
|
+
css?: Record<string, any> | undefined;
|
|
1151
1151
|
envVars?: Record<string, string> | undefined;
|
|
1152
1152
|
meta?: Record<string, any> | undefined;
|
|
1153
1153
|
docs?: string | undefined;
|
|
1154
1154
|
categories?: string[] | undefined;
|
|
1155
1155
|
} | {
|
|
1156
1156
|
name: string;
|
|
1157
|
+
type: "registry:font";
|
|
1157
1158
|
font: {
|
|
1158
1159
|
family: string;
|
|
1159
1160
|
provider: "google";
|
|
@@ -1162,26 +1163,17 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
|
|
|
1162
1163
|
weight?: string[] | undefined;
|
|
1163
1164
|
subsets?: string[] | undefined;
|
|
1164
1165
|
};
|
|
1165
|
-
type: "registry:font";
|
|
1166
1166
|
title?: string | undefined;
|
|
1167
|
+
description?: string | undefined;
|
|
1167
1168
|
$schema?: string | undefined;
|
|
1168
|
-
tailwind?: {
|
|
1169
|
-
config?: {
|
|
1170
|
-
theme?: Record<string, any> | undefined;
|
|
1171
|
-
content?: string[] | undefined;
|
|
1172
|
-
plugins?: string[] | undefined;
|
|
1173
|
-
} | undefined;
|
|
1174
|
-
} | undefined;
|
|
1175
|
-
css?: Record<string, any> | undefined;
|
|
1176
1169
|
extends?: string | undefined;
|
|
1177
1170
|
author?: string | undefined;
|
|
1178
|
-
description?: string | undefined;
|
|
1179
1171
|
dependencies?: string[] | undefined;
|
|
1180
1172
|
devDependencies?: string[] | undefined;
|
|
1181
1173
|
registryDependencies?: string[] | undefined;
|
|
1182
1174
|
files?: ({
|
|
1183
1175
|
path: string;
|
|
1184
|
-
type: "registry:
|
|
1176
|
+
type: "registry:file" | "registry:page";
|
|
1185
1177
|
target: string;
|
|
1186
1178
|
content?: string | undefined;
|
|
1187
1179
|
} | {
|
|
@@ -1190,37 +1182,37 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
|
|
|
1190
1182
|
content?: string | undefined;
|
|
1191
1183
|
target?: string | undefined;
|
|
1192
1184
|
})[] | undefined;
|
|
1185
|
+
tailwind?: {
|
|
1186
|
+
config?: {
|
|
1187
|
+
content?: string[] | undefined;
|
|
1188
|
+
theme?: Record<string, any> | undefined;
|
|
1189
|
+
plugins?: string[] | undefined;
|
|
1190
|
+
} | undefined;
|
|
1191
|
+
} | undefined;
|
|
1193
1192
|
cssVars?: {
|
|
1194
1193
|
theme?: Record<string, string> | undefined;
|
|
1195
1194
|
light?: Record<string, string> | undefined;
|
|
1196
1195
|
dark?: Record<string, string> | undefined;
|
|
1197
1196
|
} | undefined;
|
|
1197
|
+
css?: Record<string, any> | undefined;
|
|
1198
1198
|
envVars?: Record<string, string> | undefined;
|
|
1199
1199
|
meta?: Record<string, any> | undefined;
|
|
1200
1200
|
docs?: string | undefined;
|
|
1201
1201
|
categories?: string[] | undefined;
|
|
1202
1202
|
} | {
|
|
1203
1203
|
name: string;
|
|
1204
|
-
type: "registry:
|
|
1204
|
+
type: "registry:file" | "registry:page" | "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
1205
1205
|
title?: string | undefined;
|
|
1206
|
+
description?: string | undefined;
|
|
1206
1207
|
$schema?: string | undefined;
|
|
1207
|
-
tailwind?: {
|
|
1208
|
-
config?: {
|
|
1209
|
-
theme?: Record<string, any> | undefined;
|
|
1210
|
-
content?: string[] | undefined;
|
|
1211
|
-
plugins?: string[] | undefined;
|
|
1212
|
-
} | undefined;
|
|
1213
|
-
} | undefined;
|
|
1214
|
-
css?: Record<string, any> | undefined;
|
|
1215
1208
|
extends?: string | undefined;
|
|
1216
1209
|
author?: string | undefined;
|
|
1217
|
-
description?: string | undefined;
|
|
1218
1210
|
dependencies?: string[] | undefined;
|
|
1219
1211
|
devDependencies?: string[] | undefined;
|
|
1220
1212
|
registryDependencies?: string[] | undefined;
|
|
1221
1213
|
files?: ({
|
|
1222
1214
|
path: string;
|
|
1223
|
-
type: "registry:
|
|
1215
|
+
type: "registry:file" | "registry:page";
|
|
1224
1216
|
target: string;
|
|
1225
1217
|
content?: string | undefined;
|
|
1226
1218
|
} | {
|
|
@@ -1229,11 +1221,19 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
|
|
|
1229
1221
|
content?: string | undefined;
|
|
1230
1222
|
target?: string | undefined;
|
|
1231
1223
|
})[] | undefined;
|
|
1224
|
+
tailwind?: {
|
|
1225
|
+
config?: {
|
|
1226
|
+
content?: string[] | undefined;
|
|
1227
|
+
theme?: Record<string, any> | undefined;
|
|
1228
|
+
plugins?: string[] | undefined;
|
|
1229
|
+
} | undefined;
|
|
1230
|
+
} | undefined;
|
|
1232
1231
|
cssVars?: {
|
|
1233
1232
|
theme?: Record<string, string> | undefined;
|
|
1234
1233
|
light?: Record<string, string> | undefined;
|
|
1235
1234
|
dark?: Record<string, string> | undefined;
|
|
1236
1235
|
} | undefined;
|
|
1236
|
+
css?: Record<string, any> | undefined;
|
|
1237
1237
|
envVars?: Record<string, string> | undefined;
|
|
1238
1238
|
meta?: Record<string, any> | undefined;
|
|
1239
1239
|
docs?: string | undefined;
|
|
@@ -1246,23 +1246,23 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
|
|
|
1246
1246
|
name: string;
|
|
1247
1247
|
type: "registry:base";
|
|
1248
1248
|
config?: {
|
|
1249
|
-
style?: string | undefined;
|
|
1250
|
-
iconLibrary?: string | undefined;
|
|
1251
|
-
font?: string | undefined;
|
|
1252
|
-
fontHeading?: string | undefined;
|
|
1253
|
-
menuAccent?: "subtle" | "bold" | undefined;
|
|
1254
|
-
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
1255
1249
|
$schema?: string | undefined;
|
|
1256
|
-
typescript?: boolean | undefined;
|
|
1257
1250
|
tailwind?: {
|
|
1258
1251
|
config?: string | undefined;
|
|
1259
|
-
baseColor?: string | undefined;
|
|
1260
1252
|
css?: string | undefined;
|
|
1253
|
+
baseColor?: string | undefined;
|
|
1261
1254
|
cssVariables?: boolean | undefined;
|
|
1262
1255
|
prefix?: string | undefined;
|
|
1263
1256
|
} | undefined;
|
|
1257
|
+
style?: string | undefined;
|
|
1258
|
+
font?: string | undefined;
|
|
1259
|
+
fontHeading?: string | undefined;
|
|
1260
|
+
typescript?: boolean | undefined;
|
|
1261
|
+
iconLibrary?: string | undefined;
|
|
1264
1262
|
rtl?: boolean | undefined;
|
|
1265
1263
|
pointer?: boolean | undefined;
|
|
1264
|
+
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
1265
|
+
menuAccent?: "subtle" | "bold" | undefined;
|
|
1266
1266
|
aliases?: {
|
|
1267
1267
|
components?: string | undefined;
|
|
1268
1268
|
utils?: string | undefined;
|
|
@@ -1278,24 +1278,16 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
|
|
|
1278
1278
|
}> | undefined;
|
|
1279
1279
|
} | undefined;
|
|
1280
1280
|
title?: string | undefined;
|
|
1281
|
+
description?: string | undefined;
|
|
1281
1282
|
$schema?: string | undefined;
|
|
1282
|
-
tailwind?: {
|
|
1283
|
-
config?: {
|
|
1284
|
-
theme?: Record<string, any> | undefined;
|
|
1285
|
-
content?: string[] | undefined;
|
|
1286
|
-
plugins?: string[] | undefined;
|
|
1287
|
-
} | undefined;
|
|
1288
|
-
} | undefined;
|
|
1289
|
-
css?: Record<string, any> | undefined;
|
|
1290
1283
|
extends?: string | undefined;
|
|
1291
1284
|
author?: string | undefined;
|
|
1292
|
-
description?: string | undefined;
|
|
1293
1285
|
dependencies?: string[] | undefined;
|
|
1294
1286
|
devDependencies?: string[] | undefined;
|
|
1295
1287
|
registryDependencies?: string[] | undefined;
|
|
1296
1288
|
files?: ({
|
|
1297
1289
|
path: string;
|
|
1298
|
-
type: "registry:
|
|
1290
|
+
type: "registry:file" | "registry:page";
|
|
1299
1291
|
target: string;
|
|
1300
1292
|
content?: string | undefined;
|
|
1301
1293
|
} | {
|
|
@@ -1304,17 +1296,26 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
|
|
|
1304
1296
|
content?: string | undefined;
|
|
1305
1297
|
target?: string | undefined;
|
|
1306
1298
|
})[] | undefined;
|
|
1299
|
+
tailwind?: {
|
|
1300
|
+
config?: {
|
|
1301
|
+
content?: string[] | undefined;
|
|
1302
|
+
theme?: Record<string, any> | undefined;
|
|
1303
|
+
plugins?: string[] | undefined;
|
|
1304
|
+
} | undefined;
|
|
1305
|
+
} | undefined;
|
|
1307
1306
|
cssVars?: {
|
|
1308
1307
|
theme?: Record<string, string> | undefined;
|
|
1309
1308
|
light?: Record<string, string> | undefined;
|
|
1310
1309
|
dark?: Record<string, string> | undefined;
|
|
1311
1310
|
} | undefined;
|
|
1311
|
+
css?: Record<string, any> | undefined;
|
|
1312
1312
|
envVars?: Record<string, string> | undefined;
|
|
1313
1313
|
meta?: Record<string, any> | undefined;
|
|
1314
1314
|
docs?: string | undefined;
|
|
1315
1315
|
categories?: string[] | undefined;
|
|
1316
1316
|
} | {
|
|
1317
1317
|
name: string;
|
|
1318
|
+
type: "registry:font";
|
|
1318
1319
|
font: {
|
|
1319
1320
|
family: string;
|
|
1320
1321
|
provider: "google";
|
|
@@ -1323,26 +1324,17 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
|
|
|
1323
1324
|
weight?: string[] | undefined;
|
|
1324
1325
|
subsets?: string[] | undefined;
|
|
1325
1326
|
};
|
|
1326
|
-
type: "registry:font";
|
|
1327
1327
|
title?: string | undefined;
|
|
1328
|
+
description?: string | undefined;
|
|
1328
1329
|
$schema?: string | undefined;
|
|
1329
|
-
tailwind?: {
|
|
1330
|
-
config?: {
|
|
1331
|
-
theme?: Record<string, any> | undefined;
|
|
1332
|
-
content?: string[] | undefined;
|
|
1333
|
-
plugins?: string[] | undefined;
|
|
1334
|
-
} | undefined;
|
|
1335
|
-
} | undefined;
|
|
1336
|
-
css?: Record<string, any> | undefined;
|
|
1337
1330
|
extends?: string | undefined;
|
|
1338
1331
|
author?: string | undefined;
|
|
1339
|
-
description?: string | undefined;
|
|
1340
1332
|
dependencies?: string[] | undefined;
|
|
1341
1333
|
devDependencies?: string[] | undefined;
|
|
1342
1334
|
registryDependencies?: string[] | undefined;
|
|
1343
1335
|
files?: ({
|
|
1344
1336
|
path: string;
|
|
1345
|
-
type: "registry:
|
|
1337
|
+
type: "registry:file" | "registry:page";
|
|
1346
1338
|
target: string;
|
|
1347
1339
|
content?: string | undefined;
|
|
1348
1340
|
} | {
|
|
@@ -1351,37 +1343,37 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
|
|
|
1351
1343
|
content?: string | undefined;
|
|
1352
1344
|
target?: string | undefined;
|
|
1353
1345
|
})[] | undefined;
|
|
1346
|
+
tailwind?: {
|
|
1347
|
+
config?: {
|
|
1348
|
+
content?: string[] | undefined;
|
|
1349
|
+
theme?: Record<string, any> | undefined;
|
|
1350
|
+
plugins?: string[] | undefined;
|
|
1351
|
+
} | undefined;
|
|
1352
|
+
} | undefined;
|
|
1354
1353
|
cssVars?: {
|
|
1355
1354
|
theme?: Record<string, string> | undefined;
|
|
1356
1355
|
light?: Record<string, string> | undefined;
|
|
1357
1356
|
dark?: Record<string, string> | undefined;
|
|
1358
1357
|
} | undefined;
|
|
1358
|
+
css?: Record<string, any> | undefined;
|
|
1359
1359
|
envVars?: Record<string, string> | undefined;
|
|
1360
1360
|
meta?: Record<string, any> | undefined;
|
|
1361
1361
|
docs?: string | undefined;
|
|
1362
1362
|
categories?: string[] | undefined;
|
|
1363
1363
|
} | {
|
|
1364
1364
|
name: string;
|
|
1365
|
-
type: "registry:
|
|
1365
|
+
type: "registry:file" | "registry:page" | "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
1366
1366
|
title?: string | undefined;
|
|
1367
|
+
description?: string | undefined;
|
|
1367
1368
|
$schema?: string | undefined;
|
|
1368
|
-
tailwind?: {
|
|
1369
|
-
config?: {
|
|
1370
|
-
theme?: Record<string, any> | undefined;
|
|
1371
|
-
content?: string[] | undefined;
|
|
1372
|
-
plugins?: string[] | undefined;
|
|
1373
|
-
} | undefined;
|
|
1374
|
-
} | undefined;
|
|
1375
|
-
css?: Record<string, any> | undefined;
|
|
1376
1369
|
extends?: string | undefined;
|
|
1377
1370
|
author?: string | undefined;
|
|
1378
|
-
description?: string | undefined;
|
|
1379
1371
|
dependencies?: string[] | undefined;
|
|
1380
1372
|
devDependencies?: string[] | undefined;
|
|
1381
1373
|
registryDependencies?: string[] | undefined;
|
|
1382
1374
|
files?: ({
|
|
1383
1375
|
path: string;
|
|
1384
|
-
type: "registry:
|
|
1376
|
+
type: "registry:file" | "registry:page";
|
|
1385
1377
|
target: string;
|
|
1386
1378
|
content?: string | undefined;
|
|
1387
1379
|
} | {
|
|
@@ -1390,11 +1382,19 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
|
|
|
1390
1382
|
content?: string | undefined;
|
|
1391
1383
|
target?: string | undefined;
|
|
1392
1384
|
})[] | undefined;
|
|
1385
|
+
tailwind?: {
|
|
1386
|
+
config?: {
|
|
1387
|
+
content?: string[] | undefined;
|
|
1388
|
+
theme?: Record<string, any> | undefined;
|
|
1389
|
+
plugins?: string[] | undefined;
|
|
1390
|
+
} | undefined;
|
|
1391
|
+
} | undefined;
|
|
1393
1392
|
cssVars?: {
|
|
1394
1393
|
theme?: Record<string, string> | undefined;
|
|
1395
1394
|
light?: Record<string, string> | undefined;
|
|
1396
1395
|
dark?: Record<string, string> | undefined;
|
|
1397
1396
|
} | undefined;
|
|
1397
|
+
css?: Record<string, any> | undefined;
|
|
1398
1398
|
envVars?: Record<string, string> | undefined;
|
|
1399
1399
|
meta?: Record<string, any> | undefined;
|
|
1400
1400
|
docs?: string | undefined;
|
|
@@ -1409,4 +1409,4 @@ declare function getRegistriesIndex(options?: {
|
|
|
1409
1409
|
}): Promise<Record<string, string>>;
|
|
1410
1410
|
//#endregion
|
|
1411
1411
|
export { resolveTree as C, resolveRegistryItems as S, getRegistryPresets as _, getRegistry as a, getRegistryVisualStyles as b, getRegistryBaseColors as c, getRegistryFonts as d, getRegistryIconLibraries as f, getRegistryPreset as g, getRegistryItems as h, getRegistriesIndex as i, getRegistryBases as l, getRegistryIcons as m, getItemTargetPath as n, getRegistryBase as o, getRegistryIconLibrary as p, getRegistriesConfig as r, getRegistryBaseColor as s, fetchTree as t, getRegistryFont as u, getRegistryStyles as v, getShadcnRegistryIndex as x, getRegistryVisualStyle as y };
|
|
1412
|
-
//# sourceMappingURL=api-
|
|
1412
|
+
//# sourceMappingURL=api-NAcKnNvm.d.ts.map
|