stream-chat-react-native-core 6.2.0 → 6.3.0-beta.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 (108) hide show
  1. package/lib/commonjs/components/Channel/Channel.js +10 -0
  2. package/lib/commonjs/components/Channel/Channel.js.map +1 -1
  3. package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js +8 -0
  4. package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
  5. package/lib/commonjs/components/ChannelList/hooks/useCreateChannelsContext.js +2 -2
  6. package/lib/commonjs/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
  7. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewData.js +1 -1
  8. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewData.js.map +1 -1
  9. package/lib/commonjs/components/Chat/hooks/handleEventToSyncDB.js +112 -67
  10. package/lib/commonjs/components/Chat/hooks/handleEventToSyncDB.js.map +1 -1
  11. package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js +121 -14
  12. package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js.map +1 -1
  13. package/lib/commonjs/components/Message/MessageSimple/MessageSwipeContent.js +32 -0
  14. package/lib/commonjs/components/Message/MessageSimple/MessageSwipeContent.js.map +1 -0
  15. package/lib/commonjs/contexts/messagesContext/MessagesContext.js.map +1 -1
  16. package/lib/commonjs/contexts/themeContext/utils/theme.js +4 -0
  17. package/lib/commonjs/contexts/themeContext/utils/theme.js.map +1 -1
  18. package/lib/commonjs/store/SqliteClient.js +17 -9
  19. package/lib/commonjs/store/SqliteClient.js.map +1 -1
  20. package/lib/commonjs/store/apis/getChannelMessages.js.map +1 -1
  21. package/lib/commonjs/store/apis/getLastSyncedAt.js +9 -3
  22. package/lib/commonjs/store/apis/getLastSyncedAt.js.map +1 -1
  23. package/lib/commonjs/store/apis/getPendingTasks.js.map +1 -1
  24. package/lib/commonjs/store/apis/queries/selectChannels.js.map +1 -1
  25. package/lib/commonjs/store/apis/queries/selectMembersForChannels.js.map +1 -1
  26. package/lib/commonjs/store/apis/queries/selectMessagesForChannels.js.map +1 -1
  27. package/lib/commonjs/store/apis/queries/selectReactionsForMessages.js.map +1 -1
  28. package/lib/commonjs/store/apis/queries/selectReadsForChannels.js.map +1 -1
  29. package/lib/commonjs/store/apis/updatePollMessage.js.map +1 -1
  30. package/lib/commonjs/version.json +1 -1
  31. package/lib/module/components/Channel/Channel.js +10 -0
  32. package/lib/module/components/Channel/Channel.js.map +1 -1
  33. package/lib/module/components/Channel/hooks/useCreateMessagesContext.js +8 -0
  34. package/lib/module/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
  35. package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js +2 -2
  36. package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
  37. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewData.js +1 -1
  38. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewData.js.map +1 -1
  39. package/lib/module/components/Chat/hooks/handleEventToSyncDB.js +112 -67
  40. package/lib/module/components/Chat/hooks/handleEventToSyncDB.js.map +1 -1
  41. package/lib/module/components/Message/MessageSimple/MessageSimple.js +121 -14
  42. package/lib/module/components/Message/MessageSimple/MessageSimple.js.map +1 -1
  43. package/lib/module/components/Message/MessageSimple/MessageSwipeContent.js +32 -0
  44. package/lib/module/components/Message/MessageSimple/MessageSwipeContent.js.map +1 -0
  45. package/lib/module/contexts/messagesContext/MessagesContext.js.map +1 -1
  46. package/lib/module/contexts/themeContext/utils/theme.js +4 -0
  47. package/lib/module/contexts/themeContext/utils/theme.js.map +1 -1
  48. package/lib/module/store/SqliteClient.js +17 -9
  49. package/lib/module/store/SqliteClient.js.map +1 -1
  50. package/lib/module/store/apis/getChannelMessages.js.map +1 -1
  51. package/lib/module/store/apis/getLastSyncedAt.js +9 -3
  52. package/lib/module/store/apis/getLastSyncedAt.js.map +1 -1
  53. package/lib/module/store/apis/getPendingTasks.js.map +1 -1
  54. package/lib/module/store/apis/queries/selectChannels.js.map +1 -1
  55. package/lib/module/store/apis/queries/selectMembersForChannels.js.map +1 -1
  56. package/lib/module/store/apis/queries/selectMessagesForChannels.js.map +1 -1
  57. package/lib/module/store/apis/queries/selectReactionsForMessages.js.map +1 -1
  58. package/lib/module/store/apis/queries/selectReadsForChannels.js.map +1 -1
  59. package/lib/module/store/apis/updatePollMessage.js.map +1 -1
  60. package/lib/module/version.json +1 -1
  61. package/lib/typescript/components/Channel/Channel.d.ts +1 -1
  62. package/lib/typescript/components/Channel/Channel.d.ts.map +1 -1
  63. package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts +5 -1
  64. package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts.map +1 -1
  65. package/lib/typescript/components/ChannelList/hooks/useCreateChannelsContext.d.ts.map +1 -1
  66. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewData.d.ts.map +1 -1
  67. package/lib/typescript/components/Chat/hooks/handleEventToSyncDB.d.ts.map +1 -1
  68. package/lib/typescript/components/Message/MessageSimple/MessageSimple.d.ts +1 -1
  69. package/lib/typescript/components/Message/MessageSimple/MessageSimple.d.ts.map +1 -1
  70. package/lib/typescript/components/Message/MessageSimple/MessageSwipeContent.d.ts +3 -0
  71. package/lib/typescript/components/Message/MessageSimple/MessageSwipeContent.d.ts.map +1 -0
  72. package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts +14 -1
  73. package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts.map +1 -1
  74. package/lib/typescript/contexts/themeContext/utils/theme.d.ts +4 -0
  75. package/lib/typescript/contexts/themeContext/utils/theme.d.ts.map +1 -1
  76. package/lib/typescript/store/SqliteClient.d.ts +3 -3
  77. package/lib/typescript/store/SqliteClient.d.ts.map +1 -1
  78. package/lib/typescript/store/apis/getAppSettings.d.ts +1 -1
  79. package/lib/typescript/store/apis/getAppSettings.d.ts.map +1 -1
  80. package/lib/typescript/store/apis/getLastSyncedAt.d.ts.map +1 -1
  81. package/lib/typescript/store/apis/queries/selectChannels.d.ts.map +1 -1
  82. package/lib/typescript/store/apis/updatePollMessage.d.ts.map +1 -1
  83. package/lib/typescript/store/types.d.ts +2 -0
  84. package/lib/typescript/store/types.d.ts.map +1 -1
  85. package/package.json +1 -1
  86. package/src/components/Channel/Channel.tsx +11 -0
  87. package/src/components/Channel/hooks/useCreateMessagesContext.ts +8 -0
  88. package/src/components/ChannelList/hooks/useCreateChannelsContext.ts +3 -1
  89. package/src/components/ChannelPreview/hooks/useChannelPreviewData.ts +1 -2
  90. package/src/components/Chat/hooks/handleEventToSyncDB.ts +27 -5
  91. package/src/components/Message/MessageSimple/MessageSimple.tsx +161 -14
  92. package/src/components/Message/MessageSimple/MessageSwipeContent.tsx +28 -0
  93. package/src/components/Thread/__tests__/__snapshots__/Thread.test.js.snap +896 -292
  94. package/src/contexts/messagesContext/MessagesContext.tsx +15 -1
  95. package/src/contexts/themeContext/utils/theme.ts +8 -0
  96. package/src/store/SqliteClient.ts +16 -6
  97. package/src/store/apis/getAppSettings.ts +1 -1
  98. package/src/store/apis/getChannelMessages.ts +2 -2
  99. package/src/store/apis/getLastSyncedAt.ts +4 -1
  100. package/src/store/apis/getPendingTasks.ts +2 -2
  101. package/src/store/apis/queries/selectChannels.ts +4 -1
  102. package/src/store/apis/queries/selectMembersForChannels.ts +1 -1
  103. package/src/store/apis/queries/selectMessagesForChannels.ts +1 -1
  104. package/src/store/apis/queries/selectReactionsForMessages.ts +1 -1
  105. package/src/store/apis/queries/selectReadsForChannels.ts +1 -1
  106. package/src/store/apis/updatePollMessage.ts +2 -2
  107. package/src/store/types.ts +3 -0
  108. package/src/version.json +1 -1
