uidl-runtime 0.1.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 (83) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +175 -0
  3. package/bin/validate.mjs +44 -0
  4. package/dist/actions/eventBus.d.ts +7 -0
  5. package/dist/actions/index.d.ts +5 -0
  6. package/dist/actions/interpreter.d.ts +54 -0
  7. package/dist/compiler/dashboard.d.ts +10 -0
  8. package/dist/compiler/form.d.ts +22 -0
  9. package/dist/compiler/index.d.ts +16 -0
  10. package/dist/compiler/list.d.ts +20 -0
  11. package/dist/compiler/report.d.ts +10 -0
  12. package/dist/compiler/settings.d.ts +10 -0
  13. package/dist/compiler/tree.d.ts +10 -0
  14. package/dist/compiler/types.d.ts +315 -0
  15. package/dist/compiler/wizard.d.ts +10 -0
  16. package/dist/components/BarcodeAndQRCode.d.ts +29 -0
  17. package/dist/components/charts.d.ts +66 -0
  18. package/dist/components/iconPaths.d.ts +5 -0
  19. package/dist/components/icons.d.ts +31 -0
  20. package/dist/components/primitives.d.ts +411 -0
  21. package/dist/data/adapters/http.d.ts +37 -0
  22. package/dist/data/adapters/inMemory.d.ts +62 -0
  23. package/dist/data/errors.d.ts +15 -0
  24. package/dist/data/index.d.ts +7 -0
  25. package/dist/data/testing/mockHttpServer.d.ts +16 -0
  26. package/dist/data/types.d.ts +74 -0
  27. package/dist/editor/Canvas.d.ts +22 -0
  28. package/dist/editor/Editor.d.ts +18 -0
  29. package/dist/editor/LayerTree.d.ts +12 -0
  30. package/dist/editor/PropertyPanel.d.ts +7 -0
  31. package/dist/editor/StylePanel.d.ts +7 -0
  32. package/dist/editor/ValidationStatus.d.ts +9 -0
  33. package/dist/editor/WidgetPalette.d.ts +6 -0
  34. package/dist/editor/document.d.ts +10 -0
  35. package/dist/editor/index.d.ts +2 -0
  36. package/dist/editor/store.d.ts +46 -0
  37. package/dist/expr/evaluate.d.ts +51 -0
  38. package/dist/hooks/useElementWidth.d.ts +14 -0
  39. package/dist/index.d.ts +61 -0
  40. package/dist/registry/defaults.d.ts +2 -0
  41. package/dist/registry/registry.d.ts +4 -0
  42. package/dist/renderer/RenderNode.d.ts +16 -0
  43. package/dist/renderer/UIDocumentRenderer.d.ts +13 -0
  44. package/dist/renderer/instantiateComponent.d.ts +18 -0
  45. package/dist/renderer/renderDocument.d.ts +63 -0
  46. package/dist/schema/action.schema.json +515 -0
  47. package/dist/schema/design-tokens.schema.json +51 -0
  48. package/dist/schema/jsonSchema.d.ts +11 -0
  49. package/dist/schema/theme-presets.schema.json +952 -0
  50. package/dist/schema/uidl-document.schema.json +187 -0
  51. package/dist/schemas/actions.d.ts +5 -0
  52. package/dist/schemas/document.d.ts +35 -0
  53. package/dist/schemas/theme.d.ts +260 -0
  54. package/dist/services/aiPromptGenerator.d.ts +11 -0
  55. package/dist/state/createDocumentState.d.ts +18 -0
  56. package/dist/state/dataSources.d.ts +58 -0
  57. package/dist/state/index.d.ts +4 -0
  58. package/dist/style.css +2 -0
  59. package/dist/theme/engine.d.ts +9 -0
  60. package/dist/theme/index.d.ts +7 -0
  61. package/dist/theme/meridianPreset.d.ts +5 -0
  62. package/dist/theme/presets.d.ts +5 -0
  63. package/dist/theme/registry.d.ts +15 -0
  64. package/dist/theme/serialize.d.ts +5 -0
  65. package/dist/theme/tailwind.d.ts +11 -0
  66. package/dist/types/actions.d.ts +116 -0
  67. package/dist/types/editor.d.ts +45 -0
  68. package/dist/types/index.d.ts +82 -0
  69. package/dist/types/theme.d.ts +95 -0
  70. package/dist/uidl-runtime.js +98 -0
  71. package/dist/uidl-runtime.js.map +1 -0
  72. package/dist/uidl-runtime.mjs +17779 -0
  73. package/dist/uidl-runtime.mjs.map +1 -0
  74. package/dist/utils/chart.d.ts +12 -0
  75. package/dist/utils/cn.d.ts +1 -0
  76. package/dist/utils/formLayout.d.ts +93 -0
  77. package/dist/utils/i18n.d.ts +132 -0
  78. package/dist/utils/listCell.d.ts +21 -0
  79. package/dist/utils/responsive.d.ts +3 -0
  80. package/dist/utils/tailwind.d.ts +23 -0
  81. package/dist/validate/validateResponsive.d.ts +7 -0
  82. package/dist/version.d.ts +10 -0
  83. package/package.json +109 -0
