@makeswift/runtime 0.22.0 → 0.22.1-canary.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 (55) hide show
  1. package/dist/cjs/next/api-handler/handlers/manifest.js +1 -1
  2. package/dist/cjs/state/actions.js +29 -4
  3. package/dist/cjs/state/actions.js.map +1 -1
  4. package/dist/cjs/state/modules/element-trees.js +281 -0
  5. package/dist/cjs/state/modules/element-trees.js.map +1 -0
  6. package/dist/cjs/state/modules/prop-controllers.js.map +1 -1
  7. package/dist/cjs/state/modules/read-only-documents.js.map +1 -1
  8. package/dist/cjs/state/modules/read-write-documents.js.map +1 -1
  9. package/dist/cjs/state/react-builder-preview.js +83 -41
  10. package/dist/cjs/state/react-builder-preview.js.map +1 -1
  11. package/dist/cjs/state/react-page.js +31 -76
  12. package/dist/cjs/state/react-page.js.map +1 -1
  13. package/dist/esm/next/api-handler/handlers/manifest.js +1 -1
  14. package/dist/esm/state/actions.js +26 -4
  15. package/dist/esm/state/actions.js.map +1 -1
  16. package/dist/esm/state/modules/element-trees.js +249 -0
  17. package/dist/esm/state/modules/element-trees.js.map +1 -0
  18. package/dist/esm/state/modules/prop-controllers.js.map +1 -1
  19. package/dist/esm/state/modules/read-only-documents.js.map +1 -1
  20. package/dist/esm/state/modules/read-write-documents.js.map +1 -1
  21. package/dist/esm/state/react-builder-preview.js +64 -20
  22. package/dist/esm/state/react-builder-preview.js.map +1 -1
  23. package/dist/esm/state/react-page.js +30 -81
  24. package/dist/esm/state/react-page.js.map +1 -1
  25. package/dist/types/controls/rich-text-v2/rich-text-v2.d.ts +4 -4
  26. package/dist/types/locale.d.ts +1 -1
  27. package/dist/types/state/__tests__/fixtures/operations.d.ts +8 -0
  28. package/dist/types/state/__tests__/fixtures/operations.d.ts.map +1 -0
  29. package/dist/types/state/__tests__/fixtures/root-elements.d.ts +4 -0
  30. package/dist/types/state/__tests__/fixtures/root-elements.d.ts.map +1 -0
  31. package/dist/types/state/__tests__/react-builder-preview.test.d.ts.map +1 -0
  32. package/dist/types/state/__tests__/react-page.test.d.ts.map +1 -0
  33. package/dist/types/state/actions.d.ts +40 -10
  34. package/dist/types/state/actions.d.ts.map +1 -1
  35. package/dist/types/state/modules/__tests__/element-trees.test.d.ts +2 -0
  36. package/dist/types/state/modules/__tests__/element-trees.test.d.ts.map +1 -0
  37. package/dist/types/state/modules/__tests__/fixtures/element-trees.d.ts +1545 -0
  38. package/dist/types/state/modules/__tests__/fixtures/element-trees.d.ts.map +1 -0
  39. package/dist/types/state/modules/element-trees.d.ts +25 -0
  40. package/dist/types/state/modules/element-trees.d.ts.map +1 -0
  41. package/dist/types/state/modules/prop-controllers.d.ts +7 -5
  42. package/dist/types/state/modules/prop-controllers.d.ts.map +1 -1
  43. package/dist/types/state/modules/read-only-documents.d.ts +1 -1
  44. package/dist/types/state/modules/read-only-documents.d.ts.map +1 -1
  45. package/dist/types/state/modules/read-write-documents.d.ts +2 -2
  46. package/dist/types/state/modules/read-write-documents.d.ts.map +1 -1
  47. package/dist/types/state/react-builder-preview.d.ts +8 -5
  48. package/dist/types/state/react-builder-preview.d.ts.map +1 -1
  49. package/dist/types/state/react-page.d.ts +12 -10
  50. package/dist/types/state/react-page.d.ts.map +1 -1
  51. package/package.json +4 -3
  52. package/dist/types/state/react-builder-preview.test.d.ts.map +0 -1
  53. package/dist/types/state/react-page.test.d.ts.map +0 -1
  54. /package/dist/types/state/{react-builder-preview.test.d.ts → __tests__/react-builder-preview.test.d.ts} +0 -0
  55. /package/dist/types/state/{react-page.test.d.ts → __tests__/react-page.test.d.ts} +0 -0