@@ -384,9 +384,17 @@ exports[`Thread should match thread snapshot 1`] = `
384
384
  }
385
385
  />
386
386
  <View
387
+ collapsable={false}
388
+ hitSlop={
389
+ {
390
+ "left": 750,
391
+ "right": 750,
392
+ }
393
+ }
387
394
  style={
388
395
  [
389
396
  {
397
+ "alignItems": "center",
390
398
  "flexDirection": "row",
391
399
  },
392
400
  {},
@@ -394,110 +402,253 @@ exports[`Thread should match thread snapshot 1`] = `
394
402
  }
395
403
  >
396
404
  <View
397
- accessibilityState={
398
- {
399
- "busy": undefined,
400
- "checked": undefined,
401
- "disabled": undefined,
402
- "expanded": undefined,
403
- "selected": undefined,
404
- }
405
- }
406
- accessibilityValue={
407
- {
408
- "max": undefined,
409
- "min": undefined,
410
- "now": undefined,
411
- "text": undefined,
412
- }
413
- }
414
- accessible={true}
415
- collapsable={false}
416
- focusable={true}
417
- onBlur={[Function]}
418
- onClick={[Function]}
419
- onFocus={[Function]}
420
- onResponderGrant={[Function]}
421
- onResponderMove={[Function]}
422
- onResponderRelease={[Function]}
423
- onResponderTerminate={[Function]}
424
- onResponderTerminationRequest={[Function]}
425
- onStartShouldSetResponder={[Function]}
426
405
  style={
427
- {
428
- "opacity": 1,
429
- }
406
+ [
407
+ {
408
+ "position": "absolute",
409
+ },
410
+ {
411
+ "opacity": undefined,
412
+ "transform": [
413
+ {
414
+ "translateX": undefined,
415
+ },
416
+ ],
417
+ },
418
+ {},
419
+ ]
430
420
  }
431
421
  >
432
422
  <View
433
- onLayout={[Function]}
434
- style={{}}
423
+ style={
424
+ [
425
+ {
426
+ "justifyContent": "center",
427
+ "paddingRight": 16,
428
+ },
429
+ {},
430
+ ]
431
+ }
435
432
  >
436
- <View
433
+ <RNSVGSvgView
434
+ align="xMidYMid"
435
+ bbHeight={24}
436
+ bbWidth={24}
437
+ focusable={false}
438
+ height={24}
439
+ meetOrSlice={0}
440
+ minX={0}
441
+ minY={0}
442
+ pathFill="#7A7A7A"
437
443
  style={
438
444
  [
439
445
  {
440
- "borderTopLeftRadius": 16,
441
- "borderTopRightRadius": 16,
442
- "borderWidth": 1,
446
+ "backgroundColor": "transparent",
447
+ "borderWidth": 0,
443
448
  },
444
449
  {
445
- "backgroundColor": "#E9EAED",
446
- "borderBottomLeftRadius": 0,
447
- "borderBottomRightRadius": 16,
448
- "borderColor": "#ECEBEB",
450
+ "flex": 0,
451
+ "height": 24,
452
+ "width": 24,
449
453
  },
450
- {},
451
- {},
452
454
  ]
453
455
  }
454
- testID="message-content-wrapper"
456
+ vbHeight={24}
457
+ vbWidth={24}
458
+ width={24}
455
459
  >