@@ -0,0 +1,952 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "array",
4
+ "items": {
5
+ "type": "object",
6
+ "properties": {
7
+ "id": {
8
+ "type": "string"
9
+ },
10
+ "label": {
11
+ "type": "string"
12
+ },
13
+ "mode": {
14
+ "type": "string",
15
+ "enum": [
16
+ "light",
17
+ "dark"
18
+ ]
19
+ },
20
+ "theme": {
21
+ "type": "object",
22
+ "properties": {
23
+ "id": {
24
+ "type": "string"
25
+ },
26
+ "name": {
27
+ "type": "string"
28
+ },
29
+ "mode": {
30
+ "type": "string",
31
+ "enum": [
32
+ "light",
33
+ "dark"
34
+ ]
35
+ },
36
+ "breakpoints": {
37
+ "type": "object",
38
+ "propertyNames": {
39
+ "type": "string"
40
+ },
41
+ "additionalProperties": {
42
+ "type": "string"
43
+ }
44
+ },
45
+ "primitives": {
46
+ "type": "object",
47
+ "properties": {
48
+ "color": {
49
+ "type": "object",
50
+ "propertyNames": {
51
+ "type": "string"
52
+ },
53
+ "additionalProperties": {
54
+ "type": "string"
55
+ }
56
+ },
57
+ "spacing": {
58
+ "type": "object",
59
+ "propertyNames": {
60
+ "type": "string"
61
+ },
62
+ "additionalProperties": {
63
+ "type": "string"
64
+ }
65
+ },
66
+ "radius": {
67
+ "type": "object",
68
+ "propertyNames": {
69
+ "type": "string"
70
+ },
71
+ "additionalProperties": {
72
+ "type": "string"
73
+ }
74
+ },
75
+ "shadow": {
76
+ "type": "object",
77
+ "propertyNames": {
78
+ "type": "string"
79
+ },
80
+ "additionalProperties": {
81
+ "type": "string"
82
+ }
83
+ },
84
+ "font": {
85
+ "type": "object",
86
+ "propertyNames": {
87
+ "type": "string"
88
+ },
89
+ "additionalProperties": {
90
+ "type": "string"
91
+ }
92
+ },
93
+ "border": {
94
+ "type": "object",
95
+ "propertyNames": {
96
+ "type": "string"
97
+ },
98
+ "additionalProperties": {
99
+ "type": "string"
100
+ }
101
+ }
102
+ },
103
+ "required": [
104
+ "color",
105
+ "spacing",
106
+ "radius",
107
+ "shadow",
108
+ "font",
109
+ "border"
110
+ ],
111
+ "additionalProperties": false
112
+ },
113
+ "semantics": {
114
+ "type": "object",
115
+ "properties": {
116
+ "color": {
117
+ "type": "object",
118
+ "propertyNames": {
119
+ "type": "string"
120
+ },
121
+ "additionalProperties": {
122
+ "type": "string"
123
+ }
124
+ },
125
+ "spacing": {
126
+ "type": "object",
127
+ "propertyNames": {
128
+ "type": "string"
129
+ },
130
+ "additionalProperties": {
131
+ "type": "string"
132
+ }
133
+ },
134
+ "radius": {
135
+ "type": "object",
136
+ "propertyNames": {
137
+ "type": "string"
138
+ },
139
+ "additionalProperties": {
140
+ "type": "string"
141
+ }
142
+ },
143
+ "shadow": {
144
+ "type": "object",
145
+ "propertyNames": {
146
+ "type": "string"
147
+ },
148
+ "additionalProperties": {
149
+ "type": "string"
150
+ }
151
+ },
152
+ "typography": {
153
+ "type": "object",
154
+ "propertyNames": {
155
+ "type": "string"
156
+ },
157
+ "additionalProperties": {
158
+ "type": "object",
159
+ "properties": {
160
+ "fontFamily": {
161
+ "type": "string"
162
+ },
163
+ "fontSize": {
164
+ "type": "string"
165
+ },
166
+ "fontWeight": {
167
+ "anyOf": [
168
+ {
169
+ "type": "number"
170
+ },
171
+ {
172
+ "type": "string"
173
+ }
174
+ ]
175
+ },
176
+ "lineHeight": {
177
+ "type": "string"
178
+ },
179
+ "letterSpacing": {
180
+ "type": "string"
181
+ }
182
+ },
183
+ "additionalProperties": false
184
+ }
185
+ }
186
+ },
187
+ "required": [
188
+ "color",
189
+ "spacing",
190
+ "radius",
191
+ "shadow",
192
+ "typography"
193
+ ],
194
+ "additionalProperties": false
195
+ },
196
+ "variants": {
197
+ "type": "object",
198
+ "propertyNames": {
199
+ "type": "string"
200
+ },
201
+ "additionalProperties": {
202
+ "type": "array",
203
+ "items": {
204
+ "type": "object",
205
+ "properties": {
206
+ "name": {
207
+ "type": "string"
208
+ },
209
+ "props": {
210
+ "type": "object",
211
+ "propertyNames": {
212
+ "type": "string"
213
+ },
214
+ "additionalProperties": {}
215
+ },
216
+ "style": {
217
+ "type": "object",
218
+ "properties": {
219
+ "gap": {
220
+ "anyOf": [
221
+ {
222
+ "type": "string"
223
+ },
224
+ {
225
+ "type": "object",
226
+ "properties": {
227
+ "base": {
228
+ "type": "string"
229
+ }
230
+ },
231
+ "additionalProperties": false
232
+ }
233
+ ]
234
+ },
235
+ "padding": {
236
+ "anyOf": [
237
+ {
238
+ "type": "string"
239
+ },
240
+ {
241
+ "type": "object",
242
+ "properties": {
243
+ "base": {
244
+ "type": "string"
245
+ }
246
+ },
247
+ "additionalProperties": false
248
+ }
249
+ ]
250
+ },
251
+ "paddingTop": {
252
+ "anyOf": [
253
+ {
254
+ "type": "string"
255
+ },
256
+ {
257
+ "type": "object",
258
+ "properties": {
259
+ "base": {
260
+ "type": "string"
261
+ }
262
+ },
263
+ "additionalProperties": false
264
+ }
265
+ ]
266
+ },
267
+ "paddingRight": {
268
+ "anyOf": [
269
+ {
270
+ "type": "string"
271
+ },
272
+ {
273
+ "type": "object",
274
+ "properties": {
275
+ "base": {
276
+ "type": "string"
277
+ }
278
+ },
279
+ "additionalProperties": false
280
+ }
281
+ ]
282
+ },
283
+ "paddingBottom": {
284
+ "anyOf": [
285
+ {
286
+ "type": "string"
287
+ },
288
+ {
289
+ "type": "object",
290
+ "properties": {
291
+ "base": {
292
+ "type": "string"
293
+ }
294
+ },
295
+ "additionalProperties": false
296
+ }
297
+ ]
298
+ },
299
+ "paddingLeft": {
300
+ "anyOf": [
301
+ {
302
+ "type": "string"
303
+ },
304
+ {
305
+ "type": "object",
306
+ "properties": {
307
+ "base": {
308
+ "type": "string"
309
+ }
310
+ },
311
+ "additionalProperties": false
312
+ }
313
+ ]
314
+ },
315
+ "margin": {
316
+ "anyOf": [
317
+ {
318
+ "type": "string"
319
+ },
320
+ {
321
+ "type": "object",
322
+ "properties": {
323
+ "base": {
324
+ "type": "string"
325
+ }
326
+ },
327
+ "additionalProperties": false
328
+ }
329
+ ]
330
+ },
331
+ "marginTop": {
332
+ "anyOf": [
333
+ {
334
+ "type": "string"
335
+ },
336
+ {
337
+ "type": "object",
338
+ "properties": {
339
+ "base": {
340
+ "type": "string"
341
+ }
342
+ },
343
+ "additionalProperties": false
344
+ }
345
+ ]
346
+ },
347
+ "marginRight": {
348
+ "anyOf": [
349
+ {
350
+ "type": "string"
351
+ },
352
+ {
353
+ "type": "object",
354
+ "properties": {
355
+ "base": {
356
+ "type": "string"
357
+ }
358
+ },
359
+ "additionalProperties": false
360
+ }
361
+ ]
362
+ },
363
+ "marginBottom": {
364
+ "anyOf": [
365
+ {
366
+ "type": "string"
367
+ },
368
+ {
369
+ "type": "object",
370
+ "properties": {
371
+ "base": {
372
+ "type": "string"
373
+ }
374
+ },
375
+ "additionalProperties": false
376
+ }
377
+ ]
378
+ },
379
+ "marginLeft": {
380
+ "anyOf": [
381
+ {
382
+ "type": "string"
383
+ },
384
+ {
385
+ "type": "object",
386
+ "properties": {
387
+ "base": {
388
+ "type": "string"
389
+ }
390
+ },
391
+ "additionalProperties": false
392
+ }
393
+ ]
394
+ },
395
+ "width": {
396
+ "anyOf": [
397
+ {
398
+ "type": "string"
399
+ },
400
+ {
401
+ "type": "object",
402
+ "properties": {
403
+ "base": {
404
+ "type": "string"
405
+ }
406
+ },
407
+ "additionalProperties": false
408
+ }
409
+ ]
410
+ },
411
+ "height": {
412
+ "anyOf": [
413
+ {
414
+ "type": "string"
415
+ },
416
+ {
417
+ "type": "object",
418
+ "properties": {
419
+ "base": {
420
+ "type": "string"
421
+ }
422
+ },
423
+ "additionalProperties": false
424
+ }
425
+ ]
426
+ },
427
+ "minWidth": {
428
+ "anyOf": [
429
+ {
430
+ "type": "string"
431
+ },
432
+ {
433
+ "type": "object",
434
+ "properties": {
435
+ "base": {
436
+ "type": "string"
437
+ }
438
+ },
439
+ "additionalProperties": false
440
+ }
441
+ ]
442
+ },
443
+ "maxWidth": {
444
+ "anyOf": [
445
+ {
446
+ "type": "string"
447
+ },
448
+ {
449
+ "type": "object",
450
+ "properties": {
451
+ "base": {
452
+ "type": "string"
453
+ }
454
+ },
455
+ "additionalProperties": false
456
+ }
457
+ ]
458
+ },
459
+ "minHeight": {
460
+ "anyOf": [
461
+ {
462
+ "type": "string"
463
+ },
464
+ {
465
+ "type": "object",
466
+ "properties": {
467
+ "base": {
468
+ "type": "string"
469
+ }
470
+ },
471
+ "additionalProperties": false
472
+ }
473
+ ]
474
+ },
475
+ "maxHeight": {
476
+ "anyOf": [
477
+ {
478
+ "type": "string"
479
+ },
480
+ {
481
+ "type": "object",
482
+ "properties": {
483
+ "base": {
484
+ "type": "string"
485
+ }
486
+ },
487
+ "additionalProperties": false
488
+ }
489
+ ]
490
+ },
491
+ "flexDirection": {
492
+ "anyOf": [
493
+ {
494
+ "type": "string",
495
+ "enum": [
496
+ "row",
497
+ "column",
498
+ "row-reverse",
499
+ "column-reverse"
500
+ ]
501
+ },
502
+ {
503
+ "type": "object",
504
+ "properties": {
505
+ "base": {
506
+ "type": "string",
507
+ "enum": [
508
+ "row",
509
+ "column",
510
+ "row-reverse",
511
+ "column-reverse"
512
+ ]
513
+ }
514
+ },
515
+ "additionalProperties": false
516
+ }
517
+ ]
518
+ },
519
+ "justifyContent": {
520
+ "anyOf": [
521
+ {
522
+ "type": "string",
523
+ "enum": [
524
+ "start",
525
+ "center",
526
+ "end",
527
+ "space-between",
528
+ "space-around",
529
+ "space-evenly"
530
+ ]
531
+ },
532
+ {
533
+ "type": "object",
534
+ "properties": {
535
+ "base": {
536
+ "type": "string",
537
+ "enum": [
538
+ "start",
539
+ "center",
540
+ "end",
541
+ "space-between",
542
+ "space-around",
543
+ "space-evenly"
544
+ ]
545
+ }
546
+ },
547
+ "additionalProperties": false
548
+ }
549
+ ]
550
+ },
551
+ "alignItems": {
552
+ "anyOf": [
553
+ {
554
+ "type": "string",
555
+ "enum": [
556
+ "start",
557
+ "center",
558
+ "end",
559
+ "stretch",
560
+ "baseline"
561
+ ]
562
+ },
563
+ {
564
+ "type": "object",
565
+ "properties": {
566
+ "base": {
567
+ "type": "string",
568
+ "enum": [
569
+ "start",
570
+ "center",
571
+ "end",
572
+ "stretch",
573
+ "baseline"
574
+ ]
575
+ }
576
+ },
577
+ "additionalProperties": false
578
+ }
579
+ ]
580
+ },
581
+ "display": {
582
+ "anyOf": [
583
+ {
584
+ "type": "string"
585
+ },
586
+ {
587
+ "type": "object",
588
+ "properties": {
589
+ "base": {
590
+ "type": "string"
591
+ }
592
+ },
593
+ "additionalProperties": false
594
+ }
595
+ ]
596
+ },
597
+ "position": {
598
+ "anyOf": [
599
+ {
600
+ "type": "string",
601
+ "enum": [
602
+ "static",
603
+ "relative",
604
+ "absolute",
605
+ "fixed",
606
+ "sticky"
607
+ ]
608
+ },
609
+ {
610
+ "type": "object",
611
+ "properties": {
612
+ "base": {
613
+ "type": "string",
614
+ "enum": [
615
+ "static",
616
+ "relative",
617
+ "absolute",
618
+ "fixed",
619
+ "sticky"
620
+ ]
621
+ }
622
+ },
623
+ "additionalProperties": false
624
+ }
625
+ ]
626
+ },
627
+ "inset": {
628
+ "anyOf": [
629
+ {
630
+ "type": "string"
631
+ },
632
+ {
633
+ "type": "object",
634
+ "properties": {
635
+ "base": {
636
+ "type": "string"
637
+ }
638
+ },
639
+ "additionalProperties": false
640
+ }
641
+ ]
642
+ },
643
+ "top": {
644
+ "anyOf": [
645
+ {
646
+ "type": "string"
647
+ },
648
+ {
649
+ "type": "object",
650
+ "properties": {
651
+ "base": {
652
+ "type": "string"
653
+ }
654
+ },
655
+ "additionalProperties": false
656
+ }
657
+ ]
658
+ },
659
+ "right": {
660
+ "anyOf": [
661
+ {
662
+ "type": "string"
663
+ },
664
+ {
665
+ "type": "object",
666
+ "properties": {
667
+ "base": {
668
+ "type": "string"
669
+ }
670
+ },
671
+ "additionalProperties": false
672
+ }
673
+ ]
674
+ },
675
+ "bottom": {
676
+ "anyOf": [
677
+ {
678
+ "type": "string"
679
+ },
680
+ {
681
+ "type": "object",
682
+ "properties": {
683
+ "base": {
684
+ "type": "string"
685
+ }
686
+ },
687
+ "additionalProperties": false
688
+ }
689
+ ]
690
+ },
691
+ "left": {
692
+ "anyOf": [
693
+ {
694
+ "type": "string"
695
+ },
696
+ {
697
+ "type": "object",
698
+ "properties": {
699
+ "base": {
700
+ "type": "string"
701
+ }
702
+ },
703
+ "additionalProperties": false
704
+ }
705
+ ]
706
+ },
707
+ "zIndex": {
708
+ "anyOf": [
709
+ {
710
+ "type": "number"
711
+ },
712
+ {
713
+ "type": "object",
714
+ "properties": {
715
+ "base": {
716
+ "type": "number"
717
+ }
718
+ },
719
+ "additionalProperties": false
720
+ }
721
+ ]
722
+ },
723
+ "background": {
724
+ "anyOf": [
725
+ {
726
+ "type": "string"
727
+ },
728
+ {
729
+ "type": "object",
730
+ "properties": {
731
+ "base": {
732
+ "type": "string"
733
+ }
734
+ },
735
+ "additionalProperties": false
736
+ }
737
+ ]
738
+ },
739
+ "color": {
740
+ "anyOf": [
741
+ {
742
+ "type": "string"
743
+ },
744
+ {
745
+ "type": "object",
746
+ "properties": {
747
+ "base": {
748
+ "type": "string"
749
+ }
750
+ },
751
+ "additionalProperties": false
752
+ }
753
+ ]
754
+ },
755
+ "fontSize": {
756
+ "anyOf": [
757
+ {
758
+ "type": "string"
759
+ },
760
+ {
761
+ "type": "object",
762
+ "properties": {
763
+ "base": {
764
+ "type": "string"
765
+ }
766
+ },
767
+ "additionalProperties": false
768
+ }
769
+ ]
770
+ },
771
+ "fontWeight": {
772
+ "anyOf": [
773
+ {
774
+ "anyOf": [
775
+ {
776
+ "type": "number"
777
+ },
778
+ {
779
+ "type": "string"
780
+ }
781
+ ]
782
+ },
783
+ {
784
+ "type": "object",
785
+ "properties": {
786
+ "base": {
787
+ "anyOf": [
788
+ {
789
+ "type": "number"
790
+ },
791
+ {
792
+ "type": "string"
793
+ }
794
+ ]
795
+ }
796
+ },
797
+ "additionalProperties": false
798
+ }
799
+ ]
800
+ },
801
+ "lineHeight": {
802
+ "anyOf": [
803
+ {
804
+ "type": "string"
805
+ },
806
+ {
807
+ "type": "object",
808
+ "properties": {
809
+ "base": {
810
+ "type": "string"
811
+ }
812
+ },
813
+ "additionalProperties": false
814
+ }
815
+ ]
816
+ },
817
+ "letterSpacing": {
818
+ "anyOf": [
819
+ {
820
+ "type": "string"
821
+ },
822
+ {
823
+ "type": "object",
824
+ "properties": {
825
+ "base": {
826
+ "type": "string"
827
+ }
828
+ },
829
+ "additionalProperties": false
830
+ }
831
+ ]
832
+ },
833
+ "borderRadius": {
834
+ "anyOf": [
835
+ {
836
+ "type": "string"
837
+ },
838
+ {
839
+ "type": "object",
840
+ "properties": {
841
+ "base": {
842
+ "type": "string"
843
+ }
844
+ },
845
+ "additionalProperties": false
846
+ }
847
+ ]
848
+ },
849
+ "borderWidth": {
850
+ "anyOf": [
851
+ {
852
+ "type": "string"
853
+ },
854
+ {
855
+ "type": "object",
856
+ "properties": {
857
+ "base": {
858
+ "type": "string"
859
+ }
860
+ },
861
+ "additionalProperties": false
862
+ }
863
+ ]
864
+ },
865
+ "borderColor": {
866
+ "anyOf": [
867
+ {
868
+ "type": "string"
869
+ },
870
+ {
871
+ "type": "object",
872
+ "properties": {
873
+ "base": {
874
+ "type": "string"
875
+ }
876
+ },
877
+ "additionalProperties": false
878
+ }
879
+ ]
880
+ },
881
+ "shadow": {
882
+ "anyOf": [
883
+ {
884
+ "type": "string"
885
+ },
886
+ {
887
+ "type": "object",
888
+ "properties": {
889
+ "base": {
890
+ "type": "string"
891
+ }
892
+ },
893
+ "additionalProperties": false
894
+ }
895
+ ]
896
+ },
897
+ "opacity": {
898
+ "anyOf": [
899
+ {
900
+ "type": "number"
901
+ },
902
+ {
903
+ "type": "object",
904
+ "properties": {
905
+ "base": {
906
+ "type": "number"
907
+ }
908
+ },
909
+ "additionalProperties": false
910
+ }
911
+ ]
912
+ },
913
+ "typography": {
914
+ "type": "string"
915
+ }
916
+ },
917
+ "additionalProperties": false
918
+ },
919
+ "className": {
920
+ "type": "string"
921
+ }
922
+ },
923
+ "required": [
924
+ "name"
925
+ ],
926
+ "additionalProperties": false
927
+ }
928
+ }
929
+ }
930
+ },
931
+ "required": [
932
+ "id",
933
+ "name",
934
+ "mode",
935
+ "breakpoints",
936
+ "primitives",
937
+ "semantics",
938
+ "variants"
939
+ ],
940
+ "additionalProperties": false
941
+ }
942
+ },
943
+ "required": [
944
+ "id",
945
+ "label",
946
+ "mode",
947
+ "theme"
948
+ ],
949
+ "additionalProperties": false
950
+ },
951
+ "$id": "https://uidl-runtime.local/schema/theme-presets.schema.json"
952
+ }