@@ -0,0 +1,1545 @@
1
+ export declare const homePage: {
2
+ key: string;
3
+ props: {
4
+ children: {
5
+ columns: {
6
+ deviceId: string;
7
+ value: {
8
+ count: number;
9
+ spans: number[][];
10
+ };
11
+ }[];
12
+ elements: ({
13
+ key: string;
14
+ props: {
15
+ backgrounds: {
16
+ deviceId: string;
17
+ value: {
18
+ id: string;
19
+ payload: {
20
+ alpha: number;
21
+ swatchId: null;
22
+ };
23
+ type: string;
24
+ }[];
25
+ }[];
26
+ children: {
27
+ columns: {
28
+ deviceId: string;
29
+ value: {
30
+ count: number;
31
+ spans: number[][];
32
+ };
33
+ }[];
34
+ elements: {
35
+ key: string;
36
+ props: {
37
+ gutter: {
38
+ deviceId: string;
39
+ value: {
40
+ unit: string;
41
+ value: number;
42
+ };
43
+ }[];
44
+ links: ({
45
+ id: string;
46
+ payload: {
47
+ color: {
48
+ deviceId: string;
49
+ value: {
50
+ alpha: number;
51
+ swatchId: string;
52
+ };
53
+ }[];
54
+ label: string;
55
+ textColor: {
56
+ deviceId: string;
57
+ value: {
58
+ alpha: number;
59
+ swatchId: string;
60
+ };
61
+ }[];
62
+ textStyle: {
63
+ deviceId: string;
64
+ value: {
65
+ fontFamily: string;
66
+ fontSize: {
67
+ unit: string;
68
+ value: number;
69
+ };
70
+ fontStyle: never[];
71
+ fontWeight: number;
72
+ letterSpacing: null;
73
+ textTransform: never[];
74
+ };
75
+ }[];
76
+ variant: {
77
+ deviceId: string;
78
+ value: string;
79
+ }[];
80
+ caret?: undefined;
81
+ links?: undefined;
82
+ size?: undefined;
83
+ };
84
+ type: string;
85
+ } | {
86
+ id: string;
87
+ payload: {
88
+ caret: string;
89
+ color: {
90
+ deviceId: string;
91
+ value: {
92
+ alpha: number;
93
+ swatchId: string;
94
+ };
95
+ }[];
96
+ label: string;
97
+ links: {
98
+ id: string;
99
+ payload: {
100
+ color: {
101
+ deviceId: string;
102
+ value: {
103
+ alpha: number;
104
+ swatchId: string;
105
+ };
106
+ }[];
107
+ label: string;
108
+ textStyle: {
109
+ deviceId: string;
110
+ value: {
111
+ fontFamily: string;
112
+ fontSize: {
113
+ unit: string;
114
+ value: number;
115
+ };
116
+ fontStyle: never[];
117
+ fontWeight: number;
118
+ letterSpacing: null;
119
+ textTransform: never[];
120
+ };
121
+ }[];
122
+ };
123
+ }[];
124
+ textColor: {
125
+ deviceId: string;
126
+ value: {
127
+ alpha: number;
128
+ swatchId: string;
129
+ };
130
+ }[];
131
+ textStyle: {
132
+ deviceId: string;
133
+ value: {
134
+ fontFamily: string;
135
+ fontSize: {
136
+ unit: string;
137
+ value: number;
138
+ };
139
+ fontStyle: never[];
140
+ fontWeight: number;
141
+ letterSpacing: null;
142
+ textTransform: never[];
143
+ };
144
+ }[];
145
+ variant: {
146
+ deviceId: string;
147
+ value: string;
148
+ }[];
149
+ size?: undefined;
150
+ };
151
+ type: string;
152
+ } | {
153
+ id: string;
154
+ payload: {
155
+ color: {
156
+ deviceId: string;
157
+ value: {
158
+ alpha: number;
159
+ swatchId: string;
160
+ };
161
+ }[];
162
+ label: string;
163
+ size: {
164
+ deviceId: string;
165
+ value: string;
166
+ }[];
167
+ textColor: {
168
+ deviceId: string;
169
+ value: {
170
+ alpha: number;
171
+ swatchId: string;
172
+ };
173
+ }[];
174
+ textStyle: {
175
+ deviceId: string;
176
+ value: {
177
+ fontFamily: string;
178
+ fontSize: {
179
+ unit: string;
180
+ value: number;
181
+ };
182
+ fontStyle: never[];
183
+ fontWeight: number;
184
+ letterSpacing: null;
185
+ textTransform: never[];
186
+ };
187
+ }[];
188
+ variant?: undefined;
189
+ caret?: undefined;
190
+ links?: undefined;
191
+ };
192
+ type: string;
193
+ })[];
194
+ mobileMenuAnimation: {
195
+ deviceId: string;
196
+ value: string;
197
+ }[];
198
+ mobileMenuBackgroundColor: {
199
+ deviceId: string;
200
+ value: {
201
+ alpha: number;
202
+ swatchId: string;
203
+ };
204
+ }[];
205
+ mobileMenuCloseIconColor: {
206
+ deviceId: string;
207
+ value: {
208
+ alpha: number;
209
+ swatchId: string;
210
+ };
211
+ }[];
212
+ mobileMenuOpenIconColor: {
213
+ deviceId: string;
214
+ value: {
215
+ alpha: number;
216
+ swatchId: string;
217
+ };
218
+ }[];
219
+ showLogo: boolean;
220
+ width: {
221
+ deviceId: string;
222
+ value: {
223
+ unit: string;
224
+ value: number;
225
+ };
226
+ }[];
227
+ };
228
+ type: string;
229
+ }[];
230
+ };
231
+ columnGap: {
232
+ deviceId: string;
233
+ value: {
234
+ unit: string;
235
+ value: number;
236
+ };
237
+ }[];
238
+ id: string;
239
+ padding: {
240
+ deviceId: string;
241
+ value: {
242
+ paddingBottom: {
243
+ unit: string;
244
+ value: number;
245
+ };
246
+ paddingLeft: {
247
+ unit: string;
248
+ value: number;
249
+ };
250
+ paddingRight: {
251
+ unit: string;
252
+ value: number;
253
+ };
254
+ paddingTop: {
255
+ unit: string;
256
+ value: number;
257
+ };
258
+ };
259
+ }[];
260
+ };
261
+ type: string;
262
+ } | {
263
+ key: string;
264
+ props: {
265
+ backgrounds: {
266
+ deviceId: string;
267
+ value: {
268
+ id: string;
269
+ payload: {
270
+ alpha: number;
271
+ swatchId: string;
272
+ };
273
+ type: string;
274
+ }[];
275
+ }[];
276
+ children: {
277
+ columns: {
278
+ deviceId: string;
279
+ value: {
280
+ count: number;
281
+ spans: number[][];
282
+ };
283
+ }[];
284
+ elements: {
285
+ key: string;
286
+ props: {
287
+ children: {
288
+ columns: {
289
+ deviceId: string;
290
+ value: {
291
+ count: number;
292
+ spans: number[][];
293
+ };
294
+ }[];
295
+ elements: ({
296
+ key: string;
297
+ props: {
298
+ margin: {
299
+ deviceId: string;
300
+ value: {
301
+ marginBottom: {
302
+ unit: string;
303
+ value: number;
304
+ };
305
+ marginLeft: string;
306
+ marginRight: string;
307
+ marginTop: {
308
+ unit: string;
309
+ value: number;
310
+ };
311
+ };
312
+ }[];
313
+ text: {
314
+ descendants: {
315
+ children: {
316
+ text: string;
317
+ typography: {
318
+ id: string;
319
+ style: {
320
+ deviceId: string;
321
+ value: {
322
+ fontSize: {
323
+ unit: string;
324
+ value: number;
325
+ };
326
+ };
327
+ }[];
328
+ };
329
+ }[];
330
+ textAlign: {
331
+ deviceId: string;
332
+ value: string;
333
+ }[];
334
+ type: string;
335
+ }[];
336
+ key: string;
337
+ type: string;
338
+ version: number;
339
+ };
340
+ color?: undefined;
341
+ shape?: undefined;
342
+ size?: undefined;
343
+ textColor?: undefined;
344
+ textStyle?: undefined;
345
+ };
346
+ type: string;
347
+ } | {
348
+ key: string;
349
+ props: {
350
+ color: {
351
+ deviceId: string;
352
+ value: {
353
+ alpha: number;
354
+ swatchId: string;
355
+ };
356
+ }[];
357
+ shape: {
358
+ deviceId: string;
359
+ value: string;
360
+ }[];
361
+ size: {
362
+ deviceId: string;
363
+ value: string;
364
+ }[];
365
+ textColor: {
366
+ deviceId: string;
367
+ value: {
368
+ alpha: number;
369
+ swatchId: string;
370
+ };
371
+ }[];
372
+ textStyle: {
373
+ deviceId: string;
374
+ value: {
375
+ fontFamily: string;
376
+ fontSize: {
377
+ unit: string;
378
+ value: number;
379
+ };
380
+ fontStyle: never[];
381
+ fontWeight: number;
382
+ letterSpacing: null;
383
+ textTransform: never[];
384
+ };
385
+ }[];
386
+ margin?: undefined;
387
+ text?: undefined;
388
+ };
389
+ type: string;
390
+ })[];
391
+ };
392
+ columnGap: {
393
+ deviceId: string;
394
+ value: {
395
+ unit: string;
396
+ value: number;
397
+ };
398
+ }[];
399
+ id: string;
400
+ width: {
401
+ deviceId: string;
402
+ value: {
403
+ unit: string;
404
+ value: number;
405
+ };
406
+ }[];
407
+ };
408
+ type: string;
409
+ }[];
410
+ };
411
+ columnGap: {
412
+ deviceId: string;
413
+ value: {
414
+ unit: string;
415
+ value: number;
416
+ };
417
+ }[];
418
+ id: string;
419
+ padding: {
420
+ deviceId: string;
421
+ value: {
422
+ paddingBottom: {
423
+ unit: string;
424
+ value: number;
425
+ };
426
+ paddingLeft: {
427
+ unit: string;
428
+ value: number;
429
+ };
430
+ paddingRight: {
431
+ unit: string;
432
+ value: number;
433
+ };
434
+ paddingTop: {
435
+ unit: string;
436
+ value: number;
437
+ };
438
+ };
439
+ }[];
440
+ };
441
+ type: string;
442
+ } | {
443
+ key: string;
444
+ props: {
445
+ backgrounds: {
446
+ deviceId: string;
447
+ value: {
448
+ id: string;
449
+ payload: {
450
+ alpha: number;
451
+ swatchId: string;
452
+ };
453
+ type: string;
454
+ }[];
455
+ }[];
456
+ children: {
457
+ columns: {
458
+ deviceId: string;
459
+ value: {
460
+ count: number;
461
+ spans: number[][];
462
+ };
463
+ }[];
464
+ elements: {
465
+ key: string;
466
+ props: {
467
+ children: {
468
+ columns: {
469
+ deviceId: string;
470
+ value: {
471
+ count: number;
472
+ spans: number[][];
473
+ };
474
+ }[];
475
+ elements: ({
476
+ key: string;
477
+ props: {
478
+ children: {
479
+ columns: {
480
+ deviceId: string;
481
+ value: {
482
+ count: number;
483
+ spans: number[][];
484
+ };
485
+ }[];
486
+ elements: ({
487
+ key: string;
488
+ props: {
489
+ margin: {
490
+ deviceId: string;
491
+ value: {
492
+ marginBottom: {
493
+ unit: string;
494
+ value: number;
495
+ };
496
+ };
497
+ }[];
498
+ width: {
499
+ deviceId: string;
500
+ value: {
501
+ unit: string;
502
+ value: number;
503
+ };
504
+ }[];
505
+ children?: undefined;
506
+ columnGap?: undefined;
507
+ };
508
+ type: string;
509
+ } | {
510
+ key: string;
511
+ props: {
512
+ children: {
513
+ columns: {
514
+ deviceId: string;
515
+ value: {
516
+ count: number;
517
+ spans: number[][];
518
+ };
519
+ }[];
520
+ elements: ({
521
+ key: string;
522
+ props: {
523
+ margin: {
524
+ deviceId: string;
525
+ value: {
526
+ marginBottom: {
527
+ unit: string;
528
+ value: number;
529
+ };
530
+ marginLeft: string;
531
+ marginRight: string;
532
+ marginTop: {
533
+ unit: string;
534
+ value: number;
535
+ };
536
+ };
537
+ }[];
538
+ text: {
539
+ descendants: {
540
+ children: {
541
+ text: string;
542
+ typography: {
543
+ id: string;
544
+ style: never[];
545
+ };
546
+ }[];
547
+ textAlign: {
548
+ deviceId: string;
549
+ value: string;
550
+ }[];
551
+ type: string;
552
+ }[];
553
+ key: string;
554
+ type: string;
555
+ version: number;
556
+ };
557
+ children?: undefined;
558
+ color?: undefined;
559
+ shape?: undefined;
560
+ size?: undefined;
561
+ textColor?: undefined;
562
+ textStyle?: undefined;
563
+ };
564
+ type: string;
565
+ } | {
566
+ key: string;
567
+ props: {
568
+ margin: {
569
+ deviceId: string;
570
+ value: {
571
+ marginBottom: {
572
+ unit: string;
573
+ value: number;
574
+ };
575
+ marginLeft: string;
576
+ marginRight: string;
577
+ marginTop: {
578
+ unit: string;
579
+ value: number;
580
+ };
581
+ };
582
+ }[];
583
+ text: {
584
+ descendants: {
585
+ children: {
586
+ text: string;
587
+ typography: {
588
+ id: string;
589
+ style: never[];
590
+ };
591
+ }[];
592
+ type: string;
593
+ }[];
594
+ key: string;
595
+ type: string;
596
+ version: number;
597
+ };
598
+ children?: undefined;
599
+ color?: undefined;
600
+ shape?: undefined;
601
+ size?: undefined;
602
+ textColor?: undefined;
603
+ textStyle?: undefined;
604
+ };
605
+ type: string;
606
+ } | {
607
+ key: string;
608
+ props: {
609
+ children: string;
610
+ color: {
611
+ deviceId: string;
612
+ value: {
613
+ alpha: number;
614
+ swatchId: string;
615
+ };
616
+ }[];
617
+ margin: {
618
+ deviceId: string;
619
+ value: {
620
+ marginLeft: {
621
+ unit: string;
622
+ value: number;
623
+ };
624
+ marginRight: string;
625
+ };
626
+ }[];
627
+ shape: {
628
+ deviceId: string;
629
+ value: string;
630
+ }[];
631
+ size: {
632
+ deviceId: string;
633
+ value: string;
634
+ }[];
635
+ textColor: {
636
+ deviceId: string;
637
+ value: {
638
+ alpha: number;
639
+ swatchId: string;
640
+ };
641
+ }[];
642
+ textStyle: {
643
+ deviceId: string;
644
+ value: {
645
+ fontFamily: string;
646
+ fontSize: {
647
+ unit: string;
648
+ value: number;
649
+ };
650
+ fontStyle: never[];
651
+ fontWeight: number;
652
+ letterSpacing: null;
653
+ textTransform: never[];
654
+ };
655
+ }[];
656
+ text?: undefined;
657
+ };
658
+ type: string;
659
+ })[];
660
+ };
661
+ columnGap: {
662
+ deviceId: string;
663
+ value: {
664
+ unit: string;
665
+ value: number;
666
+ };
667
+ }[];
668
+ margin?: undefined;
669
+ width?: undefined;
670
+ };
671
+ type: string;
672
+ })[];
673
+ };
674
+ columnGap: {
675
+ deviceId: string;
676
+ value: {
677
+ unit: string;
678
+ value: number;
679
+ };
680
+ }[];
681
+ margin: {
682
+ deviceId: string;
683
+ value: {
684
+ marginBottom: {
685
+ unit: string;
686
+ value: number;
687
+ };
688
+ };
689
+ }[];
690
+ verticalAlign: {
691
+ deviceId: string;
692
+ value: string;
693
+ }[];
694
+ width: {
695
+ deviceId: string;
696
+ value: {
697
+ unit: string;
698
+ value: number;
699
+ };
700
+ }[];
701
+ };
702
+ type: string;
703
+ } | {
704
+ key: string;
705
+ props: {
706
+ children: {
707
+ columns: {
708
+ deviceId: string;
709
+ value: {
710
+ count: number;
711
+ spans: number[][];
712
+ };
713
+ }[];
714
+ elements: ({
715
+ key: string;
716
+ props: {
717
+ children: {
718
+ columns: {
719
+ deviceId: string;
720
+ value: {
721
+ count: number;
722
+ spans: number[][];
723
+ };
724
+ }[];
725
+ elements: ({
726
+ key: string;
727
+ props: {
728
+ margin: {
729
+ deviceId: string;
730
+ value: {
731
+ marginBottom: {
732
+ unit: string;
733
+ value: number;
734
+ };
735
+ marginLeft: string;
736
+ marginRight: string;
737
+ marginTop: {
738
+ unit: string;
739
+ value: number;
740
+ };
741
+ };
742
+ }[];
743
+ text: {
744
+ descendants: {
745
+ children: {
746
+ text: string;
747
+ typography: {
748
+ id: string;
749
+ style: never[];
750
+ };
751
+ }[];
752
+ textAlign: {
753
+ deviceId: string;
754
+ value: string;
755
+ }[];
756
+ type: string;
757
+ }[];
758
+ key: string;
759
+ type: string;
760
+ version: number;
761
+ };
762
+ children?: undefined;
763
+ color?: undefined;
764
+ shape?: undefined;
765
+ size?: undefined;
766
+ textColor?: undefined;
767
+ textStyle?: undefined;
768
+ };
769
+ type: string;
770
+ } | {
771
+ key: string;
772
+ props: {
773
+ margin: {
774
+ deviceId: string;
775
+ value: {
776
+ marginBottom: {
777
+ unit: string;
778
+ value: number;
779
+ };
780
+ marginLeft: string;
781
+ marginRight: string;
782
+ marginTop: {
783
+ unit: string;
784
+ value: number;
785
+ };
786
+ };
787
+ }[];
788
+ text: {
789
+ descendants: {
790
+ children: {
791
+ text: string;
792
+ typography: {
793
+ id: string;
794
+ style: never[];
795
+ };
796
+ }[];
797
+ type: string;
798
+ }[];
799
+ key: string;
800
+ type: string;
801
+ version: number;
802
+ };
803
+ children?: undefined;
804
+ color?: undefined;
805
+ shape?: undefined;
806
+ size?: undefined;
807
+ textColor?: undefined;
808
+ textStyle?: undefined;
809
+ };
810
+ type: string;
811
+ } | {
812
+ key: string;
813
+ props: {
814
+ children: string;
815
+ color: {
816
+ deviceId: string;
817
+ value: {
818
+ alpha: number;
819
+ swatchId: string;
820
+ };
821
+ }[];
822
+ margin: {
823
+ deviceId: string;
824
+ value: {
825
+ marginLeft: {
826
+ unit: string;
827
+ value: number;
828
+ };
829
+ marginRight: string;
830
+ };
831
+ }[];
832
+ shape: {
833
+ deviceId: string;
834
+ value: string;
835
+ }[];
836
+ size: {
837
+ deviceId: string;
838
+ value: string;
839
+ }[];
840
+ textColor: {
841
+ deviceId: string;
842
+ value: {
843
+ alpha: number;
844
+ swatchId: string;
845
+ };
846
+ }[];
847
+ textStyle: {
848
+ deviceId: string;
849
+ value: {
850
+ fontFamily: string;
851
+ fontSize: {
852
+ unit: string;
853
+ value: number;
854
+ };
855
+ fontStyle: never[];
856
+ fontWeight: number;
857
+ letterSpacing: null;
858
+ textTransform: never[];
859
+ };
860
+ }[];
861
+ text?: undefined;
862
+ };
863
+ type: string;
864
+ })[];
865
+ };
866
+ columnGap: {
867
+ deviceId: string;
868
+ value: {
869
+ unit: string;
870
+ value: number;
871
+ };
872
+ }[];
873
+ margin?: undefined;
874
+ width?: undefined;
875
+ };
876
+ type: string;
877
+ } | {
878
+ key: string;
879
+ props: {
880
+ margin: ({
881
+ deviceId: string;
882
+ value: {
883
+ marginBottom: {
884
+ unit: string;
885
+ value: number;
886
+ };
887
+ marginTop?: undefined;
888
+ };
889
+ } | {
890
+ deviceId: string;
891
+ value: {
892
+ marginBottom: {
893
+ unit: string;
894
+ value: number;
895
+ };
896
+ marginTop: {
897
+ unit: string;
898
+ value: number;
899
+ };
900
+ };
901
+ })[];
902
+ width: {
903
+ deviceId: string;
904
+ value: {
905
+ unit: string;
906
+ value: number;
907
+ };
908
+ }[];
909
+ children?: undefined;
910
+ columnGap?: undefined;
911
+ };
912
+ type: string;
913
+ })[];
914
+ };
915
+ columnGap: {
916
+ deviceId: string;
917
+ value: {
918
+ unit: string;
919
+ value: number;
920
+ };
921
+ }[];
922
+ verticalAlign: {
923
+ deviceId: string;
924
+ value: string;
925
+ }[];
926
+ width: {
927
+ deviceId: string;
928
+ value: {
929
+ unit: string;
930
+ value: number;
931
+ };
932
+ }[];
933
+ margin?: undefined;
934
+ };
935
+ type: string;
936
+ })[];
937
+ };
938
+ columnGap: {
939
+ deviceId: string;
940
+ value: {
941
+ unit: string;
942
+ value: number;
943
+ };
944
+ }[];
945
+ id: string;
946
+ width: {
947
+ deviceId: string;
948
+ value: {
949
+ unit: string;
950
+ value: number;
951
+ };
952
+ }[];
953
+ };
954
+ type: string;
955
+ }[];
956
+ };
957
+ columnGap: {
958
+ deviceId: string;
959
+ value: {
960
+ unit: string;
961
+ value: number;
962
+ };
963
+ }[];
964
+ id: string;
965
+ padding: {
966
+ deviceId: string;
967
+ value: {
968
+ paddingBottom: {
969
+ unit: string;
970
+ value: number;
971
+ };
972
+ paddingLeft: {
973
+ unit: string;
974
+ value: number;
975
+ };
976
+ paddingRight: {
977
+ unit: string;
978
+ value: number;
979
+ };
980
+ paddingTop: {
981
+ unit: string;
982
+ value: number;
983
+ };
984
+ };
985
+ }[];
986
+ };
987
+ type: string;
988
+ } | {
989
+ key: string;
990
+ props: {
991
+ children: {
992
+ columns: {
993
+ deviceId: string;
994
+ value: {
995
+ count: number;
996
+ spans: number[][];
997
+ };
998
+ }[];
999
+ elements: {
1000
+ key: string;
1001
+ props: {
1002
+ children: {
1003
+ columns: {
1004
+ deviceId: string;
1005
+ value: {
1006
+ count: number;
1007
+ spans: number[][];
1008
+ };
1009
+ }[];
1010
+ elements: ({
1011
+ key: string;
1012
+ props: {
1013
+ margin: {
1014
+ deviceId: string;
1015
+ value: {
1016
+ marginBottom: {
1017
+ unit: string;
1018
+ value: number;
1019
+ };
1020
+ marginLeft: string;
1021
+ marginRight: string;
1022
+ marginTop: {
1023
+ unit: string;
1024
+ value: number;
1025
+ };
1026
+ };
1027
+ }[];
1028
+ text: {
1029
+ descendants: {
1030
+ children: {
1031
+ text: string;
1032
+ typography: {
1033
+ id: string;
1034
+ style: never[];
1035
+ };
1036
+ }[];
1037
+ textAlign: {
1038
+ deviceId: string;
1039
+ value: string;
1040
+ }[];
1041
+ type: string;
1042
+ }[];
1043
+ key: string;
1044
+ type: string;
1045
+ version: number;
1046
+ };
1047
+ children?: undefined;
1048
+ columnGap?: undefined;
1049
+ height?: undefined;
1050
+ };
1051
+ type: string;
1052
+ } | {
1053
+ key: string;
1054
+ props: {
1055
+ children: {
1056
+ columns: {
1057
+ deviceId: string;
1058
+ value: {
1059
+ count: number;
1060
+ spans: number[][];
1061
+ };
1062
+ }[];
1063
+ elements: ({
1064
+ key: string;
1065
+ props: {
1066
+ margin: {
1067
+ deviceId: string;
1068
+ value: {
1069
+ marginBottom: {
1070
+ unit: string;
1071
+ value: number;
1072
+ };
1073
+ };
1074
+ }[];
1075
+ width: {
1076
+ deviceId: string;
1077
+ value: {
1078
+ unit: string;
1079
+ value: number;
1080
+ };
1081
+ }[];
1082
+ text?: undefined;
1083
+ children?: undefined;
1084
+ color?: undefined;
1085
+ shape?: undefined;
1086
+ size?: undefined;
1087
+ textColor?: undefined;
1088
+ textStyle?: undefined;
1089
+ };
1090
+ type: string;
1091
+ } | {
1092
+ key: string;
1093
+ props: {
1094
+ margin: {
1095
+ deviceId: string;
1096
+ value: {
1097
+ marginBottom: {
1098
+ unit: string;
1099
+ value: number;
1100
+ };
1101
+ marginLeft: string;
1102
+ marginRight: string;
1103
+ marginTop: {
1104
+ unit: string;
1105
+ value: number;
1106
+ };
1107
+ };
1108
+ }[];
1109
+ text: {
1110
+ descendants: {
1111
+ children: {
1112
+ text: string;
1113
+ typography: {
1114
+ id: string;
1115
+ style: {
1116
+ deviceId: string;
1117
+ value: {
1118
+ color: {
1119
+ alpha: number;
1120
+ swatchId: string;
1121
+ };
1122
+ fontWeight: number;
1123
+ italic: boolean;
1124
+ };
1125
+ }[];
1126
+ };
1127
+ }[];
1128
+ textAlign: {
1129
+ deviceId: string;
1130
+ value: string;
1131
+ }[];
1132
+ type: string;
1133
+ }[];
1134
+ key: string;
1135
+ type: string;
1136
+ version: number;
1137
+ };
1138
+ width?: undefined;
1139
+ children?: undefined;
1140
+ color?: undefined;
1141
+ shape?: undefined;
1142
+ size?: undefined;
1143
+ textColor?: undefined;
1144
+ textStyle?: undefined;
1145
+ };
1146
+ type: string;
1147
+ } | {
1148
+ key: string;
1149
+ props: {
1150
+ children: string;
1151
+ color: {
1152
+ deviceId: string;
1153
+ value: {
1154
+ alpha: number;
1155
+ swatchId: string;
1156
+ };
1157
+ }[];
1158
+ margin: ({
1159
+ deviceId: string;
1160
+ value: {
1161
+ marginLeft: {
1162
+ unit: string;
1163
+ value: number;
1164
+ };
1165
+ marginRight: string;
1166
+ marginBottom?: undefined;
1167
+ };
1168
+ } | {
1169
+ deviceId: string;
1170
+ value: {
1171
+ marginBottom: {
1172
+ unit: string;
1173
+ value: number;
1174
+ };
1175
+ marginLeft: {
1176
+ unit: string;
1177
+ value: number;
1178
+ };
1179
+ marginRight: string;
1180
+ };
1181
+ })[];
1182
+ shape: {
1183
+ deviceId: string;
1184
+ value: string;
1185
+ }[];
1186
+ size: {
1187
+ deviceId: string;
1188
+ value: string;
1189
+ }[];
1190
+ textColor: {
1191
+ deviceId: string;
1192
+ value: {
1193
+ alpha: number;
1194
+ swatchId: string;
1195
+ };
1196
+ }[];
1197
+ textStyle: {
1198
+ deviceId: string;
1199
+ value: {
1200
+ fontFamily: string;
1201
+ fontSize: {
1202
+ unit: string;
1203
+ value: number;
1204
+ };
1205
+ fontStyle: never[];
1206
+ fontWeight: number;
1207
+ letterSpacing: null;
1208
+ textTransform: never[];
1209
+ };
1210
+ }[];
1211
+ width?: undefined;
1212
+ text?: undefined;
1213
+ };
1214
+ type: string;
1215
+ })[];
1216
+ };
1217
+ columnGap: {
1218
+ deviceId: string;
1219
+ value: {
1220
+ unit: string;
1221
+ value: number;
1222
+ };
1223
+ }[];
1224
+ height: {
1225
+ deviceId: string;
1226
+ value: string;
1227
+ }[];
1228
+ margin?: undefined;
1229
+ text?: undefined;
1230
+ };
1231
+ type: string;
1232
+ })[];
1233
+ };
1234
+ columnGap: {
1235
+ deviceId: string;
1236
+ value: {
1237
+ unit: string;
1238
+ value: number;
1239
+ };
1240
+ }[];
1241
+ id: string;
1242
+ rowGap: {
1243
+ deviceId: string;
1244
+ value: {
1245
+ unit: string;
1246
+ value: number;
1247
+ };
1248
+ }[];
1249
+ width: {
1250
+ deviceId: string;
1251
+ value: {
1252
+ unit: string;
1253
+ value: number;
1254
+ };
1255
+ }[];
1256
+ };
1257
+ type: string;
1258
+ }[];
1259
+ };
1260
+ columnGap: {
1261
+ deviceId: string;
1262
+ value: {
1263
+ unit: string;
1264
+ value: number;
1265
+ };
1266
+ }[];
1267
+ id: string;
1268
+ padding: {
1269
+ deviceId: string;
1270
+ value: {
1271
+ paddingBottom: {
1272
+ unit: string;
1273
+ value: number;
1274
+ };
1275
+ paddingLeft: {
1276
+ unit: string;
1277
+ value: number;
1278
+ };
1279
+ paddingRight: {
1280
+ unit: string;
1281
+ value: number;
1282
+ };
1283
+ paddingTop: {
1284
+ unit: string;
1285
+ value: number;
1286
+ };
1287
+ };
1288
+ }[];
1289
+ backgrounds?: undefined;
1290
+ };
1291
+ type: string;
1292
+ } | {
1293
+ key: string;
1294
+ props: {
1295
+ children: {
1296
+ columns: {
1297
+ deviceId: string;
1298
+ value: {
1299
+ count: number;
1300
+ spans: number[][];
1301
+ };
1302
+ }[];
1303
+ elements: {
1304
+ key: string;
1305
+ props: {
1306
+ children: {
1307
+ columns: {
1308
+ deviceId: string;
1309
+ value: {
1310
+ count: number;
1311
+ spans: number[][];
1312
+ };
1313
+ }[];
1314
+ elements: ({
1315
+ key: string;
1316
+ props: {
1317
+ margin: {
1318
+ deviceId: string;
1319
+ value: {
1320
+ marginBottom: {
1321
+ unit: string;
1322
+ value: number;
1323
+ };
1324
+ marginLeft: string;
1325
+ marginRight: string;
1326
+ marginTop: {
1327
+ unit: string;
1328
+ value: number;
1329
+ };
1330
+ };
1331
+ }[];
1332
+ text: {
1333
+ descendants: {
1334
+ children: {
1335
+ text: string;
1336
+ typography: {
1337
+ id: string;
1338
+ style: {
1339
+ deviceId: string;
1340
+ value: {
1341
+ fontSize: {
1342
+ unit: string;
1343
+ value: number;
1344
+ };
1345
+ };
1346
+ }[];
1347
+ };
1348
+ }[];
1349
+ textAlign: {
1350
+ deviceId: string;
1351
+ value: string;
1352
+ }[];
1353
+ type: string;
1354
+ }[];
1355
+ key: string;
1356
+ type: string;
1357
+ version: number;
1358
+ };
1359
+ alignment?: undefined;
1360
+ backgroundColor?: undefined;
1361
+ fill?: undefined;
1362
+ gutter?: undefined;
1363
+ links?: undefined;
1364
+ shape?: undefined;
1365
+ size?: undefined;
1366
+ };
1367
+ type: string;
1368
+ } | {
1369
+ key: string;
1370
+ props: {
1371
+ margin: {
1372
+ deviceId: string;
1373
+ value: {
1374
+ marginBottom: {
1375
+ unit: string;
1376
+ value: number;
1377
+ };
1378
+ marginLeft: string;
1379
+ marginRight: string;
1380
+ marginTop: {
1381
+ unit: string;
1382
+ value: number;
1383
+ };
1384
+ };
1385
+ }[];
1386
+ text: {
1387
+ descendants: {
1388
+ children: {
1389
+ text: string;
1390
+ typography: {
1391
+ id: string;
1392
+ style: {
1393
+ deviceId: string;
1394
+ value: {
1395
+ fontSize: {
1396
+ unit: string;
1397
+ value: number;
1398
+ };
1399
+ lineHeight: number;
1400
+ };
1401
+ }[];
1402
+ };
1403
+ }[];
1404
+ textAlign: {
1405
+ deviceId: string;
1406
+ value: string;
1407
+ }[];
1408
+ type: string;
1409
+ }[];
1410
+ key: string;
1411
+ type: string;
1412
+ version: number;
1413
+ };
1414
+ alignment?: undefined;
1415
+ backgroundColor?: undefined;
1416
+ fill?: undefined;
1417
+ gutter?: undefined;
1418
+ links?: undefined;
1419
+ shape?: undefined;
1420
+ size?: undefined;
1421
+ };
1422
+ type: string;
1423
+ } | {
1424
+ key: string;
1425
+ props: {
1426
+ alignment: {
1427
+ deviceId: string;
1428
+ value: string;
1429
+ }[];
1430
+ backgroundColor: {
1431
+ deviceId: string;
1432
+ value: {
1433
+ alpha: number;
1434
+ swatchId: string;
1435
+ };
1436
+ }[];
1437
+ fill: {
1438
+ deviceId: string;
1439
+ value: {
1440
+ alpha: number;
1441
+ swatchId: string;
1442
+ };
1443
+ }[];
1444
+ gutter: {
1445
+ deviceId: string;
1446
+ value: {
1447
+ unit: string;
1448
+ value: number;
1449
+ };
1450
+ }[];
1451
+ links: {
1452
+ links: {
1453
+ id: string;
1454
+ payload: {
1455
+ type: string;
1456
+ url: string;
1457
+ };
1458
+ }[];
1459
+ openInNewTab: boolean;
1460
+ };
1461
+ margin: {
1462
+ deviceId: string;
1463
+ value: {
1464
+ marginBottom: {
1465
+ unit: string;
1466
+ value: number;
1467
+ };
1468
+ marginLeft: string;
1469
+ marginRight: string;
1470
+ marginTop: {
1471
+ unit: string;
1472
+ value: number;
1473
+ };
1474
+ };
1475
+ }[];
1476
+ shape: {
1477
+ deviceId: string;
1478
+ value: string;
1479
+ }[];
1480
+ size: {
1481
+ deviceId: string;
1482
+ value: string;
1483
+ }[];
1484
+ text?: undefined;
1485
+ };
1486
+ type: string;
1487
+ })[];
1488
+ };
1489
+ columnGap: {
1490
+ deviceId: string;
1491
+ value: {
1492
+ unit: string;
1493
+ value: number;
1494
+ };
1495
+ }[];
1496
+ id: string;
1497
+ width: {
1498
+ deviceId: string;
1499
+ value: {
1500
+ unit: string;
1501
+ value: number;
1502
+ };
1503
+ }[];
1504
+ };
1505
+ type: string;
1506
+ }[];
1507
+ };
1508
+ columnGap: {
1509
+ deviceId: string;
1510
+ value: {
1511
+ unit: string;
1512
+ value: number;
1513
+ };
1514
+ }[];
1515
+ id: string;
1516
+ padding: {
1517
+ deviceId: string;
1518
+ value: {
1519
+ paddingBottom: {
1520
+ unit: string;
1521
+ value: number;
1522
+ };
1523
+ paddingLeft: {
1524
+ unit: string;
1525
+ value: number;
1526
+ };
1527
+ paddingRight: {
1528
+ unit: string;
1529
+ value: number;
1530
+ };
1531
+ paddingTop: {
1532
+ unit: string;
1533
+ value: number;
1534
+ };
1535
+ };
1536
+ }[];
1537
+ backgrounds?: undefined;
1538
+ };
1539
+ type: string;
1540
+ })[];
1541
+ };
1542
+ };
1543
+ type: string;
1544
+ };
1545
+ //# sourceMappingURL=element-trees.d.ts.map