456
- <View
457
- style={
458
- [
460
+ <RNSVGGroup
461
+ fill={
462
+ {
463
+ "payload": 4278190080,
464
+ "type": 0,
465
+ }
466
+ }
467
+ >
468
+ <RNSVGPath
469
+ clipRule={0}
470
+ d="M4 8a1 1 0 011-1c3.992 0 6.34.122 7.954.459 1.704.355 2.592.95 3.646 1.741a1 1 0 01.058.047c1.036.906 2.14 2 2.974 3.564C20.47 14.38 21 16.36 21 19a1 1 0 11-2 0c0-2.36-.47-4.006-1.132-5.248-.66-1.237-1.544-2.138-2.498-2.975-.929-.695-1.542-1.094-2.824-1.36C11.16 9.126 9.008 9 5 9a1 1 0 01-1-1z"
471
+ fill={
459
472
  {
460
- "maxWidth": 250,
461
- "paddingHorizontal": 16,
462
- },
463
- {},
464
- undefined,
465
- ]
473
+ "payload": 4286216826,
474
+ "type": 0,
475
+ }
476
+ }
477
+ fillRule={0}
478
+ propList={
479
+ [
480
+ "fill",
481
+ "fillRule",
482
+ ]
483
+ }
484
+ />
485
+ <RNSVGPath
486
+ clipRule={0}
487
+ d="M4.293 8.707a1 1 0 010-1.414l3-3a1 1 0 011.414 1.414l-3 3a1 1 0 01-1.414 0z"
488
+ fill={
489
+ {
490
+ "payload": 4286216826,
491
+ "type": 0,
492
+ }
493
+ }
494
+ fillRule={0}
495
+ propList={
496
+ [
497
+ "fill",
498
+ "fillRule",
499
+ ]
500
+ }
501
+ />
502
+ <RNSVGPath
503
+ clipRule={0}
504
+ d="M4.293 7.293a1 1 0 011.414 0l3 3a1 1 0 11-1.414 1.414l-3-3a1 1 0 010-1.414z"
505
+ fill={
506
+ {
507
+ "payload": 4286216826,
508
+ "type": 0,
509
+ }
510
+ }
511
+ fillRule={0}
512
+ propList={
513
+ [
514
+ "fill",
515
+ "fillRule",
516
+ ]
517
+ }
518
+ />
519
+ </RNSVGGroup>
520
+ </RNSVGSvgView>
521
+ </View>
522
+ </View>
523
+ <View
524
+ style={
525
+ {
526
+ "transform": [
527
+ {
528
+ "translateX": 0,
529
+ },
530
+ ],
531
+ }
532
+ }
533
+ >
534
+ <View
535
+ style={
536
+ [
537
+ {
538
+ "alignItems": "center",
539
+ "flexDirection": "row",
540
+ },
541
+ {},
542
+ ]
543
+ }
544
+ >
545
+ <View
546
+ accessibilityState={
547
+ {
548
+ "busy": undefined,
549
+ "checked": undefined,
550
+ "disabled": undefined,
551
+ "expanded": undefined,
552
+ "selected": undefined,
553
+ }
554
+ }
555
+ accessibilityValue={
556
+ {
557
+ "max": undefined,
558
+ "min": undefined,
559
+ "now": undefined,
560
+ "text": undefined,
466
561
  }
467
- testID="message-text-container"
562
+ }
563
+ accessible={true}
564
+ collapsable={false}
565
+ focusable={true}
566
+ onBlur={[Function]}
567
+ onClick={[Function]}
568
+ onFocus={[Function]}
569
+ onResponderGrant={[Function]}
570
+ onResponderMove={[Function]}
571
+ onResponderRelease={[Function]}
572
+ onResponderTerminate={[Function]}
573
+ onResponderTerminationRequest={[Function]}
574
+ onStartShouldSetResponder={[Function]}
575
+ style={
576
+ {
577
+ "opacity": 1,
578
+ }
579
+ }
580
+ >
581
+ <View
582
+ onLayout={[Function]}
583
+ style={{}}
468
584
  >
469
585
  <View
470
586
  style={
471
587
  [
472
588
  {
473
- "alignSelf": "stretch",
589
+ "borderTopLeftRadius": 16,
590
+ "borderTopRightRadius": 16,
591
+ "borderWidth": 1,
474
592
  },
475
- undefined,
593
+ {
594
+ "backgroundColor": "#E9EAED",
595
+ "borderBottomLeftRadius": 0,
596
+ "borderBottomRightRadius": 16,
597
+ "borderColor": "#ECEBEB",
598
+ },
599
+ {},
600
+ {},
476
601
  ]
477
602
  }
603
+ testID="message-content-wrapper"
478
604
  >
479
- <Text
605
+ <View
480
606
  style={
481
- {
482
- "alignItems": "flex-start",
483
- "flexDirection": "row",
484
- "flexWrap": "wrap",
485
- "justifyContent": "flex-start",
486
- "marginBottom": 8,
487
- "marginTop": 8,
488
- }
607
+ [
608
+ {
609
+ "maxWidth": 250,
610
+ "paddingHorizontal": 16,
611
+ },
612
+ {},
613
+ undefined,
614
+ ]
489
615
  }
616
+ testID="message-text-container"
490
617
  >
491
- <Text
618
+ <View
492
619
  style={
493
- {
494
- "color": "#000000",
495
- }
620
+ [
621
+ {
622
+ "alignSelf": "stretch",
623
+ },
624
+ undefined,
625
+ ]
496
626
  }
497
627
  >
498
- Message6
499
- </Text>
500
- </Text>
628
+ <Text
629
+ style={
630
+ {
631
+ "alignItems": "flex-start",
632
+ "flexDirection": "row",
633
+ "flexWrap": "wrap",
634
+ "justifyContent": "flex-start",
635
+ "marginBottom": 8,
636
+ "marginTop": 8,
637
+ }
638
+ }
639
+ >
640
+ <Text
641
+ style={
642
+ {
643
+ "color": "#000000",
644
+ }
645
+ }
646
+ >
647
+ Message6
648
+ </Text>
649
+ </Text>
650
+ </View>
651
+ </View>
501
652
  </View>
502
653
  </View>
503
654
  </View>
@@ -739,9 +890,17 @@ exports[`Thread should match thread snapshot 1`] = `
739
890
  }
740
891
  />
741
892
  <View
893
+ collapsable={false}
894
+ hitSlop={
895
+ {
896
+ "left": 750,
897
+ "right": 750,
898
+ }
899
+ }
742
900
  style={
743
901
  [
744
902
  {
903
+ "alignItems": "center",
745
904
  "flexDirection": "row",
746
905
  },
747
906
  {},
@@ -749,110 +908,253 @@ exports[`Thread should match thread snapshot 1`] = `
749
908
  }
