@alquimia-ai/tools 2.2.0 → 2.4.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.
Files changed (76) hide show
  1. package/dist/actions/index.d.mts +1 -0
  2. package/dist/actions/index.d.ts +1 -0
  3. package/dist/actions/index.js.map +1 -1
  4. package/dist/actions/index.mjs.map +1 -1
  5. package/dist/actions-B0hfoYRd.d.ts +57 -0
  6. package/dist/actions-CZU_GRy5.d.mts +57 -0
  7. package/dist/adapters/fetch.d.mts +1 -0
  8. package/dist/adapters/fetch.d.ts +1 -0
  9. package/dist/adapters/fetch.js +4 -0
  10. package/dist/adapters/fetch.js.map +1 -1
  11. package/dist/adapters/fetch.mjs +4 -0
  12. package/dist/adapters/fetch.mjs.map +1 -1
  13. package/dist/adapters/index.d.mts +1 -0
  14. package/dist/adapters/index.d.ts +1 -0
  15. package/dist/adapters/index.js.map +1 -1
  16. package/dist/adapters/next.d.mts +1 -0
  17. package/dist/adapters/next.d.ts +1 -0
  18. package/dist/adapters/next.js +4 -0
  19. package/dist/adapters/next.js.map +1 -1
  20. package/dist/adapters/next.mjs +4 -0
  21. package/dist/adapters/next.mjs.map +1 -1
  22. package/dist/genui/index.d.mts +3027 -0
  23. package/dist/genui/index.d.ts +3027 -0
  24. package/dist/genui/index.js +3368 -0
  25. package/dist/genui/index.js.map +1 -0
  26. package/dist/genui/index.mjs +3345 -0
  27. package/dist/genui/index.mjs.map +1 -0
  28. package/dist/hooks/index.d.mts +25 -2
  29. package/dist/hooks/index.d.ts +25 -2
  30. package/dist/hooks/index.js +510 -0
  31. package/dist/hooks/index.js.map +1 -1
  32. package/dist/hooks/index.mjs +511 -1
  33. package/dist/hooks/index.mjs.map +1 -1
  34. package/dist/next/index.d.mts +7 -0
  35. package/dist/next/index.d.ts +7 -0
  36. package/dist/next/index.js +50 -0
  37. package/dist/next/index.js.map +1 -1
  38. package/dist/next/index.mjs +50 -0
  39. package/dist/next/index.mjs.map +1 -1
  40. package/dist/providers/index.d.mts +3 -2
  41. package/dist/providers/index.d.ts +3 -2
  42. package/dist/providers/index.js.map +1 -1
  43. package/dist/providers/index.mjs.map +1 -1
  44. package/dist/proxy.d.mts +2 -0
  45. package/dist/proxy.d.ts +2 -0
  46. package/dist/proxy.js +41 -0
  47. package/dist/proxy.js.map +1 -1
  48. package/dist/proxy.mjs +41 -0
  49. package/dist/proxy.mjs.map +1 -1
  50. package/dist/registry-Bcu_ZYL1.d.mts +19 -0
  51. package/dist/registry-Bcu_ZYL1.d.ts +19 -0
  52. package/dist/sdk/index.d.mts +10 -0
  53. package/dist/sdk/index.d.ts +10 -0
  54. package/dist/sdk/index.js +26 -0
  55. package/dist/sdk/index.js.map +1 -1
  56. package/dist/sdk/index.mjs +26 -0
  57. package/dist/sdk/index.mjs.map +1 -1
  58. package/dist/services/index.d.mts +1 -0
  59. package/dist/services/index.d.ts +1 -0
  60. package/dist/types/index.d.mts +12 -1
  61. package/dist/types/index.d.ts +12 -1
  62. package/dist/types/index.js.map +1 -1
  63. package/dist/types/index.mjs.map +1 -1
  64. package/dist/types-DnfWUE9V.d.mts +56 -0
  65. package/dist/types-DnfWUE9V.d.ts +56 -0
  66. package/dist/{types-CIqszY3g.d.mts → types-Dvu9y4WM.d.mts} +1 -1
  67. package/dist/{types-CIqszY3g.d.ts → types-Dvu9y4WM.d.ts} +1 -1
  68. package/dist/utils/index.d.mts +6 -2
  69. package/dist/utils/index.d.ts +6 -2
  70. package/dist/utils/index.js +4 -0
  71. package/dist/utils/index.js.map +1 -1
  72. package/dist/utils/index.mjs +4 -0
  73. package/dist/utils/index.mjs.map +1 -1
  74. package/dist/worklog/index.d.mts +2 -2
  75. package/dist/worklog/index.d.ts +2 -2
  76. package/package.json +19 -7
