@revenuecat/purchases-ui-js 2.0.3 → 2.0.5

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 (68) hide show
  1. package/dist/components/button/ButtonNode.stories.svelte +1 -1
  2. package/dist/components/button/ButtonNode.svelte +27 -3
  3. package/dist/components/carousel/Carousel.stories.svelte +1039 -0
  4. package/dist/components/carousel/Carousel.stories.svelte.d.ts +19 -0
  5. package/dist/components/carousel/Carousel.svelte +298 -0
  6. package/dist/components/carousel/Carousel.svelte.d.ts +4 -0
  7. package/dist/components/carousel/CarouselPage.svelte +39 -0
  8. package/dist/components/carousel/CarouselPage.svelte.d.ts +11 -0
  9. package/dist/components/carousel/PageControl.svelte +93 -0
  10. package/dist/components/carousel/PageControl.svelte.d.ts +4 -0
  11. package/dist/components/carousel/carousel-utils.d.ts +4 -0
  12. package/dist/components/carousel/carousel-utils.js +21 -0
  13. package/dist/components/package/Package.svelte +3 -1
  14. package/dist/components/paywall/Node.svelte +12 -24
  15. package/dist/components/paywall/Node.svelte.d.ts +1 -6
  16. package/dist/components/paywall/Paywall.stories.svelte +155 -0
  17. package/dist/components/paywall/Paywall.svelte +50 -59
  18. package/dist/components/paywall/Paywall.svelte.d.ts +2 -1
  19. package/dist/components/paywall/Sheet.svelte +126 -0
  20. package/dist/components/paywall/Sheet.svelte.d.ts +4 -0
  21. package/dist/components/paywall/fixtures/background-paywall.d.ts +3 -0
  22. package/dist/components/paywall/fixtures/background-paywall.js +62 -0
  23. package/dist/components/paywall/fixtures/override-paywall.d.ts +1 -1
  24. package/dist/components/paywall/fixtures/sheet-paywall.d.ts +2 -0
  25. package/dist/components/paywall/fixtures/sheet-paywall.js +325 -0
  26. package/dist/components/paywall/fixtures/stack-paywall.d.ts +1 -1
  27. package/dist/components/stack/Stack.svelte +6 -1
  28. package/dist/components/stack/Stack.svelte.d.ts +2 -0
  29. package/dist/components/tabs/TabControl.svelte +11 -0
  30. package/dist/components/tabs/TabControl.svelte.d.ts +4 -0
  31. package/dist/components/tabs/TabControlButton.svelte +19 -0
  32. package/dist/components/tabs/TabControlButton.svelte.d.ts +4 -0
  33. package/dist/components/tabs/Tabs.stories.svelte +929 -0
  34. package/dist/components/tabs/Tabs.stories.svelte.d.ts +19 -0
  35. package/dist/components/tabs/Tabs.svelte +69 -0
  36. package/dist/components/tabs/Tabs.svelte.d.ts +4 -0
  37. package/dist/components/tabs/tabs-context.d.ts +11 -0
  38. package/dist/components/tabs/tabs-context.js +12 -0
  39. package/dist/index.d.ts +2 -2
  40. package/dist/index.js +2 -2
  41. package/dist/stores/paywall.d.ts +1 -1
  42. package/dist/stores/selected.d.ts +1 -1
  43. package/dist/stores/selected.js +3 -5
  44. package/dist/stories/fixtures.d.ts +2 -1
  45. package/dist/stories/viewport-wrapper.svelte +7 -5
  46. package/dist/types/component.d.ts +5 -3
  47. package/dist/types/components/button.d.ts +4 -1
  48. package/dist/types/components/carousel.d.ts +51 -0
  49. package/dist/types/components/sheet.d.ts +16 -0
  50. package/dist/types/components/sheet.js +1 -0
  51. package/dist/types/components/tabs.d.ts +46 -0
  52. package/dist/types/components/tabs.js +1 -0
  53. package/dist/types/paywall.d.ts +26 -0
  54. package/dist/types/paywall.js +1 -0
  55. package/dist/types/ui-config.d.ts +20 -0
  56. package/dist/types/ui-config.js +1 -0
  57. package/dist/types.d.ts +6 -2
  58. package/dist/utils/base-utils.d.ts +1 -1
  59. package/dist/utils/base-utils.js +2 -17
  60. package/dist/utils/font-utils.d.ts +1 -1
  61. package/dist/utils/style-utils.d.ts +2 -9
  62. package/dist/utils/style-utils.js +7 -24
  63. package/dist/web-components/index.js +969 -942
  64. package/package.json +20 -20
  65. package/dist/components/paywall/paywall-utils.d.ts +0 -8
  66. package/dist/components/paywall/paywall-utils.js +0 -24
  67. package/dist/data/entities.d.ts +0 -46
  68. /package/dist/{data/entities.js → types/components/carousel.js} +0 -0