750
909
  >
751
910
  <View
752
- accessibilityState={
753
- {
754
- "busy": undefined,
755
- "checked": undefined,
756
- "disabled": undefined,
757
- "expanded": undefined,
758
- "selected": undefined,
759
- }
760
- }
761
- accessibilityValue={
762
- {
763
- "max": undefined,
764
- "min": undefined,
765
- "now": undefined,
766
- "text": undefined,
767
- }
768
- }
769
- accessible={true}
770
- collapsable={false}
771
- focusable={true}
772
- onBlur={[Function]}
773
- onClick={[Function]}
774
- onFocus={[Function]}
775
- onResponderGrant={[Function]}
776
- onResponderMove={[Function]}
777
- onResponderRelease={[Function]}
778
- onResponderTerminate={[Function]}
779
- onResponderTerminationRequest={[Function]}
780
- onStartShouldSetResponder={[Function]}
781
911
  style={
782
- {
783
- "opacity": 1,
784
- }
912
+ [
913
+ {
914
+ "position": "absolute",
915
+ },
916
+ {
917
+ "opacity": undefined,
918
+ "transform": [
919
+ {
920
+ "translateX": undefined,
921
+ },
922
+ ],
923
+ },
924
+ {},
925
+ ]
785
926
  }
786
927
  >
787
928
  <View
788
- onLayout={[Function]}
789
- style={{}}
929
+ style={
930
+ [
931
+ {
932
+ "justifyContent": "center",
933
+ "paddingRight": 16,
934
+ },
935
+ {},
936
+ ]
937
+ }
790
938
  >
791
- <View
939
+ <RNSVGSvgView
940
+ align="xMidYMid"
941
+ bbHeight={24}
942
+ bbWidth={24}
943
+ focusable={false}
944
+ height={24}
945
+ meetOrSlice={0}
946
+ minX={0}
947
+ minY={0}
948
+ pathFill="#7A7A7A"
792
949
  style={
793
950
  [
794
951
  {
795
- "borderTopLeftRadius": 16,
796
- "borderTopRightRadius": 16,
797
- "borderWidth": 1,
952
+ "backgroundColor": "transparent",
953
+ "borderWidth": 0,
798
954
  },
799
955
  {
800
- "backgroundColor": "#E9EAED",
801
- "borderBottomLeftRadius": 0,
802
- "borderBottomRightRadius": 16,
803
- "borderColor": "#ECEBEB",
956
+ "flex": 0,
957
+ "height": 24,
958
+ "width": 24,
804
959
  },
805
- {},
806
- {},
807
960
  ]
808
961
  }
809
- testID="message-content-wrapper"
962
+ vbHeight={24}
963
+ vbWidth={24}
964
+ width={24}
810
965
  >
811
- <View
812
- style={
813
- [
966
+ <RNSVGGroup
967
+ fill={
968
+ {
969
+ "payload": 4278190080,
970
+ "type": 0,
971
+ }
972
+ }
973
+ >
974
+ <RNSVGPath
975
+ clipRule={0}
976
+ d="M4 8a1 1 0 011-1c3.992 0 6.34.122 7.954.459 1.704.355 2.592.95 3.646 1.741a1 1 0 01.058.047c1.036.906 2.14 2 2.974 3.564C20.47 14.38 21 16.36 21 19a1 1 0 11-2 0c0-2.36-.47-4.006-1.132-5.248-.66-1.237-1.544-2.138-2.498-2.975-.929-.695-1.542-1.094-2.824-1.36C11.16 9.126 9.008 9 5 9a1 1 0 01-1-1z"
977
+ fill={
814
978
  {
815
- "maxWidth": 250,
816
- "paddingHorizontal": 16,
817
- },
818
- {},
819
- undefined,
820
- ]
979
+ "payload": 4286216826,
980
+ "type": 0,
981
+ }
982
+ }
983
+ fillRule={0}
984
+ propList={
985
+ [
986
+ "fill",
987
+ "fillRule",
988
+ ]
989
+ }
990
+ />
991
+ <RNSVGPath
992
+ clipRule={0}
993
+ d="M4.293 8.707a1 1 0 010-1.414l3-3a1 1 0 011.414 1.414l-3 3a1 1 0 01-1.414 0z"
994
+ fill={
995
+ {
996
+ "payload": 4286216826,
997
+ "type": 0,
998
+ }
999
+ }
1000
+ fillRule={0}
1001
+ propList={
1002
+ [
1003
+ "fill",
1004
+ "fillRule",
1005
+ ]
1006
+ }
1007
+ />
1008
+ <RNSVGPath
1009
+ clipRule={0}
1010
+ d="M4.293 7.293a1 1 0 011.414 0l3 3a1 1 0 11-1.414 1.414l-3-3a1 1 0 010-1.414z"
1011
+ fill={
1012
+ {
1013
+ "payload": 4286216826,
1014
+ "type": 0,
1015
+ }
1016
+ }
1017
+ fillRule={0}
1018
+ propList={
1019
+ [
1020
+ "fill",
1021
+ "fillRule",
1022
+ ]
1023
+ }
1024
+ />
1025
+ </RNSVGGroup>
1026
+ </RNSVGSvgView>
1027
+ </View>
1028
+ </View>
1029
+ <View
1030
+ style={
1031
+ {
1032
+ "transform": [
1033
+ {
1034
+ "translateX": 0,
1035
+ },
1036
+ ],
1037
+ }
1038
+ }
1039
+ >
1040
+ <View
1041
+ style={
1042
+ [
1043
+ {
1044
+ "alignItems": "center",
1045
+ "flexDirection": "row",
1046
+ },
1047
+ {},
1048
+ ]
1049
+ }
1050
+ >
1051
+ <View
1052
+ accessibilityState={
1053
+ {
1054
+ "busy": undefined,
1055
+ "checked": undefined,
1056
+ "disabled": undefined,
1057
+ "expanded": undefined,
1058
+ "selected": undefined,
1059
+ }
1060
+ }
1061
+ accessibilityValue={
1062
+ {
1063
+ "max": undefined,
1064
+ "min": undefined,
1065
+ "now": undefined,
1066
+ "text": undefined,
1067
+ }
1068
+ }
1069
+ accessible={true}
1070
+ collapsable={false}
1071
+ focusable={true}
1072
+ onBlur={[Function]}
1073
+ onClick={[Function]}
1074
+ onFocus={[Function]}
1075
+ onResponderGrant={[Function]}
1076
+ onResponderMove={[Function]}
1077
+ onResponderRelease={[Function]}
1078
+ onResponderTerminate={[Function]}
1079
+ onResponderTerminationRequest={[Function]}
1080
+ onStartShouldSetResponder={[Function]}
1081
+ style={
1082
+ {
1083
+ "opacity": 1,
821
1084
  }
822
- testID="message-text-container"
1085
+ }
1086
+ >
1087
+ <View
1088
+ onLayout={[Function]}
1089
+ style={{}}
823
1090
  >