@@ -0,0 +1,3027 @@
1
+ import { A as A2uiComponent, a as A2uiSurface } from '../types-DnfWUE9V.mjs';
2
+ export { S as SurfaceAction, T as ToolExecutionResponse } from '../types-DnfWUE9V.mjs';
3
+ import { z } from 'zod';
4
+ import { C as CatalogManifest, U as UIComponentDefinition } from '../registry-Bcu_ZYL1.mjs';
5
+ export { a as UNKNOWN_COMPONENT, r as resolveComponent } from '../registry-Bcu_ZYL1.mjs';
6
+ export { D as DISMISS_ACTION, S as SurfaceResult, U as UIAction, a as UIActionKind, b as assertSafeActionName, c as buildDismissResult, d as buildSurfaceResult, e as classifyAction } from '../actions-CZU_GRy5.mjs';
7
+
8
+ /**
9
+ * The agent-facing "style vocabulary" — enum-constrained semantic props that let
10
+ * the model style a surface via INTENT, never CSS. Shared across every catalog
11
+ * component; the UI renderer maps these to the consumer's design tokens.
12
+ * See docs/a2ui-approach.md §11.
13
+ */
14
+ declare const TONES: readonly ["default", "muted", "primary", "success", "warning", "danger"];
15
+ declare const SIZES: readonly ["sm", "md", "lg"];
16
+ declare const EMPHASES: readonly ["low", "medium", "high"];
17
+ declare const ALIGNS: readonly ["start", "center", "end"];
18
+ declare const DENSITIES: readonly ["compact", "comfortable"];
19
+ type Tone = (typeof TONES)[number];
20
+ type Size = (typeof SIZES)[number];
21
+ type Emphasis = (typeof EMPHASES)[number];
22
+ type Align = (typeof ALIGNS)[number];
23
+ type Density = (typeof DENSITIES)[number];
24
+ interface StyleProps {
25
+ tone?: Tone;
26
+ size?: Size;
27
+ emphasis?: Emphasis;
28
+ align?: Align;
29
+ density?: Density;
30
+ }
31
+ /**
32
+ * Raw zod shape merged into every component schema in the catalog.
33
+ * `variant` is component-specific and added per component, not here.
34
+ */
35
+ declare const styleSchemaShape: {
36
+ tone: z.ZodOptional<z.ZodEnum<["default", "muted", "primary", "success", "warning", "danger"]>>;
37
+ size: z.ZodOptional<z.ZodEnum<["sm", "md", "lg"]>>;
38
+ emphasis: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
39
+ align: z.ZodOptional<z.ZodEnum<["start", "center", "end"]>>;
40
+ density: z.ZodOptional<z.ZodEnum<["compact", "comfortable"]>>;
41
+ };
42
+
43
+ /** Versioned catalog id — a URI (A2UI convention). The version lives in the path. */
44
+ declare const CORE_CATALOG_ID = "https://alquimia.ai/catalogs/core/v1/catalog.json";
45
+ /**
46
+ * The default catalog: ~40 components across layout / content / inputs / data / actions.
47
+ * Prop schemas describe ONLY presentational props; id/component/children/binding/action
48
+ * are structural. Every component also accepts the shared style vocabulary.
49
+ */
50
+ declare const coreCatalog: CatalogManifest;
51
+
52
+ /** JSON Pointer (RFC 6901) read/write against the surface dataModel. */
53
+ declare function getPointer(model: unknown, pointer: string): unknown;
54
+ declare function setPointer<T>(model: T, pointer: string, value: unknown): T;
55
+
56
+ interface ValidationError {
57
+ path: string;
58
+ message: string;
59
+ }
60
+ interface ValidationResult<T = unknown> {
61
+ ok: boolean;
62
+ value?: T;
63
+ /** Fatal problems — the surface cannot be rendered. */
64
+ errors: ValidationError[];
65
+ /** Non-fatal problems — the surface still renders; these degrade gracefully. */
66
+ warnings?: ValidationError[];
67
+ }
68
+ /** Validate one node's presentational props against its catalog definition. */
69
+ declare function validateProps(node: A2uiComponent, def: UIComponentDefinition): ValidationResult;
70
+ /** Full structural + catalog + prop + action validation of an incoming surface. */
71
+ declare function validateSurface(input: unknown, manifest: CatalogManifest): ValidationResult<A2uiSurface>;
72
+
73
+ /**
74
+ * The runtime expects each `tool_schemas` entry to be a flat JSON Schema of the
75
+ * tool arguments: `title` is the tool name, `properties` are the arguments.
76
+ * (Not the OpenAI `{ type:"function", function:{...} }` wrapper, and not a
77
+ * `{ name, description, parameters }` envelope — both leave the runtime with an
78
+ * empty argument schema.)
79
+ */
80
+ interface RenderUiToolSchema {
81
+ title: "render_ui";
82
+ name: "render_ui";
83
+ description: string;
84
+ type: "object";
85
+ properties: Record<string, unknown>;
86
+ required: string[];
87
+ additionalProperties: boolean;
88
+ }
89
+ /** Build the render_ui tool schema from a catalog, filtered to an allowlist of component names. */
90
+ declare function buildRenderUiSchema(manifest: CatalogManifest, allowlist: string[]): RenderUiToolSchema;
91
+
92
+ /**
93
+ * Build the compact GenUI prompt clause from the catalog, filtered to an allowlist.
94
+ * Teaches the allowed components, the style vocabulary, the wantResponse round-trip
95
+ * rule, and the "don't reproduce the UI as text" rule.
96
+ */
97
+ declare function buildGenuiClause(manifest: CatalogManifest, allowlist: string[]): string;
98
+
99
+ /**
100
+ * An A2UI DynamicString / DynamicNumber: a prop value that is either a literal
101
+ * OR a reference to a data-model path (`{ path: "/user/name" }`, JSON Pointer).
102
+ */
103
+ type DynamicValue<T = unknown> = T | {
104
+ path: string;
105
+ };
106
+ /** True when a value is a `{ path: string }` data-model reference. */
107
+ declare function isPathRef(v: unknown): v is {
108
+ path: string;
109
+ };
110
+ /** Resolve a possibly-bound value against the surface data model. Literals pass through. */
111
+ declare function resolveDynamic(v: unknown, dataModel: unknown): unknown;
112
+
113
+ /**
114
+ * The A2UI-format catalog JSON — the published, versioned contract. Emitted from the
115
+ * authoring catalog (the zod `CatalogManifest`) so the shipped artifact can never drift
116
+ * from what the SDK validates against (guarded by emit.test.ts).
117
+ */
118
+ interface A2uiCatalogJson {
119
+ $schema: string;
120
+ catalogId: string;
121
+ title: string;
122
+ description: string;
123
+ components: Record<string, unknown>;
124
+ $defs: Record<string, unknown>;
125
+ }
126
+ /**
127
+ * Compile the authoring catalog to the A2UI v1.0 catalog format:
128
+ * `{ catalogId, components: { Name: {type:object, properties:{ component:{const}, …}, required, unevaluatedProperties:false } }, $defs }`.
129
+ */
130
+ declare function emitA2uiCatalog(manifest: CatalogManifest, opts: {
131
+ catalogId: string;
132
+ }): A2uiCatalogJson;
133
+
134
+ var $schema = "https://json-schema.org/draft/2020-12/schema";
135
+ var catalogId = "https://alquimia.ai/catalogs/core/v1/catalog.json";
136
+ var title = "Alquimia Core Catalog";
137
+ var description = "Alquimia's default A2UI catalog. Abstract, framework-agnostic component contract; consumers map each component to their own (shadcn) renderer. Generated from the SDK authoring catalog.";
138
+ var components = {
139
+ Stack: {
140
+ type: "object",
141
+ properties: {
142
+ component: {
143
+ "const": "Stack"
144
+ },
145
+ tone: {
146
+ type: "string",
147
+ "enum": [
148
+ "default",
149
+ "muted",
150
+ "primary",
151
+ "success",
152
+ "warning",
153
+ "danger"
154
+ ]
155
+ },
156
+ size: {
157
+ type: "string",
158
+ "enum": [
159
+ "sm",
160
+ "md",
161
+ "lg"
162
+ ]
163
+ },
164
+ emphasis: {
165
+ type: "string",
166
+ "enum": [
167
+ "low",
168
+ "medium",
169
+ "high"
170
+ ]
171
+ },
172
+ align: {
173
+ type: "string",
174
+ "enum": [
175
+ "start",
176
+ "center",
177
+ "end"
178
+ ]
179
+ },
180
+ density: {
181
+ type: "string",
182
+ "enum": [
183
+ "compact",
184
+ "comfortable"
185
+ ]
186
+ },
187
+ direction: {
188
+ type: "string",
189
+ "enum": [
190
+ "vertical",
191
+ "horizontal"
192
+ ]
193
+ },
194
+ gap: {
195
+ type: "string",
196
+ "enum": [
197
+ "sm",
198
+ "md",
199
+ "lg"
200
+ ]
201
+ }
202
+ },
203
+ required: [
204
+ "component"
205
+ ],
206
+ unevaluatedProperties: false
207
+ },
208
+ Grid: {
209
+ type: "object",
210
+ properties: {
211
+ component: {
212
+ "const": "Grid"
213
+ },
214
+ tone: {
215
+ type: "string",
216
+ "enum": [
217
+ "default",
218
+ "muted",
219
+ "primary",
220
+ "success",
221
+ "warning",
222
+ "danger"
223
+ ]
224
+ },
225
+ size: {
226
+ type: "string",
227
+ "enum": [
228
+ "sm",
229
+ "md",
230
+ "lg"
231
+ ]
232
+ },
233
+ emphasis: {
234
+ type: "string",
235
+ "enum": [
236
+ "low",
237
+ "medium",
238
+ "high"
239
+ ]
240
+ },
241
+ align: {
242
+ type: "string",
243
+ "enum": [
244
+ "start",
245
+ "center",
246
+ "end"
247
+ ]
248
+ },
249
+ density: {
250
+ type: "string",
251
+ "enum": [
252
+ "compact",
253
+ "comfortable"
254
+ ]
255
+ },
256
+ columns: {
257
+ type: "integer",
258
+ minimum: 1,
259
+ maximum: 6
260
+ },
261
+ gap: {
262
+ type: "string",
263
+ "enum": [
264
+ "sm",
265
+ "md",
266
+ "lg"
267
+ ]
268
+ }
269
+ },
270
+ required: [
271
+ "component"
272
+ ],
273
+ unevaluatedProperties: false
274
+ },
275
+ Row: {
276
+ type: "object",
277
+ properties: {
278
+ component: {
279
+ "const": "Row"
280
+ },
281
+ tone: {
282
+ type: "string",
283
+ "enum": [
284
+ "default",
285
+ "muted",
286
+ "primary",
287
+ "success",
288
+ "warning",
289
+ "danger"
290
+ ]
291
+ },
292
+ size: {
293
+ type: "string",
294
+ "enum": [
295
+ "sm",
296
+ "md",
297
+ "lg"
298
+ ]
299
+ },
300
+ emphasis: {
301
+ type: "string",
302
+ "enum": [
303
+ "low",
304
+ "medium",
305
+ "high"
306
+ ]
307
+ },
308
+ align: {
309
+ type: "string",
310
+ "enum": [
311
+ "start",
312
+ "center",
313
+ "end"
314
+ ]
315
+ },
316
+ density: {
317
+ type: "string",
318
+ "enum": [
319
+ "compact",
320
+ "comfortable"
321
+ ]
322
+ },
323
+ gap: {
324
+ type: "string",
325
+ "enum": [
326
+ "sm",
327
+ "md",
328
+ "lg"
329
+ ]
330
+ },
331
+ wrap: {
332
+ type: "boolean"
333
+ }
334
+ },
335
+ required: [
336
+ "component"
337
+ ],
338
+ unevaluatedProperties: false
339
+ },
340
+ Column: {
341
+ type: "object",
342
+ properties: {
343
+ component: {
344
+ "const": "Column"
345
+ },
346
+ tone: {
347
+ type: "string",
348
+ "enum": [
349
+ "default",
350
+ "muted",
351
+ "primary",
352
+ "success",
353
+ "warning",
354
+ "danger"
355
+ ]
356
+ },
357
+ size: {
358
+ type: "string",
359
+ "enum": [
360
+ "sm",
361
+ "md",
362
+ "lg"
363
+ ]
364
+ },
365
+ emphasis: {
366
+ type: "string",
367
+ "enum": [
368
+ "low",
369
+ "medium",
370
+ "high"
371
+ ]
372
+ },
373
+ align: {
374
+ type: "string",
375
+ "enum": [
376
+ "start",
377
+ "center",
378
+ "end"
379
+ ]
380
+ },
381
+ density: {
382
+ type: "string",
383
+ "enum": [
384
+ "compact",
385
+ "comfortable"
386
+ ]
387
+ },
388
+ gap: {
389
+ type: "string",
390
+ "enum": [
391
+ "sm",
392
+ "md",
393
+ "lg"
394
+ ]
395
+ }
396
+ },
397
+ required: [
398
+ "component"
399
+ ],
400
+ unevaluatedProperties: false
401
+ },
402
+ Divider: {
403
+ type: "object",
404
+ properties: {
405
+ component: {
406
+ "const": "Divider"
407
+ },
408
+ tone: {
409
+ type: "string",
410
+ "enum": [
411
+ "default",
412
+ "muted",
413
+ "primary",
414
+ "success",
415
+ "warning",
416
+ "danger"
417
+ ]
418
+ },
419
+ size: {
420
+ type: "string",
421
+ "enum": [
422
+ "sm",
423
+ "md",
424
+ "lg"
425
+ ]
426
+ },
427
+ emphasis: {
428
+ type: "string",
429
+ "enum": [
430
+ "low",
431
+ "medium",
432
+ "high"
433
+ ]
434
+ },
435
+ align: {
436
+ type: "string",
437
+ "enum": [
438
+ "start",
439
+ "center",
440
+ "end"
441
+ ]
442
+ },
443
+ density: {
444
+ type: "string",
445
+ "enum": [
446
+ "compact",
447
+ "comfortable"
448
+ ]
449
+ },
450
+ label: {
451
+ type: "string"
452
+ }
453
+ },
454
+ required: [
455
+ "component"
456
+ ],
457
+ unevaluatedProperties: false
458
+ },
459
+ Spacer: {
460
+ type: "object",
461
+ properties: {
462
+ component: {
463
+ "const": "Spacer"
464
+ },
465
+ tone: {
466
+ type: "string",
467
+ "enum": [
468
+ "default",
469
+ "muted",
470
+ "primary",
471
+ "success",
472
+ "warning",
473
+ "danger"
474
+ ]
475
+ },
476
+ size: {
477
+ type: "string",
478
+ "enum": [
479
+ "sm",
480
+ "md",
481
+ "lg"
482
+ ]
483
+ },
484
+ emphasis: {
485
+ type: "string",
486
+ "enum": [
487
+ "low",
488
+ "medium",
489
+ "high"
490
+ ]
491
+ },
492
+ align: {
493
+ type: "string",
494
+ "enum": [
495
+ "start",
496
+ "center",
497
+ "end"
498
+ ]
499
+ },
500
+ density: {
501
+ type: "string",
502
+ "enum": [
503
+ "compact",
504
+ "comfortable"
505
+ ]
506
+ }
507
+ },
508
+ required: [
509
+ "component"
510
+ ],
511
+ unevaluatedProperties: false
512
+ },
513
+ Card: {
514
+ type: "object",
515
+ properties: {
516
+ component: {
517
+ "const": "Card"
518
+ },
519
+ tone: {
520
+ type: "string",
521
+ "enum": [
522
+ "default",
523
+ "muted",
524
+ "primary",
525
+ "success",
526
+ "warning",
527
+ "danger"
528
+ ]
529
+ },
530
+ size: {
531
+ type: "string",
532
+ "enum": [
533
+ "sm",
534
+ "md",
535
+ "lg"
536
+ ]
537
+ },
538
+ emphasis: {
539
+ type: "string",
540
+ "enum": [
541
+ "low",
542
+ "medium",
543
+ "high"
544
+ ]
545
+ },
546
+ align: {
547
+ type: "string",
548
+ "enum": [
549
+ "start",
550
+ "center",
551
+ "end"
552
+ ]
553
+ },
554
+ density: {
555
+ type: "string",
556
+ "enum": [
557
+ "compact",
558
+ "comfortable"
559
+ ]
560
+ },
561
+ variant: {
562
+ type: "string",
563
+ "enum": [
564
+ "elevated",
565
+ "outline",
566
+ "ghost"
567
+ ]
568
+ },
569
+ title: {
570
+ type: "string"
571
+ },
572
+ description: {
573
+ type: "string"
574
+ }
575
+ },
576
+ required: [
577
+ "component"
578
+ ],
579
+ unevaluatedProperties: false
580
+ },
581
+ Accordion: {
582
+ type: "object",
583
+ properties: {
584
+ component: {
585
+ "const": "Accordion"
586
+ },
587
+ tone: {
588
+ type: "string",
589
+ "enum": [
590
+ "default",
591
+ "muted",
592
+ "primary",
593
+ "success",
594
+ "warning",
595
+ "danger"
596
+ ]
597
+ },
598
+ size: {
599
+ type: "string",
600
+ "enum": [
601
+ "sm",
602
+ "md",
603
+ "lg"
604
+ ]
605
+ },
606
+ emphasis: {
607
+ type: "string",
608
+ "enum": [
609
+ "low",
610
+ "medium",
611
+ "high"
612
+ ]
613
+ },
614
+ align: {
615
+ type: "string",
616
+ "enum": [
617
+ "start",
618
+ "center",
619
+ "end"
620
+ ]
621
+ },
622
+ density: {
623
+ type: "string",
624
+ "enum": [
625
+ "compact",
626
+ "comfortable"
627
+ ]
628
+ },
629
+ items: {
630
+ type: "array",
631
+ items: {
632
+ type: "object",
633
+ properties: {
634
+ title: {
635
+ type: "string"
636
+ },
637
+ value: {
638
+ type: "string"
639
+ }
640
+ },
641
+ required: [
642
+ "title",
643
+ "value"
644
+ ],
645
+ additionalProperties: false
646
+ }
647
+ }
648
+ },
649
+ required: [
650
+ "component"
651
+ ],
652
+ unevaluatedProperties: false
653
+ },
654
+ Tabs: {
655
+ type: "object",
656
+ properties: {
657
+ component: {
658
+ "const": "Tabs"
659
+ },
660
+ tone: {
661
+ type: "string",
662
+ "enum": [
663
+ "default",
664
+ "muted",
665
+ "primary",
666
+ "success",
667
+ "warning",
668
+ "danger"
669
+ ]
670
+ },
671
+ size: {
672
+ type: "string",
673
+ "enum": [
674
+ "sm",
675
+ "md",
676
+ "lg"
677
+ ]
678
+ },
679
+ emphasis: {
680
+ type: "string",
681
+ "enum": [
682
+ "low",
683
+ "medium",
684
+ "high"
685
+ ]
686
+ },
687
+ align: {
688
+ type: "string",
689
+ "enum": [
690
+ "start",
691
+ "center",
692
+ "end"
693
+ ]
694
+ },
695
+ density: {
696
+ type: "string",
697
+ "enum": [
698
+ "compact",
699
+ "comfortable"
700
+ ]
701
+ },
702
+ tabs: {
703
+ type: "array",
704
+ items: {
705
+ type: "object",
706
+ properties: {
707
+ label: {
708
+ type: "string"
709
+ },
710
+ value: {
711
+ type: "string"
712
+ }
713
+ },
714
+ required: [
715
+ "label",
716
+ "value"
717
+ ],
718
+ additionalProperties: false
719
+ },
720
+ minItems: 1
721
+ }
722
+ },
723
+ required: [
724
+ "component",
725
+ "tabs"
726
+ ],
727
+ unevaluatedProperties: false
728
+ },
729
+ Text: {
730
+ type: "object",
731
+ properties: {
732
+ component: {
733
+ "const": "Text"
734
+ },
735
+ tone: {
736
+ type: "string",
737
+ "enum": [
738
+ "default",
739
+ "muted",
740
+ "primary",
741
+ "success",
742
+ "warning",
743
+ "danger"
744
+ ]
745
+ },
746
+ size: {
747
+ type: "string",
748
+ "enum": [
749
+ "sm",
750
+ "md",
751
+ "lg"
752
+ ]
753
+ },
754
+ emphasis: {
755
+ type: "string",
756
+ "enum": [
757
+ "low",
758
+ "medium",
759
+ "high"
760
+ ]
761
+ },
762
+ align: {
763
+ type: "string",
764
+ "enum": [
765
+ "start",
766
+ "center",
767
+ "end"
768
+ ]
769
+ },
770
+ density: {
771
+ type: "string",
772
+ "enum": [
773
+ "compact",
774
+ "comfortable"
775
+ ]
776
+ },
777
+ variant: {
778
+ type: "string",
779
+ "enum": [
780
+ "body",
781
+ "muted",
782
+ "caption",
783
+ "lead"
784
+ ]
785
+ },
786
+ text: {
787
+ type: "string"
788
+ }
789
+ },
790
+ required: [
791
+ "component",
792
+ "text"
793
+ ],
794
+ unevaluatedProperties: false
795
+ },
796
+ Heading: {
797
+ type: "object",
798
+ properties: {
799
+ component: {
800
+ "const": "Heading"
801
+ },
802
+ tone: {
803
+ type: "string",
804
+ "enum": [
805
+ "default",
806
+ "muted",
807
+ "primary",
808
+ "success",
809
+ "warning",
810
+ "danger"
811
+ ]
812
+ },
813
+ size: {
814
+ type: "string",
815
+ "enum": [
816
+ "sm",
817
+ "md",
818
+ "lg"
819
+ ]
820
+ },
821
+ emphasis: {
822
+ type: "string",
823
+ "enum": [
824
+ "low",
825
+ "medium",
826
+ "high"
827
+ ]
828
+ },
829
+ align: {
830
+ type: "string",
831
+ "enum": [
832
+ "start",
833
+ "center",
834
+ "end"
835
+ ]
836
+ },
837
+ density: {
838
+ type: "string",
839
+ "enum": [
840
+ "compact",
841
+ "comfortable"
842
+ ]
843
+ },
844
+ text: {
845
+ type: "string"
846
+ },
847
+ level: {
848
+ type: "integer",
849
+ minimum: 1,
850
+ maximum: 4
851
+ }
852
+ },
853
+ required: [
854
+ "component",
855
+ "text"
856
+ ],
857
+ unevaluatedProperties: false
858
+ },
859
+ Markdown: {
860
+ type: "object",
861
+ properties: {
862
+ component: {
863
+ "const": "Markdown"
864
+ },
865
+ tone: {
866
+ type: "string",
867
+ "enum": [
868
+ "default",
869
+ "muted",
870
+ "primary",
871
+ "success",
872
+ "warning",
873
+ "danger"
874
+ ]
875
+ },
876
+ size: {
877
+ type: "string",
878
+ "enum": [
879
+ "sm",
880
+ "md",
881
+ "lg"
882
+ ]
883
+ },
884
+ emphasis: {
885
+ type: "string",
886
+ "enum": [
887
+ "low",
888
+ "medium",
889
+ "high"
890
+ ]
891
+ },
892
+ align: {
893
+ type: "string",
894
+ "enum": [
895
+ "start",
896
+ "center",
897
+ "end"
898
+ ]
899
+ },
900
+ density: {
901
+ type: "string",
902
+ "enum": [
903
+ "compact",
904
+ "comfortable"
905
+ ]
906
+ },
907
+ text: {
908
+ type: "string"
909
+ }
910
+ },
911
+ required: [
912
+ "component",
913
+ "text"
914
+ ],
915
+ unevaluatedProperties: false
916
+ },
917
+ Image: {
918
+ type: "object",
919
+ properties: {
920
+ component: {
921
+ "const": "Image"
922
+ },
923
+ tone: {
924
+ type: "string",
925
+ "enum": [
926
+ "default",
927
+ "muted",
928
+ "primary",
929
+ "success",
930
+ "warning",
931
+ "danger"
932
+ ]
933
+ },
934
+ size: {
935
+ type: "string",
936
+ "enum": [
937
+ "sm",
938
+ "md",
939
+ "lg"
940
+ ]
941
+ },
942
+ emphasis: {
943
+ type: "string",
944
+ "enum": [
945
+ "low",
946
+ "medium",
947
+ "high"
948
+ ]
949
+ },
950
+ align: {
951
+ type: "string",
952
+ "enum": [
953
+ "start",
954
+ "center",
955
+ "end"
956
+ ]
957
+ },
958
+ density: {
959
+ type: "string",
960
+ "enum": [
961
+ "compact",
962
+ "comfortable"
963
+ ]
964
+ },
965
+ src: {
966
+ type: "string"
967
+ },
968
+ alt: {
969
+ type: "string"
970
+ }
971
+ },
972
+ required: [
973
+ "component",
974
+ "src"
975
+ ],
976
+ unevaluatedProperties: false
977
+ },
978
+ Icon: {
979
+ type: "object",
980
+ properties: {
981
+ component: {
982
+ "const": "Icon"
983
+ },
984
+ tone: {
985
+ type: "string",
986
+ "enum": [
987
+ "default",
988
+ "muted",
989
+ "primary",
990
+ "success",
991
+ "warning",
992
+ "danger"
993
+ ]
994
+ },
995
+ size: {
996
+ type: "string",
997
+ "enum": [
998
+ "sm",
999
+ "md",
1000
+ "lg"
1001
+ ]
1002
+ },
1003
+ emphasis: {
1004
+ type: "string",
1005
+ "enum": [
1006
+ "low",
1007
+ "medium",
1008
+ "high"
1009
+ ]
1010
+ },
1011
+ align: {
1012
+ type: "string",
1013
+ "enum": [
1014
+ "start",
1015
+ "center",
1016
+ "end"
1017
+ ]
1018
+ },
1019
+ density: {
1020
+ type: "string",
1021
+ "enum": [
1022
+ "compact",
1023
+ "comfortable"
1024
+ ]
1025
+ },
1026
+ name: {
1027
+ type: "string"
1028
+ }
1029
+ },
1030
+ required: [
1031
+ "component",
1032
+ "name"
1033
+ ],
1034
+ unevaluatedProperties: false
1035
+ },
1036
+ Badge: {
1037
+ type: "object",
1038
+ properties: {
1039
+ component: {
1040
+ "const": "Badge"
1041
+ },
1042
+ tone: {
1043
+ type: "string",
1044
+ "enum": [
1045
+ "default",
1046
+ "muted",
1047
+ "primary",
1048
+ "success",
1049
+ "warning",
1050
+ "danger"
1051
+ ]
1052
+ },
1053
+ size: {
1054
+ type: "string",
1055
+ "enum": [
1056
+ "sm",
1057
+ "md",
1058
+ "lg"
1059
+ ]
1060
+ },
1061
+ emphasis: {
1062
+ type: "string",
1063
+ "enum": [
1064
+ "low",
1065
+ "medium",
1066
+ "high"
1067
+ ]
1068
+ },
1069
+ align: {
1070
+ type: "string",
1071
+ "enum": [
1072
+ "start",
1073
+ "center",
1074
+ "end"
1075
+ ]
1076
+ },
1077
+ density: {
1078
+ type: "string",
1079
+ "enum": [
1080
+ "compact",
1081
+ "comfortable"
1082
+ ]
1083
+ },
1084
+ variant: {
1085
+ type: "string",
1086
+ "enum": [
1087
+ "solid",
1088
+ "outline",
1089
+ "subtle"
1090
+ ]
1091
+ },
1092
+ text: {
1093
+ type: "string"
1094
+ }
1095
+ },
1096
+ required: [
1097
+ "component",
1098
+ "text"
1099
+ ],
1100
+ unevaluatedProperties: false
1101
+ },
1102
+ Avatar: {
1103
+ type: "object",
1104
+ properties: {
1105
+ component: {
1106
+ "const": "Avatar"
1107
+ },
1108
+ tone: {
1109
+ type: "string",
1110
+ "enum": [
1111
+ "default",
1112
+ "muted",
1113
+ "primary",
1114
+ "success",
1115
+ "warning",
1116
+ "danger"
1117
+ ]
1118
+ },
1119
+ size: {
1120
+ type: "string",
1121
+ "enum": [
1122
+ "sm",
1123
+ "md",
1124
+ "lg"
1125
+ ]
1126
+ },
1127
+ emphasis: {
1128
+ type: "string",
1129
+ "enum": [
1130
+ "low",
1131
+ "medium",
1132
+ "high"
1133
+ ]
1134
+ },
1135
+ align: {
1136
+ type: "string",
1137
+ "enum": [
1138
+ "start",
1139
+ "center",
1140
+ "end"
1141
+ ]
1142
+ },
1143
+ density: {
1144
+ type: "string",
1145
+ "enum": [
1146
+ "compact",
1147
+ "comfortable"
1148
+ ]
1149
+ },
1150
+ src: {
1151
+ type: "string"
1152
+ },
1153
+ fallback: {
1154
+ type: "string"
1155
+ }
1156
+ },
1157
+ required: [
1158
+ "component"
1159
+ ],
1160
+ unevaluatedProperties: false
1161
+ },
1162
+ Alert: {
1163
+ type: "object",
1164
+ properties: {
1165
+ component: {
1166
+ "const": "Alert"
1167
+ },
1168
+ tone: {
1169
+ type: "string",
1170
+ "enum": [
1171
+ "default",
1172
+ "muted",
1173
+ "primary",
1174
+ "success",
1175
+ "warning",
1176
+ "danger"
1177
+ ]
1178
+ },
1179
+ size: {
1180
+ type: "string",
1181
+ "enum": [
1182
+ "sm",
1183
+ "md",
1184
+ "lg"
1185
+ ]
1186
+ },
1187
+ emphasis: {
1188
+ type: "string",
1189
+ "enum": [
1190
+ "low",
1191
+ "medium",
1192
+ "high"
1193
+ ]
1194
+ },
1195
+ align: {
1196
+ type: "string",
1197
+ "enum": [
1198
+ "start",
1199
+ "center",
1200
+ "end"
1201
+ ]
1202
+ },
1203
+ density: {
1204
+ type: "string",
1205
+ "enum": [
1206
+ "compact",
1207
+ "comfortable"
1208
+ ]
1209
+ },
1210
+ variant: {
1211
+ type: "string",
1212
+ "enum": [
1213
+ "info",
1214
+ "success",
1215
+ "warning",
1216
+ "danger"
1217
+ ]
1218
+ },
1219
+ text: {
1220
+ type: "string"
1221
+ },
1222
+ title: {
1223
+ type: "string"
1224
+ }
1225
+ },
1226
+ required: [
1227
+ "component",
1228
+ "text"
1229
+ ],
1230
+ unevaluatedProperties: false
1231
+ },
1232
+ Stat: {
1233
+ type: "object",
1234
+ properties: {
1235
+ component: {
1236
+ "const": "Stat"
1237
+ },
1238
+ tone: {
1239
+ type: "string",
1240
+ "enum": [
1241
+ "default",
1242
+ "muted",
1243
+ "primary",
1244
+ "success",
1245
+ "warning",
1246
+ "danger"
1247
+ ]
1248
+ },
1249
+ size: {
1250
+ type: "string",
1251
+ "enum": [
1252
+ "sm",
1253
+ "md",
1254
+ "lg"
1255
+ ]
1256
+ },
1257
+ emphasis: {
1258
+ type: "string",
1259
+ "enum": [
1260
+ "low",
1261
+ "medium",
1262
+ "high"
1263
+ ]
1264
+ },
1265
+ align: {
1266
+ type: "string",
1267
+ "enum": [
1268
+ "start",
1269
+ "center",
1270
+ "end"
1271
+ ]
1272
+ },
1273
+ density: {
1274
+ type: "string",
1275
+ "enum": [
1276
+ "compact",
1277
+ "comfortable"
1278
+ ]
1279
+ },
1280
+ label: {
1281
+ type: "string"
1282
+ },
1283
+ value: {
1284
+ type: [
1285
+ "string",
1286
+ "number"
1287
+ ]
1288
+ },
1289
+ delta: {
1290
+ type: "string"
1291
+ }
1292
+ },
1293
+ required: [
1294
+ "component",
1295
+ "label",
1296
+ "value"
1297
+ ],
1298
+ unevaluatedProperties: false
1299
+ },
1300
+ KeyValue: {
1301
+ type: "object",
1302
+ properties: {
1303
+ component: {
1304
+ "const": "KeyValue"
1305
+ },
1306
+ tone: {
1307
+ type: "string",
1308
+ "enum": [
1309
+ "default",
1310
+ "muted",
1311
+ "primary",
1312
+ "success",
1313
+ "warning",
1314
+ "danger"
1315
+ ]
1316
+ },
1317
+ size: {
1318
+ type: "string",
1319
+ "enum": [
1320
+ "sm",
1321
+ "md",
1322
+ "lg"
1323
+ ]
1324
+ },
1325
+ emphasis: {
1326
+ type: "string",
1327
+ "enum": [
1328
+ "low",
1329
+ "medium",
1330
+ "high"
1331
+ ]
1332
+ },
1333
+ align: {
1334
+ type: "string",
1335
+ "enum": [
1336
+ "start",
1337
+ "center",
1338
+ "end"
1339
+ ]
1340
+ },
1341
+ density: {
1342
+ type: "string",
1343
+ "enum": [
1344
+ "compact",
1345
+ "comfortable"
1346
+ ]
1347
+ }
1348
+ },
1349
+ required: [
1350
+ "component"
1351
+ ],
1352
+ unevaluatedProperties: false
1353
+ },
1354
+ List: {
1355
+ type: "object",
1356
+ properties: {
1357
+ component: {
1358
+ "const": "List"
1359
+ },
1360
+ tone: {
1361
+ type: "string",
1362
+ "enum": [
1363
+ "default",
1364
+ "muted",
1365
+ "primary",
1366
+ "success",
1367
+ "warning",
1368
+ "danger"
1369
+ ]
1370
+ },
1371
+ size: {
1372
+ type: "string",
1373
+ "enum": [
1374
+ "sm",
1375
+ "md",
1376
+ "lg"
1377
+ ]
1378
+ },
1379
+ emphasis: {
1380
+ type: "string",
1381
+ "enum": [
1382
+ "low",
1383
+ "medium",
1384
+ "high"
1385
+ ]
1386
+ },
1387
+ align: {
1388
+ type: "string",
1389
+ "enum": [
1390
+ "start",
1391
+ "center",
1392
+ "end"
1393
+ ]
1394
+ },
1395
+ density: {
1396
+ type: "string",
1397
+ "enum": [
1398
+ "compact",
1399
+ "comfortable"
1400
+ ]
1401
+ },
1402
+ ordered: {
1403
+ type: "boolean"
1404
+ }
1405
+ },
1406
+ required: [
1407
+ "component"
1408
+ ],
1409
+ unevaluatedProperties: false
1410
+ },
1411
+ Quote: {
1412
+ type: "object",
1413
+ properties: {
1414
+ component: {
1415
+ "const": "Quote"
1416
+ },
1417
+ tone: {
1418
+ type: "string",
1419
+ "enum": [
1420
+ "default",
1421
+ "muted",
1422
+ "primary",
1423
+ "success",
1424
+ "warning",
1425
+ "danger"
1426
+ ]
1427
+ },
1428
+ size: {
1429
+ type: "string",
1430
+ "enum": [
1431
+ "sm",
1432
+ "md",
1433
+ "lg"
1434
+ ]
1435
+ },
1436
+ emphasis: {
1437
+ type: "string",
1438
+ "enum": [
1439
+ "low",
1440
+ "medium",
1441
+ "high"
1442
+ ]
1443
+ },
1444
+ align: {
1445
+ type: "string",
1446
+ "enum": [
1447
+ "start",
1448
+ "center",
1449
+ "end"
1450
+ ]
1451
+ },
1452
+ density: {
1453
+ type: "string",
1454
+ "enum": [
1455
+ "compact",
1456
+ "comfortable"
1457
+ ]
1458
+ },
1459
+ text: {
1460
+ type: "string"
1461
+ },
1462
+ cite: {
1463
+ type: "string"
1464
+ }
1465
+ },
1466
+ required: [
1467
+ "component",
1468
+ "text"
1469
+ ],
1470
+ unevaluatedProperties: false
1471
+ },
1472
+ TextField: {
1473
+ type: "object",
1474
+ properties: {
1475
+ component: {
1476
+ "const": "TextField"
1477
+ },
1478
+ tone: {
1479
+ type: "string",
1480
+ "enum": [
1481
+ "default",
1482
+ "muted",
1483
+ "primary",
1484
+ "success",
1485
+ "warning",
1486
+ "danger"
1487
+ ]
1488
+ },
1489
+ size: {
1490
+ type: "string",
1491
+ "enum": [
1492
+ "sm",
1493
+ "md",
1494
+ "lg"
1495
+ ]
1496
+ },
1497
+ emphasis: {
1498
+ type: "string",
1499
+ "enum": [
1500
+ "low",
1501
+ "medium",
1502
+ "high"
1503
+ ]
1504
+ },
1505
+ align: {
1506
+ type: "string",
1507
+ "enum": [
1508
+ "start",
1509
+ "center",
1510
+ "end"
1511
+ ]
1512
+ },
1513
+ density: {
1514
+ type: "string",
1515
+ "enum": [
1516
+ "compact",
1517
+ "comfortable"
1518
+ ]
1519
+ },
1520
+ label: {
1521
+ type: "string"
1522
+ },
1523
+ placeholder: {
1524
+ type: "string"
1525
+ }
1526
+ },
1527
+ required: [
1528
+ "component"
1529
+ ],
1530
+ unevaluatedProperties: false
1531
+ },
1532
+ TextArea: {
1533
+ type: "object",
1534
+ properties: {
1535
+ component: {
1536
+ "const": "TextArea"
1537
+ },
1538
+ tone: {
1539
+ type: "string",
1540
+ "enum": [
1541
+ "default",
1542
+ "muted",
1543
+ "primary",
1544
+ "success",
1545
+ "warning",
1546
+ "danger"
1547
+ ]
1548
+ },
1549
+ size: {
1550
+ type: "string",
1551
+ "enum": [
1552
+ "sm",
1553
+ "md",
1554
+ "lg"
1555
+ ]
1556
+ },
1557
+ emphasis: {
1558
+ type: "string",
1559
+ "enum": [
1560
+ "low",
1561
+ "medium",
1562
+ "high"
1563
+ ]
1564
+ },
1565
+ align: {
1566
+ type: "string",
1567
+ "enum": [
1568
+ "start",
1569
+ "center",
1570
+ "end"
1571
+ ]
1572
+ },
1573
+ density: {
1574
+ type: "string",
1575
+ "enum": [
1576
+ "compact",
1577
+ "comfortable"
1578
+ ]
1579
+ },
1580
+ label: {
1581
+ type: "string"
1582
+ },
1583
+ placeholder: {
1584
+ type: "string"
1585
+ },
1586
+ rows: {
1587
+ type: "integer"
1588
+ }
1589
+ },
1590
+ required: [
1591
+ "component"
1592
+ ],
1593
+ unevaluatedProperties: false
1594
+ },
1595
+ NumberField: {
1596
+ type: "object",
1597
+ properties: {
1598
+ component: {
1599
+ "const": "NumberField"
1600
+ },
1601
+ tone: {
1602
+ type: "string",
1603
+ "enum": [
1604
+ "default",
1605
+ "muted",
1606
+ "primary",
1607
+ "success",
1608
+ "warning",
1609
+ "danger"
1610
+ ]
1611
+ },
1612
+ size: {
1613
+ type: "string",
1614
+ "enum": [
1615
+ "sm",
1616
+ "md",
1617
+ "lg"
1618
+ ]
1619
+ },
1620
+ emphasis: {
1621
+ type: "string",
1622
+ "enum": [
1623
+ "low",
1624
+ "medium",
1625
+ "high"
1626
+ ]
1627
+ },
1628
+ align: {
1629
+ type: "string",
1630
+ "enum": [
1631
+ "start",
1632
+ "center",
1633
+ "end"
1634
+ ]
1635
+ },
1636
+ density: {
1637
+ type: "string",
1638
+ "enum": [
1639
+ "compact",
1640
+ "comfortable"
1641
+ ]
1642
+ },
1643
+ label: {
1644
+ type: "string"
1645
+ },
1646
+ min: {
1647
+ type: "number"
1648
+ },
1649
+ max: {
1650
+ type: "number"
1651
+ },
1652
+ step: {
1653
+ type: "number"
1654
+ }
1655
+ },
1656
+ required: [
1657
+ "component"
1658
+ ],
1659
+ unevaluatedProperties: false
1660
+ },
1661
+ Select: {
1662
+ type: "object",
1663
+ properties: {
1664
+ component: {
1665
+ "const": "Select"
1666
+ },
1667
+ tone: {
1668
+ type: "string",
1669
+ "enum": [
1670
+ "default",
1671
+ "muted",
1672
+ "primary",
1673
+ "success",
1674
+ "warning",
1675
+ "danger"
1676
+ ]
1677
+ },
1678
+ size: {
1679
+ type: "string",
1680
+ "enum": [
1681
+ "sm",
1682
+ "md",
1683
+ "lg"
1684
+ ]
1685
+ },
1686
+ emphasis: {
1687
+ type: "string",
1688
+ "enum": [
1689
+ "low",
1690
+ "medium",
1691
+ "high"
1692
+ ]
1693
+ },
1694
+ align: {
1695
+ type: "string",
1696
+ "enum": [
1697
+ "start",
1698
+ "center",
1699
+ "end"
1700
+ ]
1701
+ },
1702
+ density: {
1703
+ type: "string",
1704
+ "enum": [
1705
+ "compact",
1706
+ "comfortable"
1707
+ ]
1708
+ },
1709
+ label: {
1710
+ type: "string"
1711
+ },
1712
+ placeholder: {
1713
+ type: "string"
1714
+ },
1715
+ options: {
1716
+ type: "array",
1717
+ items: {
1718
+ type: "object",
1719
+ properties: {
1720
+ label: {
1721
+ type: "string"
1722
+ },
1723
+ value: {
1724
+ type: [
1725
+ "string",
1726
+ "number"
1727
+ ]
1728
+ }
1729
+ },
1730
+ required: [
1731
+ "label",
1732
+ "value"
1733
+ ],
1734
+ additionalProperties: false
1735
+ },
1736
+ minItems: 1
1737
+ }
1738
+ },
1739
+ required: [
1740
+ "component",
1741
+ "options"
1742
+ ],
1743
+ unevaluatedProperties: false
1744
+ },
1745
+ MultiSelect: {
1746
+ type: "object",
1747
+ properties: {
1748
+ component: {
1749
+ "const": "MultiSelect"
1750
+ },
1751
+ tone: {
1752
+ type: "string",
1753
+ "enum": [
1754
+ "default",
1755
+ "muted",
1756
+ "primary",
1757
+ "success",
1758
+ "warning",
1759
+ "danger"
1760
+ ]
1761
+ },
1762
+ size: {
1763
+ type: "string",
1764
+ "enum": [
1765
+ "sm",
1766
+ "md",
1767
+ "lg"
1768
+ ]
1769
+ },
1770
+ emphasis: {
1771
+ type: "string",
1772
+ "enum": [
1773
+ "low",
1774
+ "medium",
1775
+ "high"
1776
+ ]
1777
+ },
1778
+ align: {
1779
+ type: "string",
1780
+ "enum": [
1781
+ "start",
1782
+ "center",
1783
+ "end"
1784
+ ]
1785
+ },
1786
+ density: {
1787
+ type: "string",
1788
+ "enum": [
1789
+ "compact",
1790
+ "comfortable"
1791
+ ]
1792
+ },
1793
+ label: {
1794
+ type: "string"
1795
+ },
1796
+ options: {
1797
+ type: "array",
1798
+ items: {
1799
+ type: "object",
1800
+ properties: {
1801
+ label: {
1802
+ type: "string"
1803
+ },
1804
+ value: {
1805
+ type: [
1806
+ "string",
1807
+ "number"
1808
+ ]
1809
+ }
1810
+ },
1811
+ required: [
1812
+ "label",
1813
+ "value"
1814
+ ],
1815
+ additionalProperties: false
1816
+ },
1817
+ minItems: 1
1818
+ }
1819
+ },
1820
+ required: [
1821
+ "component",
1822
+ "options"
1823
+ ],
1824
+ unevaluatedProperties: false
1825
+ },
1826
+ Combobox: {
1827
+ type: "object",
1828
+ properties: {
1829
+ component: {
1830
+ "const": "Combobox"
1831
+ },
1832
+ tone: {
1833
+ type: "string",
1834
+ "enum": [
1835
+ "default",
1836
+ "muted",
1837
+ "primary",
1838
+ "success",
1839
+ "warning",
1840
+ "danger"
1841
+ ]
1842
+ },
1843
+ size: {
1844
+ type: "string",
1845
+ "enum": [
1846
+ "sm",
1847
+ "md",
1848
+ "lg"
1849
+ ]
1850
+ },
1851
+ emphasis: {
1852
+ type: "string",
1853
+ "enum": [
1854
+ "low",
1855
+ "medium",
1856
+ "high"
1857
+ ]
1858
+ },
1859
+ align: {
1860
+ type: "string",
1861
+ "enum": [
1862
+ "start",
1863
+ "center",
1864
+ "end"
1865
+ ]
1866
+ },
1867
+ density: {
1868
+ type: "string",
1869
+ "enum": [
1870
+ "compact",
1871
+ "comfortable"
1872
+ ]
1873
+ },
1874
+ label: {
1875
+ type: "string"
1876
+ },
1877
+ placeholder: {
1878
+ type: "string"
1879
+ },
1880
+ options: {
1881
+ type: "array",
1882
+ items: {
1883
+ type: "object",
1884
+ properties: {
1885
+ label: {
1886
+ type: "string"
1887
+ },
1888
+ value: {
1889
+ type: [
1890
+ "string",
1891
+ "number"
1892
+ ]
1893
+ }
1894
+ },
1895
+ required: [
1896
+ "label",
1897
+ "value"
1898
+ ],
1899
+ additionalProperties: false
1900
+ },
1901
+ minItems: 1
1902
+ }
1903
+ },
1904
+ required: [
1905
+ "component",
1906
+ "options"
1907
+ ],
1908
+ unevaluatedProperties: false
1909
+ },
1910
+ Checkbox: {
1911
+ type: "object",
1912
+ properties: {
1913
+ component: {
1914
+ "const": "Checkbox"
1915
+ },
1916
+ tone: {
1917
+ type: "string",
1918
+ "enum": [
1919
+ "default",
1920
+ "muted",
1921
+ "primary",
1922
+ "success",
1923
+ "warning",
1924
+ "danger"
1925
+ ]
1926
+ },
1927
+ size: {
1928
+ type: "string",
1929
+ "enum": [
1930
+ "sm",
1931
+ "md",
1932
+ "lg"
1933
+ ]
1934
+ },
1935
+ emphasis: {
1936
+ type: "string",
1937
+ "enum": [
1938
+ "low",
1939
+ "medium",
1940
+ "high"
1941
+ ]
1942
+ },
1943
+ align: {
1944
+ type: "string",
1945
+ "enum": [
1946
+ "start",
1947
+ "center",
1948
+ "end"
1949
+ ]
1950
+ },
1951
+ density: {
1952
+ type: "string",
1953
+ "enum": [
1954
+ "compact",
1955
+ "comfortable"
1956
+ ]
1957
+ },
1958
+ label: {
1959
+ type: "string"
1960
+ }
1961
+ },
1962
+ required: [
1963
+ "component"
1964
+ ],
1965
+ unevaluatedProperties: false
1966
+ },
1967
+ CheckboxGroup: {
1968
+ type: "object",
1969
+ properties: {
1970
+ component: {
1971
+ "const": "CheckboxGroup"
1972
+ },
1973
+ tone: {
1974
+ type: "string",
1975
+ "enum": [
1976
+ "default",
1977
+ "muted",
1978
+ "primary",
1979
+ "success",
1980
+ "warning",
1981
+ "danger"
1982
+ ]
1983
+ },
1984
+ size: {
1985
+ type: "string",
1986
+ "enum": [
1987
+ "sm",
1988
+ "md",
1989
+ "lg"
1990
+ ]
1991
+ },
1992
+ emphasis: {
1993
+ type: "string",
1994
+ "enum": [
1995
+ "low",
1996
+ "medium",
1997
+ "high"
1998
+ ]
1999
+ },
2000
+ align: {
2001
+ type: "string",
2002
+ "enum": [
2003
+ "start",
2004
+ "center",
2005
+ "end"
2006
+ ]
2007
+ },
2008
+ density: {
2009
+ type: "string",
2010
+ "enum": [
2011
+ "compact",
2012
+ "comfortable"
2013
+ ]
2014
+ },
2015
+ label: {
2016
+ type: "string"
2017
+ },
2018
+ options: {
2019
+ type: "array",
2020
+ items: {
2021
+ type: "object",
2022
+ properties: {
2023
+ label: {
2024
+ type: "string"
2025
+ },
2026
+ value: {
2027
+ type: [
2028
+ "string",
2029
+ "number"
2030
+ ]
2031
+ }
2032
+ },
2033
+ required: [
2034
+ "label",
2035
+ "value"
2036
+ ],
2037
+ additionalProperties: false
2038
+ },
2039
+ minItems: 1
2040
+ }
2041
+ },
2042
+ required: [
2043
+ "component",
2044
+ "options"
2045
+ ],
2046
+ unevaluatedProperties: false
2047
+ },
2048
+ Radio: {
2049
+ type: "object",
2050
+ properties: {
2051
+ component: {
2052
+ "const": "Radio"
2053
+ },
2054
+ tone: {
2055
+ type: "string",
2056
+ "enum": [
2057
+ "default",
2058
+ "muted",
2059
+ "primary",
2060
+ "success",
2061
+ "warning",
2062
+ "danger"
2063
+ ]
2064
+ },
2065
+ size: {
2066
+ type: "string",
2067
+ "enum": [
2068
+ "sm",
2069
+ "md",
2070
+ "lg"
2071
+ ]
2072
+ },
2073
+ emphasis: {
2074
+ type: "string",
2075
+ "enum": [
2076
+ "low",
2077
+ "medium",
2078
+ "high"
2079
+ ]
2080
+ },
2081
+ align: {
2082
+ type: "string",
2083
+ "enum": [
2084
+ "start",
2085
+ "center",
2086
+ "end"
2087
+ ]
2088
+ },
2089
+ density: {
2090
+ type: "string",
2091
+ "enum": [
2092
+ "compact",
2093
+ "comfortable"
2094
+ ]
2095
+ },
2096
+ label: {
2097
+ type: "string"
2098
+ },
2099
+ options: {
2100
+ type: "array",
2101
+ items: {
2102
+ type: "object",
2103
+ properties: {
2104
+ label: {
2105
+ type: "string"
2106
+ },
2107
+ value: {
2108
+ type: [
2109
+ "string",
2110
+ "number"
2111
+ ]
2112
+ }
2113
+ },
2114
+ required: [
2115
+ "label",
2116
+ "value"
2117
+ ],
2118
+ additionalProperties: false
2119
+ },
2120
+ minItems: 1
2121
+ }
2122
+ },
2123
+ required: [
2124
+ "component",
2125
+ "options"
2126
+ ],
2127
+ unevaluatedProperties: false
2128
+ },
2129
+ Switch: {
2130
+ type: "object",
2131
+ properties: {
2132
+ component: {
2133
+ "const": "Switch"
2134
+ },
2135
+ tone: {
2136
+ type: "string",
2137
+ "enum": [
2138
+ "default",
2139
+ "muted",
2140
+ "primary",
2141
+ "success",
2142
+ "warning",
2143
+ "danger"
2144
+ ]
2145
+ },
2146
+ size: {
2147
+ type: "string",
2148
+ "enum": [
2149
+ "sm",
2150
+ "md",
2151
+ "lg"
2152
+ ]
2153
+ },
2154
+ emphasis: {
2155
+ type: "string",
2156
+ "enum": [
2157
+ "low",
2158
+ "medium",
2159
+ "high"
2160
+ ]
2161
+ },
2162
+ align: {
2163
+ type: "string",
2164
+ "enum": [
2165
+ "start",
2166
+ "center",
2167
+ "end"
2168
+ ]
2169
+ },
2170
+ density: {
2171
+ type: "string",
2172
+ "enum": [
2173
+ "compact",
2174
+ "comfortable"
2175
+ ]
2176
+ },
2177
+ label: {
2178
+ type: "string"
2179
+ }
2180
+ },
2181
+ required: [
2182
+ "component"
2183
+ ],
2184
+ unevaluatedProperties: false
2185
+ },
2186
+ Slider: {
2187
+ type: "object",
2188
+ properties: {
2189
+ component: {
2190
+ "const": "Slider"
2191
+ },
2192
+ tone: {
2193
+ type: "string",
2194
+ "enum": [
2195
+ "default",
2196
+ "muted",
2197
+ "primary",
2198
+ "success",
2199
+ "warning",
2200
+ "danger"
2201
+ ]
2202
+ },
2203
+ size: {
2204
+ type: "string",
2205
+ "enum": [
2206
+ "sm",
2207
+ "md",
2208
+ "lg"
2209
+ ]
2210
+ },
2211
+ emphasis: {
2212
+ type: "string",
2213
+ "enum": [
2214
+ "low",
2215
+ "medium",
2216
+ "high"
2217
+ ]
2218
+ },
2219
+ align: {
2220
+ type: "string",
2221
+ "enum": [
2222
+ "start",
2223
+ "center",
2224
+ "end"
2225
+ ]
2226
+ },
2227
+ density: {
2228
+ type: "string",
2229
+ "enum": [
2230
+ "compact",
2231
+ "comfortable"
2232
+ ]
2233
+ },
2234
+ label: {
2235
+ type: "string"
2236
+ },
2237
+ min: {
2238
+ type: "number"
2239
+ },
2240
+ max: {
2241
+ type: "number"
2242
+ },
2243
+ step: {
2244
+ type: "number"
2245
+ }
2246
+ },
2247
+ required: [
2248
+ "component"
2249
+ ],
2250
+ unevaluatedProperties: false
2251
+ },
2252
+ DatePicker: {
2253
+ type: "object",
2254
+ properties: {
2255
+ component: {
2256
+ "const": "DatePicker"
2257
+ },
2258
+ tone: {
2259
+ type: "string",
2260
+ "enum": [
2261
+ "default",
2262
+ "muted",
2263
+ "primary",
2264
+ "success",
2265
+ "warning",
2266
+ "danger"
2267
+ ]
2268
+ },
2269
+ size: {
2270
+ type: "string",
2271
+ "enum": [
2272
+ "sm",
2273
+ "md",
2274
+ "lg"
2275
+ ]
2276
+ },
2277
+ emphasis: {
2278
+ type: "string",
2279
+ "enum": [
2280
+ "low",
2281
+ "medium",
2282
+ "high"
2283
+ ]
2284
+ },
2285
+ align: {
2286
+ type: "string",
2287
+ "enum": [
2288
+ "start",
2289
+ "center",
2290
+ "end"
2291
+ ]
2292
+ },
2293
+ density: {
2294
+ type: "string",
2295
+ "enum": [
2296
+ "compact",
2297
+ "comfortable"
2298
+ ]
2299
+ },
2300
+ label: {
2301
+ type: "string"
2302
+ }
2303
+ },
2304
+ required: [
2305
+ "component"
2306
+ ],
2307
+ unevaluatedProperties: false
2308
+ },
2309
+ DateRange: {
2310
+ type: "object",
2311
+ properties: {
2312
+ component: {
2313
+ "const": "DateRange"
2314
+ },
2315
+ tone: {
2316
+ type: "string",
2317
+ "enum": [
2318
+ "default",
2319
+ "muted",
2320
+ "primary",
2321
+ "success",
2322
+ "warning",
2323
+ "danger"
2324
+ ]
2325
+ },
2326
+ size: {
2327
+ type: "string",
2328
+ "enum": [
2329
+ "sm",
2330
+ "md",
2331
+ "lg"
2332
+ ]
2333
+ },
2334
+ emphasis: {
2335
+ type: "string",
2336
+ "enum": [
2337
+ "low",
2338
+ "medium",
2339
+ "high"
2340
+ ]
2341
+ },
2342
+ align: {
2343
+ type: "string",
2344
+ "enum": [
2345
+ "start",
2346
+ "center",
2347
+ "end"
2348
+ ]
2349
+ },
2350
+ density: {
2351
+ type: "string",
2352
+ "enum": [
2353
+ "compact",
2354
+ "comfortable"
2355
+ ]
2356
+ },
2357
+ label: {
2358
+ type: "string"
2359
+ }
2360
+ },
2361
+ required: [
2362
+ "component"
2363
+ ],
2364
+ unevaluatedProperties: false
2365
+ },
2366
+ FileUpload: {
2367
+ type: "object",
2368
+ properties: {
2369
+ component: {
2370
+ "const": "FileUpload"
2371
+ },
2372
+ tone: {
2373
+ type: "string",
2374
+ "enum": [
2375
+ "default",
2376
+ "muted",
2377
+ "primary",
2378
+ "success",
2379
+ "warning",
2380
+ "danger"
2381
+ ]
2382
+ },
2383
+ size: {
2384
+ type: "string",
2385
+ "enum": [
2386
+ "sm",
2387
+ "md",
2388
+ "lg"
2389
+ ]
2390
+ },
2391
+ emphasis: {
2392
+ type: "string",
2393
+ "enum": [
2394
+ "low",
2395
+ "medium",
2396
+ "high"
2397
+ ]
2398
+ },
2399
+ align: {
2400
+ type: "string",
2401
+ "enum": [
2402
+ "start",
2403
+ "center",
2404
+ "end"
2405
+ ]
2406
+ },
2407
+ density: {
2408
+ type: "string",
2409
+ "enum": [
2410
+ "compact",
2411
+ "comfortable"
2412
+ ]
2413
+ },
2414
+ label: {
2415
+ type: "string"
2416
+ },
2417
+ accept: {
2418
+ type: "string"
2419
+ },
2420
+ multiple: {
2421
+ type: "boolean"
2422
+ }
2423
+ },
2424
+ required: [
2425
+ "component"
2426
+ ],
2427
+ unevaluatedProperties: false
2428
+ },
2429
+ Rating: {
2430
+ type: "object",
2431
+ properties: {
2432
+ component: {
2433
+ "const": "Rating"
2434
+ },
2435
+ tone: {
2436
+ type: "string",
2437
+ "enum": [
2438
+ "default",
2439
+ "muted",
2440
+ "primary",
2441
+ "success",
2442
+ "warning",
2443
+ "danger"
2444
+ ]
2445
+ },
2446
+ size: {
2447
+ type: "string",
2448
+ "enum": [
2449
+ "sm",
2450
+ "md",
2451
+ "lg"
2452
+ ]
2453
+ },
2454
+ emphasis: {
2455
+ type: "string",
2456
+ "enum": [
2457
+ "low",
2458
+ "medium",
2459
+ "high"
2460
+ ]
2461
+ },
2462
+ align: {
2463
+ type: "string",
2464
+ "enum": [
2465
+ "start",
2466
+ "center",
2467
+ "end"
2468
+ ]
2469
+ },
2470
+ density: {
2471
+ type: "string",
2472
+ "enum": [
2473
+ "compact",
2474
+ "comfortable"
2475
+ ]
2476
+ },
2477
+ label: {
2478
+ type: "string"
2479
+ },
2480
+ max: {
2481
+ type: "integer"
2482
+ }
2483
+ },
2484
+ required: [
2485
+ "component"
2486
+ ],
2487
+ unevaluatedProperties: false
2488
+ },
2489
+ Table: {
2490
+ type: "object",
2491
+ properties: {
2492
+ component: {
2493
+ "const": "Table"
2494
+ },
2495
+ tone: {
2496
+ type: "string",
2497
+ "enum": [
2498
+ "default",
2499
+ "muted",
2500
+ "primary",
2501
+ "success",
2502
+ "warning",
2503
+ "danger"
2504
+ ]
2505
+ },
2506
+ size: {
2507
+ type: "string",
2508
+ "enum": [
2509
+ "sm",
2510
+ "md",
2511
+ "lg"
2512
+ ]
2513
+ },
2514
+ emphasis: {
2515
+ type: "string",
2516
+ "enum": [
2517
+ "low",
2518
+ "medium",
2519
+ "high"
2520
+ ]
2521
+ },
2522
+ align: {
2523
+ type: "string",
2524
+ "enum": [
2525
+ "start",
2526
+ "center",
2527
+ "end"
2528
+ ]
2529
+ },
2530
+ density: {
2531
+ type: "string",
2532
+ "enum": [
2533
+ "compact",
2534
+ "comfortable"
2535
+ ]
2536
+ },
2537
+ columns: {
2538
+ type: "array",
2539
+ items: {
2540
+ type: "object",
2541
+ properties: {
2542
+ key: {
2543
+ type: "string"
2544
+ },
2545
+ header: {
2546
+ type: "string"
2547
+ }
2548
+ },
2549
+ required: [
2550
+ "key"
2551
+ ],
2552
+ additionalProperties: false
2553
+ },
2554
+ minItems: 1
2555
+ },
2556
+ sortable: {
2557
+ type: "boolean"
2558
+ }
2559
+ },
2560
+ required: [
2561
+ "component",
2562
+ "columns"
2563
+ ],
2564
+ unevaluatedProperties: false
2565
+ },
2566
+ Chart: {
2567
+ type: "object",
2568
+ properties: {
2569
+ component: {
2570
+ "const": "Chart"
2571
+ },
2572
+ tone: {
2573
+ type: "string",
2574
+ "enum": [
2575
+ "default",
2576
+ "muted",
2577
+ "primary",
2578
+ "success",
2579
+ "warning",
2580
+ "danger"
2581
+ ]
2582
+ },
2583
+ size: {
2584
+ type: "string",
2585
+ "enum": [
2586
+ "sm",
2587
+ "md",
2588
+ "lg"
2589
+ ]
2590
+ },
2591
+ emphasis: {
2592
+ type: "string",
2593
+ "enum": [
2594
+ "low",
2595
+ "medium",
2596
+ "high"
2597
+ ]
2598
+ },
2599
+ align: {
2600
+ type: "string",
2601
+ "enum": [
2602
+ "start",
2603
+ "center",
2604
+ "end"
2605
+ ]
2606
+ },
2607
+ density: {
2608
+ type: "string",
2609
+ "enum": [
2610
+ "compact",
2611
+ "comfortable"
2612
+ ]
2613
+ },
2614
+ kind: {
2615
+ type: "string",
2616
+ "enum": [
2617
+ "bar",
2618
+ "line",
2619
+ "area",
2620
+ "pie"
2621
+ ]
2622
+ },
2623
+ x: {
2624
+ type: "string"
2625
+ },
2626
+ series: {
2627
+ type: "array",
2628
+ items: {
2629
+ type: "object",
2630
+ properties: {
2631
+ key: {
2632
+ type: "string"
2633
+ },
2634
+ label: {
2635
+ type: "string"
2636
+ }
2637
+ },
2638
+ required: [
2639
+ "key"
2640
+ ],
2641
+ additionalProperties: false
2642
+ },
2643
+ minItems: 1
2644
+ },
2645
+ title: {
2646
+ type: "string"
2647
+ }
2648
+ },
2649
+ required: [
2650
+ "component",
2651
+ "kind",
2652
+ "series"
2653
+ ],
2654
+ unevaluatedProperties: false
2655
+ },
2656
+ Progress: {
2657
+ type: "object",
2658
+ properties: {
2659
+ component: {
2660
+ "const": "Progress"
2661
+ },
2662
+ tone: {
2663
+ type: "string",
2664
+ "enum": [
2665
+ "default",
2666
+ "muted",
2667
+ "primary",
2668
+ "success",
2669
+ "warning",
2670
+ "danger"
2671
+ ]
2672
+ },
2673
+ size: {
2674
+ type: "string",
2675
+ "enum": [
2676
+ "sm",
2677
+ "md",
2678
+ "lg"
2679
+ ]
2680
+ },
2681
+ emphasis: {
2682
+ type: "string",
2683
+ "enum": [
2684
+ "low",
2685
+ "medium",
2686
+ "high"
2687
+ ]
2688
+ },
2689
+ align: {
2690
+ type: "string",
2691
+ "enum": [
2692
+ "start",
2693
+ "center",
2694
+ "end"
2695
+ ]
2696
+ },
2697
+ density: {
2698
+ type: "string",
2699
+ "enum": [
2700
+ "compact",
2701
+ "comfortable"
2702
+ ]
2703
+ },
2704
+ value: {
2705
+ type: "number"
2706
+ },
2707
+ max: {
2708
+ type: "number"
2709
+ },
2710
+ label: {
2711
+ type: "string"
2712
+ }
2713
+ },
2714
+ required: [
2715
+ "component",
2716
+ "value"
2717
+ ],
2718
+ unevaluatedProperties: false
2719
+ },
2720
+ Timeline: {
2721
+ type: "object",
2722
+ properties: {
2723
+ component: {
2724
+ "const": "Timeline"
2725
+ },
2726
+ tone: {
2727
+ type: "string",
2728
+ "enum": [
2729
+ "default",
2730
+ "muted",
2731
+ "primary",
2732
+ "success",
2733
+ "warning",
2734
+ "danger"
2735
+ ]
2736
+ },
2737
+ size: {
2738
+ type: "string",
2739
+ "enum": [
2740
+ "sm",
2741
+ "md",
2742
+ "lg"
2743
+ ]
2744
+ },
2745
+ emphasis: {
2746
+ type: "string",
2747
+ "enum": [
2748
+ "low",
2749
+ "medium",
2750
+ "high"
2751
+ ]
2752
+ },
2753
+ align: {
2754
+ type: "string",
2755
+ "enum": [
2756
+ "start",
2757
+ "center",
2758
+ "end"
2759
+ ]
2760
+ },
2761
+ density: {
2762
+ type: "string",
2763
+ "enum": [
2764
+ "compact",
2765
+ "comfortable"
2766
+ ]
2767
+ },
2768
+ items: {
2769
+ type: "array",
2770
+ items: {
2771
+ type: "object",
2772
+ properties: {
2773
+ title: {
2774
+ type: "string"
2775
+ },
2776
+ description: {
2777
+ type: "string"
2778
+ },
2779
+ timestamp: {
2780
+ type: "string"
2781
+ }
2782
+ },
2783
+ required: [
2784
+ "title"
2785
+ ],
2786
+ additionalProperties: false
2787
+ },
2788
+ minItems: 1
2789
+ }
2790
+ },
2791
+ required: [
2792
+ "component",
2793
+ "items"
2794
+ ],
2795
+ unevaluatedProperties: false
2796
+ },
2797
+ Button: {
2798
+ type: "object",
2799
+ properties: {
2800
+ component: {
2801
+ "const": "Button"
2802
+ },
2803
+ tone: {
2804
+ type: "string",
2805
+ "enum": [
2806
+ "default",
2807
+ "muted",
2808
+ "primary",
2809
+ "success",
2810
+ "warning",
2811
+ "danger"
2812
+ ]
2813
+ },
2814
+ size: {
2815
+ type: "string",
2816
+ "enum": [
2817
+ "sm",
2818
+ "md",
2819
+ "lg"
2820
+ ]
2821
+ },
2822
+ emphasis: {
2823
+ type: "string",
2824
+ "enum": [
2825
+ "low",
2826
+ "medium",
2827
+ "high"
2828
+ ]
2829
+ },
2830
+ align: {
2831
+ type: "string",
2832
+ "enum": [
2833
+ "start",
2834
+ "center",
2835
+ "end"
2836
+ ]
2837
+ },
2838
+ density: {
2839
+ type: "string",
2840
+ "enum": [
2841
+ "compact",
2842
+ "comfortable"
2843
+ ]
2844
+ },
2845
+ variant: {
2846
+ type: "string",
2847
+ "enum": [
2848
+ "solid",
2849
+ "outline",
2850
+ "ghost",
2851
+ "link"
2852
+ ]
2853
+ },
2854
+ text: {
2855
+ type: "string"
2856
+ }
2857
+ },
2858
+ required: [
2859
+ "component",
2860
+ "text"
2861
+ ],
2862
+ unevaluatedProperties: false
2863
+ },
2864
+ ButtonGroup: {
2865
+ type: "object",
2866
+ properties: {
2867
+ component: {
2868
+ "const": "ButtonGroup"
2869
+ },
2870
+ tone: {
2871
+ type: "string",
2872
+ "enum": [
2873
+ "default",
2874
+ "muted",
2875
+ "primary",
2876
+ "success",
2877
+ "warning",
2878
+ "danger"
2879
+ ]
2880
+ },
2881
+ size: {
2882
+ type: "string",
2883
+ "enum": [
2884
+ "sm",
2885
+ "md",
2886
+ "lg"
2887
+ ]
2888
+ },
2889
+ emphasis: {
2890
+ type: "string",
2891
+ "enum": [
2892
+ "low",
2893
+ "medium",
2894
+ "high"
2895
+ ]
2896
+ },
2897
+ align: {
2898
+ type: "string",
2899
+ "enum": [
2900
+ "start",
2901
+ "center",
2902
+ "end"
2903
+ ]
2904
+ },
2905
+ density: {
2906
+ type: "string",
2907
+ "enum": [
2908
+ "compact",
2909
+ "comfortable"
2910
+ ]
2911
+ }
2912
+ },
2913
+ required: [
2914
+ "component"
2915
+ ],
2916
+ unevaluatedProperties: false
2917
+ },
2918
+ Link: {
2919
+ type: "object",
2920
+ properties: {
2921
+ component: {
2922
+ "const": "Link"
2923
+ },
2924
+ tone: {
2925
+ type: "string",
2926
+ "enum": [
2927
+ "default",
2928
+ "muted",
2929
+ "primary",
2930
+ "success",
2931
+ "warning",
2932
+ "danger"
2933
+ ]
2934
+ },
2935
+ size: {
2936
+ type: "string",
2937
+ "enum": [
2938
+ "sm",
2939
+ "md",
2940
+ "lg"
2941
+ ]
2942
+ },
2943
+ emphasis: {
2944
+ type: "string",
2945
+ "enum": [
2946
+ "low",
2947
+ "medium",
2948
+ "high"
2949
+ ]
2950
+ },
2951
+ align: {
2952
+ type: "string",
2953
+ "enum": [
2954
+ "start",
2955
+ "center",
2956
+ "end"
2957
+ ]
2958
+ },
2959
+ density: {
2960
+ type: "string",
2961
+ "enum": [
2962
+ "compact",
2963
+ "comfortable"
2964
+ ]
2965
+ },
2966
+ text: {
2967
+ type: "string"
2968
+ },
2969
+ href: {
2970
+ type: "string"
2971
+ }
2972
+ },
2973
+ required: [
2974
+ "component",
2975
+ "text"
2976
+ ],
2977
+ unevaluatedProperties: false
2978
+ }
2979
+ };
2980
+ var $defs = {
2981
+ DynamicString: {
2982
+ description: "A literal string OR a data-model path reference { path }.",
2983
+ oneOf: [
2984
+ {
2985
+ type: "string"
2986
+ },
2987
+ {
2988
+ type: "object",
2989
+ properties: {
2990
+ path: {
2991
+ type: "string"
2992
+ }
2993
+ },
2994
+ required: [
2995
+ "path"
2996
+ ],
2997
+ additionalProperties: false
2998
+ }
2999
+ ]
3000
+ },
3001
+ Action: {
3002
+ description: "A semantic action (never a URL). wantResponse:true returns the data model to the agent.",
3003
+ type: "object",
3004
+ properties: {
3005
+ name: {
3006
+ type: "string"
3007
+ },
3008
+ wantResponse: {
3009
+ type: "boolean"
3010
+ }
3011
+ },
3012
+ required: [
3013
+ "name"
3014
+ ],
3015
+ additionalProperties: false
3016
+ }
3017
+ };
3018
+ var coreV1_catalog = {
3019
+ $schema: $schema,
3020
+ catalogId: catalogId,
3021
+ title: title,
3022
+ description: description,
3023
+ components: components,
3024
+ $defs: $defs
3025
+ };
3026
+
3027
+ export { type A2uiCatalogJson, A2uiComponent, A2uiSurface, ALIGNS, type Align, CORE_CATALOG_ID, CatalogManifest, DENSITIES, type Density, type DynamicValue, EMPHASES, type Emphasis, type RenderUiToolSchema, SIZES, type Size, type StyleProps, TONES, type Tone, UIComponentDefinition, type ValidationError, type ValidationResult, buildGenuiClause, buildRenderUiSchema, coreCatalog, coreV1_catalog as coreCatalogJson, emitA2uiCatalog, getPointer, isPathRef, resolveDynamic, setPointer, styleSchemaShape, validateProps, validateSurface };