@hero-design/rn 8.85.0 → 8.87.1

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 (42) hide show
  1. package/.turbo/turbo-build.log +8 -2
  2. package/CHANGELOG.md +18 -0
  3. package/es/index.js +10763 -8758
  4. package/lib/index.js +10763 -8758
  5. package/package.json +2 -2
  6. package/src/components/Button/Button.tsx +22 -6
  7. package/src/components/Button/LoadingIndicator/StyledLoadingIndicator.tsx +8 -2
  8. package/src/components/Button/LoadingIndicator/__tests__/StyledLoadingIndicator.spec.tsx +3 -0
  9. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +139 -1
  10. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +408 -3
  11. package/src/components/Button/LoadingIndicator/__tests__/index.spec.tsx +3 -0
  12. package/src/components/Button/LoadingIndicator/index.tsx +4 -1
  13. package/src/components/Button/StyledButton.tsx +95 -5
  14. package/src/components/Button/__tests__/Button.spec.tsx +12 -0
  15. package/src/components/Button/__tests__/StyledButton.spec.tsx +10 -0
  16. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +1240 -90
  17. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +630 -40
  18. package/src/components/Carousel/CardCarousel.tsx +7 -2
  19. package/src/components/Carousel/StyledCardCarousel.tsx +6 -2
  20. package/src/components/Carousel/__tests__/CardCarousel.spec.tsx +28 -1
  21. package/src/components/Carousel/__tests__/StyledCardCarousel.spec.tsx +7 -2
  22. package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +1799 -1
  23. package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +86 -1
  24. package/src/components/RichTextEditor/RichTextEditor.tsx +30 -1
  25. package/src/components/RichTextEditor/__tests__/RichTextEditor.spec.tsx +59 -0
  26. package/src/components/RichTextEditor/types.ts +2 -0
  27. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +10 -1
  28. package/src/theme/components/button.ts +5 -0
  29. package/src/theme/components/cardCarousel.ts +5 -1
  30. package/stats/8.86.0/rn-stats.html +4842 -0
  31. package/stats/8.87.0/rn-stats.html +4844 -0
  32. package/stats/8.87.1/rn-stats.html +4842 -0
  33. package/types/components/Button/Button.d.ts +1 -1
  34. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +1 -1
  35. package/types/components/Button/LoadingIndicator/index.d.ts +1 -1
  36. package/types/components/Button/StyledButton.d.ts +3 -3
  37. package/types/components/Carousel/CardCarousel.d.ts +4 -0
  38. package/types/components/Carousel/StyledCardCarousel.d.ts +2 -0
  39. package/types/components/RichTextEditor/RichTextEditor.d.ts +4 -0
  40. package/types/components/RichTextEditor/types.d.ts +1 -0
  41. package/types/theme/components/button.d.ts +5 -0
  42. package/types/theme/components/cardCarousel.d.ts +5 -1
@@ -1,6 +1,6 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`CardCarousel android should render correctly on iOS 1`] = `
3
+ exports[`CardCarousel android should render correctly on Android 1`] = `
4
4
  <View
5
5
  style={
6
6
  {
@@ -106,6 +106,7 @@ exports[`CardCarousel android should render correctly on iOS 1`] = `
106
106
  },
107
107
  ]
108
108
  }
109
+ themeGap="medium"
109
110
  >
110
111
  <View
111
112
  style={
@@ -171,6 +172,1801 @@ exports[`CardCarousel android should render correctly on iOS 1`] = `
171
172
  },
172
173
  ]
173
174
  }