824
1091
  <View
825
1092
  style={
826
1093
  [
827
1094
  {
828
- "alignSelf": "stretch",
1095
+ "borderTopLeftRadius": 16,
1096
+ "borderTopRightRadius": 16,
1097
+ "borderWidth": 1,
829
1098
  },
830
- undefined,
1099
+ {
1100
+ "backgroundColor": "#E9EAED",
1101
+ "borderBottomLeftRadius": 0,
1102
+ "borderBottomRightRadius": 16,
1103
+ "borderColor": "#ECEBEB",
1104
+ },
1105
+ {},
1106
+ {},
831
1107
  ]
832
1108
  }
1109
+ testID="message-content-wrapper"
833
1110
  >
834
- <Text
1111
+ <View
835
1112
  style={
836
- {
837
- "alignItems": "flex-start",
838
- "flexDirection": "row",
839
- "flexWrap": "wrap",
840
- "justifyContent": "flex-start",
841
- "marginBottom": 8,
842
- "marginTop": 8,
843
- }
1113
+ [
1114
+ {
1115
+ "maxWidth": 250,
1116
+ "paddingHorizontal": 16,
1117
+ },
1118
+ {},
1119
+ undefined,
1120
+ ]
844
1121
  }
1122
+ testID="message-text-container"
845
1123
  >
846
- <Text
1124
+ <View
847
1125
  style={
848
- {
849
- "color": "#000000",
850
- }
1126
+ [
1127
+ {
1128
+ "alignSelf": "stretch",
1129
+ },
1130
+ undefined,
1131
+ ]
851
1132
  }
852
1133
  >
853
- Message5
854
- </Text>
855
- </Text>
1134
+ <Text
1135
+ style={
1136
+ {
1137
+ "alignItems": "flex-start",
1138
+ "flexDirection": "row",
1139
+ "flexWrap": "wrap",
1140
+ "justifyContent": "flex-start",
1141
+ "marginBottom": 8,
1142
+ "marginTop": 8,
1143
+ }
1144
+ }
1145
+ >
1146
+ <Text
1147
+ style={
1148
+ {
1149
+ "color": "#000000",
1150
+ }
1151
+ }
1152
+ >
1153
+ Message5
1154
+ </Text>
1155
+ </Text>
1156
+ </View>
1157
+ </View>
856
1158
  </View>
857
1159
  </View>
858
1160
  </View>
@@ -1132,9 +1434,17 @@ exports[`Thread should match thread snapshot 1`] = `
1132
1434
  }
1133
1435
  />
1134
1436
  <View
1437
+ collapsable={false}
1438
+ hitSlop={
1439
+ {
1440
+ "left": 750,
1441
+ "right": 750,
1442
+ }
1443
+ }
1135
1444
  style={
1136
1445
  [
1137
1446
  {
1447
+ "alignItems": "center",
1138
1448
  "flexDirection": "row",
1139
1449
  },
1140
1450
  {},
@@ -1142,110 +1452,253 @@ exports[`Thread should match thread snapshot 1`] = `
1142
1452
  }
1143
1453
  >
1144
1454
  <View
1145
- accessibilityState={
1146
- {
1147
- "busy": undefined,
1148
- "checked": undefined,
1149
- "disabled": undefined,
1150
- "expanded": undefined,
1151
- "selected": undefined,
1152
- }
1153
- }
1154
- accessibilityValue={
1155
- {
1156
- "max": undefined,
1157
- "min": undefined,
1158
- "now": undefined,
1159
- "text": undefined,
1160
- }
1161
- }
1162
- accessible={true}
1163
- collapsable={false}
1164
- focusable={true}
1165
- onBlur={[Function]}
1166
- onClick={[Function]}
1167
- onFocus={[Function]}
1168
- onResponderGrant={[Function]}
1169
- onResponderMove={[Function]}
1170
- onResponderRelease={[Function]}
1171
- onResponderTerminate={[Function]}
1172
- onResponderTerminationRequest={[Function]}
1173
- onStartShouldSetResponder={[Function]}
1174
1455
  style={
1175
- {
1176
- "opacity": 1,
1177
- }
1456
+ [
1457
+ {
1458
+ "position": "absolute",
1459
+ },
1460
+ {
1461
+ "opacity": undefined,
1462
+ "transform": [
1463
+ {
1464
+ "translateX": undefined,
1465
+ },
1466
+ ],
1467
+ },
1468
+ {},
1469
+ ]
1178
1470
  }
1179
1471
  >
1180
1472
  <View
1181
- onLayout={[Function]}
1182
- style={{}}
1473
+ style={
1474
+ [
1475
+ {
1476
+ "justifyContent": "center",
1477
+ "paddingRight": 16,
1478
+ },
1479
+ {},
1480
+ ]
1481
+ }
1183
1482
  >
