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