175
+ themeGap="medium"
176
+ >
177
+ <View
178
+ style={
179
+ [
180
+ {
181
+ "borderRadius": 12,
182
+ "overflow": "hidden",
183
+ },
184
+ [
185
+ {
186
+ "borderRadius": 8,
187
+ "flex": 1,
188
+ "overflow": "hidden",
189
+ },
190
+ undefined,
191
+ ],
192
+ ]
193
+ }
194
+ themeVariant="basic"
195
+ >
196
+ <Text
197
+ allowFontScaling={false}
198
+ style={
199
+ [
200
+ {
201
+ "color": "#001f23",
202
+ "fontFamily": "BeVietnamPro-Regular",
203
+ "fontSize": 14,
204
+ "letterSpacing": 0.48,
205
+ "lineHeight": 22,
206
+ },
207
+ undefined,
208
+ ]
209
+ }
210
+ themeIntent="body"
211
+ themeTypeface="neutral"
212
+ themeVariant="small"
213
+ >
214
+ screen 2
215
+ </Text>
216
+ </View>
217
+ </View>
218
+ </View>
219
+ </View>
220
+ </RCTScrollView>
221
+ <View
222
+ style={
223
+ [
224
+ {
225
+ "alignItems": "center",
226
+ "flexDirection": "row",
227
+ },
228
+ [
229
+ {
230
+ "alignSelf": "center",
231
+ "marginTop": 16,
232
+ },
233
+ undefined,
234
+ ],
235
+ ]
236
+ }
237
+ testID="pageControl"
238
+ >
239
+ <View
240
+ accessibilityState={
241
+ {
242
+ "selected": true,
243
+ }
244
+ }
245
+ collapsable={false}
246
+ style={
247
+ {
248
+ "backgroundColor": "#401960",
249
+ "borderRadius": 999,
250
+ "height": 8,
251
+ "marginHorizontal": 8,
252
+ "opacity": 1,
253
+ "width": 24,
254
+ }
255
+ }
256
+ testID="page-control-indicator0"
257
+ />
258
+ <View
259
+ accessibilityState={
260
+ {
261
+ "selected": false,
262
+ }
263
+ }
264
+ collapsable={false}
265
+ style={
266
+ {
267
+ "backgroundColor": "#401960",
268
+ "borderRadius": 999,
269
+ "height": 8,
270
+ "marginHorizontal": 8,
271
+ "opacity": 0.5,
272
+ "width": 8,
273
+ }
274
+ }
275
+ testID="page-control-indicator1"
276
+ />
277
+ </View>
278
+ </View>
279
+ <View
280
+ pointerEvents="box-none"
281
+ position="bottom"
282
+ style={
283
+ [
284
+ {
285
+ "bottom": 0,
286
+ "elevation": 9999,
287
+ "flexDirection": "column-reverse",
288
+ "left": 0,
289
+ "paddingHorizontal": 24,
290
+ "paddingVertical": 16,
291
+ "position": "absolute",
292
+ "right": 0,
293
+ "top": 0,
294
+ },
295
+ undefined,
296
+ ]
297
+ }
298
+ />
299
+ </View>
300
+ `;
301
+
302
+ exports[`CardCarousel gap renders correctly with gap medium 1`] = `
303
+ <View
304
+ style={
305
+ {
306
+ "flex": 1,
307
+ }
308
+ }
309
+ >
310
+ <View
311
+ style={
312
+ [
313
+ {},
314
+ {
315
+ "height": 100,
316
+ "width": 100,
317
+ },
318
+ ]
319
+ }
320
+ testID="cardCarousel"
321
+ >
322
+ <RCTScrollView
323
+ bounces={false}
324
+ contentInset={
325
+ {
326
+ "bottom": 0,
327
+ "left": 24,
328
+ "right": 24,
329
+ "top": 0,
330
+ }
331
+ }
332
+ data={
333
+ [
334
+ <Body
335
+ variant="small"
336
+ >
337
+ screen 1
338
+ </Body>,
339
+ <Body
340
+ variant="small"
341
+ >
342
+ screen 2
343
+ </Body>,
344
+ ]
345
+ }
346
+ decelerationRate="fast"
347
+ getItem={[Function]}
348
+ getItemCount={[Function]}
349
+ getItemLayout={[Function]}
350
+ horizontal={true}
351
+ keyExtractor={[Function]}
352
+ onContentSizeChange={[Function]}
353
+ onLayout={[Function]}
354
+ onMomentumScrollBegin={[Function]}
355
+ onMomentumScrollEnd={[Function]}
356
+ onScroll={[Function]}
357
+ onScrollBeginDrag={[Function]}
358
+ onScrollEndDrag={[Function]}
359
+ onViewableItemsChanged={[Function]}
360
+ pagingEnabled={true}
361
+ removeClippedSubviews={false}
362
+ renderItem={[Function]}
363
+ renderToHardwareTextureAndroid={true}
364
+ scrollEventThrottle={32}
365
+ showsHorizontalScrollIndicator={false}
366
+ snapToAlignment="center"
367
+ snapToInterval={0}
368
+ stickyHeaderIndices={[]}
369
+ viewabilityConfig={
370
+ {
371
+ "itemVisiblePercentThreshold": 80,
372
+ }
373
+ }
374
+ viewabilityConfigCallbackPairs={
375
+ [
376
+ {
377
+ "onViewableItemsChanged": [Function],
378
+ "viewabilityConfig": {
379
+ "itemVisiblePercentThreshold": 80,
380
+ },
381
+ },
382
+ ]
383
+ }
384
+ >
385
+ <View>
386
+ <View
387
+ onFocusCapture={[Function]}
388
+ style={
389
+ [
390
+ {
391
+ "flexDirection": "row",
392
+ },
393
+ null,
394
+ ]
395
+ }
396
+ >
397
+ <View
398
+ style={
399
+ [
400
+ {
401
+ "padding": 8,
402
+ },
403
+ {
404
+ "width": 0,
405
+ },
406
+ ]
407
+ }
408
+ themeGap="medium"
409
+ >
410
+ <View
411
+ style={
412
+ [
413
+ {
414
+ "borderRadius": 12,
415
+ "overflow": "hidden",
416
+ },
417
+ [
418
+ {
419
+ "borderRadius": 8,
420
+ "flex": 1,
421
+ "overflow": "hidden",
422
+ },
423
+ undefined,
424
+ ],
425
+ ]
426
+ }
427
+ themeVariant="basic"
428
+ >
429
+ <Text
430
+ allowFontScaling={false}
431
+ style={
432
+ [
433
+ {
434
+ "color": "#001f23",
435
+ "fontFamily": "BeVietnamPro-Regular",
436
+ "fontSize": 14,
437
+ "letterSpacing": 0.48,
438
+ "lineHeight": 22,
439
+ },
440
+ undefined,
441
+ ]
442
+ }
443
+ themeIntent="body"
444
+ themeTypeface="neutral"
445
+ themeVariant="small"
446
+ >
447
+ screen 1
448
+ </Text>
449
+ </View>
450
+ </View>
451
+ </View>
452
+ <View
453
+ onFocusCapture={[Function]}
454
+ style={
455
+ [
456
+ {
457
+ "flexDirection": "row",
458
+ },
459
+ null,
460
+ ]
461
+ }
462
+ >
463
+ <View
464
+ style={
465
+ [
466
+ {
467
+ "padding": 8,
468
+ },
469
+ {
470
+ "width": 0,
471
+ },
472
+ ]
473
+ }
474
+ themeGap="medium"
475
+ >
476
+ <View
477
+ style={
478
+ [
479
+ {
480
+ "borderRadius": 12,
481
+ "overflow": "hidden",
482
+ },
483
+ [
484
+ {
485
+ "borderRadius": 8,
486
+ "flex": 1,
487
+ "overflow": "hidden",
488
+ },
489
+ undefined,
490
+ ],
491
+ ]
492
+ }
493
+ themeVariant="basic"
494
+ >
495
+ <Text
496
+ allowFontScaling={false}
497
+ style={
498
+ [
499
+ {
500
+ "color": "#001f23",
501
+ "fontFamily": "BeVietnamPro-Regular",
502
+ "fontSize": 14,
503
+ "letterSpacing": 0.48,
504
+ "lineHeight": 22,
505
+ },
506
+ undefined,
507
+ ]
508
+ }
509
+ themeIntent="body"
510
+ themeTypeface="neutral"
511
+ themeVariant="small"
512
+ >
513
+ screen 2
514
+ </Text>
515
+ </View>
516
+ </View>
517
+ </View>
518
+ </View>
519
+ </RCTScrollView>
520
+ <View
521
+ style={
522
+ [
523
+ {
524
+ "alignItems": "center",
525
+ "flexDirection": "row",
526
+ },
527
+ [
528
+ {
529
+ "alignSelf": "center",
530
+ "marginTop": 16,
531
+ },
532
+ undefined,
533
+ ],
534
+ ]
535
+ }
536
+ testID="pageControl"
537
+ >
538
+ <View
539
+ accessibilityState={
540
+ {
541
+ "selected": true,
542
+ }
543
+ }
544
+ collapsable={false}
545
+ style={
546
+ {
547
+ "backgroundColor": "#401960",
548
+ "borderRadius": 999,
549
+ "height": 8,
550
+ "marginHorizontal": 8,
551
+ "opacity": 1,
552
+ "width": 24,
553
+ }
554
+ }
555
+ testID="page-control-indicator0"
556
+ />
557
+ <View
558
+ accessibilityState={
559
+ {
560
+ "selected": false,
561
+ }
562
+ }
563
+ collapsable={false}
564
+ style={
565
+ {
566
+ "backgroundColor": "#401960",
567
+ "borderRadius": 999,
568
+ "height": 8,
569
+ "marginHorizontal": 8,
570
+ "opacity": 0.5,
571
+ "width": 8,
572
+ }
573
+ }
574
+ testID="page-control-indicator1"
575
+ />
576
+ </View>
577
+ </View>
578
+ <View
579
+ pointerEvents="box-none"
580
+ position="bottom"
581
+ style={
582
+ [
583
+ {
584
+ "bottom": 0,
585
+ "elevation": 9999,
586
+ "flexDirection": "column-reverse",
587
+ "left": 0,
588
+ "paddingHorizontal": 24,
589
+ "paddingVertical": 16,
590
+ "position": "absolute",
591
+ "right": 0,
592
+ "top": 0,
593
+ },
594
+ undefined,
595
+ ]
596
+ }
597
+ />
598
+ </View>
599
+ `;
600
+
601
+ exports[`CardCarousel gap renders correctly with gap medium 2`] = `
602
+ <View
603
+ style={
604
+ {
605
+ "flex": 1,
606
+ }
607
+ }
608
+ >
609
+ <View
610
+ style={
611
+ [
612
+ {},
613
+ {
614
+ "height": 100,
615
+ "width": 100,
616
+ },
617
+ ]
618
+ }
619
+ testID="cardCarousel"
620
+ >
621
+ <RCTScrollView
622
+ bounces={false}
623
+ contentInset={
624
+ {
625
+ "bottom": 0,
626
+ "left": 24,
627
+ "right": 24,
628
+ "top": 0,
629
+ }
630
+ }
631
+ data={
632
+ [
633
+ <Body
634
+ variant="small"
635
+ >
636
+ screen 1
637
+ </Body>,
638
+ <Body
639
+ variant="small"
640
+ >
641
+ screen 2
642
+ </Body>,
643
+ ]
644
+ }
645
+ decelerationRate="fast"
646
+ getItem={[Function]}
647
+ getItemCount={[Function]}
648
+ getItemLayout={[Function]}
649
+ horizontal={true}
650
+ keyExtractor={[Function]}
651
+ onContentSizeChange={[Function]}
652
+ onLayout={[Function]}
653
+ onMomentumScrollBegin={[Function]}
654
+ onMomentumScrollEnd={[Function]}
655
+ onScroll={[Function]}
656
+ onScrollBeginDrag={[Function]}
657
+ onScrollEndDrag={[Function]}
658
+ onViewableItemsChanged={[Function]}
659
+ pagingEnabled={true}
660
+ removeClippedSubviews={true}
661
+ renderItem={[Function]}
662
+ renderToHardwareTextureAndroid={true}
663
+ scrollEventThrottle={32}
664
+ showsHorizontalScrollIndicator={false}
665
+ snapToAlignment="center"
666
+ snapToInterval={0}
667
+ stickyHeaderIndices={[]}
668
+ viewabilityConfig={
669
+ {
670
+ "itemVisiblePercentThreshold": 80,
671
+ }
672
+ }
673
+ viewabilityConfigCallbackPairs={
674
+ [
675
+ {
676
+ "onViewableItemsChanged": [Function],
677
+ "viewabilityConfig": {
678
+ "itemVisiblePercentThreshold": 80,
679
+ },
680
+ },
681
+ ]
682
+ }
683
+ >
684
+ <View>
685
+ <View
686
+ onFocusCapture={[Function]}
687
+ style={
688
+ [
689
+ {
690
+ "flexDirection": "row",
691
+ },
692
+ null,
693
+ ]
694
+ }
695
+ >
696
+ <View
697
+ style={
698
+ [
699
+ {
700
+ "padding": 8,
701
+ },
702
+ {
703
+ "width": 0,
704
+ },
705
+ ]
706
+ }
707
+ themeGap="medium"
708
+ >
709
+ <View
710
+ style={
711
+ [
712
+ {
713
+ "borderRadius": 12,
714
+ "overflow": "hidden",
715
+ },
716
+ [
717
+ {
718
+ "borderRadius": 8,
719
+ "flex": 1,
720
+ "overflow": "hidden",
721
+ },
722
+ undefined,
723
+ ],
724
+ ]
725
+ }
726
+ themeVariant="basic"
727
+ >
728
+ <Text
729
+ allowFontScaling={false}
730
+ style={
731
+ [
732
+ {
733
+ "color": "#001f23",
734
+ "fontFamily": "BeVietnamPro-Regular",
735
+ "fontSize": 14,
736
+ "letterSpacing": 0.48,
737
+ "lineHeight": 22,
738
+ },
739
+ undefined,
740
+ ]
741
+ }
742
+ themeIntent="body"
743
+ themeTypeface="neutral"
744
+ themeVariant="small"
745
+ >
746
+ screen 1
747
+ </Text>
748
+ </View>
749
+ </View>
750
+ </View>
751
+ <View
752
+ onFocusCapture={[Function]}
753
+ style={
754
+ [
755
+ {
756
+ "flexDirection": "row",
757
+ },
758
+ null,
759
+ ]
760
+ }
761
+ >
762
+ <View
763
+ style={
764
+ [
765
+ {
766
+ "padding": 8,
767
+ },
768
+ {
769
+ "width": 0,
770
+ },
771
+ ]
772
+ }
773
+ themeGap="medium"
774
+ >
775
+ <View
776
+ style={
777
+ [
778
+ {
779
+ "borderRadius": 12,
780
+ "overflow": "hidden",
781
+ },
782
+ [
783
+ {
784
+ "borderRadius": 8,
785
+ "flex": 1,
786
+ "overflow": "hidden",
787
+ },
788
+ undefined,
789
+ ],
790
+ ]
791
+ }
792
+ themeVariant="basic"
793
+ >
794
+ <Text
795
+ allowFontScaling={false}
796
+ style={
797
+ [
798
+ {
799
+ "color": "#001f23",
800
+ "fontFamily": "BeVietnamPro-Regular",
801
+ "fontSize": 14,
802
+ "letterSpacing": 0.48,
803
+ "lineHeight": 22,
804
+ },
805
+ undefined,
806
+ ]
807
+ }
808
+ themeIntent="body"
809
+ themeTypeface="neutral"
810
+ themeVariant="small"
811
+ >
812
+ screen 2
813
+ </Text>
814
+ </View>
815
+ </View>
816
+ </View>
817
+ </View>
818
+ </RCTScrollView>
819
+ <View
820
+ style={
821
+ [
822
+ {
823
+ "alignItems": "center",
824
+ "flexDirection": "row",
825
+ },
826
+ [
827
+ {
828
+ "alignSelf": "center",
829
+ "marginTop": 16,
830
+ },
831
+ undefined,
832
+ ],
833
+ ]
834
+ }
835
+ testID="pageControl"
836
+ >
837
+ <View
838
+ accessibilityState={
839
+ {
840
+ "selected": true,
841
+ }
842
+ }
843
+ collapsable={false}
844
+ style={
845
+ {
846
+ "backgroundColor": "#401960",
847
+ "borderRadius": 999,
848
+ "height": 8,
849
+ "marginHorizontal": 8,
850
+ "opacity": 1,
851
+ "width": 24,
852
+ }
853
+ }
854
+ testID="page-control-indicator0"
855
+ />
856
+ <View
857
+ accessibilityState={
858
+ {
859
+ "selected": false,
860
+ }
861
+ }
862
+ collapsable={false}
863
+ style={
864
+ {
865
+ "backgroundColor": "#401960",
866
+ "borderRadius": 999,
867
+ "height": 8,
868
+ "marginHorizontal": 8,
869
+ "opacity": 0.5,
870
+ "width": 8,
871
+ }
872
+ }
873
+ testID="page-control-indicator1"
874
+ />
875
+ </View>
876
+ </View>
877
+ <View
878
+ pointerEvents="box-none"
879
+ position="bottom"
880
+ style={
881
+ [
882
+ {
883
+ "bottom": 0,
884
+ "elevation": 9999,
885
+ "flexDirection": "column-reverse",
886
+ "left": 0,
887
+ "paddingHorizontal": 24,
888
+ "paddingVertical": 16,
889
+ "position": "absolute",
890
+ "right": 0,
891
+ "top": 0,
892
+ },
893
+ undefined,
894
+ ]
895
+ }
896
+ />
897
+ </View>
898
+ `;
899
+
900
+ exports[`CardCarousel gap renders correctly with gap small 1`] = `
901
+ <View
902
+ style={
903
+ {
904
+ "flex": 1,
905
+ }
906
+ }
907
+ >
908
+ <View
909
+ style={
910
+ [
911
+ {},
912
+ {
913
+ "height": 100,
914
+ "width": 100,
915
+ },
916
+ ]
917
+ }
918
+ testID="cardCarousel"
919
+ >
920
+ <RCTScrollView
921
+ bounces={false}
922
+ contentInset={
923
+ {
924
+ "bottom": 0,
925
+ "left": 24,
926
+ "right": 24,
927
+ "top": 0,
928
+ }
929
+ }
930
+ data={
931
+ [
932
+ <Body
933
+ variant="small"
934
+ >
935
+ screen 1
936
+ </Body>,
937
+ <Body
938
+ variant="small"
939
+ >
940
+ screen 2
941
+ </Body>,
942
+ ]
943
+ }
944
+ decelerationRate="fast"
945
+ getItem={[Function]}
946
+ getItemCount={[Function]}
947
+ getItemLayout={[Function]}
948
+ horizontal={true}
949
+ keyExtractor={[Function]}
950
+ onContentSizeChange={[Function]}
951
+ onLayout={[Function]}
952
+ onMomentumScrollBegin={[Function]}
953
+ onMomentumScrollEnd={[Function]}
954
+ onScroll={[Function]}
955
+ onScrollBeginDrag={[Function]}
956
+ onScrollEndDrag={[Function]}
957
+ onViewableItemsChanged={[Function]}
958
+ pagingEnabled={true}
959
+ removeClippedSubviews={false}
960
+ renderItem={[Function]}
961
+ renderToHardwareTextureAndroid={true}
962
+ scrollEventThrottle={32}
963
+ showsHorizontalScrollIndicator={false}
964
+ snapToAlignment="center"
965
+ snapToInterval={0}
966
+ stickyHeaderIndices={[]}
967
+ viewabilityConfig={
968
+ {
969
+ "itemVisiblePercentThreshold": 80,
970
+ }
971
+ }
972
+ viewabilityConfigCallbackPairs={
973
+ [
974
+ {
975
+ "onViewableItemsChanged": [Function],
976
+ "viewabilityConfig": {
977
+ "itemVisiblePercentThreshold": 80,
978
+ },
979
+ },
980
+ ]
981
+ }
982
+ >
983
+ <View>
984
+ <View
985
+ onFocusCapture={[Function]}
986
+ style={
987
+ [
988
+ {
989
+ "flexDirection": "row",
990
+ },
991
+ null,
992
+ ]
993
+ }
994
+ >
995
+ <View
996
+ style={
997
+ [
998
+ {
999
+ "padding": 4,
1000
+ },
1001
+ {
1002
+ "width": 0,
1003
+ },
1004
+ ]
1005
+ }
1006
+ themeGap="small"
1007
+ >
1008
+ <View
1009
+ style={
1010
+ [
1011
+ {
1012
+ "borderRadius": 12,
1013
+ "overflow": "hidden",
1014
+ },
1015
+ [
1016
+ {
1017
+ "borderRadius": 8,
1018
+ "flex": 1,
1019
+ "overflow": "hidden",
1020
+ },
1021
+ undefined,
1022
+ ],
1023
+ ]
1024
+ }
1025
+ themeVariant="basic"
1026
+ >
1027
+ <Text
1028
+ allowFontScaling={false}
1029
+ style={
1030
+ [
1031
+ {
1032
+ "color": "#001f23",
1033
+ "fontFamily": "BeVietnamPro-Regular",
1034
+ "fontSize": 14,
1035
+ "letterSpacing": 0.48,
1036
+ "lineHeight": 22,
1037
+ },
1038
+ undefined,
1039
+ ]
1040
+ }
1041
+ themeIntent="body"
1042
+ themeTypeface="neutral"
1043
+ themeVariant="small"
1044
+ >
1045
+ screen 1
1046
+ </Text>
1047
+ </View>
1048
+ </View>
1049
+ </View>
1050
+ <View
1051
+ onFocusCapture={[Function]}
1052
+ style={
1053
+ [
1054
+ {
1055
+ "flexDirection": "row",
1056
+ },
1057
+ null,
1058
+ ]
1059
+ }
1060
+ >
1061
+ <View
1062
+ style={
1063
+ [
1064
+ {
1065
+ "padding": 4,
1066
+ },
1067
+ {
1068
+ "width": 0,
1069
+ },
1070
+ ]
1071
+ }
1072
+ themeGap="small"
1073
+ >
1074
+ <View
1075
+ style={
1076
+ [
1077
+ {
1078
+ "borderRadius": 12,
1079
+ "overflow": "hidden",
1080
+ },
1081
+ [
1082
+ {
1083
+ "borderRadius": 8,
1084
+ "flex": 1,
1085
+ "overflow": "hidden",
1086
+ },
1087
+ undefined,
1088
+ ],
1089
+ ]
1090
+ }
1091
+ themeVariant="basic"
1092
+ >
1093
+ <Text
1094
+ allowFontScaling={false}
1095
+ style={
1096
+ [
1097
+ {
1098
+ "color": "#001f23",
1099
+ "fontFamily": "BeVietnamPro-Regular",
1100
+ "fontSize": 14,
1101
+ "letterSpacing": 0.48,
1102
+ "lineHeight": 22,
1103
+ },
1104
+ undefined,
1105
+ ]
1106
+ }
1107
+ themeIntent="body"
1108
+ themeTypeface="neutral"
1109
+ themeVariant="small"
1110
+ >
1111
+ screen 2
1112
+ </Text>
1113
+ </View>
1114
+ </View>
1115
+ </View>
1116
+ </View>
1117
+ </RCTScrollView>
1118
+ <View
1119
+ style={
1120
+ [
1121
+ {
1122
+ "alignItems": "center",
1123
+ "flexDirection": "row",
1124
+ },
1125
+ [
1126
+ {
1127
+ "alignSelf": "center",
1128
+ "marginTop": 16,
1129
+ },
1130
+ undefined,
1131
+ ],
1132
+ ]
1133
+ }
1134
+ testID="pageControl"
1135
+ >
1136
+ <View
1137
+ accessibilityState={
1138
+ {
1139
+ "selected": true,
1140
+ }
1141
+ }
1142
+ collapsable={false}
1143
+ style={
1144
+ {
1145
+ "backgroundColor": "#401960",
1146
+ "borderRadius": 999,
1147
+ "height": 8,
1148
+ "marginHorizontal": 8,
1149
+ "opacity": 1,
1150
+ "width": 24,
1151
+ }
1152
+ }
1153
+ testID="page-control-indicator0"
1154
+ />
1155
+ <View
1156
+ accessibilityState={
1157
+ {
1158
+ "selected": false,
1159
+ }
1160
+ }
1161
+ collapsable={false}
1162
+ style={
1163
+ {
1164
+ "backgroundColor": "#401960",
1165
+ "borderRadius": 999,
1166
+ "height": 8,
1167
+ "marginHorizontal": 8,
1168
+ "opacity": 0.5,
1169
+ "width": 8,
1170
+ }
1171
+ }
1172
+ testID="page-control-indicator1"
1173
+ />
1174
+ </View>
1175
+ </View>
1176
+ <View
1177
+ pointerEvents="box-none"
1178
+ position="bottom"
1179
+ style={
1180
+ [
1181
+ {
1182
+ "bottom": 0,
1183
+ "elevation": 9999,
1184
+ "flexDirection": "column-reverse",
1185
+ "left": 0,
1186
+ "paddingHorizontal": 24,
1187
+ "paddingVertical": 16,
1188
+ "position": "absolute",
1189
+ "right": 0,
1190
+ "top": 0,
1191
+ },
1192
+ undefined,
1193
+ ]
1194
+ }
1195
+ />
1196
+ </View>
1197
+ `;
1198
+
1199
+ exports[`CardCarousel gap renders correctly with gap small 2`] = `
1200
+ <View
1201
+ style={
1202
+ {
1203
+ "flex": 1,
1204
+ }
1205
+ }
1206
+ >
1207
+ <View
1208
+ style={
1209
+ [
1210
+ {},
1211
+ {
1212
+ "height": 100,
1213
+ "width": 100,
1214
+ },
1215
+ ]
1216
+ }
1217
+ testID="cardCarousel"
1218
+ >
1219
+ <RCTScrollView
1220
+ bounces={false}
1221
+ contentInset={
1222
+ {
1223
+ "bottom": 0,
1224
+ "left": 24,
1225
+ "right": 24,
1226
+ "top": 0,
1227
+ }
1228
+ }
1229
+ data={
1230
+ [
1231
+ <Body
1232
+ variant="small"
1233
+ >
1234
+ screen 1
1235
+ </Body>,
1236
+ <Body
1237
+ variant="small"
1238
+ >
1239
+ screen 2
1240
+ </Body>,
1241
+ ]
1242
+ }
1243
+ decelerationRate="fast"
1244
+ getItem={[Function]}
1245
+ getItemCount={[Function]}
1246
+ getItemLayout={[Function]}
1247
+ horizontal={true}
1248
+ keyExtractor={[Function]}
1249
+ onContentSizeChange={[Function]}
1250
+ onLayout={[Function]}
1251
+ onMomentumScrollBegin={[Function]}
1252
+ onMomentumScrollEnd={[Function]}
1253
+ onScroll={[Function]}
1254
+ onScrollBeginDrag={[Function]}
1255
+ onScrollEndDrag={[Function]}
1256
+ onViewableItemsChanged={[Function]}
1257
+ pagingEnabled={true}
1258
+ removeClippedSubviews={true}
1259
+ renderItem={[Function]}
1260
+ renderToHardwareTextureAndroid={true}
1261
+ scrollEventThrottle={32}
1262
+ showsHorizontalScrollIndicator={false}
1263
+ snapToAlignment="center"
1264
+ snapToInterval={0}
1265
+ stickyHeaderIndices={[]}
1266
+ viewabilityConfig={
1267
+ {
1268
+ "itemVisiblePercentThreshold": 80,
1269
+ }
1270
+ }
1271
+ viewabilityConfigCallbackPairs={
1272
+ [
1273
+ {
1274
+ "onViewableItemsChanged": [Function],
1275
+ "viewabilityConfig": {
1276
+ "itemVisiblePercentThreshold": 80,
1277
+ },
1278
+ },
1279
+ ]
1280
+ }
1281
+ >
1282
+ <View>
1283
+ <View
1284
+ onFocusCapture={[Function]}
1285
+ style={
1286
+ [
1287
+ {
1288
+ "flexDirection": "row",
1289
+ },
1290
+ null,
1291
+ ]
1292
+ }
1293
+ >
1294
+ <View
1295
+ style={
1296
+ [
1297
+ {
1298
+ "padding": 4,
1299
+ },
1300
+ {
1301
+ "width": 0,
1302
+ },
1303
+ ]
1304
+ }
1305
+ themeGap="small"
1306
+ >
1307
+ <View
1308
+ style={
1309
+ [
1310
+ {
1311
+ "borderRadius": 12,
1312
+ "overflow": "hidden",
1313
+ },
1314
+ [
1315
+ {
1316
+ "borderRadius": 8,
1317
+ "flex": 1,
1318
+ "overflow": "hidden",
1319
+ },
1320
+ undefined,
1321
+ ],
1322
+ ]
1323
+ }
1324
+ themeVariant="basic"
1325
+ >
1326
+ <Text
1327
+ allowFontScaling={false}
1328
+ style={
1329
+ [
1330
+ {
1331
+ "color": "#001f23",
1332
+ "fontFamily": "BeVietnamPro-Regular",
1333
+ "fontSize": 14,
1334
+ "letterSpacing": 0.48,
1335
+ "lineHeight": 22,
1336
+ },
1337
+ undefined,
1338
+ ]
1339
+ }
1340
+ themeIntent="body"
1341
+ themeTypeface="neutral"
1342
+ themeVariant="small"
1343
+ >
1344
+ screen 1
1345
+ </Text>
1346
+ </View>
1347
+ </View>
1348
+ </View>
1349
+ <View
1350
+ onFocusCapture={[Function]}
1351
+ style={
1352
+ [
1353
+ {
1354
+ "flexDirection": "row",
1355
+ },
1356
+ null,
1357
+ ]
1358
+ }
1359
+ >
1360
+ <View
1361
+ style={
1362
+ [
1363
+ {
1364
+ "padding": 4,
1365
+ },
1366
+ {
1367
+ "width": 0,
1368
+ },
1369
+ ]
1370
+ }
1371
+ themeGap="small"
1372
+ >
1373
+ <View
1374
+ style={
1375
+ [
1376
+ {
1377
+ "borderRadius": 12,
1378
+ "overflow": "hidden",
1379
+ },
1380
+ [
1381
+ {
1382
+ "borderRadius": 8,
1383
+ "flex": 1,
1384
+ "overflow": "hidden",
1385
+ },
1386
+ undefined,
1387
+ ],
1388
+ ]
1389
+ }
1390
+ themeVariant="basic"
1391
+ >
1392
+ <Text
1393
+ allowFontScaling={false}
1394
+ style={
1395
+ [
1396
+ {
1397
+ "color": "#001f23",
1398
+ "fontFamily": "BeVietnamPro-Regular",
1399
+ "fontSize": 14,
1400
+ "letterSpacing": 0.48,
1401
+ "lineHeight": 22,
1402
+ },
1403
+ undefined,
1404
+ ]
1405
+ }
1406
+ themeIntent="body"
1407
+ themeTypeface="neutral"
1408
+ themeVariant="small"
1409
+ >
1410
+ screen 2
1411
+ </Text>
1412
+ </View>
1413
+ </View>
1414
+ </View>
1415
+ </View>
1416
+ </RCTScrollView>
1417
+ <View
1418
+ style={
1419
+ [
1420
+ {
1421
+ "alignItems": "center",
1422
+ "flexDirection": "row",
1423
+ },
1424
+ [
1425
+ {
1426
+ "alignSelf": "center",
1427
+ "marginTop": 16,
1428
+ },
1429
+ undefined,
1430
+ ],
1431
+ ]
1432
+ }
1433
+ testID="pageControl"
1434
+ >
1435
+ <View
1436
+ accessibilityState={
1437
+ {
1438
+ "selected": true,
1439
+ }
1440
+ }
1441
+ collapsable={false}
1442
+ style={
1443
+ {
1444
+ "backgroundColor": "#401960",
1445
+ "borderRadius": 999,
1446
+ "height": 8,
1447
+ "marginHorizontal": 8,
1448
+ "opacity": 1,
1449
+ "width": 24,
1450
+ }
1451
+ }
1452
+ testID="page-control-indicator0"
1453
+ />
1454
+ <View
1455
+ accessibilityState={
1456
+ {
1457
+ "selected": false,
1458
+ }
1459
+ }
1460
+ collapsable={false}
1461
+ style={
1462
+ {
1463
+ "backgroundColor": "#401960",
1464
+ "borderRadius": 999,
1465
+ "height": 8,
1466
+ "marginHorizontal": 8,
1467
+ "opacity": 0.5,
1468
+ "width": 8,
1469
+ }
1470
+ }
1471
+ testID="page-control-indicator1"
1472
+ />
1473
+ </View>
1474
+ </View>
1475
+ <View
1476
+ pointerEvents="box-none"
1477
+ position="bottom"
1478
+ style={
1479
+ [
1480
+ {
1481
+ "bottom": 0,
1482
+ "elevation": 9999,
1483
+ "flexDirection": "column-reverse",
1484
+ "left": 0,
1485
+ "paddingHorizontal": 24,
1486
+ "paddingVertical": 16,
1487
+ "position": "absolute",
1488
+ "right": 0,
1489
+ "top": 0,
1490
+ },
1491
+ undefined,
1492
+ ]
1493
+ }
1494
+ />
1495
+ </View>
1496
+ `;
1497
+
1498
+ exports[`CardCarousel gap renders correctly with gap xsmall 1`] = `
1499
+ <View
1500
+ style={
1501
+ {
1502
+ "flex": 1,
1503
+ }
1504
+ }
1505
+ >
1506
+ <View
1507
+ style={
1508
+ [
1509
+ {},
1510
+ {
1511
+ "height": 100,
1512
+ "width": 100,
1513
+ },
1514
+ ]
1515
+ }
1516
+ testID="cardCarousel"
1517
+ >
1518
+ <RCTScrollView
1519
+ bounces={false}
1520
+ contentInset={
1521
+ {
1522
+ "bottom": 0,
1523
+ "left": 24,
1524
+ "right": 24,
1525
+ "top": 0,
1526
+ }
1527
+ }
1528
+ data={
1529
+ [
1530
+ <Body
1531
+ variant="small"
1532
+ >
1533
+ screen 1
1534
+ </Body>,
1535
+ <Body
1536
+ variant="small"
1537
+ >
1538
+ screen 2
1539
+ </Body>,
1540
+ ]
1541
+ }
1542
+ decelerationRate="fast"
1543
+ getItem={[Function]}
1544
+ getItemCount={[Function]}
1545
+ getItemLayout={[Function]}
1546
+ horizontal={true}
1547
+ keyExtractor={[Function]}
1548
+ onContentSizeChange={[Function]}
1549
+ onLayout={[Function]}
1550
+ onMomentumScrollBegin={[Function]}
1551
+ onMomentumScrollEnd={[Function]}
1552
+ onScroll={[Function]}
1553
+ onScrollBeginDrag={[Function]}
1554
+ onScrollEndDrag={[Function]}
1555
+ onViewableItemsChanged={[Function]}
1556
+ pagingEnabled={true}
1557
+ removeClippedSubviews={false}
1558
+ renderItem={[Function]}
1559
+ renderToHardwareTextureAndroid={true}
1560
+ scrollEventThrottle={32}
1561
+ showsHorizontalScrollIndicator={false}
1562
+ snapToAlignment="center"
1563
+ snapToInterval={0}
1564
+ stickyHeaderIndices={[]}
1565
+ viewabilityConfig={
1566
+ {
1567
+ "itemVisiblePercentThreshold": 80,
1568
+ }
1569
+ }
1570
+ viewabilityConfigCallbackPairs={
1571
+ [
1572
+ {
1573
+ "onViewableItemsChanged": [Function],
1574
+ "viewabilityConfig": {
1575
+ "itemVisiblePercentThreshold": 80,
1576
+ },
1577
+ },
1578
+ ]
1579
+ }
1580
+ >
1581
+ <View>
1582
+ <View
1583
+ onFocusCapture={[Function]}
1584
+ style={
1585
+ [
1586
+ {
1587
+ "flexDirection": "row",
1588
+ },
1589
+ null,
1590
+ ]
1591
+ }
1592
+ >
1593
+ <View
1594
+ style={
1595
+ [
1596
+ {
1597
+ "padding": 2,
1598
+ },
1599
+ {
1600
+ "width": 0,
1601
+ },
1602
+ ]
1603
+ }
1604
+ themeGap="xsmall"
1605
+ >
1606
+ <View
1607
+ style={
1608
+ [
1609
+ {
1610
+ "borderRadius": 12,
1611
+ "overflow": "hidden",
1612
+ },
1613
+ [
1614
+ {
1615
+ "borderRadius": 8,
1616
+ "flex": 1,
1617
+ "overflow": "hidden",
1618
+ },
1619
+ undefined,
1620
+ ],
1621
+ ]
1622
+ }
1623
+ themeVariant="basic"
1624
+ >
1625
+ <Text
1626
+ allowFontScaling={false}
1627
+ style={
1628
+ [
1629
+ {
1630
+ "color": "#001f23",
1631
+ "fontFamily": "BeVietnamPro-Regular",
1632
+ "fontSize": 14,
1633
+ "letterSpacing": 0.48,
1634
+ "lineHeight": 22,
1635
+ },
1636
+ undefined,
1637
+ ]
1638
+ }
1639
+ themeIntent="body"
1640
+ themeTypeface="neutral"
1641
+ themeVariant="small"
1642
+ >
1643
+ screen 1
1644
+ </Text>
1645
+ </View>
1646
+ </View>
1647
+ </View>
1648
+ <View
1649
+ onFocusCapture={[Function]}
1650
+ style={
1651
+ [
1652
+ {
1653
+ "flexDirection": "row",
1654
+ },
1655
+ null,
1656
+ ]
1657
+ }
1658
+ >
1659
+ <View
1660
+ style={
1661
+ [
1662
+ {
1663
+ "padding": 2,
1664
+ },
1665
+ {
1666
+ "width": 0,
1667
+ },
1668
+ ]
1669
+ }
1670
+ themeGap="xsmall"
1671
+ >
1672
+ <View
1673
+ style={
1674
+ [
1675
+ {
1676
+ "borderRadius": 12,
1677
+ "overflow": "hidden",
1678
+ },
1679
+ [
1680
+ {
1681
+ "borderRadius": 8,
1682
+ "flex": 1,
1683
+ "overflow": "hidden",
1684
+ },
1685
+ undefined,
1686
+ ],
1687
+ ]
1688
+ }
1689
+ themeVariant="basic"
1690
+ >
1691
+ <Text
1692
+ allowFontScaling={false}
1693
+ style={
1694
+ [
1695
+ {
1696
+ "color": "#001f23",
1697
+ "fontFamily": "BeVietnamPro-Regular",
1698
+ "fontSize": 14,
1699
+ "letterSpacing": 0.48,
1700
+ "lineHeight": 22,
1701
+ },
1702
+ undefined,
1703
+ ]
1704
+ }
1705
+ themeIntent="body"
1706
+ themeTypeface="neutral"
1707
+ themeVariant="small"
1708
+ >
1709
+ screen 2
1710
+ </Text>
1711
+ </View>
1712
+ </View>
1713
+ </View>
1714
+ </View>
1715
+ </RCTScrollView>
1716
+ <View
1717
+ style={
1718
+ [
1719
+ {
1720
+ "alignItems": "center",
1721
+ "flexDirection": "row",
1722
+ },
1723
+ [
1724
+ {
1725
+ "alignSelf": "center",
1726
+ "marginTop": 16,
1727
+ },
1728
+ undefined,
1729
+ ],
1730
+ ]
1731
+ }
1732
+ testID="pageControl"
1733
+ >
1734
+ <View
1735
+ accessibilityState={
1736
+ {
1737
+ "selected": true,
1738
+ }
1739
+ }
1740
+ collapsable={false}
1741
+ style={
1742
+ {
1743
+ "backgroundColor": "#401960",
1744
+ "borderRadius": 999,
1745
+ "height": 8,
1746
+ "marginHorizontal": 8,
1747
+ "opacity": 1,
1748
+ "width": 24,
1749
+ }
1750
+ }
1751
+ testID="page-control-indicator0"
1752
+ />
1753
+ <View
1754
+ accessibilityState={
1755
+ {
1756
+ "selected": false,
1757
+ }
1758
+ }
1759
+ collapsable={false}
1760
+ style={
1761
+ {
1762
+ "backgroundColor": "#401960",
1763
+ "borderRadius": 999,
1764
+ "height": 8,
1765
+ "marginHorizontal": 8,
1766
+ "opacity": 0.5,
1767
+ "width": 8,
1768
+ }
1769
+ }
1770
+ testID="page-control-indicator1"
1771
+ />
1772
+ </View>
1773
+ </View>
1774
+ <View
1775
+ pointerEvents="box-none"
1776
+ position="bottom"
1777
+ style={
1778
+ [
1779
+ {
1780
+ "bottom": 0,
1781
+ "elevation": 9999,
1782
+ "flexDirection": "column-reverse",
1783
+ "left": 0,
1784
+ "paddingHorizontal": 24,
1785
+ "paddingVertical": 16,
1786
+ "position": "absolute",
1787
+ "right": 0,
1788
+ "top": 0,
1789
+ },
1790
+ undefined,
1791
+ ]
1792
+ }
1793
+ />
1794
+ </View>
1795
+ `;
1796
+
1797
+ exports[`CardCarousel gap renders correctly with gap xsmall 2`] = `
1798
+ <View
1799
+ style={
1800
+ {
1801
+ "flex": 1,
1802
+ }
1803
+ }
1804
+ >
1805
+ <View
1806
+ style={
1807
+ [
1808
+ {},
1809
+ {
1810
+ "height": 100,
1811
+ "width": 100,
1812
+ },
1813
+ ]
1814
+ }
1815
+ testID="cardCarousel"
1816
+ >
1817
+ <RCTScrollView
1818
+ bounces={false}
1819
+ contentInset={
1820
+ {
1821
+ "bottom": 0,
1822
+ "left": 24,
1823
+ "right": 24,
1824
+ "top": 0,
1825
+ }
1826
+ }
1827
+ data={
1828
+ [
1829
+ <Body
1830
+ variant="small"
1831
+ >
1832
+ screen 1
1833
+ </Body>,
1834
+ <Body
1835
+ variant="small"
1836
+ >
1837
+ screen 2
1838
+ </Body>,
1839
+ ]
1840
+ }
1841
+ decelerationRate="fast"
1842
+ getItem={[Function]}
1843
+ getItemCount={[Function]}
1844
+ getItemLayout={[Function]}
1845
+ horizontal={true}
1846
+ keyExtractor={[Function]}
1847
+ onContentSizeChange={[Function]}
1848
+ onLayout={[Function]}
1849
+ onMomentumScrollBegin={[Function]}
1850
+ onMomentumScrollEnd={[Function]}
1851
+ onScroll={[Function]}
1852
+ onScrollBeginDrag={[Function]}
1853
+ onScrollEndDrag={[Function]}
1854
+ onViewableItemsChanged={[Function]}
1855
+ pagingEnabled={true}
1856
+ removeClippedSubviews={true}
1857
+ renderItem={[Function]}
1858
+ renderToHardwareTextureAndroid={true}
1859
+ scrollEventThrottle={32}
1860
+ showsHorizontalScrollIndicator={false}
1861
+ snapToAlignment="center"
1862
+ snapToInterval={0}
1863
+ stickyHeaderIndices={[]}
1864
+ viewabilityConfig={
1865
+ {
1866
+ "itemVisiblePercentThreshold": 80,
1867
+ }
1868
+ }
1869
+ viewabilityConfigCallbackPairs={
1870
+ [
1871
+ {
1872
+ "onViewableItemsChanged": [Function],
1873
+ "viewabilityConfig": {
1874
+ "itemVisiblePercentThreshold": 80,
1875
+ },
1876
+ },
1877
+ ]
1878
+ }
1879
+ >
1880
+ <View>
1881
+ <View
1882
+ onFocusCapture={[Function]}
1883
+ style={
1884
+ [
1885
+ {
1886
+ "flexDirection": "row",
1887
+ },
1888
+ null,
1889
+ ]
1890
+ }
1891
+ >
1892
+ <View
1893
+ style={
1894
+ [
1895
+ {
1896
+ "padding": 2,
1897
+ },
1898
+ {
1899
+ "width": 0,
1900
+ },
1901
+ ]
1902
+ }
1903
+ themeGap="xsmall"
1904
+ >
1905
+ <View
1906
+ style={
1907
+ [
1908
+ {
1909
+ "borderRadius": 12,
1910
+ "overflow": "hidden",
1911
+ },
1912
+ [
1913
+ {
1914
+ "borderRadius": 8,
1915
+ "flex": 1,
1916
+ "overflow": "hidden",
1917
+ },
1918
+ undefined,
1919
+ ],
1920
+ ]
1921
+ }
1922
+ themeVariant="basic"
1923
+ >
1924
+ <Text
1925
+ allowFontScaling={false}
1926
+ style={
1927
+ [
1928
+ {
1929
+ "color": "#001f23",
1930
+ "fontFamily": "BeVietnamPro-Regular",
1931
+ "fontSize": 14,
1932
+ "letterSpacing": 0.48,
1933
+ "lineHeight": 22,
1934
+ },
1935
+ undefined,
1936
+ ]
1937
+ }
1938
+ themeIntent="body"
1939
+ themeTypeface="neutral"
1940
+ themeVariant="small"
1941
+ >
1942
+ screen 1
1943
+ </Text>
1944
+ </View>
1945
+ </View>
1946
+ </View>
1947
+ <View
1948
+ onFocusCapture={[Function]}
1949
+ style={
1950
+ [
1951
+ {
1952
+ "flexDirection": "row",
1953
+ },
1954
+ null,
1955
+ ]
1956
+ }
1957
+ >
1958
+ <View
1959
+ style={
1960
+ [
1961
+ {
1962
+ "padding": 2,
1963
+ },
1964
+ {
1965
+ "width": 0,
1966
+ },
1967
+ ]
1968
+ }
1969
+ themeGap="xsmall"
174
1970
  >
175
1971
  <View
176
1972
  style={
@@ -403,6 +2199,7 @@ exports[`CardCarousel ios should render correctly on iOS 1`] = `
403
2199
  },
404
2200
  ]
405
2201
  }
2202
+ themeGap="medium"
406
2203
  >
407
2204
  <View
408
2205
  style={
@@ -468,6 +2265,7 @@ exports[`CardCarousel ios should render correctly on iOS 1`] = `
468
2265
  },
469
2266
  ]
470
2267
  }
2268
+ themeGap="medium"
471
2269
  >
472
2270
  <View
473
2271
  style={