1184
- <View
1483
+ <RNSVGSvgView
1484
+ align="xMidYMid"
1485
+ bbHeight={24}
1486
+ bbWidth={24}
1487
+ focusable={false}
1488
+ height={24}
1489
+ meetOrSlice={0}
1490
+ minX={0}
1491
+ minY={0}
1492
+ pathFill="#7A7A7A"
1185
1493
  style={
1186
1494
  [
1187
1495
  {
1188
- "borderTopLeftRadius": 16,
1189
- "borderTopRightRadius": 16,
1190
- "borderWidth": 1,
1496
+ "backgroundColor": "transparent",
1497
+ "borderWidth": 0,
1191
1498
  },
1192
1499
  {
1193
- "backgroundColor": "#E9EAED",
1194
- "borderBottomLeftRadius": 0,
1195
- "borderBottomRightRadius": 16,
1196
- "borderColor": "#ECEBEB",
1500
+ "flex": 0,
1501
+ "height": 24,
1502
+ "width": 24,
1197
1503
  },
1198
- {},
1199
- {},
1200
1504
  ]
1201
1505
  }
1202
- testID="message-content-wrapper"
1506
+ vbHeight={24}
1507
+ vbWidth={24}
1508
+ width={24}
1203
1509
  >
1204
- <View
1205
- style={
1206
- [
1510
+ <RNSVGGroup
1511
+ fill={
1512
+ {
1513
+ "payload": 4278190080,
1514
+ "type": 0,
1515
+ }
1516
+ }
1517
+ >
1518
+ <RNSVGPath
1519
+ clipRule={0}
1520
+ d="M4 8a1 1 0 011-1c3.992 0 6.34.122 7.954.459 1.704.355 2.592.95 3.646 1.741a1 1 0 01.058.047c1.036.906 2.14 2 2.974 3.564C20.47 14.38 21 16.36 21 19a1 1 0 11-2 0c0-2.36-.47-4.006-1.132-5.248-.66-1.237-1.544-2.138-2.498-2.975-.929-.695-1.542-1.094-2.824-1.36C11.16 9.126 9.008 9 5 9a1 1 0 01-1-1z"
1521
+ fill={
1207
1522
  {
1208
- "maxWidth": 250,
1209
- "paddingHorizontal": 16,
1210
- },
1211
- {},
1212
- undefined,
1213
- ]
1523
+ "payload": 4286216826,
1524
+ "type": 0,
1525
+ }
1526
+ }
1527
+ fillRule={0}
1528
+ propList={
1529
+ [
1530
+ "fill",
1531
+ "fillRule",
1532
+ ]
1533
+ }
1534
+ />
1535
+ <RNSVGPath
1536
+ clipRule={0}
1537
+ d="M4.293 8.707a1 1 0 010-1.414l3-3a1 1 0 011.414 1.414l-3 3a1 1 0 01-1.414 0z"
1538
+ fill={
1539
+ {
1540
+ "payload": 4286216826,
1541
+ "type": 0,
1542
+ }
1543
+ }
1544
+ fillRule={0}
1545
+ propList={
1546
+ [
1547
+ "fill",
1548
+ "fillRule",
1549
+ ]
1550
+ }
1551
+ />
1552
+ <RNSVGPath
1553
+ clipRule={0}
1554
+ d="M4.293 7.293a1 1 0 011.414 0l3 3a1 1 0 11-1.414 1.414l-3-3a1 1 0 010-1.414z"
1555
+ fill={
1556
+ {
1557
+ "payload": 4286216826,
1558
+ "type": 0,
1559
+ }
1560
+ }
1561
+ fillRule={0}
1562
+ propList={
1563
+ [
1564
+ "fill",
1565
+ "fillRule",
1566
+ ]
1567
+ }
1568
+ />
1569
+ </RNSVGGroup>
1570
+ </RNSVGSvgView>
1571
+ </View>
1572
+ </View>
1573
+ <View
1574
+ style={
1575
+ {
1576
+ "transform": [
1577
+ {
1578
+ "translateX": 0,
1579
+ },
1580
+ ],
1581
+ }
1582
+ }
1583
+ >
1584
+ <View
1585
+ style={
1586
+ [
1587
+ {
1588
+ "alignItems": "center",
1589
+ "flexDirection": "row",
1590
+ },
1591
+ {},
1592
+ ]
1593
+ }
1594
+ >
1595
+ <View
1596
+ accessibilityState={
1597
+ {
1598
+ "busy": undefined,
1599
+ "checked": undefined,
1600
+ "disabled": undefined,
1601
+ "expanded": undefined,
1602
+ "selected": undefined,
1603
+ }
1604
+ }
1605
+ accessibilityValue={
1606
+ {
1607
+ "max": undefined,
1608
+ "min": undefined,
1609
+ "now": undefined,
1610
+ "text": undefined,
1214
1611
  }
1215
- testID="message-text-container"
1612
+ }
1613
+ accessible={true}
1614
+ collapsable={false}
1615
+ focusable={true}
1616
+ onBlur={[Function]}
1617
+ onClick={[Function]}
1618
+ onFocus={[Function]}
1619
+ onResponderGrant={[Function]}
1620
+ onResponderMove={[Function]}
1621
+ onResponderRelease={[Function]}
1622
+ onResponderTerminate={[Function]}
1623
+ onResponderTerminationRequest={[Function]}
1624
+ onStartShouldSetResponder={[Function]}
1625
+ style={
1626
+ {
1627
+ "opacity": 1,
1628
+ }
1629
+ }
1630
+ >
1631
+ <View
1632
+ onLayout={[Function]}
1633
+ style={{}}
1216
1634
  >
1217
1635
  <View
1218
1636
  style={
1219
1637
  [
1220
1638
  {
1221
- "alignSelf": "stretch",
1639
+ "borderTopLeftRadius": 16,
1640
+ "borderTopRightRadius": 16,
1641
+ "borderWidth": 1,
1642
+ },
1643
+ {
1644
+ "backgroundColor": "#E9EAED",
1645
+ "borderBottomLeftRadius": 0,
1646
+ "borderBottomRightRadius": 16,
1647
+ "borderColor": "#ECEBEB",
1222
1648
  },
1223
- undefined,
1649
+ {},
1650
+ {},
1224
1651
  ]
1225
1652
  }
1653
+ testID="message-content-wrapper"
1226
1654
  >
