shadcn 4.0.7 → 4.0.8

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/index.d.ts CHANGED
@@ -8,20 +8,16 @@ declare function getRegistry(name: string, options?: {
8
8
  useCache?: boolean;
9
9
  }): Promise<{
10
10
  name: string;
11
- homepage: string;
12
11
  items: ({
13
- type: "registry:base";
14
12
  name: string;
15
- tailwind?: {
16
- config?: {
17
- content?: string[] | undefined;
18
- theme?: Record<string, any> | undefined;
19
- plugins?: string[] | undefined;
20
- } | undefined;
21
- } | undefined;
22
- docs?: string | undefined;
23
- $schema?: string | undefined;
13
+ type: "registry:base";
24
14
  config?: {
15
+ registries?: Record<string, string | {
16
+ url: string;
17
+ params?: Record<string, string> | undefined;
18
+ headers?: Record<string, string> | undefined;
19
+ }> | undefined;
20
+ $schema?: string | undefined;
25
21
  tailwind?: {
26
22
  config?: string | undefined;
27
23
  css?: string | undefined;
@@ -29,57 +25,60 @@ declare function getRegistry(name: string, options?: {
29
25
  cssVariables?: boolean | undefined;
30
26
  prefix?: string | undefined;
31
27
  } | undefined;
32
- $schema?: string | undefined;
33
28
  style?: string | undefined;
34
29
  rsc?: boolean | undefined;
35
30
  tsx?: boolean | undefined;
36
31
  iconLibrary?: string | undefined;
37
32
  rtl?: boolean | undefined;
38
33
  menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
39
- menuAccent?: "bold" | "subtle" | undefined;
34
+ menuAccent?: "subtle" | "bold" | undefined;
40
35
  aliases?: {
41
36
  components?: string | undefined;
42
- ui?: string | undefined;
43
37
  utils?: string | undefined;
38
+ ui?: string | undefined;
44
39
  lib?: string | undefined;
45
40
  hooks?: string | undefined;
46
41
  } | undefined;
47
- registries?: Record<string, string | {
48
- url: string;
49
- params?: Record<string, string> | undefined;
50
- headers?: Record<string, string> | undefined;
51
- }> | undefined;
52
42
  } | undefined;
53
- css?: Record<string, any> | undefined;
54
- extends?: string | undefined;
43
+ description?: string | undefined;
55
44
  title?: string | undefined;
45
+ $schema?: string | undefined;
46
+ extends?: string | undefined;
56
47
  author?: string | undefined;
57
- description?: string | undefined;
58
48
  dependencies?: string[] | undefined;
59
49
  devDependencies?: string[] | undefined;
60
50
  registryDependencies?: string[] | undefined;
61
51
  files?: ({
52
+ type: "registry:file" | "registry:page";
62
53
  path: string;
63
- type: "registry:page" | "registry:file";
64
54
  target: string;
65
55
  content?: string | undefined;
66
56
  } | {
67
- path: string;
68
57
  type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
58
+ path: string;
69
59
  content?: string | undefined;
70
60
  target?: string | undefined;
71
61
  })[] | undefined;
62
+ tailwind?: {
63
+ config?: {
64
+ theme?: Record<string, any> | undefined;
65
+ content?: string[] | undefined;
66
+ plugins?: string[] | undefined;
67
+ } | undefined;
68
+ } | undefined;
72
69
  cssVars?: {
73
70
  theme?: Record<string, string> | undefined;
74
71
  light?: Record<string, string> | undefined;
75
72
  dark?: Record<string, string> | undefined;
76
73
  } | undefined;
74
+ css?: Record<string, any> | undefined;
77
75
  envVars?: Record<string, string> | undefined;
78
76
  meta?: Record<string, any> | undefined;
77
+ docs?: string | undefined;
79
78
  categories?: string[] | undefined;
80
79
  } | {
81
- type: "registry:font";
82
80
  name: string;
81
+ type: "registry:font";
83
82
  font: {
84
83
  family: string;
85
84
  provider: "google";
@@ -90,99 +89,97 @@ declare function getRegistry(name: string, options?: {
90
89
  selector?: string | undefined;
91
90
  dependency?: string | undefined;
92
91
  };
93
- tailwind?: {
94
- config?: {
95
- content?: string[] | undefined;
96
- theme?: Record<string, any> | undefined;
97
- plugins?: string[] | undefined;
98
- } | undefined;
99
- } | undefined;
100
- docs?: string | undefined;
92
+ description?: string | undefined;
93
+ title?: string | undefined;
101
94
  $schema?: string | undefined;
102
- css?: Record<string, any> | undefined;
103
95
  extends?: string | undefined;
104
- title?: string | undefined;
105
96
  author?: string | undefined;
106
- description?: string | undefined;
107
97
  dependencies?: string[] | undefined;
108
98
  devDependencies?: string[] | undefined;
109
99
  registryDependencies?: string[] | undefined;
110
100
  files?: ({
101
+ type: "registry:file" | "registry:page";
111
102
  path: string;
112
- type: "registry:page" | "registry:file";
113
103
  target: string;
114
104
  content?: string | undefined;
115
105
  } | {
116
- path: string;
117
106
  type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
107
+ path: string;
118
108
  content?: string | undefined;
119
109
  target?: string | undefined;
120
110
  })[] | undefined;
111
+ tailwind?: {
112
+ config?: {
113
+ theme?: Record<string, any> | undefined;
114
+ content?: string[] | undefined;
115
+ plugins?: string[] | undefined;
116
+ } | undefined;
117
+ } | undefined;
121
118
  cssVars?: {
122
119
  theme?: Record<string, string> | undefined;
123
120
  light?: Record<string, string> | undefined;
124
121
  dark?: Record<string, string> | undefined;
125
122
  } | undefined;
123
+ css?: Record<string, any> | undefined;
126
124
  envVars?: Record<string, string> | undefined;
127
125
  meta?: Record<string, any> | undefined;
126
+ docs?: string | undefined;
128
127
  categories?: string[] | undefined;
129
128
  } | {
130
- type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:page" | "registry:file" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
131
129
  name: string;
132
- tailwind?: {
133
- config?: {
134
- content?: string[] | undefined;
135
- theme?: Record<string, any> | undefined;
136
- plugins?: string[] | undefined;
137
- } | undefined;
138
- } | undefined;
139
- docs?: string | undefined;
130
+ type: "registry:file" | "registry:page" | "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
131
+ description?: string | undefined;
132
+ title?: string | undefined;
140
133
  $schema?: string | undefined;
141
- css?: Record<string, any> | undefined;
142
134
  extends?: string | undefined;
143
- title?: string | undefined;
144
135
  author?: string | undefined;
145
- description?: string | undefined;
146
136
  dependencies?: string[] | undefined;
147
137
  devDependencies?: string[] | undefined;
148
138
  registryDependencies?: string[] | undefined;
149
139
  files?: ({
140
+ type: "registry:file" | "registry:page";
150
141
  path: string;
151
- type: "registry:page" | "registry:file";
152
142
  target: string;
153
143
  content?: string | undefined;
154
144
  } | {
155
- path: string;
156
145
  type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
146
+ path: string;
157
147
  content?: string | undefined;
158
148
  target?: string | undefined;
159
149
  })[] | undefined;
150
+ tailwind?: {
151
+ config?: {
152
+ theme?: Record<string, any> | undefined;
153
+ content?: string[] | undefined;
154
+ plugins?: string[] | undefined;
155
+ } | undefined;
156
+ } | undefined;
160
157
  cssVars?: {
161
158
  theme?: Record<string, string> | undefined;
162
159
  light?: Record<string, string> | undefined;
163
160
  dark?: Record<string, string> | undefined;
164
161
  } | undefined;
162
+ css?: Record<string, any> | undefined;
165
163
  envVars?: Record<string, string> | undefined;
166
164
  meta?: Record<string, any> | undefined;
165
+ docs?: string | undefined;
167
166
  categories?: string[] | undefined;
168
167
  })[];
168
+ homepage: string;
169
169
  }>;
170
170
  declare function getRegistryItems(items: string[], options?: {
171
171
  config?: Partial<Config>;
172
172
  useCache?: boolean;
173
173
  }): Promise<({
174
- type: "registry:base";
175
174
  name: string;
176
- tailwind?: {
177
- config?: {
178
- content?: string[] | undefined;
179
- theme?: Record<string, any> | undefined;
180
- plugins?: string[] | undefined;
181
- } | undefined;
182
- } | undefined;
183
- docs?: string | undefined;
184
- $schema?: string | undefined;
175
+ type: "registry:base";
185
176
  config?: {
177
+ registries?: Record<string, string | {
178
+ url: string;
179
+ params?: Record<string, string> | undefined;
180
+ headers?: Record<string, string> | undefined;
181
+ }> | undefined;
182
+ $schema?: string | undefined;
186
183
  tailwind?: {
187
184
  config?: string | undefined;
188
185
  css?: string | undefined;
@@ -190,57 +187,60 @@ declare function getRegistryItems(items: string[], options?: {
190
187
  cssVariables?: boolean | undefined;
191
188
  prefix?: string | undefined;
192
189
  } | undefined;
193
- $schema?: string | undefined;
194
190
  style?: string | undefined;
195
191
  rsc?: boolean | undefined;
196
192
  tsx?: boolean | undefined;
197
193
  iconLibrary?: string | undefined;
198
194
  rtl?: boolean | undefined;
199
195
  menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
200
- menuAccent?: "bold" | "subtle" | undefined;
196
+ menuAccent?: "subtle" | "bold" | undefined;
201
197
  aliases?: {
202
198
  components?: string | undefined;
203
- ui?: string | undefined;
204
199
  utils?: string | undefined;
200
+ ui?: string | undefined;
205
201
  lib?: string | undefined;
206
202
  hooks?: string | undefined;
207
203
  } | undefined;
208
- registries?: Record<string, string | {
209
- url: string;
210
- params?: Record<string, string> | undefined;
211
- headers?: Record<string, string> | undefined;
212
- }> | undefined;
213
204
  } | undefined;
214
- css?: Record<string, any> | undefined;
215
- extends?: string | undefined;
205
+ description?: string | undefined;
216
206
  title?: string | undefined;
207
+ $schema?: string | undefined;
208
+ extends?: string | undefined;
217
209
  author?: string | undefined;
218
- description?: string | undefined;
219
210
  dependencies?: string[] | undefined;
220
211
  devDependencies?: string[] | undefined;
221
212
  registryDependencies?: string[] | undefined;
222
213
  files?: ({
214
+ type: "registry:file" | "registry:page";
223
215
  path: string;
224
- type: "registry:page" | "registry:file";
225
216
  target: string;
226
217
  content?: string | undefined;
227
218
  } | {
228
- path: string;
229
219
  type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
220
+ path: string;
230
221
  content?: string | undefined;
231
222
  target?: string | undefined;
232
223
  })[] | undefined;
224
+ tailwind?: {
225
+ config?: {
226
+ theme?: Record<string, any> | undefined;
227
+ content?: string[] | undefined;
228
+ plugins?: string[] | undefined;
229
+ } | undefined;
230
+ } | undefined;
233
231
  cssVars?: {
234
232
  theme?: Record<string, string> | undefined;
235
233
  light?: Record<string, string> | undefined;
236
234
  dark?: Record<string, string> | undefined;
237
235
  } | undefined;
236
+ css?: Record<string, any> | undefined;
238
237
  envVars?: Record<string, string> | undefined;
239
238
  meta?: Record<string, any> | undefined;
239
+ docs?: string | undefined;
240
240
  categories?: string[] | undefined;
241
241
  } | {
242
- type: "registry:font";
243
242
  name: string;
243
+ type: "registry:font";
244
244
  font: {
245
245
  family: string;
246
246
  provider: "google";
@@ -251,117 +251,117 @@ declare function getRegistryItems(items: string[], options?: {
251
251
  selector?: string | undefined;
252
252
  dependency?: string | undefined;
253
253
  };
254
- tailwind?: {
255
- config?: {
256
- content?: string[] | undefined;
257
- theme?: Record<string, any> | undefined;
258
- plugins?: string[] | undefined;
259
- } | undefined;
260
- } | undefined;
261
- docs?: string | undefined;
254
+ description?: string | undefined;
255
+ title?: string | undefined;
262
256
  $schema?: string | undefined;
263
- css?: Record<string, any> | undefined;
264
257
  extends?: string | undefined;
265
- title?: string | undefined;
266
258
  author?: string | undefined;
267
- description?: string | undefined;
268
259
  dependencies?: string[] | undefined;
269
260
  devDependencies?: string[] | undefined;
270
261
  registryDependencies?: string[] | undefined;
271
262
  files?: ({
263
+ type: "registry:file" | "registry:page";
272
264
  path: string;
273
- type: "registry:page" | "registry:file";
274
265
  target: string;
275
266
  content?: string | undefined;
276
267
  } | {
277
- path: string;
278
268
  type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
269
+ path: string;
279
270
  content?: string | undefined;
280
271
  target?: string | undefined;
281
272
  })[] | undefined;
273
+ tailwind?: {
274
+ config?: {
275
+ theme?: Record<string, any> | undefined;
276
+ content?: string[] | undefined;
277
+ plugins?: string[] | undefined;
278
+ } | undefined;
279
+ } | undefined;
282
280
  cssVars?: {
283
281
  theme?: Record<string, string> | undefined;
284
282
  light?: Record<string, string> | undefined;
285
283
  dark?: Record<string, string> | undefined;
286
284
  } | undefined;
285
+ css?: Record<string, any> | undefined;
287
286
  envVars?: Record<string, string> | undefined;
288
287
  meta?: Record<string, any> | undefined;
288
+ docs?: string | undefined;
289
289
  categories?: string[] | undefined;
290
290
  } | {
291
- type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:page" | "registry:file" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
292
291
  name: string;
293
- tailwind?: {
294
- config?: {
295
- content?: string[] | undefined;
296
- theme?: Record<string, any> | undefined;
297
- plugins?: string[] | undefined;
298
- } | undefined;
299
- } | undefined;
300
- docs?: string | undefined;
292
+ type: "registry:file" | "registry:page" | "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
293
+ description?: string | undefined;
294
+ title?: string | undefined;
301
295
  $schema?: string | undefined;
302
- css?: Record<string, any> | undefined;
303
296
  extends?: string | undefined;
304
- title?: string | undefined;
305
297
  author?: string | undefined;
306
- description?: string | undefined;
307
298
  dependencies?: string[] | undefined;
308
299
  devDependencies?: string[] | undefined;
309
300
  registryDependencies?: string[] | undefined;
310
301
  files?: ({
302
+ type: "registry:file" | "registry:page";
311
303
  path: string;
312
- type: "registry:page" | "registry:file";
313
304
  target: string;
314
305
  content?: string | undefined;
315
306
  } | {
316
- path: string;
317
307
  type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
308
+ path: string;
318
309
  content?: string | undefined;
319
310
  target?: string | undefined;
320
311
  })[] | undefined;
312
+ tailwind?: {
313
+ config?: {
314
+ theme?: Record<string, any> | undefined;
315
+ content?: string[] | undefined;
316
+ plugins?: string[] | undefined;
317
+ } | undefined;
318
+ } | undefined;
321
319
  cssVars?: {
322
320
  theme?: Record<string, string> | undefined;
323
321
  light?: Record<string, string> | undefined;
324
322
  dark?: Record<string, string> | undefined;
325
323
  } | undefined;
324
+ css?: Record<string, any> | undefined;
326
325
  envVars?: Record<string, string> | undefined;
327
326
  meta?: Record<string, any> | undefined;
327
+ docs?: string | undefined;
328
328
  categories?: string[] | undefined;
329
329
  })[]>;
330
330
  declare function resolveRegistryItems(items: string[], options?: {
331
331
  config?: Partial<Config>;
332
332
  useCache?: boolean;
333
333
  }): Promise<{
334
- tailwind?: {
335
- config?: {
336
- content?: string[] | undefined;
337
- theme?: Record<string, any> | undefined;
338
- plugins?: string[] | undefined;
339
- } | undefined;
340
- } | undefined;
341
- docs?: string | undefined;
342
- css?: Record<string, any> | undefined;
343
334
  dependencies?: string[] | undefined;
344
335
  devDependencies?: string[] | undefined;
345
336
  files?: ({
337
+ type: "registry:file" | "registry:page";
346
338
  path: string;
347
- type: "registry:page" | "registry:file";
348
339
  target: string;
349
340
  content?: string | undefined;
350
341
  } | {
351
- path: string;
352
342
  type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
343
+ path: string;
353
344
  content?: string | undefined;
354
345
  target?: string | undefined;
355
346
  })[] | undefined;
347
+ tailwind?: {
348
+ config?: {
349
+ theme?: Record<string, any> | undefined;
350
+ content?: string[] | undefined;
351
+ plugins?: string[] | undefined;
352
+ } | undefined;
353
+ } | undefined;
356
354
  cssVars?: {
357
355
  theme?: Record<string, string> | undefined;
358
356
  light?: Record<string, string> | undefined;
359
357
  dark?: Record<string, string> | undefined;
360
358
  } | undefined;
359
+ css?: Record<string, any> | undefined;
361
360
  envVars?: Record<string, string> | undefined;
361
+ docs?: string | undefined;
362
362
  fonts?: {
363
- type: "registry:font";
364
363
  name: string;
364
+ type: "registry:font";
365
365
  font: {
366
366
  family: string;
367
367
  provider: "google";
@@ -372,41 +372,41 @@ declare function resolveRegistryItems(items: string[], options?: {
372
372
  selector?: string | undefined;
373
373
  dependency?: string | undefined;
374
374
  };
375
- tailwind?: {
376
- config?: {
377
- content?: string[] | undefined;
378
- theme?: Record<string, any> | undefined;
379
- plugins?: string[] | undefined;
380
- } | undefined;
381
- } | undefined;
382
- docs?: string | undefined;
375
+ description?: string | undefined;
376
+ title?: string | undefined;
383
377
  $schema?: string | undefined;
384
- css?: Record<string, any> | undefined;
385
378
  extends?: string | undefined;
386
- title?: string | undefined;
387
379
  author?: string | undefined;
388
- description?: string | undefined;
389
380
  dependencies?: string[] | undefined;
390
381
  devDependencies?: string[] | undefined;
391
382
  registryDependencies?: string[] | undefined;
392
383
  files?: ({
384
+ type: "registry:file" | "registry:page";
393
385
  path: string;
394
- type: "registry:page" | "registry:file";
395
386
  target: string;
396
387
  content?: string | undefined;
397
388
  } | {
398
- path: string;
399
389
  type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
390
+ path: string;
400
391
  content?: string | undefined;
401
392
  target?: string | undefined;
402
393
  })[] | undefined;
394
+ tailwind?: {
395
+ config?: {
396
+ theme?: Record<string, any> | undefined;
397
+ content?: string[] | undefined;
398
+ plugins?: string[] | undefined;
399
+ } | undefined;
400
+ } | undefined;
403
401
  cssVars?: {
404
402
  theme?: Record<string, string> | undefined;
405
403
  light?: Record<string, string> | undefined;
406
404
  dark?: Record<string, string> | undefined;
407
405
  } | undefined;
406
+ css?: Record<string, any> | undefined;
408
407
  envVars?: Record<string, string> | undefined;
409
408
  meta?: Record<string, any> | undefined;
409
+ docs?: string | undefined;
410
410
  categories?: string[] | undefined;
411
411
  }[] | undefined;
412
412
  } | null>;
@@ -420,18 +420,15 @@ declare function getRegistriesConfig(cwd: string, options?: {
420
420
  }>;
421
421
  }>;
422
422
  declare function getShadcnRegistryIndex(): Promise<({
423
- type: "registry:base";
424
423
  name: string;
425
- tailwind?: {
426
- config?: {
427
- content?: string[] | undefined;
428
- theme?: Record<string, any> | undefined;
429
- plugins?: string[] | undefined;
430
- } | undefined;
431
- } | undefined;
432
- docs?: string | undefined;
433
- $schema?: string | undefined;
424
+ type: "registry:base";
434
425
  config?: {
426
+ registries?: Record<string, string | {
427
+ url: string;
428
+ params?: Record<string, string> | undefined;
429
+ headers?: Record<string, string> | undefined;
430
+ }> | undefined;
431
+ $schema?: string | undefined;
435
432
  tailwind?: {
436
433
  config?: string | undefined;
437
434
  css?: string | undefined;
@@ -439,57 +436,60 @@ declare function getShadcnRegistryIndex(): Promise<({
439
436
  cssVariables?: boolean | undefined;
440
437
  prefix?: string | undefined;
441
438
  } | undefined;
442
- $schema?: string | undefined;
443
439
  style?: string | undefined;
444
440
  rsc?: boolean | undefined;
445
441
  tsx?: boolean | undefined;
446
442
  iconLibrary?: string | undefined;
447
443
  rtl?: boolean | undefined;
448
444
  menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
449
- menuAccent?: "bold" | "subtle" | undefined;
445
+ menuAccent?: "subtle" | "bold" | undefined;
450
446
  aliases?: {
451
447
  components?: string | undefined;
452
- ui?: string | undefined;
453
448
  utils?: string | undefined;
449
+ ui?: string | undefined;
454
450
  lib?: string | undefined;
455
451
  hooks?: string | undefined;
456
452
  } | undefined;
457
- registries?: Record<string, string | {
458
- url: string;
459
- params?: Record<string, string> | undefined;
460
- headers?: Record<string, string> | undefined;
461
- }> | undefined;
462
453
  } | undefined;
463
- css?: Record<string, any> | undefined;
464
- extends?: string | undefined;
454
+ description?: string | undefined;
465
455
  title?: string | undefined;
456
+ $schema?: string | undefined;
457
+ extends?: string | undefined;
466
458
  author?: string | undefined;
467
- description?: string | undefined;
468
459
  dependencies?: string[] | undefined;
469
460
  devDependencies?: string[] | undefined;
470
461
  registryDependencies?: string[] | undefined;
471
462
  files?: ({
463
+ type: "registry:file" | "registry:page";
472
464
  path: string;
473
- type: "registry:page" | "registry:file";
474
465
  target: string;
475
466
  content?: string | undefined;
476
467
  } | {
477
- path: string;
478
468
  type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
469
+ path: string;
479
470
  content?: string | undefined;
480
471
  target?: string | undefined;
481
472
  })[] | undefined;
473
+ tailwind?: {
474
+ config?: {
475
+ theme?: Record<string, any> | undefined;
476
+ content?: string[] | undefined;
477
+ plugins?: string[] | undefined;
478
+ } | undefined;
479
+ } | undefined;
482
480
  cssVars?: {
483
481
  theme?: Record<string, string> | undefined;
484
482
  light?: Record<string, string> | undefined;
485
483
  dark?: Record<string, string> | undefined;
486
484
  } | undefined;
485
+ css?: Record<string, any> | undefined;
487
486
  envVars?: Record<string, string> | undefined;
488
487
  meta?: Record<string, any> | undefined;
488
+ docs?: string | undefined;
489
489
  categories?: string[] | undefined;
490
490
  } | {
491
- type: "registry:font";
492
491
  name: string;
492
+ type: "registry:font";
493
493
  font: {
494
494
  family: string;
495
495
  provider: "google";
@@ -500,80 +500,80 @@ declare function getShadcnRegistryIndex(): Promise<({
500
500
  selector?: string | undefined;
501
501
  dependency?: string | undefined;
502
502
  };
503
- tailwind?: {
504
- config?: {
505
- content?: string[] | undefined;
506
- theme?: Record<string, any> | undefined;
507
- plugins?: string[] | undefined;
508
- } | undefined;
509
- } | undefined;
510
- docs?: string | undefined;
503
+ description?: string | undefined;
504
+ title?: string | undefined;
511
505
  $schema?: string | undefined;
512
- css?: Record<string, any> | undefined;
513
506
  extends?: string | undefined;
514
- title?: string | undefined;
515
507
  author?: string | undefined;
516
- description?: string | undefined;
517
508
  dependencies?: string[] | undefined;
518
509
  devDependencies?: string[] | undefined;
519
510
  registryDependencies?: string[] | undefined;
520
511
  files?: ({
512
+ type: "registry:file" | "registry:page";
521
513
  path: string;
522
- type: "registry:page" | "registry:file";
523
514
  target: string;
524
515
  content?: string | undefined;
525
516
  } | {
526
- path: string;
527
517
  type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
518
+ path: string;
528
519
  content?: string | undefined;
529
520
  target?: string | undefined;
530
521
  })[] | undefined;
522
+ tailwind?: {
523
+ config?: {
524
+ theme?: Record<string, any> | undefined;
525
+ content?: string[] | undefined;
526
+ plugins?: string[] | undefined;
527
+ } | undefined;
528
+ } | undefined;
531
529
  cssVars?: {
532
530
  theme?: Record<string, string> | undefined;
533
531
  light?: Record<string, string> | undefined;
534
532
  dark?: Record<string, string> | undefined;
535
533
  } | undefined;
534
+ css?: Record<string, any> | undefined;
536
535
  envVars?: Record<string, string> | undefined;
537
536
  meta?: Record<string, any> | undefined;
537
+ docs?: string | undefined;
538
538
  categories?: string[] | undefined;
539
539
  } | {
540
- type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:page" | "registry:file" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
541
540
  name: string;
542
- tailwind?: {
543
- config?: {
544
- content?: string[] | undefined;
545
- theme?: Record<string, any> | undefined;
546
- plugins?: string[] | undefined;
547
- } | undefined;
548
- } | undefined;
549
- docs?: string | undefined;
541
+ type: "registry:file" | "registry:page" | "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
542
+ description?: string | undefined;
543
+ title?: string | undefined;
550
544
  $schema?: string | undefined;
551
- css?: Record<string, any> | undefined;
552
545
  extends?: string | undefined;
553
- title?: string | undefined;
554
546
  author?: string | undefined;
555
- description?: string | undefined;
556
547
  dependencies?: string[] | undefined;
557
548
  devDependencies?: string[] | undefined;
558
549
  registryDependencies?: string[] | undefined;
559
550
  files?: ({
551
+ type: "registry:file" | "registry:page";
560
552
  path: string;
561
- type: "registry:page" | "registry:file";
562
553
  target: string;
563
554
  content?: string | undefined;
564
555
  } | {
565
- path: string;
566
556
  type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
557
+ path: string;
567
558
  content?: string | undefined;
568
559
  target?: string | undefined;
569
560
  })[] | undefined;
561
+ tailwind?: {
562
+ config?: {
563
+ theme?: Record<string, any> | undefined;
564
+ content?: string[] | undefined;
565
+ plugins?: string[] | undefined;
566
+ } | undefined;
567
+ } | undefined;
570
568
  cssVars?: {
571
569
  theme?: Record<string, string> | undefined;
572
570
  light?: Record<string, string> | undefined;
573
571
  dark?: Record<string, string> | undefined;
574
572
  } | undefined;
573
+ css?: Record<string, any> | undefined;
575
574
  envVars?: Record<string, string> | undefined;
576
575
  meta?: Record<string, any> | undefined;
576
+ docs?: string | undefined;
577
577
  categories?: string[] | undefined;
578
578
  })[] | undefined>;
579
579
  declare function getRegistryStyles(): Promise<{
@@ -625,18 +625,15 @@ declare function getRegistryBaseColor(baseColor: string): Promise<{
625
625
  * @deprecated This function is deprecated and will be removed in a future version.
626
626
  */
627
627
  declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names: string[]): Promise<({
628
- type: "registry:base";
629
628
  name: string;
630
- tailwind?: {
631
- config?: {
632
- content?: string[] | undefined;
633
- theme?: Record<string, any> | undefined;
634
- plugins?: string[] | undefined;
635
- } | undefined;
636
- } | undefined;
637
- docs?: string | undefined;
638
- $schema?: string | undefined;
629
+ type: "registry:base";
639
630
  config?: {
631
+ registries?: Record<string, string | {
632
+ url: string;
633
+ params?: Record<string, string> | undefined;
634
+ headers?: Record<string, string> | undefined;
635
+ }> | undefined;
636
+ $schema?: string | undefined;
640
637
  tailwind?: {
641
638
  config?: string | undefined;
642
639
  css?: string | undefined;
@@ -644,57 +641,60 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
644
641
  cssVariables?: boolean | undefined;
645
642
  prefix?: string | undefined;
646
643
  } | undefined;
647
- $schema?: string | undefined;
648
644
  style?: string | undefined;
649
645
  rsc?: boolean | undefined;
650
646
  tsx?: boolean | undefined;
651
647
  iconLibrary?: string | undefined;
652
648
  rtl?: boolean | undefined;
653
649
  menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
654
- menuAccent?: "bold" | "subtle" | undefined;
650
+ menuAccent?: "subtle" | "bold" | undefined;
655
651
  aliases?: {
656
652
  components?: string | undefined;
657
- ui?: string | undefined;
658
653
  utils?: string | undefined;
654
+ ui?: string | undefined;
659
655
  lib?: string | undefined;
660
656
  hooks?: string | undefined;
661
657
  } | undefined;
662
- registries?: Record<string, string | {
663
- url: string;
664
- params?: Record<string, string> | undefined;
665
- headers?: Record<string, string> | undefined;
666
- }> | undefined;
667
658
  } | undefined;
668
- css?: Record<string, any> | undefined;
669
- extends?: string | undefined;
659
+ description?: string | undefined;
670
660
  title?: string | undefined;
661
+ $schema?: string | undefined;
662
+ extends?: string | undefined;
671
663
  author?: string | undefined;
672
- description?: string | undefined;
673
664
  dependencies?: string[] | undefined;
674
665
  devDependencies?: string[] | undefined;
675
666
  registryDependencies?: string[] | undefined;
676
667
  files?: ({
668
+ type: "registry:file" | "registry:page";
677
669
  path: string;
678
- type: "registry:page" | "registry:file";
679
670
  target: string;
680
671
  content?: string | undefined;
681
672
  } | {
682
- path: string;
683
673
  type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
674
+ path: string;
684
675
  content?: string | undefined;
685
676
  target?: string | undefined;
686
677
  })[] | undefined;
678
+ tailwind?: {
679
+ config?: {
680
+ theme?: Record<string, any> | undefined;
681
+ content?: string[] | undefined;
682
+ plugins?: string[] | undefined;
683
+ } | undefined;
684
+ } | undefined;
687
685
  cssVars?: {
688
686
  theme?: Record<string, string> | undefined;
689
687
  light?: Record<string, string> | undefined;
690
688
  dark?: Record<string, string> | undefined;
691
689
  } | undefined;
690
+ css?: Record<string, any> | undefined;
692
691
  envVars?: Record<string, string> | undefined;
693
692
  meta?: Record<string, any> | undefined;
693
+ docs?: string | undefined;
694
694
  categories?: string[] | undefined;
695
695
  } | {
696
- type: "registry:font";
697
696
  name: string;
697
+ type: "registry:font";
698
698
  font: {
699
699
  family: string;
700
700
  provider: "google";
@@ -705,98 +705,95 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
705
705
  selector?: string | undefined;
706
706
  dependency?: string | undefined;
707
707
  };
708
- tailwind?: {
709
- config?: {
710
- content?: string[] | undefined;
711
- theme?: Record<string, any> | undefined;
712
- plugins?: string[] | undefined;
713
- } | undefined;
714
- } | undefined;
715
- docs?: string | undefined;
708
+ description?: string | undefined;
709
+ title?: string | undefined;
716
710
  $schema?: string | undefined;
717
- css?: Record<string, any> | undefined;
718
711
  extends?: string | undefined;
719
- title?: string | undefined;
720
712
  author?: string | undefined;
721
- description?: string | undefined;
722
713
  dependencies?: string[] | undefined;
723
714
  devDependencies?: string[] | undefined;
724
715
  registryDependencies?: string[] | undefined;
725
716
  files?: ({
717
+ type: "registry:file" | "registry:page";
726
718
  path: string;
727
- type: "registry:page" | "registry:file";
728
719
  target: string;
729
720
  content?: string | undefined;
730
721
  } | {
731
- path: string;
732
722
  type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
723
+ path: string;
733
724
  content?: string | undefined;
734
725
  target?: string | undefined;
735
726
  })[] | undefined;
727
+ tailwind?: {
728
+ config?: {
729
+ theme?: Record<string, any> | undefined;
730
+ content?: string[] | undefined;
731
+ plugins?: string[] | undefined;
732
+ } | undefined;
733
+ } | undefined;
736
734
  cssVars?: {
737
735
  theme?: Record<string, string> | undefined;
738
736
  light?: Record<string, string> | undefined;
739
737
  dark?: Record<string, string> | undefined;
740
738
  } | undefined;
739
+ css?: Record<string, any> | undefined;
741
740
  envVars?: Record<string, string> | undefined;
742
741
  meta?: Record<string, any> | undefined;
742
+ docs?: string | undefined;
743
743
  categories?: string[] | undefined;
744
744
  } | {
745
- type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:page" | "registry:file" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
746
745
  name: string;
747
- tailwind?: {
748
- config?: {
749
- content?: string[] | undefined;
750
- theme?: Record<string, any> | undefined;
751
- plugins?: string[] | undefined;
752
- } | undefined;
753
- } | undefined;
754
- docs?: string | undefined;
746
+ type: "registry:file" | "registry:page" | "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
747
+ description?: string | undefined;
748
+ title?: string | undefined;
755
749
  $schema?: string | undefined;
756
- css?: Record<string, any> | undefined;
757
750
  extends?: string | undefined;
758
- title?: string | undefined;
759
751
  author?: string | undefined;
760
- description?: string | undefined;
761
752
  dependencies?: string[] | undefined;
762
753
  devDependencies?: string[] | undefined;
763
754
  registryDependencies?: string[] | undefined;
764
755
  files?: ({
756
+ type: "registry:file" | "registry:page";
765
757
  path: string;
766
- type: "registry:page" | "registry:file";
767
758
  target: string;
768
759
  content?: string | undefined;
769
760
  } | {
770
- path: string;
771
761
  type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
762
+ path: string;
772
763
  content?: string | undefined;
773
764
  target?: string | undefined;
774
765
  })[] | undefined;
766
+ tailwind?: {
767
+ config?: {
768
+ theme?: Record<string, any> | undefined;
769
+ content?: string[] | undefined;
770
+ plugins?: string[] | undefined;
771
+ } | undefined;
772
+ } | undefined;
775
773
  cssVars?: {
776
774
  theme?: Record<string, string> | undefined;
777
775
  light?: Record<string, string> | undefined;
778
776
  dark?: Record<string, string> | undefined;
779
777
  } | undefined;
778
+ css?: Record<string, any> | undefined;
780
779
  envVars?: Record<string, string> | undefined;
781
780
  meta?: Record<string, any> | undefined;
781
+ docs?: string | undefined;
782
782
  categories?: string[] | undefined;
783
783
  })[]>;
784
784
  /**
785
785
  * @deprecated This function is deprecated and will be removed in a future version.
786
786
  */
787
787
  declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSchema>): Promise<({
788
- type: "registry:base";
789
788
  name: string;
790
- tailwind?: {
791
- config?: {
792
- content?: string[] | undefined;
793
- theme?: Record<string, any> | undefined;
794
- plugins?: string[] | undefined;
795
- } | undefined;
796
- } | undefined;
797
- docs?: string | undefined;
798
- $schema?: string | undefined;
789
+ type: "registry:base";
799
790
  config?: {
791
+ registries?: Record<string, string | {
792
+ url: string;
793
+ params?: Record<string, string> | undefined;
794
+ headers?: Record<string, string> | undefined;
795
+ }> | undefined;
796
+ $schema?: string | undefined;
800
797
  tailwind?: {
801
798
  config?: string | undefined;
802
799
  css?: string | undefined;
@@ -804,57 +801,60 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
804
801
  cssVariables?: boolean | undefined;
805
802
  prefix?: string | undefined;
806
803
  } | undefined;
807
- $schema?: string | undefined;
808
804
  style?: string | undefined;
809
805
  rsc?: boolean | undefined;
810
806
  tsx?: boolean | undefined;
811
807
  iconLibrary?: string | undefined;
812
808
  rtl?: boolean | undefined;
813
809
  menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
814
- menuAccent?: "bold" | "subtle" | undefined;
810
+ menuAccent?: "subtle" | "bold" | undefined;
815
811
  aliases?: {
816
812
  components?: string | undefined;
817
- ui?: string | undefined;
818
813
  utils?: string | undefined;
814
+ ui?: string | undefined;
819
815
  lib?: string | undefined;
820
816
  hooks?: string | undefined;
821
817
  } | undefined;
822
- registries?: Record<string, string | {
823
- url: string;
824
- params?: Record<string, string> | undefined;
825
- headers?: Record<string, string> | undefined;
826
- }> | undefined;
827
818
  } | undefined;
828
- css?: Record<string, any> | undefined;
829
- extends?: string | undefined;
819
+ description?: string | undefined;
830
820
  title?: string | undefined;
821
+ $schema?: string | undefined;
822
+ extends?: string | undefined;
831
823
  author?: string | undefined;
832
- description?: string | undefined;
833
824
  dependencies?: string[] | undefined;
834
825
  devDependencies?: string[] | undefined;
835
826
  registryDependencies?: string[] | undefined;
836
827
  files?: ({
828
+ type: "registry:file" | "registry:page";
837
829
  path: string;
838
- type: "registry:page" | "registry:file";
839
830
  target: string;
840
831
  content?: string | undefined;
841
832
  } | {
842
- path: string;
843
833
  type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
834
+ path: string;
844
835
  content?: string | undefined;
845
836
  target?: string | undefined;
846
837
  })[] | undefined;
838
+ tailwind?: {
839
+ config?: {
840
+ theme?: Record<string, any> | undefined;
841
+ content?: string[] | undefined;
842
+ plugins?: string[] | undefined;
843
+ } | undefined;
844
+ } | undefined;
847
845
  cssVars?: {
848
846
  theme?: Record<string, string> | undefined;
849
847
  light?: Record<string, string> | undefined;
850
848
  dark?: Record<string, string> | undefined;
851
849
  } | undefined;
850
+ css?: Record<string, any> | undefined;
852
851
  envVars?: Record<string, string> | undefined;
853
852
  meta?: Record<string, any> | undefined;
853
+ docs?: string | undefined;
854
854
  categories?: string[] | undefined;
855
855
  } | {
856
- type: "registry:font";
857
856
  name: string;
857
+ type: "registry:font";
858
858
  font: {
859
859
  family: string;
860
860
  provider: "google";
@@ -865,80 +865,80 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
865
865
  selector?: string | undefined;
866
866
  dependency?: string | undefined;
867
867
  };
868
- tailwind?: {
869
- config?: {
870
- content?: string[] | undefined;
871
- theme?: Record<string, any> | undefined;
872
- plugins?: string[] | undefined;
873
- } | undefined;
874
- } | undefined;
875
- docs?: string | undefined;
868
+ description?: string | undefined;
869
+ title?: string | undefined;
876
870
  $schema?: string | undefined;
877
- css?: Record<string, any> | undefined;
878
871
  extends?: string | undefined;
879
- title?: string | undefined;
880
872
  author?: string | undefined;
881
- description?: string | undefined;
882
873
  dependencies?: string[] | undefined;
883
874
  devDependencies?: string[] | undefined;
884
875
  registryDependencies?: string[] | undefined;
885
876
  files?: ({
877
+ type: "registry:file" | "registry:page";
886
878
  path: string;
887
- type: "registry:page" | "registry:file";
888
879
  target: string;
889
880
  content?: string | undefined;
890
881
  } | {
891
- path: string;
892
882
  type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
883
+ path: string;
893
884
  content?: string | undefined;
894
885
  target?: string | undefined;
895
886
  })[] | undefined;
887
+ tailwind?: {
888
+ config?: {
889
+ theme?: Record<string, any> | undefined;
890
+ content?: string[] | undefined;
891
+ plugins?: string[] | undefined;
892
+ } | undefined;
893
+ } | undefined;
896
894
  cssVars?: {
897
895
  theme?: Record<string, string> | undefined;
898
896
  light?: Record<string, string> | undefined;
899
897
  dark?: Record<string, string> | undefined;
900
898
  } | undefined;
899
+ css?: Record<string, any> | undefined;
901
900
  envVars?: Record<string, string> | undefined;
902
901
  meta?: Record<string, any> | undefined;
902
+ docs?: string | undefined;
903
903
  categories?: string[] | undefined;
904
904
  } | {
905
- type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:page" | "registry:file" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
906
905
  name: string;
907
- tailwind?: {
908
- config?: {
909
- content?: string[] | undefined;
910
- theme?: Record<string, any> | undefined;
911
- plugins?: string[] | undefined;
912
- } | undefined;
913
- } | undefined;
914
- docs?: string | undefined;
906
+ type: "registry:file" | "registry:page" | "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
907
+ description?: string | undefined;
908
+ title?: string | undefined;
915
909
  $schema?: string | undefined;
916
- css?: Record<string, any> | undefined;
917
910
  extends?: string | undefined;
918
- title?: string | undefined;
919
911
  author?: string | undefined;
920
- description?: string | undefined;
921
912
  dependencies?: string[] | undefined;
922
913
  devDependencies?: string[] | undefined;
923
914
  registryDependencies?: string[] | undefined;
924
915
  files?: ({
916
+ type: "registry:file" | "registry:page";
925
917
  path: string;
926
- type: "registry:page" | "registry:file";
927
918
  target: string;
928
919
  content?: string | undefined;
929
920
  } | {
930
- path: string;
931
921
  type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
922
+ path: string;
932
923
  content?: string | undefined;
933
924
  target?: string | undefined;
934
925
  })[] | undefined;
926
+ tailwind?: {
927
+ config?: {
928
+ theme?: Record<string, any> | undefined;
929
+ content?: string[] | undefined;
930
+ plugins?: string[] | undefined;
931
+ } | undefined;
932
+ } | undefined;
935
933
  cssVars?: {
936
934
  theme?: Record<string, string> | undefined;
937
935
  light?: Record<string, string> | undefined;
938
936
  dark?: Record<string, string> | undefined;
939
937
  } | undefined;
938
+ css?: Record<string, any> | undefined;
940
939
  envVars?: Record<string, string> | undefined;
941
940
  meta?: Record<string, any> | undefined;
941
+ docs?: string | undefined;
942
942
  categories?: string[] | undefined;
943
943
  })[]>;
944
944
  /**
@@ -948,8 +948,8 @@ declare function getItemTargetPath(config: Config, item: Pick<z.infer<typeof reg
948
948
  declare function getRegistries(options?: {
949
949
  useCache?: boolean;
950
950
  }): Promise<{
951
- url: string;
952
951
  name: string;
952
+ url: string;
953
953
  description?: string | undefined;
954
954
  homepage?: string | undefined;
955
955
  }[]>;
@@ -962,16 +962,16 @@ declare function getRegistriesIndex(options?: {
962
962
  declare function getPresets(options?: {
963
963
  useCache?: boolean;
964
964
  }): Promise<{
965
+ description: string;
966
+ name: string;
967
+ title: string;
968
+ theme: string;
965
969
  style: string;
966
970
  baseColor: string;
967
971
  iconLibrary: string;
968
972
  rtl: boolean;
969
973
  menuColor: "default" | "inverted" | "default-translucent" | "inverted-translucent";
970
- menuAccent: "bold" | "subtle";
971
- theme: string;
972
- name: string;
973
- title: string;
974
- description: string;
974
+ menuAccent: "subtle" | "bold";
975
975
  font: string;
976
976
  base: string;
977
977
  radius: string;
@@ -979,16 +979,16 @@ declare function getPresets(options?: {
979
979
  declare function getPreset(name: string, options?: {
980
980
  useCache?: boolean;
981
981
  }): Promise<{
982
+ description: string;
983
+ name: string;
984
+ title: string;
985
+ theme: string;
982
986
  style: string;
983
987
  baseColor: string;
984
988
  iconLibrary: string;
985
989
  rtl: boolean;
986
990
  menuColor: "default" | "inverted" | "default-translucent" | "inverted-translucent";
987
- menuAccent: "bold" | "subtle";
988
- theme: string;
989
- name: string;
990
- title: string;
991
- description: string;
991
+ menuAccent: "subtle" | "bold";
992
992
  font: string;
993
993
  base: string;
994
994
  radius: string;