@@ -0,0 +1,929 @@
1
+ <script module lang="ts">
2
+ import Tabs from "./Tabs.svelte";
3
+ import { componentDecorator } from "../../stories/component-decorator";
4
+ import { localizationDecorator } from "../../stories/localization-decorator";
5
+ import { variablesDecorator } from "../../stories/variables-decorator";
6
+ import { defineMeta } from "@storybook/addon-svelte-csf";
7
+ import { VARIABLES } from "../paywall/fixtures/variables";
8
+
9
+ const defaultLocale = "en_US";
10
+
11
+ const { Story } = defineMeta({
12
+ title: "Components/Tabs",
13
+ component: Tabs,
14
+ decorators: [componentDecorator()],
15
+ args: {
16
+ type: "tabs",
17
+ id: "tabs",
18
+ name: "Tabs",
19
+ },
20
+ });
21
+ </script>
22
+
23
+ <Story
24
+ name="Tabs"
25
+ decorators={[
26
+ componentDecorator(),
27
+ variablesDecorator(VARIABLES.$rc_annual),
28
+ localizationDecorator({
29
+ defaultLocale,
30
+ localizations: {
31
+ [defaultLocale]: {
32
+ "3-MHHQ4eYO": "Monthly",
33
+ "65AzNQh0h7": "Yearly",
34
+ "J-lynmZD0Z": "SAVE {{ product.relative_discount }}",
35
+ jmQIksTeEN: "Yearly",
36
+ uz7USEbmZH: "Monthly",
37
+ "x-ZGm8CK69": "Yearly",
38
+ x2g2xVGxgt: "Monthly",
39
+ },
40
+ },
41
+ }),
42
+ ]}
43
+ args={{
44
+ background: null,
45
+ control: {
46
+ stack: {
47
+ background: {
48
+ type: "color",
49
+ value: {
50
+ light: {
51
+ type: "hex",
52
+ value: "#F0F0F1ff",
53
+ },
54
+ },
55
+ },
56
+ background_color: null,
57
+ badge: null,
58
+ border: null,
59
+ components: [
60
+ {
61
+ id: "33984XLRc9",
62
+ name: "Standard",
63
+ stack: {
64
+ background: null,
65
+ background_color: null,
66
+ badge: null,
67
+ border: null,
68
+ components: [
69
+ {
70
+ background_color: null,
71
+ color: {
72
+ light: {
73
+ type: "hex",
74
+ value: "#000000cc",
75
+ },
76
+ },
77
+ font_name: null,
78
+ font_size: 16,
79
+ font_weight: "medium",
80
+ horizontal_alignment: "leading",
81
+ id: "jHElq_6JMi",
82
+ margin: {
83
+ bottom: 0,
84
+ leading: 0,
85
+ top: 0,
86
+ trailing: 0,
87
+ },
88
+ name: "",
89
+ overrides: [
90
+ {
91
+ conditions: [
92
+ {
93
+ type: "selected",
94
+ },
95
+ ],
96
+ properties: {
97
+ color: {
98
+ light: {
99
+ type: "hex",
100
+ value: "#000000ff",
101
+ },
102
+ },
103
+ font_weight: "semibold",
104
+ text_lid: "x2g2xVGxgt",
105
+ },
106
+ },
107
+ ],
108
+ padding: {
109
+ bottom: 0,
110
+ leading: 0,
111
+ top: 0,
112
+ trailing: 0,
113
+ },
114
+ size: {
115
+ height: {
116
+ type: "fit",
117
+ value: null,
118
+ },
119
+ width: {
120
+ type: "fit",
121
+ value: null,
122
+ },
123
+ },
124
+ text_lid: "3-MHHQ4eYO",
125
+ type: "text",
126
+ },
127
+ ],
128
+ dimension: {
129
+ alignment: "center",
130
+ distribution: "center",
131
+ type: "horizontal",
132
+ },
133
+ id: "2cw-aXd4vE",
134
+ margin: {
135
+ bottom: 0,
136
+ leading: 0,
137
+ top: 0,
138
+ trailing: 0,
139
+ },
140
+ name: "",
141
+ overrides: [
142
+ {
143
+ conditions: [
144
+ {
145
+ type: "selected",
146
+ },
147
+ ],
148
+ properties: {
149
+ background: {
150
+ type: "color",
151
+ value: {
152
+ light: {
153
+ type: "hex",
154
+ value: "#ffffffff",
155
+ },
156
+ },
157
+ },
158
+ shadow: {
159
+ color: {
160
+ light: {
161
+ type: "hex",
162
+ value: "#00000033",
163
+ },
164
+ },
165
+ radius: 6,
166
+ x: 0,
167
+ y: 2,
168
+ },
169
+ shape: {
170
+ corners: {
171
+ bottom_leading: 8,
172
+ bottom_trailing: 8,
173
+ top_leading: 8,
174
+ top_trailing: 8,
175
+ },
176
+ type: "rectangle",
177
+ },
178
+ },
179
+ },
180
+ ],
181
+ padding: {
182
+ bottom: 14,
183
+ leading: 40,
184
+ top: 14,
185
+ trailing: 40,
186
+ },
187
+ shadow: null,
188
+ shape: {
189
+ corners: {
190
+ bottom_leading: 100,
191
+ bottom_trailing: 100,
192
+ top_leading: 100,
193
+ top_trailing: 100,
194
+ },
195
+ type: "rectangle",
196
+ },
197
+ size: {
198
+ height: {
199
+ type: "fit",
200
+ value: null,
201
+ },
202
+ width: {
203
+ type: "fit",
204
+ value: null,
205
+ },
206
+ },
207
+ spacing: 0,
208
+ type: "stack",
209
+ },
210
+ tab_id: "K--Iq3ASvA",
211
+ tab_index: 0,
212
+ type: "tab_control_button",
213
+ },
214
+ {
215
+ id: "mkWgEjANBp",
216
+ name: "Premium",
217
+ stack: {
218
+ background: null,
219
+ background_color: null,
220
+ badge: null,
221
+ border: null,
222
+ components: [
223
+ {
224
+ background: null,
225
+ background_color: null,
226
+ badge: {
227
+ alignment: "top",
228
+ stack: {
229
+ background: {
230
+ type: "color",
231
+ value: {
232
+ light: {
233
+ type: "hex",
234
+ value: "#576CDBff",
235
+ },
236
+ },
237
+ },
238
+ background_color: {
239
+ light: {
240
+ type: "hex",
241
+ value: "#576CDBff",
242
+ },
243
+ },
244
+ badge: null,
245
+ border: null,
246
+ components: [
247
+ {
248
+ background_color: null,
249
+ color: {
250
+ light: {
251
+ type: "hex",
252
+ value: "#ffffffff",
253
+ },
254
+ },
255
+ font_name: null,
256
+ font_size: 10,
257
+ font_weight: "bold",
258
+ horizontal_alignment: "center",
259
+ id: "_T7ECoTBqU",
260
+ margin: {
261
+ bottom: 0,
262
+ leading: 0,
263
+ top: 0,
264
+ trailing: 0,
265
+ },
266
+ name: "",
267
+ padding: {
268
+ bottom: 0,
269
+ leading: 0,
270
+ top: 0,
271
+ trailing: 0,
272
+ },
273
+ size: {
274
+ height: {
275
+ type: "fit",
276
+ value: null,
277
+ },
278
+ width: {
279
+ type: "fit",
280
+ value: null,
281
+ },
282
+ },
283
+ text_lid: "J-lynmZD0Z",
284
+ type: "text",
285
+ },
286
+ ],
287
+ dimension: {
288
+ alignment: "center",
289
+ distribution: "center",
290
+ type: "vertical",
291
+ },
292
+ id: "LevJGsoeFp",
293
+ margin: {
294
+ bottom: 0,
295
+ leading: 0,
296
+ top: 0,
297
+ trailing: 0,
298
+ },
299
+ name: "",
300
+ padding: {
301
+ bottom: 4,
302
+ leading: 8,
303
+ top: 4,
304
+ trailing: 8,
305
+ },
306
+ shadow: null,
307
+ shape: {
308
+ corners: {
309
+ bottom_leading: 0,
310
+ bottom_trailing: 0,
311
+ top_leading: 0,
312
+ top_trailing: 0,
313
+ },
314
+ type: "pill",
315
+ },
316
+ size: {
317
+ height: {
318
+ type: "fit",
319
+ value: null,
320
+ },
321
+ width: {
322
+ type: "fit",
323
+ value: null,
324
+ },
325
+ },
326
+ spacing: 0,
327
+ type: "stack",
328
+ },
329
+ style: "overlay",
330
+ },
331
+ border: null,
332
+ components: [
333
+ {
334
+ background_color: null,
335
+ color: {
336
+ light: {
337
+ type: "hex",
338
+ value: "#000000cc",
339
+ },
340
+ },
341
+ font_name: null,
342
+ font_size: 16,
343
+ font_weight: "medium",
344
+ horizontal_alignment: "leading",
345
+ id: "Mst9n847He",
346
+ margin: {
347
+ bottom: 0,
348
+ leading: 0,
349
+ top: 0,
350
+ trailing: 0,
351
+ },
352
+ name: "",
353
+ overrides: [
354
+ {
355
+ conditions: [
356
+ {
357
+ type: "selected",
358
+ },
359
+ ],
360
+ properties: {
361
+ color: {
362
+ light: {
363
+ type: "hex",
364
+ value: "#000000ff",
365
+ },
366
+ },
367
+ font_weight: "semibold",
368
+ text_lid: "jmQIksTeEN",
369
+ },
370
+ },
371
+ ],
372
+ padding: {
373
+ bottom: 0,
374
+ leading: 0,
375
+ top: 0,
376
+ trailing: 0,
377
+ },
378
+ size: {
379
+ height: {
380
+ type: "fit",
381
+ value: null,
382
+ },
383
+ width: {
384
+ type: "fit",
385
+ value: null,
386
+ },
387
+ },
388
+ text_lid: "x-ZGm8CK69",
389
+ type: "text",
390
+ },
391
+ ],
392
+ dimension: {
393
+ alignment: "leading",
394
+ distribution: "start",
395
+ type: "vertical",
396
+ },
397
+ id: "pT4xELGru8",
398
+ margin: {
399
+ bottom: 0,
400
+ leading: 0,
401
+ top: 0,
402
+ trailing: 0,
403
+ },
404
+ name: "",
405
+ overrides: [
406
+ {
407
+ conditions: [
408
+ {
409
+ type: "selected",
410
+ },
411
+ ],
412
+ properties: {
413
+ background: {
414
+ type: "color",
415
+ value: {
416
+ light: {
417
+ type: "hex",
418
+ value: "#FFFFFFFF",
419
+ },
420
+ },
421
+ },
422
+ padding: {
423
+ bottom: 14,
424
+ leading: 40,
425
+ top: 14,
426
+ trailing: 40,
427
+ },
428
+ shadow: {
429
+ color: {
430
+ light: {
431
+ type: "hex",
432
+ value: "#00000033",
433
+ },
434
+ },
435
+ radius: 6,
436
+ x: 0,
437
+ y: 2,
438
+ },
439
+ },
440
+ },
441
+ ],
442
+ padding: {
443
+ bottom: 14,
444
+ leading: 40,
445
+ top: 14,
446
+ trailing: 40,
447
+ },
448
+ shadow: null,
449
+ shape: {
450
+ corners: {
451
+ bottom_leading: 8,
452
+ bottom_trailing: 8,
453
+ top_leading: 8,
454
+ top_trailing: 8,
455
+ },
456
+ type: "rectangle",
457
+ },
458
+ size: {
459
+ height: {
460
+ type: "fit",
461
+ value: null,
462
+ },
463
+ width: {
464
+ type: "fit",
465
+ value: null,
466
+ },
467
+ },
468
+ spacing: 0,
469
+ type: "stack",
470
+ },
471
+ ],
472
+ dimension: {
473
+ alignment: "center",
474
+ distribution: "center",
475
+ type: "horizontal",
476
+ },
477
+ id: "KS15Wqk9-Q",
478
+ margin: {
479
+ bottom: 0,
480
+ leading: 0,
481
+ top: 0,
482
+ trailing: 0,
483
+ },
484
+ name: "",
485
+ padding: {
486
+ bottom: 0,
487
+ leading: 0,
488
+ top: 0,
489
+ trailing: 0,
490
+ },
491
+ shadow: null,
492
+ shape: {
493
+ corners: {
494
+ bottom_leading: 8,
495
+ bottom_trailing: 8,
496
+ top_leading: 8,
497
+ top_trailing: 8,
498
+ },
499
+ type: "rectangle",
500
+ },
501
+ size: {
502
+ height: {
503
+ type: "fit",
504
+ value: null,
505
+ },
506
+ width: {
507
+ type: "fit",
508
+ value: null,
509
+ },
510
+ },
511
+ spacing: 8,
512
+ type: "stack",
513
+ },
514
+ tab_id: "_YDy-tbaaE",
515
+ tab_index: 1,
516
+ type: "tab_control_button",
517
+ },
518
+ ],
519
+ dimension: {
520
+ alignment: "center",
521
+ distribution: "center",
522
+ type: "horizontal",
523
+ },
524
+ id: "2p__KtMwqb",
525
+ margin: {
526
+ bottom: 0,
527
+ leading: 0,
528
+ top: 0,
529
+ trailing: 0,
530
+ },
531
+ name: "",
532
+ padding: {
533
+ bottom: 3,
534
+ leading: 3,
535
+ top: 3,
536
+ trailing: 3,
537
+ },
538
+ shadow: null,
539
+ shape: {
540
+ corners: {
541
+ bottom_leading: 10,
542
+ bottom_trailing: 10,
543
+ top_leading: 10,
544
+ top_trailing: 10,
545
+ },
546
+ type: "rectangle",
547
+ },
548
+ size: {
549
+ height: {
550
+ type: "fit",
551
+ value: null,
552
+ },
553
+ width: {
554
+ type: "fit",
555
+ value: null,
556
+ },
557
+ },
558
+ spacing: 0,
559
+ type: "stack",
560
+ },
561
+ type: "buttons",
562
+ },
563
+ default_tab_id: "_YDy-tbaaE",
564
+ id: "FBh_Qx9bo3",
565
+ margin: {
566
+ bottom: 16,
567
+ leading: 16,
568
+ top: 16,
569
+ trailing: 16,
570
+ },
571
+ name: "",
572
+ padding: {
573
+ bottom: 0,
574
+ leading: 0,
575
+ top: 0,
576
+ trailing: 0,
577
+ },
578
+ shape: {
579
+ corners: {
580
+ bottom_leading: 0,
581
+ bottom_trailing: 0,
582
+ top_leading: 0,
583
+ top_trailing: 0,
584
+ },
585
+ type: "rectangle",
586
+ },
587
+ size: {
588
+ height: {
589
+ type: "fit",
590
+ value: null,
591
+ },
592
+ width: {
593
+ type: "fill",
594
+ value: null,
595
+ },
596
+ },
597
+ tabs: [
598
+ {
599
+ id: "K--Iq3ASvA",
600
+ name: "Monthly",
601
+ stack: {
602
+ background: null,
603
+ background_color: null,
604
+ badge: null,
605
+ border: null,
606
+ components: [
607
+ {
608
+ id: "xOovfczp52",
609
+ name: "",
610
+ type: "tab_control",
611
+ },
612
+ {
613
+ background: {
614
+ type: "color",
615
+ value: {
616
+ light: {
617
+ type: "hex",
618
+ value: "#f0fff0FF",
619
+ },
620
+ },
621
+ },
622
+ background_color: null,
623
+ badge: null,
624
+ border: {
625
+ color: {
626
+ light: {
627
+ type: "hex",
628
+ value: "#00aa00ff",
629
+ },
630
+ },
631
+ width: 3,
632
+ },
633
+ components: [
634
+ {
635
+ background_color: null,
636
+ color: {
637
+ light: {
638
+ type: "hex",
639
+ value: "#000000",
640
+ },
641
+ },
642
+ font_name: null,
643
+ font_size: 32,
644
+ font_weight: "regular",
645
+ font_weight_int: 400,
646
+ horizontal_alignment: "center",
647
+ id: "W3LqVnhexA",
648
+ margin: {
649
+ bottom: 0,
650
+ leading: 0,
651
+ top: 0,
652
+ trailing: 0,
653
+ },
654
+ name: "",
655
+ padding: {
656
+ bottom: 64,
657
+ leading: 64,
658
+ top: 64,
659
+ trailing: 64,
660
+ },
661
+ size: {
662
+ height: {
663
+ type: "fit",
664
+ value: null,
665
+ },
666
+ width: {
667
+ type: "fill",
668
+ value: null,
669
+ },
670
+ },
671
+ text_lid: "uz7USEbmZH",
672
+ type: "text",
673
+ },
674
+ ],
675
+ dimension: {
676
+ alignment: "center",
677
+ distribution: "start",
678
+ type: "vertical",
679
+ },
680
+ id: "DODG_8o_oj",
681
+ margin: {
682
+ bottom: 0,
683
+ leading: 0,
684
+ top: 0,
685
+ trailing: 0,
686
+ },
687
+ name: "",
688
+ padding: {
689
+ bottom: 0,
690
+ leading: 0,
691
+ top: 0,
692
+ trailing: 0,
693
+ },
694
+ shadow: null,
695
+ shape: {
696
+ corners: {
697
+ bottom_leading: 64,
698
+ bottom_trailing: 64,
699
+ top_leading: 64,
700
+ top_trailing: 64,
701
+ },
702
+ type: "rectangle",
703
+ },
704
+ size: {
705
+ height: {
706
+ type: "fit",
707
+ value: null,
708
+ },
709
+ width: {
710
+ type: "fill",
711
+ value: null,
712
+ },
713
+ },
714
+ spacing: 0,
715
+ type: "stack",
716
+ },
717
+ ],
718
+ dimension: {
719
+ alignment: "center",
720
+ distribution: "center",
721
+ type: "vertical",
722
+ },
723
+ id: "-cvTB_f1--",
724
+ margin: {
725
+ bottom: 0,
726
+ leading: 0,
727
+ top: 0,
728
+ trailing: 0,
729
+ },
730
+ name: "Tab",
731
+ padding: {
732
+ bottom: 0,
733
+ leading: 0,
734
+ top: 0,
735
+ trailing: 0,
736
+ },
737
+ shadow: null,
738
+ shape: {
739
+ corners: {
740
+ bottom_leading: 0,
741
+ bottom_trailing: 0,
742
+ top_leading: 0,
743
+ top_trailing: 0,
744
+ },
745
+ type: "rectangle",
746
+ },
747
+ size: {
748
+ height: {
749
+ type: "fit",
750
+ value: null,
751
+ },
752
+ width: {
753
+ type: "fill",
754
+ value: null,
755
+ },
756
+ },
757
+ spacing: 0,
758
+ type: "stack",
759
+ },
760
+ type: "tab",
761
+ },
762
+ {
763
+ id: "_YDy-tbaaE",
764
+ name: "Yearly",
765
+ stack: {
766
+ background: null,
767
+ background_color: null,
768
+ badge: null,
769
+ border: null,
770
+ components: [
771
+ {
772
+ id: "vBYpel0plp",
773
+ name: "",
774
+ type: "tab_control",
775
+ },
776
+ {
777
+ background: {
778
+ type: "color",
779
+ value: {
780
+ light: {
781
+ type: "hex",
782
+ value: "#fff0f0ff",
783
+ },
784
+ },
785
+ },
786
+ background_color: null,
787
+ badge: null,
788
+ border: {
789
+ color: {
790
+ light: {
791
+ type: "hex",
792
+ value: "#aa0000ff",
793
+ },
794
+ },
795
+ width: 3,
796
+ },
797
+ components: [
798
+ {
799
+ background_color: null,
800
+ color: {
801
+ light: {
802
+ type: "hex",
803
+ value: "#000000",
804
+ },
805
+ },
806
+ font_name: null,
807
+ font_size: 32,
808
+ font_weight: "regular",
809
+ font_weight_int: 400,
810
+ horizontal_alignment: "center",
811
+ id: "2H8O9QATG9",
812
+ margin: {
813
+ bottom: 0,
814
+ leading: 0,
815
+ top: 0,
816
+ trailing: 0,
817
+ },
818
+ name: "",
819
+ padding: {
820
+ bottom: 64,
821
+ leading: 64,
822
+ top: 64,
823
+ trailing: 64,
824
+ },
825
+ size: {
826
+ height: {
827
+ type: "fit",
828
+ value: null,
829
+ },
830
+ width: {
831
+ type: "fill",
832
+ value: null,
833
+ },
834
+ },
835
+ text_lid: "65AzNQh0h7",
836
+ type: "text",
837
+ },
838
+ ],
839
+ dimension: {
840
+ alignment: "center",
841
+ distribution: "start",
842
+ type: "vertical",
843
+ },
844
+ id: "vCISjhuBtC",
845
+ margin: {
846
+ bottom: 0,
847
+ leading: 0,
848
+ top: 0,
849
+ trailing: 0,
850
+ },
851
+ name: "",
852
+ padding: {
853
+ bottom: 0,
854
+ leading: 0,
855
+ top: 0,
856
+ trailing: 0,
857
+ },
858
+ shadow: null,
859
+ shape: {
860
+ corners: {
861
+ bottom_leading: 64,
862
+ bottom_trailing: 64,
863
+ top_leading: 64,
864
+ top_trailing: 64,
865
+ },
866
+ type: "rectangle",
867
+ },
868
+ size: {
869
+ height: {
870
+ type: "fit",
871
+ value: null,
872
+ },
873
+ width: {
874
+ type: "fill",
875
+ value: null,
876
+ },
877
+ },
878
+ spacing: 0,
879
+ type: "stack",
880
+ },
881
+ ],
882
+ dimension: {
883
+ alignment: "center",
884
+ distribution: "center",
885
+ type: "vertical",
886
+ },
887
+ id: "ZFvNICZNOL",
888
+ margin: {
889
+ bottom: 0,
890
+ leading: 0,
891
+ top: 0,
892
+ trailing: 0,
893
+ },
894
+ name: "Tab",
895
+ padding: {
896
+ bottom: 0,
897
+ leading: 0,
898
+ top: 0,
899
+ trailing: 0,
900
+ },
901
+ shadow: null,
902
+ shape: {
903
+ corners: {
904
+ bottom_leading: 0,
905
+ bottom_trailing: 0,
906
+ top_leading: 0,
907
+ top_trailing: 0,
908
+ },
909
+ type: "rectangle",
910
+ },
911
+ size: {
912
+ height: {
913
+ type: "fit",
914
+ value: null,
915
+ },
916
+ width: {
917
+ type: "fill",
918
+ value: null,
919
+ },
920
+ },
921
+ spacing: 0,
922
+ type: "stack",
923
+ },
924
+ type: "tab",
925
+ },
926
+ ],
927
+ type: "tabs",
928
+ }}
929
+ />