1227
- <Text
1655
+ <View
1228
1656
  style={
1229
- {
1230
- "alignItems": "flex-start",
1231
- "flexDirection": "row",
1232
- "flexWrap": "wrap",
1233
- "justifyContent": "flex-start",
1234
- "marginBottom": 8,
1235
- "marginTop": 8,
1236
- }
1657
+ [
1658
+ {
1659
+ "maxWidth": 250,
1660
+ "paddingHorizontal": 16,
1661
+ },
1662
+ {},
1663
+ undefined,
1664
+ ]
1237
1665
  }
1666
+ testID="message-text-container"
1238
1667
  >
1239
- <Text
1668
+ <View
1240
1669
  style={
1241
- {
1242
- "color": "#000000",
1243
- }
1670
+ [
1671
+ {
1672
+ "alignSelf": "stretch",
1673
+ },
1674
+ undefined,
1675
+ ]
1244
1676
  }
1245
1677
  >
1246
- Message4
1247
- </Text>
1248
- </Text>
1678
+ <Text
1679
+ style={
1680
+ {
1681
+ "alignItems": "flex-start",
1682
+ "flexDirection": "row",
1683
+ "flexWrap": "wrap",
1684
+ "justifyContent": "flex-start",
1685
+ "marginBottom": 8,
1686
+ "marginTop": 8,
1687
+ }
1688
+ }
1689
+ >
1690
+ <Text
1691
+ style={
1692
+ {
1693
+ "color": "#000000",
1694
+ }
1695
+ }
1696
+ >
1697
+ Message4
1698
+ </Text>
1699
+ </Text>
1700
+ </View>
1701
+ </View>
1249
1702
  </View>
1250
1703
  </View>
1251
1704
  </View>
@@ -1480,9 +1933,17 @@ exports[`Thread should match thread snapshot 1`] = `
1480
1933
  }
1481
1934
  />
1482
1935
  <View
1936
+ collapsable={false}
1937
+ hitSlop={
1938
+ {
1939
+ "left": 750,
1940
+ "right": 750,
1941
+ }
1942
+ }
1483
1943
  style={
1484
1944
  [
1485
1945
  {
1946
+ "alignItems": "center",
1486
1947
  "flexDirection": "row",
1487
1948
  },
1488
1949
  {},
@@ -1490,110 +1951,253 @@ exports[`Thread should match thread snapshot 1`] = `
1490
1951
  }
1491
1952
  >
1492
1953
  <View
1493
- accessibilityState={
1494
- {
1495
- "busy": undefined,
1496
- "checked": undefined,
1497
- "disabled": true,
1498
- "expanded": undefined,
1499
- "selected": undefined,
1500
- }
1501
- }
1502
- accessibilityValue={
1503
- {
1504
- "max": undefined,
1505
- "min": undefined,
1506
- "now": undefined,
1507
- "text": undefined,
1508
- }
1509
- }
1510
- accessible={true}
1511
- collapsable={false}
1512
- focusable={true}
1513
- onBlur={[Function]}
1514
- onClick={[Function]}
1515
- onFocus={[Function]}
1516
- onResponderGrant={[Function]}
1517
- onResponderMove={[Function]}
1518
- onResponderRelease={[Function]}
1519
- onResponderTerminate={[Function]}
1520
- onResponderTerminationRequest={[Function]}
1521
- onStartShouldSetResponder={[Function]}
1522
1954
  style={
1523
- {
1524
- "opacity": 1,
1525
- }
1955
+ [
1956
+ {
1957
+ "position": "absolute",
1958
+ },
1959
+ {
1960
+ "opacity": undefined,
1961
+ "transform": [
1962
+ {
1963
+ "translateX": undefined,
1964
+ },
1965
+ ],
1966
+ },
1967
+ {},
1968
+ ]
1526
1969
  }
1527
1970
  >
1528
1971
  <View
1529
- onLayout={[Function]}
1530
- style={{}}
1972
+ style={
1973
+ [
1974
+ {
1975
+ "justifyContent": "center",
1976
+ "paddingRight": 16,
1977
+ },
1978
+ {},
1979
+ ]
1980
+ }
1531
1981
  >
1532
- <View
1982
+ <RNSVGSvgView
1983
+ align="xMidYMid"
1984
+ bbHeight={24}
1985
+ bbWidth={24}
1986
+ focusable={false}
1987
+ height={24}
1988
+ meetOrSlice={0}
1989
+ minX={0}
1990
+ minY={0}
1991
+ pathFill="#7A7A7A"
1533
1992
  style={
1534
1993
  [
1535
1994
  {
1536
- "borderTopLeftRadius": 16,
1537
- "borderTopRightRadius": 16,
1538
- "borderWidth": 1,
1995
+ "backgroundColor": "transparent",
1996
+ "borderWidth": 0,
1539
1997
  },
1540
1998
  {
1541
- "backgroundColor": "#E9EAED",
1542
- "borderBottomLeftRadius": 0,
1543
- "borderBottomRightRadius": 16,
1544
- "borderColor": "#ECEBEB",
1999
+ "flex": 0,
2000
+ "height": 24,
2001
+ "width": 24,
1545
2002
  },
1546
- {},
1547
- {},
1548
2003
  ]
1549
2004
  }
1550
- testID="message-content-wrapper"
2005
+ vbHeight={24}
2006
+ vbWidth={24}
2007
+ width={24}
1551
2008
  >
