shadcn-vue 2.5.2 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{api-DeEl1PAz.d.ts → api-Bv8BWQYU.d.ts} +462 -406
- package/dist/api-Bv8BWQYU.d.ts.map +1 -0
- package/dist/{get-config-xVIS83XY.d.ts → get-config-BSn00GVX.d.ts} +2 -2
- package/dist/get-config-BSn00GVX.d.ts.map +1 -0
- package/dist/{index-bYDEHyKV.d.ts → index-A6l72GQD.d.ts} +643 -617
- package/dist/index-A6l72GQD.d.ts.map +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +791 -731
- package/dist/index.js.map +1 -1
- package/dist/mcp/index.js +4 -4
- package/dist/{mcp-CdrgZ16R.js → mcp-DNOFpAiD.js} +2 -2
- package/dist/{mcp-CdrgZ16R.js.map → mcp-DNOFpAiD.js.map} +1 -1
- package/dist/preset/index.d.ts +37 -0
- package/dist/preset/index.d.ts.map +1 -0
- package/dist/preset/index.js +3 -0
- package/dist/preset-DK0fGW7r.js +210 -0
- package/dist/preset-DK0fGW7r.js.map +1 -0
- package/dist/registry/index.d.ts +9 -9
- package/dist/registry/index.d.ts.map +1 -1
- package/dist/registry/index.js +3 -3
- package/dist/{registry-D3TD67q0.js → registry-NOjqiJkB.js} +796 -271
- package/dist/registry-NOjqiJkB.js.map +1 -0
- package/dist/schema/index.d.ts +1 -1
- package/dist/schema/index.js +1 -1
- package/dist/{schema-DANtXGPk.js → schema-_wQCad_c.js} +15 -4
- package/dist/schema-_wQCad_c.js.map +1 -0
- package/dist/tailwind.css +98 -0
- package/dist/tailwind.css.map +1 -0
- package/dist/tailwind.js +1 -0
- package/dist/{transform-menu-CfHtcBZK.js → transform-menu-BTcu4qoY.js} +115 -108
- package/dist/transform-menu-BTcu4qoY.js.map +1 -0
- package/dist/utils/index.d.ts +2 -2
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -1
- package/package.json +5 -1
- package/dist/api-DeEl1PAz.d.ts.map +0 -1
- package/dist/get-config-xVIS83XY.d.ts.map +0 -1
- package/dist/index-bYDEHyKV.d.ts.map +0 -1
- package/dist/registry-D3TD67q0.js.map +0 -1
- package/dist/schema-DANtXGPk.js.map +0 -1
- package/dist/transform-menu-CfHtcBZK.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-A6l72GQD.js";
|
|
2
|
+
import { t as Config } from "./get-config-BSn00GVX.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/registry/api.d.ts
|
|
@@ -8,26 +8,26 @@ 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
|
-
$schema?: string | undefined;
|
|
17
15
|
style?: string | undefined;
|
|
18
|
-
|
|
16
|
+
iconLibrary?: string | undefined;
|
|
19
17
|
font?: string | undefined;
|
|
20
|
-
|
|
18
|
+
fontHeading?: string | undefined;
|
|
19
|
+
menuAccent?: "subtle" | "bold" | undefined;
|
|
20
|
+
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
21
|
+
$schema?: string | undefined;
|
|
21
22
|
tailwind?: {
|
|
22
23
|
config?: string | undefined;
|
|
23
|
-
css?: string | undefined;
|
|
24
24
|
baseColor?: string | undefined;
|
|
25
|
+
css?: string | undefined;
|
|
25
26
|
cssVariables?: boolean | undefined;
|
|
26
27
|
prefix?: string | undefined;
|
|
27
28
|
} | undefined;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
menuAccent?: "subtle" | "bold" | undefined;
|
|
29
|
+
typescript?: boolean | undefined;
|
|
30
|
+
rtl?: boolean | undefined;
|
|
31
31
|
aliases?: {
|
|
32
32
|
components?: string | undefined;
|
|
33
33
|
utils?: string | undefined;
|
|
@@ -43,24 +43,16 @@ declare function getRegistry(name: string, options?: {
|
|
|
43
43
|
}> | undefined;
|
|
44
44
|
} | undefined;
|
|
45
45
|
title?: string | undefined;
|
|
46
|
+
description?: string | undefined;
|
|
46
47
|
$schema?: string | undefined;
|
|
47
|
-
tailwind?: {
|
|
48
|
-
config?: {
|
|
49
|
-
content?: string[] | undefined;
|
|
50
|
-
theme?: Record<string, any> | undefined;
|
|
51
|
-
plugins?: string[] | undefined;
|
|
52
|
-
} | undefined;
|
|
53
|
-
} | undefined;
|
|
54
|
-
css?: Record<string, any> | undefined;
|
|
55
48
|
extends?: string | undefined;
|
|
56
49
|
author?: string | undefined;
|
|
57
|
-
description?: string | undefined;
|
|
58
50
|
dependencies?: string[] | undefined;
|
|
59
51
|
devDependencies?: string[] | undefined;
|
|
60
52
|
registryDependencies?: string[] | undefined;
|
|
61
53
|
files?: ({
|
|
62
54
|
path: string;
|
|
63
|
-
type: "registry:
|
|
55
|
+
type: "registry:file" | "registry:page";
|
|
64
56
|
target: string;
|
|
65
57
|
content?: string | undefined;
|
|
66
58
|
} | {
|
|
@@ -69,18 +61,25 @@ declare function getRegistry(name: string, options?: {
|
|
|
69
61
|
content?: string | undefined;
|
|
70
62
|
target?: string | undefined;
|
|
71
63
|
})[] | undefined;
|
|
64
|
+
tailwind?: {
|
|
65
|
+
config?: {
|
|
66
|
+
theme?: Record<string, any> | undefined;
|
|
67
|
+
content?: string[] | undefined;
|
|
68
|
+
plugins?: string[] | undefined;
|
|
69
|
+
} | undefined;
|
|
70
|
+
} | undefined;
|
|
72
71
|
cssVars?: {
|
|
73
72
|
theme?: Record<string, string> | undefined;
|
|
74
73
|
light?: Record<string, string> | undefined;
|
|
75
74
|
dark?: Record<string, string> | undefined;
|
|
76
75
|
} | undefined;
|
|
76
|
+
css?: Record<string, any> | undefined;
|
|
77
77
|
envVars?: Record<string, string> | undefined;
|
|
78
78
|
meta?: Record<string, any> | undefined;
|
|
79
79
|
docs?: string | undefined;
|
|
80
80
|
categories?: string[] | undefined;
|
|
81
81
|
} | {
|
|
82
82
|
name: string;
|
|
83
|
-
type: "registry:font";
|
|
84
83
|
font: {
|
|
85
84
|
family: string;
|
|
86
85
|
provider: "google";
|
|
@@ -89,25 +88,18 @@ declare function getRegistry(name: string, options?: {
|
|
|
89
88
|
weight?: string[] | undefined;
|
|
90
89
|
subsets?: string[] | undefined;
|
|
91
90
|
};
|
|
91
|
+
type: "registry:font";
|
|
92
92
|
title?: string | undefined;
|
|
93
|
+
description?: string | undefined;
|
|
93
94
|
$schema?: string | undefined;
|
|
94
|
-
tailwind?: {
|
|
95
|
-
config?: {
|
|
96
|
-
content?: string[] | undefined;
|
|
97
|
-
theme?: Record<string, any> | undefined;
|
|
98
|
-
plugins?: string[] | undefined;
|
|
99
|
-
} | undefined;
|
|
100
|
-
} | undefined;
|
|
101
|
-
css?: Record<string, any> | undefined;
|
|
102
95
|
extends?: string | undefined;
|
|
103
96
|
author?: string | undefined;
|
|
104
|
-
description?: string | undefined;
|
|
105
97
|
dependencies?: string[] | undefined;
|
|
106
98
|
devDependencies?: string[] | undefined;
|
|
107
99
|
registryDependencies?: string[] | undefined;
|
|
108
100
|
files?: ({
|
|
109
101
|
path: string;
|
|
110
|
-
type: "registry:
|
|
102
|
+
type: "registry:file" | "registry:page";
|
|
111
103
|
target: string;
|
|
112
104
|
content?: string | undefined;
|
|
113
105
|
} | {
|
|
@@ -116,37 +108,37 @@ declare function getRegistry(name: string, options?: {
|
|
|
116
108
|
content?: string | undefined;
|
|
117
109
|
target?: string | undefined;
|
|
118
110
|
})[] | undefined;
|
|
111
|
+
tailwind?: {
|
|
112
|
+
config?: {
|
|
113
|
+
theme?: Record<string, any> | undefined;
|
|
114
|
+
content?: string[] | undefined;
|
|
115
|
+
plugins?: string[] | undefined;
|
|
116
|
+
} | undefined;
|
|
117
|
+
} | undefined;
|
|
119
118
|
cssVars?: {
|
|
120
119
|
theme?: Record<string, string> | undefined;
|
|
121
120
|
light?: Record<string, string> | undefined;
|
|
122
121
|
dark?: Record<string, string> | undefined;
|
|
123
122
|
} | undefined;
|
|
123
|
+
css?: Record<string, any> | undefined;
|
|
124
124
|
envVars?: Record<string, string> | undefined;
|
|
125
125
|
meta?: Record<string, any> | undefined;
|
|
126
126
|
docs?: string | undefined;
|
|
127
127
|
categories?: string[] | undefined;
|
|
128
128
|
} | {
|
|
129
129
|
name: string;
|
|
130
|
-
type: "registry:
|
|
130
|
+
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";
|
|
131
131
|
title?: string | undefined;
|
|
132
|
+
description?: string | undefined;
|
|
132
133
|
$schema?: string | undefined;
|
|
133
|
-
tailwind?: {
|
|
134
|
-
config?: {
|
|
135
|
-
content?: string[] | undefined;
|
|
136
|
-
theme?: Record<string, any> | undefined;
|
|
137
|
-
plugins?: string[] | undefined;
|
|
138
|
-
} | undefined;
|
|
139
|
-
} | undefined;
|
|
140
|
-
css?: Record<string, any> | undefined;
|
|
141
134
|
extends?: string | undefined;
|
|
142
135
|
author?: string | undefined;
|
|
143
|
-
description?: string | undefined;
|
|
144
136
|
dependencies?: string[] | undefined;
|
|
145
137
|
devDependencies?: string[] | undefined;
|
|
146
138
|
registryDependencies?: string[] | undefined;
|
|
147
139
|
files?: ({
|
|
148
140
|
path: string;
|
|
149
|
-
type: "registry:
|
|
141
|
+
type: "registry:file" | "registry:page";
|
|
150
142
|
target: string;
|
|
151
143
|
content?: string | undefined;
|
|
152
144
|
} | {
|
|
@@ -155,16 +147,25 @@ declare function getRegistry(name: string, options?: {
|
|
|
155
147
|
content?: string | undefined;
|
|
156
148
|
target?: string | undefined;
|
|
157
149
|
})[] | undefined;
|
|
150
|
+
tailwind?: {
|
|
151
|
+
config?: {
|
|
152
|
+
theme?: Record<string, any> | undefined;
|
|
153
|
+
content?: string[] | undefined;
|
|
154
|
+
plugins?: string[] | undefined;
|
|
155
|
+
} | undefined;
|
|
156
|
+
} | undefined;
|
|
158
157
|
cssVars?: {
|
|
159
158
|
theme?: Record<string, string> | undefined;
|
|
160
159
|
light?: Record<string, string> | undefined;
|
|
161
160
|
dark?: Record<string, string> | undefined;
|
|
162
161
|
} | undefined;
|
|
162
|
+
css?: Record<string, any> | undefined;
|
|
163
163
|
envVars?: Record<string, string> | undefined;
|
|
164
164
|
meta?: Record<string, any> | undefined;
|
|
165
165
|
docs?: string | undefined;
|
|
166
166
|
categories?: string[] | undefined;
|
|
167
167
|
})[];
|
|
168
|
+
homepage: string;
|
|
168
169
|
}>;
|
|
169
170
|
declare function getRegistryItems(items: string[], options?: {
|
|
170
171
|
config?: Partial<Config>;
|
|
@@ -173,21 +174,22 @@ declare function getRegistryItems(items: string[], options?: {
|
|
|
173
174
|
name: string;
|
|
174
175
|
type: "registry:base";
|
|
175
176
|
config?: {
|
|
176
|
-
$schema?: string | undefined;
|
|
177
177
|
style?: string | undefined;
|
|
178
|
-
|
|
178
|
+
iconLibrary?: string | undefined;
|
|
179
179
|
font?: string | undefined;
|
|
180
|
-
|
|
180
|
+
fontHeading?: string | undefined;
|
|
181
|
+
menuAccent?: "subtle" | "bold" | undefined;
|
|
182
|
+
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
183
|
+
$schema?: string | undefined;
|
|
181
184
|
tailwind?: {
|
|
182
185
|
config?: string | undefined;
|
|
183
|
-
css?: string | undefined;
|
|
184
186
|
baseColor?: string | undefined;
|
|
187
|
+
css?: string | undefined;
|
|
185
188
|
cssVariables?: boolean | undefined;
|
|
186
189
|
prefix?: string | undefined;
|
|
187
190
|
} | undefined;
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
menuAccent?: "subtle" | "bold" | undefined;
|
|
191
|
+
typescript?: boolean | undefined;
|
|
192
|
+
rtl?: boolean | undefined;
|
|
191
193
|
aliases?: {
|
|
192
194
|
components?: string | undefined;
|
|
193
195
|
utils?: string | undefined;
|
|
@@ -203,24 +205,16 @@ declare function getRegistryItems(items: string[], options?: {
|
|
|
203
205
|
}> | undefined;
|
|
204
206
|
} | undefined;
|
|
205
207
|
title?: string | undefined;
|
|
208
|
+
description?: string | undefined;
|
|
206
209
|
$schema?: string | undefined;
|
|
207
|
-
tailwind?: {
|
|
208
|
-
config?: {
|
|
209
|
-
content?: string[] | undefined;
|
|
210
|
-
theme?: Record<string, any> | undefined;
|
|
211
|
-
plugins?: string[] | undefined;
|
|
212
|
-
} | undefined;
|
|
213
|
-
} | undefined;
|
|
214
|
-
css?: Record<string, any> | undefined;
|
|
215
210
|
extends?: string | undefined;
|
|
216
211
|
author?: string | undefined;
|
|
217
|
-
description?: string | undefined;
|
|
218
212
|
dependencies?: string[] | undefined;
|
|
219
213
|
devDependencies?: string[] | undefined;
|
|
220
214
|
registryDependencies?: string[] | undefined;
|
|
221
215
|
files?: ({
|
|
222
216
|
path: string;
|
|
223
|
-
type: "registry:
|
|
217
|
+
type: "registry:file" | "registry:page";
|
|
224
218
|
target: string;
|
|
225
219
|
content?: string | undefined;
|
|
226
220
|
} | {
|
|
@@ -229,18 +223,25 @@ declare function getRegistryItems(items: string[], options?: {
|
|
|
229
223
|
content?: string | undefined;
|
|
230
224
|
target?: string | undefined;
|
|
231
225
|
})[] | undefined;
|
|
226
|
+
tailwind?: {
|
|
227
|
+
config?: {
|
|
228
|
+
theme?: Record<string, any> | undefined;
|
|
229
|
+
content?: string[] | undefined;
|
|
230
|
+
plugins?: string[] | undefined;
|
|
231
|
+
} | undefined;
|
|
232
|
+
} | undefined;
|
|
232
233
|
cssVars?: {
|
|
233
234
|
theme?: Record<string, string> | undefined;
|
|
234
235
|
light?: Record<string, string> | undefined;
|
|
235
236
|
dark?: Record<string, string> | undefined;
|
|
236
237
|
} | undefined;
|
|
238
|
+
css?: Record<string, any> | undefined;
|
|
237
239
|
envVars?: Record<string, string> | undefined;
|
|
238
240
|
meta?: Record<string, any> | undefined;
|
|
239
241
|
docs?: string | undefined;
|
|
240
242
|
categories?: string[] | undefined;
|
|
241
243
|
} | {
|
|
242
244
|
name: string;
|
|
243
|
-
type: "registry:font";
|
|
244
245
|
font: {
|
|
245
246
|
family: string;
|
|
246
247
|
provider: "google";
|
|
@@ -249,25 +250,18 @@ declare function getRegistryItems(items: string[], options?: {
|
|
|
249
250
|
weight?: string[] | undefined;
|
|
250
251
|
subsets?: string[] | undefined;
|
|
251
252
|
};
|
|
253
|
+
type: "registry:font";
|
|
252
254
|
title?: string | undefined;
|
|
255
|
+
description?: string | undefined;
|
|
253
256
|
$schema?: string | undefined;
|
|
254
|
-
tailwind?: {
|
|
255
|
-
config?: {
|
|
256
|
-
content?: string[] | undefined;
|
|
257
|
-
theme?: Record<string, any> | undefined;
|
|
258
|
-
plugins?: string[] | undefined;
|
|
259
|
-
} | undefined;
|
|
260
|
-
} | undefined;
|
|
261
|
-
css?: Record<string, any> | undefined;
|
|
262
257
|
extends?: string | undefined;
|
|
263
258
|
author?: string | undefined;
|
|
264
|
-
description?: string | undefined;
|
|
265
259
|
dependencies?: string[] | undefined;
|
|
266
260
|
devDependencies?: string[] | undefined;
|
|
267
261
|
registryDependencies?: string[] | undefined;
|
|
268
262
|
files?: ({
|
|
269
263
|
path: string;
|
|
270
|
-
type: "registry:
|
|
264
|
+
type: "registry:file" | "registry:page";
|
|
271
265
|
target: string;
|
|
272
266
|
content?: string | undefined;
|
|
273
267
|
} | {
|
|
@@ -276,37 +270,37 @@ declare function getRegistryItems(items: string[], options?: {
|
|
|
276
270
|
content?: string | undefined;
|
|
277
271
|
target?: string | undefined;
|
|
278
272
|
})[] | undefined;
|
|
273
|
+
tailwind?: {
|
|
274
|
+
config?: {
|
|
275
|
+
theme?: Record<string, any> | undefined;
|
|
276
|
+
content?: string[] | undefined;
|
|
277
|
+
plugins?: string[] | undefined;
|
|
278
|
+
} | undefined;
|
|
279
|
+
} | undefined;
|
|
279
280
|
cssVars?: {
|
|
280
281
|
theme?: Record<string, string> | undefined;
|
|
281
282
|
light?: Record<string, string> | undefined;
|
|
282
283
|
dark?: Record<string, string> | undefined;
|
|
283
284
|
} | undefined;
|
|
285
|
+
css?: Record<string, any> | undefined;
|
|
284
286
|
envVars?: Record<string, string> | undefined;
|
|
285
287
|
meta?: Record<string, any> | undefined;
|
|
286
288
|
docs?: string | undefined;
|
|
287
289
|
categories?: string[] | undefined;
|
|
288
290
|
} | {
|
|
289
291
|
name: string;
|
|
290
|
-
type: "registry:
|
|
292
|
+
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";
|
|
291
293
|
title?: string | undefined;
|
|
294
|
+
description?: string | undefined;
|
|
292
295
|
$schema?: string | undefined;
|
|
293
|
-
tailwind?: {
|
|
294
|
-
config?: {
|
|
295
|
-
content?: string[] | undefined;
|
|
296
|
-
theme?: Record<string, any> | undefined;
|
|
297
|
-
plugins?: string[] | undefined;
|
|
298
|
-
} | undefined;
|
|
299
|
-
} | undefined;
|
|
300
|
-
css?: Record<string, any> | undefined;
|
|
301
296
|
extends?: string | undefined;
|
|
302
297
|
author?: string | undefined;
|
|
303
|
-
description?: string | undefined;
|
|
304
298
|
dependencies?: string[] | undefined;
|
|
305
299
|
devDependencies?: string[] | undefined;
|
|
306
300
|
registryDependencies?: string[] | undefined;
|
|
307
301
|
files?: ({
|
|
308
302
|
path: string;
|
|
309
|
-
type: "registry:
|
|
303
|
+
type: "registry:file" | "registry:page";
|
|
310
304
|
target: string;
|
|
311
305
|
content?: string | undefined;
|
|
312
306
|
} | {
|
|
@@ -315,11 +309,19 @@ declare function getRegistryItems(items: string[], options?: {
|
|
|
315
309
|
content?: string | undefined;
|
|
316
310
|
target?: string | undefined;
|
|
317
311
|
})[] | undefined;
|
|
312
|
+
tailwind?: {
|
|
313
|
+
config?: {
|
|
314
|
+
theme?: Record<string, any> | undefined;
|
|
315
|
+
content?: string[] | undefined;
|
|
316
|
+
plugins?: string[] | undefined;
|
|
317
|
+
} | undefined;
|
|
318
|
+
} | undefined;
|
|
318
319
|
cssVars?: {
|
|
319
320
|
theme?: Record<string, string> | undefined;
|
|
320
321
|
light?: Record<string, string> | undefined;
|
|
321
322
|
dark?: Record<string, string> | undefined;
|
|
322
323
|
} | undefined;
|
|
324
|
+
css?: Record<string, any> | undefined;
|
|
323
325
|
envVars?: Record<string, string> | undefined;
|
|
324
326
|
meta?: Record<string, any> | undefined;
|
|
325
327
|
docs?: string | undefined;
|
|
@@ -329,19 +331,11 @@ declare function resolveRegistryItems(items: string[], options?: {
|
|
|
329
331
|
config?: Partial<Config>;
|
|
330
332
|
useCache?: boolean;
|
|
331
333
|
}): Promise<{
|
|
332
|
-
tailwind?: {
|
|
333
|
-
config?: {
|
|
334
|
-
content?: string[] | undefined;
|
|
335
|
-
theme?: Record<string, any> | undefined;
|
|
336
|
-
plugins?: string[] | undefined;
|
|
337
|
-
} | undefined;
|
|
338
|
-
} | undefined;
|
|
339
|
-
css?: Record<string, any> | undefined;
|
|
340
334
|
dependencies?: string[] | undefined;
|
|
341
335
|
devDependencies?: string[] | undefined;
|
|
342
336
|
files?: ({
|
|
343
337
|
path: string;
|
|
344
|
-
type: "registry:
|
|
338
|
+
type: "registry:file" | "registry:page";
|
|
345
339
|
target: string;
|
|
346
340
|
content?: string | undefined;
|
|
347
341
|
} | {
|
|
@@ -350,16 +344,23 @@ declare function resolveRegistryItems(items: string[], options?: {
|
|
|
350
344
|
content?: string | undefined;
|
|
351
345
|
target?: string | undefined;
|
|
352
346
|
})[] | undefined;
|
|
347
|
+
tailwind?: {
|
|
348
|
+
config?: {
|
|
349
|
+
theme?: Record<string, any> | undefined;
|
|
350
|
+
content?: string[] | undefined;
|
|
351
|
+
plugins?: string[] | undefined;
|
|
352
|
+
} | undefined;
|
|
353
|
+
} | undefined;
|
|
353
354
|
cssVars?: {
|
|
354
355
|
theme?: Record<string, string> | undefined;
|
|
355
356
|
light?: Record<string, string> | undefined;
|
|
356
357
|
dark?: Record<string, string> | undefined;
|
|
357
358
|
} | undefined;
|
|
359
|
+
css?: Record<string, any> | undefined;
|
|
358
360
|
envVars?: Record<string, string> | undefined;
|
|
359
361
|
docs?: string | undefined;
|
|
360
362
|
fonts?: {
|
|
361
363
|
name: string;
|
|
362
|
-
type: "registry:font";
|
|
363
364
|
font: {
|
|
364
365
|
family: string;
|
|
365
366
|
provider: "google";
|
|
@@ -368,25 +369,18 @@ declare function resolveRegistryItems(items: string[], options?: {
|
|
|
368
369
|
weight?: string[] | undefined;
|
|
369
370
|
subsets?: string[] | undefined;
|
|
370
371
|
};
|
|
372
|
+
type: "registry:font";
|
|
371
373
|
title?: string | undefined;
|
|
374
|
+
description?: string | undefined;
|
|
372
375
|
$schema?: string | undefined;
|
|
373
|
-
tailwind?: {
|
|
374
|
-
config?: {
|
|
375
|
-
content?: string[] | undefined;
|
|
376
|
-
theme?: Record<string, any> | undefined;
|
|
377
|
-
plugins?: string[] | undefined;
|
|
378
|
-
} | undefined;
|
|
379
|
-
} | undefined;
|
|
380
|
-
css?: Record<string, any> | undefined;
|
|
381
376
|
extends?: string | undefined;
|
|
382
377
|
author?: string | undefined;
|
|
383
|
-
description?: string | undefined;
|
|
384
378
|
dependencies?: string[] | undefined;
|
|
385
379
|
devDependencies?: string[] | undefined;
|
|
386
380
|
registryDependencies?: string[] | undefined;
|
|
387
381
|
files?: ({
|
|
388
382
|
path: string;
|
|
389
|
-
type: "registry:
|
|
383
|
+
type: "registry:file" | "registry:page";
|
|
390
384
|
target: string;
|
|
391
385
|
content?: string | undefined;
|
|
392
386
|
} | {
|
|
@@ -395,11 +389,19 @@ declare function resolveRegistryItems(items: string[], options?: {
|
|
|
395
389
|
content?: string | undefined;
|
|
396
390
|
target?: string | undefined;
|
|
397
391
|
})[] | undefined;
|
|
392
|
+
tailwind?: {
|
|
393
|
+
config?: {
|
|
394
|
+
theme?: Record<string, any> | undefined;
|
|
395
|
+
content?: string[] | undefined;
|
|
396
|
+
plugins?: string[] | undefined;
|
|
397
|
+
} | undefined;
|
|
398
|
+
} | undefined;
|
|
398
399
|
cssVars?: {
|
|
399
400
|
theme?: Record<string, string> | undefined;
|
|
400
401
|
light?: Record<string, string> | undefined;
|
|
401
402
|
dark?: Record<string, string> | undefined;
|
|
402
403
|
} | undefined;
|
|
404
|
+
css?: Record<string, any> | undefined;
|
|
403
405
|
envVars?: Record<string, string> | undefined;
|
|
404
406
|
meta?: Record<string, any> | undefined;
|
|
405
407
|
docs?: string | undefined;
|
|
@@ -417,21 +419,22 @@ declare function getShadcnRegistryIndex(): Promise<({
|
|
|
417
419
|
name: string;
|
|
418
420
|
type: "registry:base";
|
|
419
421
|
config?: {
|
|
420
|
-
$schema?: string | undefined;
|
|
421
422
|
style?: string | undefined;
|
|
422
|
-
|
|
423
|
+
iconLibrary?: string | undefined;
|
|
423
424
|
font?: string | undefined;
|
|
424
|
-
|
|
425
|
+
fontHeading?: string | undefined;
|
|
426
|
+
menuAccent?: "subtle" | "bold" | undefined;
|
|
427
|
+
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
428
|
+
$schema?: string | undefined;
|
|
425
429
|
tailwind?: {
|
|
426
430
|
config?: string | undefined;
|
|
427
|
-
css?: string | undefined;
|
|
428
431
|
baseColor?: string | undefined;
|
|
432
|
+
css?: string | undefined;
|
|
429
433
|
cssVariables?: boolean | undefined;
|
|
430
434
|
prefix?: string | undefined;
|
|
431
435
|
} | undefined;
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
menuAccent?: "subtle" | "bold" | undefined;
|
|
436
|
+
typescript?: boolean | undefined;
|
|
437
|
+
rtl?: boolean | undefined;
|
|
435
438
|
aliases?: {
|
|
436
439
|
components?: string | undefined;
|
|
437
440
|
utils?: string | undefined;
|
|
@@ -447,24 +450,16 @@ declare function getShadcnRegistryIndex(): Promise<({
|
|
|
447
450
|
}> | undefined;
|
|
448
451
|
} | undefined;
|
|
449
452
|
title?: string | undefined;
|
|
453
|
+
description?: string | undefined;
|
|
450
454
|
$schema?: string | undefined;
|
|
451
|
-
tailwind?: {
|
|
452
|
-
config?: {
|
|
453
|
-
content?: string[] | undefined;
|
|
454
|
-
theme?: Record<string, any> | undefined;
|
|
455
|
-
plugins?: string[] | undefined;
|
|
456
|
-
} | undefined;
|
|
457
|
-
} | undefined;
|
|
458
|
-
css?: Record<string, any> | undefined;
|
|
459
455
|
extends?: string | undefined;
|
|
460
456
|
author?: string | undefined;
|
|
461
|
-
description?: string | undefined;
|
|
462
457
|
dependencies?: string[] | undefined;
|
|
463
458
|
devDependencies?: string[] | undefined;
|
|
464
459
|
registryDependencies?: string[] | undefined;
|
|
465
460
|
files?: ({
|
|
466
461
|
path: string;
|
|
467
|
-
type: "registry:
|
|
462
|
+
type: "registry:file" | "registry:page";
|
|
468
463
|
target: string;
|
|
469
464
|
content?: string | undefined;
|
|
470
465
|
} | {
|
|
@@ -473,18 +468,25 @@ declare function getShadcnRegistryIndex(): Promise<({
|
|
|
473
468
|
content?: string | undefined;
|
|
474
469
|
target?: string | undefined;
|
|
475
470
|
})[] | undefined;
|
|
471
|
+
tailwind?: {
|
|
472
|
+
config?: {
|
|
473
|
+
theme?: Record<string, any> | undefined;
|
|
474
|
+
content?: string[] | undefined;
|
|
475
|
+
plugins?: string[] | undefined;
|
|
476
|
+
} | undefined;
|
|
477
|
+
} | undefined;
|
|
476
478
|
cssVars?: {
|
|
477
479
|
theme?: Record<string, string> | undefined;
|
|
478
480
|
light?: Record<string, string> | undefined;
|
|
479
481
|
dark?: Record<string, string> | undefined;
|
|
480
482
|
} | undefined;
|
|
483
|
+
css?: Record<string, any> | undefined;
|
|
481
484
|
envVars?: Record<string, string> | undefined;
|
|
482
485
|
meta?: Record<string, any> | undefined;
|
|
483
486
|
docs?: string | undefined;
|
|
484
487
|
categories?: string[] | undefined;
|
|
485
488
|
} | {
|
|
486
489
|
name: string;
|
|
487
|
-
type: "registry:font";
|
|
488
490
|
font: {
|
|
489
491
|
family: string;
|
|
490
492
|
provider: "google";
|
|
@@ -493,25 +495,18 @@ declare function getShadcnRegistryIndex(): Promise<({
|
|
|
493
495
|
weight?: string[] | undefined;
|
|
494
496
|
subsets?: string[] | undefined;
|
|
495
497
|
};
|
|
498
|
+
type: "registry:font";
|
|
496
499
|
title?: string | undefined;
|
|
500
|
+
description?: string | undefined;
|
|
497
501
|
$schema?: string | undefined;
|
|
498
|
-
tailwind?: {
|
|
499
|
-
config?: {
|
|
500
|
-
content?: string[] | undefined;
|
|
501
|
-
theme?: Record<string, any> | undefined;
|
|
502
|
-
plugins?: string[] | undefined;
|
|
503
|
-
} | undefined;
|
|
504
|
-
} | undefined;
|
|
505
|
-
css?: Record<string, any> | undefined;
|
|
506
502
|
extends?: string | undefined;
|
|
507
503
|
author?: string | undefined;
|
|
508
|
-
description?: string | undefined;
|
|
509
504
|
dependencies?: string[] | undefined;
|
|
510
505
|
devDependencies?: string[] | undefined;
|
|
511
506
|
registryDependencies?: string[] | undefined;
|
|
512
507
|
files?: ({
|
|
513
508
|
path: string;
|
|
514
|
-
type: "registry:
|
|
509
|
+
type: "registry:file" | "registry:page";
|
|
515
510
|
target: string;
|
|
516
511
|
content?: string | undefined;
|
|
517
512
|
} | {
|
|
@@ -520,37 +515,37 @@ declare function getShadcnRegistryIndex(): Promise<({
|
|
|
520
515
|
content?: string | undefined;
|
|
521
516
|
target?: string | undefined;
|
|
522
517
|
})[] | undefined;
|
|
518
|
+
tailwind?: {
|
|
519
|
+
config?: {
|
|
520
|
+
theme?: Record<string, any> | undefined;
|
|
521
|
+
content?: string[] | undefined;
|
|
522
|
+
plugins?: string[] | undefined;
|
|
523
|
+
} | undefined;
|
|
524
|
+
} | undefined;
|
|
523
525
|
cssVars?: {
|
|
524
526
|
theme?: Record<string, string> | undefined;
|
|
525
527
|
light?: Record<string, string> | undefined;
|
|
526
528
|
dark?: Record<string, string> | undefined;
|
|
527
529
|
} | undefined;
|
|
530
|
+
css?: Record<string, any> | undefined;
|
|
528
531
|
envVars?: Record<string, string> | undefined;
|
|
529
532
|
meta?: Record<string, any> | undefined;
|
|
530
533
|
docs?: string | undefined;
|
|
531
534
|
categories?: string[] | undefined;
|
|
532
535
|
} | {
|
|
533
536
|
name: string;
|
|
534
|
-
type: "registry:
|
|
537
|
+
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";
|
|
535
538
|
title?: string | undefined;
|
|
539
|
+
description?: string | undefined;
|
|
536
540
|
$schema?: string | undefined;
|
|
537
|
-
tailwind?: {
|
|
538
|
-
config?: {
|
|
539
|
-
content?: string[] | undefined;
|
|
540
|
-
theme?: Record<string, any> | undefined;
|
|
541
|
-
plugins?: string[] | undefined;
|
|
542
|
-
} | undefined;
|
|
543
|
-
} | undefined;
|
|
544
|
-
css?: Record<string, any> | undefined;
|
|
545
541
|
extends?: string | undefined;
|
|
546
542
|
author?: string | undefined;
|
|
547
|
-
description?: string | undefined;
|
|
548
543
|
dependencies?: string[] | undefined;
|
|
549
544
|
devDependencies?: string[] | undefined;
|
|
550
545
|
registryDependencies?: string[] | undefined;
|
|
551
546
|
files?: ({
|
|
552
547
|
path: string;
|
|
553
|
-
type: "registry:
|
|
548
|
+
type: "registry:file" | "registry:page";
|
|
554
549
|
target: string;
|
|
555
550
|
content?: string | undefined;
|
|
556
551
|
} | {
|
|
@@ -559,11 +554,19 @@ declare function getShadcnRegistryIndex(): Promise<({
|
|
|
559
554
|
content?: string | undefined;
|
|
560
555
|
target?: string | undefined;
|
|
561
556
|
})[] | undefined;
|
|
557
|
+
tailwind?: {
|
|
558
|
+
config?: {
|
|
559
|
+
theme?: Record<string, any> | undefined;
|
|
560
|
+
content?: string[] | undefined;
|
|
561
|
+
plugins?: string[] | undefined;
|
|
562
|
+
} | undefined;
|
|
563
|
+
} | undefined;
|
|
562
564
|
cssVars?: {
|
|
563
565
|
theme?: Record<string, string> | undefined;
|
|
564
566
|
light?: Record<string, string> | undefined;
|
|
565
567
|
dark?: Record<string, string> | undefined;
|
|
566
568
|
} | undefined;
|
|
569
|
+
css?: Record<string, any> | undefined;
|
|
567
570
|
envVars?: Record<string, string> | undefined;
|
|
568
571
|
meta?: Record<string, any> | undefined;
|
|
569
572
|
docs?: string | undefined;
|
|
@@ -578,17 +581,23 @@ declare function getRegistryBaseColors(): Promise<readonly [{
|
|
|
578
581
|
readonly name: "neutral";
|
|
579
582
|
readonly label: "Neutral";
|
|
580
583
|
}, {
|
|
581
|
-
readonly name: "
|
|
582
|
-
readonly label: "
|
|
584
|
+
readonly name: "stone";
|
|
585
|
+
readonly label: "Stone";
|
|
583
586
|
}, {
|
|
584
587
|
readonly name: "zinc";
|
|
585
588
|
readonly label: "Zinc";
|
|
586
589
|
}, {
|
|
587
|
-
readonly name: "
|
|
588
|
-
readonly label: "
|
|
590
|
+
readonly name: "mauve";
|
|
591
|
+
readonly label: "Mauve";
|
|
592
|
+
}, {
|
|
593
|
+
readonly name: "olive";
|
|
594
|
+
readonly label: "Olive";
|
|
595
|
+
}, {
|
|
596
|
+
readonly name: "mist";
|
|
597
|
+
readonly label: "Mist";
|
|
589
598
|
}, {
|
|
590
|
-
readonly name: "
|
|
591
|
-
readonly label: "
|
|
599
|
+
readonly name: "taupe";
|
|
600
|
+
readonly label: "Taupe";
|
|
592
601
|
}]>;
|
|
593
602
|
/**
|
|
594
603
|
* Get available component library bases (e.g., Reka UI).
|
|
@@ -662,6 +671,30 @@ declare function getRegistryFonts(): readonly [{
|
|
|
662
671
|
readonly import: "@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');";
|
|
663
672
|
readonly variable: "--font-sans";
|
|
664
673
|
readonly weight: readonly ["400", "500", "600", "700"];
|
|
674
|
+
}, {
|
|
675
|
+
readonly name: "geist-sans";
|
|
676
|
+
readonly label: "Geist";
|
|
677
|
+
readonly family: "Geist";
|
|
678
|
+
readonly provider: "google";
|
|
679
|
+
readonly import: "@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&display=swap');";
|
|
680
|
+
readonly variable: "--font-sans";
|
|
681
|
+
readonly weight: readonly ["400", "500", "600", "700"];
|
|
682
|
+
}, {
|
|
683
|
+
readonly name: "noto-sans";
|
|
684
|
+
readonly label: "Noto Sans";
|
|
685
|
+
readonly family: "Noto Sans";
|
|
686
|
+
readonly provider: "google";
|
|
687
|
+
readonly import: "@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700&display=swap');";
|
|
688
|
+
readonly variable: "--font-sans";
|
|
689
|
+
readonly weight: readonly ["400", "500", "600", "700"];
|
|
690
|
+
}, {
|
|
691
|
+
readonly name: "nunito-sans";
|
|
692
|
+
readonly label: "Nunito Sans";
|
|
693
|
+
readonly family: "Nunito Sans";
|
|
694
|
+
readonly provider: "google";
|
|
695
|
+
readonly import: "@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;500;600;700&display=swap');";
|
|
696
|
+
readonly variable: "--font-sans";
|
|
697
|
+
readonly weight: readonly ["400", "500", "600", "700"];
|
|
665
698
|
}, {
|
|
666
699
|
readonly name: "figtree";
|
|
667
700
|
readonly label: "Figtree";
|
|
@@ -671,27 +704,51 @@ declare function getRegistryFonts(): readonly [{
|
|
|
671
704
|
readonly variable: "--font-sans";
|
|
672
705
|
readonly weight: readonly ["400", "500", "600", "700"];
|
|
673
706
|
}, {
|
|
674
|
-
readonly name: "
|
|
675
|
-
readonly label: "
|
|
676
|
-
readonly family: "
|
|
707
|
+
readonly name: "roboto";
|
|
708
|
+
readonly label: "Roboto";
|
|
709
|
+
readonly family: "Roboto";
|
|
677
710
|
readonly provider: "google";
|
|
678
|
-
readonly import: "@import url('https://fonts.googleapis.com/css2?family=
|
|
679
|
-
readonly variable: "--font-
|
|
711
|
+
readonly import: "@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&display=swap');";
|
|
712
|
+
readonly variable: "--font-sans";
|
|
680
713
|
readonly weight: readonly ["400", "500", "600", "700"];
|
|
681
714
|
}, {
|
|
682
|
-
readonly name: "
|
|
683
|
-
readonly label: "
|
|
684
|
-
readonly family: "
|
|
715
|
+
readonly name: "raleway";
|
|
716
|
+
readonly label: "Raleway";
|
|
717
|
+
readonly family: "Raleway";
|
|
685
718
|
readonly provider: "google";
|
|
686
|
-
readonly import: "@import url('https://fonts.googleapis.com/css2?family=
|
|
719
|
+
readonly import: "@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&display=swap');";
|
|
720
|
+
readonly variable: "--font-sans";
|
|
721
|
+
readonly weight: readonly ["400", "500", "600", "700"];
|
|
722
|
+
}, {
|
|
723
|
+
readonly name: "dm-sans";
|
|
724
|
+
readonly label: "DM Sans";
|
|
725
|
+
readonly family: "DM Sans";
|
|
726
|
+
readonly provider: "google";
|
|
727
|
+
readonly import: "@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');";
|
|
728
|
+
readonly variable: "--font-sans";
|
|
729
|
+
readonly weight: readonly ["400", "500", "600", "700"];
|
|
730
|
+
}, {
|
|
731
|
+
readonly name: "public-sans";
|
|
732
|
+
readonly label: "Public Sans";
|
|
733
|
+
readonly family: "Public Sans";
|
|
734
|
+
readonly provider: "google";
|
|
735
|
+
readonly import: "@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@400;500;600;700&display=swap');";
|
|
687
736
|
readonly variable: "--font-sans";
|
|
688
737
|
readonly weight: readonly ["400", "500", "600", "700"];
|
|
689
738
|
}, {
|
|
690
|
-
readonly name: "
|
|
691
|
-
readonly label: "
|
|
692
|
-
readonly family: "
|
|
739
|
+
readonly name: "outfit";
|
|
740
|
+
readonly label: "Outfit";
|
|
741
|
+
readonly family: "Outfit";
|
|
693
742
|
readonly provider: "google";
|
|
694
|
-
readonly import: "@import url('https://fonts.googleapis.com/css2?family=
|
|
743
|
+
readonly import: "@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap');";
|
|
744
|
+
readonly variable: "--font-sans";
|
|
745
|
+
readonly weight: readonly ["400", "500", "600", "700"];
|
|
746
|
+
}, {
|
|
747
|
+
readonly name: "jetbrains-mono";
|
|
748
|
+
readonly label: "JetBrains Mono";
|
|
749
|
+
readonly family: "JetBrains Mono";
|
|
750
|
+
readonly provider: "google";
|
|
751
|
+
readonly import: "@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap');";
|
|
695
752
|
readonly variable: "--font-mono";
|
|
696
753
|
readonly weight: readonly ["400", "500", "600", "700"];
|
|
697
754
|
}];
|
|
@@ -767,6 +824,30 @@ declare function getRegistryFont(name: string): {
|
|
|
767
824
|
readonly import: "@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');";
|
|
768
825
|
readonly variable: "--font-sans";
|
|
769
826
|
readonly weight: readonly ["400", "500", "600", "700"];
|
|
827
|
+
} | {
|
|
828
|
+
readonly name: "geist-sans";
|
|
829
|
+
readonly label: "Geist";
|
|
830
|
+
readonly family: "Geist";
|
|
831
|
+
readonly provider: "google";
|
|
832
|
+
readonly import: "@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&display=swap');";
|
|
833
|
+
readonly variable: "--font-sans";
|
|
834
|
+
readonly weight: readonly ["400", "500", "600", "700"];
|
|
835
|
+
} | {
|
|
836
|
+
readonly name: "noto-sans";
|
|
837
|
+
readonly label: "Noto Sans";
|
|
838
|
+
readonly family: "Noto Sans";
|
|
839
|
+
readonly provider: "google";
|
|
840
|
+
readonly import: "@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700&display=swap');";
|
|
841
|
+
readonly variable: "--font-sans";
|
|
842
|
+
readonly weight: readonly ["400", "500", "600", "700"];
|
|
843
|
+
} | {
|
|
844
|
+
readonly name: "nunito-sans";
|
|
845
|
+
readonly label: "Nunito Sans";
|
|
846
|
+
readonly family: "Nunito Sans";
|
|
847
|
+
readonly provider: "google";
|
|
848
|
+
readonly import: "@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;500;600;700&display=swap');";
|
|
849
|
+
readonly variable: "--font-sans";
|
|
850
|
+
readonly weight: readonly ["400", "500", "600", "700"];
|
|
770
851
|
} | {
|
|
771
852
|
readonly name: "figtree";
|
|
772
853
|
readonly label: "Figtree";
|
|
@@ -776,193 +857,166 @@ declare function getRegistryFont(name: string): {
|
|
|
776
857
|
readonly variable: "--font-sans";
|
|
777
858
|
readonly weight: readonly ["400", "500", "600", "700"];
|
|
778
859
|
} | {
|
|
779
|
-
readonly name: "
|
|
780
|
-
readonly label: "
|
|
781
|
-
readonly family: "
|
|
860
|
+
readonly name: "roboto";
|
|
861
|
+
readonly label: "Roboto";
|
|
862
|
+
readonly family: "Roboto";
|
|
782
863
|
readonly provider: "google";
|
|
783
|
-
readonly import: "@import url('https://fonts.googleapis.com/css2?family=
|
|
784
|
-
readonly variable: "--font-
|
|
864
|
+
readonly import: "@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&display=swap');";
|
|
865
|
+
readonly variable: "--font-sans";
|
|
785
866
|
readonly weight: readonly ["400", "500", "600", "700"];
|
|
786
867
|
} | {
|
|
787
|
-
readonly name: "
|
|
788
|
-
readonly label: "
|
|
789
|
-
readonly family: "
|
|
868
|
+
readonly name: "raleway";
|
|
869
|
+
readonly label: "Raleway";
|
|
870
|
+
readonly family: "Raleway";
|
|
790
871
|
readonly provider: "google";
|
|
791
|
-
readonly import: "@import url('https://fonts.googleapis.com/css2?family=
|
|
872
|
+
readonly import: "@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&display=swap');";
|
|
873
|
+
readonly variable: "--font-sans";
|
|
874
|
+
readonly weight: readonly ["400", "500", "600", "700"];
|
|
875
|
+
} | {
|
|
876
|
+
readonly name: "dm-sans";
|
|
877
|
+
readonly label: "DM Sans";
|
|
878
|
+
readonly family: "DM Sans";
|
|
879
|
+
readonly provider: "google";
|
|
880
|
+
readonly import: "@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');";
|
|
881
|
+
readonly variable: "--font-sans";
|
|
882
|
+
readonly weight: readonly ["400", "500", "600", "700"];
|
|
883
|
+
} | {
|
|
884
|
+
readonly name: "public-sans";
|
|
885
|
+
readonly label: "Public Sans";
|
|
886
|
+
readonly family: "Public Sans";
|
|
887
|
+
readonly provider: "google";
|
|
888
|
+
readonly import: "@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@400;500;600;700&display=swap');";
|
|
889
|
+
readonly variable: "--font-sans";
|
|
890
|
+
readonly weight: readonly ["400", "500", "600", "700"];
|
|
891
|
+
} | {
|
|
892
|
+
readonly name: "outfit";
|
|
893
|
+
readonly label: "Outfit";
|
|
894
|
+
readonly family: "Outfit";
|
|
895
|
+
readonly provider: "google";
|
|
896
|
+
readonly import: "@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap');";
|
|
792
897
|
readonly variable: "--font-sans";
|
|
793
898
|
readonly weight: readonly ["400", "500", "600", "700"];
|
|
794
899
|
} | {
|
|
795
|
-
readonly name: "
|
|
796
|
-
readonly label: "
|
|
797
|
-
readonly family: "
|
|
900
|
+
readonly name: "jetbrains-mono";
|
|
901
|
+
readonly label: "JetBrains Mono";
|
|
902
|
+
readonly family: "JetBrains Mono";
|
|
798
903
|
readonly provider: "google";
|
|
799
|
-
readonly import: "@import url('https://fonts.googleapis.com/css2?family=
|
|
904
|
+
readonly import: "@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap');";
|
|
800
905
|
readonly variable: "--font-mono";
|
|
801
906
|
readonly weight: readonly ["400", "500", "600", "700"];
|
|
802
907
|
} | undefined;
|
|
803
908
|
/**
|
|
804
909
|
* Get available presets (predefined combinations of base, style, icons, and font).
|
|
805
910
|
*/
|
|
806
|
-
declare function getRegistryPresets():
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
readonly title: "Nova";
|
|
822
|
-
readonly description: "Nova / Hugeicons / Inter";
|
|
823
|
-
readonly base: "reka";
|
|
824
|
-
readonly style: "nova";
|
|
825
|
-
readonly baseColor: "neutral";
|
|
826
|
-
readonly theme: "neutral";
|
|
827
|
-
readonly iconLibrary: "hugeicons";
|
|
828
|
-
readonly font: "inter";
|
|
829
|
-
readonly menuAccent: "subtle";
|
|
830
|
-
readonly menuColor: "default";
|
|
831
|
-
readonly radius: "default";
|
|
832
|
-
}, {
|
|
833
|
-
readonly name: "reka-maia";
|
|
834
|
-
readonly title: "Maia";
|
|
835
|
-
readonly description: "Maia / Hugeicons / Figtree";
|
|
836
|
-
readonly base: "reka";
|
|
837
|
-
readonly style: "maia";
|
|
838
|
-
readonly baseColor: "neutral";
|
|
839
|
-
readonly theme: "neutral";
|
|
840
|
-
readonly iconLibrary: "hugeicons";
|
|
841
|
-
readonly font: "figtree";
|
|
842
|
-
readonly menuAccent: "subtle";
|
|
843
|
-
readonly menuColor: "default";
|
|
844
|
-
readonly radius: "default";
|
|
845
|
-
}, {
|
|
846
|
-
readonly name: "reka-lyra";
|
|
847
|
-
readonly title: "Lyra";
|
|
848
|
-
readonly description: "Lyra / Hugeicons / JetBrains Mono";
|
|
849
|
-
readonly base: "reka";
|
|
850
|
-
readonly style: "lyra";
|
|
851
|
-
readonly baseColor: "neutral";
|
|
852
|
-
readonly theme: "neutral";
|
|
853
|
-
readonly iconLibrary: "hugeicons";
|
|
854
|
-
readonly font: "jetbrains-mono";
|
|
855
|
-
readonly menuAccent: "subtle";
|
|
856
|
-
readonly menuColor: "default";
|
|
857
|
-
readonly radius: "default";
|
|
858
|
-
}, {
|
|
859
|
-
readonly name: "reka-mira";
|
|
860
|
-
readonly title: "Mira";
|
|
861
|
-
readonly description: "Mira / Hugeicons / Inter";
|
|
862
|
-
readonly base: "reka";
|
|
863
|
-
readonly style: "mira";
|
|
864
|
-
readonly baseColor: "neutral";
|
|
865
|
-
readonly theme: "neutral";
|
|
866
|
-
readonly iconLibrary: "hugeicons";
|
|
867
|
-
readonly font: "inter";
|
|
868
|
-
readonly menuAccent: "subtle";
|
|
869
|
-
readonly menuColor: "default";
|
|
870
|
-
readonly radius: "default";
|
|
871
|
-
}, {
|
|
872
|
-
readonly name: "reka-luma";
|
|
873
|
-
readonly title: "Luma";
|
|
874
|
-
readonly description: "Luma / Lucide / Inter";
|
|
875
|
-
readonly base: "reka";
|
|
876
|
-
readonly style: "luma";
|
|
877
|
-
readonly baseColor: "neutral";
|
|
878
|
-
readonly theme: "neutral";
|
|
879
|
-
readonly iconLibrary: "lucide";
|
|
880
|
-
readonly font: "inter";
|
|
881
|
-
readonly menuAccent: "subtle";
|
|
882
|
-
readonly menuColor: "default";
|
|
883
|
-
readonly radius: "default";
|
|
884
|
-
}];
|
|
885
|
-
/**
|
|
886
|
-
* Get a specific preset by name.
|
|
887
|
-
*/
|
|
888
|
-
declare function getRegistryPreset(name: string): {
|
|
889
|
-
readonly name: "reka-vega";
|
|
890
|
-
readonly title: "Vega";
|
|
891
|
-
readonly description: "Vega / Lucide / Inter";
|
|
892
|
-
readonly base: "reka";
|
|
893
|
-
readonly style: "vega";
|
|
894
|
-
readonly baseColor: "neutral";
|
|
895
|
-
readonly theme: "neutral";
|
|
896
|
-
readonly iconLibrary: "lucide";
|
|
897
|
-
readonly font: "inter";
|
|
898
|
-
readonly menuAccent: "subtle";
|
|
899
|
-
readonly menuColor: "default";
|
|
900
|
-
readonly radius: "default";
|
|
911
|
+
declare function getRegistryPresets(): ({
|
|
912
|
+
title: string;
|
|
913
|
+
description: string;
|
|
914
|
+
base: string;
|
|
915
|
+
style: string;
|
|
916
|
+
baseColor: string;
|
|
917
|
+
theme: string;
|
|
918
|
+
iconLibrary: string;
|
|
919
|
+
font: string;
|
|
920
|
+
fontHeading: string;
|
|
921
|
+
menuAccent: "subtle";
|
|
922
|
+
menuColor: "default";
|
|
923
|
+
radius: string;
|
|
924
|
+
rtl: boolean;
|
|
925
|
+
name: string;
|
|
901
926
|
} | {
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
927
|
+
title: string;
|
|
928
|
+
description: string;
|
|
929
|
+
base: string;
|
|
930
|
+
style: string;
|
|
931
|
+
baseColor: string;
|
|
932
|
+
theme: string;
|
|
933
|
+
iconLibrary: string;
|
|
934
|
+
font: string;
|
|
935
|
+
fontHeading: string;
|
|
936
|
+
menuAccent: "subtle";
|
|
937
|
+
menuColor: "default";
|
|
938
|
+
radius: string;
|
|
939
|
+
rtl: boolean;
|
|
940
|
+
name: string;
|
|
914
941
|
} | {
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
942
|
+
title: string;
|
|
943
|
+
description: string;
|
|
944
|
+
base: string;
|
|
945
|
+
style: string;
|
|
946
|
+
baseColor: string;
|
|
947
|
+
theme: string;
|
|
948
|
+
iconLibrary: string;
|
|
949
|
+
font: string;
|
|
950
|
+
fontHeading: string;
|
|
951
|
+
menuAccent: "subtle";
|
|
952
|
+
menuColor: "default";
|
|
953
|
+
radius: string;
|
|
954
|
+
rtl: boolean;
|
|
955
|
+
name: string;
|
|
927
956
|
} | {
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
957
|
+
title: string;
|
|
958
|
+
description: string;
|
|
959
|
+
base: string;
|
|
960
|
+
style: string;
|
|
961
|
+
baseColor: string;
|
|
962
|
+
theme: string;
|
|
963
|
+
iconLibrary: string;
|
|
964
|
+
font: string;
|
|
965
|
+
fontHeading: string;
|
|
966
|
+
menuAccent: "subtle";
|
|
967
|
+
menuColor: "default";
|
|
968
|
+
radius: string;
|
|
969
|
+
rtl: boolean;
|
|
970
|
+
name: string;
|
|
940
971
|
} | {
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
972
|
+
title: string;
|
|
973
|
+
description: string;
|
|
974
|
+
base: string;
|
|
975
|
+
style: string;
|
|
976
|
+
baseColor: string;
|
|
977
|
+
theme: string;
|
|
978
|
+
iconLibrary: string;
|
|
979
|
+
font: string;
|
|
980
|
+
fontHeading: string;
|
|
981
|
+
menuAccent: "subtle";
|
|
982
|
+
menuColor: "default";
|
|
983
|
+
radius: string;
|
|
984
|
+
rtl: boolean;
|
|
985
|
+
name: string;
|
|
953
986
|
} | {
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
987
|
+
title: string;
|
|
988
|
+
description: string;
|
|
989
|
+
base: string;
|
|
990
|
+
style: string;
|
|
991
|
+
baseColor: string;
|
|
992
|
+
theme: string;
|
|
993
|
+
iconLibrary: string;
|
|
994
|
+
font: string;
|
|
995
|
+
fontHeading: string;
|
|
996
|
+
menuAccent: "subtle";
|
|
997
|
+
menuColor: "default";
|
|
998
|
+
radius: string;
|
|
999
|
+
rtl: boolean;
|
|
1000
|
+
name: string;
|
|
1001
|
+
})[];
|
|
1002
|
+
/**
|
|
1003
|
+
* Get a specific preset by name.
|
|
1004
|
+
*/
|
|
1005
|
+
declare function getRegistryPreset(name: string): {
|
|
1006
|
+
title: string;
|
|
1007
|
+
description: string;
|
|
1008
|
+
base: string;
|
|
1009
|
+
style: string;
|
|
1010
|
+
baseColor: string;
|
|
1011
|
+
theme: string;
|
|
1012
|
+
iconLibrary: string;
|
|
1013
|
+
font: string;
|
|
1014
|
+
fontHeading: string;
|
|
1015
|
+
menuAccent: "subtle";
|
|
1016
|
+
menuColor: "default";
|
|
1017
|
+
radius: string;
|
|
1018
|
+
rtl: boolean;
|
|
1019
|
+
name: string;
|
|
966
1020
|
} | undefined;
|
|
967
1021
|
declare function getRegistryBaseColor(baseColor: string): Promise<{
|
|
968
1022
|
cssVars: {
|
|
@@ -989,21 +1043,22 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
|
|
|
989
1043
|
name: string;
|
|
990
1044
|
type: "registry:base";
|
|
991
1045
|
config?: {
|
|
992
|
-
$schema?: string | undefined;
|
|
993
1046
|
style?: string | undefined;
|
|
994
|
-
|
|
1047
|
+
iconLibrary?: string | undefined;
|
|
995
1048
|
font?: string | undefined;
|
|
996
|
-
|
|
1049
|
+
fontHeading?: string | undefined;
|
|
1050
|
+
menuAccent?: "subtle" | "bold" | undefined;
|
|
1051
|
+
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
1052
|
+
$schema?: string | undefined;
|
|
997
1053
|
tailwind?: {
|
|
998
1054
|
config?: string | undefined;
|
|
999
|
-
css?: string | undefined;
|
|
1000
1055
|
baseColor?: string | undefined;
|
|
1056
|
+
css?: string | undefined;
|
|
1001
1057
|
cssVariables?: boolean | undefined;
|
|
1002
1058
|
prefix?: string | undefined;
|
|
1003
1059
|
} | undefined;
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
menuAccent?: "subtle" | "bold" | undefined;
|
|
1060
|
+
typescript?: boolean | undefined;
|
|
1061
|
+
rtl?: boolean | undefined;
|
|
1007
1062
|
aliases?: {
|
|
1008
1063
|
components?: string | undefined;
|
|
1009
1064
|
utils?: string | undefined;
|
|
@@ -1019,24 +1074,16 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
|
|
|
1019
1074
|
}> | undefined;
|
|
1020
1075
|
} | undefined;
|
|
1021
1076
|
title?: string | undefined;
|
|
1077
|
+
description?: string | undefined;
|
|
1022
1078
|
$schema?: string | undefined;
|
|
1023
|
-
tailwind?: {
|
|
1024
|
-
config?: {
|
|
1025
|
-
content?: string[] | undefined;
|
|
1026
|
-
theme?: Record<string, any> | undefined;
|
|
1027
|
-
plugins?: string[] | undefined;
|
|
1028
|
-
} | undefined;
|
|
1029
|
-
} | undefined;
|
|
1030
|
-
css?: Record<string, any> | undefined;
|
|
1031
1079
|
extends?: string | undefined;
|
|
1032
1080
|
author?: string | undefined;
|
|
1033
|
-
description?: string | undefined;
|
|
1034
1081
|
dependencies?: string[] | undefined;
|
|
1035
1082
|
devDependencies?: string[] | undefined;
|
|
1036
1083
|
registryDependencies?: string[] | undefined;
|
|
1037
1084
|
files?: ({
|
|
1038
1085
|
path: string;
|
|
1039
|
-
type: "registry:
|
|
1086
|
+
type: "registry:file" | "registry:page";
|
|
1040
1087
|
target: string;
|
|
1041
1088
|
content?: string | undefined;
|
|
1042
1089
|
} | {
|
|
@@ -1045,18 +1092,25 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
|
|
|
1045
1092
|
content?: string | undefined;
|
|
1046
1093
|
target?: string | undefined;
|
|
1047
1094
|
})[] | undefined;
|
|
1095
|
+
tailwind?: {
|
|
1096
|
+
config?: {
|
|
1097
|
+
theme?: Record<string, any> | undefined;
|
|
1098
|
+
content?: string[] | undefined;
|
|
1099
|
+
plugins?: string[] | undefined;
|
|
1100
|
+
} | undefined;
|
|
1101
|
+
} | undefined;
|
|
1048
1102
|
cssVars?: {
|
|
1049
1103
|
theme?: Record<string, string> | undefined;
|
|
1050
1104
|
light?: Record<string, string> | undefined;
|
|
1051
1105
|
dark?: Record<string, string> | undefined;
|
|
1052
1106
|
} | undefined;
|
|
1107
|
+
css?: Record<string, any> | undefined;
|
|
1053
1108
|
envVars?: Record<string, string> | undefined;
|
|
1054
1109
|
meta?: Record<string, any> | undefined;
|
|
1055
1110
|
docs?: string | undefined;
|
|
1056
1111
|
categories?: string[] | undefined;
|
|
1057
1112
|
} | {
|
|
1058
1113
|
name: string;
|
|
1059
|
-
type: "registry:font";
|
|
1060
1114
|
font: {
|
|
1061
1115
|
family: string;
|
|
1062
1116
|
provider: "google";
|
|
@@ -1065,25 +1119,18 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
|
|
|
1065
1119
|
weight?: string[] | undefined;
|
|
1066
1120
|
subsets?: string[] | undefined;
|
|
1067
1121
|
};
|
|
1122
|
+
type: "registry:font";
|
|
1068
1123
|
title?: string | undefined;
|
|
1124
|
+
description?: string | undefined;
|
|
1069
1125
|
$schema?: string | undefined;
|
|
1070
|
-
tailwind?: {
|
|
1071
|
-
config?: {
|
|
1072
|
-
content?: string[] | undefined;
|
|
1073
|
-
theme?: Record<string, any> | undefined;
|
|
1074
|
-
plugins?: string[] | undefined;
|
|
1075
|
-
} | undefined;
|
|
1076
|
-
} | undefined;
|
|
1077
|
-
css?: Record<string, any> | undefined;
|
|
1078
1126
|
extends?: string | undefined;
|
|
1079
1127
|
author?: string | undefined;
|
|
1080
|
-
description?: string | undefined;
|
|
1081
1128
|
dependencies?: string[] | undefined;
|
|
1082
1129
|
devDependencies?: string[] | undefined;
|
|
1083
1130
|
registryDependencies?: string[] | undefined;
|
|
1084
1131
|
files?: ({
|
|
1085
1132
|
path: string;
|
|
1086
|
-
type: "registry:
|
|
1133
|
+
type: "registry:file" | "registry:page";
|
|
1087
1134
|
target: string;
|
|
1088
1135
|
content?: string | undefined;
|
|
1089
1136
|
} | {
|
|
@@ -1092,37 +1139,37 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
|
|
|
1092
1139
|
content?: string | undefined;
|
|
1093
1140
|
target?: string | undefined;
|
|
1094
1141
|
})[] | undefined;
|
|
1142
|
+
tailwind?: {
|
|
1143
|
+
config?: {
|
|
1144
|
+
theme?: Record<string, any> | undefined;
|
|
1145
|
+
content?: string[] | undefined;
|
|
1146
|
+
plugins?: string[] | undefined;
|
|
1147
|
+
} | undefined;
|
|
1148
|
+
} | undefined;
|
|
1095
1149
|
cssVars?: {
|
|
1096
1150
|
theme?: Record<string, string> | undefined;
|
|
1097
1151
|
light?: Record<string, string> | undefined;
|
|
1098
1152
|
dark?: Record<string, string> | undefined;
|
|
1099
1153
|
} | undefined;
|
|
1154
|
+
css?: Record<string, any> | undefined;
|
|
1100
1155
|
envVars?: Record<string, string> | undefined;
|
|
1101
1156
|
meta?: Record<string, any> | undefined;
|
|
1102
1157
|
docs?: string | undefined;
|
|
1103
1158
|
categories?: string[] | undefined;
|
|
1104
1159
|
} | {
|
|
1105
1160
|
name: string;
|
|
1106
|
-
type: "registry:
|
|
1161
|
+
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";
|
|
1107
1162
|
title?: string | undefined;
|
|
1163
|
+
description?: string | undefined;
|
|
1108
1164
|
$schema?: string | undefined;
|
|
1109
|
-
tailwind?: {
|
|
1110
|
-
config?: {
|
|
1111
|
-
content?: string[] | undefined;
|
|
1112
|
-
theme?: Record<string, any> | undefined;
|
|
1113
|
-
plugins?: string[] | undefined;
|
|
1114
|
-
} | undefined;
|
|
1115
|
-
} | undefined;
|
|
1116
|
-
css?: Record<string, any> | undefined;
|
|
1117
1165
|
extends?: string | undefined;
|
|
1118
1166
|
author?: string | undefined;
|
|
1119
|
-
description?: string | undefined;
|
|
1120
1167
|
dependencies?: string[] | undefined;
|
|
1121
1168
|
devDependencies?: string[] | undefined;
|
|
1122
1169
|
registryDependencies?: string[] | undefined;
|
|
1123
1170
|
files?: ({
|
|
1124
1171
|
path: string;
|
|
1125
|
-
type: "registry:
|
|
1172
|
+
type: "registry:file" | "registry:page";
|
|
1126
1173
|
target: string;
|
|
1127
1174
|
content?: string | undefined;
|
|
1128
1175
|
} | {
|
|
@@ -1131,11 +1178,19 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
|
|
|
1131
1178
|
content?: string | undefined;
|
|
1132
1179
|
target?: string | undefined;
|
|
1133
1180
|
})[] | undefined;
|
|
1181
|
+
tailwind?: {
|
|
1182
|
+
config?: {
|
|
1183
|
+
theme?: Record<string, any> | undefined;
|
|
1184
|
+
content?: string[] | undefined;
|
|
1185
|
+
plugins?: string[] | undefined;
|
|
1186
|
+
} | undefined;
|
|
1187
|
+
} | undefined;
|
|
1134
1188
|
cssVars?: {
|
|
1135
1189
|
theme?: Record<string, string> | undefined;
|
|
1136
1190
|
light?: Record<string, string> | undefined;
|
|
1137
1191
|
dark?: Record<string, string> | undefined;
|
|
1138
1192
|
} | undefined;
|
|
1193
|
+
css?: Record<string, any> | undefined;
|
|
1139
1194
|
envVars?: Record<string, string> | undefined;
|
|
1140
1195
|
meta?: Record<string, any> | undefined;
|
|
1141
1196
|
docs?: string | undefined;
|
|
@@ -1148,21 +1203,22 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
|
|
|
1148
1203
|
name: string;
|
|
1149
1204
|
type: "registry:base";
|
|
1150
1205
|
config?: {
|
|
1151
|
-
$schema?: string | undefined;
|
|
1152
1206
|
style?: string | undefined;
|
|
1153
|
-
|
|
1207
|
+
iconLibrary?: string | undefined;
|
|
1154
1208
|
font?: string | undefined;
|
|
1155
|
-
|
|
1209
|
+
fontHeading?: string | undefined;
|
|
1210
|
+
menuAccent?: "subtle" | "bold" | undefined;
|
|
1211
|
+
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
1212
|
+
$schema?: string | undefined;
|
|
1156
1213
|
tailwind?: {
|
|
1157
1214
|
config?: string | undefined;
|
|
1158
|
-
css?: string | undefined;
|
|
1159
1215
|
baseColor?: string | undefined;
|
|
1216
|
+
css?: string | undefined;
|
|
1160
1217
|
cssVariables?: boolean | undefined;
|
|
1161
1218
|
prefix?: string | undefined;
|
|
1162
1219
|
} | undefined;
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
menuAccent?: "subtle" | "bold" | undefined;
|
|
1220
|
+
typescript?: boolean | undefined;
|
|
1221
|
+
rtl?: boolean | undefined;
|
|
1166
1222
|
aliases?: {
|
|
1167
1223
|
components?: string | undefined;
|
|
1168
1224
|
utils?: string | undefined;
|
|
@@ -1178,24 +1234,16 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
|
|
|
1178
1234
|
}> | undefined;
|
|
1179
1235
|
} | undefined;
|
|
1180
1236
|
title?: string | undefined;
|
|
1237
|
+
description?: string | undefined;
|
|
1181
1238
|
$schema?: string | undefined;
|
|
1182
|
-
tailwind?: {
|
|
1183
|
-
config?: {
|
|
1184
|
-
content?: string[] | undefined;
|
|
1185
|
-
theme?: Record<string, any> | undefined;
|
|
1186
|
-
plugins?: string[] | undefined;
|
|
1187
|
-
} | undefined;
|
|
1188
|
-
} | undefined;
|
|
1189
|
-
css?: Record<string, any> | undefined;
|
|
1190
1239
|
extends?: string | undefined;
|
|
1191
1240
|
author?: string | undefined;
|
|
1192
|
-
description?: string | undefined;
|
|
1193
1241
|
dependencies?: string[] | undefined;
|
|
1194
1242
|
devDependencies?: string[] | undefined;
|
|
1195
1243
|
registryDependencies?: string[] | undefined;
|
|
1196
1244
|
files?: ({
|
|
1197
1245
|
path: string;
|
|
1198
|
-
type: "registry:
|
|
1246
|
+
type: "registry:file" | "registry:page";
|
|
1199
1247
|
target: string;
|
|
1200
1248
|
content?: string | undefined;
|
|
1201
1249
|
} | {
|
|
@@ -1204,18 +1252,25 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
|
|
|
1204
1252
|
content?: string | undefined;
|
|
1205
1253
|
target?: string | undefined;
|
|
1206
1254
|
})[] | undefined;
|
|
1255
|
+
tailwind?: {
|
|
1256
|
+
config?: {
|
|
1257
|
+
theme?: Record<string, any> | undefined;
|
|
1258
|
+
content?: string[] | undefined;
|
|
1259
|
+
plugins?: string[] | undefined;
|
|
1260
|
+
} | undefined;
|
|
1261
|
+
} | undefined;
|
|
1207
1262
|
cssVars?: {
|
|
1208
1263
|
theme?: Record<string, string> | undefined;
|
|
1209
1264
|
light?: Record<string, string> | undefined;
|
|
1210
1265
|
dark?: Record<string, string> | undefined;
|
|
1211
1266
|
} | undefined;
|
|
1267
|
+
css?: Record<string, any> | undefined;
|
|
1212
1268
|
envVars?: Record<string, string> | undefined;
|
|
1213
1269
|
meta?: Record<string, any> | undefined;
|
|
1214
1270
|
docs?: string | undefined;
|
|
1215
1271
|
categories?: string[] | undefined;
|
|
1216
1272
|
} | {
|
|
1217
1273
|
name: string;
|
|
1218
|
-
type: "registry:font";
|
|
1219
1274
|
font: {
|
|
1220
1275
|
family: string;
|
|
1221
1276
|
provider: "google";
|
|
@@ -1224,25 +1279,18 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
|
|
|
1224
1279
|
weight?: string[] | undefined;
|
|
1225
1280
|
subsets?: string[] | undefined;
|
|
1226
1281
|
};
|
|
1282
|
+
type: "registry:font";
|
|
1227
1283
|
title?: string | undefined;
|
|
1284
|
+
description?: string | undefined;
|
|
1228
1285
|
$schema?: string | undefined;
|
|
1229
|
-
tailwind?: {
|
|
1230
|
-
config?: {
|
|
1231
|
-
content?: string[] | undefined;
|
|
1232
|
-
theme?: Record<string, any> | undefined;
|
|
1233
|
-
plugins?: string[] | undefined;
|
|
1234
|
-
} | undefined;
|
|
1235
|
-
} | undefined;
|
|
1236
|
-
css?: Record<string, any> | undefined;
|
|
1237
1286
|
extends?: string | undefined;
|
|
1238
1287
|
author?: string | undefined;
|
|
1239
|
-
description?: string | undefined;
|
|
1240
1288
|
dependencies?: string[] | undefined;
|
|
1241
1289
|
devDependencies?: string[] | undefined;
|
|
1242
1290
|
registryDependencies?: string[] | undefined;
|
|
1243
1291
|
files?: ({
|
|
1244
1292
|
path: string;
|
|
1245
|
-
type: "registry:
|
|
1293
|
+
type: "registry:file" | "registry:page";
|
|
1246
1294
|
target: string;
|
|
1247
1295
|
content?: string | undefined;
|
|
1248
1296
|
} | {
|
|
@@ -1251,37 +1299,37 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
|
|
|
1251
1299
|
content?: string | undefined;
|
|
1252
1300
|
target?: string | undefined;
|
|
1253
1301
|
})[] | undefined;
|
|
1302
|
+
tailwind?: {
|
|
1303
|
+
config?: {
|
|
1304
|
+
theme?: Record<string, any> | undefined;
|
|
1305
|
+
content?: string[] | undefined;
|
|
1306
|
+
plugins?: string[] | undefined;
|
|
1307
|
+
} | undefined;
|
|
1308
|
+
} | undefined;
|
|
1254
1309
|
cssVars?: {
|
|
1255
1310
|
theme?: Record<string, string> | undefined;
|
|
1256
1311
|
light?: Record<string, string> | undefined;
|
|
1257
1312
|
dark?: Record<string, string> | undefined;
|
|
1258
1313
|
} | undefined;
|
|
1314
|
+
css?: Record<string, any> | undefined;
|
|
1259
1315
|
envVars?: Record<string, string> | undefined;
|
|
1260
1316
|
meta?: Record<string, any> | undefined;
|
|
1261
1317
|
docs?: string | undefined;
|
|
1262
1318
|
categories?: string[] | undefined;
|
|
1263
1319
|
} | {
|
|
1264
1320
|
name: string;
|
|
1265
|
-
type: "registry:
|
|
1321
|
+
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";
|
|
1266
1322
|
title?: string | undefined;
|
|
1323
|
+
description?: string | undefined;
|
|
1267
1324
|
$schema?: string | undefined;
|
|
1268
|
-
tailwind?: {
|
|
1269
|
-
config?: {
|
|
1270
|
-
content?: string[] | undefined;
|
|
1271
|
-
theme?: Record<string, any> | undefined;
|
|
1272
|
-
plugins?: string[] | undefined;
|
|
1273
|
-
} | undefined;
|
|
1274
|
-
} | undefined;
|
|
1275
|
-
css?: Record<string, any> | undefined;
|
|
1276
1325
|
extends?: string | undefined;
|
|
1277
1326
|
author?: string | undefined;
|
|
1278
|
-
description?: string | undefined;
|
|
1279
1327
|
dependencies?: string[] | undefined;
|
|
1280
1328
|
devDependencies?: string[] | undefined;
|
|
1281
1329
|
registryDependencies?: string[] | undefined;
|
|
1282
1330
|
files?: ({
|
|
1283
1331
|
path: string;
|
|
1284
|
-
type: "registry:
|
|
1332
|
+
type: "registry:file" | "registry:page";
|
|
1285
1333
|
target: string;
|
|
1286
1334
|
content?: string | undefined;
|
|
1287
1335
|
} | {
|
|
@@ -1290,11 +1338,19 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
|
|
|
1290
1338
|
content?: string | undefined;
|
|
1291
1339
|
target?: string | undefined;
|
|
1292
1340
|
})[] | undefined;
|
|
1341
|
+
tailwind?: {
|
|
1342
|
+
config?: {
|
|
1343
|
+
theme?: Record<string, any> | undefined;
|
|
1344
|
+
content?: string[] | undefined;
|
|
1345
|
+
plugins?: string[] | undefined;
|
|
1346
|
+
} | undefined;
|
|
1347
|
+
} | undefined;
|
|
1293
1348
|
cssVars?: {
|
|
1294
1349
|
theme?: Record<string, string> | undefined;
|
|
1295
1350
|
light?: Record<string, string> | undefined;
|
|
1296
1351
|
dark?: Record<string, string> | undefined;
|
|
1297
1352
|
} | undefined;
|
|
1353
|
+
css?: Record<string, any> | undefined;
|
|
1298
1354
|
envVars?: Record<string, string> | undefined;
|
|
1299
1355
|
meta?: Record<string, any> | undefined;
|
|
1300
1356
|
docs?: string | undefined;
|
|
@@ -1309,4 +1365,4 @@ declare function getRegistriesIndex(options?: {
|
|
|
1309
1365
|
}): Promise<Record<string, string>>;
|
|
1310
1366
|
//#endregion
|
|
1311
1367
|
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 };
|
|
1312
|
-
//# sourceMappingURL=api-
|
|
1368
|
+
//# sourceMappingURL=api-Bv8BWQYU.d.ts.map
|