1552
- <View
1553
- style={
1554
- [
2009
+ <RNSVGGroup
2010
+ fill={
2011
+ {
2012
+ "payload": 4278190080,
2013
+ "type": 0,
2014
+ }
2015
+ }
2016
+ >
2017
+ <RNSVGPath
2018
+ clipRule={0}
2019
+ d="M4 8a1 1 0 011-1c3.992 0 6.34.122 7.954.459 1.704.355 2.592.95 3.646 1.741a1 1 0 01.058.047c1.036.906 2.14 2 2.974 3.564C20.47 14.38 21 16.36 21 19a1 1 0 11-2 0c0-2.36-.47-4.006-1.132-5.248-.66-1.237-1.544-2.138-2.498-2.975-.929-.695-1.542-1.094-2.824-1.36C11.16 9.126 9.008 9 5 9a1 1 0 01-1-1z"
2020
+ fill={
1555
2021
  {
1556
- "maxWidth": 250,
1557
- "paddingHorizontal": 16,
1558
- },
1559
- {},
1560
- undefined,
1561
- ]
2022
+ "payload": 4286216826,
2023
+ "type": 0,
2024
+ }
2025
+ }
2026
+ fillRule={0}
2027
+ propList={
2028
+ [
2029
+ "fill",
2030
+ "fillRule",
2031
+ ]
2032
+ }
2033
+ />
2034
+ <RNSVGPath
2035
+ clipRule={0}
2036
+ d="M4.293 8.707a1 1 0 010-1.414l3-3a1 1 0 011.414 1.414l-3 3a1 1 0 01-1.414 0z"
2037
+ fill={
2038
+ {
2039
+ "payload": 4286216826,
2040
+ "type": 0,
2041
+ }
2042
+ }
2043
+ fillRule={0}
2044
+ propList={
2045
+ [
2046
+ "fill",
2047
+ "fillRule",
2048
+ ]
2049
+ }
2050
+ />
2051
+ <RNSVGPath
2052
+ clipRule={0}
2053
+ d="M4.293 7.293a1 1 0 011.414 0l3 3a1 1 0 11-1.414 1.414l-3-3a1 1 0 010-1.414z"
2054
+ fill={
2055
+ {
2056
+ "payload": 4286216826,
2057
+ "type": 0,
2058
+ }
2059
+ }
2060
+ fillRule={0}
2061
+ propList={
2062
+ [
2063
+ "fill",
2064
+ "fillRule",
2065
+ ]
2066
+ }
2067
+ />
2068
+ </RNSVGGroup>
2069
+ </RNSVGSvgView>
2070
+ </View>
2071
+ </View>
2072
+ <View
2073
+ style={
2074
+ {
2075
+ "transform": [
2076
+ {
2077
+ "translateX": 0,
2078
+ },
2079
+ ],
2080
+ }
2081
+ }
2082
+ >
2083
+ <View
2084
+ style={
2085
+ [
2086
+ {
2087
+ "alignItems": "center",
2088
+ "flexDirection": "row",
2089
+ },
2090
+ {},
2091
+ ]
2092
+ }
2093
+ >
2094
+ <View
2095
+ accessibilityState={
2096
+ {
2097
+ "busy": undefined,
2098
+ "checked": undefined,
2099
+ "disabled": true,
2100
+ "expanded": undefined,
2101
+ "selected": undefined,
2102
+ }
2103
+ }
2104
+ accessibilityValue={
2105
+ {
2106
+ "max": undefined,
2107
+ "min": undefined,
2108
+ "now": undefined,
2109
+ "text": undefined,
1562
2110
  }
1563
- testID="message-text-container"
2111
+ }
2112
+ accessible={true}
2113
+ collapsable={false}
2114
+ focusable={true}
2115
+ onBlur={[Function]}
2116
+ onClick={[Function]}
2117
+ onFocus={[Function]}
2118
+ onResponderGrant={[Function]}
2119
+ onResponderMove={[Function]}
2120
+ onResponderRelease={[Function]}
2121
+ onResponderTerminate={[Function]}
2122
+ onResponderTerminationRequest={[Function]}
2123
+ onStartShouldSetResponder={[Function]}
2124
+ style={
2125
+ {
2126
+ "opacity": 1,
2127
+ }
2128
+ }
2129
+ >
2130
+ <View
2131
+ onLayout={[Function]}
2132
+ style={{}}
1564
2133
  >
1565
2134
  <View
1566
2135
  style={
1567
2136
  [
1568
2137
  {
1569
- "alignSelf": "stretch",
2138
+ "borderTopLeftRadius": 16,
2139
+ "borderTopRightRadius": 16,
2140
+ "borderWidth": 1,
1570
2141
  },
1571
- undefined,
2142
+ {
2143
+ "backgroundColor": "#E9EAED",
2144
+ "borderBottomLeftRadius": 0,
2145
+ "borderBottomRightRadius": 16,
2146
+ "borderColor": "#ECEBEB",
2147
+ },
2148
+ {},
2149
+ {},
1572
2150
  ]
1573
2151
  }
2152
+ testID="message-content-wrapper"
1574
2153
  >
1575
- <Text
2154
+ <View
1576
2155
  style={
1577
- {
1578
- "alignItems": "flex-start",
1579
- "flexDirection": "row",
1580
- "flexWrap": "wrap",
1581
- "justifyContent": "flex-start",
1582
- "marginBottom": 8,
1583
- "marginTop": 8,
1584
- }
2156
+ [
2157
+ {
2158
+ "maxWidth": 250,
2159
+ "paddingHorizontal": 16,
2160
+ },
2161
+ {},
2162
+ undefined,
2163
+ ]
1585
2164
  }
2165
+ testID="message-text-container"
1586
2166
  >
1587
- <Text
2167
+ <View
1588
2168
  style={
1589
- {
1590
- "color": "#000000",
1591
- }
2169
+ [
2170
+ {
2171
+ "alignSelf": "stretch",
2172
+ },
2173
+ undefined,
2174
+ ]
1592
2175
  }
1593
2176
  >
1594
- Message3
1595
- </Text>
1596
- </Text>
2177
+ <Text
2178
+ style={
2179
+ {
2180
+ "alignItems": "flex-start",
2181
+ "flexDirection": "row",
2182
+ "flexWrap": "wrap",
2183
+ "justifyContent": "flex-start",
2184
+ "marginBottom": 8,
2185
+ "marginTop": 8,
2186
+ }
2187
+ }
2188
+ >
2189
+ <Text
2190
+ style={
2191
+ {
2192
+ "color": "#000000",
2193
+ }
2194
+ }
2195
+ >
2196
+ Message3
2197
+ </Text>
2198
+ </Text>
2199
+ </View>
2200
+ </View>
1597
2201
  </View>
1598
2202
  </View>
1599
2203
  </View>